From 0647913d6ad1f1dd35aea30390629829479954f1 Mon Sep 17 00:00:00 2001 From: Greg Travis Date: Mon, 6 Jul 2026 16:01:54 -0400 Subject: [PATCH 1/2] Bump to 467e871a --- temporalio/api/activity/v1/message_pb2.py | 138 +- temporalio/api/activity/v1/message_pb2.pyi | 167 +- temporalio/api/batch/v1/message_pb2.py | 223 +- temporalio/api/batch/v1/message_pb2.pyi | 163 +- temporalio/api/callback/v1/message_pb2.py | 44 +- temporalio/api/callback/v1/message_pb2.pyi | 31 +- .../api/cloud/account/v1/message_pb2.py | 127 +- .../api/cloud/account/v1/message_pb2.pyi | 91 +- .../api/cloud/auditlog/v1/message_pb2.py | 60 +- .../api/cloud/auditlog/v1/message_pb2.pyi | 36 +- .../api/cloud/billing/v1/message_pb2.py | 96 +- .../api/cloud/billing/v1/message_pb2.pyi | 81 +- .../cloudservice/v1/request_response_pb2.py | 2710 +------ .../cloudservice/v1/request_response_pb2.pyi | 1596 ++-- .../v1/request_response_pb2_grpc.py | 24 + .../v1/request_response_pb2_grpc.pyi | 20 + .../api/cloud/cloudservice/v1/service_pb2.py | 577 +- .../cloud/cloudservice/v1/service_pb2_grpc.py | 185 +- .../cloudservice/v1/service_pb2_grpc.pyi | 3342 +++++++-- .../cloud/connectivityrule/v1/message_pb2.py | 92 +- .../cloud/connectivityrule/v1/message_pb2.pyi | 57 +- .../api/cloud/identity/v1/message_pb2.py | 518 +- .../api/cloud/identity/v1/message_pb2.pyi | 382 +- .../api/cloud/namespace/v1/message_pb2.py | 707 +- .../api/cloud/namespace/v1/message_pb2.pyi | 465 +- temporalio/api/cloud/nexus/v1/message_pb2.py | 130 +- temporalio/api/cloud/nexus/v1/message_pb2.pyi | 91 +- .../api/cloud/operation/v1/message_pb2.py | 57 +- .../api/cloud/operation/v1/message_pb2.pyi | 25 +- temporalio/api/cloud/region/v1/message_pb2.py | 55 +- .../api/cloud/region/v1/message_pb2.pyi | 11 +- .../api/cloud/resource/v1/message_pb2.py | 49 +- .../api/cloud/resource/v1/message_pb2.pyi | 4 +- temporalio/api/cloud/sink/v1/message_pb2.py | 92 +- temporalio/api/cloud/sink/v1/message_pb2.pyi | 23 +- temporalio/api/cloud/usage/v1/message_pb2.py | 121 +- temporalio/api/cloud/usage/v1/message_pb2.pyi | 74 +- temporalio/api/command/v1/message_pb2.py | 469 +- temporalio/api/command/v1/message_pb2.pyi | 376 +- temporalio/api/common/v1/__init__.py | 4 + temporalio/api/common/v1/grpc_status_pb2.py | 40 +- temporalio/api/common/v1/grpc_status_pb2.pyi | 8 +- temporalio/api/common/v1/message_pb2.py | 617 +- temporalio/api/common/v1/message_pb2.pyi | 437 +- temporalio/api/compute/v1/config_pb2.py | 149 +- temporalio/api/compute/v1/config_pb2.pyi | 80 +- temporalio/api/compute/v1/provider_pb2.py | 44 +- temporalio/api/compute/v1/provider_pb2.pyi | 19 +- temporalio/api/compute/v1/scaler_pb2.py | 37 +- temporalio/api/compute/v1/scaler_pb2.pyi | 12 +- .../nexusannotations/v1/options_pb2.py | 61 +- .../nexusannotations/v1/options_pb2.pyi | 19 +- .../options/annotations_pb2.py | 62 +- .../options/openapiv2_pb2.py | 679 +- .../options/openapiv2_pb2.pyi | 469 +- temporalio/api/deployment/v1/__init__.py | 2 + temporalio/api/deployment/v1/message_pb2.py | 372 +- temporalio/api/deployment/v1/message_pb2.pyi | 380 +- temporalio/api/enums/v1/activity_pb2.py | 57 +- temporalio/api/enums/v1/activity_pb2.pyi | 14 +- .../api/enums/v1/batch_operation_pb2.py | 58 +- .../api/enums/v1/batch_operation_pb2.pyi | 8 +- temporalio/api/enums/v1/command_type_pb2.py | 56 +- temporalio/api/enums/v1/command_type_pb2.pyi | 4 +- temporalio/api/enums/v1/common_pb2.py | 128 +- temporalio/api/enums/v1/common_pb2.pyi | 42 +- temporalio/api/enums/v1/deployment_pb2.py | 75 +- temporalio/api/enums/v1/deployment_pb2.pyi | 18 +- temporalio/api/enums/v1/event_type_pb2.py | 99 +- temporalio/api/enums/v1/event_type_pb2.pyi | 4 +- temporalio/api/enums/v1/failed_cause_pb2.py | 142 +- temporalio/api/enums/v1/failed_cause_pb2.pyi | 26 +- temporalio/api/enums/v1/namespace_pb2.py | 60 +- temporalio/api/enums/v1/namespace_pb2.pyi | 12 +- temporalio/api/enums/v1/nexus_pb2.py | 89 +- temporalio/api/enums/v1/nexus_pb2.pyi | 28 +- temporalio/api/enums/v1/query_pb2.py | 44 +- temporalio/api/enums/v1/query_pb2.pyi | 8 +- temporalio/api/enums/v1/reset_pb2.py | 61 +- temporalio/api/enums/v1/reset_pb2.pyi | 12 +- temporalio/api/enums/v1/schedule_pb2.py | 38 +- temporalio/api/enums/v1/schedule_pb2.pyi | 4 +- temporalio/api/enums/v1/task_queue_pb2.py | 100 +- temporalio/api/enums/v1/task_queue_pb2.pyi | 30 +- temporalio/api/enums/v1/update_pb2.py | 47 +- temporalio/api/enums/v1/update_pb2.pyi | 12 +- temporalio/api/enums/v1/workflow_pb2.py | 176 +- temporalio/api/enums/v1/workflow_pb2.pyi | 60 +- temporalio/api/errordetails/v1/message_pb2.py | 371 +- .../api/errordetails/v1/message_pb2.pyi | 144 +- temporalio/api/export/v1/message_pb2.py | 53 +- temporalio/api/export/v1/message_pb2.pyi | 23 +- temporalio/api/failure/v1/message_pb2.py | 230 +- temporalio/api/failure/v1/message_pb2.pyi | 158 +- temporalio/api/filter/v1/message_pb2.py | 85 +- temporalio/api/filter/v1/message_pb2.pyi | 31 +- temporalio/api/history/v1/message_pb2.py | 1556 +--- temporalio/api/history/v1/message_pb2.pyi | 1507 ++-- temporalio/api/namespace/v1/message_pb2.py | 240 +- temporalio/api/namespace/v1/message_pb2.pyi | 129 +- temporalio/api/nexus/v1/message_pb2.py | 464 +- temporalio/api/nexus/v1/message_pb2.pyi | 374 +- .../workerservice/v1/request_response_pb2.py | 62 +- .../workerservice/v1/request_response_pb2.pyi | 15 +- .../v1/request_response_pb2_grpc.py | 24 + .../v1/request_response_pb2_grpc.pyi | 20 + .../v1/request_response_pb2.py | 572 +- .../v1/request_response_pb2.pyi | 215 +- .../v1/request_response_pb2_grpc.py | 24 + .../v1/request_response_pb2_grpc.pyi | 20 + .../api/operatorservice/v1/service_pb2.py | 69 +- .../operatorservice/v1/service_pb2_grpc.py | 57 +- .../operatorservice/v1/service_pb2_grpc.pyi | 586 +- temporalio/api/protocol/v1/message_pb2.py | 44 +- temporalio/api/protocol/v1/message_pb2.pyi | 15 +- .../api/protometa/v1/annotations_pb2.py | 51 +- .../api/protometa/v1/annotations_pb2.pyi | 11 +- temporalio/api/query/v1/message_pb2.py | 71 +- temporalio/api/query/v1/message_pb2.pyi | 41 +- temporalio/api/replication/v1/message_pb2.py | 78 +- temporalio/api/replication/v1/message_pb2.pyi | 33 +- temporalio/api/rules/v1/message_pb2.py | 103 +- temporalio/api/rules/v1/message_pb2.pyi | 71 +- temporalio/api/schedule/v1/message_pb2.py | 296 +- temporalio/api/schedule/v1/message_pb2.pyi | 357 +- temporalio/api/sdk/v1/__init__.py | 2 + .../api/sdk/v1/enhanced_stack_trace_pb2.py | 129 +- .../api/sdk/v1/enhanced_stack_trace_pb2.pyi | 63 +- .../api/sdk/v1/event_group_marker_pb2.py | 53 + .../api/sdk/v1/event_group_marker_pb2.pyi | 157 + temporalio/api/sdk/v1/external_storage_pb2.py | 65 +- .../api/sdk/v1/external_storage_pb2.pyi | 15 +- .../api/sdk/v1/task_complete_metadata_pb2.py | 46 +- .../api/sdk/v1/task_complete_metadata_pb2.pyi | 36 +- temporalio/api/sdk/v1/user_metadata_pb2.py | 44 +- temporalio/api/sdk/v1/user_metadata_pb2.pyi | 18 +- temporalio/api/sdk/v1/worker_config_pb2.py | 78 +- temporalio/api/sdk/v1/worker_config_pb2.pyi | 32 +- .../api/sdk/v1/workflow_metadata_pb2.py | 78 +- .../api/sdk/v1/workflow_metadata_pb2.pyi | 49 +- temporalio/api/taskqueue/v1/message_pb2.py | 516 +- temporalio/api/taskqueue/v1/message_pb2.pyi | 346 +- .../testservice/v1/request_response_pb2.py | 160 +- .../testservice/v1/request_response_pb2.pyi | 47 +- .../v1/request_response_pb2_grpc.py | 24 + .../v1/request_response_pb2_grpc.pyi | 20 + temporalio/api/testservice/v1/service_pb2.py | 35 +- .../api/testservice/v1/service_pb2_grpc.py | 45 +- .../api/testservice/v1/service_pb2_grpc.pyi | 313 +- temporalio/api/update/v1/message_pb2.py | 165 +- temporalio/api/update/v1/message_pb2.pyi | 114 +- temporalio/api/version/v1/message_pb2.py | 76 +- temporalio/api/version/v1/message_pb2.pyi | 41 +- temporalio/api/worker/v1/message_pb2.py | 213 +- temporalio/api/worker/v1/message_pb2.pyi | 205 +- temporalio/api/workflow/v1/__init__.py | 2 - temporalio/api/workflow/v1/message_pb2.py | 679 +- temporalio/api/workflow/v1/message_pb2.pyi | 811 ++- temporalio/api/workflowservice/v1/__init__.py | 4 + .../v1/request_response_pb2.py | 5536 +++----------- .../v1/request_response_pb2.pyi | 3469 +++++---- .../v1/request_response_pb2_grpc.py | 24 + .../v1/request_response_pb2_grpc.pyi | 20 + .../api/workflowservice/v1/service_pb2.py | 809 ++- .../workflowservice/v1/service_pb2_grpc.py | 322 +- .../workflowservice/v1/service_pb2_grpc.pyi | 6390 ++++++++++++++--- .../activity_result/activity_result_pb2.py | 140 +- .../activity_result/activity_result_pb2.pyi | 100 +- .../proto/activity_task/activity_task_pb2.py | 127 +- .../proto/activity_task/activity_task_pb2.pyi | 97 +- .../child_workflow/child_workflow_pb2.py | 130 +- .../child_workflow/child_workflow_pb2.pyi | 66 +- temporalio/bridge/proto/common/common_pb2.py | 75 +- temporalio/bridge/proto/common/common_pb2.pyi | 16 +- temporalio/bridge/proto/core_interface_pb2.py | 157 +- .../bridge/proto/core_interface_pb2.pyi | 58 +- .../proto/external_data/external_data_pb2.py | 62 +- .../proto/external_data/external_data_pb2.pyi | 19 +- .../bridge/proto/health/v1/health_pb2.py | 65 +- .../bridge/proto/health/v1/health_pb2.pyi | 20 +- temporalio/bridge/proto/nexus/nexus_pb2.py | 117 +- temporalio/bridge/proto/nexus/nexus_pb2.pyi | 89 +- .../workflow_activation_pb2.py | 463 +- .../workflow_activation_pb2.pyi | 410 +- .../workflow_commands_pb2.py | 609 +- .../workflow_commands_pb2.pyi | 509 +- .../workflow_completion_pb2.py | 78 +- .../workflow_completion_pb2.pyi | 50 +- temporalio/bridge/sdk-core | 2 +- temporalio/bridge/services_generated.py | 18 + temporalio/bridge/src/client_rpc_generated.rs | 9 + .../testmodules/proto/proto_message_pb2.py | 40 +- .../testmodules/proto/proto_message_pb2.pyi | 10 +- 193 files changed, 24890 insertions(+), 26609 deletions(-) create mode 100644 temporalio/api/sdk/v1/event_group_marker_pb2.py create mode 100644 temporalio/api/sdk/v1/event_group_marker_pb2.pyi diff --git a/temporalio/api/activity/v1/message_pb2.py b/temporalio/api/activity/v1/message_pb2.py index 4f0a4b164..04448611d 100644 --- a/temporalio/api/activity/v1/message_pb2.py +++ b/temporalio/api/activity/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/activity/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/activity/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -46,106 +56,28 @@ b'\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a$temporal/api/enums/v1/activity.proto\x1a&temporal/api/callback/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\x8c\x01\n\x18\x41\x63tivityExecutionOutcome\x12\x32\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value"\xa7\x03\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x82\x0e\n\x15\x41\x63tivityExecutionInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12>\n\x06status\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12>\n\trun_state\x18\x05 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12\x12\n\ntask_queue\x18\x06 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11heartbeat_details\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0f \x01(\x05\x12\x35\n\x12\x65xecution_duration\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x14 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x15 \x01(\t\x12\x39\n\x16\x63urrent_retry_interval\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x1e\n\x16state_transition_count\x18\x1b \x01(\x03\x12\x18\n\x10state_size_bytes\x18\x1c \x01(\x03\x12\x43\n\x11search_attributes\x18\x1d \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x1e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x1f \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x17\n\x0f\x63\x61nceled_reason\x18 \x01(\t\x12+\n\x05links\x18! \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x1d\n\x15total_heartbeat_count\x18" \x01(\x03\x12\x10\n\x08sdk_name\x18# \x01(\t\x12\x13\n\x0bsdk_version\x18$ \x01(\t\x12.\n\x0bstart_delay\x18% \x01(\x0b\x32\x19.google.protobuf.Duration"\xea\x03\n\x19\x41\x63tivityExecutionListInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x31\n\rschedule_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x06 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x12\n\ntask_queue\x18\x08 \x01(\t\x12\x1e\n\x16state_transition_count\x18\t \x01(\x03\x12\x18\n\x10state_size_bytes\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration"\xff\x01\n\x0c\x43\x61llbackInfo\x12?\n\x07trigger\x18\x01 \x01(\x0b\x32..temporal.api.activity.v1.CallbackInfo.Trigger\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.callback.v1.CallbackInfo\x1a\x10\n\x0e\x41\x63tivityClosed\x1a\x66\n\x07Trigger\x12P\n\x0f\x61\x63tivity_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.activity.v1.CallbackInfo.ActivityClosedH\x00\x42\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3' ) - -_ACTIVITYEXECUTIONOUTCOME = DESCRIPTOR.message_types_by_name["ActivityExecutionOutcome"] -_ACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name["ActivityOptions"] -_ACTIVITYEXECUTIONINFO = DESCRIPTOR.message_types_by_name["ActivityExecutionInfo"] -_ACTIVITYEXECUTIONLISTINFO = DESCRIPTOR.message_types_by_name[ - "ActivityExecutionListInfo" -] -_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] -_CALLBACKINFO_ACTIVITYCLOSED = _CALLBACKINFO.nested_types_by_name["ActivityClosed"] -_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name["Trigger"] -ActivityExecutionOutcome = _reflection.GeneratedProtocolMessageType( - "ActivityExecutionOutcome", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYEXECUTIONOUTCOME, - "__module__": "temporalio.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityExecutionOutcome) - }, -) -_sym_db.RegisterMessage(ActivityExecutionOutcome) - -ActivityOptions = _reflection.GeneratedProtocolMessageType( - "ActivityOptions", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYOPTIONS, - "__module__": "temporalio.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityOptions) - }, -) -_sym_db.RegisterMessage(ActivityOptions) - -ActivityExecutionInfo = _reflection.GeneratedProtocolMessageType( - "ActivityExecutionInfo", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYEXECUTIONINFO, - "__module__": "temporalio.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityExecutionInfo) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.activity.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(ActivityExecutionInfo) - -ActivityExecutionListInfo = _reflection.GeneratedProtocolMessageType( - "ActivityExecutionListInfo", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYEXECUTIONLISTINFO, - "__module__": "temporalio.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityExecutionListInfo) - }, -) -_sym_db.RegisterMessage(ActivityExecutionListInfo) - -CallbackInfo = _reflection.GeneratedProtocolMessageType( - "CallbackInfo", - (_message.Message,), - { - "ActivityClosed": _reflection.GeneratedProtocolMessageType( - "ActivityClosed", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO_ACTIVITYCLOSED, - "__module__": "temporalio.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.CallbackInfo.ActivityClosed) - }, - ), - "Trigger": _reflection.GeneratedProtocolMessageType( - "Trigger", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO_TRIGGER, - "__module__": "temporalio.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.CallbackInfo.Trigger) - }, - ), - "DESCRIPTOR": _CALLBACKINFO, - "__module__": "temporalio.api.activity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.CallbackInfo) - }, -) -_sym_db.RegisterMessage(CallbackInfo) -_sym_db.RegisterMessage(CallbackInfo.ActivityClosed) -_sym_db.RegisterMessage(CallbackInfo.Trigger) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1" - _ACTIVITYEXECUTIONOUTCOME._serialized_start = 451 - _ACTIVITYEXECUTIONOUTCOME._serialized_end = 591 - _ACTIVITYOPTIONS._serialized_start = 594 - _ACTIVITYOPTIONS._serialized_end = 1017 - _ACTIVITYEXECUTIONINFO._serialized_start = 1020 - _ACTIVITYEXECUTIONINFO._serialized_end = 2814 - _ACTIVITYEXECUTIONLISTINFO._serialized_start = 2817 - _ACTIVITYEXECUTIONLISTINFO._serialized_end = 3307 - _CALLBACKINFO._serialized_start = 3310 - _CALLBACKINFO._serialized_end = 3565 - _CALLBACKINFO_ACTIVITYCLOSED._serialized_start = 3445 - _CALLBACKINFO_ACTIVITYCLOSED._serialized_end = 3461 - _CALLBACKINFO_TRIGGER._serialized_start = 3463 - _CALLBACKINFO_TRIGGER._serialized_end = 3565 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1" + _globals["_ACTIVITYEXECUTIONOUTCOME"]._serialized_start = 451 + _globals["_ACTIVITYEXECUTIONOUTCOME"]._serialized_end = 591 + _globals["_ACTIVITYOPTIONS"]._serialized_start = 594 + _globals["_ACTIVITYOPTIONS"]._serialized_end = 1017 + _globals["_ACTIVITYEXECUTIONINFO"]._serialized_start = 1020 + _globals["_ACTIVITYEXECUTIONINFO"]._serialized_end = 2814 + _globals["_ACTIVITYEXECUTIONLISTINFO"]._serialized_start = 2817 + _globals["_ACTIVITYEXECUTIONLISTINFO"]._serialized_end = 3307 + _globals["_CALLBACKINFO"]._serialized_start = 3310 + _globals["_CALLBACKINFO"]._serialized_end = 3565 + _globals["_CALLBACKINFO_ACTIVITYCLOSED"]._serialized_start = 3445 + _globals["_CALLBACKINFO_ACTIVITYCLOSED"]._serialized_end = 3461 + _globals["_CALLBACKINFO_TRIGGER"]._serialized_start = 3463 + _globals["_CALLBACKINFO_TRIGGER"]._serialized_end = 3565 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/activity/v1/message_pb2.pyi b/temporalio/api/activity/v1/message_pb2.pyi index e57f3860c..422895886 100644 --- a/temporalio/api/activity/v1/message_pb2.pyi +++ b/temporalio/api/activity/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -22,13 +23,14 @@ import temporalio.api.failure.v1.message_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.api.taskqueue.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ActivityExecutionOutcome(google.protobuf.message.Message): """The outcome of a completed activity execution: either a successful result or a failure.""" @@ -39,9 +41,11 @@ class ActivityExecutionOutcome(google.protobuf.message.Message): @property def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """The result if the activity completed successfully.""" + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The failure if the activity completed unsuccessfully.""" + def __init__( self, *, @@ -50,22 +54,25 @@ class ActivityExecutionOutcome(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "result", b"result", "value", b"value" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "result", b"result", "value", b"value" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["value", b"value"] - ) -> typing_extensions.Literal["result", "failure"] | None: ... + self, oneof_group: typing.Literal["value", b"value"] + ) -> typing.Literal["result", "failure"] | None: ... -global___ActivityExecutionOutcome = ActivityExecutionOutcome +Global___ActivityExecutionOutcome: typing_extensions.TypeAlias = ( + ActivityExecutionOutcome +) +@typing.final class ActivityOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -86,6 +93,7 @@ class ActivityOptions(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -96,6 +104,7 @@ class ActivityOptions(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -105,17 +114,21 @@ class ActivityOptions(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ + def __init__( self, *, @@ -129,7 +142,7 @@ class ActivityOptions(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "heartbeat_timeout", b"heartbeat_timeout", "priority", @@ -148,7 +161,7 @@ class ActivityOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "heartbeat_timeout", b"heartbeat_timeout", "priority", @@ -166,8 +179,9 @@ class ActivityOptions(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityOptions = ActivityOptions +Global___ActivityOptions: typing_extensions.TypeAlias = ActivityOptions +@typing.final class ActivityExecutionInfo(google.protobuf.message.Message): """Information about a standalone activity.""" @@ -213,14 +227,34 @@ class ActivityExecutionInfo(google.protobuf.message.Message): activity_id: builtins.str """Unique identifier of this activity within its namespace along with run ID (below).""" run_id: builtins.str - @property - def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: - """The type of the activity, a string that maps to a registered activity on a worker.""" status: temporalio.api.enums.v1.activity_pb2.ActivityExecutionStatus.ValueType """A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.""" run_state: temporalio.api.enums.v1.workflow_pb2.PendingActivityState.ValueType """More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.""" task_queue: builtins.str + attempt: builtins.int + """The attempt this activity is currently on. Incremented each time a new attempt is scheduled.""" + last_worker_identity: builtins.str + state_transition_count: builtins.int + """Incremented each time the activity's state is mutated in persistence.""" + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" + canceled_reason: builtins.str + """Set if activity cancelation was requested.""" + total_heartbeat_count: builtins.int + """Total number of heartbeats recorded across all attempts of this activity, including retries.""" + sdk_name: builtins.str + """The name of the SDK of the worker that most recently picked up an attempt of this activity. + Overwritten on each new attempt. Empty if unknown. + """ + sdk_version: builtins.str + """The version of the SDK of the worker that most recently picked up an attempt of this activity. + Overwritten on each new attempt. Empty if unknown. + """ + @property + def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: + """The type of the activity, a string that maps to a registered activity on a worker.""" + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for an activity completion. Limits how long @@ -229,6 +263,7 @@ class ActivityExecutionInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -238,6 +273,7 @@ class ActivityExecutionInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This @@ -246,43 +282,51 @@ class ActivityExecutionInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.""" + @property def heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request. """ + @property def last_heartbeat_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the last heartbeat was recorded.""" + @property def last_started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the last attempt was started.""" - attempt: builtins.int - """The attempt this activity is currently on. Incremented each time a new attempt is scheduled.""" + @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """How long this activity has been running for, including all attempts and backoff between attempts.""" + @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the activity was originally scheduled via a StartActivityExecution request.""" + @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Scheduled time + schedule to close timeout.""" + @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time when the activity transitioned to a closed state.""" + @property def last_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request. """ - last_worker_identity: builtins.str + @property def current_retry_interval(self) -> google.protobuf.duration_pb2.Duration: """Time from the last attempt failure to the next activity retry. @@ -292,14 +336,17 @@ class ActivityExecutionInfo(google.protobuf.message.Message): This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay. """ + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last activity attempt completed. If activity has not been completed yet, it will be null.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null. """ + @property def last_deployment_version( self, @@ -307,13 +354,11 @@ class ActivityExecutionInfo(google.protobuf.message.Message): """The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker. """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata.""" - state_transition_count: builtins.int - """Incremented each time the activity's state is mutated in persistence.""" - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" + @property def search_attributes( self, @@ -323,8 +368,7 @@ class ActivityExecutionInfo(google.protobuf.message.Message): @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.""" - canceled_reason: builtins.str - """Set if activity cancelation was requested.""" + @property def links( self, @@ -332,19 +376,11 @@ class ActivityExecutionInfo(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to related entities, such as the entity that started this activity.""" - total_heartbeat_count: builtins.int - """Total number of heartbeats recorded across all attempts of this activity, including retries.""" - sdk_name: builtins.str - """The name of the SDK of the worker that most recently picked up an attempt of this activity. - Overwritten on each new attempt. Empty if unknown. - """ - sdk_version: builtins.str - """The version of the SDK of the worker that most recently picked up an attempt of this activity. - Overwritten on each new attempt. Empty if unknown. - """ + @property def start_delay(self) -> google.protobuf.duration_pb2.Duration: """Time to wait before dispatching the first activity task. This delay is not applied to retry attempts.""" + def __init__( self, *, @@ -394,7 +430,7 @@ class ActivityExecutionInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_type", b"activity_type", "close_time", @@ -445,7 +481,7 @@ class ActivityExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -523,8 +559,9 @@ class ActivityExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityExecutionInfo = ActivityExecutionInfo +Global___ActivityExecutionInfo: typing_extensions.TypeAlias = ActivityExecutionInfo +@typing.final class ActivityExecutionListInfo(google.protobuf.message.Message): """Limited activity information returned in the list response. When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it @@ -548,35 +585,40 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): """A unique identifier of this activity within its namespace along with run ID (below).""" run_id: builtins.str """The run ID of the standalone activity.""" + status: temporalio.api.enums.v1.activity_pb2.ActivityExecutionStatus.ValueType + """Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not + available in the list response. + """ + task_queue: builtins.str + """The task queue this activity was scheduled on when it was originally started, updated on activity options update.""" + state_transition_count: builtins.int + """Updated on terminal status.""" + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: """The type of the activity, a string that maps to a registered activity on a worker.""" + @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the activity was originally scheduled via a StartActivityExecution request.""" + @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If the activity is in a terminal status, this field represents the time the activity transitioned to that status.""" - status: temporalio.api.enums.v1.activity_pb2.ActivityExecutionStatus.ValueType - """Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not - available in the list response. - """ + @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes from the start request.""" - task_queue: builtins.str - """The task queue this activity was scheduled on when it was originally started, updated on activity options update.""" - state_transition_count: builtins.int - """Updated on terminal status.""" - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" + @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """The difference between close time and scheduled time. This field is only populated if the activity is closed. """ + def __init__( self, *, @@ -595,7 +637,7 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_type", b"activity_type", "close_time", @@ -610,7 +652,7 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -636,13 +678,17 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityExecutionListInfo = ActivityExecutionListInfo +Global___ActivityExecutionListInfo: typing_extensions.TypeAlias = ( + ActivityExecutionListInfo +) +@typing.final class CallbackInfo(google.protobuf.message.Message): """CallbackInfo contains the state of an attached activity callback.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ActivityClosed(google.protobuf.message.Message): """Trigger for when the activity is closed.""" @@ -652,54 +698,55 @@ class CallbackInfo(google.protobuf.message.Message): self, ) -> None: ... + @typing.final class Trigger(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor ACTIVITY_CLOSED_FIELD_NUMBER: builtins.int @property - def activity_closed(self) -> global___CallbackInfo.ActivityClosed: ... + def activity_closed(self) -> Global___CallbackInfo.ActivityClosed: ... def __init__( self, *, - activity_closed: global___CallbackInfo.ActivityClosed | None = ..., + activity_closed: Global___CallbackInfo.ActivityClosed | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_closed", b"activity_closed", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_closed", b"activity_closed", "variant", b"variant" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["activity_closed"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["activity_closed"] | None: ... TRIGGER_FIELD_NUMBER: builtins.int INFO_FIELD_NUMBER: builtins.int @property - def trigger(self) -> global___CallbackInfo.Trigger: + def trigger(self) -> Global___CallbackInfo.Trigger: """Trigger for this callback.""" + @property def info(self) -> temporalio.api.callback.v1.message_pb2.CallbackInfo: """Common callback info.""" + def __init__( self, *, - trigger: global___CallbackInfo.Trigger | None = ..., + trigger: Global___CallbackInfo.Trigger | None = ..., info: temporalio.api.callback.v1.message_pb2.CallbackInfo | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["info", b"info", "trigger", b"trigger"], + self, field_name: typing.Literal["info", b"info", "trigger", b"trigger"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["info", b"info", "trigger", b"trigger"], + self, field_name: typing.Literal["info", b"info", "trigger", b"trigger"] ) -> None: ... -global___CallbackInfo = CallbackInfo +Global___CallbackInfo: typing_extensions.TypeAlias = CallbackInfo diff --git a/temporalio/api/batch/v1/message_pb2.py b/temporalio/api/batch/v1/message_pb2.py index cb1e39b73..e01ecbf4b 100644 --- a/temporalio/api/batch/v1/message_pb2.py +++ b/temporalio/api/batch/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/batch/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/batch/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -41,182 +46,46 @@ b'\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\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"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t"\xae\x02\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x38\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01\x12G\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12K\n\x15post_reset_operations\x18\x05 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation"\xc9\x01\n,BatchOperationUpdateWorkflowExecutionOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12V\n\x1aworkflow_execution_options\x18\x02 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xc0\x01\n\x1f\x42\x61tchOperationUnpauseActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x84\x01\n!BatchOperationTriggerWorkflowRule\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x42\x06\n\x04rule"\xf5\x01\n\x1d\x42\x61tchOperationResetActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x06 \x01(\x08\x12)\n\x06jitter\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xf8\x01\n#BatchOperationUpdateActivityOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x06 \x01(\x08\x42\n\n\x08\x61\x63tivityB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3' ) - -_BATCHOPERATIONINFO = DESCRIPTOR.message_types_by_name["BatchOperationInfo"] -_BATCHOPERATIONTERMINATION = DESCRIPTOR.message_types_by_name[ - "BatchOperationTermination" -] -_BATCHOPERATIONSIGNAL = DESCRIPTOR.message_types_by_name["BatchOperationSignal"] -_BATCHOPERATIONCANCELLATION = DESCRIPTOR.message_types_by_name[ - "BatchOperationCancellation" -] -_BATCHOPERATIONDELETION = DESCRIPTOR.message_types_by_name["BatchOperationDeletion"] -_BATCHOPERATIONRESET = DESCRIPTOR.message_types_by_name["BatchOperationReset"] -_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name[ - "BatchOperationUpdateWorkflowExecutionOptions" -] -_BATCHOPERATIONUNPAUSEACTIVITIES = DESCRIPTOR.message_types_by_name[ - "BatchOperationUnpauseActivities" -] -_BATCHOPERATIONTRIGGERWORKFLOWRULE = DESCRIPTOR.message_types_by_name[ - "BatchOperationTriggerWorkflowRule" -] -_BATCHOPERATIONRESETACTIVITIES = DESCRIPTOR.message_types_by_name[ - "BatchOperationResetActivities" -] -_BATCHOPERATIONUPDATEACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name[ - "BatchOperationUpdateActivityOptions" -] -BatchOperationInfo = _reflection.GeneratedProtocolMessageType( - "BatchOperationInfo", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONINFO, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationInfo) - }, -) -_sym_db.RegisterMessage(BatchOperationInfo) - -BatchOperationTermination = _reflection.GeneratedProtocolMessageType( - "BatchOperationTermination", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONTERMINATION, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTermination) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.batch.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(BatchOperationTermination) - -BatchOperationSignal = _reflection.GeneratedProtocolMessageType( - "BatchOperationSignal", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONSIGNAL, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationSignal) - }, -) -_sym_db.RegisterMessage(BatchOperationSignal) - -BatchOperationCancellation = _reflection.GeneratedProtocolMessageType( - "BatchOperationCancellation", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONCANCELLATION, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationCancellation) - }, -) -_sym_db.RegisterMessage(BatchOperationCancellation) - -BatchOperationDeletion = _reflection.GeneratedProtocolMessageType( - "BatchOperationDeletion", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONDELETION, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationDeletion) - }, -) -_sym_db.RegisterMessage(BatchOperationDeletion) - -BatchOperationReset = _reflection.GeneratedProtocolMessageType( - "BatchOperationReset", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONRESET, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationReset) - }, -) -_sym_db.RegisterMessage(BatchOperationReset) - -BatchOperationUpdateWorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( - "BatchOperationUpdateWorkflowExecutionOptions", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions) - }, -) -_sym_db.RegisterMessage(BatchOperationUpdateWorkflowExecutionOptions) - -BatchOperationUnpauseActivities = _reflection.GeneratedProtocolMessageType( - "BatchOperationUnpauseActivities", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONUNPAUSEACTIVITIES, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUnpauseActivities) - }, -) -_sym_db.RegisterMessage(BatchOperationUnpauseActivities) - -BatchOperationTriggerWorkflowRule = _reflection.GeneratedProtocolMessageType( - "BatchOperationTriggerWorkflowRule", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONTRIGGERWORKFLOWRULE, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTriggerWorkflowRule) - }, -) -_sym_db.RegisterMessage(BatchOperationTriggerWorkflowRule) - -BatchOperationResetActivities = _reflection.GeneratedProtocolMessageType( - "BatchOperationResetActivities", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONRESETACTIVITIES, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationResetActivities) - }, -) -_sym_db.RegisterMessage(BatchOperationResetActivities) - -BatchOperationUpdateActivityOptions = _reflection.GeneratedProtocolMessageType( - "BatchOperationUpdateActivityOptions", - (_message.Message,), - { - "DESCRIPTOR": _BATCHOPERATIONUPDATEACTIVITYOPTIONS, - "__module__": "temporalio.api.batch.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateActivityOptions) - }, -) -_sym_db.RegisterMessage(BatchOperationUpdateActivityOptions) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1" - _BATCHOPERATIONRESET.fields_by_name["reset_type"]._options = None - _BATCHOPERATIONRESET.fields_by_name["reset_type"]._serialized_options = b"\030\001" - _BATCHOPERATIONRESET.fields_by_name["reset_reapply_type"]._options = None - _BATCHOPERATIONRESET.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1" + _globals["_BATCHOPERATIONRESET"].fields_by_name["reset_type"]._loaded_options = None + _globals["_BATCHOPERATIONRESET"].fields_by_name[ + "reset_type" + ]._serialized_options = b"\030\001" + _globals["_BATCHOPERATIONRESET"].fields_by_name[ + "reset_reapply_type" + ]._loaded_options = None + _globals["_BATCHOPERATIONRESET"].fields_by_name[ "reset_reapply_type" ]._serialized_options = b"\030\001" - _BATCHOPERATIONINFO._serialized_start = 397 - _BATCHOPERATIONINFO._serialized_end = 588 - _BATCHOPERATIONTERMINATION._serialized_start = 590 - _BATCHOPERATIONTERMINATION._serialized_end = 686 - _BATCHOPERATIONSIGNAL._serialized_start = 689 - _BATCHOPERATIONSIGNAL._serialized_end = 842 - _BATCHOPERATIONCANCELLATION._serialized_start = 844 - _BATCHOPERATIONCANCELLATION._serialized_end = 890 - _BATCHOPERATIONDELETION._serialized_start = 892 - _BATCHOPERATIONDELETION._serialized_end = 934 - _BATCHOPERATIONRESET._serialized_start = 937 - _BATCHOPERATIONRESET._serialized_end = 1239 - _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_start = 1242 - _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_end = 1443 - _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_start = 1446 - _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_end = 1638 - _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_start = 1641 - _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_end = 1773 - _BATCHOPERATIONRESETACTIVITIES._serialized_start = 1776 - _BATCHOPERATIONRESETACTIVITIES._serialized_end = 2021 - _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_start = 2024 - _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_end = 2272 + _globals["_BATCHOPERATIONINFO"]._serialized_start = 397 + _globals["_BATCHOPERATIONINFO"]._serialized_end = 588 + _globals["_BATCHOPERATIONTERMINATION"]._serialized_start = 590 + _globals["_BATCHOPERATIONTERMINATION"]._serialized_end = 686 + _globals["_BATCHOPERATIONSIGNAL"]._serialized_start = 689 + _globals["_BATCHOPERATIONSIGNAL"]._serialized_end = 842 + _globals["_BATCHOPERATIONCANCELLATION"]._serialized_start = 844 + _globals["_BATCHOPERATIONCANCELLATION"]._serialized_end = 890 + _globals["_BATCHOPERATIONDELETION"]._serialized_start = 892 + _globals["_BATCHOPERATIONDELETION"]._serialized_end = 934 + _globals["_BATCHOPERATIONRESET"]._serialized_start = 937 + _globals["_BATCHOPERATIONRESET"]._serialized_end = 1239 + _globals["_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS"]._serialized_start = 1242 + _globals["_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS"]._serialized_end = 1443 + _globals["_BATCHOPERATIONUNPAUSEACTIVITIES"]._serialized_start = 1446 + _globals["_BATCHOPERATIONUNPAUSEACTIVITIES"]._serialized_end = 1638 + _globals["_BATCHOPERATIONTRIGGERWORKFLOWRULE"]._serialized_start = 1641 + _globals["_BATCHOPERATIONTRIGGERWORKFLOWRULE"]._serialized_end = 1773 + _globals["_BATCHOPERATIONRESETACTIVITIES"]._serialized_start = 1776 + _globals["_BATCHOPERATIONRESETACTIVITIES"]._serialized_end = 2021 + _globals["_BATCHOPERATIONUPDATEACTIVITYOPTIONS"]._serialized_start = 2024 + _globals["_BATCHOPERATIONUPDATEACTIVITYOPTIONS"]._serialized_end = 2272 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/batch/v1/message_pb2.pyi b/temporalio/api/batch/v1/message_pb2.pyi index 0f7e87da0..0c875cd64 100644 --- a/temporalio/api/batch/v1/message_pb2.pyi +++ b/temporalio/api/batch/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -21,13 +22,14 @@ import temporalio.api.enums.v1.reset_pb2 import temporalio.api.rules.v1.message_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class BatchOperationInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -42,9 +44,11 @@ class BatchOperationInfo(google.protobuf.message.Message): @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Batch operation start time""" + @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Batch operation close time""" + def __init__( self, *, @@ -55,13 +59,13 @@ class BatchOperationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "close_time", b"close_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "close_time", b"close_time", "job_id", @@ -73,8 +77,9 @@ class BatchOperationInfo(google.protobuf.message.Message): ], ) -> None: ... -global___BatchOperationInfo = BatchOperationInfo +Global___BatchOperationInfo: typing_extensions.TypeAlias = BatchOperationInfo +@typing.final class BatchOperationTermination(google.protobuf.message.Message): """BatchOperationTermination sends terminate requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.TerminateWorkflowExecutionRequest. @@ -85,11 +90,12 @@ class BatchOperationTermination(google.protobuf.message.Message): DETAILS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int + identity: builtins.str + """The identity of the worker/client""" @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide to the termination event""" - identity: builtins.str - """The identity of the worker/client""" + def __init__( self, *, @@ -97,17 +103,17 @@ class BatchOperationTermination(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "identity", b"identity" - ], + self, field_name: typing.Literal["details", b"details", "identity", b"identity"] ) -> None: ... -global___BatchOperationTermination = BatchOperationTermination +Global___BatchOperationTermination: typing_extensions.TypeAlias = ( + BatchOperationTermination +) +@typing.final class BatchOperationSignal(google.protobuf.message.Message): """BatchOperationSignal sends signals to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.SignalWorkflowExecutionRequest. @@ -121,16 +127,18 @@ class BatchOperationSignal(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int signal: builtins.str """The workflow author-defined name of the signal to send to the workflow""" + identity: builtins.str + """The identity of the worker/client""" @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide with the signal""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow. These can include things like auth or tracing tokens. """ - identity: builtins.str - """The identity of the worker/client""" + def __init__( self, *, @@ -140,12 +148,11 @@ class BatchOperationSignal(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["header", b"header", "input", b"input"], + self, field_name: typing.Literal["header", b"header", "input", b"input"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "identity", @@ -157,8 +164,9 @@ class BatchOperationSignal(google.protobuf.message.Message): ], ) -> None: ... -global___BatchOperationSignal = BatchOperationSignal +Global___BatchOperationSignal: typing_extensions.TypeAlias = BatchOperationSignal +@typing.final class BatchOperationCancellation(google.protobuf.message.Message): """BatchOperationCancellation sends cancel requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest. @@ -176,11 +184,14 @@ class BatchOperationCancellation(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["identity", b"identity"] + self, field_name: typing.Literal["identity", b"identity"] ) -> None: ... -global___BatchOperationCancellation = BatchOperationCancellation +Global___BatchOperationCancellation: typing_extensions.TypeAlias = ( + BatchOperationCancellation +) +@typing.final class BatchOperationDeletion(google.protobuf.message.Message): """BatchOperationDeletion sends deletion requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.DeleteWorkflowExecutionRequest. @@ -197,11 +208,12 @@ class BatchOperationDeletion(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["identity", b"identity"] + self, field_name: typing.Literal["identity", b"identity"] ) -> None: ... -global___BatchOperationDeletion = BatchOperationDeletion +Global___BatchOperationDeletion: typing_extensions.TypeAlias = BatchOperationDeletion +@typing.final class BatchOperationReset(google.protobuf.message.Message): """BatchOperationReset sends reset requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.ResetWorkflowExecutionRequest. @@ -216,13 +228,14 @@ class BatchOperationReset(google.protobuf.message.Message): POST_RESET_OPERATIONS_FIELD_NUMBER: builtins.int identity: builtins.str """The identity of the worker/client.""" - @property - def options(self) -> temporalio.api.common.v1.message_pb2.ResetOptions: - """Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.""" reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType """Deprecated. Use `options`.""" reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType """Deprecated. Use `options`.""" + @property + def options(self) -> temporalio.api.common.v1.message_pb2.ResetOptions: + """Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.""" + @property def post_reset_operations( self, @@ -233,6 +246,7 @@ class BatchOperationReset(google.protobuf.message.Message): to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated """ + def __init__( self, *, @@ -246,11 +260,11 @@ class BatchOperationReset(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "options", @@ -264,8 +278,9 @@ class BatchOperationReset(google.protobuf.message.Message): ], ) -> None: ... -global___BatchOperationReset = BatchOperationReset +Global___BatchOperationReset: typing_extensions.TypeAlias = BatchOperationReset +@typing.final class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Message): """BatchOperationUpdateWorkflowExecutionOptions sends UpdateWorkflowExecutionOptions requests to batch workflows. Keep the parameters in sync with temporalio.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. @@ -283,11 +298,13 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa self, ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.""" + @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. """ + def __init__( self, *, @@ -298,7 +315,7 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_mask", b"update_mask", "workflow_execution_options", @@ -307,7 +324,7 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "update_mask", @@ -317,10 +334,11 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa ], ) -> None: ... -global___BatchOperationUpdateWorkflowExecutionOptions = ( +Global___BatchOperationUpdateWorkflowExecutionOptions: typing_extensions.TypeAlias = ( BatchOperationUpdateWorkflowExecutionOptions ) +@typing.final class BatchOperationUnpauseActivities(google.protobuf.message.Message): """BatchOperationUnpauseActivities sends unpause requests to batch workflows.""" @@ -345,6 +363,7 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): """If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time. """ + def __init__( self, *, @@ -357,7 +376,7 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "jitter", @@ -370,7 +389,7 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "identity", @@ -388,11 +407,14 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["type", "match_all"] | None: ... + self, oneof_group: typing.Literal["activity", b"activity"] + ) -> typing.Literal["type", "match_all"] | None: ... -global___BatchOperationUnpauseActivities = BatchOperationUnpauseActivities +Global___BatchOperationUnpauseActivities: typing_extensions.TypeAlias = ( + BatchOperationUnpauseActivities +) +@typing.final class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): """BatchOperationTriggerWorkflowRule sends TriggerWorkflowRule requests to batch workflows.""" @@ -408,6 +430,7 @@ class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: """Rule specification to be applied to the workflow without creating a new rule.""" + def __init__( self, *, @@ -416,23 +439,23 @@ class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): spec: temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "id", b"id", "rule", b"rule", "spec", b"spec" - ], + self, field_name: typing.Literal["id", b"id", "rule", b"rule", "spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "id", b"id", "identity", b"identity", "rule", b"rule", "spec", b"spec" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["rule", b"rule"] - ) -> typing_extensions.Literal["id", "spec"] | None: ... + self, oneof_group: typing.Literal["rule", b"rule"] + ) -> typing.Literal["id", "spec"] | None: ... -global___BatchOperationTriggerWorkflowRule = BatchOperationTriggerWorkflowRule +Global___BatchOperationTriggerWorkflowRule: typing_extensions.TypeAlias = ( + BatchOperationTriggerWorkflowRule +) +@typing.final class BatchOperationResetActivities(google.protobuf.message.Message): """BatchOperationResetActivities sends activity reset requests in a batch. NOTE: keep in sync with temporalio.api.workflowservice.v1.ResetActivityRequest @@ -458,16 +481,17 @@ class BatchOperationResetActivities(google.protobuf.message.Message): """Setting this flag will also reset the heartbeat details.""" keep_paused: builtins.bool """If activity is paused, it will remain paused after reset""" - @property - def jitter(self) -> google.protobuf.duration_pb2.Duration: - """If set, the activity will start at a random time within the specified jitter - duration, introducing variability to the start time. - """ restore_original_options: builtins.bool """If set, the activity options will be restored to the defaults. Default options are then options activity was created with. They are part of the first ActivityTaskScheduled event. """ + @property + def jitter(self) -> google.protobuf.duration_pb2.Duration: + """If set, the activity will start at a random time within the specified jitter + duration, introducing variability to the start time. + """ + def __init__( self, *, @@ -482,7 +506,7 @@ class BatchOperationResetActivities(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "jitter", @@ -495,7 +519,7 @@ class BatchOperationResetActivities(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "identity", @@ -517,11 +541,14 @@ class BatchOperationResetActivities(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["type", "match_all"] | None: ... + self, oneof_group: typing.Literal["activity", b"activity"] + ) -> typing.Literal["type", "match_all"] | None: ... -global___BatchOperationResetActivities = BatchOperationResetActivities +Global___BatchOperationResetActivities: typing_extensions.TypeAlias = ( + BatchOperationResetActivities +) +@typing.final class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): """BatchOperationUpdateActivityOptions sends an update-activity-options requests in a batch. NOTE: keep in sync with temporalio.api.workflowservice.v1.UpdateActivityRequest @@ -539,21 +566,23 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): """The identity of the worker/client.""" type: builtins.str match_all: builtins.bool + restore_original: builtins.bool + """If set, the activity options will be restored to the default. + Default options are then options activity was created with. + They are part of the first ActivityTaskScheduled event. + This flag cannot be combined with any other option; if you supply + restore_original together with other options, the request will be rejected. + """ @property def activity_options( self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Update Activity options. Partial updates are accepted and controlled by update_mask.""" + @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `activity_options` will be applied""" - restore_original: builtins.bool - """If set, the activity options will be restored to the default. - Default options are then options activity was created with. - They are part of the first ActivityTaskScheduled event. - This flag cannot be combined with any other option; if you supply - restore_original together with other options, the request will be rejected. - """ + def __init__( self, *, @@ -567,7 +596,7 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "activity_options", @@ -582,7 +611,7 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "activity_options", @@ -600,7 +629,9 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["type", "match_all"] | None: ... + self, oneof_group: typing.Literal["activity", b"activity"] + ) -> typing.Literal["type", "match_all"] | None: ... -global___BatchOperationUpdateActivityOptions = BatchOperationUpdateActivityOptions +Global___BatchOperationUpdateActivityOptions: typing_extensions.TypeAlias = ( + BatchOperationUpdateActivityOptions +) diff --git a/temporalio/api/callback/v1/message_pb2.py b/temporalio/api/callback/v1/message_pb2.py index 5d4ccb917..ae1d6cd4b 100644 --- a/temporalio/api/callback/v1/message_pb2.py +++ b/temporalio/api/callback/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/callback/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/callback/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,22 +40,16 @@ b'\n&temporal/api/callback/v1/message.proto\x12\x18temporal.api.callback.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a%temporal/api/failure/v1/message.proto"\x97\x03\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12\x35\n\x11registration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x06 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x08 \x01(\tB\x93\x01\n\x1bio.temporal.api.callback.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/callback/v1;callback\xaa\x02\x1aTemporalio.Api.Callback.V1\xea\x02\x1dTemporalio::Api::Callback::V1b\x06proto3' ) - -_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] -CallbackInfo = _reflection.GeneratedProtocolMessageType( - "CallbackInfo", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO, - "__module__": "temporalio.api.callback.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.callback.v1.CallbackInfo) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.callback.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(CallbackInfo) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.callback.v1B\014MessageProtoP\001Z'go.temporal.io/api/callback/v1;callback\252\002\032Temporalio.Api.Callback.V1\352\002\035Temporalio::Api::Callback::V1" - _CALLBACKINFO._serialized_start = 215 - _CALLBACKINFO._serialized_end = 622 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\033io.temporal.api.callback.v1B\014MessageProtoP\001Z'go.temporal.io/api/callback/v1;callback\252\002\032Temporalio.Api.Callback.V1\352\002\035Temporalio::Api::Callback::V1" + _globals["_CALLBACKINFO"]._serialized_start = 215 + _globals["_CALLBACKINFO"]._serialized_end = 622 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/callback/v1/message_pb2.pyi b/temporalio/api/callback/v1/message_pb2.pyi index ea7d6444b..61e942016 100644 --- a/temporalio/api/callback/v1/message_pb2.pyi +++ b/temporalio/api/callback/v1/message_pb2.pyi @@ -5,6 +5,7 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message @@ -14,13 +15,14 @@ import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class CallbackInfo(google.protobuf.message.Message): """Common callback information. Specific CallbackInfo messages should embed this and may include additional fields.""" @@ -34,29 +36,34 @@ class CallbackInfo(google.protobuf.message.Message): LAST_ATTEMPT_FAILURE_FIELD_NUMBER: builtins.int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int - @property - def callback(self) -> temporalio.api.common.v1.message_pb2.Callback: - """Information on how this callback should be invoked (e.g. its URL and type).""" - @property - def registration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The time when the callback was registered.""" state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType """The current state of the callback.""" attempt: builtins.int """The number of attempts made to deliver the callback. This number represents a minimum bound since the attempt is incremented after the callback request completes. """ + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + @property + def callback(self) -> temporalio.api.common.v1.message_pb2.Callback: + """Information on how this callback should be invoked (e.g. its URL and type).""" + + @property + def registration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The time when the callback was registered.""" + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" + @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" + def __init__( self, *, @@ -74,7 +81,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "callback", b"callback", "last_attempt_complete_time", @@ -89,7 +96,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "blocked_reason", @@ -109,4 +116,4 @@ class CallbackInfo(google.protobuf.message.Message): ], ) -> None: ... -global___CallbackInfo = CallbackInfo +Global___CallbackInfo: typing_extensions.TypeAlias = CallbackInfo diff --git a/temporalio/api/cloud/account/v1/message_pb2.py b/temporalio/api/cloud/account/v1/message_pb2.py index c31a2d3e7..d6c361c97 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.py +++ b/temporalio/api/cloud/account/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/account/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/account/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -27,95 +37,28 @@ b'\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Metrics"\xbf\x01\n\x10\x41uditLogSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x0ckinesis_sink\x18\x02 \x01(\x0b\x32\'.temporal.api.cloud.sink.v1.KinesisSpecH\x00\x12>\n\x0cpub_sub_sink\x18\x03 \x01(\x0b\x32&.temporal.api.cloud.sink.v1.PubSubSpecH\x00\x12\x0f\n\x07\x65nabled\x18\x04 \x01(\x08\x42\x0b\n\tsink_type"\xb8\x03\n\x0c\x41uditLogSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.account.v1.AuditLogSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12\x37\n\x13last_succeeded_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3' ) - -_METRICSSPEC = DESCRIPTOR.message_types_by_name["MetricsSpec"] -_ACCOUNTSPEC = DESCRIPTOR.message_types_by_name["AccountSpec"] -_METRICS = DESCRIPTOR.message_types_by_name["Metrics"] -_ACCOUNT = DESCRIPTOR.message_types_by_name["Account"] -_AUDITLOGSINKSPEC = DESCRIPTOR.message_types_by_name["AuditLogSinkSpec"] -_AUDITLOGSINK = DESCRIPTOR.message_types_by_name["AuditLogSink"] -_AUDITLOGSINK_HEALTH = _AUDITLOGSINK.enum_types_by_name["Health"] -MetricsSpec = _reflection.GeneratedProtocolMessageType( - "MetricsSpec", - (_message.Message,), - { - "DESCRIPTOR": _METRICSSPEC, - "__module__": "temporalio.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.MetricsSpec) - }, -) -_sym_db.RegisterMessage(MetricsSpec) - -AccountSpec = _reflection.GeneratedProtocolMessageType( - "AccountSpec", - (_message.Message,), - { - "DESCRIPTOR": _ACCOUNTSPEC, - "__module__": "temporalio.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AccountSpec) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.account.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(AccountSpec) - -Metrics = _reflection.GeneratedProtocolMessageType( - "Metrics", - (_message.Message,), - { - "DESCRIPTOR": _METRICS, - "__module__": "temporalio.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Metrics) - }, -) -_sym_db.RegisterMessage(Metrics) - -Account = _reflection.GeneratedProtocolMessageType( - "Account", - (_message.Message,), - { - "DESCRIPTOR": _ACCOUNT, - "__module__": "temporalio.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Account) - }, -) -_sym_db.RegisterMessage(Account) - -AuditLogSinkSpec = _reflection.GeneratedProtocolMessageType( - "AuditLogSinkSpec", - (_message.Message,), - { - "DESCRIPTOR": _AUDITLOGSINKSPEC, - "__module__": "temporalio.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AuditLogSinkSpec) - }, -) -_sym_db.RegisterMessage(AuditLogSinkSpec) - -AuditLogSink = _reflection.GeneratedProtocolMessageType( - "AuditLogSink", - (_message.Message,), - { - "DESCRIPTOR": _AUDITLOGSINK, - "__module__": "temporalio.api.cloud.account.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AuditLogSink) - }, -) -_sym_db.RegisterMessage(AuditLogSink) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1" - _METRICSSPEC._serialized_start = 199 - _METRICSSPEC._serialized_end = 240 - _ACCOUNTSPEC._serialized_start = 242 - _ACCOUNTSPEC._serialized_end = 316 - _METRICS._serialized_start = 318 - _METRICS._serialized_end = 340 - _ACCOUNT._serialized_start = 343 - _ACCOUNT._serialized_end = 595 - _AUDITLOGSINKSPEC._serialized_start = 598 - _AUDITLOGSINKSPEC._serialized_end = 789 - _AUDITLOGSINK._serialized_start = 792 - _AUDITLOGSINK._serialized_end = 1232 - _AUDITLOGSINK_HEALTH._serialized_start = 1121 - _AUDITLOGSINK_HEALTH._serialized_end = 1232 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1" + _globals["_METRICSSPEC"]._serialized_start = 199 + _globals["_METRICSSPEC"]._serialized_end = 240 + _globals["_ACCOUNTSPEC"]._serialized_start = 242 + _globals["_ACCOUNTSPEC"]._serialized_end = 316 + _globals["_METRICS"]._serialized_start = 318 + _globals["_METRICS"]._serialized_end = 340 + _globals["_ACCOUNT"]._serialized_start = 343 + _globals["_ACCOUNT"]._serialized_end = 595 + _globals["_AUDITLOGSINKSPEC"]._serialized_start = 598 + _globals["_AUDITLOGSINKSPEC"]._serialized_end = 789 + _globals["_AUDITLOGSINK"]._serialized_start = 792 + _globals["_AUDITLOGSINK"]._serialized_end = 1232 + _globals["_AUDITLOGSINK_HEALTH"]._serialized_start = 1121 + _globals["_AUDITLOGSINK_HEALTH"]._serialized_end = 1232 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/account/v1/message_pb2.pyi b/temporalio/api/cloud/account/v1/message_pb2.pyi index 859cd6bd5..757882a74 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.pyi +++ b/temporalio/api/cloud/account/v1/message_pb2.pyi @@ -22,6 +22,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class MetricsSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -36,37 +37,35 @@ class MetricsSpec(google.protobuf.message.Message): accepted_client_ca: builtins.bytes = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "accepted_client_ca", b"accepted_client_ca" - ], + self, field_name: typing.Literal["accepted_client_ca", b"accepted_client_ca"] ) -> None: ... -global___MetricsSpec = MetricsSpec +Global___MetricsSpec: typing_extensions.TypeAlias = MetricsSpec +@typing.final class AccountSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor METRICS_FIELD_NUMBER: builtins.int @property - def metrics(self) -> global___MetricsSpec: + def metrics(self) -> Global___MetricsSpec: """The metrics specification for this account. If not specified, metrics will not be enabled. """ + def __init__( self, *, - metrics: global___MetricsSpec | None = ..., + metrics: Global___MetricsSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["metrics", b"metrics"] + self, field_name: typing.Literal["metrics", b"metrics"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["metrics", b"metrics"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["metrics", b"metrics"]) -> None: ... -global___AccountSpec = AccountSpec +Global___AccountSpec: typing_extensions.TypeAlias = AccountSpec +@typing.final class Metrics(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -80,12 +79,11 @@ class Metrics(google.protobuf.message.Message): *, uri: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["uri", b"uri"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["uri", b"uri"]) -> None: ... -global___Metrics = Metrics +Global___Metrics: typing_extensions.TypeAlias = Metrics +@typing.final class Account(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -97,9 +95,6 @@ class Account(google.protobuf.message.Message): METRICS_FIELD_NUMBER: builtins.int id: builtins.str """The id of the account.""" - @property - def spec(self) -> global___AccountSpec: - """The account specification.""" resource_version: builtins.str """The current version of the account specification. The next update operation will have to include this version. @@ -109,25 +104,29 @@ class Account(google.protobuf.message.Message): async_operation_id: builtins.str """The id of the async operation that is updating the account, if any.""" @property - def metrics(self) -> global___Metrics: + def spec(self) -> Global___AccountSpec: + """The account specification.""" + + @property + def metrics(self) -> Global___Metrics: """Information related to metrics.""" + def __init__( self, *, id: builtins.str = ..., - spec: global___AccountSpec | None = ..., + spec: Global___AccountSpec | None = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., - metrics: global___Metrics | None = ..., + metrics: Global___Metrics | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["metrics", b"metrics", "spec", b"spec"], + self, field_name: typing.Literal["metrics", b"metrics", "spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "id", @@ -143,8 +142,9 @@ class Account(google.protobuf.message.Message): ], ) -> None: ... -global___Account = Account +Global___Account: typing_extensions.TypeAlias = Account +@typing.final class AuditLogSinkSpec(google.protobuf.message.Message): """AuditLogSinkSpec is only used by Audit Log""" @@ -156,14 +156,16 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ENABLED_FIELD_NUMBER: builtins.int name: builtins.str """Name of the sink e.g. "audit_log_01" """ + enabled: builtins.bool + """Enabled indicates whether the sink is enabled or not.""" @property def kinesis_sink(self) -> temporalio.api.cloud.sink.v1.message_pb2.KinesisSpec: """The KinesisSpec when destination_type is Kinesis""" + @property def pub_sub_sink(self) -> temporalio.api.cloud.sink.v1.message_pb2.PubSubSpec: """The PubSubSpec when destination_type is PubSub""" - enabled: builtins.bool - """Enabled indicates whether the sink is enabled or not.""" + def __init__( self, *, @@ -174,7 +176,7 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "kinesis_sink", b"kinesis_sink", "pub_sub_sink", @@ -185,7 +187,7 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "enabled", b"enabled", "kinesis_sink", @@ -199,11 +201,12 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["sink_type", b"sink_type"] - ) -> typing_extensions.Literal["kinesis_sink", "pub_sub_sink"] | None: ... + self, oneof_group: typing.Literal["sink_type", b"sink_type"] + ) -> typing.Literal["kinesis_sink", "pub_sub_sink"] | None: ... -global___AuditLogSinkSpec = AuditLogSinkSpec +Global___AuditLogSinkSpec: typing_extensions.TypeAlias = AuditLogSinkSpec +@typing.final class AuditLogSink(google.protobuf.message.Message): """AuditLogSink is only used by Audit Log""" @@ -218,7 +221,7 @@ class AuditLogSink(google.protobuf.message.Message): AuditLogSink._Health.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HEALTH_UNSPECIFIED: AuditLogSink._Health.ValueType # 0 HEALTH_OK: AuditLogSink._Health.ValueType # 1 @@ -252,36 +255,38 @@ class AuditLogSink(google.protobuf.message.Message): """The version of the audit log sink resource.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the audit log sink.""" - @property - def spec(self) -> global___AuditLogSinkSpec: - """The specification details of the audit log sink.""" - health: global___AuditLogSink.Health.ValueType + health: Global___AuditLogSink.Health.ValueType """The health status of the audit log sink.""" error_message: builtins.str """An error message describing any issues with the audit log sink, if applicable.""" + @property + def spec(self) -> Global___AuditLogSinkSpec: + """The specification details of the audit log sink.""" + @property def last_succeeded_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The last succeeded timestamp for the internal workflow responsible for adding data to the sink.""" + def __init__( self, *, name: builtins.str = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., - spec: global___AuditLogSinkSpec | None = ..., - health: global___AuditLogSink.Health.ValueType = ..., + spec: Global___AuditLogSinkSpec | None = ..., + health: Global___AuditLogSink.Health.ValueType = ..., error_message: builtins.str = ..., last_succeeded_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_succeeded_time", b"last_succeeded_time", "spec", b"spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "error_message", b"error_message", "health", @@ -299,4 +304,4 @@ class AuditLogSink(google.protobuf.message.Message): ], ) -> None: ... -global___AuditLogSink = AuditLogSink +Global___AuditLogSink: typing_extensions.TypeAlias = AuditLogSink diff --git a/temporalio/api/cloud/auditlog/v1/message_pb2.py b/temporalio/api/cloud/auditlog/v1/message_pb2.py index 5714d3d23..06aefae39 100644 --- a/temporalio/api/cloud/auditlog/v1/message_pb2.py +++ b/temporalio/api/cloud/auditlog/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/auditlog/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/auditlog/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,36 +31,18 @@ b'\n,temporal/api/cloud/auditlog/v1/message.proto\x12\x1etemporal.api.cloud.auditlog.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto"\x9f\x02\n\tLogRecord\x12-\n\temit_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x0e\n\x06status\x18\x07 \x01(\t\x12\x0f\n\x07version\x18\t \x01(\x05\x12\x0e\n\x06log_id\x18\n \x01(\t\x12<\n\tprincipal\x18\x0c \x01(\x0b\x32).temporal.api.cloud.auditlog.v1.Principal\x12,\n\x0braw_details\x18\r \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x17\n\x0fx_forwarded_for\x18\x0e \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x0f \x01(\t"G\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x12\n\napi_key_id\x18\x04 \x01(\tB\xac\x01\n!io.temporal.api.cloud.auditlog.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/auditlog/v1;auditlog\xaa\x02 Temporalio.Api.Cloud.AuditLog.V1\xea\x02$Temporalio::Api::Cloud::AuditLog::V1b\x06proto3' ) - -_LOGRECORD = DESCRIPTOR.message_types_by_name["LogRecord"] -_PRINCIPAL = DESCRIPTOR.message_types_by_name["Principal"] -LogRecord = _reflection.GeneratedProtocolMessageType( - "LogRecord", - (_message.Message,), - { - "DESCRIPTOR": _LOGRECORD, - "__module__": "temporalio.api.cloud.auditlog.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.auditlog.v1.LogRecord) - }, -) -_sym_db.RegisterMessage(LogRecord) - -Principal = _reflection.GeneratedProtocolMessageType( - "Principal", - (_message.Message,), - { - "DESCRIPTOR": _PRINCIPAL, - "__module__": "temporalio.api.cloud.auditlog.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.auditlog.v1.Principal) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.auditlog.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(Principal) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.auditlog.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/auditlog/v1;auditlog\252\002 Temporalio.Api.Cloud.AuditLog.V1\352\002$Temporalio::Api::Cloud::AuditLog::V1" - _LOGRECORD._serialized_start = 144 - _LOGRECORD._serialized_end = 431 - _PRINCIPAL._serialized_start = 433 - _PRINCIPAL._serialized_end = 504 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n!io.temporal.api.cloud.auditlog.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/auditlog/v1;auditlog\252\002 Temporalio.Api.Cloud.AuditLog.V1\352\002$Temporalio::Api::Cloud::AuditLog::V1" + _globals["_LOGRECORD"]._serialized_start = 144 + _globals["_LOGRECORD"]._serialized_end = 431 + _globals["_PRINCIPAL"]._serialized_start = 433 + _globals["_PRINCIPAL"]._serialized_end = 504 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/auditlog/v1/message_pb2.pyi b/temporalio/api/cloud/auditlog/v1/message_pb2.pyi index 4145313c2..ba930c8b4 100644 --- a/temporalio/api/cloud/auditlog/v1/message_pb2.pyi +++ b/temporalio/api/cloud/auditlog/v1/message_pb2.pyi @@ -5,19 +5,21 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message import google.protobuf.struct_pb2 import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class LogRecord(google.protobuf.message.Message): """LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis.""" @@ -32,9 +34,6 @@ class LogRecord(google.protobuf.message.Message): RAW_DETAILS_FIELD_NUMBER: builtins.int X_FORWARDED_FOR_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - @property - def emit_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Time when the log was emitted.""" operation: builtins.str """The operation performed.""" status: builtins.str @@ -43,16 +42,22 @@ class LogRecord(google.protobuf.message.Message): """The internal version of the log message. Can be used in deduplication if needed.""" log_id: builtins.str """Unique ID for the log record.""" + x_forwarded_for: builtins.str + """The originating IP address of the request.""" + async_operation_id: builtins.str + """The ID of the async operation.""" @property - def principal(self) -> global___Principal: + def emit_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Time when the log was emitted.""" + + @property + def principal(self) -> Global___Principal: """The principal that performed the operation.""" + @property def raw_details(self) -> google.protobuf.struct_pb2.Struct: """The raw details of the operation.""" - x_forwarded_for: builtins.str - """The originating IP address of the request.""" - async_operation_id: builtins.str - """The ID of the async operation.""" + def __init__( self, *, @@ -61,14 +66,14 @@ class LogRecord(google.protobuf.message.Message): status: builtins.str = ..., version: builtins.int = ..., log_id: builtins.str = ..., - principal: global___Principal | None = ..., + principal: Global___Principal | None = ..., raw_details: google.protobuf.struct_pb2.Struct | None = ..., x_forwarded_for: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "emit_time", b"emit_time", "principal", @@ -79,7 +84,7 @@ class LogRecord(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "emit_time", @@ -101,8 +106,9 @@ class LogRecord(google.protobuf.message.Message): ], ) -> None: ... -global___LogRecord = LogRecord +Global___LogRecord: typing_extensions.TypeAlias = LogRecord +@typing.final class Principal(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -130,9 +136,9 @@ class Principal(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "api_key_id", b"api_key_id", "id", b"id", "name", b"name", "type", b"type" ], ) -> None: ... -global___Principal = Principal +Global___Principal: typing_extensions.TypeAlias = Principal diff --git a/temporalio/api/cloud/billing/v1/message_pb2.py b/temporalio/api/cloud/billing/v1/message_pb2.py index 4cbf846f5..fec258506 100644 --- a/temporalio/api/cloud/billing/v1/message_pb2.py +++ b/temporalio/api/cloud/billing/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/billing/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/billing/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,64 +31,26 @@ b'\n+temporal/api/cloud/billing/v1/message.proto\x12\x1dtemporal.api.cloud.billing.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfd\x03\n\x11\x42illingReportSpec\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n download_url_expiration_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12^\n\x0bgranularity\x18\x05 \x01(\x0e\x32I.temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity"\xbb\x01\n\x18\x42illingReportGranularity\x12*\n&BILLING_REPORT_GRANULARITY_UNSPECIFIED\x10\x00\x12%\n!BILLING_REPORT_GRANULARITY_HOURLY\x10\x01\x12$\n BILLING_REPORT_GRANULARITY_DAILY\x10\x02\x12&\n"BILLING_REPORT_GRANULARITY_MONTHLY\x10\x03"\xa8\x06\n\rBillingReport\x12\n\n\x02id\x18\x01 \x01(\t\x12N\n\x05state\x18\x02 \x01(\x0e\x32?.temporal.api.cloud.billing.v1.BillingReport.BillingReportState\x12>\n\x04spec\x18\x03 \x01(\x0b\x32\x30.temporal.api.cloud.billing.v1.BillingReportSpec\x12L\n\rdownload_info\x18\x04 \x03(\x0b\x32\x35.temporal.api.cloud.billing.v1.BillingReport.Download\x12\x32\n\x0erequested_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0egenerated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x61sync_operation_id\x18\x07 \x01(\t\x1a\x80\x02\n\x08\x44ownload\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x37\n\x13url_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x0b\x66ile_format\x18\x03 \x01(\x0e\x32@.temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat\x12\x17\n\x0f\x66ile_size_bytes\x18\x04 \x01(\x03">\n\nFileFormat\x12\x1b\n\x17\x46ILE_FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46ILE_FORMAT_CSV\x10\x01"\xa5\x01\n\x12\x42illingReportState\x12$\n BILLING_REPORT_STATE_UNSPECIFIED\x10\x00\x12$\n BILLING_REPORT_STATE_IN_PROGRESS\x10\x01\x12"\n\x1e\x42ILLING_REPORT_STATE_GENERATED\x10\x02\x12\x1f\n\x1b\x42ILLING_REPORT_STATE_FAILED\x10\x03\x42\xa7\x01\n io.temporal.api.cloud.billing.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/billing/v1;billing\xaa\x02\x1fTemporalio.Api.Cloud.Billing.V1\xea\x02#Temporalio::Api::Cloud::Billing::V1b\x06proto3' ) - -_BILLINGREPORTSPEC = DESCRIPTOR.message_types_by_name["BillingReportSpec"] -_BILLINGREPORT = DESCRIPTOR.message_types_by_name["BillingReport"] -_BILLINGREPORT_DOWNLOAD = _BILLINGREPORT.nested_types_by_name["Download"] -_BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY = _BILLINGREPORTSPEC.enum_types_by_name[ - "BillingReportGranularity" -] -_BILLINGREPORT_DOWNLOAD_FILEFORMAT = _BILLINGREPORT_DOWNLOAD.enum_types_by_name[ - "FileFormat" -] -_BILLINGREPORT_BILLINGREPORTSTATE = _BILLINGREPORT.enum_types_by_name[ - "BillingReportState" -] -BillingReportSpec = _reflection.GeneratedProtocolMessageType( - "BillingReportSpec", - (_message.Message,), - { - "DESCRIPTOR": _BILLINGREPORTSPEC, - "__module__": "temporalio.api.cloud.billing.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.billing.v1.BillingReportSpec) - }, -) -_sym_db.RegisterMessage(BillingReportSpec) - -BillingReport = _reflection.GeneratedProtocolMessageType( - "BillingReport", - (_message.Message,), - { - "Download": _reflection.GeneratedProtocolMessageType( - "Download", - (_message.Message,), - { - "DESCRIPTOR": _BILLINGREPORT_DOWNLOAD, - "__module__": "temporalio.api.cloud.billing.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.billing.v1.BillingReport.Download) - }, - ), - "DESCRIPTOR": _BILLINGREPORT, - "__module__": "temporalio.api.cloud.billing.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.billing.v1.BillingReport) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.billing.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(BillingReport) -_sym_db.RegisterMessage(BillingReport.Download) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n io.temporal.api.cloud.billing.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/billing/v1;billing\252\002\037Temporalio.Api.Cloud.Billing.V1\352\002#Temporalio::Api::Cloud::Billing::V1" - _BILLINGREPORTSPEC._serialized_start = 144 - _BILLINGREPORTSPEC._serialized_end = 653 - _BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY._serialized_start = 466 - _BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY._serialized_end = 653 - _BILLINGREPORT._serialized_start = 656 - _BILLINGREPORT._serialized_end = 1464 - _BILLINGREPORT_DOWNLOAD._serialized_start = 1040 - _BILLINGREPORT_DOWNLOAD._serialized_end = 1296 - _BILLINGREPORT_DOWNLOAD_FILEFORMAT._serialized_start = 1234 - _BILLINGREPORT_DOWNLOAD_FILEFORMAT._serialized_end = 1296 - _BILLINGREPORT_BILLINGREPORTSTATE._serialized_start = 1299 - _BILLINGREPORT_BILLINGREPORTSTATE._serialized_end = 1464 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n io.temporal.api.cloud.billing.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/billing/v1;billing\252\002\037Temporalio.Api.Cloud.Billing.V1\352\002#Temporalio::Api::Cloud::Billing::V1" + _globals["_BILLINGREPORTSPEC"]._serialized_start = 144 + _globals["_BILLINGREPORTSPEC"]._serialized_end = 653 + _globals["_BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY"]._serialized_start = 466 + _globals["_BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY"]._serialized_end = 653 + _globals["_BILLINGREPORT"]._serialized_start = 656 + _globals["_BILLINGREPORT"]._serialized_end = 1464 + _globals["_BILLINGREPORT_DOWNLOAD"]._serialized_start = 1040 + _globals["_BILLINGREPORT_DOWNLOAD"]._serialized_end = 1296 + _globals["_BILLINGREPORT_DOWNLOAD_FILEFORMAT"]._serialized_start = 1234 + _globals["_BILLINGREPORT_DOWNLOAD_FILEFORMAT"]._serialized_end = 1296 + _globals["_BILLINGREPORT_BILLINGREPORTSTATE"]._serialized_start = 1299 + _globals["_BILLINGREPORT_BILLINGREPORTSTATE"]._serialized_end = 1464 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/billing/v1/message_pb2.pyi b/temporalio/api/cloud/billing/v1/message_pb2.pyi index 7828afffa..c8c4e8ab4 100644 --- a/temporalio/api/cloud/billing/v1/message_pb2.pyi +++ b/temporalio/api/cloud/billing/v1/message_pb2.pyi @@ -22,6 +22,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class BillingReportSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,7 +35,7 @@ class BillingReportSpec(google.protobuf.message.Message): BillingReportSpec._BillingReportGranularity.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BILLING_REPORT_GRANULARITY_UNSPECIFIED: ( BillingReportSpec._BillingReportGranularity.ValueType @@ -70,26 +71,29 @@ class BillingReportSpec(google.protobuf.message.Message): DOWNLOAD_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int GRANULARITY_FIELD_NUMBER: builtins.int + description: builtins.str + """The description for the billing report. + Optional, default is empty. + """ + granularity: Global___BillingReportSpec.BillingReportGranularity.ValueType + """The data granularity of the billing report. + Optional, default is hourly. + temporal:versioning:min_version=v0.16.0 + """ @property def start_time_inclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """The start time of the billing report (in UTC).""" + @property def end_time_exclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """The end time of the billing report (in UTC).""" + @property def download_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration: """The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour. """ - description: builtins.str - """The description for the billing report. - Optional, default is empty. - """ - granularity: global___BillingReportSpec.BillingReportGranularity.ValueType - """The data granularity of the billing report. - Optional, default is hourly. - temporal:versioning:min_version=v0.16.0 - """ + def __init__( self, *, @@ -98,11 +102,11 @@ class BillingReportSpec(google.protobuf.message.Message): download_url_expiration_duration: google.protobuf.duration_pb2.Duration | None = ..., description: builtins.str = ..., - granularity: global___BillingReportSpec.BillingReportGranularity.ValueType = ..., + granularity: Global___BillingReportSpec.BillingReportGranularity.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "download_url_expiration_duration", b"download_url_expiration_duration", "end_time_exclusive", @@ -113,7 +117,7 @@ class BillingReportSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "download_url_expiration_duration", @@ -127,8 +131,9 @@ class BillingReportSpec(google.protobuf.message.Message): ], ) -> None: ... -global___BillingReportSpec = BillingReportSpec +Global___BillingReportSpec: typing_extensions.TypeAlias = BillingReportSpec +@typing.final class BillingReport(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -141,7 +146,7 @@ class BillingReport(google.protobuf.message.Message): BillingReport._BillingReportState.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BILLING_REPORT_STATE_UNSPECIFIED: ( BillingReport._BillingReportState.ValueType @@ -160,6 +165,7 @@ class BillingReport(google.protobuf.message.Message): BILLING_REPORT_STATE_GENERATED: BillingReport.BillingReportState.ValueType # 2 BILLING_REPORT_STATE_FAILED: BillingReport.BillingReportState.ValueType # 3 + @typing.final class Download(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -172,7 +178,7 @@ class BillingReport(google.protobuf.message.Message): BillingReport.Download._FileFormat.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor FILE_FORMAT_UNSPECIFIED: BillingReport.Download._FileFormat.ValueType # 0 FILE_FORMAT_CSV: BillingReport.Download._FileFormat.ValueType # 1 @@ -187,30 +193,29 @@ class BillingReport(google.protobuf.message.Message): FILE_SIZE_BYTES_FIELD_NUMBER: builtins.int url: builtins.str """The download url.""" - @property - def url_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The time when the download url will expire.""" - file_format: global___BillingReport.Download.FileFormat.ValueType + file_format: Global___BillingReport.Download.FileFormat.ValueType """The file format of the billing report""" file_size_bytes: builtins.int """The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc.""" + @property + def url_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The time when the download url will expire.""" + def __init__( self, *, url: builtins.str = ..., url_expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - file_format: global___BillingReport.Download.FileFormat.ValueType = ..., + file_format: Global___BillingReport.Download.FileFormat.ValueType = ..., file_size_bytes: builtins.int = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "url_expiration_time", b"url_expiration_time" - ], + field_name: typing.Literal["url_expiration_time", b"url_expiration_time"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "file_format", b"file_format", "file_size_bytes", @@ -231,35 +236,39 @@ class BillingReport(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int id: builtins.str """The id of the billing report.""" - state: global___BillingReport.BillingReportState.ValueType + state: Global___BillingReport.BillingReportState.ValueType """The current state of the billing report.""" + async_operation_id: builtins.str + """The async operation id associated with the billing report generation.""" @property - def spec(self) -> global___BillingReportSpec: + def spec(self) -> Global___BillingReportSpec: """The spec used to generate this billing report.""" + @property def download_info( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___BillingReport.Download + Global___BillingReport.Download ]: """The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.) """ + @property def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the billing report was requested.""" + @property def generated_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the billing report generation completed.""" - async_operation_id: builtins.str - """The async operation id associated with the billing report generation.""" + def __init__( self, *, id: builtins.str = ..., - state: global___BillingReport.BillingReportState.ValueType = ..., - spec: global___BillingReportSpec | None = ..., - download_info: collections.abc.Iterable[global___BillingReport.Download] + state: Global___BillingReport.BillingReportState.ValueType = ..., + spec: Global___BillingReportSpec | None = ..., + download_info: collections.abc.Iterable[Global___BillingReport.Download] | None = ..., requested_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., generated_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -267,7 +276,7 @@ class BillingReport(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "generated_time", b"generated_time", "requested_time", @@ -278,7 +287,7 @@ class BillingReport(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "download_info", @@ -296,4 +305,4 @@ class BillingReport(google.protobuf.message.Message): ], ) -> None: ... -global___BillingReport = BillingReport +Global___BillingReport: typing_extensions.TypeAlias = BillingReport diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py index 5d7a6a28a..83d622c43 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/cloudservice/v1/request_response.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/cloudservice/v1/request_response.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -51,2372 +61,338 @@ b'\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\x1a,temporal/api/cloud/auditlog/v1/message.proto\x1a+temporal/api/cloud/billing/v1/message.proto"\x1b\n\x19GetCurrentIdentityRequest"\xed\x01\n\x1aGetCurrentIdentityResponse\x12\x34\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.UserH\x00\x12I\n\x0fservice_account\x18\x02 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccountH\x00\x12\x41\n\x11principal_api_key\x18\x03 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKeyB\x0b\n\tprincipal"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc6\x01\n"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x13\n\x11GetRegionsRequest"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region""\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t""\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc0\x01\n"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xcf\x01\n\'SetServiceAccountNamespaceAccessRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"t\n(SetServiceAccountNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x13\n\x11GetAccountRequest"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"v\n"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec"%\n#ValidateNamespaceExportSinkResponse"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xae\x01\n\x13GetAuditLogsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x38\n\x14start_time_inclusive\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"h\n\x14GetAuditLogsResponse\x12\x37\n\x04logs\x18\x01 \x03(\x0b\x32).temporal.api.cloud.auditlog.v1.LogRecord\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"c\n"ValidateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec"%\n#ValidateAccountAuditLogSinkResponse"}\n CreateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"m\n!CreateAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"-\n\x1dGetAccountAuditLogSinkRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"[\n\x1eGetAccountAuditLogSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.account.v1.AuditLogSink"G\n\x1eGetAccountAuditLogSinksRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"v\n\x1fGetAccountAuditLogSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.account.v1.AuditLogSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x97\x01\n UpdateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!UpdateAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"f\n DeleteAccountAuditLogSinkRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!DeleteAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"4\n\x1fGetNamespaceCapacityInfoRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"q\n GetNamespaceCapacityInfoResponse\x12M\n\rcapacity_info\x18\x01 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo"x\n\x1a\x43reateBillingReportRequest\x12>\n\x04spec\x18\x01 \x01(\x0b\x32\x30.temporal.api.cloud.billing.v1.BillingReportSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x82\x01\n\x1b\x43reateBillingReportResponse\x12\x19\n\x11\x62illing_report_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"4\n\x17GetBillingReportRequest\x12\x19\n\x11\x62illing_report_id\x18\x01 \x01(\t"`\n\x18GetBillingReportResponse\x12\x44\n\x0e\x62illing_report\x18\x01 \x01(\x0b\x32,.temporal.api.cloud.billing.v1.BillingReport">\n\x15GetCustomRolesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"s\n\x16GetCustomRolesResponse\x12@\n\x0c\x63ustom_roles\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.identity.v1.CustomRole\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\'\n\x14GetCustomRoleRequest\x12\x0f\n\x07role_id\x18\x01 \x01(\t"X\n\x15GetCustomRoleResponse\x12?\n\x0b\x63ustom_role\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.CustomRole"s\n\x17\x43reateCustomRoleRequest\x12<\n\x04spec\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CustomRoleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"u\n\x18\x43reateCustomRoleResponse\x12\x0f\n\x07role_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x9e\x01\n\x17UpdateCustomRoleRequest\x12\x0f\n\x07role_id\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CustomRoleSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"d\n\x18UpdateCustomRoleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"`\n\x17\x44\x65leteCustomRoleRequest\x12\x0f\n\x07role_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"d\n\x18\x44\x65leteCustomRoleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"^\n"GetUserNamespaceAssignmentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"\x86\x01\n#GetUserNamespaceAssignmentsResponse\x12\x46\n\x05users\x18\x01 \x03(\x0b\x32\x37.temporal.api.cloud.identity.v1.UserNamespaceAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"h\n,GetServiceAccountNamespaceAssignmentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"\xa5\x01\n-GetServiceAccountNamespaceAssignmentsResponse\x12[\n\x10service_accounts\x18\x01 \x03(\x0b\x32\x41.temporal.api.cloud.identity.v1.ServiceAccountNamespaceAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"c\n\'GetUserGroupNamespaceAssignmentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"\x91\x01\n(GetUserGroupNamespaceAssignmentsResponse\x12L\n\x06groups\x18\x01 \x03(\x0b\x32<.temporal.api.cloud.identity.v1.UserGroupNamespaceAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3' ) - -_GETCURRENTIDENTITYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetCurrentIdentityRequest" -] -_GETCURRENTIDENTITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetCurrentIdentityResponse" -] -_GETUSERSREQUEST = DESCRIPTOR.message_types_by_name["GetUsersRequest"] -_GETUSERSRESPONSE = DESCRIPTOR.message_types_by_name["GetUsersResponse"] -_GETUSERREQUEST = DESCRIPTOR.message_types_by_name["GetUserRequest"] -_GETUSERRESPONSE = DESCRIPTOR.message_types_by_name["GetUserResponse"] -_CREATEUSERREQUEST = DESCRIPTOR.message_types_by_name["CreateUserRequest"] -_CREATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserResponse"] -_UPDATEUSERREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserRequest"] -_UPDATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserResponse"] -_DELETEUSERREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserRequest"] -_DELETEUSERRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserResponse"] -_SETUSERNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ - "SetUserNamespaceAccessRequest" -] -_SETUSERNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetUserNamespaceAccessResponse" -] -_GETASYNCOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["GetAsyncOperationRequest"] -_GETASYNCOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetAsyncOperationResponse" -] -_CREATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["CreateNamespaceRequest"] -_CREATENAMESPACEREQUEST_TAGSENTRY = _CREATENAMESPACEREQUEST.nested_types_by_name[ - "TagsEntry" -] -_CREATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["CreateNamespaceResponse"] -_GETNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["GetNamespacesRequest"] -_GETNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["GetNamespacesResponse"] -_GETNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["GetNamespaceRequest"] -_GETNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["GetNamespaceResponse"] -_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] -_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] -_RENAMECUSTOMSEARCHATTRIBUTEREQUEST = DESCRIPTOR.message_types_by_name[ - "RenameCustomSearchAttributeRequest" -] -_RENAMECUSTOMSEARCHATTRIBUTERESPONSE = DESCRIPTOR.message_types_by_name[ - "RenameCustomSearchAttributeResponse" -] -_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] -_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] -_FAILOVERNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ - "FailoverNamespaceRegionRequest" -] -_FAILOVERNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "FailoverNamespaceRegionResponse" -] -_ADDNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ - "AddNamespaceRegionRequest" -] -_ADDNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddNamespaceRegionResponse" -] -_DELETENAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceRegionRequest" -] -_DELETENAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceRegionResponse" -] -_GETREGIONSREQUEST = DESCRIPTOR.message_types_by_name["GetRegionsRequest"] -_GETREGIONSRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionsResponse"] -_GETREGIONREQUEST = DESCRIPTOR.message_types_by_name["GetRegionRequest"] -_GETREGIONRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionResponse"] -_GETAPIKEYSREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeysRequest"] -_GETAPIKEYSRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeysResponse"] -_GETAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeyRequest"] -_GETAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeyResponse"] -_CREATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["CreateApiKeyRequest"] -_CREATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["CreateApiKeyResponse"] -_UPDATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["UpdateApiKeyRequest"] -_UPDATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["UpdateApiKeyResponse"] -_DELETEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["DeleteApiKeyRequest"] -_DELETEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["DeleteApiKeyResponse"] -_GETNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointsRequest"] -_GETNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetNexusEndpointsResponse" -] -_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] -_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] -_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointRequest" -] -_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointResponse" -] -_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointRequest" -] -_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointResponse" -] -_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointRequest" -] -_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointResponse" -] -_GETUSERGROUPSREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupsRequest"] -_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ - "GoogleGroupFilter" -] -_GETUSERGROUPSREQUEST_SCIMGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ - "SCIMGroupFilter" -] -_GETUSERGROUPSRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupsResponse"] -_GETUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupRequest"] -_GETUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupResponse"] -_CREATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["CreateUserGroupRequest"] -_CREATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserGroupResponse"] -_UPDATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserGroupRequest"] -_UPDATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserGroupResponse"] -_DELETEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserGroupRequest"] -_DELETEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserGroupResponse"] -_SETUSERGROUPNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ - "SetUserGroupNamespaceAccessRequest" -] -_SETUSERGROUPNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetUserGroupNamespaceAccessResponse" -] -_ADDUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ - "AddUserGroupMemberRequest" -] -_ADDUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddUserGroupMemberResponse" -] -_REMOVEUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ - "RemoveUserGroupMemberRequest" -] -_REMOVEUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ - "RemoveUserGroupMemberResponse" -] -_GETUSERGROUPMEMBERSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetUserGroupMembersRequest" -] -_GETUSERGROUPMEMBERSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetUserGroupMembersResponse" -] -_CREATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateServiceAccountRequest" -] -_CREATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateServiceAccountResponse" -] -_GETSERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetServiceAccountRequest"] -_GETSERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountResponse" -] -_GETSERVICEACCOUNTSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountsRequest" -] -_GETSERVICEACCOUNTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountsResponse" -] -_UPDATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateServiceAccountRequest" -] -_UPDATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateServiceAccountResponse" -] -_SETSERVICEACCOUNTNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ - "SetServiceAccountNamespaceAccessRequest" -] -_SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetServiceAccountNamespaceAccessResponse" -] -_DELETESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteServiceAccountRequest" -] -_DELETESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteServiceAccountResponse" -] -_GETUSAGEREQUEST = DESCRIPTOR.message_types_by_name["GetUsageRequest"] -_GETUSAGERESPONSE = DESCRIPTOR.message_types_by_name["GetUsageResponse"] -_GETACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetAccountRequest"] -_GETACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["GetAccountResponse"] -_UPDATEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["UpdateAccountRequest"] -_UPDATEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["UpdateAccountResponse"] -_CREATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateNamespaceExportSinkRequest" -] -_CREATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateNamespaceExportSinkResponse" -] -_GETNAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinkRequest" -] -_GETNAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinkResponse" -] -_GETNAMESPACEEXPORTSINKSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinksRequest" -] -_GETNAMESPACEEXPORTSINKSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetNamespaceExportSinksResponse" -] -_UPDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceExportSinkRequest" -] -_UPDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceExportSinkResponse" -] -_DELETENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceExportSinkRequest" -] -_DELETENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNamespaceExportSinkResponse" -] -_VALIDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "ValidateNamespaceExportSinkRequest" -] -_VALIDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "ValidateNamespaceExportSinkResponse" -] -_UPDATENAMESPACETAGSREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceTagsRequest" -] -_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY = ( - _UPDATENAMESPACETAGSREQUEST.nested_types_by_name["TagsToUpsertEntry"] -) -_UPDATENAMESPACETAGSRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNamespaceTagsResponse" -] -_CREATECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateConnectivityRuleRequest" -] -_CREATECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateConnectivityRuleResponse" -] -_GETCONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRuleRequest" -] -_GETCONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRuleResponse" -] -_GETCONNECTIVITYRULESREQUEST = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRulesRequest" -] -_GETCONNECTIVITYRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetConnectivityRulesResponse" -] -_DELETECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteConnectivityRuleRequest" -] -_DELETECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteConnectivityRuleResponse" -] -_GETAUDITLOGSREQUEST = DESCRIPTOR.message_types_by_name["GetAuditLogsRequest"] -_GETAUDITLOGSRESPONSE = DESCRIPTOR.message_types_by_name["GetAuditLogsResponse"] -_VALIDATEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "ValidateAccountAuditLogSinkRequest" -] -_VALIDATEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "ValidateAccountAuditLogSinkResponse" -] -_CREATEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateAccountAuditLogSinkRequest" -] -_CREATEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateAccountAuditLogSinkResponse" -] -_GETACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "GetAccountAuditLogSinkRequest" -] -_GETACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetAccountAuditLogSinkResponse" -] -_GETACCOUNTAUDITLOGSINKSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetAccountAuditLogSinksRequest" -] -_GETACCOUNTAUDITLOGSINKSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetAccountAuditLogSinksResponse" -] -_UPDATEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateAccountAuditLogSinkRequest" -] -_UPDATEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateAccountAuditLogSinkResponse" -] -_DELETEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteAccountAuditLogSinkRequest" -] -_DELETEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteAccountAuditLogSinkResponse" -] -_GETNAMESPACECAPACITYINFOREQUEST = DESCRIPTOR.message_types_by_name[ - "GetNamespaceCapacityInfoRequest" -] -_GETNAMESPACECAPACITYINFORESPONSE = DESCRIPTOR.message_types_by_name[ - "GetNamespaceCapacityInfoResponse" -] -_CREATEBILLINGREPORTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateBillingReportRequest" -] -_CREATEBILLINGREPORTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateBillingReportResponse" -] -_GETBILLINGREPORTREQUEST = DESCRIPTOR.message_types_by_name["GetBillingReportRequest"] -_GETBILLINGREPORTRESPONSE = DESCRIPTOR.message_types_by_name["GetBillingReportResponse"] -_GETCUSTOMROLESREQUEST = DESCRIPTOR.message_types_by_name["GetCustomRolesRequest"] -_GETCUSTOMROLESRESPONSE = DESCRIPTOR.message_types_by_name["GetCustomRolesResponse"] -_GETCUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["GetCustomRoleRequest"] -_GETCUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["GetCustomRoleResponse"] -_CREATECUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["CreateCustomRoleRequest"] -_CREATECUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["CreateCustomRoleResponse"] -_UPDATECUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["UpdateCustomRoleRequest"] -_UPDATECUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["UpdateCustomRoleResponse"] -_DELETECUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["DeleteCustomRoleRequest"] -_DELETECUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["DeleteCustomRoleResponse"] -_GETUSERNAMESPACEASSIGNMENTSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetUserNamespaceAssignmentsRequest" -] -_GETUSERNAMESPACEASSIGNMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetUserNamespaceAssignmentsResponse" -] -_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountNamespaceAssignmentsRequest" -] -_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetServiceAccountNamespaceAssignmentsResponse" -] -_GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST = DESCRIPTOR.message_types_by_name[ - "GetUserGroupNamespaceAssignmentsRequest" -] -_GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetUserGroupNamespaceAssignmentsResponse" -] -GetCurrentIdentityRequest = _reflection.GeneratedProtocolMessageType( - "GetCurrentIdentityRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTIDENTITYREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest) - }, -) -_sym_db.RegisterMessage(GetCurrentIdentityRequest) - -GetCurrentIdentityResponse = _reflection.GeneratedProtocolMessageType( - "GetCurrentIdentityResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTIDENTITYRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse) - }, -) -_sym_db.RegisterMessage(GetCurrentIdentityResponse) - -GetUsersRequest = _reflection.GeneratedProtocolMessageType( - "GetUsersRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersRequest) - }, -) -_sym_db.RegisterMessage(GetUsersRequest) - -GetUsersResponse = _reflection.GeneratedProtocolMessageType( - "GetUsersResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersResponse) - }, -) -_sym_db.RegisterMessage(GetUsersResponse) - -GetUserRequest = _reflection.GeneratedProtocolMessageType( - "GetUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserRequest) - }, -) -_sym_db.RegisterMessage(GetUserRequest) - -GetUserResponse = _reflection.GeneratedProtocolMessageType( - "GetUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserResponse) - }, -) -_sym_db.RegisterMessage(GetUserResponse) - -CreateUserRequest = _reflection.GeneratedProtocolMessageType( - "CreateUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserRequest) - }, -) -_sym_db.RegisterMessage(CreateUserRequest) - -CreateUserResponse = _reflection.GeneratedProtocolMessageType( - "CreateUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserResponse) - }, -) -_sym_db.RegisterMessage(CreateUserResponse) - -UpdateUserRequest = _reflection.GeneratedProtocolMessageType( - "UpdateUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserRequest) - }, -) -_sym_db.RegisterMessage(UpdateUserRequest) - -UpdateUserResponse = _reflection.GeneratedProtocolMessageType( - "UpdateUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserResponse) - }, -) -_sym_db.RegisterMessage(UpdateUserResponse) - -DeleteUserRequest = _reflection.GeneratedProtocolMessageType( - "DeleteUserRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserRequest) - }, -) -_sym_db.RegisterMessage(DeleteUserRequest) - -DeleteUserResponse = _reflection.GeneratedProtocolMessageType( - "DeleteUserResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserResponse) - }, -) -_sym_db.RegisterMessage(DeleteUserResponse) - -SetUserNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( - "SetUserNamespaceAccessRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERNAMESPACEACCESSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest) - }, -) -_sym_db.RegisterMessage(SetUserNamespaceAccessRequest) - -SetUserNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( - "SetUserNamespaceAccessResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERNAMESPACEACCESSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse) - }, -) -_sym_db.RegisterMessage(SetUserNamespaceAccessResponse) - -GetAsyncOperationRequest = _reflection.GeneratedProtocolMessageType( - "GetAsyncOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETASYNCOPERATIONREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest) - }, -) -_sym_db.RegisterMessage(GetAsyncOperationRequest) - -GetAsyncOperationResponse = _reflection.GeneratedProtocolMessageType( - "GetAsyncOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETASYNCOPERATIONRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse) - }, -) -_sym_db.RegisterMessage(GetAsyncOperationResponse) - -CreateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceRequest", - (_message.Message,), - { - "TagsEntry": _reflection.GeneratedProtocolMessageType( - "TagsEntry", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACEREQUEST_TAGSENTRY, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry) - }, - ), - "DESCRIPTOR": _CREATENAMESPACEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest) - }, -) -_sym_db.RegisterMessage(CreateNamespaceRequest) -_sym_db.RegisterMessage(CreateNamespaceRequest.TagsEntry) - -CreateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse) - }, -) -_sym_db.RegisterMessage(CreateNamespaceResponse) - -GetNamespacesRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespacesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACESREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesRequest) - }, -) -_sym_db.RegisterMessage(GetNamespacesRequest) - -GetNamespacesResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespacesResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACESRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesResponse) - }, -) -_sym_db.RegisterMessage(GetNamespacesResponse) - -GetNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceRequest) - }, -) -_sym_db.RegisterMessage(GetNamespaceRequest) - -GetNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceResponse) - }, -) -_sym_db.RegisterMessage(GetNamespaceResponse) - -UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceRequest) - -UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceResponse) - -RenameCustomSearchAttributeRequest = _reflection.GeneratedProtocolMessageType( - "RenameCustomSearchAttributeRequest", - (_message.Message,), - { - "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest) - }, -) -_sym_db.RegisterMessage(RenameCustomSearchAttributeRequest) - -RenameCustomSearchAttributeResponse = _reflection.GeneratedProtocolMessageType( - "RenameCustomSearchAttributeResponse", - (_message.Message,), - { - "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse) - }, -) -_sym_db.RegisterMessage(RenameCustomSearchAttributeResponse) - -DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceRequest) - -DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceResponse) - -FailoverNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( - "FailoverNamespaceRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _FAILOVERNAMESPACEREGIONREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest) - }, -) -_sym_db.RegisterMessage(FailoverNamespaceRegionRequest) - -FailoverNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( - "FailoverNamespaceRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _FAILOVERNAMESPACEREGIONRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse) - }, -) -_sym_db.RegisterMessage(FailoverNamespaceRegionResponse) - -AddNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( - "AddNamespaceRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _ADDNAMESPACEREGIONREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest) - }, -) -_sym_db.RegisterMessage(AddNamespaceRegionRequest) - -AddNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( - "AddNamespaceRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDNAMESPACEREGIONRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse) - }, -) -_sym_db.RegisterMessage(AddNamespaceRegionResponse) - -DeleteNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREGIONREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceRegionRequest) - -DeleteNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREGIONRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceRegionResponse) - -GetRegionsRequest = _reflection.GeneratedProtocolMessageType( - "GetRegionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsRequest) - }, -) -_sym_db.RegisterMessage(GetRegionsRequest) - -GetRegionsResponse = _reflection.GeneratedProtocolMessageType( - "GetRegionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsResponse) - }, -) -_sym_db.RegisterMessage(GetRegionsResponse) - -GetRegionRequest = _reflection.GeneratedProtocolMessageType( - "GetRegionRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionRequest) - }, -) -_sym_db.RegisterMessage(GetRegionRequest) - -GetRegionResponse = _reflection.GeneratedProtocolMessageType( - "GetRegionResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETREGIONRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionResponse) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.cloudservice.v1.request_response_pb2", _globals ) -_sym_db.RegisterMessage(GetRegionResponse) - -GetApiKeysRequest = _reflection.GeneratedProtocolMessageType( - "GetApiKeysRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysRequest) - }, -) -_sym_db.RegisterMessage(GetApiKeysRequest) - -GetApiKeysResponse = _reflection.GeneratedProtocolMessageType( - "GetApiKeysResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysResponse) - }, -) -_sym_db.RegisterMessage(GetApiKeysResponse) - -GetApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "GetApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyRequest) - }, -) -_sym_db.RegisterMessage(GetApiKeyRequest) - -GetApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "GetApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETAPIKEYRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyResponse) - }, -) -_sym_db.RegisterMessage(GetApiKeyResponse) - -CreateApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "CreateApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEAPIKEYREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest) - }, -) -_sym_db.RegisterMessage(CreateApiKeyRequest) - -CreateApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "CreateApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEAPIKEYRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse) - }, -) -_sym_db.RegisterMessage(CreateApiKeyResponse) - -UpdateApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "UpdateApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEAPIKEYREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest) - }, -) -_sym_db.RegisterMessage(UpdateApiKeyRequest) - -UpdateApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "UpdateApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEAPIKEYRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse) - }, -) -_sym_db.RegisterMessage(UpdateApiKeyResponse) - -DeleteApiKeyRequest = _reflection.GeneratedProtocolMessageType( - "DeleteApiKeyRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEAPIKEYREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest) - }, -) -_sym_db.RegisterMessage(DeleteApiKeyRequest) - -DeleteApiKeyResponse = _reflection.GeneratedProtocolMessageType( - "DeleteApiKeyResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEAPIKEYRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse) - }, -) -_sym_db.RegisterMessage(DeleteApiKeyResponse) - -GetNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest) - }, -) -_sym_db.RegisterMessage(GetNexusEndpointsRequest) - -GetNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse) - }, -) -_sym_db.RegisterMessage(GetNexusEndpointsResponse) - -GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(GetNexusEndpointRequest) - -GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(GetNexusEndpointResponse) - -CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(CreateNexusEndpointRequest) - -CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(CreateNexusEndpointResponse) - -UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(UpdateNexusEndpointRequest) - -UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(UpdateNexusEndpointResponse) - -DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(DeleteNexusEndpointRequest) - -DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(DeleteNexusEndpointResponse) - -GetUserGroupsRequest = _reflection.GeneratedProtocolMessageType( - "GetUserGroupsRequest", - (_message.Message,), - { - "GoogleGroupFilter": _reflection.GeneratedProtocolMessageType( - "GoogleGroupFilter", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter) - }, - ), - "SCIMGroupFilter": _reflection.GeneratedProtocolMessageType( - "SCIMGroupFilter", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPSREQUEST_SCIMGROUPFILTER, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter) - }, - ), - "DESCRIPTOR": _GETUSERGROUPSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest) - }, -) -_sym_db.RegisterMessage(GetUserGroupsRequest) -_sym_db.RegisterMessage(GetUserGroupsRequest.GoogleGroupFilter) -_sym_db.RegisterMessage(GetUserGroupsRequest.SCIMGroupFilter) - -GetUserGroupsResponse = _reflection.GeneratedProtocolMessageType( - "GetUserGroupsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse) - }, -) -_sym_db.RegisterMessage(GetUserGroupsResponse) - -GetUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "GetUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupRequest) - }, -) -_sym_db.RegisterMessage(GetUserGroupRequest) - -GetUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "GetUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupResponse) - }, -) -_sym_db.RegisterMessage(GetUserGroupResponse) - -CreateUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "CreateUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERGROUPREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest) - }, -) -_sym_db.RegisterMessage(CreateUserGroupRequest) - -CreateUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "CreateUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEUSERGROUPRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse) - }, -) -_sym_db.RegisterMessage(CreateUserGroupResponse) - -UpdateUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "UpdateUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERGROUPREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest) - }, -) -_sym_db.RegisterMessage(UpdateUserGroupRequest) - -UpdateUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "UpdateUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEUSERGROUPRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse) - }, -) -_sym_db.RegisterMessage(UpdateUserGroupResponse) - -DeleteUserGroupRequest = _reflection.GeneratedProtocolMessageType( - "DeleteUserGroupRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERGROUPREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest) - }, -) -_sym_db.RegisterMessage(DeleteUserGroupRequest) - -DeleteUserGroupResponse = _reflection.GeneratedProtocolMessageType( - "DeleteUserGroupResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEUSERGROUPRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse) - }, -) -_sym_db.RegisterMessage(DeleteUserGroupResponse) - -SetUserGroupNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( - "SetUserGroupNamespaceAccessRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest) - }, -) -_sym_db.RegisterMessage(SetUserGroupNamespaceAccessRequest) - -SetUserGroupNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( - "SetUserGroupNamespaceAccessResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse) - }, -) -_sym_db.RegisterMessage(SetUserGroupNamespaceAccessResponse) - -AddUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( - "AddUserGroupMemberRequest", - (_message.Message,), - { - "DESCRIPTOR": _ADDUSERGROUPMEMBERREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest) - }, -) -_sym_db.RegisterMessage(AddUserGroupMemberRequest) - -AddUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( - "AddUserGroupMemberResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDUSERGROUPMEMBERRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse) - }, -) -_sym_db.RegisterMessage(AddUserGroupMemberResponse) - -RemoveUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( - "RemoveUserGroupMemberRequest", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEUSERGROUPMEMBERREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest) - }, -) -_sym_db.RegisterMessage(RemoveUserGroupMemberRequest) - -RemoveUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( - "RemoveUserGroupMemberResponse", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEUSERGROUPMEMBERRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse) - }, -) -_sym_db.RegisterMessage(RemoveUserGroupMemberResponse) - -GetUserGroupMembersRequest = _reflection.GeneratedProtocolMessageType( - "GetUserGroupMembersRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPMEMBERSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest) - }, -) -_sym_db.RegisterMessage(GetUserGroupMembersRequest) - -GetUserGroupMembersResponse = _reflection.GeneratedProtocolMessageType( - "GetUserGroupMembersResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPMEMBERSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse) - }, -) -_sym_db.RegisterMessage(GetUserGroupMembersResponse) - -CreateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "CreateServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATESERVICEACCOUNTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest) - }, -) -_sym_db.RegisterMessage(CreateServiceAccountRequest) - -CreateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "CreateServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATESERVICEACCOUNTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse) - }, -) -_sym_db.RegisterMessage(CreateServiceAccountResponse) - -GetServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest) - }, -) -_sym_db.RegisterMessage(GetServiceAccountRequest) - -GetServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse) - }, -) -_sym_db.RegisterMessage(GetServiceAccountResponse) - -GetServiceAccountsRequest = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest) - }, -) -_sym_db.RegisterMessage(GetServiceAccountsRequest) - -GetServiceAccountsResponse = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse) - }, -) -_sym_db.RegisterMessage(GetServiceAccountsResponse) - -UpdateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "UpdateServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESERVICEACCOUNTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest) - }, -) -_sym_db.RegisterMessage(UpdateServiceAccountRequest) - -UpdateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "UpdateServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESERVICEACCOUNTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) - }, -) -_sym_db.RegisterMessage(UpdateServiceAccountResponse) - -SetServiceAccountNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( - "SetServiceAccountNamespaceAccessRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETSERVICEACCOUNTNAMESPACEACCESSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest) - }, -) -_sym_db.RegisterMessage(SetServiceAccountNamespaceAccessRequest) - -SetServiceAccountNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( - "SetServiceAccountNamespaceAccessResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse) - }, -) -_sym_db.RegisterMessage(SetServiceAccountNamespaceAccessResponse) - -DeleteServiceAccountRequest = _reflection.GeneratedProtocolMessageType( - "DeleteServiceAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETESERVICEACCOUNTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest) - }, -) -_sym_db.RegisterMessage(DeleteServiceAccountRequest) - -DeleteServiceAccountResponse = _reflection.GeneratedProtocolMessageType( - "DeleteServiceAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETESERVICEACCOUNTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse) - }, -) -_sym_db.RegisterMessage(DeleteServiceAccountResponse) - -GetUsageRequest = _reflection.GeneratedProtocolMessageType( - "GetUsageRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSAGEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageRequest) - }, -) -_sym_db.RegisterMessage(GetUsageRequest) - -GetUsageResponse = _reflection.GeneratedProtocolMessageType( - "GetUsageResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSAGERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageResponse) - }, -) -_sym_db.RegisterMessage(GetUsageResponse) - -GetAccountRequest = _reflection.GeneratedProtocolMessageType( - "GetAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountRequest) - }, -) -_sym_db.RegisterMessage(GetAccountRequest) - -GetAccountResponse = _reflection.GeneratedProtocolMessageType( - "GetAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountResponse) - }, -) -_sym_db.RegisterMessage(GetAccountResponse) - -UpdateAccountRequest = _reflection.GeneratedProtocolMessageType( - "UpdateAccountRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACCOUNTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountRequest) - }, -) -_sym_db.RegisterMessage(UpdateAccountRequest) - -UpdateAccountResponse = _reflection.GeneratedProtocolMessageType( - "UpdateAccountResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACCOUNTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountResponse) - }, -) -_sym_db.RegisterMessage(UpdateAccountResponse) - -CreateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest) - }, -) -_sym_db.RegisterMessage(CreateNamespaceExportSinkRequest) - -CreateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "CreateNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse) - }, -) -_sym_db.RegisterMessage(CreateNamespaceExportSinkResponse) - -GetNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest) - }, -) -_sym_db.RegisterMessage(GetNamespaceExportSinkRequest) - -GetNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse) - }, -) -_sym_db.RegisterMessage(GetNamespaceExportSinkResponse) - -GetNamespaceExportSinksRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinksRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest) - }, -) -_sym_db.RegisterMessage(GetNamespaceExportSinksRequest) - -GetNamespaceExportSinksResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespaceExportSinksResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse) - }, -) -_sym_db.RegisterMessage(GetNamespaceExportSinksResponse) - -UpdateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceExportSinkRequest) - -UpdateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceExportSinkResponse) - -DeleteNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceExportSinkRequest) - -DeleteNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceExportSinkResponse) - -ValidateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( - "ValidateNamespaceExportSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest) - }, -) -_sym_db.RegisterMessage(ValidateNamespaceExportSinkRequest) - -ValidateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( - "ValidateNamespaceExportSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse) - }, -) -_sym_db.RegisterMessage(ValidateNamespaceExportSinkResponse) - -UpdateNamespaceTagsRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceTagsRequest", - (_message.Message,), - { - "TagsToUpsertEntry": _reflection.GeneratedProtocolMessageType( - "TagsToUpsertEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry) - }, - ), - "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceTagsRequest) -_sym_db.RegisterMessage(UpdateNamespaceTagsRequest.TagsToUpsertEntry) - -UpdateNamespaceTagsResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceTagsResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACETAGSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceTagsResponse) - -CreateConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( - "CreateConnectivityRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATECONNECTIVITYRULEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest) - }, -) -_sym_db.RegisterMessage(CreateConnectivityRuleRequest) - -CreateConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( - "CreateConnectivityRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATECONNECTIVITYRULERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse) - }, -) -_sym_db.RegisterMessage(CreateConnectivityRuleResponse) - -GetConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest) - }, -) -_sym_db.RegisterMessage(GetConnectivityRuleRequest) - -GetConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse) - }, -) -_sym_db.RegisterMessage(GetConnectivityRuleResponse) - -GetConnectivityRulesRequest = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULESREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest) - }, -) -_sym_db.RegisterMessage(GetConnectivityRulesRequest) - -GetConnectivityRulesResponse = _reflection.GeneratedProtocolMessageType( - "GetConnectivityRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCONNECTIVITYRULESRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse) - }, -) -_sym_db.RegisterMessage(GetConnectivityRulesResponse) - -DeleteConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( - "DeleteConnectivityRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETECONNECTIVITYRULEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest) - }, -) -_sym_db.RegisterMessage(DeleteConnectivityRuleRequest) - -DeleteConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( - "DeleteConnectivityRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETECONNECTIVITYRULERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) - }, -) -_sym_db.RegisterMessage(DeleteConnectivityRuleResponse) - -GetAuditLogsRequest = _reflection.GeneratedProtocolMessageType( - "GetAuditLogsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETAUDITLOGSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest) - }, -) -_sym_db.RegisterMessage(GetAuditLogsRequest) - -GetAuditLogsResponse = _reflection.GeneratedProtocolMessageType( - "GetAuditLogsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETAUDITLOGSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse) - }, -) -_sym_db.RegisterMessage(GetAuditLogsResponse) - -ValidateAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( - "ValidateAccountAuditLogSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATEACCOUNTAUDITLOGSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest) - }, -) -_sym_db.RegisterMessage(ValidateAccountAuditLogSinkRequest) - -ValidateAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( - "ValidateAccountAuditLogSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATEACCOUNTAUDITLOGSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse) - }, -) -_sym_db.RegisterMessage(ValidateAccountAuditLogSinkResponse) - -CreateAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( - "CreateAccountAuditLogSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEACCOUNTAUDITLOGSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest) - }, -) -_sym_db.RegisterMessage(CreateAccountAuditLogSinkRequest) - -CreateAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( - "CreateAccountAuditLogSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEACCOUNTAUDITLOGSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse) - }, -) -_sym_db.RegisterMessage(CreateAccountAuditLogSinkResponse) - -GetAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( - "GetAccountAuditLogSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest) - }, -) -_sym_db.RegisterMessage(GetAccountAuditLogSinkRequest) - -GetAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( - "GetAccountAuditLogSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse) - }, -) -_sym_db.RegisterMessage(GetAccountAuditLogSinkResponse) - -GetAccountAuditLogSinksRequest = _reflection.GeneratedProtocolMessageType( - "GetAccountAuditLogSinksRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest) - }, -) -_sym_db.RegisterMessage(GetAccountAuditLogSinksRequest) - -GetAccountAuditLogSinksResponse = _reflection.GeneratedProtocolMessageType( - "GetAccountAuditLogSinksResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse) - }, -) -_sym_db.RegisterMessage(GetAccountAuditLogSinksResponse) - -UpdateAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( - "UpdateAccountAuditLogSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACCOUNTAUDITLOGSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest) - }, -) -_sym_db.RegisterMessage(UpdateAccountAuditLogSinkRequest) - -UpdateAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( - "UpdateAccountAuditLogSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACCOUNTAUDITLOGSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse) - }, -) -_sym_db.RegisterMessage(UpdateAccountAuditLogSinkResponse) - -DeleteAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( - "DeleteAccountAuditLogSinkRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEACCOUNTAUDITLOGSINKREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest) - }, -) -_sym_db.RegisterMessage(DeleteAccountAuditLogSinkRequest) - -DeleteAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( - "DeleteAccountAuditLogSinkResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEACCOUNTAUDITLOGSINKRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse) - }, -) -_sym_db.RegisterMessage(DeleteAccountAuditLogSinkResponse) - -GetNamespaceCapacityInfoRequest = _reflection.GeneratedProtocolMessageType( - "GetNamespaceCapacityInfoRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACECAPACITYINFOREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoRequest) - }, -) -_sym_db.RegisterMessage(GetNamespaceCapacityInfoRequest) - -GetNamespaceCapacityInfoResponse = _reflection.GeneratedProtocolMessageType( - "GetNamespaceCapacityInfoResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNAMESPACECAPACITYINFORESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse) - }, -) -_sym_db.RegisterMessage(GetNamespaceCapacityInfoResponse) - -CreateBillingReportRequest = _reflection.GeneratedProtocolMessageType( - "CreateBillingReportRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEBILLINGREPORTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest) - }, -) -_sym_db.RegisterMessage(CreateBillingReportRequest) - -CreateBillingReportResponse = _reflection.GeneratedProtocolMessageType( - "CreateBillingReportResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEBILLINGREPORTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse) - }, -) -_sym_db.RegisterMessage(CreateBillingReportResponse) - -GetBillingReportRequest = _reflection.GeneratedProtocolMessageType( - "GetBillingReportRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETBILLINGREPORTREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetBillingReportRequest) - }, -) -_sym_db.RegisterMessage(GetBillingReportRequest) - -GetBillingReportResponse = _reflection.GeneratedProtocolMessageType( - "GetBillingReportResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETBILLINGREPORTRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetBillingReportResponse) - }, -) -_sym_db.RegisterMessage(GetBillingReportResponse) - -GetCustomRolesRequest = _reflection.GeneratedProtocolMessageType( - "GetCustomRolesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCUSTOMROLESREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest) - }, -) -_sym_db.RegisterMessage(GetCustomRolesRequest) - -GetCustomRolesResponse = _reflection.GeneratedProtocolMessageType( - "GetCustomRolesResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCUSTOMROLESRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse) - }, -) -_sym_db.RegisterMessage(GetCustomRolesResponse) - -GetCustomRoleRequest = _reflection.GeneratedProtocolMessageType( - "GetCustomRoleRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCUSTOMROLEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest) - }, -) -_sym_db.RegisterMessage(GetCustomRoleRequest) - -GetCustomRoleResponse = _reflection.GeneratedProtocolMessageType( - "GetCustomRoleResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCUSTOMROLERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse) - }, -) -_sym_db.RegisterMessage(GetCustomRoleResponse) - -CreateCustomRoleRequest = _reflection.GeneratedProtocolMessageType( - "CreateCustomRoleRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATECUSTOMROLEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest) - }, -) -_sym_db.RegisterMessage(CreateCustomRoleRequest) - -CreateCustomRoleResponse = _reflection.GeneratedProtocolMessageType( - "CreateCustomRoleResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATECUSTOMROLERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse) - }, -) -_sym_db.RegisterMessage(CreateCustomRoleResponse) - -UpdateCustomRoleRequest = _reflection.GeneratedProtocolMessageType( - "UpdateCustomRoleRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATECUSTOMROLEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest) - }, -) -_sym_db.RegisterMessage(UpdateCustomRoleRequest) - -UpdateCustomRoleResponse = _reflection.GeneratedProtocolMessageType( - "UpdateCustomRoleResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATECUSTOMROLERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse) - }, -) -_sym_db.RegisterMessage(UpdateCustomRoleResponse) - -DeleteCustomRoleRequest = _reflection.GeneratedProtocolMessageType( - "DeleteCustomRoleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETECUSTOMROLEREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest) - }, -) -_sym_db.RegisterMessage(DeleteCustomRoleRequest) - -DeleteCustomRoleResponse = _reflection.GeneratedProtocolMessageType( - "DeleteCustomRoleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETECUSTOMROLERESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse) - }, -) -_sym_db.RegisterMessage(DeleteCustomRoleResponse) - -GetUserNamespaceAssignmentsRequest = _reflection.GeneratedProtocolMessageType( - "GetUserNamespaceAssignmentsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERNAMESPACEASSIGNMENTSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsRequest) - }, -) -_sym_db.RegisterMessage(GetUserNamespaceAssignmentsRequest) - -GetUserNamespaceAssignmentsResponse = _reflection.GeneratedProtocolMessageType( - "GetUserNamespaceAssignmentsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERNAMESPACEASSIGNMENTSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsResponse) - }, -) -_sym_db.RegisterMessage(GetUserNamespaceAssignmentsResponse) - -GetServiceAccountNamespaceAssignmentsRequest = _reflection.GeneratedProtocolMessageType( - "GetServiceAccountNamespaceAssignmentsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsRequest) - }, -) -_sym_db.RegisterMessage(GetServiceAccountNamespaceAssignmentsRequest) - -GetServiceAccountNamespaceAssignmentsResponse = ( - _reflection.GeneratedProtocolMessageType( - "GetServiceAccountNamespaceAssignmentsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsResponse) - }, - ) -) -_sym_db.RegisterMessage(GetServiceAccountNamespaceAssignmentsResponse) - -GetUserGroupNamespaceAssignmentsRequest = _reflection.GeneratedProtocolMessageType( - "GetUserGroupNamespaceAssignmentsRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsRequest) - }, -) -_sym_db.RegisterMessage(GetUserGroupNamespaceAssignmentsRequest) - -GetUserGroupNamespaceAssignmentsResponse = _reflection.GeneratedProtocolMessageType( - "GetUserGroupNamespaceAssignmentsResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE, - "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsResponse) - }, -) -_sym_db.RegisterMessage(GetUserGroupNamespaceAssignmentsResponse) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1" - _CREATENAMESPACEREQUEST_TAGSENTRY._options = None - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_options = b"8\001" - _GETAPIKEYSREQUEST.fields_by_name["owner_type_deprecated"]._options = None - _GETAPIKEYSREQUEST.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1" + _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._loaded_options = None + _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._serialized_options = b"8\001" + _globals["_GETAPIKEYSREQUEST"].fields_by_name[ + "owner_type_deprecated" + ]._loaded_options = None + _globals["_GETAPIKEYSREQUEST"].fields_by_name[ "owner_type_deprecated" ]._serialized_options = b"\030\001" - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._options = None - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_options = b"8\001" - _GETCURRENTIDENTITYREQUEST._serialized_start = 590 - _GETCURRENTIDENTITYREQUEST._serialized_end = 617 - _GETCURRENTIDENTITYRESPONSE._serialized_start = 620 - _GETCURRENTIDENTITYRESPONSE._serialized_end = 857 - _GETUSERSREQUEST._serialized_start = 859 - _GETUSERSREQUEST._serialized_end = 949 - _GETUSERSRESPONSE._serialized_start = 951 - _GETUSERSRESPONSE._serialized_end = 1047 - _GETUSERREQUEST._serialized_start = 1049 - _GETUSERREQUEST._serialized_end = 1082 - _GETUSERRESPONSE._serialized_start = 1084 - _GETUSERRESPONSE._serialized_end = 1153 - _CREATEUSERREQUEST._serialized_start = 1155 - _CREATEUSERREQUEST._serialized_end = 1258 - _CREATEUSERRESPONSE._serialized_start = 1260 - _CREATEUSERRESPONSE._serialized_end = 1371 - _UPDATEUSERREQUEST._serialized_start = 1374 - _UPDATEUSERREQUEST._serialized_end = 1520 - _UPDATEUSERRESPONSE._serialized_start = 1522 - _UPDATEUSERRESPONSE._serialized_end = 1616 - _DELETEUSERREQUEST._serialized_start = 1618 - _DELETEUSERREQUEST._serialized_end = 1708 - _DELETEUSERRESPONSE._serialized_start = 1710 - _DELETEUSERRESPONSE._serialized_end = 1804 - _SETUSERNAMESPACEACCESSREQUEST._serialized_start = 1807 - _SETUSERNAMESPACEACCESSREQUEST._serialized_end = 1993 - _SETUSERNAMESPACEACCESSRESPONSE._serialized_start = 1995 - _SETUSERNAMESPACEACCESSRESPONSE._serialized_end = 2101 - _GETASYNCOPERATIONREQUEST._serialized_start = 2103 - _GETASYNCOPERATIONREQUEST._serialized_end = 2157 - _GETASYNCOPERATIONRESPONSE._serialized_start = 2159 - _GETASYNCOPERATIONRESPONSE._serialized_end = 2260 - _CREATENAMESPACEREQUEST._serialized_start = 2263 - _CREATENAMESPACEREQUEST._serialized_end = 2506 - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_start = 2463 - _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_end = 2506 - _CREATENAMESPACERESPONSE._serialized_start = 2508 - _CREATENAMESPACERESPONSE._serialized_end = 2626 - _GETNAMESPACESREQUEST._serialized_start = 2628 - _GETNAMESPACESREQUEST._serialized_end = 2703 - _GETNAMESPACESRESPONSE._serialized_start = 2705 - _GETNAMESPACESRESPONSE._serialized_end = 2817 - _GETNAMESPACEREQUEST._serialized_start = 2819 - _GETNAMESPACEREQUEST._serialized_end = 2859 - _GETNAMESPACERESPONSE._serialized_start = 2861 - _GETNAMESPACERESPONSE._serialized_end = 2946 - _UPDATENAMESPACEREQUEST._serialized_start = 2949 - _UPDATENAMESPACEREQUEST._serialized_end = 3108 - _UPDATENAMESPACERESPONSE._serialized_start = 3110 - _UPDATENAMESPACERESPONSE._serialized_end = 3209 - _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_start = 3212 - _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_end = 3410 - _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_start = 3412 - _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_end = 3523 - _DELETENAMESPACEREQUEST._serialized_start = 3525 - _DELETENAMESPACEREQUEST._serialized_end = 3622 - _DELETENAMESPACERESPONSE._serialized_start = 3624 - _DELETENAMESPACERESPONSE._serialized_end = 3723 - _FAILOVERNAMESPACEREGIONREQUEST._serialized_start = 3725 - _FAILOVERNAMESPACEREGIONREQUEST._serialized_end = 3820 - _FAILOVERNAMESPACEREGIONRESPONSE._serialized_start = 3822 - _FAILOVERNAMESPACEREGIONRESPONSE._serialized_end = 3929 - _ADDNAMESPACEREGIONREQUEST._serialized_start = 3931 - _ADDNAMESPACEREGIONREQUEST._serialized_end = 4047 - _ADDNAMESPACEREGIONRESPONSE._serialized_start = 4049 - _ADDNAMESPACEREGIONRESPONSE._serialized_end = 4151 - _DELETENAMESPACEREGIONREQUEST._serialized_start = 4153 - _DELETENAMESPACEREGIONREQUEST._serialized_end = 4272 - _DELETENAMESPACEREGIONRESPONSE._serialized_start = 4274 - _DELETENAMESPACEREGIONRESPONSE._serialized_end = 4379 - _GETREGIONSREQUEST._serialized_start = 4381 - _GETREGIONSREQUEST._serialized_end = 4400 - _GETREGIONSRESPONSE._serialized_start = 4402 - _GETREGIONSRESPONSE._serialized_end = 4477 - _GETREGIONREQUEST._serialized_start = 4479 - _GETREGIONREQUEST._serialized_end = 4513 - _GETREGIONRESPONSE._serialized_start = 4515 - _GETREGIONRESPONSE._serialized_end = 4588 - _GETAPIKEYSREQUEST._serialized_start = 4591 - _GETAPIKEYSREQUEST._serialized_end = 4765 - _GETAPIKEYSRESPONSE._serialized_start = 4767 - _GETAPIKEYSRESPONSE._serialized_end = 4870 - _GETAPIKEYREQUEST._serialized_start = 4872 - _GETAPIKEYREQUEST._serialized_end = 4906 - _GETAPIKEYRESPONSE._serialized_start = 4908 - _GETAPIKEYRESPONSE._serialized_end = 4984 - _CREATEAPIKEYREQUEST._serialized_start = 4986 - _CREATEAPIKEYREQUEST._serialized_end = 5093 - _CREATEAPIKEYRESPONSE._serialized_start = 5095 - _CREATEAPIKEYRESPONSE._serialized_end = 5222 - _UPDATEAPIKEYREQUEST._serialized_start = 5225 - _UPDATEAPIKEYREQUEST._serialized_end = 5374 - _UPDATEAPIKEYRESPONSE._serialized_start = 5376 - _UPDATEAPIKEYRESPONSE._serialized_end = 5472 - _DELETEAPIKEYREQUEST._serialized_start = 5474 - _DELETEAPIKEYREQUEST._serialized_end = 5565 - _DELETEAPIKEYRESPONSE._serialized_start = 5567 - _DELETEAPIKEYRESPONSE._serialized_end = 5663 - _GETNEXUSENDPOINTSREQUEST._serialized_start = 5666 - _GETNEXUSENDPOINTSREQUEST._serialized_end = 5801 - _GETNEXUSENDPOINTSRESPONSE._serialized_start = 5803 - _GETNEXUSENDPOINTSRESPONSE._serialized_end = 5913 - _GETNEXUSENDPOINTREQUEST._serialized_start = 5915 - _GETNEXUSENDPOINTREQUEST._serialized_end = 5961 - _GETNEXUSENDPOINTRESPONSE._serialized_start = 5963 - _GETNEXUSENDPOINTRESPONSE._serialized_end = 6046 - _CREATENEXUSENDPOINTREQUEST._serialized_start = 6048 - _CREATENEXUSENDPOINTREQUEST._serialized_end = 6161 - _CREATENEXUSENDPOINTRESPONSE._serialized_start = 6163 - _CREATENEXUSENDPOINTRESPONSE._serialized_end = 6287 - _UPDATENEXUSENDPOINTREQUEST._serialized_start = 6290 - _UPDATENEXUSENDPOINTREQUEST._serialized_end = 6450 - _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 6452 - _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 6555 - _DELETENEXUSENDPOINTREQUEST._serialized_start = 6557 - _DELETENEXUSENDPOINTREQUEST._serialized_end = 6660 - _DELETENEXUSENDPOINTRESPONSE._serialized_start = 6662 - _DELETENEXUSENDPOINTRESPONSE._serialized_end = 6765 - _GETUSERGROUPSREQUEST._serialized_start = 6768 - _GETUSERGROUPSREQUEST._serialized_end = 7141 - _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_start = 7064 - _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_end = 7106 - _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_start = 7108 - _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_end = 7141 - _GETUSERGROUPSRESPONSE._serialized_start = 7143 - _GETUSERGROUPSRESPONSE._serialized_end = 7250 - _GETUSERGROUPREQUEST._serialized_start = 7252 - _GETUSERGROUPREQUEST._serialized_end = 7291 - _GETUSERGROUPRESPONSE._serialized_start = 7293 - _GETUSERGROUPRESPONSE._serialized_end = 7373 - _CREATEUSERGROUPREQUEST._serialized_start = 7375 - _CREATEUSERGROUPREQUEST._serialized_end = 7488 - _CREATEUSERGROUPRESPONSE._serialized_start = 7490 - _CREATEUSERGROUPRESPONSE._serialized_end = 7607 - _UPDATEUSERGROUPREQUEST._serialized_start = 7610 - _UPDATEUSERGROUPREQUEST._serialized_end = 7767 - _UPDATEUSERGROUPRESPONSE._serialized_start = 7769 - _UPDATEUSERGROUPRESPONSE._serialized_end = 7868 - _DELETEUSERGROUPREQUEST._serialized_start = 7870 - _DELETEUSERGROUPREQUEST._serialized_end = 7966 - _DELETEUSERGROUPRESPONSE._serialized_start = 7968 - _DELETEUSERGROUPRESPONSE._serialized_end = 8067 - _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_start = 8070 - _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_end = 8262 - _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_start = 8264 - _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_end = 8375 - _ADDUSERGROUPMEMBERREQUEST._serialized_start = 8378 - _ADDUSERGROUPMEMBERREQUEST._serialized_end = 8521 - _ADDUSERGROUPMEMBERRESPONSE._serialized_start = 8523 - _ADDUSERGROUPMEMBERRESPONSE._serialized_end = 8625 - _REMOVEUSERGROUPMEMBERREQUEST._serialized_start = 8628 - _REMOVEUSERGROUPMEMBERREQUEST._serialized_end = 8774 - _REMOVEUSERGROUPMEMBERRESPONSE._serialized_start = 8776 - _REMOVEUSERGROUPMEMBERRESPONSE._serialized_end = 8881 - _GETUSERGROUPMEMBERSREQUEST._serialized_start = 8883 - _GETUSERGROUPMEMBERSREQUEST._serialized_end = 8968 - _GETUSERGROUPMEMBERSRESPONSE._serialized_start = 8970 - _GETUSERGROUPMEMBERSRESPONSE._serialized_end = 9090 - _CREATESERVICEACCOUNTREQUEST._serialized_start = 9092 - _CREATESERVICEACCOUNTREQUEST._serialized_end = 9215 - _CREATESERVICEACCOUNTRESPONSE._serialized_start = 9218 - _CREATESERVICEACCOUNTRESPONSE._serialized_end = 9350 - _GETSERVICEACCOUNTREQUEST._serialized_start = 9352 - _GETSERVICEACCOUNTREQUEST._serialized_end = 9406 - _GETSERVICEACCOUNTRESPONSE._serialized_start = 9408 - _GETSERVICEACCOUNTRESPONSE._serialized_end = 9508 - _GETSERVICEACCOUNTSREQUEST._serialized_start = 9510 - _GETSERVICEACCOUNTSREQUEST._serialized_end = 9576 - _GETSERVICEACCOUNTSRESPONSE._serialized_start = 9578 - _GETSERVICEACCOUNTSRESPONSE._serialized_end = 9704 - _UPDATESERVICEACCOUNTREQUEST._serialized_start = 9707 - _UPDATESERVICEACCOUNTREQUEST._serialized_end = 9884 - _UPDATESERVICEACCOUNTRESPONSE._serialized_start = 9886 - _UPDATESERVICEACCOUNTRESPONSE._serialized_end = 9990 - _SETSERVICEACCOUNTNAMESPACEACCESSREQUEST._serialized_start = 9993 - _SETSERVICEACCOUNTNAMESPACEACCESSREQUEST._serialized_end = 10200 - _SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE._serialized_start = 10202 - _SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE._serialized_end = 10318 - _DELETESERVICEACCOUNTREQUEST._serialized_start = 10320 - _DELETESERVICEACCOUNTREQUEST._serialized_end = 10431 - _DELETESERVICEACCOUNTRESPONSE._serialized_start = 10433 - _DELETESERVICEACCOUNTRESPONSE._serialized_end = 10537 - _GETUSAGEREQUEST._serialized_start = 10540 - _GETUSAGEREQUEST._serialized_end = 10710 - _GETUSAGERESPONSE._serialized_start = 10712 - _GETUSAGERESPONSE._serialized_end = 10812 - _GETACCOUNTREQUEST._serialized_start = 10814 - _GETACCOUNTREQUEST._serialized_end = 10833 - _GETACCOUNTRESPONSE._serialized_start = 10835 - _GETACCOUNTRESPONSE._serialized_end = 10912 - _UPDATEACCOUNTREQUEST._serialized_start = 10915 - _UPDATEACCOUNTREQUEST._serialized_end = 11049 - _UPDATEACCOUNTRESPONSE._serialized_start = 11051 - _UPDATEACCOUNTRESPONSE._serialized_end = 11148 - _CREATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11151 - _CREATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11295 - _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11297 - _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11406 - _GETNAMESPACEEXPORTSINKREQUEST._serialized_start = 11408 - _GETNAMESPACEEXPORTSINKREQUEST._serialized_end = 11472 - _GETNAMESPACEEXPORTSINKRESPONSE._serialized_start = 11474 - _GETNAMESPACEEXPORTSINKRESPONSE._serialized_end = 11565 - _GETNAMESPACEEXPORTSINKSREQUEST._serialized_start = 11567 - _GETNAMESPACEEXPORTSINKSREQUEST._serialized_end = 11657 - _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_start = 11659 - _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_end = 11777 - _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11780 - _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11950 - _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11952 - _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 12061 - _DELETENAMESPACEEXPORTSINKREQUEST._serialized_start = 12063 - _DELETENAMESPACEEXPORTSINKREQUEST._serialized_end = 12184 - _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_start = 12186 - _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_end = 12295 - _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 12297 - _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 12415 - _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 12417 - _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 12454 - _UPDATENAMESPACETAGSREQUEST._serialized_start = 12457 - _UPDATENAMESPACETAGSREQUEST._serialized_end = 12715 - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_start = 12664 - _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_end = 12715 - _UPDATENAMESPACETAGSRESPONSE._serialized_start = 12717 - _UPDATENAMESPACETAGSRESPONSE._serialized_end = 12820 - _CREATECONNECTIVITYRULEREQUEST._serialized_start = 12823 - _CREATECONNECTIVITYRULEREQUEST._serialized_end = 12958 - _CREATECONNECTIVITYRULERESPONSE._serialized_start = 12961 - _CREATECONNECTIVITYRULERESPONSE._serialized_end = 13097 - _GETCONNECTIVITYRULEREQUEST._serialized_start = 13099 - _GETCONNECTIVITYRULEREQUEST._serialized_end = 13157 - _GETCONNECTIVITYRULERESPONSE._serialized_start = 13159 - _GETCONNECTIVITYRULERESPONSE._serialized_end = 13273 - _GETCONNECTIVITYRULESREQUEST._serialized_start = 13275 - _GETCONNECTIVITYRULESREQUEST._serialized_end = 13362 - _GETCONNECTIVITYRULESRESPONSE._serialized_start = 13365 - _GETCONNECTIVITYRULESRESPONSE._serialized_end = 13506 - _DELETECONNECTIVITYRULEREQUEST._serialized_start = 13508 - _DELETECONNECTIVITYRULEREQUEST._serialized_end = 13623 - _DELETECONNECTIVITYRULERESPONSE._serialized_start = 13625 - _DELETECONNECTIVITYRULERESPONSE._serialized_end = 13731 - _GETAUDITLOGSREQUEST._serialized_start = 13734 - _GETAUDITLOGSREQUEST._serialized_end = 13908 - _GETAUDITLOGSRESPONSE._serialized_start = 13910 - _GETAUDITLOGSRESPONSE._serialized_end = 14014 - _VALIDATEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14016 - _VALIDATEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14115 - _VALIDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14117 - _VALIDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14154 - _CREATEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14156 - _CREATEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14281 - _CREATEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14283 - _CREATEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14392 - _GETACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14394 - _GETACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14439 - _GETACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14441 - _GETACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14532 - _GETACCOUNTAUDITLOGSINKSREQUEST._serialized_start = 14534 - _GETACCOUNTAUDITLOGSINKSREQUEST._serialized_end = 14605 - _GETACCOUNTAUDITLOGSINKSRESPONSE._serialized_start = 14607 - _GETACCOUNTAUDITLOGSINKSRESPONSE._serialized_end = 14725 - _UPDATEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14728 - _UPDATEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14879 - _UPDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14881 - _UPDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14990 - _DELETEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14992 - _DELETEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 15094 - _DELETEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 15096 - _DELETEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 15205 - _GETNAMESPACECAPACITYINFOREQUEST._serialized_start = 15207 - _GETNAMESPACECAPACITYINFOREQUEST._serialized_end = 15259 - _GETNAMESPACECAPACITYINFORESPONSE._serialized_start = 15261 - _GETNAMESPACECAPACITYINFORESPONSE._serialized_end = 15374 - _CREATEBILLINGREPORTREQUEST._serialized_start = 15376 - _CREATEBILLINGREPORTREQUEST._serialized_end = 15496 - _CREATEBILLINGREPORTRESPONSE._serialized_start = 15499 - _CREATEBILLINGREPORTRESPONSE._serialized_end = 15629 - _GETBILLINGREPORTREQUEST._serialized_start = 15631 - _GETBILLINGREPORTREQUEST._serialized_end = 15683 - _GETBILLINGREPORTRESPONSE._serialized_start = 15685 - _GETBILLINGREPORTRESPONSE._serialized_end = 15781 - _GETCUSTOMROLESREQUEST._serialized_start = 15783 - _GETCUSTOMROLESREQUEST._serialized_end = 15845 - _GETCUSTOMROLESRESPONSE._serialized_start = 15847 - _GETCUSTOMROLESRESPONSE._serialized_end = 15962 - _GETCUSTOMROLEREQUEST._serialized_start = 15964 - _GETCUSTOMROLEREQUEST._serialized_end = 16003 - _GETCUSTOMROLERESPONSE._serialized_start = 16005 - _GETCUSTOMROLERESPONSE._serialized_end = 16093 - _CREATECUSTOMROLEREQUEST._serialized_start = 16095 - _CREATECUSTOMROLEREQUEST._serialized_end = 16210 - _CREATECUSTOMROLERESPONSE._serialized_start = 16212 - _CREATECUSTOMROLERESPONSE._serialized_end = 16329 - _UPDATECUSTOMROLEREQUEST._serialized_start = 16332 - _UPDATECUSTOMROLEREQUEST._serialized_end = 16490 - _UPDATECUSTOMROLERESPONSE._serialized_start = 16492 - _UPDATECUSTOMROLERESPONSE._serialized_end = 16592 - _DELETECUSTOMROLEREQUEST._serialized_start = 16594 - _DELETECUSTOMROLEREQUEST._serialized_end = 16690 - _DELETECUSTOMROLERESPONSE._serialized_start = 16692 - _DELETECUSTOMROLERESPONSE._serialized_end = 16792 - _GETUSERNAMESPACEASSIGNMENTSREQUEST._serialized_start = 16794 - _GETUSERNAMESPACEASSIGNMENTSREQUEST._serialized_end = 16888 - _GETUSERNAMESPACEASSIGNMENTSRESPONSE._serialized_start = 16891 - _GETUSERNAMESPACEASSIGNMENTSRESPONSE._serialized_end = 17025 - _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST._serialized_start = 17027 - _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST._serialized_end = 17131 - _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE._serialized_start = 17134 - _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE._serialized_end = 17299 - _GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST._serialized_start = 17301 - _GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST._serialized_end = 17400 - _GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE._serialized_start = 17403 - _GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE._serialized_end = 17548 + _globals["_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY"]._loaded_options = None + _globals[ + "_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY" + ]._serialized_options = b"8\001" + _globals["_GETCURRENTIDENTITYREQUEST"]._serialized_start = 590 + _globals["_GETCURRENTIDENTITYREQUEST"]._serialized_end = 617 + _globals["_GETCURRENTIDENTITYRESPONSE"]._serialized_start = 620 + _globals["_GETCURRENTIDENTITYRESPONSE"]._serialized_end = 857 + _globals["_GETUSERSREQUEST"]._serialized_start = 859 + _globals["_GETUSERSREQUEST"]._serialized_end = 949 + _globals["_GETUSERSRESPONSE"]._serialized_start = 951 + _globals["_GETUSERSRESPONSE"]._serialized_end = 1047 + _globals["_GETUSERREQUEST"]._serialized_start = 1049 + _globals["_GETUSERREQUEST"]._serialized_end = 1082 + _globals["_GETUSERRESPONSE"]._serialized_start = 1084 + _globals["_GETUSERRESPONSE"]._serialized_end = 1153 + _globals["_CREATEUSERREQUEST"]._serialized_start = 1155 + _globals["_CREATEUSERREQUEST"]._serialized_end = 1258 + _globals["_CREATEUSERRESPONSE"]._serialized_start = 1260 + _globals["_CREATEUSERRESPONSE"]._serialized_end = 1371 + _globals["_UPDATEUSERREQUEST"]._serialized_start = 1374 + _globals["_UPDATEUSERREQUEST"]._serialized_end = 1520 + _globals["_UPDATEUSERRESPONSE"]._serialized_start = 1522 + _globals["_UPDATEUSERRESPONSE"]._serialized_end = 1616 + _globals["_DELETEUSERREQUEST"]._serialized_start = 1618 + _globals["_DELETEUSERREQUEST"]._serialized_end = 1708 + _globals["_DELETEUSERRESPONSE"]._serialized_start = 1710 + _globals["_DELETEUSERRESPONSE"]._serialized_end = 1804 + _globals["_SETUSERNAMESPACEACCESSREQUEST"]._serialized_start = 1807 + _globals["_SETUSERNAMESPACEACCESSREQUEST"]._serialized_end = 1993 + _globals["_SETUSERNAMESPACEACCESSRESPONSE"]._serialized_start = 1995 + _globals["_SETUSERNAMESPACEACCESSRESPONSE"]._serialized_end = 2101 + _globals["_GETASYNCOPERATIONREQUEST"]._serialized_start = 2103 + _globals["_GETASYNCOPERATIONREQUEST"]._serialized_end = 2157 + _globals["_GETASYNCOPERATIONRESPONSE"]._serialized_start = 2159 + _globals["_GETASYNCOPERATIONRESPONSE"]._serialized_end = 2260 + _globals["_CREATENAMESPACEREQUEST"]._serialized_start = 2263 + _globals["_CREATENAMESPACEREQUEST"]._serialized_end = 2506 + _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._serialized_start = 2463 + _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._serialized_end = 2506 + _globals["_CREATENAMESPACERESPONSE"]._serialized_start = 2508 + _globals["_CREATENAMESPACERESPONSE"]._serialized_end = 2626 + _globals["_GETNAMESPACESREQUEST"]._serialized_start = 2628 + _globals["_GETNAMESPACESREQUEST"]._serialized_end = 2703 + _globals["_GETNAMESPACESRESPONSE"]._serialized_start = 2705 + _globals["_GETNAMESPACESRESPONSE"]._serialized_end = 2817 + _globals["_GETNAMESPACEREQUEST"]._serialized_start = 2819 + _globals["_GETNAMESPACEREQUEST"]._serialized_end = 2859 + _globals["_GETNAMESPACERESPONSE"]._serialized_start = 2861 + _globals["_GETNAMESPACERESPONSE"]._serialized_end = 2946 + _globals["_UPDATENAMESPACEREQUEST"]._serialized_start = 2949 + _globals["_UPDATENAMESPACEREQUEST"]._serialized_end = 3108 + _globals["_UPDATENAMESPACERESPONSE"]._serialized_start = 3110 + _globals["_UPDATENAMESPACERESPONSE"]._serialized_end = 3209 + _globals["_RENAMECUSTOMSEARCHATTRIBUTEREQUEST"]._serialized_start = 3212 + _globals["_RENAMECUSTOMSEARCHATTRIBUTEREQUEST"]._serialized_end = 3410 + _globals["_RENAMECUSTOMSEARCHATTRIBUTERESPONSE"]._serialized_start = 3412 + _globals["_RENAMECUSTOMSEARCHATTRIBUTERESPONSE"]._serialized_end = 3523 + _globals["_DELETENAMESPACEREQUEST"]._serialized_start = 3525 + _globals["_DELETENAMESPACEREQUEST"]._serialized_end = 3622 + _globals["_DELETENAMESPACERESPONSE"]._serialized_start = 3624 + _globals["_DELETENAMESPACERESPONSE"]._serialized_end = 3723 + _globals["_FAILOVERNAMESPACEREGIONREQUEST"]._serialized_start = 3725 + _globals["_FAILOVERNAMESPACEREGIONREQUEST"]._serialized_end = 3820 + _globals["_FAILOVERNAMESPACEREGIONRESPONSE"]._serialized_start = 3822 + _globals["_FAILOVERNAMESPACEREGIONRESPONSE"]._serialized_end = 3929 + _globals["_ADDNAMESPACEREGIONREQUEST"]._serialized_start = 3931 + _globals["_ADDNAMESPACEREGIONREQUEST"]._serialized_end = 4047 + _globals["_ADDNAMESPACEREGIONRESPONSE"]._serialized_start = 4049 + _globals["_ADDNAMESPACEREGIONRESPONSE"]._serialized_end = 4151 + _globals["_DELETENAMESPACEREGIONREQUEST"]._serialized_start = 4153 + _globals["_DELETENAMESPACEREGIONREQUEST"]._serialized_end = 4272 + _globals["_DELETENAMESPACEREGIONRESPONSE"]._serialized_start = 4274 + _globals["_DELETENAMESPACEREGIONRESPONSE"]._serialized_end = 4379 + _globals["_GETREGIONSREQUEST"]._serialized_start = 4381 + _globals["_GETREGIONSREQUEST"]._serialized_end = 4400 + _globals["_GETREGIONSRESPONSE"]._serialized_start = 4402 + _globals["_GETREGIONSRESPONSE"]._serialized_end = 4477 + _globals["_GETREGIONREQUEST"]._serialized_start = 4479 + _globals["_GETREGIONREQUEST"]._serialized_end = 4513 + _globals["_GETREGIONRESPONSE"]._serialized_start = 4515 + _globals["_GETREGIONRESPONSE"]._serialized_end = 4588 + _globals["_GETAPIKEYSREQUEST"]._serialized_start = 4591 + _globals["_GETAPIKEYSREQUEST"]._serialized_end = 4765 + _globals["_GETAPIKEYSRESPONSE"]._serialized_start = 4767 + _globals["_GETAPIKEYSRESPONSE"]._serialized_end = 4870 + _globals["_GETAPIKEYREQUEST"]._serialized_start = 4872 + _globals["_GETAPIKEYREQUEST"]._serialized_end = 4906 + _globals["_GETAPIKEYRESPONSE"]._serialized_start = 4908 + _globals["_GETAPIKEYRESPONSE"]._serialized_end = 4984 + _globals["_CREATEAPIKEYREQUEST"]._serialized_start = 4986 + _globals["_CREATEAPIKEYREQUEST"]._serialized_end = 5093 + _globals["_CREATEAPIKEYRESPONSE"]._serialized_start = 5095 + _globals["_CREATEAPIKEYRESPONSE"]._serialized_end = 5222 + _globals["_UPDATEAPIKEYREQUEST"]._serialized_start = 5225 + _globals["_UPDATEAPIKEYREQUEST"]._serialized_end = 5374 + _globals["_UPDATEAPIKEYRESPONSE"]._serialized_start = 5376 + _globals["_UPDATEAPIKEYRESPONSE"]._serialized_end = 5472 + _globals["_DELETEAPIKEYREQUEST"]._serialized_start = 5474 + _globals["_DELETEAPIKEYREQUEST"]._serialized_end = 5565 + _globals["_DELETEAPIKEYRESPONSE"]._serialized_start = 5567 + _globals["_DELETEAPIKEYRESPONSE"]._serialized_end = 5663 + _globals["_GETNEXUSENDPOINTSREQUEST"]._serialized_start = 5666 + _globals["_GETNEXUSENDPOINTSREQUEST"]._serialized_end = 5801 + _globals["_GETNEXUSENDPOINTSRESPONSE"]._serialized_start = 5803 + _globals["_GETNEXUSENDPOINTSRESPONSE"]._serialized_end = 5913 + _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_start = 5915 + _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_end = 5961 + _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_start = 5963 + _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_end = 6046 + _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_start = 6048 + _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_end = 6161 + _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_start = 6163 + _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_end = 6287 + _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_start = 6290 + _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_end = 6450 + _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_start = 6452 + _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_end = 6555 + _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_start = 6557 + _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_end = 6660 + _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_start = 6662 + _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_end = 6765 + _globals["_GETUSERGROUPSREQUEST"]._serialized_start = 6768 + _globals["_GETUSERGROUPSREQUEST"]._serialized_end = 7141 + _globals["_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER"]._serialized_start = 7064 + _globals["_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER"]._serialized_end = 7106 + _globals["_GETUSERGROUPSREQUEST_SCIMGROUPFILTER"]._serialized_start = 7108 + _globals["_GETUSERGROUPSREQUEST_SCIMGROUPFILTER"]._serialized_end = 7141 + _globals["_GETUSERGROUPSRESPONSE"]._serialized_start = 7143 + _globals["_GETUSERGROUPSRESPONSE"]._serialized_end = 7250 + _globals["_GETUSERGROUPREQUEST"]._serialized_start = 7252 + _globals["_GETUSERGROUPREQUEST"]._serialized_end = 7291 + _globals["_GETUSERGROUPRESPONSE"]._serialized_start = 7293 + _globals["_GETUSERGROUPRESPONSE"]._serialized_end = 7373 + _globals["_CREATEUSERGROUPREQUEST"]._serialized_start = 7375 + _globals["_CREATEUSERGROUPREQUEST"]._serialized_end = 7488 + _globals["_CREATEUSERGROUPRESPONSE"]._serialized_start = 7490 + _globals["_CREATEUSERGROUPRESPONSE"]._serialized_end = 7607 + _globals["_UPDATEUSERGROUPREQUEST"]._serialized_start = 7610 + _globals["_UPDATEUSERGROUPREQUEST"]._serialized_end = 7767 + _globals["_UPDATEUSERGROUPRESPONSE"]._serialized_start = 7769 + _globals["_UPDATEUSERGROUPRESPONSE"]._serialized_end = 7868 + _globals["_DELETEUSERGROUPREQUEST"]._serialized_start = 7870 + _globals["_DELETEUSERGROUPREQUEST"]._serialized_end = 7966 + _globals["_DELETEUSERGROUPRESPONSE"]._serialized_start = 7968 + _globals["_DELETEUSERGROUPRESPONSE"]._serialized_end = 8067 + _globals["_SETUSERGROUPNAMESPACEACCESSREQUEST"]._serialized_start = 8070 + _globals["_SETUSERGROUPNAMESPACEACCESSREQUEST"]._serialized_end = 8262 + _globals["_SETUSERGROUPNAMESPACEACCESSRESPONSE"]._serialized_start = 8264 + _globals["_SETUSERGROUPNAMESPACEACCESSRESPONSE"]._serialized_end = 8375 + _globals["_ADDUSERGROUPMEMBERREQUEST"]._serialized_start = 8378 + _globals["_ADDUSERGROUPMEMBERREQUEST"]._serialized_end = 8521 + _globals["_ADDUSERGROUPMEMBERRESPONSE"]._serialized_start = 8523 + _globals["_ADDUSERGROUPMEMBERRESPONSE"]._serialized_end = 8625 + _globals["_REMOVEUSERGROUPMEMBERREQUEST"]._serialized_start = 8628 + _globals["_REMOVEUSERGROUPMEMBERREQUEST"]._serialized_end = 8774 + _globals["_REMOVEUSERGROUPMEMBERRESPONSE"]._serialized_start = 8776 + _globals["_REMOVEUSERGROUPMEMBERRESPONSE"]._serialized_end = 8881 + _globals["_GETUSERGROUPMEMBERSREQUEST"]._serialized_start = 8883 + _globals["_GETUSERGROUPMEMBERSREQUEST"]._serialized_end = 8968 + _globals["_GETUSERGROUPMEMBERSRESPONSE"]._serialized_start = 8970 + _globals["_GETUSERGROUPMEMBERSRESPONSE"]._serialized_end = 9090 + _globals["_CREATESERVICEACCOUNTREQUEST"]._serialized_start = 9092 + _globals["_CREATESERVICEACCOUNTREQUEST"]._serialized_end = 9215 + _globals["_CREATESERVICEACCOUNTRESPONSE"]._serialized_start = 9218 + _globals["_CREATESERVICEACCOUNTRESPONSE"]._serialized_end = 9350 + _globals["_GETSERVICEACCOUNTREQUEST"]._serialized_start = 9352 + _globals["_GETSERVICEACCOUNTREQUEST"]._serialized_end = 9406 + _globals["_GETSERVICEACCOUNTRESPONSE"]._serialized_start = 9408 + _globals["_GETSERVICEACCOUNTRESPONSE"]._serialized_end = 9508 + _globals["_GETSERVICEACCOUNTSREQUEST"]._serialized_start = 9510 + _globals["_GETSERVICEACCOUNTSREQUEST"]._serialized_end = 9576 + _globals["_GETSERVICEACCOUNTSRESPONSE"]._serialized_start = 9578 + _globals["_GETSERVICEACCOUNTSRESPONSE"]._serialized_end = 9704 + _globals["_UPDATESERVICEACCOUNTREQUEST"]._serialized_start = 9707 + _globals["_UPDATESERVICEACCOUNTREQUEST"]._serialized_end = 9884 + _globals["_UPDATESERVICEACCOUNTRESPONSE"]._serialized_start = 9886 + _globals["_UPDATESERVICEACCOUNTRESPONSE"]._serialized_end = 9990 + _globals["_SETSERVICEACCOUNTNAMESPACEACCESSREQUEST"]._serialized_start = 9993 + _globals["_SETSERVICEACCOUNTNAMESPACEACCESSREQUEST"]._serialized_end = 10200 + _globals["_SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE"]._serialized_start = 10202 + _globals["_SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE"]._serialized_end = 10318 + _globals["_DELETESERVICEACCOUNTREQUEST"]._serialized_start = 10320 + _globals["_DELETESERVICEACCOUNTREQUEST"]._serialized_end = 10431 + _globals["_DELETESERVICEACCOUNTRESPONSE"]._serialized_start = 10433 + _globals["_DELETESERVICEACCOUNTRESPONSE"]._serialized_end = 10537 + _globals["_GETUSAGEREQUEST"]._serialized_start = 10540 + _globals["_GETUSAGEREQUEST"]._serialized_end = 10710 + _globals["_GETUSAGERESPONSE"]._serialized_start = 10712 + _globals["_GETUSAGERESPONSE"]._serialized_end = 10812 + _globals["_GETACCOUNTREQUEST"]._serialized_start = 10814 + _globals["_GETACCOUNTREQUEST"]._serialized_end = 10833 + _globals["_GETACCOUNTRESPONSE"]._serialized_start = 10835 + _globals["_GETACCOUNTRESPONSE"]._serialized_end = 10912 + _globals["_UPDATEACCOUNTREQUEST"]._serialized_start = 10915 + _globals["_UPDATEACCOUNTREQUEST"]._serialized_end = 11049 + _globals["_UPDATEACCOUNTRESPONSE"]._serialized_start = 11051 + _globals["_UPDATEACCOUNTRESPONSE"]._serialized_end = 11148 + _globals["_CREATENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 11151 + _globals["_CREATENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 11295 + _globals["_CREATENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 11297 + _globals["_CREATENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 11406 + _globals["_GETNAMESPACEEXPORTSINKREQUEST"]._serialized_start = 11408 + _globals["_GETNAMESPACEEXPORTSINKREQUEST"]._serialized_end = 11472 + _globals["_GETNAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 11474 + _globals["_GETNAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 11565 + _globals["_GETNAMESPACEEXPORTSINKSREQUEST"]._serialized_start = 11567 + _globals["_GETNAMESPACEEXPORTSINKSREQUEST"]._serialized_end = 11657 + _globals["_GETNAMESPACEEXPORTSINKSRESPONSE"]._serialized_start = 11659 + _globals["_GETNAMESPACEEXPORTSINKSRESPONSE"]._serialized_end = 11777 + _globals["_UPDATENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 11780 + _globals["_UPDATENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 11950 + _globals["_UPDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 11952 + _globals["_UPDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 12061 + _globals["_DELETENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 12063 + _globals["_DELETENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 12184 + _globals["_DELETENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 12186 + _globals["_DELETENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 12295 + _globals["_VALIDATENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 12297 + _globals["_VALIDATENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 12415 + _globals["_VALIDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 12417 + _globals["_VALIDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 12454 + _globals["_UPDATENAMESPACETAGSREQUEST"]._serialized_start = 12457 + _globals["_UPDATENAMESPACETAGSREQUEST"]._serialized_end = 12715 + _globals["_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY"]._serialized_start = 12664 + _globals["_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY"]._serialized_end = 12715 + _globals["_UPDATENAMESPACETAGSRESPONSE"]._serialized_start = 12717 + _globals["_UPDATENAMESPACETAGSRESPONSE"]._serialized_end = 12820 + _globals["_CREATECONNECTIVITYRULEREQUEST"]._serialized_start = 12823 + _globals["_CREATECONNECTIVITYRULEREQUEST"]._serialized_end = 12958 + _globals["_CREATECONNECTIVITYRULERESPONSE"]._serialized_start = 12961 + _globals["_CREATECONNECTIVITYRULERESPONSE"]._serialized_end = 13097 + _globals["_GETCONNECTIVITYRULEREQUEST"]._serialized_start = 13099 + _globals["_GETCONNECTIVITYRULEREQUEST"]._serialized_end = 13157 + _globals["_GETCONNECTIVITYRULERESPONSE"]._serialized_start = 13159 + _globals["_GETCONNECTIVITYRULERESPONSE"]._serialized_end = 13273 + _globals["_GETCONNECTIVITYRULESREQUEST"]._serialized_start = 13275 + _globals["_GETCONNECTIVITYRULESREQUEST"]._serialized_end = 13362 + _globals["_GETCONNECTIVITYRULESRESPONSE"]._serialized_start = 13365 + _globals["_GETCONNECTIVITYRULESRESPONSE"]._serialized_end = 13506 + _globals["_DELETECONNECTIVITYRULEREQUEST"]._serialized_start = 13508 + _globals["_DELETECONNECTIVITYRULEREQUEST"]._serialized_end = 13623 + _globals["_DELETECONNECTIVITYRULERESPONSE"]._serialized_start = 13625 + _globals["_DELETECONNECTIVITYRULERESPONSE"]._serialized_end = 13731 + _globals["_GETAUDITLOGSREQUEST"]._serialized_start = 13734 + _globals["_GETAUDITLOGSREQUEST"]._serialized_end = 13908 + _globals["_GETAUDITLOGSRESPONSE"]._serialized_start = 13910 + _globals["_GETAUDITLOGSRESPONSE"]._serialized_end = 14014 + _globals["_VALIDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14016 + _globals["_VALIDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14115 + _globals["_VALIDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14117 + _globals["_VALIDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14154 + _globals["_CREATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14156 + _globals["_CREATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14281 + _globals["_CREATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14283 + _globals["_CREATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14392 + _globals["_GETACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14394 + _globals["_GETACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14439 + _globals["_GETACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14441 + _globals["_GETACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14532 + _globals["_GETACCOUNTAUDITLOGSINKSREQUEST"]._serialized_start = 14534 + _globals["_GETACCOUNTAUDITLOGSINKSREQUEST"]._serialized_end = 14605 + _globals["_GETACCOUNTAUDITLOGSINKSRESPONSE"]._serialized_start = 14607 + _globals["_GETACCOUNTAUDITLOGSINKSRESPONSE"]._serialized_end = 14725 + _globals["_UPDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14728 + _globals["_UPDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14879 + _globals["_UPDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14881 + _globals["_UPDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14990 + _globals["_DELETEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14992 + _globals["_DELETEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 15094 + _globals["_DELETEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 15096 + _globals["_DELETEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 15205 + _globals["_GETNAMESPACECAPACITYINFOREQUEST"]._serialized_start = 15207 + _globals["_GETNAMESPACECAPACITYINFOREQUEST"]._serialized_end = 15259 + _globals["_GETNAMESPACECAPACITYINFORESPONSE"]._serialized_start = 15261 + _globals["_GETNAMESPACECAPACITYINFORESPONSE"]._serialized_end = 15374 + _globals["_CREATEBILLINGREPORTREQUEST"]._serialized_start = 15376 + _globals["_CREATEBILLINGREPORTREQUEST"]._serialized_end = 15496 + _globals["_CREATEBILLINGREPORTRESPONSE"]._serialized_start = 15499 + _globals["_CREATEBILLINGREPORTRESPONSE"]._serialized_end = 15629 + _globals["_GETBILLINGREPORTREQUEST"]._serialized_start = 15631 + _globals["_GETBILLINGREPORTREQUEST"]._serialized_end = 15683 + _globals["_GETBILLINGREPORTRESPONSE"]._serialized_start = 15685 + _globals["_GETBILLINGREPORTRESPONSE"]._serialized_end = 15781 + _globals["_GETCUSTOMROLESREQUEST"]._serialized_start = 15783 + _globals["_GETCUSTOMROLESREQUEST"]._serialized_end = 15845 + _globals["_GETCUSTOMROLESRESPONSE"]._serialized_start = 15847 + _globals["_GETCUSTOMROLESRESPONSE"]._serialized_end = 15962 + _globals["_GETCUSTOMROLEREQUEST"]._serialized_start = 15964 + _globals["_GETCUSTOMROLEREQUEST"]._serialized_end = 16003 + _globals["_GETCUSTOMROLERESPONSE"]._serialized_start = 16005 + _globals["_GETCUSTOMROLERESPONSE"]._serialized_end = 16093 + _globals["_CREATECUSTOMROLEREQUEST"]._serialized_start = 16095 + _globals["_CREATECUSTOMROLEREQUEST"]._serialized_end = 16210 + _globals["_CREATECUSTOMROLERESPONSE"]._serialized_start = 16212 + _globals["_CREATECUSTOMROLERESPONSE"]._serialized_end = 16329 + _globals["_UPDATECUSTOMROLEREQUEST"]._serialized_start = 16332 + _globals["_UPDATECUSTOMROLEREQUEST"]._serialized_end = 16490 + _globals["_UPDATECUSTOMROLERESPONSE"]._serialized_start = 16492 + _globals["_UPDATECUSTOMROLERESPONSE"]._serialized_end = 16592 + _globals["_DELETECUSTOMROLEREQUEST"]._serialized_start = 16594 + _globals["_DELETECUSTOMROLEREQUEST"]._serialized_end = 16690 + _globals["_DELETECUSTOMROLERESPONSE"]._serialized_start = 16692 + _globals["_DELETECUSTOMROLERESPONSE"]._serialized_end = 16792 + _globals["_GETUSERNAMESPACEASSIGNMENTSREQUEST"]._serialized_start = 16794 + _globals["_GETUSERNAMESPACEASSIGNMENTSREQUEST"]._serialized_end = 16888 + _globals["_GETUSERNAMESPACEASSIGNMENTSRESPONSE"]._serialized_start = 16891 + _globals["_GETUSERNAMESPACEASSIGNMENTSRESPONSE"]._serialized_end = 17025 + _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST"]._serialized_start = 17027 + _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST"]._serialized_end = 17131 + _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE"]._serialized_start = 17134 + _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE"]._serialized_end = 17299 + _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST"]._serialized_start = 17301 + _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST"]._serialized_end = 17400 + _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE"]._serialized_start = 17403 + _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE"]._serialized_end = 17548 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi index 149020039..48993a300 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -23,13 +24,14 @@ import temporalio.api.cloud.operation.v1.message_pb2 import temporalio.api.cloud.region.v1.message_pb2 import temporalio.api.cloud.usage.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class GetCurrentIdentityRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -37,8 +39,11 @@ class GetCurrentIdentityRequest(google.protobuf.message.Message): self, ) -> None: ... -global___GetCurrentIdentityRequest = GetCurrentIdentityRequest +Global___GetCurrentIdentityRequest: typing_extensions.TypeAlias = ( + GetCurrentIdentityRequest +) +@typing.final class GetCurrentIdentityResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -48,14 +53,17 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): @property def user(self) -> temporalio.api.cloud.identity.v1.message_pb2.User: """The user is a regular user""" + @property def service_account( self, ) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: """The user is a service account""" + @property def principal_api_key(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKey: """The API key info used to authenticate the request, if any""" + def __init__( self, *, @@ -67,7 +75,7 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "principal", b"principal", "principal_api_key", @@ -80,7 +88,7 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "principal", b"principal", "principal_api_key", @@ -92,11 +100,14 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["principal", b"principal"] - ) -> typing_extensions.Literal["user", "service_account"] | None: ... + self, oneof_group: typing.Literal["principal", b"principal"] + ) -> typing.Literal["user", "service_account"] | None: ... -global___GetCurrentIdentityResponse = GetCurrentIdentityResponse +Global___GetCurrentIdentityResponse: typing_extensions.TypeAlias = ( + GetCurrentIdentityResponse +) +@typing.final class GetUsersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -124,7 +135,7 @@ class GetUsersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "email", b"email", "namespace", @@ -136,13 +147,16 @@ class GetUsersRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetUsersRequest = GetUsersRequest +Global___GetUsersRequest: typing_extensions.TypeAlias = GetUsersRequest +@typing.final class GetUsersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor USERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token""" @property def users( self, @@ -150,8 +164,7 @@ class GetUsersResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.User ]: """The list of users in ascending ids order""" - next_page_token: builtins.str - """The next page's token""" + def __init__( self, *, @@ -163,13 +176,14 @@ class GetUsersResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "users", b"users" ], ) -> None: ... -global___GetUsersResponse = GetUsersResponse +Global___GetUsersResponse: typing_extensions.TypeAlias = GetUsersResponse +@typing.final class GetUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -181,12 +195,11 @@ class GetUserRequest(google.protobuf.message.Message): *, user_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["user_id", b"user_id"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ... -global___GetUserRequest = GetUserRequest +Global___GetUserRequest: typing_extensions.TypeAlias = GetUserRequest +@typing.final class GetUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -194,30 +207,31 @@ class GetUserResponse(google.protobuf.message.Message): @property def user(self) -> temporalio.api.cloud.identity.v1.message_pb2.User: """The user""" + def __init__( self, *, user: temporalio.api.cloud.identity.v1.message_pb2.User | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["user", b"user"] + self, field_name: typing.Literal["user", b"user"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["user", b"user"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["user", b"user"]) -> None: ... -global___GetUserResponse = GetUserResponse +Global___GetUserResponse: typing_extensions.TypeAlias = GetUserResponse +@typing.final class CreateUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + async_operation_id: builtins.str + """The id to use for this async operation - optional""" @property def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserSpec: """The spec for the user to invite""" - async_operation_id: builtins.str - """The id to use for this async operation - optional""" + def __init__( self, *, @@ -225,17 +239,18 @@ class CreateUserRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateUserRequest = CreateUserRequest +Global___CreateUserRequest: typing_extensions.TypeAlias = CreateUserRequest +@typing.final class CreateUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -248,6 +263,7 @@ class CreateUserResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -256,18 +272,18 @@ class CreateUserResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "user_id", b"user_id" ], ) -> None: ... -global___CreateUserResponse = CreateUserResponse +Global___CreateUserResponse: typing_extensions.TypeAlias = CreateUserResponse +@typing.final class UpdateUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -277,15 +293,16 @@ class UpdateUserRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int user_id: builtins.str """The id of the user to update""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserSpec: - """The new user specification""" resource_version: builtins.str """The version of the user for which this update is intended for The latest version can be found in the GetUser operation response """ async_operation_id: builtins.str """The id to use for this async operation - optional""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserSpec: + """The new user specification""" + def __init__( self, *, @@ -295,11 +312,11 @@ class UpdateUserRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -311,8 +328,9 @@ class UpdateUserRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateUserRequest = UpdateUserRequest +Global___UpdateUserRequest: typing_extensions.TypeAlias = UpdateUserRequest +@typing.final class UpdateUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -322,6 +340,7 @@ class UpdateUserResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -329,16 +348,15 @@ class UpdateUserResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateUserResponse = UpdateUserResponse +Global___UpdateUserResponse: typing_extensions.TypeAlias = UpdateUserResponse +@typing.final class DeleteUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -362,7 +380,7 @@ class DeleteUserRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -372,8 +390,9 @@ class DeleteUserRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteUserRequest = DeleteUserRequest +Global___DeleteUserRequest: typing_extensions.TypeAlias = DeleteUserRequest +@typing.final class DeleteUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -383,6 +402,7 @@ class DeleteUserResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -390,16 +410,15 @@ class DeleteUserResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteUserResponse = DeleteUserResponse +Global___DeleteUserResponse: typing_extensions.TypeAlias = DeleteUserResponse +@typing.final class SetUserNamespaceAccessRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -412,15 +431,16 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): """The namespace to set permissions for""" user_id: builtins.str """The id of the user to set permissions for""" - @property - def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: - """The namespace access to assign the user""" resource_version: builtins.str """The version of the user for which this update is intended for The latest version can be found in the GetUser operation response """ async_operation_id: builtins.str """The id to use for this async operation - optional""" + @property + def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: + """The namespace access to assign the user""" + def __init__( self, *, @@ -432,11 +452,11 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] + self, field_name: typing.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "access", b"access", "async_operation_id", @@ -450,8 +470,11 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SetUserNamespaceAccessRequest = SetUserNamespaceAccessRequest +Global___SetUserNamespaceAccessRequest: typing_extensions.TypeAlias = ( + SetUserNamespaceAccessRequest +) +@typing.final class SetUserNamespaceAccessResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -461,6 +484,7 @@ class SetUserNamespaceAccessResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -468,16 +492,17 @@ class SetUserNamespaceAccessResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___SetUserNamespaceAccessResponse = SetUserNamespaceAccessResponse +Global___SetUserNamespaceAccessResponse: typing_extensions.TypeAlias = ( + SetUserNamespaceAccessResponse +) +@typing.final class GetAsyncOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -490,14 +515,14 @@ class GetAsyncOperationRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "async_operation_id", b"async_operation_id" - ], + self, field_name: typing.Literal["async_operation_id", b"async_operation_id"] ) -> None: ... -global___GetAsyncOperationRequest = GetAsyncOperationRequest +Global___GetAsyncOperationRequest: typing_extensions.TypeAlias = ( + GetAsyncOperationRequest +) +@typing.final class GetAsyncOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -507,6 +532,7 @@ class GetAsyncOperationResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -514,19 +540,21 @@ class GetAsyncOperationResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___GetAsyncOperationResponse = GetAsyncOperationResponse +Global___GetAsyncOperationResponse: typing_extensions.TypeAlias = ( + GetAsyncOperationResponse +) +@typing.final class CreateNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class TagsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -541,20 +569,20 @@ class CreateNamespaceRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int TAGS_FIELD_NUMBER: builtins.int - @property - def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: - """The namespace specification.""" async_operation_id: builtins.str """The id to use for this async operation. Optional, if not provided a random id will be generated. """ + @property + def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: + """The namespace specification.""" + @property def tags( self, @@ -562,6 +590,7 @@ class CreateNamespaceRequest(google.protobuf.message.Message): """The tags to add to the namespace. Note: This field can be set by global admins or account owners only. """ + def __init__( self, *, @@ -570,11 +599,11 @@ class CreateNamespaceRequest(google.protobuf.message.Message): tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", @@ -584,8 +613,9 @@ class CreateNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -global___CreateNamespaceRequest = CreateNamespaceRequest +Global___CreateNamespaceRequest: typing_extensions.TypeAlias = CreateNamespaceRequest +@typing.final class CreateNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -598,6 +628,7 @@ class CreateNamespaceResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -606,18 +637,18 @@ class CreateNamespaceResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "namespace", b"namespace" ], ) -> None: ... -global___CreateNamespaceResponse = CreateNamespaceResponse +Global___CreateNamespaceResponse: typing_extensions.TypeAlias = CreateNamespaceResponse +@typing.final class GetNamespacesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -646,18 +677,21 @@ class GetNamespacesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "name", b"name", "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -global___GetNamespacesRequest = GetNamespacesRequest +Global___GetNamespacesRequest: typing_extensions.TypeAlias = GetNamespacesRequest +@typing.final class GetNamespacesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def namespaces( self, @@ -665,8 +699,7 @@ class GetNamespacesResponse(google.protobuf.message.Message): temporalio.api.cloud.namespace.v1.message_pb2.Namespace ]: """The list of namespaces in ascending name order.""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -678,13 +711,14 @@ class GetNamespacesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespaces", b"namespaces", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetNamespacesResponse = GetNamespacesResponse +Global___GetNamespacesResponse: typing_extensions.TypeAlias = GetNamespacesResponse +@typing.final class GetNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -697,11 +731,12 @@ class GetNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] + self, field_name: typing.Literal["namespace", b"namespace"] ) -> None: ... -global___GetNamespaceRequest = GetNamespaceRequest +Global___GetNamespaceRequest: typing_extensions.TypeAlias = GetNamespaceRequest +@typing.final class GetNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -709,20 +744,22 @@ class GetNamespaceResponse(google.protobuf.message.Message): @property def namespace(self) -> temporalio.api.cloud.namespace.v1.message_pb2.Namespace: """The namespace.""" + def __init__( self, *, namespace: temporalio.api.cloud.namespace.v1.message_pb2.Namespace | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] + self, field_name: typing.Literal["namespace", b"namespace"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] + self, field_name: typing.Literal["namespace", b"namespace"] ) -> None: ... -global___GetNamespaceResponse = GetNamespaceResponse +Global___GetNamespaceResponse: typing_extensions.TypeAlias = GetNamespaceResponse +@typing.final class UpdateNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -732,9 +769,6 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace to update.""" - @property - def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: - """The new namespace specification.""" resource_version: builtins.str """The version of the namespace for which this update is intended for. The latest version can be found in the namespace status. @@ -743,6 +777,10 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): """The id to use for this async operation. Optional, if not provided a random id will be generated. """ + @property + def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: + """The new namespace specification.""" + def __init__( self, *, @@ -752,11 +790,11 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -768,8 +806,9 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateNamespaceRequest = UpdateNamespaceRequest +Global___UpdateNamespaceRequest: typing_extensions.TypeAlias = UpdateNamespaceRequest +@typing.final class UpdateNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -779,6 +818,7 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -786,16 +826,15 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateNamespaceResponse = UpdateNamespaceResponse +Global___UpdateNamespaceResponse: typing_extensions.TypeAlias = UpdateNamespaceResponse +@typing.final class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -829,7 +868,7 @@ class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "existing_custom_search_attribute_name", @@ -843,8 +882,11 @@ class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RenameCustomSearchAttributeRequest = RenameCustomSearchAttributeRequest +Global___RenameCustomSearchAttributeRequest: typing_extensions.TypeAlias = ( + RenameCustomSearchAttributeRequest +) +@typing.final class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -854,6 +896,7 @@ class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -861,16 +904,17 @@ class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___RenameCustomSearchAttributeResponse = RenameCustomSearchAttributeResponse +Global___RenameCustomSearchAttributeResponse: typing_extensions.TypeAlias = ( + RenameCustomSearchAttributeResponse +) +@typing.final class DeleteNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -896,7 +940,7 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -906,8 +950,9 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteNamespaceRequest = DeleteNamespaceRequest +Global___DeleteNamespaceRequest: typing_extensions.TypeAlias = DeleteNamespaceRequest +@typing.final class DeleteNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -917,6 +962,7 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -924,16 +970,15 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteNamespaceResponse = DeleteNamespaceResponse +Global___DeleteNamespaceResponse: typing_extensions.TypeAlias = DeleteNamespaceResponse +@typing.final class FailoverNamespaceRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -957,7 +1002,7 @@ class FailoverNamespaceRegionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -967,8 +1012,11 @@ class FailoverNamespaceRegionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___FailoverNamespaceRegionRequest = FailoverNamespaceRegionRequest +Global___FailoverNamespaceRegionRequest: typing_extensions.TypeAlias = ( + FailoverNamespaceRegionRequest +) +@typing.final class FailoverNamespaceRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -978,6 +1026,7 @@ class FailoverNamespaceRegionResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -985,16 +1034,17 @@ class FailoverNamespaceRegionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___FailoverNamespaceRegionResponse = FailoverNamespaceRegionResponse +Global___FailoverNamespaceRegionResponse: typing_extensions.TypeAlias = ( + FailoverNamespaceRegionResponse +) +@typing.final class AddNamespaceRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1025,7 +1075,7 @@ class AddNamespaceRegionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -1037,8 +1087,11 @@ class AddNamespaceRegionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___AddNamespaceRegionRequest = AddNamespaceRegionRequest +Global___AddNamespaceRegionRequest: typing_extensions.TypeAlias = ( + AddNamespaceRegionRequest +) +@typing.final class AddNamespaceRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1048,6 +1101,7 @@ class AddNamespaceRegionResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -1055,16 +1109,17 @@ class AddNamespaceRegionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___AddNamespaceRegionResponse = AddNamespaceRegionResponse +Global___AddNamespaceRegionResponse: typing_extensions.TypeAlias = ( + AddNamespaceRegionResponse +) +@typing.final class DeleteNamespaceRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1095,7 +1150,7 @@ class DeleteNamespaceRegionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -1107,8 +1162,11 @@ class DeleteNamespaceRegionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteNamespaceRegionRequest = DeleteNamespaceRegionRequest +Global___DeleteNamespaceRegionRequest: typing_extensions.TypeAlias = ( + DeleteNamespaceRegionRequest +) +@typing.final class DeleteNamespaceRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1118,6 +1176,7 @@ class DeleteNamespaceRegionResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -1125,16 +1184,17 @@ class DeleteNamespaceRegionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteNamespaceRegionResponse = DeleteNamespaceRegionResponse +Global___DeleteNamespaceRegionResponse: typing_extensions.TypeAlias = ( + DeleteNamespaceRegionResponse +) +@typing.final class GetRegionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1142,8 +1202,9 @@ class GetRegionsRequest(google.protobuf.message.Message): self, ) -> None: ... -global___GetRegionsRequest = GetRegionsRequest +Global___GetRegionsRequest: typing_extensions.TypeAlias = GetRegionsRequest +@typing.final class GetRegionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1155,6 +1216,7 @@ class GetRegionsResponse(google.protobuf.message.Message): temporalio.api.cloud.region.v1.message_pb2.Region ]: """The temporal cloud regions.""" + def __init__( self, *, @@ -1163,12 +1225,11 @@ class GetRegionsResponse(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["regions", b"regions"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["regions", b"regions"]) -> None: ... -global___GetRegionsResponse = GetRegionsResponse +Global___GetRegionsResponse: typing_extensions.TypeAlias = GetRegionsResponse +@typing.final class GetRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1180,12 +1241,11 @@ class GetRegionRequest(google.protobuf.message.Message): *, region: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["region", b"region"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["region", b"region"]) -> None: ... -global___GetRegionRequest = GetRegionRequest +Global___GetRegionRequest: typing_extensions.TypeAlias = GetRegionRequest +@typing.final class GetRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1193,20 +1253,20 @@ class GetRegionResponse(google.protobuf.message.Message): @property def region(self) -> temporalio.api.cloud.region.v1.message_pb2.Region: """The temporal cloud region.""" + def __init__( self, *, region: temporalio.api.cloud.region.v1.message_pb2.Region | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["region", b"region"] + self, field_name: typing.Literal["region", b"region"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["region", b"region"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["region", b"region"]) -> None: ... -global___GetRegionResponse = GetRegionResponse +Global___GetRegionResponse: typing_extensions.TypeAlias = GetRegionResponse +@typing.final class GetApiKeysRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1243,7 +1303,7 @@ class GetApiKeysRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "owner_id", b"owner_id", "owner_type", @@ -1257,13 +1317,16 @@ class GetApiKeysRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetApiKeysRequest = GetApiKeysRequest +Global___GetApiKeysRequest: typing_extensions.TypeAlias = GetApiKeysRequest +@typing.final class GetApiKeysResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor API_KEYS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def api_keys( self, @@ -1271,8 +1334,7 @@ class GetApiKeysResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.ApiKey ]: """The list of api keys in ascending id order.""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -1284,13 +1346,14 @@ class GetApiKeysResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "api_keys", b"api_keys", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetApiKeysResponse = GetApiKeysResponse +Global___GetApiKeysResponse: typing_extensions.TypeAlias = GetApiKeysResponse +@typing.final class GetApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1302,12 +1365,11 @@ class GetApiKeyRequest(google.protobuf.message.Message): *, key_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["key_id", b"key_id"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["key_id", b"key_id"]) -> None: ... -global___GetApiKeyRequest = GetApiKeyRequest +Global___GetApiKeyRequest: typing_extensions.TypeAlias = GetApiKeyRequest +@typing.final class GetApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1315,32 +1377,33 @@ class GetApiKeyResponse(google.protobuf.message.Message): @property def api_key(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKey: """The api key.""" + def __init__( self, *, api_key: temporalio.api.cloud.identity.v1.message_pb2.ApiKey | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["api_key", b"api_key"] + self, field_name: typing.Literal["api_key", b"api_key"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["api_key", b"api_key"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["api_key", b"api_key"]) -> None: ... -global___GetApiKeyResponse = GetApiKeyResponse +Global___GetApiKeyResponse: typing_extensions.TypeAlias = GetApiKeyResponse +@typing.final class CreateApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + async_operation_id: builtins.str + """The id to use for this async operation - optional.""" @property def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec: """The spec for the api key to create. Create api key only supports service-account owner type for now. """ - async_operation_id: builtins.str - """The id to use for this async operation - optional.""" + def __init__( self, *, @@ -1348,17 +1411,18 @@ class CreateApiKeyRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateApiKeyRequest = CreateApiKeyRequest +Global___CreateApiKeyRequest: typing_extensions.TypeAlias = CreateApiKeyRequest +@typing.final class CreateApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1377,6 +1441,7 @@ class CreateApiKeyResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -1386,12 +1451,11 @@ class CreateApiKeyResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "key_id", @@ -1401,8 +1465,9 @@ class CreateApiKeyResponse(google.protobuf.message.Message): ], ) -> None: ... -global___CreateApiKeyResponse = CreateApiKeyResponse +Global___CreateApiKeyResponse: typing_extensions.TypeAlias = CreateApiKeyResponse +@typing.final class UpdateApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1412,15 +1477,16 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int key_id: builtins.str """The id of the api key to update.""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec: - """The new api key specification.""" resource_version: builtins.str """The version of the api key for which this update is intended for. The latest version can be found in the GetApiKey operation response. """ async_operation_id: builtins.str """The id to use for this async operation - optional.""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec: + """The new api key specification.""" + def __init__( self, *, @@ -1430,11 +1496,11 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "key_id", @@ -1446,8 +1512,9 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateApiKeyRequest = UpdateApiKeyRequest +Global___UpdateApiKeyRequest: typing_extensions.TypeAlias = UpdateApiKeyRequest +@typing.final class UpdateApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1457,6 +1524,7 @@ class UpdateApiKeyResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -1464,16 +1532,15 @@ class UpdateApiKeyResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateApiKeyResponse = UpdateApiKeyResponse +Global___UpdateApiKeyResponse: typing_extensions.TypeAlias = UpdateApiKeyResponse +@typing.final class DeleteApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1497,7 +1564,7 @@ class DeleteApiKeyRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "key_id", @@ -1507,8 +1574,9 @@ class DeleteApiKeyRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteApiKeyRequest = DeleteApiKeyRequest +Global___DeleteApiKeyRequest: typing_extensions.TypeAlias = DeleteApiKeyRequest +@typing.final class DeleteApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1518,6 +1586,7 @@ class DeleteApiKeyResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -1525,16 +1594,15 @@ class DeleteApiKeyResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteApiKeyResponse = DeleteApiKeyResponse +Global___DeleteApiKeyResponse: typing_extensions.TypeAlias = DeleteApiKeyResponse +@typing.final class GetNexusEndpointsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1566,7 +1634,7 @@ class GetNexusEndpointsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "name", b"name", "page_size", @@ -1580,13 +1648,18 @@ class GetNexusEndpointsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetNexusEndpointsRequest = GetNexusEndpointsRequest +Global___GetNexusEndpointsRequest: typing_extensions.TypeAlias = ( + GetNexusEndpointsRequest +) +@typing.final class GetNexusEndpointsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor ENDPOINTS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def endpoints( self, @@ -1594,8 +1667,7 @@ class GetNexusEndpointsResponse(google.protobuf.message.Message): temporalio.api.cloud.nexus.v1.message_pb2.Endpoint ]: """The list of endpoints in ascending id order.""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -1607,13 +1679,16 @@ class GetNexusEndpointsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "endpoints", b"endpoints", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetNexusEndpointsResponse = GetNexusEndpointsResponse +Global___GetNexusEndpointsResponse: typing_extensions.TypeAlias = ( + GetNexusEndpointsResponse +) +@typing.final class GetNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1626,11 +1701,12 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): endpoint_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["endpoint_id", b"endpoint_id"] + self, field_name: typing.Literal["endpoint_id", b"endpoint_id"] ) -> None: ... -global___GetNexusEndpointRequest = GetNexusEndpointRequest +Global___GetNexusEndpointRequest: typing_extensions.TypeAlias = GetNexusEndpointRequest +@typing.final class GetNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1638,30 +1714,35 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): @property def endpoint(self) -> temporalio.api.cloud.nexus.v1.message_pb2.Endpoint: """The nexus endpoint.""" + def __init__( self, *, endpoint: temporalio.api.cloud.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> None: ... -global___GetNexusEndpointResponse = GetNexusEndpointResponse +Global___GetNexusEndpointResponse: typing_extensions.TypeAlias = ( + GetNexusEndpointResponse +) +@typing.final class CreateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + async_operation_id: builtins.str + """The id to use for this async operation - optional.""" @property def spec(self) -> temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec: """The spec for the nexus endpoint.""" - async_operation_id: builtins.str - """The id to use for this async operation - optional.""" + def __init__( self, *, @@ -1669,17 +1750,20 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateNexusEndpointRequest = CreateNexusEndpointRequest +Global___CreateNexusEndpointRequest: typing_extensions.TypeAlias = ( + CreateNexusEndpointRequest +) +@typing.final class CreateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1692,6 +1776,7 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -1700,18 +1785,20 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "endpoint_id", b"endpoint_id" ], ) -> None: ... -global___CreateNexusEndpointResponse = CreateNexusEndpointResponse +Global___CreateNexusEndpointResponse: typing_extensions.TypeAlias = ( + CreateNexusEndpointResponse +) +@typing.final class UpdateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1721,15 +1808,16 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int endpoint_id: builtins.str """The id of the nexus endpoint to update.""" - @property - def spec(self) -> temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec: - """The updated nexus endpoint specification.""" resource_version: builtins.str """The version of the nexus endpoint for which this update is intended for. The latest version can be found in the GetNexusEndpoint operation response. """ async_operation_id: builtins.str """The id to use for this async operation - optional.""" + @property + def spec(self) -> temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec: + """The updated nexus endpoint specification.""" + def __init__( self, *, @@ -1739,11 +1827,11 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "endpoint_id", @@ -1755,8 +1843,11 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest +Global___UpdateNexusEndpointRequest: typing_extensions.TypeAlias = ( + UpdateNexusEndpointRequest +) +@typing.final class UpdateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1766,6 +1857,7 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -1773,16 +1865,17 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse +Global___UpdateNexusEndpointResponse: typing_extensions.TypeAlias = ( + UpdateNexusEndpointResponse +) +@typing.final class DeleteNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1806,7 +1899,7 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "endpoint_id", @@ -1816,8 +1909,11 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest +Global___DeleteNexusEndpointRequest: typing_extensions.TypeAlias = ( + DeleteNexusEndpointRequest +) +@typing.final class DeleteNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1827,6 +1923,7 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -1834,19 +1931,21 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteNexusEndpointResponse = DeleteNexusEndpointResponse +Global___DeleteNexusEndpointResponse: typing_extensions.TypeAlias = ( + DeleteNexusEndpointResponse +) +@typing.final class GetUserGroupsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class GoogleGroupFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1859,10 +1958,10 @@ class GetUserGroupsRequest(google.protobuf.message.Message): email_address: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["email_address", b"email_address"], + self, field_name: typing.Literal["email_address", b"email_address"] ) -> None: ... + @typing.final class SCIMGroupFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1875,7 +1974,7 @@ class GetUserGroupsRequest(google.protobuf.message.Message): idp_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] + self, field_name: typing.Literal["idp_id", b"idp_id"] ) -> None: ... PAGE_SIZE_FIELD_NUMBER: builtins.int @@ -1895,11 +1994,13 @@ class GetUserGroupsRequest(google.protobuf.message.Message): display_name: builtins.str """Filter groups by the display name - optional.""" @property - def google_group(self) -> global___GetUserGroupsRequest.GoogleGroupFilter: + def google_group(self) -> Global___GetUserGroupsRequest.GoogleGroupFilter: """Filter groups by the google group specification - optional.""" + @property - def scim_group(self) -> global___GetUserGroupsRequest.SCIMGroupFilter: + def scim_group(self) -> Global___GetUserGroupsRequest.SCIMGroupFilter: """Filter groups by the SCIM group specification - optional.""" + def __init__( self, *, @@ -1907,18 +2008,18 @@ class GetUserGroupsRequest(google.protobuf.message.Message): page_token: builtins.str = ..., namespace: builtins.str = ..., display_name: builtins.str = ..., - google_group: global___GetUserGroupsRequest.GoogleGroupFilter | None = ..., - scim_group: global___GetUserGroupsRequest.SCIMGroupFilter | None = ..., + google_group: Global___GetUserGroupsRequest.GoogleGroupFilter | None = ..., + scim_group: Global___GetUserGroupsRequest.SCIMGroupFilter | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "google_group", b"google_group", "scim_group", b"scim_group" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "display_name", b"display_name", "google_group", @@ -1934,13 +2035,16 @@ class GetUserGroupsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetUserGroupsRequest = GetUserGroupsRequest +Global___GetUserGroupsRequest: typing_extensions.TypeAlias = GetUserGroupsRequest +@typing.final class GetUserGroupsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUPS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def groups( self, @@ -1948,8 +2052,7 @@ class GetUserGroupsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserGroup ]: """The list of groups in ascending name order.""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -1961,13 +2064,14 @@ class GetUserGroupsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "groups", b"groups", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetUserGroupsResponse = GetUserGroupsResponse +Global___GetUserGroupsResponse: typing_extensions.TypeAlias = GetUserGroupsResponse +@typing.final class GetUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1980,11 +2084,12 @@ class GetUserGroupRequest(google.protobuf.message.Message): group_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["group_id", b"group_id"] + self, field_name: typing.Literal["group_id", b"group_id"] ) -> None: ... -global___GetUserGroupRequest = GetUserGroupRequest +Global___GetUserGroupRequest: typing_extensions.TypeAlias = GetUserGroupRequest +@typing.final class GetUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1992,32 +2097,33 @@ class GetUserGroupResponse(google.protobuf.message.Message): @property def group(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroup: """The group.""" + def __init__( self, *, group: temporalio.api.cloud.identity.v1.message_pb2.UserGroup | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["group", b"group"] + self, field_name: typing.Literal["group", b"group"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["group", b"group"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["group", b"group"]) -> None: ... -global___GetUserGroupResponse = GetUserGroupResponse +Global___GetUserGroupResponse: typing_extensions.TypeAlias = GetUserGroupResponse +@typing.final class CreateUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: - """The spec for the group to create.""" async_operation_id: builtins.str """The id to use for this async operation. Optional, if not provided a random id will be generated. """ + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: + """The spec for the group to create.""" + def __init__( self, *, @@ -2025,17 +2131,18 @@ class CreateUserGroupRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateUserGroupRequest = CreateUserGroupRequest +Global___CreateUserGroupRequest: typing_extensions.TypeAlias = CreateUserGroupRequest +@typing.final class CreateUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2048,6 +2155,7 @@ class CreateUserGroupResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2056,18 +2164,18 @@ class CreateUserGroupResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "group_id", b"group_id" ], ) -> None: ... -global___CreateUserGroupResponse = CreateUserGroupResponse +Global___CreateUserGroupResponse: typing_extensions.TypeAlias = CreateUserGroupResponse +@typing.final class UpdateUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2077,9 +2185,6 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int group_id: builtins.str """The id of the group to update.""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: - """The new group specification.""" resource_version: builtins.str """The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response. @@ -2088,6 +2193,10 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): """The id to use for this async operation. Optional, if not provided a random id will be generated. """ + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: + """The new group specification.""" + def __init__( self, *, @@ -2097,11 +2206,11 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2113,8 +2222,9 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateUserGroupRequest = UpdateUserGroupRequest +Global___UpdateUserGroupRequest: typing_extensions.TypeAlias = UpdateUserGroupRequest +@typing.final class UpdateUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2124,6 +2234,7 @@ class UpdateUserGroupResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2131,16 +2242,15 @@ class UpdateUserGroupResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateUserGroupResponse = UpdateUserGroupResponse +Global___UpdateUserGroupResponse: typing_extensions.TypeAlias = UpdateUserGroupResponse +@typing.final class DeleteUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2166,7 +2276,7 @@ class DeleteUserGroupRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2176,8 +2286,9 @@ class DeleteUserGroupRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteUserGroupRequest = DeleteUserGroupRequest +Global___DeleteUserGroupRequest: typing_extensions.TypeAlias = DeleteUserGroupRequest +@typing.final class DeleteUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2187,6 +2298,7 @@ class DeleteUserGroupResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2194,16 +2306,15 @@ class DeleteUserGroupResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteUserGroupResponse = DeleteUserGroupResponse +Global___DeleteUserGroupResponse: typing_extensions.TypeAlias = DeleteUserGroupResponse +@typing.final class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2216,15 +2327,16 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): """The namespace to set permissions for.""" group_id: builtins.str """The id of the group to set permissions for.""" - @property - def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: - """The namespace access to assign the group. If left empty, the group will be removed from the namespace access.""" resource_version: builtins.str """The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response. """ async_operation_id: builtins.str """The id to use for this async operation - optional.""" + @property + def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: + """The namespace access to assign the group. If left empty, the group will be removed from the namespace access.""" + def __init__( self, *, @@ -2236,11 +2348,11 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] + self, field_name: typing.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "access", b"access", "async_operation_id", @@ -2254,8 +2366,11 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SetUserGroupNamespaceAccessRequest = SetUserGroupNamespaceAccessRequest +Global___SetUserGroupNamespaceAccessRequest: typing_extensions.TypeAlias = ( + SetUserGroupNamespaceAccessRequest +) +@typing.final class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2265,6 +2380,7 @@ class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2272,16 +2388,17 @@ class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___SetUserGroupNamespaceAccessResponse = SetUserGroupNamespaceAccessResponse +Global___SetUserGroupNamespaceAccessResponse: typing_extensions.TypeAlias = ( + SetUserGroupNamespaceAccessResponse +) +@typing.final class AddUserGroupMemberRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2290,15 +2407,16 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int group_id: builtins.str """The id of the group to add the member for.""" + async_operation_id: builtins.str + """The id to use for this async operation. + Optional, if not provided a random id will be generated. + """ @property def member_id( self, ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" - async_operation_id: builtins.str - """The id to use for this async operation. - Optional, if not provided a random id will be generated. - """ + def __init__( self, *, @@ -2308,11 +2426,11 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["member_id", b"member_id"] + self, field_name: typing.Literal["member_id", b"member_id"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2322,8 +2440,11 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): ], ) -> None: ... -global___AddUserGroupMemberRequest = AddUserGroupMemberRequest +Global___AddUserGroupMemberRequest: typing_extensions.TypeAlias = ( + AddUserGroupMemberRequest +) +@typing.final class AddUserGroupMemberResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2333,6 +2454,7 @@ class AddUserGroupMemberResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2340,16 +2462,17 @@ class AddUserGroupMemberResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___AddUserGroupMemberResponse = AddUserGroupMemberResponse +Global___AddUserGroupMemberResponse: typing_extensions.TypeAlias = ( + AddUserGroupMemberResponse +) +@typing.final class RemoveUserGroupMemberRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2358,15 +2481,16 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int group_id: builtins.str """The id of the group to add the member for.""" + async_operation_id: builtins.str + """The id to use for this async operation. + Optional, if not provided a random id will be generated. + """ @property def member_id( self, ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" - async_operation_id: builtins.str - """The id to use for this async operation. - Optional, if not provided a random id will be generated. - """ + def __init__( self, *, @@ -2376,11 +2500,11 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["member_id", b"member_id"] + self, field_name: typing.Literal["member_id", b"member_id"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2390,8 +2514,11 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RemoveUserGroupMemberRequest = RemoveUserGroupMemberRequest +Global___RemoveUserGroupMemberRequest: typing_extensions.TypeAlias = ( + RemoveUserGroupMemberRequest +) +@typing.final class RemoveUserGroupMemberResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2401,6 +2528,7 @@ class RemoveUserGroupMemberResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2408,16 +2536,17 @@ class RemoveUserGroupMemberResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___RemoveUserGroupMemberResponse = RemoveUserGroupMemberResponse +Global___RemoveUserGroupMemberResponse: typing_extensions.TypeAlias = ( + RemoveUserGroupMemberResponse +) +@typing.final class GetUserGroupMembersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2441,7 +2570,7 @@ class GetUserGroupMembersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "group_id", b"group_id", "page_size", @@ -2451,13 +2580,18 @@ class GetUserGroupMembersRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetUserGroupMembersRequest = GetUserGroupMembersRequest +Global___GetUserGroupMembersRequest: typing_extensions.TypeAlias = ( + GetUserGroupMembersRequest +) +@typing.final class GetUserGroupMembersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor MEMBERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def members( self, @@ -2465,8 +2599,7 @@ class GetUserGroupMembersResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember ]: """The list of group members""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -2478,23 +2611,27 @@ class GetUserGroupMembersResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "members", b"members", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetUserGroupMembersResponse = GetUserGroupMembersResponse +Global___GetUserGroupMembersResponse: typing_extensions.TypeAlias = ( + GetUserGroupMembersResponse +) +@typing.final class CreateServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + async_operation_id: builtins.str + """The ID to use for this async operation - optional.""" @property def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec: """The spec of the service account to create.""" - async_operation_id: builtins.str - """The ID to use for this async operation - optional.""" + def __init__( self, *, @@ -2503,17 +2640,20 @@ class CreateServiceAccountRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateServiceAccountRequest = CreateServiceAccountRequest +Global___CreateServiceAccountRequest: typing_extensions.TypeAlias = ( + CreateServiceAccountRequest +) +@typing.final class CreateServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2526,6 +2666,7 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2534,12 +2675,11 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "service_account_id", @@ -2547,8 +2687,11 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): ], ) -> None: ... -global___CreateServiceAccountResponse = CreateServiceAccountResponse +Global___CreateServiceAccountResponse: typing_extensions.TypeAlias = ( + CreateServiceAccountResponse +) +@typing.final class GetServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2561,14 +2704,14 @@ class GetServiceAccountRequest(google.protobuf.message.Message): service_account_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "service_account_id", b"service_account_id" - ], + self, field_name: typing.Literal["service_account_id", b"service_account_id"] ) -> None: ... -global___GetServiceAccountRequest = GetServiceAccountRequest +Global___GetServiceAccountRequest: typing_extensions.TypeAlias = ( + GetServiceAccountRequest +) +@typing.final class GetServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2578,6 +2721,7 @@ class GetServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: """The service account retrieved.""" + def __init__( self, *, @@ -2585,16 +2729,17 @@ class GetServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["service_account", b"service_account"], + self, field_name: typing.Literal["service_account", b"service_account"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["service_account", b"service_account"], + self, field_name: typing.Literal["service_account", b"service_account"] ) -> None: ... -global___GetServiceAccountResponse = GetServiceAccountResponse +Global___GetServiceAccountResponse: typing_extensions.TypeAlias = ( + GetServiceAccountResponse +) +@typing.final class GetServiceAccountsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2614,18 +2759,23 @@ class GetServiceAccountsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -global___GetServiceAccountsRequest = GetServiceAccountsRequest +Global___GetServiceAccountsRequest: typing_extensions.TypeAlias = ( + GetServiceAccountsRequest +) +@typing.final class GetServiceAccountsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page token, set if there is another page.""" @property def service_account( self, @@ -2633,8 +2783,7 @@ class GetServiceAccountsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount ]: """The list of service accounts in ascending ID order.""" - next_page_token: builtins.str - """The next page token, set if there is another page.""" + def __init__( self, *, @@ -2646,13 +2795,16 @@ class GetServiceAccountsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "service_account", b"service_account" ], ) -> None: ... -global___GetServiceAccountsResponse = GetServiceAccountsResponse +Global___GetServiceAccountsResponse: typing_extensions.TypeAlias = ( + GetServiceAccountsResponse +) +@typing.final class UpdateServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2662,15 +2814,16 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int service_account_id: builtins.str """The ID of the service account to update.""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec: - """The new service account specification.""" resource_version: builtins.str """The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec: + """The new service account specification.""" + def __init__( self, *, @@ -2681,11 +2834,11 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -2697,8 +2850,11 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateServiceAccountRequest = UpdateServiceAccountRequest +Global___UpdateServiceAccountRequest: typing_extensions.TypeAlias = ( + UpdateServiceAccountRequest +) +@typing.final class UpdateServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2708,6 +2864,7 @@ class UpdateServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2715,16 +2872,17 @@ class UpdateServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateServiceAccountResponse = UpdateServiceAccountResponse +Global___UpdateServiceAccountResponse: typing_extensions.TypeAlias = ( + UpdateServiceAccountResponse +) +@typing.final class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2737,15 +2895,16 @@ class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): """The ID of the service account to update.""" namespace: builtins.str """The namespace to set permissions for.""" - @property - def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: - """The namespace access to assign the service account.""" resource_version: builtins.str """The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" + @property + def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: + """The namespace access to assign the service account.""" + def __init__( self, *, @@ -2757,11 +2916,11 @@ class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] + self, field_name: typing.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "access", b"access", "async_operation_id", @@ -2775,10 +2934,11 @@ class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SetServiceAccountNamespaceAccessRequest = ( +Global___SetServiceAccountNamespaceAccessRequest: typing_extensions.TypeAlias = ( SetServiceAccountNamespaceAccessRequest ) +@typing.final class SetServiceAccountNamespaceAccessResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2788,6 +2948,7 @@ class SetServiceAccountNamespaceAccessResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2795,18 +2956,17 @@ class SetServiceAccountNamespaceAccessResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___SetServiceAccountNamespaceAccessResponse = ( +Global___SetServiceAccountNamespaceAccessResponse: typing_extensions.TypeAlias = ( SetServiceAccountNamespaceAccessResponse ) +@typing.final class DeleteServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2830,7 +2990,7 @@ class DeleteServiceAccountRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -2840,8 +3000,11 @@ class DeleteServiceAccountRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteServiceAccountRequest = DeleteServiceAccountRequest +Global___DeleteServiceAccountRequest: typing_extensions.TypeAlias = ( + DeleteServiceAccountRequest +) +@typing.final class DeleteServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2851,6 +3014,7 @@ class DeleteServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -2858,16 +3022,17 @@ class DeleteServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteServiceAccountResponse = DeleteServiceAccountResponse +Global___DeleteServiceAccountResponse: typing_extensions.TypeAlias = ( + DeleteServiceAccountResponse +) +@typing.final class GetUsageRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2875,6 +3040,13 @@ class GetUsageRequest(google.protobuf.message.Message): END_TIME_EXCLUSIVE_FIELD_NUMBER: builtins.int PAGE_SIZE_FIELD_NUMBER: builtins.int PAGE_TOKEN_FIELD_NUMBER: builtins.int + page_size: builtins.int + """The requested size of the page to retrieve - optional. + Each count corresponds to a single object - per day per namespace + Cannot exceed 1000. Defaults to 100. + """ + page_token: builtins.str + """The page token if this is continuing from another response - optional.""" @property def start_time_inclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time >= - optional. @@ -2882,6 +3054,7 @@ class GetUsageRequest(google.protobuf.message.Message): Must be: within the last 90 days from the current date. Must be: midnight UTC time. """ + @property def end_time_exclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time < - optional. @@ -2889,13 +3062,7 @@ class GetUsageRequest(google.protobuf.message.Message): Must be: within the last 90 days from the current date. Must be: midnight UTC time. """ - page_size: builtins.int - """The requested size of the page to retrieve - optional. - Each count corresponds to a single object - per day per namespace - Cannot exceed 1000. Defaults to 100. - """ - page_token: builtins.str - """The page token if this is continuing from another response - optional.""" + def __init__( self, *, @@ -2906,7 +3073,7 @@ class GetUsageRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time_exclusive", b"end_time_exclusive", "start_time_inclusive", @@ -2915,7 +3082,7 @@ class GetUsageRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time_exclusive", b"end_time_exclusive", "page_size", @@ -2927,13 +3094,16 @@ class GetUsageRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetUsageRequest = GetUsageRequest +Global___GetUsageRequest: typing_extensions.TypeAlias = GetUsageRequest +@typing.final class GetUsageResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SUMMARIES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def summaries( self, @@ -2943,8 +3113,7 @@ class GetUsageResponse(google.protobuf.message.Message): """The list of data based on granularity (per Day for now) Ordered by: time range in ascending order """ - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -2956,13 +3125,14 @@ class GetUsageResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "summaries", b"summaries" ], ) -> None: ... -global___GetUsageResponse = GetUsageResponse +Global___GetUsageResponse: typing_extensions.TypeAlias = GetUsageResponse +@typing.final class GetAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2970,8 +3140,9 @@ class GetAccountRequest(google.protobuf.message.Message): self, ) -> None: ... -global___GetAccountRequest = GetAccountRequest +Global___GetAccountRequest: typing_extensions.TypeAlias = GetAccountRequest +@typing.final class GetAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2979,29 +3150,26 @@ class GetAccountResponse(google.protobuf.message.Message): @property def account(self) -> temporalio.api.cloud.account.v1.message_pb2.Account: """The account.""" + def __init__( self, *, account: temporalio.api.cloud.account.v1.message_pb2.Account | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["account", b"account"] + self, field_name: typing.Literal["account", b"account"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["account", b"account"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["account", b"account"]) -> None: ... -global___GetAccountResponse = GetAccountResponse +Global___GetAccountResponse: typing_extensions.TypeAlias = GetAccountResponse +@typing.final class UpdateAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int RESOURCE_VERSION_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - @property - def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AccountSpec: - """The updated account specification to apply.""" resource_version: builtins.str """The version of the account for which this update is intended for. The latest version can be found in the GetAccount operation response. @@ -3010,6 +3178,10 @@ class UpdateAccountRequest(google.protobuf.message.Message): """The id to use for this async operation. Optional, if not provided a random id will be generated. """ + @property + def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AccountSpec: + """The updated account specification to apply.""" + def __init__( self, *, @@ -3018,11 +3190,11 @@ class UpdateAccountRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -3032,8 +3204,9 @@ class UpdateAccountRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateAccountRequest = UpdateAccountRequest +Global___UpdateAccountRequest: typing_extensions.TypeAlias = UpdateAccountRequest +@typing.final class UpdateAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3043,6 +3216,7 @@ class UpdateAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -3050,16 +3224,15 @@ class UpdateAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateAccountResponse = UpdateAccountResponse +Global___UpdateAccountResponse: typing_extensions.TypeAlias = UpdateAccountResponse +@typing.final class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3068,11 +3241,12 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace under which the sink is configured.""" + async_operation_id: builtins.str + """Optional. The ID to use for this async operation.""" @property def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: """The specification for the export sink.""" - async_operation_id: builtins.str - """Optional. The ID to use for this async operation.""" + def __init__( self, *, @@ -3081,11 +3255,11 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -3095,8 +3269,11 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -global___CreateNamespaceExportSinkRequest = CreateNamespaceExportSinkRequest +Global___CreateNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( + CreateNamespaceExportSinkRequest +) +@typing.final class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3106,6 +3283,7 @@ class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -3113,16 +3291,17 @@ class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___CreateNamespaceExportSinkResponse = CreateNamespaceExportSinkResponse +Global___CreateNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( + CreateNamespaceExportSinkResponse +) +@typing.final class GetNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3139,14 +3318,14 @@ class GetNamespaceExportSinkRequest(google.protobuf.message.Message): name: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", b"name", "namespace", b"namespace" - ], + self, field_name: typing.Literal["name", b"name", "namespace", b"namespace"] ) -> None: ... -global___GetNamespaceExportSinkRequest = GetNamespaceExportSinkRequest +Global___GetNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( + GetNamespaceExportSinkRequest +) +@typing.final class GetNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3154,20 +3333,22 @@ class GetNamespaceExportSinkResponse(google.protobuf.message.Message): @property def sink(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSink: """The export sink retrieved.""" + def __init__( self, *, sink: temporalio.api.cloud.namespace.v1.message_pb2.ExportSink | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["sink", b"sink"] + self, field_name: typing.Literal["sink", b"sink"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["sink", b"sink"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["sink", b"sink"]) -> None: ... -global___GetNamespaceExportSinkResponse = GetNamespaceExportSinkResponse +Global___GetNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( + GetNamespaceExportSinkResponse +) +@typing.final class GetNamespaceExportSinksRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3191,7 +3372,7 @@ class GetNamespaceExportSinksRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "page_size", @@ -3201,13 +3382,18 @@ class GetNamespaceExportSinksRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetNamespaceExportSinksRequest = GetNamespaceExportSinksRequest +Global___GetNamespaceExportSinksRequest: typing_extensions.TypeAlias = ( + GetNamespaceExportSinksRequest +) +@typing.final class GetNamespaceExportSinksResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SINKS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page token, set if there is another page.""" @property def sinks( self, @@ -3215,8 +3401,7 @@ class GetNamespaceExportSinksResponse(google.protobuf.message.Message): temporalio.api.cloud.namespace.v1.message_pb2.ExportSink ]: """The list of export sinks retrieved.""" - next_page_token: builtins.str - """The next page token, set if there is another page.""" + def __init__( self, *, @@ -3228,13 +3413,16 @@ class GetNamespaceExportSinksResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "sinks", b"sinks" ], ) -> None: ... -global___GetNamespaceExportSinksResponse = GetNamespaceExportSinksResponse +Global___GetNamespaceExportSinksResponse: typing_extensions.TypeAlias = ( + GetNamespaceExportSinksResponse +) +@typing.final class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3244,15 +3432,16 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace to which the sink belongs.""" - @property - def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: - """The updated export sink specification.""" resource_version: builtins.str """The version of the sink to update. The latest version can be retrieved using the GetNamespaceExportSink call. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" + @property + def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: + """The updated export sink specification.""" + def __init__( self, *, @@ -3262,11 +3451,11 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -3278,8 +3467,11 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateNamespaceExportSinkRequest = UpdateNamespaceExportSinkRequest +Global___UpdateNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( + UpdateNamespaceExportSinkRequest +) +@typing.final class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3289,6 +3481,7 @@ class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -3296,16 +3489,17 @@ class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateNamespaceExportSinkResponse = UpdateNamespaceExportSinkResponse +Global___UpdateNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( + UpdateNamespaceExportSinkResponse +) +@typing.final class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3333,7 +3527,7 @@ class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "name", @@ -3345,8 +3539,11 @@ class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteNamespaceExportSinkRequest = DeleteNamespaceExportSinkRequest +Global___DeleteNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( + DeleteNamespaceExportSinkRequest +) +@typing.final class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3356,6 +3553,7 @@ class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -3363,16 +3561,17 @@ class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteNamespaceExportSinkResponse = DeleteNamespaceExportSinkResponse +Global___DeleteNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( + DeleteNamespaceExportSinkResponse +) +@typing.final class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3383,6 +3582,7 @@ class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: """The export sink specification to validate.""" + def __init__( self, *, @@ -3390,17 +3590,17 @@ class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "spec", b"spec" - ], + self, field_name: typing.Literal["namespace", b"namespace", "spec", b"spec"] ) -> None: ... -global___ValidateNamespaceExportSinkRequest = ValidateNamespaceExportSinkRequest +Global___ValidateNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( + ValidateNamespaceExportSinkRequest +) +@typing.final class ValidateNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3408,11 +3608,15 @@ class ValidateNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ValidateNamespaceExportSinkResponse = ValidateNamespaceExportSinkResponse +Global___ValidateNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( + ValidateNamespaceExportSinkResponse +) +@typing.final class UpdateNamespaceTagsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class TagsToUpsertEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3427,8 +3631,7 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -3437,6 +3640,8 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace to set tags for.""" + async_operation_id: builtins.str + """The id to use for this async operation - optional.""" @property def tags_to_upsert( self, @@ -3445,6 +3650,7 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified. """ + @property def tags_to_remove( self, @@ -3453,8 +3659,7 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified. """ - async_operation_id: builtins.str - """The id to use for this async operation - optional.""" + def __init__( self, *, @@ -3466,7 +3671,7 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -3478,8 +3683,11 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateNamespaceTagsRequest = UpdateNamespaceTagsRequest +Global___UpdateNamespaceTagsRequest: typing_extensions.TypeAlias = ( + UpdateNamespaceTagsRequest +) +@typing.final class UpdateNamespaceTagsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3489,6 +3697,7 @@ class UpdateNamespaceTagsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -3496,30 +3705,32 @@ class UpdateNamespaceTagsResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateNamespaceTagsResponse = UpdateNamespaceTagsResponse +Global___UpdateNamespaceTagsResponse: typing_extensions.TypeAlias = ( + UpdateNamespaceTagsResponse +) +@typing.final class CreateConnectivityRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + async_operation_id: builtins.str + """The id to use for this async operation. + Optional, if not provided a random id will be generated. + """ @property def spec( self, ) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec: """The connectivity rule specification.""" - async_operation_id: builtins.str - """The id to use for this async operation. - Optional, if not provided a random id will be generated. - """ + def __init__( self, *, @@ -3528,17 +3739,20 @@ class CreateConnectivityRuleRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateConnectivityRuleRequest = CreateConnectivityRuleRequest +Global___CreateConnectivityRuleRequest: typing_extensions.TypeAlias = ( + CreateConnectivityRuleRequest +) +@typing.final class CreateConnectivityRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3551,6 +3765,7 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -3559,12 +3774,11 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "connectivity_rule_id", @@ -3572,8 +3786,11 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): ], ) -> None: ... -global___CreateConnectivityRuleResponse = CreateConnectivityRuleResponse +Global___CreateConnectivityRuleResponse: typing_extensions.TypeAlias = ( + CreateConnectivityRuleResponse +) +@typing.final class GetConnectivityRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3587,13 +3804,14 @@ class GetConnectivityRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "connectivity_rule_id", b"connectivity_rule_id" - ], + field_name: typing.Literal["connectivity_rule_id", b"connectivity_rule_id"], ) -> None: ... -global___GetConnectivityRuleRequest = GetConnectivityRuleRequest +Global___GetConnectivityRuleRequest: typing_extensions.TypeAlias = ( + GetConnectivityRuleRequest +) +@typing.final class GetConnectivityRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3609,20 +3827,17 @@ class GetConnectivityRuleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "connectivity_rule", b"connectivity_rule" - ], + self, field_name: typing.Literal["connectivity_rule", b"connectivity_rule"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "connectivity_rule", b"connectivity_rule" - ], + self, field_name: typing.Literal["connectivity_rule", b"connectivity_rule"] ) -> None: ... -global___GetConnectivityRuleResponse = GetConnectivityRuleResponse +Global___GetConnectivityRuleResponse: typing_extensions.TypeAlias = ( + GetConnectivityRuleResponse +) +@typing.final class GetConnectivityRulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3648,7 +3863,7 @@ class GetConnectivityRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "page_size", @@ -3658,13 +3873,18 @@ class GetConnectivityRulesRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetConnectivityRulesRequest = GetConnectivityRulesRequest +Global___GetConnectivityRulesRequest: typing_extensions.TypeAlias = ( + GetConnectivityRulesRequest +) +@typing.final class GetConnectivityRulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CONNECTIVITY_RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page token""" @property def connectivity_rules( self, @@ -3672,8 +3892,7 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule ]: """connectivity_rules returned""" - next_page_token: builtins.str - """The next page token""" + def __init__( self, *, @@ -3685,7 +3904,7 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "connectivity_rules", b"connectivity_rules", "next_page_token", @@ -3693,8 +3912,11 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): ], ) -> None: ... -global___GetConnectivityRulesResponse = GetConnectivityRulesResponse +Global___GetConnectivityRulesResponse: typing_extensions.TypeAlias = ( + GetConnectivityRulesResponse +) +@typing.final class DeleteConnectivityRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3720,7 +3942,7 @@ class DeleteConnectivityRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "connectivity_rule_id", @@ -3730,8 +3952,11 @@ class DeleteConnectivityRuleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteConnectivityRuleRequest = DeleteConnectivityRuleRequest +Global___DeleteConnectivityRuleRequest: typing_extensions.TypeAlias = ( + DeleteConnectivityRuleRequest +) +@typing.final class DeleteConnectivityRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3741,6 +3966,7 @@ class DeleteConnectivityRuleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" + def __init__( self, *, @@ -3748,16 +3974,17 @@ class DeleteConnectivityRuleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteConnectivityRuleResponse = DeleteConnectivityRuleResponse +Global___DeleteConnectivityRuleResponse: typing_extensions.TypeAlias = ( + DeleteConnectivityRuleResponse +) +@typing.final class GetAuditLogsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3774,9 +4001,11 @@ class GetAuditLogsRequest(google.protobuf.message.Message): @property def start_time_inclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time >= (defaults to 30 days ago) - optional.""" + @property def end_time_exclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time < (defaults to current time) - optional.""" + def __init__( self, *, @@ -3787,7 +4016,7 @@ class GetAuditLogsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time_exclusive", b"end_time_exclusive", "start_time_inclusive", @@ -3796,7 +4025,7 @@ class GetAuditLogsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time_exclusive", b"end_time_exclusive", "page_size", @@ -3808,13 +4037,16 @@ class GetAuditLogsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetAuditLogsRequest = GetAuditLogsRequest +Global___GetAuditLogsRequest: typing_extensions.TypeAlias = GetAuditLogsRequest +@typing.final class GetAuditLogsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor LOGS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def logs( self, @@ -3822,8 +4054,7 @@ class GetAuditLogsResponse(google.protobuf.message.Message): temporalio.api.cloud.auditlog.v1.message_pb2.LogRecord ]: """The list of audit logs ordered by emit time, log_id""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -3835,13 +4066,14 @@ class GetAuditLogsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "logs", b"logs", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetAuditLogsResponse = GetAuditLogsResponse +Global___GetAuditLogsResponse: typing_extensions.TypeAlias = GetAuditLogsResponse +@typing.final class ValidateAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3849,20 +4081,22 @@ class ValidateAccountAuditLogSinkRequest(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: """The audit log sink spec that will be validated""" + def __init__( self, *, spec: temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["spec", b"spec"]) -> None: ... -global___ValidateAccountAuditLogSinkRequest = ValidateAccountAuditLogSinkRequest +Global___ValidateAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( + ValidateAccountAuditLogSinkRequest +) +@typing.final class ValidateAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3870,18 +4104,22 @@ class ValidateAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ValidateAccountAuditLogSinkResponse = ValidateAccountAuditLogSinkResponse +Global___ValidateAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( + ValidateAccountAuditLogSinkResponse +) +@typing.final class CreateAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + async_operation_id: builtins.str + """Optional. The ID to use for this async operation.""" @property def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: """The specification for the audit log sink.""" - async_operation_id: builtins.str - """Optional. The ID to use for this async operation.""" + def __init__( self, *, @@ -3889,17 +4127,20 @@ class CreateAccountAuditLogSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateAccountAuditLogSinkRequest = CreateAccountAuditLogSinkRequest +Global___CreateAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( + CreateAccountAuditLogSinkRequest +) +@typing.final class CreateAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3909,6 +4150,7 @@ class CreateAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -3916,16 +4158,17 @@ class CreateAccountAuditLogSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___CreateAccountAuditLogSinkResponse = CreateAccountAuditLogSinkResponse +Global___CreateAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( + CreateAccountAuditLogSinkResponse +) +@typing.final class GetAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3937,12 +4180,13 @@ class GetAccountAuditLogSinkRequest(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... -global___GetAccountAuditLogSinkRequest = GetAccountAuditLogSinkRequest +Global___GetAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( + GetAccountAuditLogSinkRequest +) +@typing.final class GetAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3950,20 +4194,22 @@ class GetAccountAuditLogSinkResponse(google.protobuf.message.Message): @property def sink(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSink: """The audit log sink retrieved.""" + def __init__( self, *, sink: temporalio.api.cloud.account.v1.message_pb2.AuditLogSink | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["sink", b"sink"] + self, field_name: typing.Literal["sink", b"sink"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["sink", b"sink"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["sink", b"sink"]) -> None: ... -global___GetAccountAuditLogSinkResponse = GetAccountAuditLogSinkResponse +Global___GetAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( + GetAccountAuditLogSinkResponse +) +@typing.final class GetAccountAuditLogSinksRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3983,18 +4229,23 @@ class GetAccountAuditLogSinksRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -global___GetAccountAuditLogSinksRequest = GetAccountAuditLogSinksRequest +Global___GetAccountAuditLogSinksRequest: typing_extensions.TypeAlias = ( + GetAccountAuditLogSinksRequest +) +@typing.final class GetAccountAuditLogSinksResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SINKS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page token, set if there is another page.""" @property def sinks( self, @@ -4002,8 +4253,7 @@ class GetAccountAuditLogSinksResponse(google.protobuf.message.Message): temporalio.api.cloud.account.v1.message_pb2.AuditLogSink ]: """The list of audit log sinks retrieved.""" - next_page_token: builtins.str - """The next page token, set if there is another page.""" + def __init__( self, *, @@ -4015,28 +4265,32 @@ class GetAccountAuditLogSinksResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "sinks", b"sinks" ], ) -> None: ... -global___GetAccountAuditLogSinksResponse = GetAccountAuditLogSinksResponse +Global___GetAccountAuditLogSinksResponse: typing_extensions.TypeAlias = ( + GetAccountAuditLogSinksResponse +) +@typing.final class UpdateAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int RESOURCE_VERSION_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - @property - def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: - """The updated audit log sink specification.""" resource_version: builtins.str """The version of the audit log sink to update. The latest version can be retrieved using the GetAuditLogSink call. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" + @property + def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: + """The updated audit log sink specification.""" + def __init__( self, *, @@ -4045,11 +4299,11 @@ class UpdateAccountAuditLogSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -4059,8 +4313,11 @@ class UpdateAccountAuditLogSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateAccountAuditLogSinkRequest = UpdateAccountAuditLogSinkRequest +Global___UpdateAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( + UpdateAccountAuditLogSinkRequest +) +@typing.final class UpdateAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4070,6 +4327,7 @@ class UpdateAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -4077,16 +4335,17 @@ class UpdateAccountAuditLogSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateAccountAuditLogSinkResponse = UpdateAccountAuditLogSinkResponse +Global___UpdateAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( + UpdateAccountAuditLogSinkResponse +) +@typing.final class DeleteAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4110,7 +4369,7 @@ class DeleteAccountAuditLogSinkRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "name", @@ -4120,8 +4379,11 @@ class DeleteAccountAuditLogSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteAccountAuditLogSinkRequest = DeleteAccountAuditLogSinkRequest +Global___DeleteAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( + DeleteAccountAuditLogSinkRequest +) +@typing.final class DeleteAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4131,6 +4393,7 @@ class DeleteAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -4138,16 +4401,17 @@ class DeleteAccountAuditLogSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteAccountAuditLogSinkResponse = DeleteAccountAuditLogSinkResponse +Global___DeleteAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( + DeleteAccountAuditLogSinkResponse +) +@typing.final class GetNamespaceCapacityInfoRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4162,11 +4426,14 @@ class GetNamespaceCapacityInfoRequest(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] + self, field_name: typing.Literal["namespace", b"namespace"] ) -> None: ... -global___GetNamespaceCapacityInfoRequest = GetNamespaceCapacityInfoRequest +Global___GetNamespaceCapacityInfoRequest: typing_extensions.TypeAlias = ( + GetNamespaceCapacityInfoRequest +) +@typing.final class GetNamespaceCapacityInfoResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4176,6 +4443,7 @@ class GetNamespaceCapacityInfoResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceCapacityInfo: """Capacity information for the namespace.""" + def __init__( self, *, @@ -4183,24 +4451,28 @@ class GetNamespaceCapacityInfoResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["capacity_info", b"capacity_info"] + self, field_name: typing.Literal["capacity_info", b"capacity_info"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["capacity_info", b"capacity_info"] + self, field_name: typing.Literal["capacity_info", b"capacity_info"] ) -> None: ... -global___GetNamespaceCapacityInfoResponse = GetNamespaceCapacityInfoResponse +Global___GetNamespaceCapacityInfoResponse: typing_extensions.TypeAlias = ( + GetNamespaceCapacityInfoResponse +) +@typing.final class CreateBillingReportRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + async_operation_id: builtins.str + """Optional, if not provided a random id will be generated.""" @property def spec(self) -> temporalio.api.cloud.billing.v1.message_pb2.BillingReportSpec: """The specification for the billing report.""" - async_operation_id: builtins.str - """Optional, if not provided a random id will be generated.""" + def __init__( self, *, @@ -4209,17 +4481,20 @@ class CreateBillingReportRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateBillingReportRequest = CreateBillingReportRequest +Global___CreateBillingReportRequest: typing_extensions.TypeAlias = ( + CreateBillingReportRequest +) +@typing.final class CreateBillingReportResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4232,6 +4507,7 @@ class CreateBillingReportResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -4240,12 +4516,11 @@ class CreateBillingReportResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "billing_report_id", @@ -4253,8 +4528,11 @@ class CreateBillingReportResponse(google.protobuf.message.Message): ], ) -> None: ... -global___CreateBillingReportResponse = CreateBillingReportResponse +Global___CreateBillingReportResponse: typing_extensions.TypeAlias = ( + CreateBillingReportResponse +) +@typing.final class GetBillingReportRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4267,14 +4545,12 @@ class GetBillingReportRequest(google.protobuf.message.Message): billing_report_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "billing_report_id", b"billing_report_id" - ], + self, field_name: typing.Literal["billing_report_id", b"billing_report_id"] ) -> None: ... -global___GetBillingReportRequest = GetBillingReportRequest +Global___GetBillingReportRequest: typing_extensions.TypeAlias = GetBillingReportRequest +@typing.final class GetBillingReportResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4284,6 +4560,7 @@ class GetBillingReportResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.billing.v1.message_pb2.BillingReport: """The billing report retrieved.""" + def __init__( self, *, @@ -4291,14 +4568,17 @@ class GetBillingReportResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["billing_report", b"billing_report"] + self, field_name: typing.Literal["billing_report", b"billing_report"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["billing_report", b"billing_report"] + self, field_name: typing.Literal["billing_report", b"billing_report"] ) -> None: ... -global___GetBillingReportResponse = GetBillingReportResponse +Global___GetBillingReportResponse: typing_extensions.TypeAlias = ( + GetBillingReportResponse +) +@typing.final class GetCustomRolesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4318,18 +4598,21 @@ class GetCustomRolesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -global___GetCustomRolesRequest = GetCustomRolesRequest +Global___GetCustomRolesRequest: typing_extensions.TypeAlias = GetCustomRolesRequest +@typing.final class GetCustomRolesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CUSTOM_ROLES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page token.""" @property def custom_roles( self, @@ -4337,8 +4620,7 @@ class GetCustomRolesResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.CustomRole ]: """The list of custom roles in ascending ID order.""" - next_page_token: builtins.str - """The next page token.""" + def __init__( self, *, @@ -4350,13 +4632,14 @@ class GetCustomRolesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "custom_roles", b"custom_roles", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetCustomRolesResponse = GetCustomRolesResponse +Global___GetCustomRolesResponse: typing_extensions.TypeAlias = GetCustomRolesResponse +@typing.final class GetCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4368,12 +4651,11 @@ class GetCustomRoleRequest(google.protobuf.message.Message): *, role_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["role_id", b"role_id"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["role_id", b"role_id"]) -> None: ... -global___GetCustomRoleRequest = GetCustomRoleRequest +Global___GetCustomRoleRequest: typing_extensions.TypeAlias = GetCustomRoleRequest +@typing.final class GetCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4381,6 +4663,7 @@ class GetCustomRoleResponse(google.protobuf.message.Message): @property def custom_role(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRole: """The custom role retrieved.""" + def __init__( self, *, @@ -4388,26 +4671,28 @@ class GetCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["custom_role", b"custom_role"] + self, field_name: typing.Literal["custom_role", b"custom_role"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["custom_role", b"custom_role"] + self, field_name: typing.Literal["custom_role", b"custom_role"] ) -> None: ... -global___GetCustomRoleResponse = GetCustomRoleResponse +Global___GetCustomRoleResponse: typing_extensions.TypeAlias = GetCustomRoleResponse +@typing.final class CreateCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: - """The specification for the custom role to create.""" async_operation_id: builtins.str """The ID to use for this async operation. Optional, if not provided a random ID will be generated. """ + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: + """The specification for the custom role to create.""" + def __init__( self, *, @@ -4415,17 +4700,18 @@ class CreateCustomRoleRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -global___CreateCustomRoleRequest = CreateCustomRoleRequest +Global___CreateCustomRoleRequest: typing_extensions.TypeAlias = CreateCustomRoleRequest +@typing.final class CreateCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4438,6 +4724,7 @@ class CreateCustomRoleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -4446,18 +4733,20 @@ class CreateCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation", b"async_operation", "role_id", b"role_id" ], ) -> None: ... -global___CreateCustomRoleResponse = CreateCustomRoleResponse +Global___CreateCustomRoleResponse: typing_extensions.TypeAlias = ( + CreateCustomRoleResponse +) +@typing.final class UpdateCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4467,9 +4756,6 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int role_id: builtins.str """The ID of the custom role to update.""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: - """The new custom role specification.""" resource_version: builtins.str """The version of the custom role for which this update is intended. The latest version can be found in the GetCustomRole operation response. @@ -4478,6 +4764,10 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): """The ID to use for this async operation. Optional, if not provided a random ID will be generated. """ + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: + """The new custom role specification.""" + def __init__( self, *, @@ -4487,11 +4777,11 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -4503,8 +4793,9 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateCustomRoleRequest = UpdateCustomRoleRequest +Global___UpdateCustomRoleRequest: typing_extensions.TypeAlias = UpdateCustomRoleRequest +@typing.final class UpdateCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4514,6 +4805,7 @@ class UpdateCustomRoleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -4521,16 +4813,17 @@ class UpdateCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___UpdateCustomRoleResponse = UpdateCustomRoleResponse +Global___UpdateCustomRoleResponse: typing_extensions.TypeAlias = ( + UpdateCustomRoleResponse +) +@typing.final class DeleteCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4556,7 +4849,7 @@ class DeleteCustomRoleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -4566,8 +4859,9 @@ class DeleteCustomRoleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteCustomRoleRequest = DeleteCustomRoleRequest +Global___DeleteCustomRoleRequest: typing_extensions.TypeAlias = DeleteCustomRoleRequest +@typing.final class DeleteCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4577,6 +4871,7 @@ class DeleteCustomRoleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" + def __init__( self, *, @@ -4584,16 +4879,17 @@ class DeleteCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["async_operation", b"async_operation"], + self, field_name: typing.Literal["async_operation", b"async_operation"] ) -> None: ... -global___DeleteCustomRoleResponse = DeleteCustomRoleResponse +Global___DeleteCustomRoleResponse: typing_extensions.TypeAlias = ( + DeleteCustomRoleResponse +) +@typing.final class GetUserNamespaceAssignmentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4617,7 +4913,7 @@ class GetUserNamespaceAssignmentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "page_size", @@ -4627,13 +4923,18 @@ class GetUserNamespaceAssignmentsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetUserNamespaceAssignmentsRequest = GetUserNamespaceAssignmentsRequest +Global___GetUserNamespaceAssignmentsRequest: typing_extensions.TypeAlias = ( + GetUserNamespaceAssignmentsRequest +) +@typing.final class GetUserNamespaceAssignmentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor USERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def users( self, @@ -4641,8 +4942,7 @@ class GetUserNamespaceAssignmentsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserNamespaceAssignment ]: """The list of users with access to the namespace.""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -4654,13 +4954,16 @@ class GetUserNamespaceAssignmentsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "users", b"users" ], ) -> None: ... -global___GetUserNamespaceAssignmentsResponse = GetUserNamespaceAssignmentsResponse +Global___GetUserNamespaceAssignmentsResponse: typing_extensions.TypeAlias = ( + GetUserNamespaceAssignmentsResponse +) +@typing.final class GetServiceAccountNamespaceAssignmentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4684,7 +4987,7 @@ class GetServiceAccountNamespaceAssignmentsRequest(google.protobuf.message.Messa ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "page_size", @@ -4694,15 +4997,18 @@ class GetServiceAccountNamespaceAssignmentsRequest(google.protobuf.message.Messa ], ) -> None: ... -global___GetServiceAccountNamespaceAssignmentsRequest = ( +Global___GetServiceAccountNamespaceAssignmentsRequest: typing_extensions.TypeAlias = ( GetServiceAccountNamespaceAssignmentsRequest ) +@typing.final class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SERVICE_ACCOUNTS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def service_accounts( self, @@ -4710,8 +5016,7 @@ class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Mess temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountNamespaceAssignment ]: """The list of service accounts with access to the namespace.""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -4723,7 +5028,7 @@ class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Mess ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "service_accounts", @@ -4731,10 +5036,11 @@ class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Mess ], ) -> None: ... -global___GetServiceAccountNamespaceAssignmentsResponse = ( +Global___GetServiceAccountNamespaceAssignmentsResponse: typing_extensions.TypeAlias = ( GetServiceAccountNamespaceAssignmentsResponse ) +@typing.final class GetUserGroupNamespaceAssignmentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4758,7 +5064,7 @@ class GetUserGroupNamespaceAssignmentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "page_size", @@ -4768,15 +5074,18 @@ class GetUserGroupNamespaceAssignmentsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetUserGroupNamespaceAssignmentsRequest = ( +Global___GetUserGroupNamespaceAssignmentsRequest: typing_extensions.TypeAlias = ( GetUserGroupNamespaceAssignmentsRequest ) +@typing.final class GetUserGroupNamespaceAssignmentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUPS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.str + """The next page's token.""" @property def groups( self, @@ -4784,8 +5093,7 @@ class GetUserGroupNamespaceAssignmentsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserGroupNamespaceAssignment ]: """The list of user groups with access to the namespace.""" - next_page_token: builtins.str - """The next page's token.""" + def __init__( self, *, @@ -4797,11 +5105,11 @@ class GetUserGroupNamespaceAssignmentsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "groups", b"groups", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetUserGroupNamespaceAssignmentsResponse = ( +Global___GetUserGroupNamespaceAssignmentsResponse: typing_extensions.TypeAlias = ( GetUserGroupNamespaceAssignmentsResponse ) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py index bf947056a..6ca49f7d5 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,28 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc + +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/cloud/cloudservice/v1/request_response_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi index f3a5a087e..56d3cebc2 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi @@ -2,3 +2,23 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + +import abc +import collections.abc +import typing + +import grpc +import grpc.aio + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str diff --git a/temporalio/api/cloud/cloudservice/v1/service_pb2.py b/temporalio/api/cloud/cloudservice/v1/service_pb2.py index aca6662c2..b094174a3 100644 --- a/temporalio/api/cloud/cloudservice/v1/service_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/service_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/cloudservice/v1/service.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/cloudservice/v1/service.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,320 +34,409 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\x92\xd7\x01\n\x0c\x43loudService\x12\xb0\x02\n\x12GetCurrentIdentity\x12=.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse"\x9a\x01\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/current-identity\x92\x41x\n\x07\x41\x63\x63ount\x12\x14Get current identity\x1aWReturns information about the currently authenticated user or service account principal\x12\xa5\x02\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse"\xad\x01\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x92\x41\x95\x01\n\x05Users\x12\x0eList all users\x1a*Returns a list of all users in the account"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users*\tlistUsers\x12\x9c\x02\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse"\xa7\x01\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x92\x41\x85\x01\n\x05Users\x12\x0eGet user by ID\x1a%Takes a user ID, returns user details"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users\x12\xd0\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse"S\x82\xd3\xe4\x93\x02\x11"\x0c/cloud/users:\x01*\x92\x41\x39\n\x05Users\x12\rCreate a user\x1a!Creates a new user in the account\x12\xdb\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse"^\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/users/{user_id}:\x01*\x92\x41:\n\x05Users\x12\rUpdate a user\x1a"Updates an existing user\'s details\x12\xd5\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse"X\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x92\x41\x37\n\x05Users\x12\rDelete a user\x1a\x1fRemoves a user from the account\x12\xaa\x03\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse"\x88\x02\x82\xd3\xe4\x93\x02\x39"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x92\x41\xc5\x01\n\x05Users\x12\x19Set user namespace access\x1a\x38\x43onfigures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\x12@https://docs.temporal.io/cloud/users-namespace-level-permissions\x12\xb1\x02\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse"\x9e\x01\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x92\x41m\n\nOperations\x12\x1aGet async operation status\x1a\x43Returns the current status and details of an asynchronous operation\x12\xc6\x02\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse"\xb9\x01\x82\xd3\xe4\x93\x02\x16"\x11/cloud/namespaces:\x01*\x92\x41\x99\x01\n\nNamespaces\x12\x12\x43reate a namespace\x1a&Creates a new namespace in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xc7\x02\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse"\xc0\x01\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x92\x41\xa3\x01\n\nNamespaces\x12\x13List all namespaces\x1a/Returns a list of all namespaces in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xda\x02\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse"\xd6\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x92\x41\xad\x01\n\nNamespaces\x12\x15Get namespace details\x1a\x37Returns detailed information about a specific namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xdb\x02\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse"\xce\x01\x82\xd3\xe4\x93\x02""\x1d/cloud/namespaces/{namespace}:\x01*\x92\x41\xa2\x01\n\nNamespaces\x12\x12Update a namespace\x1a/Updates configuration for an existing namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xc7\x03\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse"\x96\x02\x82\xd3\xe4\x93\x02\x41".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse"\xf0\x01\x88\x02\x01\x82\xd3\xe4\x93\x02-"(/cloud/namespaces/{namespace}/add-region:\x01*\x92\x41\xb6\x01\n\x11High Availability\x12\x15\x41\x64\x64 namespace replica\x1a+Adds a new replica to an existing namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x12\x9e\x03\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse"\xff\x01\x88\x02\x01\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x92\x41\xc2\x01\n\x11High Availability\x12\x18Remove namespace replica\x1a\x34Removes a replica from a high availability namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x12\xa3\x02\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse"\xa5\x01\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x92\x41\x8b\x01\n\x07Regions\x12\x10List all regions\x1a-Returns a list of all available cloud regions"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x12\xb2\x02\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse"\xb7\x01\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x92\x41\x94\x01\n\x07Regions\x12\x12Get region details\x1a\x34Returns detailed information about a specific region"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x12\xa8\x02\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse"\xaa\x01\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11List all API keys\x1a-Returns a list of all API keys in the account"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xb8\x02\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse"\xbd\x01\x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x92\x41\x99\x01\n\x08\x41PI Keys\x12\x13Get API key details\x1a\x35Returns detailed information about a specific API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xb1\x02\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse"\xad\x01\x82\xd3\xe4\x93\x02\x14"\x0f/cloud/api-keys:\x01*\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11\x43reate an API key\x1a-Creates a new API key for programmatic access"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xb5\x02\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse"\xb1\x01\x82\xd3\xe4\x93\x02\x1d"\x18/cloud/api-keys/{key_id}:\x01*\x92\x41\x8a\x01\n\x08\x41PI Keys\x12\x11Update an API key\x1a(Updates an existing API key\'s properties"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xa8\x02\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x92\x41\x80\x01\n\x08\x41PI Keys\x12\x11\x44\x65lete an API key\x1a\x1eRevokes and deletes an API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xc3\x02\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse"\xb0\x01\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x92\x41\x8e\x01\n\x05Nexus\x12\x18List all Nexus endpoints\x1a\x34Returns a list of all Nexus endpoints in the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xd8\x02\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse"\xc8\x01\x82\xd3\xe4\x93\x02&\x12$/cloud/nexus/endpoints/{endpoint_id}\x92\x41\x98\x01\n\x05Nexus\x12\x1aGet Nexus endpoint details\x1a.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse"\xbc\x01\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/nexus/endpoints:\x01*\x92\x41\x97\x01\n\x05Nexus\x12\x17\x43reate a Nexus endpoint\x1a>Creates a new Nexus endpoint for cross-namespace communication"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xd7\x02\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse"\xbe\x01\x82\xd3\xe4\x93\x02)"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x92\x41\x8b\x01\n\x05Nexus\x12\x17Update a Nexus endpoint\x1a\x32Updates an existing Nexus endpoint\'s configuration"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xcb\x02\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse"\xb2\x01\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x92\x41\x82\x01\n\x05Nexus\x12\x17\x44\x65lete a Nexus endpoint\x1a)Removes a Nexus endpoint from the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xcc\x02\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x92\x41\xa7\x01\n\x06Groups\x12\x14List all user groups\x1a\x30Returns a list of all user groups in the account"U\n\x19User groups documentation\x12\x38https://docs.temporal.io/cloud/users-account-level-roles\x12\xd0\x02\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse"\xcc\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x92\x41\xa3\x01\n\x06Groups\x12\x16Get user group details\x1a\x38Returns detailed information about a specific user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xc7\x02\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse"\xba\x01\x82\xd3\xe4\x93\x02\x17"\x12/cloud/user-groups:\x01*\x92\x41\x99\x01\n\x06Groups\x12\x13\x43reate a user group\x1a\x31\x43reates a new user group for managing permissions"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xcc\x02\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse"\xbf\x01\x82\xd3\xe4\x93\x02""\x1d/cloud/user-groups/{group_id}:\x01*\x92\x41\x93\x01\n\x06Groups\x12\x13Update a user group\x1a+Updates an existing user group\'s properties"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xc3\x02\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse"\xb6\x01\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x92\x41\x8d\x01\n\x06Groups\x12\x13\x44\x65lete a user group\x1a%Removes a user group from the account"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xad\x03\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse"\xfc\x01\x82\xd3\xe4\x93\x02@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x92\x41\xb2\x01\n\x06Groups\x12\x1fSet user group namespace access\x1a>Configures a user group\'s permissions for a specific namespace"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xdf\x02\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse"\xc9\x01\x82\xd3\xe4\x93\x02*"%/cloud/user-groups/{group_id}/members:\x01*\x92\x41\x95\x01\n\x06Groups\x12\x11\x41\x64\x64 user to group\x1a/Adds a user to a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xf8\x02\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x30"+/cloud/user-groups/{group_id}/remove-member:\x01*\x92\x41\x9f\x01\n\x06Groups\x12\x16Remove user from group\x1a\x34Removes a user from a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xdf\x02\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse"\xc6\x01\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x92\x41\x95\x01\n\x06Groups\x12\x15List users in a group\x1a+Returns a list of all users in a user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xf5\x02\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x1c"\x17/cloud/service-accounts:\x01*\x92\x41\xb3\x01\n\x10Service Accounts\x12\x18\x43reate a service account\x1a\x32\x43reates a new service account for automated access"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\x8c\x03\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse"\xf9\x01\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x92\x41\xc1\x01\n\x10Service Accounts\x12\x1bGet service account details\x1a=Returns detailed information about a specific service account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xf0\x02\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse"\xda\x01\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x92\x41\xb7\x01\n\x10Service Accounts\x12\x19List all service accounts\x1a\x35Returns a list of all service accounts in the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\x88\x03\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse"\xec\x01\x82\xd3\xe4\x93\x02\x31",/cloud/service-accounts/{service_account_id}:\x01*\x92\x41\xb1\x01\n\x10Service Accounts\x12\x18Update a service account\x1a\x30Updates an existing service account\'s properties"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xe9\x03\n SetServiceAccountNamespaceAccess\x12K.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest\x1aL.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse"\xa9\x02\x82\xd3\xe4\x93\x02O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\x01*\x92\x41\xd0\x01\n\x10Service Accounts\x12$Set service account namespace access\x1a\x43\x43onfigures a service account\'s permissions for a specific namespace"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xff\x02\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse"\xe3\x01\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x92\x41\xab\x01\n\x10Service Accounts\x12\x18\x44\x65lete a service account\x1a*Removes a service account from the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xcb\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse"T\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x92\x41=\n\x07\x41\x63\x63ount\x12\x0eGet usage data\x1a Get usage data across namespacesX\x01\x12\xb0\x02\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse"\xb2\x01\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x92\x41\x98\x01\n\x07\x41\x63\x63ount\x12\x13Get account details\x1a.Returns detailed information about the account"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x12\xbb\x02\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse"\xb4\x01\x82\xd3\xe4\x93\x02\x13"\x0e/cloud/account:\x01*\x92\x41\x97\x01\n\x07\x41\x63\x63ount\x12\x16Update account details\x1a*Updates account configuration and settings"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x12\xf3\x02\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse"\xc8\x01\x82\xd3\xe4\x93\x02/"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x92\x41\x8f\x01\n\x06\x45xport\x12\x1a\x43reate history export sink\x1a*Creates a new workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x8c\x03\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse"\xea\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x92\x41\xad\x01\n\x06\x45xport\x12\x18Get history sink details\x1aJReturns detailed information about a specific workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x82\x03\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse"\xdd\x01\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x92\x41\xa7\x01\n\x06\x45xport\x12\x19List history export sinks\x1a\x43Returns a list of all workflow history export sinks for a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x95\x03\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse"\xea\x01\x82\xd3\xe4\x93\x02;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x92\x41\xa5\x01\n\x06\x45xport\x12\x1aUpdate history export sink\x1a@Updates an existing workflow history export sink\'s configuration"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x84\x03\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x92\x41\x9c\x01\n\x06\x45xport\x12\x1a\x44\x65lete history export sink\x1a\x37Removes a workflow history export sink from a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\xc9\x03\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse"\x98\x02\x82\xd3\xe4\x93\x02\x37"2/cloud/namespaces/{namespace}/export-sink-validate:\x01*\x92\x41\xd7\x01\n\x06\x45xport\x12*Validate history export sink configuration\x1a\x62Tests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\xfc\x02\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse"\xe3\x01\x82\xd3\xe4\x93\x02.")/cloud/namespaces/{namespace}/update-tags:\x01*\x92\x41\xab\x01\n\nNamespaces\x12\x15Update namespace tags\x1a,Updates the tags associated with a namespace"X\n\x1bNamespace tag documentation\x12\x39https://docs.temporal.io/cloud/namespaces#tag-a-namespace\x12\xff\x02\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse"\xdd\x01\x82\xd3\xe4\x93\x02\x1e"\x19/cloud/connectivity-rules:\x01*\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x18\x43reate connectivity rule\x1a:Creates a new connectivity rule for network access control"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\x94\x03\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse"\xfb\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x92\x41\xbf\x01\n\x12\x43onnectivity Rules\x12\x1dGet connectivity rule details\x1a?Returns detailed information about a specific connectivity rule"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\xf6\x02\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse"\xda\x01\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x1bList all connectivity rules\x1a\x37Returns a list of all connectivity rules in the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\x85\x03\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse"\xe3\x01\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}\x92\x41\xa7\x01\n\x12\x43onnectivity Rules\x12\x18\x44\x65lete connectivity rule\x1a,Removes a connectivity rule from the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\xe2\x02\n\x0cGetAuditLogs\x12\x37.temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse"\xde\x01\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/audit-logs\x92\x41\xc1\x01\n\x07\x41\x63\x63ount\x12\x0eGet audit logs\x1aYReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x12\xb4\x04\n\x1bValidateAccountAuditLogSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse"\x83\x03\x82\xd3\xe4\x93\x02#"\x1e/cloud/audit-log-sink-validate:\x01*\x92\x41\xd6\x02\n\x07\x41\x63\x63ount\x12\x17Validate audit log sink\x1a\xe4\x01Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x12\xf4\x02\n\x19\x43reateAccountAuditLogSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse"\xc9\x01\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/audit-log-sinks:\x01*\x92\x41\xa4\x01\n\x07\x41\x63\x63ount\x12\x15\x43reate audit log sink\x1a\x35\x43reates a new audit log sink for exporting audit logs"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x12\xfb\x02\n\x16GetAccountAuditLogSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/audit-log-sinks/{name}\x92\x41\xb0\x01\n\x07\x41\x63\x63ount\x12\x1aGet audit log sink details\x1a.temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse"\xc1\x01\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/billing-reports:\x01*\x92\x41\x9c\x01\n\x07\x42illing\x12\x17\x43reate a billing report\x1a(Creates a billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x12\xe6\x02\n\x10GetBillingReport\x12;.temporal.api.cloud.cloudservice.v1.GetBillingReportRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetBillingReportResponse"\xd6\x01\x82\xd3\xe4\x93\x02,\x12*/cloud/billing-reports/{billing_report_id}\x92\x41\xa0\x01\n\x07\x42illing\x12\x14Get a billing report\x1a/Gets an existing billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x12\xc4\x02\n\x0eGetCustomRoles\x12\x39.temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest\x1a:.temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse"\xba\x01\x82\xd3\xe4\x93\x02\x15\x12\x13/cloud/custom-roles\x92\x41\x9b\x01\n\x0c\x43ustom Roles\x12\x11List custom roles\x1a-Returns a list of custom roles in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xcc\x02\n\rGetCustomRole\x12\x38.temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/custom-roles/{role_id}\x92\x41\x9c\x01\n\x0c\x43ustom Roles\x12\x15Get custom role by ID\x1a*Returns details for a specific custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xcb\x02\n\x10\x43reateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse"\xbb\x01\x82\xd3\xe4\x93\x02\x18"\x13/cloud/custom-roles:\x01*\x92\x41\x99\x01\n\x0c\x43ustom Roles\x12\x14\x43reate a custom role\x1a(Creates a new custom role in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xcc\x02\n\x10UpdateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse"\xbc\x01\x82\xd3\xe4\x93\x02""\x1d/cloud/custom-roles/{role_id}:\x01*\x92\x41\x90\x01\n\x0c\x43ustom Roles\x12\x14Update a custom role\x1a\x1fUpdates an existing custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xd0\x02\n\x10\x44\x65leteCustomRole\x12;.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse"\xc0\x01\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/custom-roles/{role_id}\x92\x41\x97\x01\n\x0c\x43ustom Roles\x12\x14\x44\x65lete a custom role\x1a&Deletes a custom role from the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xb9\x03\n\x1bGetUserNamespaceAssignments\x12\x46.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsRequest\x1aG.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsResponse"\x88\x02\x82\xd3\xe4\x93\x02\x30\x12./cloud/namespaces/{namespace}/user-assignments\x92\x41\xce\x01\n\x05Users\x12$Get users with access to a namespace\x1a\x62Returns the users that have access to the namespace, including each user\'s namespace-level access.";\n\x13Users documentation\x12$https://docs.temporal.io/cloud/users\x12\xa5\x04\n%GetServiceAccountNamespaceAssignments\x12P.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsRequest\x1aQ.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsResponse"\xd6\x02\x82\xd3\xe4\x93\x02;\x12\x39/cloud/namespaces/{namespace}/service-account-assignments\x92\x41\x91\x02\n\x10Service Accounts\x12\x30List service accounts with access to a namespace\x1axReturns the service accounts that have access to the namespace, including each service account\'s namespace-level access."Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xe9\x03\n GetUserGroupNamespaceAssignments\x12K.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsRequest\x1aL.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsResponse"\xa9\x02\x82\xd3\xe4\x93\x02\x36\x12\x34/cloud/namespaces/{namespace}/user-group-assignments\x92\x41\xe9\x01\n\x06Groups\x12+List user groups with access to a namespace\x1aiReturns the user groups that have access to the namespace, including each group\'s namespace-level access."G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groupsB\xc1\x15\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1\x92\x41\xfd\x13\x12\xe0\r\n\x16Temporal Cloud Ops API\x12\x96\x0cProgrammatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\x03\x31.0:\xa7\x01\n\x06x-logo\x12\x9c\x01*\x99\x01\n\x96\x01\n\x03url\x12\x8e\x01\x1a\x8b\x01https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\x12 Manage Temporal Cloud namespacesj0\n\x05Users\x12\'Manage users and their namespace accessjF\n\x10Service Accounts\x12\x32Manage service accounts and their namespace accessj.\n\x08\x41PI Keys\x12"Manage API keys for authenticationj1\n\x06Groups\x12\'Manage user groups and group membershipj\x1f\n\x05Nexus\x12\x16Manage Nexus endpointsj\x7f\n\x11High Availability\x12jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\x06\x45xport\x12-Manage workflow history export configurationsj7\n\x12\x43onnectivity Rules\x12!Manage network connectivity rulesj"\n\x07Regions\x12\x17Query available regionsj,\n\x07\x41\x63\x63ount\x12!Manage account settings and usagej9\n\x0c\x43ustom Roles\x12)Manage custom roles and their permissionsj*\n\nOperations\x12\x1cQuery async operation statusr>\n\x1cTemporal Cloud Documentation\x12\x1ehttps://docs.temporal.io/cloudb\x06proto3' + b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\x92\xd7\x01\n\x0c\x43loudService\x12\xb0\x02\n\x12GetCurrentIdentity\x12=.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse"\x9a\x01\x92\x41x\n\x07\x41\x63\x63ount\x12\x14Get current identity\x1aWReturns information about the currently authenticated user or service account principal\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/current-identity\x12\xa5\x02\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse"\xad\x01\x92\x41\x95\x01\n\x05Users\x12\x0eList all users\x1a*Returns a list of all users in the account"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users*\tlistUsers\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x9c\x02\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse"\xa7\x01\x92\x41\x85\x01\n\x05Users\x12\x0eGet user by ID\x1a%Takes a user ID, returns user details"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\xd0\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse"S\x92\x41\x39\n\x05Users\x12\rCreate a user\x1a!Creates a new user in the account\x82\xd3\xe4\x93\x02\x11"\x0c/cloud/users:\x01*\x12\xdb\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse"^\x92\x41:\n\x05Users\x12\rUpdate a user\x1a"Updates an existing user\'s details\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/users/{user_id}:\x01*\x12\xd5\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse"X\x92\x41\x37\n\x05Users\x12\rDelete a user\x1a\x1fRemoves a user from the account\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xaa\x03\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse"\x88\x02\x92\x41\xc5\x01\n\x05Users\x12\x19Set user namespace access\x1a\x38\x43onfigures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\x12@https://docs.temporal.io/cloud/users-namespace-level-permissions\x82\xd3\xe4\x93\x02\x39"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xb1\x02\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse"\x9e\x01\x92\x41m\n\nOperations\x12\x1aGet async operation status\x1a\x43Returns the current status and details of an asynchronous operation\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xc6\x02\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse"\xb9\x01\x92\x41\x99\x01\n\nNamespaces\x12\x12\x43reate a namespace\x1a&Creates a new namespace in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x16"\x11/cloud/namespaces:\x01*\x12\xc7\x02\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse"\xc0\x01\x92\x41\xa3\x01\n\nNamespaces\x12\x13List all namespaces\x1a/Returns a list of all namespaces in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xda\x02\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse"\xd6\x01\x92\x41\xad\x01\n\nNamespaces\x12\x15Get namespace details\x1a\x37Returns detailed information about a specific namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xdb\x02\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse"\xce\x01\x92\x41\xa2\x01\n\nNamespaces\x12\x12Update a namespace\x1a/Updates configuration for an existing namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02""\x1d/cloud/namespaces/{namespace}:\x01*\x12\xc7\x03\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse"\x96\x02\x92\x41\xcb\x01\n\nNamespaces\x12\x1eRename custom search attribute\x1a\x30Renames a custom search attribute in a namespace"k\n&Custom Search Attributes documentation\x12\x41https://docs.temporal.io/search-attribute#custom-search-attribute\x82\xd3\xe4\x93\x02\x41".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse"\xf0\x01\x88\x02\x01\x92\x41\xb6\x01\n\x11High Availability\x12\x15\x41\x64\x64 namespace replica\x1a+Adds a new replica to an existing namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x82\xd3\xe4\x93\x02-"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\x9e\x03\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse"\xff\x01\x88\x02\x01\x92\x41\xc2\x01\n\x11High Availability\x12\x18Remove namespace replica\x1a\x34Removes a replica from a high availability namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\xa3\x02\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse"\xa5\x01\x92\x41\x8b\x01\n\x07Regions\x12\x10List all regions\x1a-Returns a list of all available cloud regions"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\xb2\x02\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse"\xb7\x01\x92\x41\x94\x01\n\x07Regions\x12\x12Get region details\x1a\x34Returns detailed information about a specific region"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\xa8\x02\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse"\xaa\x01\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11List all API keys\x1a-Returns a list of all API keys in the account"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\xb8\x02\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse"\xbd\x01\x92\x41\x99\x01\n\x08\x41PI Keys\x12\x13Get API key details\x1a\x35Returns detailed information about a specific API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\xb1\x02\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse"\xad\x01\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11\x43reate an API key\x1a-Creates a new API key for programmatic access"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x14"\x0f/cloud/api-keys:\x01*\x12\xb5\x02\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse"\xb1\x01\x92\x41\x8a\x01\n\x08\x41PI Keys\x12\x11Update an API key\x1a(Updates an existing API key\'s properties"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1d"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa8\x02\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse"\xa4\x01\x92\x41\x80\x01\n\x08\x41PI Keys\x12\x11\x44\x65lete an API key\x1a\x1eRevokes and deletes an API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xc3\x02\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse"\xb0\x01\x92\x41\x8e\x01\n\x05Nexus\x12\x18List all Nexus endpoints\x1a\x34Returns a list of all Nexus endpoints in the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xd8\x02\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse"\xc8\x01\x92\x41\x98\x01\n\x05Nexus\x12\x1aGet Nexus endpoint details\x1a.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse"\xbc\x01\x92\x41\x97\x01\n\x05Nexus\x12\x17\x43reate a Nexus endpoint\x1a>Creates a new Nexus endpoint for cross-namespace communication"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/nexus/endpoints:\x01*\x12\xd7\x02\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse"\xbe\x01\x92\x41\x8b\x01\n\x05Nexus\x12\x17Update a Nexus endpoint\x1a\x32Updates an existing Nexus endpoint\'s configuration"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02)"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xcb\x02\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse"\xb2\x01\x92\x41\x82\x01\n\x05Nexus\x12\x17\x44\x65lete a Nexus endpoint\x1a)Removes a Nexus endpoint from the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xcc\x02\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse"\xc5\x01\x92\x41\xa7\x01\n\x06Groups\x12\x14List all user groups\x1a\x30Returns a list of all user groups in the account"U\n\x19User groups documentation\x12\x38https://docs.temporal.io/cloud/users-account-level-roles\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xd0\x02\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse"\xcc\x01\x92\x41\xa3\x01\n\x06Groups\x12\x16Get user group details\x1a\x38Returns detailed information about a specific user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xc7\x02\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse"\xba\x01\x92\x41\x99\x01\n\x06Groups\x12\x13\x43reate a user group\x1a\x31\x43reates a new user group for managing permissions"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x17"\x12/cloud/user-groups:\x01*\x12\xcc\x02\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse"\xbf\x01\x92\x41\x93\x01\n\x06Groups\x12\x13Update a user group\x1a+Updates an existing user group\'s properties"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02""\x1d/cloud/user-groups/{group_id}:\x01*\x12\xc3\x02\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse"\xb6\x01\x92\x41\x8d\x01\n\x06Groups\x12\x13\x44\x65lete a user group\x1a%Removes a user group from the account"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xad\x03\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse"\xfc\x01\x92\x41\xb2\x01\n\x06Groups\x12\x1fSet user group namespace access\x1a>Configures a user group\'s permissions for a specific namespace"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xdf\x02\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse"\xc9\x01\x92\x41\x95\x01\n\x06Groups\x12\x11\x41\x64\x64 user to group\x1a/Adds a user to a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02*"%/cloud/user-groups/{group_id}/members:\x01*\x12\xf8\x02\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse"\xd9\x01\x92\x41\x9f\x01\n\x06Groups\x12\x16Remove user from group\x1a\x34Removes a user from a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x30"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xdf\x02\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse"\xc6\x01\x92\x41\x95\x01\n\x06Groups\x12\x15List users in a group\x1a+Returns a list of all users in a user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xf5\x02\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse"\xd9\x01\x92\x41\xb3\x01\n\x10Service Accounts\x12\x18\x43reate a service account\x1a\x32\x43reates a new service account for automated access"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x1c"\x17/cloud/service-accounts:\x01*\x12\x8c\x03\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse"\xf9\x01\x92\x41\xc1\x01\n\x10Service Accounts\x12\x1bGet service account details\x1a=Returns detailed information about a specific service account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xf0\x02\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse"\xda\x01\x92\x41\xb7\x01\n\x10Service Accounts\x12\x19List all service accounts\x1a\x35Returns a list of all service accounts in the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\x88\x03\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse"\xec\x01\x92\x41\xb1\x01\n\x10Service Accounts\x12\x18Update a service account\x1a\x30Updates an existing service account\'s properties"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x31",/cloud/service-accounts/{service_account_id}:\x01*\x12\xe9\x03\n SetServiceAccountNamespaceAccess\x12K.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest\x1aL.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse"\xa9\x02\x92\x41\xd0\x01\n\x10Service Accounts\x12$Set service account namespace access\x1a\x43\x43onfigures a service account\'s permissions for a specific namespace"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\x01*\x12\xff\x02\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse"\xe3\x01\x92\x41\xab\x01\n\x10Service Accounts\x12\x18\x44\x65lete a service account\x1a*Removes a service account from the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\xcb\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse"T\x92\x41=\n\x07\x41\x63\x63ount\x12\x0eGet usage data\x1a Get usage data across namespacesX\x01\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\xb0\x02\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse"\xb2\x01\x92\x41\x98\x01\n\x07\x41\x63\x63ount\x12\x13Get account details\x1a.Returns detailed information about the account"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\xbb\x02\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse"\xb4\x01\x92\x41\x97\x01\n\x07\x41\x63\x63ount\x12\x16Update account details\x1a*Updates account configuration and settings"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x82\xd3\xe4\x93\x02\x13"\x0e/cloud/account:\x01*\x12\xf3\x02\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse"\xc8\x01\x92\x41\x8f\x01\n\x06\x45xport\x12\x1a\x43reate history export sink\x1a*Creates a new workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02/"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\x8c\x03\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse"\xea\x01\x92\x41\xad\x01\n\x06\x45xport\x12\x18Get history sink details\x1aJReturns detailed information about a specific workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\x82\x03\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse"\xdd\x01\x92\x41\xa7\x01\n\x06\x45xport\x12\x19List history export sinks\x1a\x43Returns a list of all workflow history export sinks for a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\x95\x03\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse"\xea\x01\x92\x41\xa5\x01\n\x06\x45xport\x12\x1aUpdate history export sink\x1a@Updates an existing workflow history export sink\'s configuration"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\x84\x03\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse"\xd9\x01\x92\x41\x9c\x01\n\x06\x45xport\x12\x1a\x44\x65lete history export sink\x1a\x37Removes a workflow history export sink from a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xc9\x03\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse"\x98\x02\x92\x41\xd7\x01\n\x06\x45xport\x12*Validate history export sink configuration\x1a\x62Tests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x37"2/cloud/namespaces/{namespace}/export-sink-validate:\x01*\x12\xfc\x02\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse"\xe3\x01\x92\x41\xab\x01\n\nNamespaces\x12\x15Update namespace tags\x1a,Updates the tags associated with a namespace"X\n\x1bNamespace tag documentation\x12\x39https://docs.temporal.io/cloud/namespaces#tag-a-namespace\x82\xd3\xe4\x93\x02.")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xff\x02\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse"\xdd\x01\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x18\x43reate connectivity rule\x1a:Creates a new connectivity rule for network access control"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x1e"\x19/cloud/connectivity-rules:\x01*\x12\x94\x03\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse"\xfb\x01\x92\x41\xbf\x01\n\x12\x43onnectivity Rules\x12\x1dGet connectivity rule details\x1a?Returns detailed information about a specific connectivity rule"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xf6\x02\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse"\xda\x01\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x1bList all connectivity rules\x1a\x37Returns a list of all connectivity rules in the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\x85\x03\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse"\xe3\x01\x92\x41\xa7\x01\n\x12\x43onnectivity Rules\x12\x18\x44\x65lete connectivity rule\x1a,Removes a connectivity rule from the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}\x12\xe2\x02\n\x0cGetAuditLogs\x12\x37.temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse"\xde\x01\x92\x41\xc1\x01\n\x07\x41\x63\x63ount\x12\x0eGet audit logs\x1aYReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/audit-logs\x12\xb4\x04\n\x1bValidateAccountAuditLogSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse"\x83\x03\x92\x41\xd6\x02\n\x07\x41\x63\x63ount\x12\x17Validate audit log sink\x1a\xe4\x01Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02#"\x1e/cloud/audit-log-sink-validate:\x01*\x12\xf4\x02\n\x19\x43reateAccountAuditLogSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse"\xc9\x01\x92\x41\xa4\x01\n\x07\x41\x63\x63ount\x12\x15\x43reate audit log sink\x1a\x35\x43reates a new audit log sink for exporting audit logs"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/audit-log-sinks:\x01*\x12\xfb\x02\n\x16GetAccountAuditLogSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse"\xd9\x01\x92\x41\xb0\x01\n\x07\x41\x63\x63ount\x12\x1aGet audit log sink details\x1a.temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse"\xc1\x01\x92\x41\x9c\x01\n\x07\x42illing\x12\x17\x43reate a billing report\x1a(Creates a billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/billing-reports:\x01*\x12\xe6\x02\n\x10GetBillingReport\x12;.temporal.api.cloud.cloudservice.v1.GetBillingReportRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetBillingReportResponse"\xd6\x01\x92\x41\xa0\x01\n\x07\x42illing\x12\x14Get a billing report\x1a/Gets an existing billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x82\xd3\xe4\x93\x02,\x12*/cloud/billing-reports/{billing_report_id}\x12\xc4\x02\n\x0eGetCustomRoles\x12\x39.temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest\x1a:.temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse"\xba\x01\x92\x41\x9b\x01\n\x0c\x43ustom Roles\x12\x11List custom roles\x1a-Returns a list of custom roles in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x15\x12\x13/cloud/custom-roles\x12\xcc\x02\n\rGetCustomRole\x12\x38.temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse"\xc5\x01\x92\x41\x9c\x01\n\x0c\x43ustom Roles\x12\x15Get custom role by ID\x1a*Returns details for a specific custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/custom-roles/{role_id}\x12\xcb\x02\n\x10\x43reateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse"\xbb\x01\x92\x41\x99\x01\n\x0c\x43ustom Roles\x12\x14\x43reate a custom role\x1a(Creates a new custom role in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x18"\x13/cloud/custom-roles:\x01*\x12\xcc\x02\n\x10UpdateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse"\xbc\x01\x92\x41\x90\x01\n\x0c\x43ustom Roles\x12\x14Update a custom role\x1a\x1fUpdates an existing custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02""\x1d/cloud/custom-roles/{role_id}:\x01*\x12\xd0\x02\n\x10\x44\x65leteCustomRole\x12;.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse"\xc0\x01\x92\x41\x97\x01\n\x0c\x43ustom Roles\x12\x14\x44\x65lete a custom role\x1a&Deletes a custom role from the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/custom-roles/{role_id}\x12\xb9\x03\n\x1bGetUserNamespaceAssignments\x12\x46.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsRequest\x1aG.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsResponse"\x88\x02\x92\x41\xce\x01\n\x05Users\x12$Get users with access to a namespace\x1a\x62Returns the users that have access to the namespace, including each user\'s namespace-level access.";\n\x13Users documentation\x12$https://docs.temporal.io/cloud/users\x82\xd3\xe4\x93\x02\x30\x12./cloud/namespaces/{namespace}/user-assignments\x12\xa5\x04\n%GetServiceAccountNamespaceAssignments\x12P.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsRequest\x1aQ.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsResponse"\xd6\x02\x92\x41\x91\x02\n\x10Service Accounts\x12\x30List service accounts with access to a namespace\x1axReturns the service accounts that have access to the namespace, including each service account\'s namespace-level access."Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02;\x12\x39/cloud/namespaces/{namespace}/service-account-assignments\x12\xe9\x03\n GetUserGroupNamespaceAssignments\x12K.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsRequest\x1aL.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsResponse"\xa9\x02\x92\x41\xe9\x01\n\x06Groups\x12+List user groups with access to a namespace\x1aiReturns the user groups that have access to the namespace, including each group\'s namespace-level access."G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x36\x12\x34/cloud/namespaces/{namespace}/user-group-assignmentsB\xc1\x15\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1\x92\x41\xfd\x13\x12\xe0\r\n\x16Temporal Cloud Ops API\x12\x96\x0cProgrammatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\x03\x31.0:\xa7\x01\n\x06x-logo\x12\x9c\x01*\x99\x01\n\x96\x01\n\x03url\x12\x8e\x01\x1a\x8b\x01https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\x12 Manage Temporal Cloud namespacesj0\n\x05Users\x12\'Manage users and their namespace accessjF\n\x10Service Accounts\x12\x32Manage service accounts and their namespace accessj.\n\x08\x41PI Keys\x12"Manage API keys for authenticationj1\n\x06Groups\x12\'Manage user groups and group membershipj\x1f\n\x05Nexus\x12\x16Manage Nexus endpointsj\x7f\n\x11High Availability\x12jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\x06\x45xport\x12-Manage workflow history export configurationsj7\n\x12\x43onnectivity Rules\x12!Manage network connectivity rulesj"\n\x07Regions\x12\x17Query available regionsj,\n\x07\x41\x63\x63ount\x12!Manage account settings and usagej9\n\x0c\x43ustom Roles\x12)Manage custom roles and their permissionsj*\n\nOperations\x12\x1cQuery async operation statusr>\n\x1cTemporal Cloud Documentation\x12\x1ehttps://docs.temporal.io/cloudb\x06proto3' ) - -_CLOUDSERVICE = DESCRIPTOR.services_by_name["CloudService"] -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1\222A\375\023\022\340\r\n\026Temporal Cloud Ops API\022\226\014Programmatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\0031.0:\247\001\n\006x-logo\022\234\001*\231\001\n\226\001\n\003url\022\216\001\032\213\001https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\022 Manage Temporal Cloud namespacesj0\n\005Users\022'Manage users and their namespace accessjF\n\020Service Accounts\0222Manage service accounts and their namespace accessj.\n\010API Keys\022\"Manage API keys for authenticationj1\n\006Groups\022'Manage user groups and group membershipj\037\n\005Nexus\022\026Manage Nexus endpointsj\177\n\021High Availability\022jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\006Export\022-Manage workflow history export configurationsj7\n\022Connectivity Rules\022!Manage network connectivity rulesj\"\n\007Regions\022\027Query available regionsj,\n\007Account\022!Manage account settings and usagej9\n\014Custom Roles\022)Manage custom roles and their permissionsj*\n\nOperations\022\034Query async operation statusr>\n\034Temporal Cloud Documentation\022\036https://docs.temporal.io/cloud" - _CLOUDSERVICE.methods_by_name["GetCurrentIdentity"]._options = None - _CLOUDSERVICE.methods_by_name[ +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.cloudservice.v1.service_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1\222A\375\023\022\340\r\n\026Temporal Cloud Ops API\022\226\014Programmatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\0031.0:\247\001\n\006x-logo\022\234\001*\231\001\n\226\001\n\003url\022\216\001\032\213\001https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\022 Manage Temporal Cloud namespacesj0\n\005Users\022'Manage users and their namespace accessjF\n\020Service Accounts\0222Manage service accounts and their namespace accessj.\n\010API Keys\022\"Manage API keys for authenticationj1\n\006Groups\022'Manage user groups and group membershipj\037\n\005Nexus\022\026Manage Nexus endpointsj\177\n\021High Availability\022jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\006Export\022-Manage workflow history export configurationsj7\n\022Connectivity Rules\022!Manage network connectivity rulesj\"\n\007Regions\022\027Query available regionsj,\n\007Account\022!Manage account settings and usagej9\n\014Custom Roles\022)Manage custom roles and their permissionsj*\n\nOperations\022\034Query async operation statusr>\n\034Temporal Cloud Documentation\022\036https://docs.temporal.io/cloud" + _globals["_CLOUDSERVICE"].methods_by_name[ "GetCurrentIdentity" - ]._serialized_options = b"\202\323\344\223\002\031\022\027/cloud/current-identity\222Ax\n\007Account\022\024Get current identity\032WReturns information about the currently authenticated user or service account principal" - _CLOUDSERVICE.methods_by_name["GetUsers"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetCurrentIdentity" + ]._serialized_options = b"\222Ax\n\007Account\022\024Get current identity\032WReturns information about the currently authenticated user or service account principal\202\323\344\223\002\031\022\027/cloud/current-identity" + _globals["_CLOUDSERVICE"].methods_by_name["GetUsers"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetUsers" - ]._serialized_options = b'\202\323\344\223\002\016\022\014/cloud/users\222A\225\001\n\005Users\022\016List all users\032*Returns a list of all users in the account"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users*\tlistUsers' - _CLOUDSERVICE.methods_by_name["GetUser"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\225\001\n\005Users\022\016List all users\032*Returns a list of all users in the account"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users*\tlistUsers\202\323\344\223\002\016\022\014/cloud/users' + _globals["_CLOUDSERVICE"].methods_by_name["GetUser"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetUser" - ]._serialized_options = b'\202\323\344\223\002\030\022\026/cloud/users/{user_id}\222A\205\001\n\005Users\022\016Get user by ID\032%Takes a user ID, returns user details"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users' - _CLOUDSERVICE.methods_by_name["CreateUser"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\205\001\n\005Users\022\016Get user by ID\032%Takes a user ID, returns user details"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users\202\323\344\223\002\030\022\026/cloud/users/{user_id}' + _globals["_CLOUDSERVICE"].methods_by_name["CreateUser"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "CreateUser" - ]._serialized_options = b'\202\323\344\223\002\021"\014/cloud/users:\001*\222A9\n\005Users\022\rCreate a user\032!Creates a new user in the account' - _CLOUDSERVICE.methods_by_name["UpdateUser"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A9\n\005Users\022\rCreate a user\032!Creates a new user in the account\202\323\344\223\002\021"\014/cloud/users:\001*' + _globals["_CLOUDSERVICE"].methods_by_name["UpdateUser"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateUser" - ]._serialized_options = b'\202\323\344\223\002\033"\026/cloud/users/{user_id}:\001*\222A:\n\005Users\022\rUpdate a user\032"Updates an existing user\'s details' - _CLOUDSERVICE.methods_by_name["DeleteUser"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A:\n\005Users\022\rUpdate a user\032"Updates an existing user\'s details\202\323\344\223\002\033"\026/cloud/users/{user_id}:\001*' + _globals["_CLOUDSERVICE"].methods_by_name["DeleteUser"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "DeleteUser" - ]._serialized_options = b"\202\323\344\223\002\030*\026/cloud/users/{user_id}\222A7\n\005Users\022\rDelete a user\032\037Removes a user from the account" - _CLOUDSERVICE.methods_by_name["SetUserNamespaceAccess"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b"\222A7\n\005Users\022\rDelete a user\032\037Removes a user from the account\202\323\344\223\002\030*\026/cloud/users/{user_id}" + _globals["_CLOUDSERVICE"].methods_by_name[ + "SetUserNamespaceAccess" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "SetUserNamespaceAccess" - ]._serialized_options = b'\202\323\344\223\0029"4/cloud/namespaces/{namespace}/users/{user_id}/access:\001*\222A\305\001\n\005Users\022\031Set user namespace access\0328Configures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\022@https://docs.temporal.io/cloud/users-namespace-level-permissions' - _CLOUDSERVICE.methods_by_name["GetAsyncOperation"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\305\001\n\005Users\022\031Set user namespace access\0328Configures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\022@https://docs.temporal.io/cloud/users-namespace-level-permissions\202\323\344\223\0029"4/cloud/namespaces/{namespace}/users/{user_id}/access:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetAsyncOperation" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetAsyncOperation" - ]._serialized_options = b"\202\323\344\223\002(\022&/cloud/operations/{async_operation_id}\222Am\n\nOperations\022\032Get async operation status\032CReturns the current status and details of an asynchronous operation" - _CLOUDSERVICE.methods_by_name["CreateNamespace"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b"\222Am\n\nOperations\022\032Get async operation status\032CReturns the current status and details of an asynchronous operation\202\323\344\223\002(\022&/cloud/operations/{async_operation_id}" + _globals["_CLOUDSERVICE"].methods_by_name["CreateNamespace"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "CreateNamespace" - ]._serialized_options = b'\202\323\344\223\002\026"\021/cloud/namespaces:\001*\222A\231\001\n\nNamespaces\022\022Create a namespace\032&Creates a new namespace in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' - _CLOUDSERVICE.methods_by_name["GetNamespaces"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\231\001\n\nNamespaces\022\022Create a namespace\032&Creates a new namespace in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002\026"\021/cloud/namespaces:\001*' + _globals["_CLOUDSERVICE"].methods_by_name["GetNamespaces"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetNamespaces" - ]._serialized_options = b'\202\323\344\223\002\023\022\021/cloud/namespaces\222A\243\001\n\nNamespaces\022\023List all namespaces\032/Returns a list of all namespaces in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' - _CLOUDSERVICE.methods_by_name["GetNamespace"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\243\001\n\nNamespaces\022\023List all namespaces\032/Returns a list of all namespaces in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002\023\022\021/cloud/namespaces' + _globals["_CLOUDSERVICE"].methods_by_name["GetNamespace"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetNamespace" - ]._serialized_options = b'\202\323\344\223\002\037\022\035/cloud/namespaces/{namespace}\222A\255\001\n\nNamespaces\022\025Get namespace details\0327Returns detailed information about a specific namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' - _CLOUDSERVICE.methods_by_name["UpdateNamespace"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\255\001\n\nNamespaces\022\025Get namespace details\0327Returns detailed information about a specific namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002\037\022\035/cloud/namespaces/{namespace}' + _globals["_CLOUDSERVICE"].methods_by_name["UpdateNamespace"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateNamespace" - ]._serialized_options = b'\202\323\344\223\002""\035/cloud/namespaces/{namespace}:\001*\222A\242\001\n\nNamespaces\022\022Update a namespace\032/Updates configuration for an existing namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' - _CLOUDSERVICE.methods_by_name["RenameCustomSearchAttribute"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\242\001\n\nNamespaces\022\022Update a namespace\032/Updates configuration for an existing namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002""\035/cloud/namespaces/{namespace}:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ "RenameCustomSearchAttribute" - ]._serialized_options = b'\202\323\344\223\002A"Creates a new Nexus endpoint for cross-namespace communication"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus' - _CLOUDSERVICE.methods_by_name["UpdateNexusEndpoint"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\227\001\n\005Nexus\022\027Create a Nexus endpoint\032>Creates a new Nexus endpoint for cross-namespace communication"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus\202\323\344\223\002\033"\026/cloud/nexus/endpoints:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateNexusEndpoint" - ]._serialized_options = b'\202\323\344\223\002)"$/cloud/nexus/endpoints/{endpoint_id}:\001*\222A\213\001\n\005Nexus\022\027Update a Nexus endpoint\0322Updates an existing Nexus endpoint\'s configuration"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus' - _CLOUDSERVICE.methods_by_name["DeleteNexusEndpoint"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "UpdateNexusEndpoint" + ]._serialized_options = b'\222A\213\001\n\005Nexus\022\027Update a Nexus endpoint\0322Updates an existing Nexus endpoint\'s configuration"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus\202\323\344\223\002)"$/cloud/nexus/endpoints/{endpoint_id}:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "DeleteNexusEndpoint" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "DeleteNexusEndpoint" - ]._serialized_options = b'\202\323\344\223\002&*$/cloud/nexus/endpoints/{endpoint_id}\222A\202\001\n\005Nexus\022\027Delete a Nexus endpoint\032)Removes a Nexus endpoint from the account"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus' - _CLOUDSERVICE.methods_by_name["GetUserGroups"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\202\001\n\005Nexus\022\027Delete a Nexus endpoint\032)Removes a Nexus endpoint from the account"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus\202\323\344\223\002&*$/cloud/nexus/endpoints/{endpoint_id}' + _globals["_CLOUDSERVICE"].methods_by_name["GetUserGroups"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetUserGroups" - ]._serialized_options = b'\202\323\344\223\002\024\022\022/cloud/user-groups\222A\247\001\n\006Groups\022\024List all user groups\0320Returns a list of all user groups in the account"U\n\031User groups documentation\0228https://docs.temporal.io/cloud/users-account-level-roles' - _CLOUDSERVICE.methods_by_name["GetUserGroup"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\247\001\n\006Groups\022\024List all user groups\0320Returns a list of all user groups in the account"U\n\031User groups documentation\0228https://docs.temporal.io/cloud/users-account-level-roles\202\323\344\223\002\024\022\022/cloud/user-groups' + _globals["_CLOUDSERVICE"].methods_by_name["GetUserGroup"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetUserGroup" - ]._serialized_options = b'\202\323\344\223\002\037\022\035/cloud/user-groups/{group_id}\222A\243\001\n\006Groups\022\026Get user group details\0328Returns detailed information about a specific user group"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' - _CLOUDSERVICE.methods_by_name["CreateUserGroup"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\243\001\n\006Groups\022\026Get user group details\0328Returns detailed information about a specific user group"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002\037\022\035/cloud/user-groups/{group_id}' + _globals["_CLOUDSERVICE"].methods_by_name["CreateUserGroup"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "CreateUserGroup" - ]._serialized_options = b'\202\323\344\223\002\027"\022/cloud/user-groups:\001*\222A\231\001\n\006Groups\022\023Create a user group\0321Creates a new user group for managing permissions"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' - _CLOUDSERVICE.methods_by_name["UpdateUserGroup"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\231\001\n\006Groups\022\023Create a user group\0321Creates a new user group for managing permissions"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002\027"\022/cloud/user-groups:\001*' + _globals["_CLOUDSERVICE"].methods_by_name["UpdateUserGroup"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateUserGroup" - ]._serialized_options = b'\202\323\344\223\002""\035/cloud/user-groups/{group_id}:\001*\222A\223\001\n\006Groups\022\023Update a user group\032+Updates an existing user group\'s properties"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' - _CLOUDSERVICE.methods_by_name["DeleteUserGroup"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\223\001\n\006Groups\022\023Update a user group\032+Updates an existing user group\'s properties"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002""\035/cloud/user-groups/{group_id}:\001*' + _globals["_CLOUDSERVICE"].methods_by_name["DeleteUserGroup"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "DeleteUserGroup" - ]._serialized_options = b'\202\323\344\223\002\037*\035/cloud/user-groups/{group_id}\222A\215\001\n\006Groups\022\023Delete a user group\032%Removes a user group from the account"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' - _CLOUDSERVICE.methods_by_name["SetUserGroupNamespaceAccess"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\215\001\n\006Groups\022\023Delete a user group\032%Removes a user group from the account"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002\037*\035/cloud/user-groups/{group_id}' + _globals["_CLOUDSERVICE"].methods_by_name[ + "SetUserGroupNamespaceAccess" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "SetUserGroupNamespaceAccess" - ]._serialized_options = b'\202\323\344\223\002@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\001*\222A\262\001\n\006Groups\022\037Set user group namespace access\032>Configures a user group\'s permissions for a specific namespace"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' - _CLOUDSERVICE.methods_by_name["AddUserGroupMember"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\262\001\n\006Groups\022\037Set user group namespace access\032>Configures a user group\'s permissions for a specific namespace"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ "AddUserGroupMember" - ]._serialized_options = b'\202\323\344\223\002*"%/cloud/user-groups/{group_id}/members:\001*\222A\225\001\n\006Groups\022\021Add user to group\032/Adds a user to a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' - _CLOUDSERVICE.methods_by_name["RemoveUserGroupMember"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "AddUserGroupMember" + ]._serialized_options = b'\222A\225\001\n\006Groups\022\021Add user to group\032/Adds a user to a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002*"%/cloud/user-groups/{group_id}/members:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "RemoveUserGroupMember" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "RemoveUserGroupMember" - ]._serialized_options = b'\202\323\344\223\0020"+/cloud/user-groups/{group_id}/remove-member:\001*\222A\237\001\n\006Groups\022\026Remove user from group\0324Removes a user from a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' - _CLOUDSERVICE.methods_by_name["GetUserGroupMembers"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\237\001\n\006Groups\022\026Remove user from group\0324Removes a user from a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\0020"+/cloud/user-groups/{group_id}/remove-member:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetUserGroupMembers" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetUserGroupMembers" - ]._serialized_options = b"\202\323\344\223\002'\022%/cloud/user-groups/{group_id}/members\222A\225\001\n\006Groups\022\025List users in a group\032+Returns a list of all users in a user group\"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups" - _CLOUDSERVICE.methods_by_name["CreateServiceAccount"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b"\222A\225\001\n\006Groups\022\025List users in a group\032+Returns a list of all users in a user group\"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002'\022%/cloud/user-groups/{group_id}/members" + _globals["_CLOUDSERVICE"].methods_by_name[ "CreateServiceAccount" - ]._serialized_options = b'\202\323\344\223\002\034"\027/cloud/service-accounts:\001*\222A\263\001\n\020Service Accounts\022\030Create a service account\0322Creates a new service account for automated access"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' - _CLOUDSERVICE.methods_by_name["GetServiceAccount"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "CreateServiceAccount" + ]._serialized_options = b'\222A\263\001\n\020Service Accounts\022\030Create a service account\0322Creates a new service account for automated access"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002\034"\027/cloud/service-accounts:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetServiceAccount" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetServiceAccount" - ]._serialized_options = b'\202\323\344\223\002.\022,/cloud/service-accounts/{service_account_id}\222A\301\001\n\020Service Accounts\022\033Get service account details\032=Returns detailed information about a specific service account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' - _CLOUDSERVICE.methods_by_name["GetServiceAccounts"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\301\001\n\020Service Accounts\022\033Get service account details\032=Returns detailed information about a specific service account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002.\022,/cloud/service-accounts/{service_account_id}' + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetServiceAccounts" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetServiceAccounts" - ]._serialized_options = b'\202\323\344\223\002\031\022\027/cloud/service-accounts\222A\267\001\n\020Service Accounts\022\031List all service accounts\0325Returns a list of all service accounts in the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' - _CLOUDSERVICE.methods_by_name["UpdateServiceAccount"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\267\001\n\020Service Accounts\022\031List all service accounts\0325Returns a list of all service accounts in the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002\031\022\027/cloud/service-accounts' + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateServiceAccount" - ]._serialized_options = b'\202\323\344\223\0021",/cloud/service-accounts/{service_account_id}:\001*\222A\261\001\n\020Service Accounts\022\030Update a service account\0320Updates an existing service account\'s properties"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' - _CLOUDSERVICE.methods_by_name["SetServiceAccountNamespaceAccess"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "UpdateServiceAccount" + ]._serialized_options = b'\222A\261\001\n\020Service Accounts\022\030Update a service account\0320Updates an existing service account\'s properties"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\0021",/cloud/service-accounts/{service_account_id}:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "SetServiceAccountNamespaceAccess" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "SetServiceAccountNamespaceAccess" - ]._serialized_options = b'\202\323\344\223\002O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\001*\222A\320\001\n\020Service Accounts\022$Set service account namespace access\032CConfigures a service account\'s permissions for a specific namespace"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' - _CLOUDSERVICE.methods_by_name["DeleteServiceAccount"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\320\001\n\020Service Accounts\022$Set service account namespace access\032CConfigures a service account\'s permissions for a specific namespace"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ "DeleteServiceAccount" - ]._serialized_options = b'\202\323\344\223\002.*,/cloud/service-accounts/{service_account_id}\222A\253\001\n\020Service Accounts\022\030Delete a service account\032*Removes a service account from the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' - _CLOUDSERVICE.methods_by_name["GetUsage"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "DeleteServiceAccount" + ]._serialized_options = b'\222A\253\001\n\020Service Accounts\022\030Delete a service account\032*Removes a service account from the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002.*,/cloud/service-accounts/{service_account_id}' + _globals["_CLOUDSERVICE"].methods_by_name["GetUsage"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetUsage" - ]._serialized_options = b"\202\323\344\223\002\016\022\014/cloud/usage\222A=\n\007Account\022\016Get usage data\032 Get usage data across namespacesX\001" - _CLOUDSERVICE.methods_by_name["GetAccount"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b"\222A=\n\007Account\022\016Get usage data\032 Get usage data across namespacesX\001\202\323\344\223\002\016\022\014/cloud/usage" + _globals["_CLOUDSERVICE"].methods_by_name["GetAccount"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetAccount" - ]._serialized_options = b'\202\323\344\223\002\020\022\016/cloud/account\222A\230\001\n\007Account\022\023Get account details\032.Returns detailed information about the account"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost' - _CLOUDSERVICE.methods_by_name["UpdateAccount"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\230\001\n\007Account\022\023Get account details\032.Returns detailed information about the account"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost\202\323\344\223\002\020\022\016/cloud/account' + _globals["_CLOUDSERVICE"].methods_by_name["UpdateAccount"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateAccount" - ]._serialized_options = b'\202\323\344\223\002\023"\016/cloud/account:\001*\222A\227\001\n\007Account\022\026Update account details\032*Updates account configuration and settings"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost' - _CLOUDSERVICE.methods_by_name["CreateNamespaceExportSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\227\001\n\007Account\022\026Update account details\032*Updates account configuration and settings"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost\202\323\344\223\002\023"\016/cloud/account:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "CreateNamespaceExportSink" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "CreateNamespaceExportSink" - ]._serialized_options = b'\202\323\344\223\002/"*/cloud/namespaces/{namespace}/export-sinks:\001*\222A\217\001\n\006Export\022\032Create history export sink\032*Creates a new workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' - _CLOUDSERVICE.methods_by_name["GetNamespaceExportSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\217\001\n\006Export\022\032Create history export sink\032*Creates a new workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\002/"*/cloud/namespaces/{namespace}/export-sinks:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetNamespaceExportSink" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetNamespaceExportSink" - ]._serialized_options = b'\202\323\344\223\0023\0221/cloud/namespaces/{namespace}/export-sinks/{name}\222A\255\001\n\006Export\022\030Get history sink details\032JReturns detailed information about a specific workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' - _CLOUDSERVICE.methods_by_name["GetNamespaceExportSinks"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\255\001\n\006Export\022\030Get history sink details\032JReturns detailed information about a specific workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\0023\0221/cloud/namespaces/{namespace}/export-sinks/{name}' + _globals["_CLOUDSERVICE"].methods_by_name[ "GetNamespaceExportSinks" - ]._serialized_options = b'\202\323\344\223\002,\022*/cloud/namespaces/{namespace}/export-sinks\222A\247\001\n\006Export\022\031List history export sinks\032CReturns a list of all workflow history export sinks for a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' - _CLOUDSERVICE.methods_by_name["UpdateNamespaceExportSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetNamespaceExportSinks" + ]._serialized_options = b'\222A\247\001\n\006Export\022\031List history export sinks\032CReturns a list of all workflow history export sinks for a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\002,\022*/cloud/namespaces/{namespace}/export-sinks' + _globals["_CLOUDSERVICE"].methods_by_name[ + "UpdateNamespaceExportSink" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateNamespaceExportSink" - ]._serialized_options = b'\202\323\344\223\002;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\001*\222A\245\001\n\006Export\022\032Update history export sink\032@Updates an existing workflow history export sink\'s configuration"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' - _CLOUDSERVICE.methods_by_name["DeleteNamespaceExportSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\245\001\n\006Export\022\032Update history export sink\032@Updates an existing workflow history export sink\'s configuration"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\002;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "DeleteNamespaceExportSink" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "DeleteNamespaceExportSink" - ]._serialized_options = b'\202\323\344\223\0023*1/cloud/namespaces/{namespace}/export-sinks/{name}\222A\234\001\n\006Export\022\032Delete history export sink\0327Removes a workflow history export sink from a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' - _CLOUDSERVICE.methods_by_name["ValidateNamespaceExportSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\234\001\n\006Export\022\032Delete history export sink\0327Removes a workflow history export sink from a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\0023*1/cloud/namespaces/{namespace}/export-sinks/{name}' + _globals["_CLOUDSERVICE"].methods_by_name[ "ValidateNamespaceExportSink" - ]._serialized_options = b'\202\323\344\223\0027"2/cloud/namespaces/{namespace}/export-sink-validate:\001*\222A\327\001\n\006Export\022*Validate history export sink configuration\032bTests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' - _CLOUDSERVICE.methods_by_name["UpdateNamespaceTags"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "ValidateNamespaceExportSink" + ]._serialized_options = b'\222A\327\001\n\006Export\022*Validate history export sink configuration\032bTests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\0027"2/cloud/namespaces/{namespace}/export-sink-validate:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "UpdateNamespaceTags" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "UpdateNamespaceTags" - ]._serialized_options = b'\202\323\344\223\002.")/cloud/namespaces/{namespace}/update-tags:\001*\222A\253\001\n\nNamespaces\022\025Update namespace tags\032,Updates the tags associated with a namespace"X\n\033Namespace tag documentation\0229https://docs.temporal.io/cloud/namespaces#tag-a-namespace' - _CLOUDSERVICE.methods_by_name["CreateConnectivityRule"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\253\001\n\nNamespaces\022\025Update namespace tags\032,Updates the tags associated with a namespace"X\n\033Namespace tag documentation\0229https://docs.temporal.io/cloud/namespaces#tag-a-namespace\202\323\344\223\002.")/cloud/namespaces/{namespace}/update-tags:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "CreateConnectivityRule" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "CreateConnectivityRule" - ]._serialized_options = b'\202\323\344\223\002\036"\031/cloud/connectivity-rules:\001*\222A\265\001\n\022Connectivity Rules\022\030Create connectivity rule\032:Creates a new connectivity rule for network access control"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' - _CLOUDSERVICE.methods_by_name["GetConnectivityRule"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\265\001\n\022Connectivity Rules\022\030Create connectivity rule\032:Creates a new connectivity rule for network access control"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\002\036"\031/cloud/connectivity-rules:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ "GetConnectivityRule" - ]._serialized_options = b'\202\323\344\223\0022\0220/cloud/connectivity-rules/{connectivity_rule_id}\222A\277\001\n\022Connectivity Rules\022\035Get connectivity rule details\032?Returns detailed information about a specific connectivity rule"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' - _CLOUDSERVICE.methods_by_name["GetConnectivityRules"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetConnectivityRule" + ]._serialized_options = b'\222A\277\001\n\022Connectivity Rules\022\035Get connectivity rule details\032?Returns detailed information about a specific connectivity rule"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\0022\0220/cloud/connectivity-rules/{connectivity_rule_id}' + _globals["_CLOUDSERVICE"].methods_by_name[ + "GetConnectivityRules" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetConnectivityRules" - ]._serialized_options = b'\202\323\344\223\002\033\022\031/cloud/connectivity-rules\222A\265\001\n\022Connectivity Rules\022\033List all connectivity rules\0327Returns a list of all connectivity rules in the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' - _CLOUDSERVICE.methods_by_name["DeleteConnectivityRule"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\265\001\n\022Connectivity Rules\022\033List all connectivity rules\0327Returns a list of all connectivity rules in the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\002\033\022\031/cloud/connectivity-rules' + _globals["_CLOUDSERVICE"].methods_by_name[ "DeleteConnectivityRule" - ]._serialized_options = b'\202\323\344\223\0022*0/cloud/connectivity-rules/{connectivity_rule_id}\222A\247\001\n\022Connectivity Rules\022\030Delete connectivity rule\032,Removes a connectivity rule from the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' - _CLOUDSERVICE.methods_by_name["GetAuditLogs"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ + "DeleteConnectivityRule" + ]._serialized_options = b'\222A\247\001\n\022Connectivity Rules\022\030Delete connectivity rule\032,Removes a connectivity rule from the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\0022*0/cloud/connectivity-rules/{connectivity_rule_id}' + _globals["_CLOUDSERVICE"].methods_by_name["GetAuditLogs"]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "GetAuditLogs" - ]._serialized_options = b'\202\323\344\223\002\023\022\021/cloud/audit-logs\222A\301\001\n\007Account\022\016Get audit logs\032YReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging' - _CLOUDSERVICE.methods_by_name["ValidateAccountAuditLogSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\301\001\n\007Account\022\016Get audit logs\032YReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging\202\323\344\223\002\023\022\021/cloud/audit-logs' + _globals["_CLOUDSERVICE"].methods_by_name[ + "ValidateAccountAuditLogSink" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "ValidateAccountAuditLogSink" - ]._serialized_options = b'\202\323\344\223\002#"\036/cloud/audit-log-sink-validate:\001*\222A\326\002\n\007Account\022\027Validate audit log sink\032\344\001Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging' - _CLOUDSERVICE.methods_by_name["CreateAccountAuditLogSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\326\002\n\007Account\022\027Validate audit log sink\032\344\001Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging\202\323\344\223\002#"\036/cloud/audit-log-sink-validate:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ + "CreateAccountAuditLogSink" + ]._loaded_options = None + _globals["_CLOUDSERVICE"].methods_by_name[ "CreateAccountAuditLogSink" - ]._serialized_options = b'\202\323\344\223\002\033"\026/cloud/audit-log-sinks:\001*\222A\244\001\n\007Account\022\025Create audit log sink\0325Creates a new audit log sink for exporting audit logs"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging' - _CLOUDSERVICE.methods_by_name["GetAccountAuditLogSink"]._options = None - _CLOUDSERVICE.methods_by_name[ + ]._serialized_options = b'\222A\244\001\n\007Account\022\025Create audit log sink\0325Creates a new audit log sink for exporting audit logs"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging\202\323\344\223\002\033"\026/cloud/audit-log-sinks:\001*' + _globals["_CLOUDSERVICE"].methods_by_name[ "GetAccountAuditLogSink" - ]._serialized_options = b'\202\323\344\223\002\037\022\035/cloud/audit-log-sinks/{name}\222A\260\001\n\007Account\022\032Get audit log sink details\032={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) + -class CloudServiceStub(object): +class CloudServiceStub: """WARNING: This service is currently experimental and may change in incompatible ways. """ @@ -23,385 +47,461 @@ def __init__(self, channel): "/temporal.api.cloud.cloudservice.v1.CloudService/GetCurrentIdentity", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCurrentIdentityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCurrentIdentityResponse.FromString, + _registered_method=True, ) self.GetUsers = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsers", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsersResponse.FromString, + _registered_method=True, ) self.GetUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserResponse.FromString, + _registered_method=True, ) self.CreateUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserResponse.FromString, + _registered_method=True, ) self.UpdateUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserResponse.FromString, + _registered_method=True, ) self.DeleteUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserResponse.FromString, + _registered_method=True, ) self.SetUserNamespaceAccess = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserNamespaceAccess", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserNamespaceAccessRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserNamespaceAccessResponse.FromString, + _registered_method=True, ) self.GetAsyncOperation = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAsyncOperation", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAsyncOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAsyncOperationResponse.FromString, + _registered_method=True, ) self.CreateNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceResponse.FromString, + _registered_method=True, ) self.GetNamespaces = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaces", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespacesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespacesResponse.FromString, + _registered_method=True, ) self.GetNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceResponse.FromString, + _registered_method=True, ) self.UpdateNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, + _registered_method=True, ) self.RenameCustomSearchAttribute = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/RenameCustomSearchAttribute", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RenameCustomSearchAttributeRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RenameCustomSearchAttributeResponse.FromString, + _registered_method=True, ) self.DeleteNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, + _registered_method=True, ) self.FailoverNamespaceRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/FailoverNamespaceRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.FailoverNamespaceRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.FailoverNamespaceRegionResponse.FromString, + _registered_method=True, ) self.AddNamespaceRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/AddNamespaceRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddNamespaceRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddNamespaceRegionResponse.FromString, + _registered_method=True, ) self.DeleteNamespaceRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRegionResponse.FromString, + _registered_method=True, ) self.GetRegions = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegions", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionsResponse.FromString, + _registered_method=True, ) self.GetRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionResponse.FromString, + _registered_method=True, ) self.GetApiKeys = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKeys", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeysRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeysResponse.FromString, + _registered_method=True, ) self.GetApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeyResponse.FromString, + _registered_method=True, ) self.CreateApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateApiKeyResponse.FromString, + _registered_method=True, ) self.UpdateApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateApiKeyResponse.FromString, + _registered_method=True, ) self.DeleteApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteApiKeyResponse.FromString, + _registered_method=True, ) self.GetNexusEndpoints = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoints", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointsResponse.FromString, + _registered_method=True, ) self.GetNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, + _registered_method=True, ) self.CreateNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, + _registered_method=True, ) self.UpdateNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, + _registered_method=True, ) self.DeleteNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, + _registered_method=True, ) self.GetUserGroups = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroups", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupsResponse.FromString, + _registered_method=True, ) self.GetUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupResponse.FromString, + _registered_method=True, ) self.CreateUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserGroupResponse.FromString, + _registered_method=True, ) self.UpdateUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserGroupResponse.FromString, + _registered_method=True, ) self.DeleteUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserGroupResponse.FromString, + _registered_method=True, ) self.SetUserGroupNamespaceAccess = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupNamespaceAccess", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserGroupNamespaceAccessRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserGroupNamespaceAccessResponse.FromString, + _registered_method=True, ) self.AddUserGroupMember = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/AddUserGroupMember", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddUserGroupMemberRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddUserGroupMemberResponse.FromString, + _registered_method=True, ) self.RemoveUserGroupMember = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/RemoveUserGroupMember", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RemoveUserGroupMemberRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RemoveUserGroupMemberResponse.FromString, + _registered_method=True, ) self.GetUserGroupMembers = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupMembers", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupMembersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupMembersResponse.FromString, + _registered_method=True, ) self.CreateServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateServiceAccountResponse.FromString, + _registered_method=True, ) self.GetServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountResponse.FromString, + _registered_method=True, ) self.GetServiceAccounts = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccounts", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountsResponse.FromString, + _registered_method=True, ) self.UpdateServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateServiceAccountResponse.FromString, + _registered_method=True, ) self.SetServiceAccountNamespaceAccess = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountNamespaceAccess", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetServiceAccountNamespaceAccessRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetServiceAccountNamespaceAccessResponse.FromString, + _registered_method=True, ) self.DeleteServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteServiceAccountResponse.FromString, + _registered_method=True, ) self.GetUsage = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsage", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsageRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsageResponse.FromString, + _registered_method=True, ) self.GetAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountResponse.FromString, + _registered_method=True, ) self.UpdateAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountResponse.FromString, + _registered_method=True, ) self.CreateNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceExportSinkResponse.FromString, + _registered_method=True, ) self.GetNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinkResponse.FromString, + _registered_method=True, ) self.GetNamespaceExportSinks = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSinks", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinksRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinksResponse.FromString, + _registered_method=True, ) self.UpdateNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceExportSinkResponse.FromString, + _registered_method=True, ) self.DeleteNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceExportSinkResponse.FromString, + _registered_method=True, ) self.ValidateNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateNamespaceExportSinkResponse.FromString, + _registered_method=True, ) self.UpdateNamespaceTags = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceTags", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceTagsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceTagsResponse.FromString, + _registered_method=True, ) self.CreateConnectivityRule = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateConnectivityRule", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateConnectivityRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateConnectivityRuleResponse.FromString, + _registered_method=True, ) self.GetConnectivityRule = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRule", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRuleResponse.FromString, + _registered_method=True, ) self.GetConnectivityRules = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRules", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRulesResponse.FromString, + _registered_method=True, ) self.DeleteConnectivityRule = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteConnectivityRule", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteConnectivityRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteConnectivityRuleResponse.FromString, + _registered_method=True, ) self.GetAuditLogs = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAuditLogs", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAuditLogsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAuditLogsResponse.FromString, + _registered_method=True, ) self.ValidateAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateAccountAuditLogSinkResponse.FromString, + _registered_method=True, ) self.CreateAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateAccountAuditLogSinkResponse.FromString, + _registered_method=True, ) self.GetAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinkResponse.FromString, + _registered_method=True, ) self.GetAccountAuditLogSinks = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSinks", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinksRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinksResponse.FromString, + _registered_method=True, ) self.UpdateAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountAuditLogSinkResponse.FromString, + _registered_method=True, ) self.DeleteAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteAccountAuditLogSinkResponse.FromString, + _registered_method=True, ) self.GetNamespaceCapacityInfo = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceCapacityInfo", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceCapacityInfoRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceCapacityInfoResponse.FromString, + _registered_method=True, ) self.CreateBillingReport = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateBillingReport", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateBillingReportRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateBillingReportResponse.FromString, + _registered_method=True, ) self.GetBillingReport = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetBillingReport", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetBillingReportRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetBillingReportResponse.FromString, + _registered_method=True, ) self.GetCustomRoles = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRoles", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRolesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRolesResponse.FromString, + _registered_method=True, ) self.GetCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRoleResponse.FromString, + _registered_method=True, ) self.CreateCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateCustomRoleResponse.FromString, + _registered_method=True, ) self.UpdateCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateCustomRoleResponse.FromString, + _registered_method=True, ) self.DeleteCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteCustomRoleResponse.FromString, + _registered_method=True, ) self.GetUserNamespaceAssignments = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserNamespaceAssignments", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserNamespaceAssignmentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserNamespaceAssignmentsResponse.FromString, + _registered_method=True, ) self.GetServiceAccountNamespaceAssignments = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccountNamespaceAssignments", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountNamespaceAssignmentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountNamespaceAssignmentsResponse.FromString, + _registered_method=True, ) self.GetUserGroupNamespaceAssignments = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupNamespaceAssignments", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupNamespaceAssignmentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupNamespaceAssignmentsResponse.FromString, + _registered_method=True, ) -class CloudServiceServicer(object): +class CloudServiceServicer: """WARNING: This service is currently experimental and may change in incompatible ways. """ @@ -1260,10 +1360,13 @@ def add_CloudServiceServicer_to_server(servicer, server): "temporal.api.cloud.cloudservice.v1.CloudService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers( + "temporal.api.cloud.cloudservice.v1.CloudService", rpc_method_handlers + ) # This class is part of an EXPERIMENTAL API. -class CloudService(object): +class CloudService: """WARNING: This service is currently experimental and may change in incompatible ways. """ @@ -1295,6 +1398,7 @@ def GetCurrentIdentity( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1324,6 +1428,7 @@ def GetUsers( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1353,6 +1458,7 @@ def GetUser( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1382,6 +1488,7 @@ def CreateUser( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1411,6 +1518,7 @@ def UpdateUser( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1440,6 +1548,7 @@ def DeleteUser( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1469,6 +1578,7 @@ def SetUserNamespaceAccess( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1498,6 +1608,7 @@ def GetAsyncOperation( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1527,6 +1638,7 @@ def CreateNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1556,6 +1668,7 @@ def GetNamespaces( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1585,6 +1698,7 @@ def GetNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1614,6 +1728,7 @@ def UpdateNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1643,6 +1758,7 @@ def RenameCustomSearchAttribute( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1672,6 +1788,7 @@ def DeleteNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1701,6 +1818,7 @@ def FailoverNamespaceRegion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1730,6 +1848,7 @@ def AddNamespaceRegion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1759,6 +1878,7 @@ def DeleteNamespaceRegion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1788,6 +1908,7 @@ def GetRegions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1817,6 +1938,7 @@ def GetRegion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1846,6 +1968,7 @@ def GetApiKeys( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1875,6 +1998,7 @@ def GetApiKey( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1904,6 +2028,7 @@ def CreateApiKey( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1933,6 +2058,7 @@ def UpdateApiKey( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1962,6 +2088,7 @@ def DeleteApiKey( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -1991,6 +2118,7 @@ def GetNexusEndpoints( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2020,6 +2148,7 @@ def GetNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2049,6 +2178,7 @@ def CreateNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2078,6 +2208,7 @@ def UpdateNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2107,6 +2238,7 @@ def DeleteNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2136,6 +2268,7 @@ def GetUserGroups( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2165,6 +2298,7 @@ def GetUserGroup( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2194,6 +2328,7 @@ def CreateUserGroup( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2223,6 +2358,7 @@ def UpdateUserGroup( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2252,6 +2388,7 @@ def DeleteUserGroup( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2281,6 +2418,7 @@ def SetUserGroupNamespaceAccess( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2310,6 +2448,7 @@ def AddUserGroupMember( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2339,6 +2478,7 @@ def RemoveUserGroupMember( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2368,6 +2508,7 @@ def GetUserGroupMembers( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2397,6 +2538,7 @@ def CreateServiceAccount( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2426,6 +2568,7 @@ def GetServiceAccount( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2455,6 +2598,7 @@ def GetServiceAccounts( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2484,6 +2628,7 @@ def UpdateServiceAccount( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2513,6 +2658,7 @@ def SetServiceAccountNamespaceAccess( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2542,6 +2688,7 @@ def DeleteServiceAccount( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2571,6 +2718,7 @@ def GetUsage( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2600,6 +2748,7 @@ def GetAccount( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2629,6 +2778,7 @@ def UpdateAccount( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2658,6 +2808,7 @@ def CreateNamespaceExportSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2687,6 +2838,7 @@ def GetNamespaceExportSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2716,6 +2868,7 @@ def GetNamespaceExportSinks( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2745,6 +2898,7 @@ def UpdateNamespaceExportSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2774,6 +2928,7 @@ def DeleteNamespaceExportSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2803,6 +2958,7 @@ def ValidateNamespaceExportSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2832,6 +2988,7 @@ def UpdateNamespaceTags( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2861,6 +3018,7 @@ def CreateConnectivityRule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2890,6 +3048,7 @@ def GetConnectivityRule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2919,6 +3078,7 @@ def GetConnectivityRules( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2948,6 +3108,7 @@ def DeleteConnectivityRule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2977,6 +3138,7 @@ def GetAuditLogs( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3006,6 +3168,7 @@ def ValidateAccountAuditLogSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3035,6 +3198,7 @@ def CreateAccountAuditLogSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3064,6 +3228,7 @@ def GetAccountAuditLogSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3093,6 +3258,7 @@ def GetAccountAuditLogSinks( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3122,6 +3288,7 @@ def UpdateAccountAuditLogSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3151,6 +3318,7 @@ def DeleteAccountAuditLogSink( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3180,6 +3348,7 @@ def GetNamespaceCapacityInfo( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3209,6 +3378,7 @@ def CreateBillingReport( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3238,6 +3408,7 @@ def GetBillingReport( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3267,6 +3438,7 @@ def GetCustomRoles( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3296,6 +3468,7 @@ def GetCustomRole( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3325,6 +3498,7 @@ def CreateCustomRole( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3354,6 +3528,7 @@ def UpdateCustomRole( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3383,6 +3558,7 @@ def DeleteCustomRole( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3412,6 +3588,7 @@ def GetUserNamespaceAssignments( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3441,6 +3618,7 @@ def GetServiceAccountNamespaceAssignments( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3470,4 +3648,5 @@ def GetUserGroupNamespaceAssignments( wait_for_ready, timeout, metadata, + _registered_method=True, ) diff --git a/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi b/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi index a56b33db4..d96abcc26 100644 --- a/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi @@ -4,406 +4,2498 @@ isort:skip_file """ import abc +import collections.abc +import sys +import typing import grpc +import grpc.aio import temporalio.api.cloud.cloudservice.v1.request_response_pb2 -class CloudServiceStub: +if sys.version_info >= (3, 13): + import typing as typing_extensions +else: + import typing_extensions + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str +_CloudServiceGetCurrentIdentityType = typing_extensions.TypeVar( + "_CloudServiceGetCurrentIdentityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, + ], +) + +_CloudServiceGetUsersType = typing_extensions.TypeVar( + "_CloudServiceGetUsersType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, + ], +) + +_CloudServiceGetUserType = typing_extensions.TypeVar( + "_CloudServiceGetUserType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, + ], +) + +_CloudServiceCreateUserType = typing_extensions.TypeVar( + "_CloudServiceCreateUserType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, + ], +) + +_CloudServiceUpdateUserType = typing_extensions.TypeVar( + "_CloudServiceUpdateUserType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, + ], +) + +_CloudServiceDeleteUserType = typing_extensions.TypeVar( + "_CloudServiceDeleteUserType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, + ], +) + +_CloudServiceSetUserNamespaceAccessType = typing_extensions.TypeVar( + "_CloudServiceSetUserNamespaceAccessType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, + ], +) + +_CloudServiceGetAsyncOperationType = typing_extensions.TypeVar( + "_CloudServiceGetAsyncOperationType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, + ], +) + +_CloudServiceCreateNamespaceType = typing_extensions.TypeVar( + "_CloudServiceCreateNamespaceType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, + ], +) + +_CloudServiceGetNamespacesType = typing_extensions.TypeVar( + "_CloudServiceGetNamespacesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, + ], +) + +_CloudServiceGetNamespaceType = typing_extensions.TypeVar( + "_CloudServiceGetNamespaceType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, + ], +) + +_CloudServiceUpdateNamespaceType = typing_extensions.TypeVar( + "_CloudServiceUpdateNamespaceType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], +) + +_CloudServiceRenameCustomSearchAttributeType = typing_extensions.TypeVar( + "_CloudServiceRenameCustomSearchAttributeType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, + ], +) + +_CloudServiceDeleteNamespaceType = typing_extensions.TypeVar( + "_CloudServiceDeleteNamespaceType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], +) + +_CloudServiceFailoverNamespaceRegionType = typing_extensions.TypeVar( + "_CloudServiceFailoverNamespaceRegionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, + ], +) + +_CloudServiceAddNamespaceRegionType = typing_extensions.TypeVar( + "_CloudServiceAddNamespaceRegionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, + ], +) + +_CloudServiceDeleteNamespaceRegionType = typing_extensions.TypeVar( + "_CloudServiceDeleteNamespaceRegionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, + ], +) + +_CloudServiceGetRegionsType = typing_extensions.TypeVar( + "_CloudServiceGetRegionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, + ], +) + +_CloudServiceGetRegionType = typing_extensions.TypeVar( + "_CloudServiceGetRegionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, + ], +) + +_CloudServiceGetApiKeysType = typing_extensions.TypeVar( + "_CloudServiceGetApiKeysType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, + ], +) + +_CloudServiceGetApiKeyType = typing_extensions.TypeVar( + "_CloudServiceGetApiKeyType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, + ], +) + +_CloudServiceCreateApiKeyType = typing_extensions.TypeVar( + "_CloudServiceCreateApiKeyType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, + ], +) + +_CloudServiceUpdateApiKeyType = typing_extensions.TypeVar( + "_CloudServiceUpdateApiKeyType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, + ], +) + +_CloudServiceDeleteApiKeyType = typing_extensions.TypeVar( + "_CloudServiceDeleteApiKeyType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, + ], +) + +_CloudServiceGetNexusEndpointsType = typing_extensions.TypeVar( + "_CloudServiceGetNexusEndpointsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, + ], +) + +_CloudServiceGetNexusEndpointType = typing_extensions.TypeVar( + "_CloudServiceGetNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], +) + +_CloudServiceCreateNexusEndpointType = typing_extensions.TypeVar( + "_CloudServiceCreateNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], +) + +_CloudServiceUpdateNexusEndpointType = typing_extensions.TypeVar( + "_CloudServiceUpdateNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], +) + +_CloudServiceDeleteNexusEndpointType = typing_extensions.TypeVar( + "_CloudServiceDeleteNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], +) + +_CloudServiceGetUserGroupsType = typing_extensions.TypeVar( + "_CloudServiceGetUserGroupsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, + ], +) + +_CloudServiceGetUserGroupType = typing_extensions.TypeVar( + "_CloudServiceGetUserGroupType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, + ], +) + +_CloudServiceCreateUserGroupType = typing_extensions.TypeVar( + "_CloudServiceCreateUserGroupType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, + ], +) + +_CloudServiceUpdateUserGroupType = typing_extensions.TypeVar( + "_CloudServiceUpdateUserGroupType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, + ], +) + +_CloudServiceDeleteUserGroupType = typing_extensions.TypeVar( + "_CloudServiceDeleteUserGroupType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, + ], +) + +_CloudServiceSetUserGroupNamespaceAccessType = typing_extensions.TypeVar( + "_CloudServiceSetUserGroupNamespaceAccessType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, + ], +) + +_CloudServiceAddUserGroupMemberType = typing_extensions.TypeVar( + "_CloudServiceAddUserGroupMemberType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, + ], +) + +_CloudServiceRemoveUserGroupMemberType = typing_extensions.TypeVar( + "_CloudServiceRemoveUserGroupMemberType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, + ], +) + +_CloudServiceGetUserGroupMembersType = typing_extensions.TypeVar( + "_CloudServiceGetUserGroupMembersType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, + ], +) + +_CloudServiceCreateServiceAccountType = typing_extensions.TypeVar( + "_CloudServiceCreateServiceAccountType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, + ], +) + +_CloudServiceGetServiceAccountType = typing_extensions.TypeVar( + "_CloudServiceGetServiceAccountType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, + ], +) + +_CloudServiceGetServiceAccountsType = typing_extensions.TypeVar( + "_CloudServiceGetServiceAccountsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, + ], +) + +_CloudServiceUpdateServiceAccountType = typing_extensions.TypeVar( + "_CloudServiceUpdateServiceAccountType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, + ], +) + +_CloudServiceSetServiceAccountNamespaceAccessType = typing_extensions.TypeVar( + "_CloudServiceSetServiceAccountNamespaceAccessType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, + ], +) + +_CloudServiceDeleteServiceAccountType = typing_extensions.TypeVar( + "_CloudServiceDeleteServiceAccountType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, + ], +) + +_CloudServiceGetUsageType = typing_extensions.TypeVar( + "_CloudServiceGetUsageType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, + ], +) + +_CloudServiceGetAccountType = typing_extensions.TypeVar( + "_CloudServiceGetAccountType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, + ], +) + +_CloudServiceUpdateAccountType = typing_extensions.TypeVar( + "_CloudServiceUpdateAccountType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, + ], +) + +_CloudServiceCreateNamespaceExportSinkType = typing_extensions.TypeVar( + "_CloudServiceCreateNamespaceExportSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, + ], +) + +_CloudServiceGetNamespaceExportSinkType = typing_extensions.TypeVar( + "_CloudServiceGetNamespaceExportSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, + ], +) + +_CloudServiceGetNamespaceExportSinksType = typing_extensions.TypeVar( + "_CloudServiceGetNamespaceExportSinksType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, + ], +) + +_CloudServiceUpdateNamespaceExportSinkType = typing_extensions.TypeVar( + "_CloudServiceUpdateNamespaceExportSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, + ], +) + +_CloudServiceDeleteNamespaceExportSinkType = typing_extensions.TypeVar( + "_CloudServiceDeleteNamespaceExportSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, + ], +) + +_CloudServiceValidateNamespaceExportSinkType = typing_extensions.TypeVar( + "_CloudServiceValidateNamespaceExportSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, + ], +) + +_CloudServiceUpdateNamespaceTagsType = typing_extensions.TypeVar( + "_CloudServiceUpdateNamespaceTagsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, + ], +) + +_CloudServiceCreateConnectivityRuleType = typing_extensions.TypeVar( + "_CloudServiceCreateConnectivityRuleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, + ], +) + +_CloudServiceGetConnectivityRuleType = typing_extensions.TypeVar( + "_CloudServiceGetConnectivityRuleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, + ], +) + +_CloudServiceGetConnectivityRulesType = typing_extensions.TypeVar( + "_CloudServiceGetConnectivityRulesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, + ], +) + +_CloudServiceDeleteConnectivityRuleType = typing_extensions.TypeVar( + "_CloudServiceDeleteConnectivityRuleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, + ], +) + +_CloudServiceGetAuditLogsType = typing_extensions.TypeVar( + "_CloudServiceGetAuditLogsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, + ], +) + +_CloudServiceValidateAccountAuditLogSinkType = typing_extensions.TypeVar( + "_CloudServiceValidateAccountAuditLogSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, + ], +) + +_CloudServiceCreateAccountAuditLogSinkType = typing_extensions.TypeVar( + "_CloudServiceCreateAccountAuditLogSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, + ], +) + +_CloudServiceGetAccountAuditLogSinkType = typing_extensions.TypeVar( + "_CloudServiceGetAccountAuditLogSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, + ], +) + +_CloudServiceGetAccountAuditLogSinksType = typing_extensions.TypeVar( + "_CloudServiceGetAccountAuditLogSinksType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, + ], +) + +_CloudServiceUpdateAccountAuditLogSinkType = typing_extensions.TypeVar( + "_CloudServiceUpdateAccountAuditLogSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, + ], +) + +_CloudServiceDeleteAccountAuditLogSinkType = typing_extensions.TypeVar( + "_CloudServiceDeleteAccountAuditLogSinkType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, + ], +) + +_CloudServiceGetNamespaceCapacityInfoType = typing_extensions.TypeVar( + "_CloudServiceGetNamespaceCapacityInfoType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, + ], +) + +_CloudServiceCreateBillingReportType = typing_extensions.TypeVar( + "_CloudServiceCreateBillingReportType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, + ], +) + +_CloudServiceGetBillingReportType = typing_extensions.TypeVar( + "_CloudServiceGetBillingReportType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, + ], +) + +_CloudServiceGetCustomRolesType = typing_extensions.TypeVar( + "_CloudServiceGetCustomRolesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, + ], +) + +_CloudServiceGetCustomRoleType = typing_extensions.TypeVar( + "_CloudServiceGetCustomRoleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, + ], +) + +_CloudServiceCreateCustomRoleType = typing_extensions.TypeVar( + "_CloudServiceCreateCustomRoleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, + ], +) + +_CloudServiceUpdateCustomRoleType = typing_extensions.TypeVar( + "_CloudServiceUpdateCustomRoleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, + ], +) + +_CloudServiceDeleteCustomRoleType = typing_extensions.TypeVar( + "_CloudServiceDeleteCustomRoleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, + ], +) + +_CloudServiceGetUserNamespaceAssignmentsType = typing_extensions.TypeVar( + "_CloudServiceGetUserNamespaceAssignmentsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, + ], +) + +_CloudServiceGetServiceAccountNamespaceAssignmentsType = typing_extensions.TypeVar( + "_CloudServiceGetServiceAccountNamespaceAssignmentsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, + ], +) + +_CloudServiceGetUserGroupNamespaceAssignmentsType = typing_extensions.TypeVar( + "_CloudServiceGetUserGroupNamespaceAssignmentsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, + ], +) + +class CloudServiceStub( + typing.Generic[ + _CloudServiceGetCurrentIdentityType, + _CloudServiceGetUsersType, + _CloudServiceGetUserType, + _CloudServiceCreateUserType, + _CloudServiceUpdateUserType, + _CloudServiceDeleteUserType, + _CloudServiceSetUserNamespaceAccessType, + _CloudServiceGetAsyncOperationType, + _CloudServiceCreateNamespaceType, + _CloudServiceGetNamespacesType, + _CloudServiceGetNamespaceType, + _CloudServiceUpdateNamespaceType, + _CloudServiceRenameCustomSearchAttributeType, + _CloudServiceDeleteNamespaceType, + _CloudServiceFailoverNamespaceRegionType, + _CloudServiceAddNamespaceRegionType, + _CloudServiceDeleteNamespaceRegionType, + _CloudServiceGetRegionsType, + _CloudServiceGetRegionType, + _CloudServiceGetApiKeysType, + _CloudServiceGetApiKeyType, + _CloudServiceCreateApiKeyType, + _CloudServiceUpdateApiKeyType, + _CloudServiceDeleteApiKeyType, + _CloudServiceGetNexusEndpointsType, + _CloudServiceGetNexusEndpointType, + _CloudServiceCreateNexusEndpointType, + _CloudServiceUpdateNexusEndpointType, + _CloudServiceDeleteNexusEndpointType, + _CloudServiceGetUserGroupsType, + _CloudServiceGetUserGroupType, + _CloudServiceCreateUserGroupType, + _CloudServiceUpdateUserGroupType, + _CloudServiceDeleteUserGroupType, + _CloudServiceSetUserGroupNamespaceAccessType, + _CloudServiceAddUserGroupMemberType, + _CloudServiceRemoveUserGroupMemberType, + _CloudServiceGetUserGroupMembersType, + _CloudServiceCreateServiceAccountType, + _CloudServiceGetServiceAccountType, + _CloudServiceGetServiceAccountsType, + _CloudServiceUpdateServiceAccountType, + _CloudServiceSetServiceAccountNamespaceAccessType, + _CloudServiceDeleteServiceAccountType, + _CloudServiceGetUsageType, + _CloudServiceGetAccountType, + _CloudServiceUpdateAccountType, + _CloudServiceCreateNamespaceExportSinkType, + _CloudServiceGetNamespaceExportSinkType, + _CloudServiceGetNamespaceExportSinksType, + _CloudServiceUpdateNamespaceExportSinkType, + _CloudServiceDeleteNamespaceExportSinkType, + _CloudServiceValidateNamespaceExportSinkType, + _CloudServiceUpdateNamespaceTagsType, + _CloudServiceCreateConnectivityRuleType, + _CloudServiceGetConnectivityRuleType, + _CloudServiceGetConnectivityRulesType, + _CloudServiceDeleteConnectivityRuleType, + _CloudServiceGetAuditLogsType, + _CloudServiceValidateAccountAuditLogSinkType, + _CloudServiceCreateAccountAuditLogSinkType, + _CloudServiceGetAccountAuditLogSinkType, + _CloudServiceGetAccountAuditLogSinksType, + _CloudServiceUpdateAccountAuditLogSinkType, + _CloudServiceDeleteAccountAuditLogSinkType, + _CloudServiceGetNamespaceCapacityInfoType, + _CloudServiceCreateBillingReportType, + _CloudServiceGetBillingReportType, + _CloudServiceGetCustomRolesType, + _CloudServiceGetCustomRoleType, + _CloudServiceCreateCustomRoleType, + _CloudServiceUpdateCustomRoleType, + _CloudServiceDeleteCustomRoleType, + _CloudServiceGetUserNamespaceAssignmentsType, + _CloudServiceGetServiceAccountNamespaceAssignmentsType, + _CloudServiceGetUserGroupNamespaceAssignmentsType, + ] +): """WARNING: This service is currently experimental and may change in incompatible ways. """ - def __init__(self, channel: grpc.Channel) -> None: ... - GetCurrentIdentity: grpc.UnaryUnaryMultiCallable[ + @typing.overload + def __init__( + self: CloudServiceStub[ + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, + ], + ], + channel: grpc.Channel, + ) -> None: ... + @typing.overload + def __init__( + self: CloudServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, + ], + ], + channel: grpc.aio.Channel, + ) -> None: ... + + GetCurrentIdentity: _CloudServiceGetCurrentIdentityType + """Get information about the current authenticated user or service account principal""" + + GetUsers: _CloudServiceGetUsersType + """Gets all known users""" + + GetUser: _CloudServiceGetUserType + """Get a user""" + + CreateUser: _CloudServiceCreateUserType + """Create a user""" + + UpdateUser: _CloudServiceUpdateUserType + """Update a user""" + + DeleteUser: _CloudServiceDeleteUserType + """Delete a user""" + + SetUserNamespaceAccess: _CloudServiceSetUserNamespaceAccessType + """Set a user's access to a namespace""" + + GetAsyncOperation: _CloudServiceGetAsyncOperationType + """Get the latest information on an async operation""" + + CreateNamespace: _CloudServiceCreateNamespaceType + """Create a new namespace""" + + GetNamespaces: _CloudServiceGetNamespacesType + """Get all namespaces""" + + GetNamespace: _CloudServiceGetNamespaceType + """Get a namespace""" + + UpdateNamespace: _CloudServiceUpdateNamespaceType + """Update a namespace""" + + RenameCustomSearchAttribute: _CloudServiceRenameCustomSearchAttributeType + """Rename an existing customer search attribute""" + + DeleteNamespace: _CloudServiceDeleteNamespaceType + """Delete a namespace""" + + FailoverNamespaceRegion: _CloudServiceFailoverNamespaceRegionType + """Failover a multi-region namespace""" + + AddNamespaceRegion: _CloudServiceAddNamespaceRegionType + """Add a new region to a namespace + Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. + """ + + DeleteNamespaceRegion: _CloudServiceDeleteNamespaceRegionType + """Delete a region from a namespace + Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. + """ + + GetRegions: _CloudServiceGetRegionsType + """Get all regions""" + + GetRegion: _CloudServiceGetRegionType + """Get a region""" + + GetApiKeys: _CloudServiceGetApiKeysType + """Get all known API keys""" + + GetApiKey: _CloudServiceGetApiKeyType + """Get an API key""" + + CreateApiKey: _CloudServiceCreateApiKeyType + """Create an API key""" + + UpdateApiKey: _CloudServiceUpdateApiKeyType + """Update an API key""" + + DeleteApiKey: _CloudServiceDeleteApiKeyType + """Delete an API key""" + + GetNexusEndpoints: _CloudServiceGetNexusEndpointsType + """Gets nexus endpoints""" + + GetNexusEndpoint: _CloudServiceGetNexusEndpointType + """Get a nexus endpoint""" + + CreateNexusEndpoint: _CloudServiceCreateNexusEndpointType + """Create a nexus endpoint""" + + UpdateNexusEndpoint: _CloudServiceUpdateNexusEndpointType + """Update a nexus endpoint""" + + DeleteNexusEndpoint: _CloudServiceDeleteNexusEndpointType + """Delete a nexus endpoint""" + + GetUserGroups: _CloudServiceGetUserGroupsType + """Get all user groups""" + + GetUserGroup: _CloudServiceGetUserGroupType + """Get a user group""" + + CreateUserGroup: _CloudServiceCreateUserGroupType + """Create new a user group""" + + UpdateUserGroup: _CloudServiceUpdateUserGroupType + """Update a user group""" + + DeleteUserGroup: _CloudServiceDeleteUserGroupType + """Delete a user group""" + + SetUserGroupNamespaceAccess: _CloudServiceSetUserGroupNamespaceAccessType + """Set a user group's access to a namespace""" + + AddUserGroupMember: _CloudServiceAddUserGroupMemberType + """Add a member to the group, can only be used with Cloud group types.""" + + RemoveUserGroupMember: _CloudServiceRemoveUserGroupMemberType + """Remove a member from the group, can only be used with Cloud group types.""" + + GetUserGroupMembers: _CloudServiceGetUserGroupMembersType + + CreateServiceAccount: _CloudServiceCreateServiceAccountType + """Create a service account.""" + + GetServiceAccount: _CloudServiceGetServiceAccountType + """Get a service account.""" + + GetServiceAccounts: _CloudServiceGetServiceAccountsType + """Get service accounts.""" + + UpdateServiceAccount: _CloudServiceUpdateServiceAccountType + """Update a service account.""" + + SetServiceAccountNamespaceAccess: _CloudServiceSetServiceAccountNamespaceAccessType + """Set a service account's access to a namespace.""" + + DeleteServiceAccount: _CloudServiceDeleteServiceAccountType + """Delete a service account.""" + + GetUsage: _CloudServiceGetUsageType + """WARNING: Pre-Release Feature + Get usage data across namespaces + """ + + GetAccount: _CloudServiceGetAccountType + """Get account information.""" + + UpdateAccount: _CloudServiceUpdateAccountType + """Update account information.""" + + CreateNamespaceExportSink: _CloudServiceCreateNamespaceExportSinkType + """Create an export sink""" + + GetNamespaceExportSink: _CloudServiceGetNamespaceExportSinkType + """Get an export sink""" + + GetNamespaceExportSinks: _CloudServiceGetNamespaceExportSinksType + """Get export sinks""" + + UpdateNamespaceExportSink: _CloudServiceUpdateNamespaceExportSinkType + """Update an export sink""" + + DeleteNamespaceExportSink: _CloudServiceDeleteNamespaceExportSinkType + """Delete an export sink""" + + ValidateNamespaceExportSink: _CloudServiceValidateNamespaceExportSinkType + """Validates an export sink configuration by delivering an empty test file to the specified sink. + This operation verifies that the sink is correctly configured, accessible, and ready for data export. + """ + + UpdateNamespaceTags: _CloudServiceUpdateNamespaceTagsType + """Update the tags for a namespace""" + + CreateConnectivityRule: _CloudServiceCreateConnectivityRuleType + """Creates a connectivity rule""" + + GetConnectivityRule: _CloudServiceGetConnectivityRuleType + """Gets a connectivity rule by id""" + + GetConnectivityRules: _CloudServiceGetConnectivityRulesType + """Lists connectivity rules by account""" + + DeleteConnectivityRule: _CloudServiceDeleteConnectivityRuleType + """Deletes a connectivity rule by id""" + + GetAuditLogs: _CloudServiceGetAuditLogsType + """Get audit logs""" + + ValidateAccountAuditLogSink: _CloudServiceValidateAccountAuditLogSinkType + """Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. + The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. + """ + + CreateAccountAuditLogSink: _CloudServiceCreateAccountAuditLogSinkType + """Create an audit log sink""" + + GetAccountAuditLogSink: _CloudServiceGetAccountAuditLogSinkType + """Get an audit log sink""" + + GetAccountAuditLogSinks: _CloudServiceGetAccountAuditLogSinksType + """Get audit log sinks""" + + UpdateAccountAuditLogSink: _CloudServiceUpdateAccountAuditLogSinkType + """Update an audit log sink""" + + DeleteAccountAuditLogSink: _CloudServiceDeleteAccountAuditLogSinkType + """Delete an audit log sink""" + + GetNamespaceCapacityInfo: _CloudServiceGetNamespaceCapacityInfoType + """Get namespace capacity information""" + + CreateBillingReport: _CloudServiceCreateBillingReportType + """Create a billing report""" + + GetBillingReport: _CloudServiceGetBillingReportType + """Get a billing report""" + + GetCustomRoles: _CloudServiceGetCustomRolesType + """Get custom roles""" + + GetCustomRole: _CloudServiceGetCustomRoleType + """Get a custom role""" + + CreateCustomRole: _CloudServiceCreateCustomRoleType + """Create a custom role""" + + UpdateCustomRole: _CloudServiceUpdateCustomRoleType + """Update a custom role""" + + DeleteCustomRole: _CloudServiceDeleteCustomRoleType + """Delete a custom role""" + + GetUserNamespaceAssignments: _CloudServiceGetUserNamespaceAssignmentsType + """Get users with access to a namespace""" + + GetServiceAccountNamespaceAssignments: ( + _CloudServiceGetServiceAccountNamespaceAssignmentsType + ) + """Get service accounts with access to a namespace""" + + GetUserGroupNamespaceAssignments: _CloudServiceGetUserGroupNamespaceAssignmentsType + """Get user groups with access to a namespace""" + +CloudServiceAsyncStub: typing_extensions.TypeAlias = CloudServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - ] - """Get information about the current authenticated user or service account principal""" - GetUsers: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - ] - """Gets all known users""" - GetUser: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - ] - """Get a user""" - CreateUser: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - ] - """Create a user""" - UpdateUser: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - ] - """Update a user""" - DeleteUser: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - ] - """Delete a user""" - SetUserNamespaceAccess: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - ] - """Set a user's access to a namespace""" - GetAsyncOperation: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - ] - """Get the latest information on an async operation""" - CreateNamespace: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - ] - """Create a new namespace""" - GetNamespaces: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - ] - """Get all namespaces""" - GetNamespace: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - ] - """Get a namespace""" - UpdateNamespace: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - ] - """Update a namespace""" - RenameCustomSearchAttribute: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - ] - """Rename an existing customer search attribute""" - DeleteNamespace: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - ] - """Delete a namespace""" - FailoverNamespaceRegion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - ] - """Failover a multi-region namespace""" - AddNamespaceRegion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - ] - """Add a new region to a namespace - Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. - """ - DeleteNamespaceRegion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - ] - """Delete a region from a namespace - Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. - """ - GetRegions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - ] - """Get all regions""" - GetRegion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - ] - """Get a region""" - GetApiKeys: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - ] - """Get all known API keys""" - GetApiKey: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - ] - """Get an API key""" - CreateApiKey: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - ] - """Create an API key""" - UpdateApiKey: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - ] - """Update an API key""" - DeleteApiKey: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - ] - """Delete an API key""" - GetNexusEndpoints: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - ] - """Gets nexus endpoints""" - GetNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - ] - """Get a nexus endpoint""" - CreateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ] - """Create a nexus endpoint""" - UpdateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ] - """Update a nexus endpoint""" - DeleteNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ] - """Delete a nexus endpoint""" - GetUserGroups: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - ] - """Get all user groups""" - GetUserGroup: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - ] - """Get a user group""" - CreateUserGroup: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - ] - """Create new a user group""" - UpdateUserGroup: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - ] - """Update a user group""" - DeleteUserGroup: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - ] - """Delete a user group""" - SetUserGroupNamespaceAccess: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - ] - """Set a user group's access to a namespace""" - AddUserGroupMember: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - ] - """Add a member to the group, can only be used with Cloud group types.""" - RemoveUserGroupMember: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - ] - """Remove a member from the group, can only be used with Cloud group types.""" - GetUserGroupMembers: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - ] - CreateServiceAccount: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - ] - """Create a service account.""" - GetServiceAccount: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - ] - """Get a service account.""" - GetServiceAccounts: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - ] - """Get service accounts.""" - UpdateServiceAccount: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - ] - """Update a service account.""" - SetServiceAccountNamespaceAccess: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - ] - """Set a service account's access to a namespace.""" - DeleteServiceAccount: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - ] - """Delete a service account.""" - GetUsage: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - ] - """WARNING: Pre-Release Feature - Get usage data across namespaces - """ - GetAccount: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - ] - """Get account information.""" - UpdateAccount: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - ] - """Update account information.""" - CreateNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - ] - """Create an export sink""" - GetNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - ] - """Get an export sink""" - GetNamespaceExportSinks: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - ] - """Get export sinks""" - UpdateNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - ] - """Update an export sink""" - DeleteNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - ] - """Delete an export sink""" - ValidateNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - ] - """Validates an export sink configuration by delivering an empty test file to the specified sink. - This operation verifies that the sink is correctly configured, accessible, and ready for data export. - """ - UpdateNamespaceTags: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - ] - """Update the tags for a namespace""" - CreateConnectivityRule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - ] - """Creates a connectivity rule""" - GetConnectivityRule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - ] - """Gets a connectivity rule by id""" - GetConnectivityRules: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - ] - """Lists connectivity rules by account""" - DeleteConnectivityRule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - ] - """Deletes a connectivity rule by id""" - GetAuditLogs: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - ] - """Get audit logs""" - ValidateAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - ] - """Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. - The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. - """ - CreateAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - ] - """Create an audit log sink""" - GetAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - ] - """Get an audit log sink""" - GetAccountAuditLogSinks: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - ] - """Get audit log sinks""" - UpdateAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - ] - """Update an audit log sink""" - DeleteAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - ] - """Delete an audit log sink""" - GetNamespaceCapacityInfo: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - ] - """Get namespace capacity information""" - CreateBillingReport: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - ] - """Create a billing report""" - GetBillingReport: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - ] - """Get a billing report""" - GetCustomRoles: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - ] - """Get custom roles""" - GetCustomRole: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - ] - """Get a custom role""" - CreateCustomRole: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - ] - """Create a custom role""" - UpdateCustomRole: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - ] - """Update a custom role""" - DeleteCustomRole: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - ] - """Delete a custom role""" - GetUserNamespaceAssignments: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - ] - """Get users with access to a namespace""" - GetServiceAccountNamespaceAssignments: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - ] - """Get service accounts with access to a namespace""" - GetUserGroupNamespaceAssignments: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - ] - """Get user groups with access to a namespace""" + ], +] class CloudServiceServicer(metaclass=abc.ABCMeta): """WARNING: This service is currently experimental and may change in @@ -414,554 +2506,998 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): def GetCurrentIdentity( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse + ], + ]: """Get information about the current authenticated user or service account principal""" + @abc.abstractmethod def GetUsers( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse + ], + ]: """Gets all known users""" + @abc.abstractmethod def GetUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse + ], + ]: """Get a user""" + @abc.abstractmethod def CreateUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse + ], + ]: """Create a user""" + @abc.abstractmethod def UpdateUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse + ], + ]: """Update a user""" + @abc.abstractmethod def DeleteUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse + ], + ]: """Delete a user""" + @abc.abstractmethod def SetUserNamespaceAccess( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse + ], + ]: """Set a user's access to a namespace""" + @abc.abstractmethod def GetAsyncOperation( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse + ], + ]: """Get the latest information on an async operation""" + @abc.abstractmethod def CreateNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse + ], + ]: """Create a new namespace""" + @abc.abstractmethod def GetNamespaces( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse + ], + ]: """Get all namespaces""" + @abc.abstractmethod def GetNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse + ], + ]: """Get a namespace""" + @abc.abstractmethod def UpdateNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse + ], + ]: """Update a namespace""" + @abc.abstractmethod def RenameCustomSearchAttribute( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse + ], + ]: """Rename an existing customer search attribute""" + @abc.abstractmethod def DeleteNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse + ], + ]: """Delete a namespace""" + @abc.abstractmethod def FailoverNamespaceRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse + ], + ]: """Failover a multi-region namespace""" + @abc.abstractmethod def AddNamespaceRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse + ], + ]: """Add a new region to a namespace Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. """ + @abc.abstractmethod def DeleteNamespaceRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse + ], + ]: """Delete a region from a namespace Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. """ + @abc.abstractmethod def GetRegions( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse + ], + ]: """Get all regions""" + @abc.abstractmethod def GetRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse + ], + ]: """Get a region""" + @abc.abstractmethod def GetApiKeys( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse + ], + ]: """Get all known API keys""" + @abc.abstractmethod def GetApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse + ], + ]: """Get an API key""" + @abc.abstractmethod def CreateApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse + ], + ]: """Create an API key""" + @abc.abstractmethod def UpdateApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse + ], + ]: """Update an API key""" + @abc.abstractmethod def DeleteApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse + ], + ]: """Delete an API key""" + @abc.abstractmethod def GetNexusEndpoints( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse + ], + ]: """Gets nexus endpoints""" + @abc.abstractmethod def GetNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse + ], + ]: """Get a nexus endpoint""" + @abc.abstractmethod def CreateNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse + ], + ]: """Create a nexus endpoint""" + @abc.abstractmethod def UpdateNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse + ], + ]: """Update a nexus endpoint""" + @abc.abstractmethod def DeleteNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse + ], + ]: """Delete a nexus endpoint""" + @abc.abstractmethod def GetUserGroups( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse + ], + ]: """Get all user groups""" + @abc.abstractmethod def GetUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse + ], + ]: """Get a user group""" + @abc.abstractmethod def CreateUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse + ], + ]: """Create new a user group""" + @abc.abstractmethod def UpdateUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse + ], + ]: """Update a user group""" + @abc.abstractmethod def DeleteUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse + ], + ]: """Delete a user group""" + @abc.abstractmethod def SetUserGroupNamespaceAccess( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse + ], + ]: """Set a user group's access to a namespace""" + @abc.abstractmethod def AddUserGroupMember( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse + ], + ]: """Add a member to the group, can only be used with Cloud group types.""" + @abc.abstractmethod def RemoveUserGroupMember( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse + ], + ]: """Remove a member from the group, can only be used with Cloud group types.""" + @abc.abstractmethod def GetUserGroupMembers( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse: ... + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse + ], + ]: ... @abc.abstractmethod def CreateServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse + ], + ]: """Create a service account.""" + @abc.abstractmethod def GetServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse + ], + ]: """Get a service account.""" + @abc.abstractmethod def GetServiceAccounts( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse + ], + ]: """Get service accounts.""" + @abc.abstractmethod def UpdateServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse + ], + ]: """Update a service account.""" + @abc.abstractmethod def SetServiceAccountNamespaceAccess( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse + ], + ]: """Set a service account's access to a namespace.""" + @abc.abstractmethod def DeleteServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse + ], + ]: """Delete a service account.""" + @abc.abstractmethod def GetUsage( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse + ], + ]: """WARNING: Pre-Release Feature Get usage data across namespaces """ + @abc.abstractmethod def GetAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse + ], + ]: """Get account information.""" + @abc.abstractmethod def UpdateAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse + ], + ]: """Update account information.""" + @abc.abstractmethod def CreateNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse + ], + ]: """Create an export sink""" + @abc.abstractmethod def GetNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse + ], + ]: """Get an export sink""" + @abc.abstractmethod def GetNamespaceExportSinks( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse + ], + ]: """Get export sinks""" + @abc.abstractmethod def UpdateNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse + ], + ]: """Update an export sink""" + @abc.abstractmethod def DeleteNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse + ], + ]: """Delete an export sink""" + @abc.abstractmethod def ValidateNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse + ], + ]: """Validates an export sink configuration by delivering an empty test file to the specified sink. This operation verifies that the sink is correctly configured, accessible, and ready for data export. """ + @abc.abstractmethod def UpdateNamespaceTags( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse + ], + ]: """Update the tags for a namespace""" + @abc.abstractmethod def CreateConnectivityRule( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse + ], + ]: """Creates a connectivity rule""" + @abc.abstractmethod def GetConnectivityRule( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse + ], + ]: """Gets a connectivity rule by id""" + @abc.abstractmethod def GetConnectivityRules( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse + ], + ]: """Lists connectivity rules by account""" + @abc.abstractmethod def DeleteConnectivityRule( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse + ], + ]: """Deletes a connectivity rule by id""" + @abc.abstractmethod def GetAuditLogs( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse + ], + ]: """Get audit logs""" + @abc.abstractmethod def ValidateAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse + ], + ]: """Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. """ + @abc.abstractmethod def CreateAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse + ], + ]: """Create an audit log sink""" + @abc.abstractmethod def GetAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse + ], + ]: """Get an audit log sink""" + @abc.abstractmethod def GetAccountAuditLogSinks( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse + ], + ]: """Get audit log sinks""" + @abc.abstractmethod def UpdateAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse + ], + ]: """Update an audit log sink""" + @abc.abstractmethod def DeleteAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse + ], + ]: """Delete an audit log sink""" + @abc.abstractmethod def GetNamespaceCapacityInfo( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse + ], + ]: """Get namespace capacity information""" + @abc.abstractmethod def CreateBillingReport( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse + ], + ]: """Create a billing report""" + @abc.abstractmethod def GetBillingReport( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse + ], + ]: """Get a billing report""" + @abc.abstractmethod def GetCustomRoles( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse + ], + ]: """Get custom roles""" + @abc.abstractmethod def GetCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse + ], + ]: """Get a custom role""" + @abc.abstractmethod def CreateCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse + ], + ]: """Create a custom role""" + @abc.abstractmethod def UpdateCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse + ], + ]: """Update a custom role""" + @abc.abstractmethod def DeleteCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse + ], + ]: """Delete a custom role""" + @abc.abstractmethod def GetUserNamespaceAssignments( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse + ], + ]: """Get users with access to a namespace""" + @abc.abstractmethod def GetServiceAccountNamespaceAssignments( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse + ], + ]: """Get service accounts with access to a namespace""" + @abc.abstractmethod def GetUserGroupNamespaceAssignments( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, + collections.abc.Awaitable[ + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse + ], + ]: """Get user groups with access to a namespace""" def add_CloudServiceServicer_to_server( - servicer: CloudServiceServicer, server: grpc.Server + servicer: CloudServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server] ) -> None: ... diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py index 2d39aec83..0de89e18f 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/connectivityrule/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/connectivityrule/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,64 +34,22 @@ b'\n4temporal/api/cloud/connectivityrule/v1/message.proto\x12&temporal.api.cloud.connectivityrule.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x96\x02\n\x10\x43onnectivityRule\x12\n\n\x02id\x18\x01 \x01(\t\x12J\n\x04spec\x18\x02 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12<\n\x05state\x18\x05 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x06 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x03\x10\x04"\xd9\x01\n\x14\x43onnectivityRuleSpec\x12U\n\x0bpublic_rule\x18\x01 \x01(\x0b\x32>.temporal.api.cloud.connectivityrule.v1.PublicConnectivityRuleH\x00\x12W\n\x0cprivate_rule\x18\x02 \x01(\x0b\x32?.temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRuleH\x00\x42\x11\n\x0f\x63onnection_type"3\n\x16PublicConnectivityRule\x12\x19\n\x11\x65nable_stable_ips\x18\x01 \x01(\x08"^\n\x17PrivateConnectivityRule\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\tJ\x04\x08\x04\x10\x05\x42\xd4\x01\n)io.temporal.api.cloud.connectivityrule.v1B\x0cMessageProtoP\x01Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\xaa\x02(Temporalio.Api.Cloud.ConnectivityRule.V1\xea\x02,Temporalio::Api::Cloud::ConnectivityRule::V1b\x06proto3' ) - -_CONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["ConnectivityRule"] -_CONNECTIVITYRULESPEC = DESCRIPTOR.message_types_by_name["ConnectivityRuleSpec"] -_PUBLICCONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PublicConnectivityRule"] -_PRIVATECONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PrivateConnectivityRule"] -ConnectivityRule = _reflection.GeneratedProtocolMessageType( - "ConnectivityRule", - (_message.Message,), - { - "DESCRIPTOR": _CONNECTIVITYRULE, - "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRule) - }, -) -_sym_db.RegisterMessage(ConnectivityRule) - -ConnectivityRuleSpec = _reflection.GeneratedProtocolMessageType( - "ConnectivityRuleSpec", - (_message.Message,), - { - "DESCRIPTOR": _CONNECTIVITYRULESPEC, - "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.connectivityrule.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(ConnectivityRuleSpec) - -PublicConnectivityRule = _reflection.GeneratedProtocolMessageType( - "PublicConnectivityRule", - (_message.Message,), - { - "DESCRIPTOR": _PUBLICCONNECTIVITYRULE, - "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule) - }, -) -_sym_db.RegisterMessage(PublicConnectivityRule) - -PrivateConnectivityRule = _reflection.GeneratedProtocolMessageType( - "PrivateConnectivityRule", - (_message.Message,), - { - "DESCRIPTOR": _PRIVATECONNECTIVITYRULE, - "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule) - }, -) -_sym_db.RegisterMessage(PrivateConnectivityRule) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1" - _CONNECTIVITYRULE._serialized_start = 176 - _CONNECTIVITYRULE._serialized_end = 454 - _CONNECTIVITYRULESPEC._serialized_start = 457 - _CONNECTIVITYRULESPEC._serialized_end = 674 - _PUBLICCONNECTIVITYRULE._serialized_start = 676 - _PUBLICCONNECTIVITYRULE._serialized_end = 727 - _PRIVATECONNECTIVITYRULE._serialized_start = 729 - _PRIVATECONNECTIVITYRULE._serialized_end = 823 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1" + _globals["_CONNECTIVITYRULE"]._serialized_start = 176 + _globals["_CONNECTIVITYRULE"]._serialized_end = 454 + _globals["_CONNECTIVITYRULESPEC"]._serialized_start = 457 + _globals["_CONNECTIVITYRULESPEC"]._serialized_end = 674 + _globals["_PUBLICCONNECTIVITYRULE"]._serialized_start = 676 + _globals["_PUBLICCONNECTIVITYRULE"]._serialized_end = 727 + _globals["_PRIVATECONNECTIVITYRULE"]._serialized_start = 729 + _globals["_PRIVATECONNECTIVITYRULE"]._serialized_end = 823 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi index 629704d6f..8a3353a81 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi @@ -5,6 +5,7 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message @@ -12,13 +13,14 @@ import google.protobuf.timestamp_pb2 import temporalio.api.cloud.resource.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ConnectivityRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -30,9 +32,6 @@ class ConnectivityRule(google.protobuf.message.Message): CREATED_TIME_FIELD_NUMBER: builtins.int id: builtins.str """The id of the private connectivity rule.""" - @property - def spec(self) -> global___ConnectivityRuleSpec: - """The connectivity rule specification.""" resource_version: builtins.str """The current version of the connectivity rule specification. The next update operation will have to include this version. @@ -40,14 +39,19 @@ class ConnectivityRule(google.protobuf.message.Message): state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the connectivity rule, if any.""" + @property + def spec(self) -> Global___ConnectivityRuleSpec: + """The connectivity rule specification.""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the connectivity rule was created.""" + def __init__( self, *, id: builtins.str = ..., - spec: global___ConnectivityRuleSpec | None = ..., + spec: Global___ConnectivityRuleSpec | None = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -55,13 +59,11 @@ class ConnectivityRule(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "created_time", b"created_time", "spec", b"spec" - ], + field_name: typing.Literal["created_time", b"created_time", "spec", b"spec"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -77,8 +79,9 @@ class ConnectivityRule(google.protobuf.message.Message): ], ) -> None: ... -global___ConnectivityRule = ConnectivityRule +Global___ConnectivityRule: typing_extensions.TypeAlias = ConnectivityRule +@typing.final class ConnectivityRuleSpec(google.protobuf.message.Message): """The connectivity rule specification passed in on create/update operations.""" @@ -87,20 +90,22 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): PUBLIC_RULE_FIELD_NUMBER: builtins.int PRIVATE_RULE_FIELD_NUMBER: builtins.int @property - def public_rule(self) -> global___PublicConnectivityRule: + def public_rule(self) -> Global___PublicConnectivityRule: """This allows access via public internet.""" + @property - def private_rule(self) -> global___PrivateConnectivityRule: + def private_rule(self) -> Global___PrivateConnectivityRule: """This allows access via specific private vpc.""" + def __init__( self, *, - public_rule: global___PublicConnectivityRule | None = ..., - private_rule: global___PrivateConnectivityRule | None = ..., + public_rule: Global___PublicConnectivityRule | None = ..., + private_rule: Global___PrivateConnectivityRule | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "connection_type", b"connection_type", "private_rule", @@ -111,7 +116,7 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "connection_type", b"connection_type", "private_rule", @@ -121,12 +126,12 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["connection_type", b"connection_type"], - ) -> typing_extensions.Literal["public_rule", "private_rule"] | None: ... + self, oneof_group: typing.Literal["connection_type", b"connection_type"] + ) -> typing.Literal["public_rule", "private_rule"] | None: ... -global___ConnectivityRuleSpec = ConnectivityRuleSpec +Global___ConnectivityRuleSpec: typing_extensions.TypeAlias = ConnectivityRuleSpec +@typing.final class PublicConnectivityRule(google.protobuf.message.Message): """A public connectivity rule allows access to the namespace via the public internet.""" @@ -143,14 +148,12 @@ class PublicConnectivityRule(google.protobuf.message.Message): enable_stable_ips: builtins.bool = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "enable_stable_ips", b"enable_stable_ips" - ], + self, field_name: typing.Literal["enable_stable_ips", b"enable_stable_ips"] ) -> None: ... -global___PublicConnectivityRule = PublicConnectivityRule +Global___PublicConnectivityRule: typing_extensions.TypeAlias = PublicConnectivityRule +@typing.final class PrivateConnectivityRule(google.protobuf.message.Message): """A private connectivity rule allows connections from a specific private vpc only.""" @@ -178,7 +181,7 @@ class PrivateConnectivityRule(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "connection_id", b"connection_id", "gcp_project_id", @@ -188,4 +191,4 @@ class PrivateConnectivityRule(google.protobuf.message.Message): ], ) -> None: ... -global___PrivateConnectivityRule = PrivateConnectivityRule +Global___PrivateConnectivityRule: typing_extensions.TypeAlias = PrivateConnectivityRule diff --git a/temporalio/api/cloud/identity/v1/message_pb2.py b/temporalio/api/cloud/identity/v1/message_pb2.py index 439a22202..e5d7807c3 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.py +++ b/temporalio/api/cloud/identity/v1/message_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/identity/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/identity/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -25,409 +34,112 @@ b'\n,temporal/api/cloud/identity/v1/message.proto\x12\x1etemporal.api.cloud.identity.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x95\x02\n\rAccountAccess\x12\x1b\n\x0frole_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12@\n\x04role\x18\x02 \x01(\x0e\x32\x32.temporal.api.cloud.identity.v1.AccountAccess.Role\x12\x14\n\x0c\x63ustom_roles\x18\x03 \x03(\t"\x8e\x01\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0e\n\nROLE_OWNER\x10\x01\x12\x0e\n\nROLE_ADMIN\x10\x02\x12\x12\n\x0eROLE_DEVELOPER\x10\x03\x12\x16\n\x12ROLE_FINANCE_ADMIN\x10\x04\x12\r\n\tROLE_READ\x10\x05\x12\x15\n\x11ROLE_METRICS_READ\x10\x06"\xef\x01\n\x0fNamespaceAccess\x12!\n\x15permission_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12N\n\npermission\x18\x02 \x01(\x0e\x32:.temporal.api.cloud.identity.v1.NamespaceAccess.Permission"i\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x14\n\x10PERMISSION_ADMIN\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x13\n\x0fPERMISSION_READ\x10\x03"\xba\x02\n\x06\x41\x63\x63\x65ss\x12\x45\n\x0e\x61\x63\x63ount_access\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.AccountAccess\x12Y\n\x12namespace_accesses\x18\x02 \x03(\x0b\x32=.temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry\x12#\n\x17\x63ustom_roles_deprecated\x18\x04 \x03(\tB\x02\x18\x01\x1ai\n\x16NamespaceAccessesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess:\x02\x38\x01"k\n\x15NamespaceScopedAccess\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess"Q\n\x08UserSpec\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access"p\n\nInvitation\x12\x30\n\x0c\x63reated_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65xpired_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x86\x03\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x36\n\x04spec\x18\x03 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\t \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12>\n\ninvitation\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.Invitation\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"(\n\x0fGoogleGroupSpec\x12\x15\n\remail_address\x18\x01 \x01(\t"\x1f\n\rSCIMGroupSpec\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"\x10\n\x0e\x43loudGroupSpec"\xc0\x02\n\rUserGroupSpec\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12G\n\x0cgoogle_group\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.GoogleGroupSpecH\x00\x12\x43\n\nscim_group\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.SCIMGroupSpecH\x00\x12\x45\n\x0b\x63loud_group\x18\x05 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CloudGroupSpecH\x00\x42\x0c\n\ngroup_type"\xd0\x02\n\tUserGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12;\n\x04spec\x18\x03 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"5\n\x11UserGroupMemberId\x12\x11\n\x07user_id\x18\x01 \x01(\tH\x00\x42\r\n\x0bmember_type"\x89\x01\n\x0fUserGroupMember\x12\x44\n\tmember_id\x18\x01 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x30\n\x0c\x63reated_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xda\x02\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12@\n\x04spec\x18\x03 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xc7\x01\n\x12ServiceAccountSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12V\n\x17namespace_scoped_access\x18\x04 \x01(\x0b\x32\x35.temporal.api.cloud.identity.v1.NamespaceScopedAccess\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t"\xca\x02\n\x06\x41piKey\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x38\n\x04spec\x18\x03 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xee\x01\n\nApiKeySpec\x12\x10\n\x08owner_id\x18\x01 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x07 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12/\n\x0b\x65xpiry_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08"\xbc\x02\n\x0e\x43ustomRoleSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12N\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x39.temporal.api.cloud.identity.v1.CustomRoleSpec.Permission\x1aK\n\tResources\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x14\n\x0cresource_ids\x18\x02 \x03(\t\x12\x11\n\tallow_all\x18\x03 \x01(\x08\x1aj\n\nPermission\x12K\n\tresources\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.identity.v1.CustomRoleSpec.Resources\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t"\xb4\x02\n\nCustomRole\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CustomRoleSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb3\x01\n\x17UserNamespaceAssignment\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12I\n\x10namespace_access\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10inherited_access\x18\x04 \x01(\x08\x12\x18\n\x10resource_version\x18\x05 \x01(\t"\xbc\x01\n!ServiceAccountNamespaceAssignment\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12I\n\x10namespace_access\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10inherited_access\x18\x04 \x01(\x08\x12\x18\n\x10resource_version\x18\x05 \x01(\t"\xbf\x01\n\x1cUserGroupNamespaceAssignment\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12I\n\x10namespace_access\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10inherited_access\x18\x04 \x01(\x08\x12\x18\n\x10resource_version\x18\x05 \x01(\t*\\\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1e\n\x1aOWNER_TYPE_SERVICE_ACCOUNT\x10\x02\x42\xac\x01\n!io.temporal.api.cloud.identity.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/identity/v1;identity\xaa\x02 Temporalio.Api.Cloud.Identity.V1\xea\x02$Temporalio::Api::Cloud::Identity::V1b\x06proto3' ) -_OWNERTYPE = DESCRIPTOR.enum_types_by_name["OwnerType"] -OwnerType = enum_type_wrapper.EnumTypeWrapper(_OWNERTYPE) -OWNER_TYPE_UNSPECIFIED = 0 -OWNER_TYPE_USER = 1 -OWNER_TYPE_SERVICE_ACCOUNT = 2 - - -_ACCOUNTACCESS = DESCRIPTOR.message_types_by_name["AccountAccess"] -_NAMESPACEACCESS = DESCRIPTOR.message_types_by_name["NamespaceAccess"] -_ACCESS = DESCRIPTOR.message_types_by_name["Access"] -_ACCESS_NAMESPACEACCESSESENTRY = _ACCESS.nested_types_by_name["NamespaceAccessesEntry"] -_NAMESPACESCOPEDACCESS = DESCRIPTOR.message_types_by_name["NamespaceScopedAccess"] -_USERSPEC = DESCRIPTOR.message_types_by_name["UserSpec"] -_INVITATION = DESCRIPTOR.message_types_by_name["Invitation"] -_USER = DESCRIPTOR.message_types_by_name["User"] -_GOOGLEGROUPSPEC = DESCRIPTOR.message_types_by_name["GoogleGroupSpec"] -_SCIMGROUPSPEC = DESCRIPTOR.message_types_by_name["SCIMGroupSpec"] -_CLOUDGROUPSPEC = DESCRIPTOR.message_types_by_name["CloudGroupSpec"] -_USERGROUPSPEC = DESCRIPTOR.message_types_by_name["UserGroupSpec"] -_USERGROUP = DESCRIPTOR.message_types_by_name["UserGroup"] -_USERGROUPMEMBERID = DESCRIPTOR.message_types_by_name["UserGroupMemberId"] -_USERGROUPMEMBER = DESCRIPTOR.message_types_by_name["UserGroupMember"] -_SERVICEACCOUNT = DESCRIPTOR.message_types_by_name["ServiceAccount"] -_SERVICEACCOUNTSPEC = DESCRIPTOR.message_types_by_name["ServiceAccountSpec"] -_APIKEY = DESCRIPTOR.message_types_by_name["ApiKey"] -_APIKEYSPEC = DESCRIPTOR.message_types_by_name["ApiKeySpec"] -_CUSTOMROLESPEC = DESCRIPTOR.message_types_by_name["CustomRoleSpec"] -_CUSTOMROLESPEC_RESOURCES = _CUSTOMROLESPEC.nested_types_by_name["Resources"] -_CUSTOMROLESPEC_PERMISSION = _CUSTOMROLESPEC.nested_types_by_name["Permission"] -_CUSTOMROLE = DESCRIPTOR.message_types_by_name["CustomRole"] -_USERNAMESPACEASSIGNMENT = DESCRIPTOR.message_types_by_name["UserNamespaceAssignment"] -_SERVICEACCOUNTNAMESPACEASSIGNMENT = DESCRIPTOR.message_types_by_name[ - "ServiceAccountNamespaceAssignment" -] -_USERGROUPNAMESPACEASSIGNMENT = DESCRIPTOR.message_types_by_name[ - "UserGroupNamespaceAssignment" -] -_ACCOUNTACCESS_ROLE = _ACCOUNTACCESS.enum_types_by_name["Role"] -_NAMESPACEACCESS_PERMISSION = _NAMESPACEACCESS.enum_types_by_name["Permission"] -AccountAccess = _reflection.GeneratedProtocolMessageType( - "AccountAccess", - (_message.Message,), - { - "DESCRIPTOR": _ACCOUNTACCESS, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.AccountAccess) - }, -) -_sym_db.RegisterMessage(AccountAccess) - -NamespaceAccess = _reflection.GeneratedProtocolMessageType( - "NamespaceAccess", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEACCESS, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceAccess) - }, -) -_sym_db.RegisterMessage(NamespaceAccess) - -Access = _reflection.GeneratedProtocolMessageType( - "Access", - (_message.Message,), - { - "NamespaceAccessesEntry": _reflection.GeneratedProtocolMessageType( - "NamespaceAccessesEntry", - (_message.Message,), - { - "DESCRIPTOR": _ACCESS_NAMESPACEACCESSESENTRY, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry) - }, - ), - "DESCRIPTOR": _ACCESS, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access) - }, -) -_sym_db.RegisterMessage(Access) -_sym_db.RegisterMessage(Access.NamespaceAccessesEntry) - -NamespaceScopedAccess = _reflection.GeneratedProtocolMessageType( - "NamespaceScopedAccess", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACESCOPEDACCESS, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceScopedAccess) - }, -) -_sym_db.RegisterMessage(NamespaceScopedAccess) - -UserSpec = _reflection.GeneratedProtocolMessageType( - "UserSpec", - (_message.Message,), - { - "DESCRIPTOR": _USERSPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserSpec) - }, -) -_sym_db.RegisterMessage(UserSpec) - -Invitation = _reflection.GeneratedProtocolMessageType( - "Invitation", - (_message.Message,), - { - "DESCRIPTOR": _INVITATION, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Invitation) - }, -) -_sym_db.RegisterMessage(Invitation) - -User = _reflection.GeneratedProtocolMessageType( - "User", - (_message.Message,), - { - "DESCRIPTOR": _USER, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.User) - }, -) -_sym_db.RegisterMessage(User) - -GoogleGroupSpec = _reflection.GeneratedProtocolMessageType( - "GoogleGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _GOOGLEGROUPSPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.GoogleGroupSpec) - }, -) -_sym_db.RegisterMessage(GoogleGroupSpec) - -SCIMGroupSpec = _reflection.GeneratedProtocolMessageType( - "SCIMGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _SCIMGROUPSPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.SCIMGroupSpec) - }, -) -_sym_db.RegisterMessage(SCIMGroupSpec) - -CloudGroupSpec = _reflection.GeneratedProtocolMessageType( - "CloudGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _CLOUDGROUPSPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CloudGroupSpec) - }, -) -_sym_db.RegisterMessage(CloudGroupSpec) - -UserGroupSpec = _reflection.GeneratedProtocolMessageType( - "UserGroupSpec", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUPSPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupSpec) - }, -) -_sym_db.RegisterMessage(UserGroupSpec) - -UserGroup = _reflection.GeneratedProtocolMessageType( - "UserGroup", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUP, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroup) - }, -) -_sym_db.RegisterMessage(UserGroup) - -UserGroupMemberId = _reflection.GeneratedProtocolMessageType( - "UserGroupMemberId", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUPMEMBERID, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMemberId) - }, -) -_sym_db.RegisterMessage(UserGroupMemberId) - -UserGroupMember = _reflection.GeneratedProtocolMessageType( - "UserGroupMember", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUPMEMBER, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMember) - }, -) -_sym_db.RegisterMessage(UserGroupMember) - -ServiceAccount = _reflection.GeneratedProtocolMessageType( - "ServiceAccount", - (_message.Message,), - { - "DESCRIPTOR": _SERVICEACCOUNT, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccount) - }, -) -_sym_db.RegisterMessage(ServiceAccount) - -ServiceAccountSpec = _reflection.GeneratedProtocolMessageType( - "ServiceAccountSpec", - (_message.Message,), - { - "DESCRIPTOR": _SERVICEACCOUNTSPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountSpec) - }, -) -_sym_db.RegisterMessage(ServiceAccountSpec) - -ApiKey = _reflection.GeneratedProtocolMessageType( - "ApiKey", - (_message.Message,), - { - "DESCRIPTOR": _APIKEY, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKey) - }, -) -_sym_db.RegisterMessage(ApiKey) - -ApiKeySpec = _reflection.GeneratedProtocolMessageType( - "ApiKeySpec", - (_message.Message,), - { - "DESCRIPTOR": _APIKEYSPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKeySpec) - }, -) -_sym_db.RegisterMessage(ApiKeySpec) - -CustomRoleSpec = _reflection.GeneratedProtocolMessageType( - "CustomRoleSpec", - (_message.Message,), - { - "Resources": _reflection.GeneratedProtocolMessageType( - "Resources", - (_message.Message,), - { - "DESCRIPTOR": _CUSTOMROLESPEC_RESOURCES, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRoleSpec.Resources) - }, - ), - "Permission": _reflection.GeneratedProtocolMessageType( - "Permission", - (_message.Message,), - { - "DESCRIPTOR": _CUSTOMROLESPEC_PERMISSION, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRoleSpec.Permission) - }, - ), - "DESCRIPTOR": _CUSTOMROLESPEC, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRoleSpec) - }, -) -_sym_db.RegisterMessage(CustomRoleSpec) -_sym_db.RegisterMessage(CustomRoleSpec.Resources) -_sym_db.RegisterMessage(CustomRoleSpec.Permission) - -CustomRole = _reflection.GeneratedProtocolMessageType( - "CustomRole", - (_message.Message,), - { - "DESCRIPTOR": _CUSTOMROLE, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRole) - }, -) -_sym_db.RegisterMessage(CustomRole) - -UserNamespaceAssignment = _reflection.GeneratedProtocolMessageType( - "UserNamespaceAssignment", - (_message.Message,), - { - "DESCRIPTOR": _USERNAMESPACEASSIGNMENT, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserNamespaceAssignment) - }, -) -_sym_db.RegisterMessage(UserNamespaceAssignment) - -ServiceAccountNamespaceAssignment = _reflection.GeneratedProtocolMessageType( - "ServiceAccountNamespaceAssignment", - (_message.Message,), - { - "DESCRIPTOR": _SERVICEACCOUNTNAMESPACEASSIGNMENT, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountNamespaceAssignment) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.identity.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(ServiceAccountNamespaceAssignment) - -UserGroupNamespaceAssignment = _reflection.GeneratedProtocolMessageType( - "UserGroupNamespaceAssignment", - (_message.Message,), - { - "DESCRIPTOR": _USERGROUPNAMESPACEASSIGNMENT, - "__module__": "temporalio.api.cloud.identity.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupNamespaceAssignment) - }, -) -_sym_db.RegisterMessage(UserGroupNamespaceAssignment) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1" - _ACCOUNTACCESS.fields_by_name["role_deprecated"]._options = None - _ACCOUNTACCESS.fields_by_name["role_deprecated"]._serialized_options = b"\030\001" - _NAMESPACEACCESS.fields_by_name["permission_deprecated"]._options = None - _NAMESPACEACCESS.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1" + _globals["_ACCOUNTACCESS"].fields_by_name["role_deprecated"]._loaded_options = None + _globals["_ACCOUNTACCESS"].fields_by_name[ + "role_deprecated" + ]._serialized_options = b"\030\001" + _globals["_NAMESPACEACCESS"].fields_by_name[ "permission_deprecated" + ]._loaded_options = None + _globals["_NAMESPACEACCESS"].fields_by_name[ + "permission_deprecated" + ]._serialized_options = b"\030\001" + _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._loaded_options = None + _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._serialized_options = b"8\001" + _globals["_ACCESS"].fields_by_name["custom_roles_deprecated"]._loaded_options = None + _globals["_ACCESS"].fields_by_name[ + "custom_roles_deprecated" + ]._serialized_options = b"\030\001" + _globals["_USER"].fields_by_name["state_deprecated"]._loaded_options = None + _globals["_USER"].fields_by_name[ + "state_deprecated" + ]._serialized_options = b"\030\001" + _globals["_USERGROUP"].fields_by_name["state_deprecated"]._loaded_options = None + _globals["_USERGROUP"].fields_by_name[ + "state_deprecated" ]._serialized_options = b"\030\001" - _ACCESS_NAMESPACEACCESSESENTRY._options = None - _ACCESS_NAMESPACEACCESSESENTRY._serialized_options = b"8\001" - _ACCESS.fields_by_name["custom_roles_deprecated"]._options = None - _ACCESS.fields_by_name["custom_roles_deprecated"]._serialized_options = b"\030\001" - _USER.fields_by_name["state_deprecated"]._options = None - _USER.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _USERGROUP.fields_by_name["state_deprecated"]._options = None - _USERGROUP.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _SERVICEACCOUNT.fields_by_name["state_deprecated"]._options = None - _SERVICEACCOUNT.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _APIKEY.fields_by_name["state_deprecated"]._options = None - _APIKEY.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _APIKEYSPEC.fields_by_name["owner_type_deprecated"]._options = None - _APIKEYSPEC.fields_by_name[ + _globals["_SERVICEACCOUNT"].fields_by_name[ + "state_deprecated" + ]._loaded_options = None + _globals["_SERVICEACCOUNT"].fields_by_name[ + "state_deprecated" + ]._serialized_options = b"\030\001" + _globals["_APIKEY"].fields_by_name["state_deprecated"]._loaded_options = None + _globals["_APIKEY"].fields_by_name[ + "state_deprecated" + ]._serialized_options = b"\030\001" + _globals["_APIKEYSPEC"].fields_by_name[ + "owner_type_deprecated" + ]._loaded_options = None + _globals["_APIKEYSPEC"].fields_by_name[ "owner_type_deprecated" ]._serialized_options = b"\030\001" - _OWNERTYPE._serialized_start = 4969 - _OWNERTYPE._serialized_end = 5061 - _ACCOUNTACCESS._serialized_start = 160 - _ACCOUNTACCESS._serialized_end = 437 - _ACCOUNTACCESS_ROLE._serialized_start = 295 - _ACCOUNTACCESS_ROLE._serialized_end = 437 - _NAMESPACEACCESS._serialized_start = 440 - _NAMESPACEACCESS._serialized_end = 679 - _NAMESPACEACCESS_PERMISSION._serialized_start = 574 - _NAMESPACEACCESS_PERMISSION._serialized_end = 679 - _ACCESS._serialized_start = 682 - _ACCESS._serialized_end = 996 - _ACCESS_NAMESPACEACCESSESENTRY._serialized_start = 891 - _ACCESS_NAMESPACEACCESSESENTRY._serialized_end = 996 - _NAMESPACESCOPEDACCESS._serialized_start = 998 - _NAMESPACESCOPEDACCESS._serialized_end = 1105 - _USERSPEC._serialized_start = 1107 - _USERSPEC._serialized_end = 1188 - _INVITATION._serialized_start = 1190 - _INVITATION._serialized_end = 1302 - _USER._serialized_start = 1305 - _USER._serialized_end = 1695 - _GOOGLEGROUPSPEC._serialized_start = 1697 - _GOOGLEGROUPSPEC._serialized_end = 1737 - _SCIMGROUPSPEC._serialized_start = 1739 - _SCIMGROUPSPEC._serialized_end = 1770 - _CLOUDGROUPSPEC._serialized_start = 1772 - _CLOUDGROUPSPEC._serialized_end = 1788 - _USERGROUPSPEC._serialized_start = 1791 - _USERGROUPSPEC._serialized_end = 2111 - _USERGROUP._serialized_start = 2114 - _USERGROUP._serialized_end = 2450 - _USERGROUPMEMBERID._serialized_start = 2452 - _USERGROUPMEMBERID._serialized_end = 2505 - _USERGROUPMEMBER._serialized_start = 2508 - _USERGROUPMEMBER._serialized_end = 2645 - _SERVICEACCOUNT._serialized_start = 2648 - _SERVICEACCOUNT._serialized_end = 2994 - _SERVICEACCOUNTSPEC._serialized_start = 2997 - _SERVICEACCOUNTSPEC._serialized_end = 3196 - _APIKEY._serialized_start = 3199 - _APIKEY._serialized_end = 3529 - _APIKEYSPEC._serialized_start = 3532 - _APIKEYSPEC._serialized_end = 3770 - _CUSTOMROLESPEC._serialized_start = 3773 - _CUSTOMROLESPEC._serialized_end = 4089 - _CUSTOMROLESPEC_RESOURCES._serialized_start = 3906 - _CUSTOMROLESPEC_RESOURCES._serialized_end = 3981 - _CUSTOMROLESPEC_PERMISSION._serialized_start = 3983 - _CUSTOMROLESPEC_PERMISSION._serialized_end = 4089 - _CUSTOMROLE._serialized_start = 4092 - _CUSTOMROLE._serialized_end = 4400 - _USERNAMESPACEASSIGNMENT._serialized_start = 4403 - _USERNAMESPACEASSIGNMENT._serialized_end = 4582 - _SERVICEACCOUNTNAMESPACEASSIGNMENT._serialized_start = 4585 - _SERVICEACCOUNTNAMESPACEASSIGNMENT._serialized_end = 4773 - _USERGROUPNAMESPACEASSIGNMENT._serialized_start = 4776 - _USERGROUPNAMESPACEASSIGNMENT._serialized_end = 4967 + _globals["_OWNERTYPE"]._serialized_start = 4969 + _globals["_OWNERTYPE"]._serialized_end = 5061 + _globals["_ACCOUNTACCESS"]._serialized_start = 160 + _globals["_ACCOUNTACCESS"]._serialized_end = 437 + _globals["_ACCOUNTACCESS_ROLE"]._serialized_start = 295 + _globals["_ACCOUNTACCESS_ROLE"]._serialized_end = 437 + _globals["_NAMESPACEACCESS"]._serialized_start = 440 + _globals["_NAMESPACEACCESS"]._serialized_end = 679 + _globals["_NAMESPACEACCESS_PERMISSION"]._serialized_start = 574 + _globals["_NAMESPACEACCESS_PERMISSION"]._serialized_end = 679 + _globals["_ACCESS"]._serialized_start = 682 + _globals["_ACCESS"]._serialized_end = 996 + _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._serialized_start = 891 + _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._serialized_end = 996 + _globals["_NAMESPACESCOPEDACCESS"]._serialized_start = 998 + _globals["_NAMESPACESCOPEDACCESS"]._serialized_end = 1105 + _globals["_USERSPEC"]._serialized_start = 1107 + _globals["_USERSPEC"]._serialized_end = 1188 + _globals["_INVITATION"]._serialized_start = 1190 + _globals["_INVITATION"]._serialized_end = 1302 + _globals["_USER"]._serialized_start = 1305 + _globals["_USER"]._serialized_end = 1695 + _globals["_GOOGLEGROUPSPEC"]._serialized_start = 1697 + _globals["_GOOGLEGROUPSPEC"]._serialized_end = 1737 + _globals["_SCIMGROUPSPEC"]._serialized_start = 1739 + _globals["_SCIMGROUPSPEC"]._serialized_end = 1770 + _globals["_CLOUDGROUPSPEC"]._serialized_start = 1772 + _globals["_CLOUDGROUPSPEC"]._serialized_end = 1788 + _globals["_USERGROUPSPEC"]._serialized_start = 1791 + _globals["_USERGROUPSPEC"]._serialized_end = 2111 + _globals["_USERGROUP"]._serialized_start = 2114 + _globals["_USERGROUP"]._serialized_end = 2450 + _globals["_USERGROUPMEMBERID"]._serialized_start = 2452 + _globals["_USERGROUPMEMBERID"]._serialized_end = 2505 + _globals["_USERGROUPMEMBER"]._serialized_start = 2508 + _globals["_USERGROUPMEMBER"]._serialized_end = 2645 + _globals["_SERVICEACCOUNT"]._serialized_start = 2648 + _globals["_SERVICEACCOUNT"]._serialized_end = 2994 + _globals["_SERVICEACCOUNTSPEC"]._serialized_start = 2997 + _globals["_SERVICEACCOUNTSPEC"]._serialized_end = 3196 + _globals["_APIKEY"]._serialized_start = 3199 + _globals["_APIKEY"]._serialized_end = 3529 + _globals["_APIKEYSPEC"]._serialized_start = 3532 + _globals["_APIKEYSPEC"]._serialized_end = 3770 + _globals["_CUSTOMROLESPEC"]._serialized_start = 3773 + _globals["_CUSTOMROLESPEC"]._serialized_end = 4089 + _globals["_CUSTOMROLESPEC_RESOURCES"]._serialized_start = 3906 + _globals["_CUSTOMROLESPEC_RESOURCES"]._serialized_end = 3981 + _globals["_CUSTOMROLESPEC_PERMISSION"]._serialized_start = 3983 + _globals["_CUSTOMROLESPEC_PERMISSION"]._serialized_end = 4089 + _globals["_CUSTOMROLE"]._serialized_start = 4092 + _globals["_CUSTOMROLE"]._serialized_end = 4400 + _globals["_USERNAMESPACEASSIGNMENT"]._serialized_start = 4403 + _globals["_USERNAMESPACEASSIGNMENT"]._serialized_end = 4582 + _globals["_SERVICEACCOUNTNAMESPACEASSIGNMENT"]._serialized_start = 4585 + _globals["_SERVICEACCOUNTNAMESPACEASSIGNMENT"]._serialized_end = 4773 + _globals["_USERGROUPNAMESPACEASSIGNMENT"]._serialized_start = 4776 + _globals["_USERGROUPNAMESPACEASSIGNMENT"]._serialized_end = 4967 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/identity/v1/message_pb2.pyi b/temporalio/api/cloud/identity/v1/message_pb2.pyi index 5471475f6..a4fdcda17 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.pyi +++ b/temporalio/api/cloud/identity/v1/message_pb2.pyi @@ -30,7 +30,7 @@ class _OwnerType: class _OwnerTypeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OwnerType.ValueType], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor OWNER_TYPE_UNSPECIFIED: _OwnerType.ValueType # 0 OWNER_TYPE_USER: _OwnerType.ValueType # 1 @@ -45,8 +45,9 @@ OWNER_TYPE_USER: OwnerType.ValueType # 1 """The owner is a user.""" OWNER_TYPE_SERVICE_ACCOUNT: OwnerType.ValueType # 2 """The owner is a service account.""" -global___OwnerType = OwnerType +Global___OwnerType: typing_extensions.TypeAlias = OwnerType +@typing.final class AccountAccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -59,7 +60,7 @@ class AccountAccess(google.protobuf.message.Message): AccountAccess._Role.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ROLE_UNSPECIFIED: AccountAccess._Role.ValueType # 0 ROLE_OWNER: AccountAccess._Role.ValueType # 1 @@ -104,7 +105,7 @@ class AccountAccess(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use role instead. temporal:versioning:max_version=v0.3.0 """ - role: global___AccountAccess.Role.ValueType + role: Global___AccountAccess.Role.ValueType """The role on the account. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=role_deprecated @@ -116,16 +117,17 @@ class AccountAccess(google.protobuf.message.Message): """List of custom role IDs assigned to the user or service account. temporal:versioning:min_version=v0.13.0 """ + def __init__( self, *, role_deprecated: builtins.str = ..., - role: global___AccountAccess.Role.ValueType = ..., + role: Global___AccountAccess.Role.ValueType = ..., custom_roles: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "custom_roles", b"custom_roles", "role", @@ -135,8 +137,9 @@ class AccountAccess(google.protobuf.message.Message): ], ) -> None: ... -global___AccountAccess = AccountAccess +Global___AccountAccess: typing_extensions.TypeAlias = AccountAccess +@typing.final class NamespaceAccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -149,7 +152,7 @@ class NamespaceAccess(google.protobuf.message.Message): NamespaceAccess._Permission.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PERMISSION_UNSPECIFIED: NamespaceAccess._Permission.ValueType # 0 PERMISSION_ADMIN: NamespaceAccess._Permission.ValueType # 1 @@ -178,7 +181,7 @@ class NamespaceAccess(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use permission instead. temporal:versioning:max_version=v0.3.0 """ - permission: global___NamespaceAccess.Permission.ValueType + permission: Global___NamespaceAccess.Permission.ValueType """The permission to the namespace. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=permission_deprecated @@ -187,11 +190,11 @@ class NamespaceAccess(google.protobuf.message.Message): self, *, permission_deprecated: builtins.str = ..., - permission: global___NamespaceAccess.Permission.ValueType = ..., + permission: Global___NamespaceAccess.Permission.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "permission", b"permission", "permission_deprecated", @@ -199,11 +202,13 @@ class NamespaceAccess(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceAccess = NamespaceAccess +Global___NamespaceAccess: typing_extensions.TypeAlias = NamespaceAccess +@typing.final class Access(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class NamespaceAccessesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -211,36 +216,37 @@ class Access(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___NamespaceAccess: ... + def value(self) -> Global___NamespaceAccess: ... def __init__( self, *, key: builtins.str = ..., - value: global___NamespaceAccess | None = ..., + value: Global___NamespaceAccess | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ACCOUNT_ACCESS_FIELD_NUMBER: builtins.int NAMESPACE_ACCESSES_FIELD_NUMBER: builtins.int CUSTOM_ROLES_DEPRECATED_FIELD_NUMBER: builtins.int @property - def account_access(self) -> global___AccountAccess: + def account_access(self) -> Global___AccountAccess: """The account access""" + @property def namespace_accesses( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___NamespaceAccess + builtins.str, Global___NamespaceAccess ]: """The map of namespace accesses The key is the namespace name and the value is the access to the namespace """ + @property def custom_roles_deprecated( self, @@ -249,22 +255,23 @@ class Access(google.protobuf.message.Message): Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead. temporal:versioning:max_version=v0.12.0 """ + def __init__( self, *, - account_access: global___AccountAccess | None = ..., + account_access: Global___AccountAccess | None = ..., namespace_accesses: collections.abc.Mapping[ - builtins.str, global___NamespaceAccess + builtins.str, Global___NamespaceAccess ] | None = ..., custom_roles_deprecated: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["account_access", b"account_access"] + self, field_name: typing.Literal["account_access", b"account_access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "account_access", b"account_access", "custom_roles_deprecated", @@ -274,8 +281,9 @@ class Access(google.protobuf.message.Message): ], ) -> None: ... -global___Access = Access +Global___Access: typing_extensions.TypeAlias = Access +@typing.final class NamespaceScopedAccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -284,26 +292,25 @@ class NamespaceScopedAccess(google.protobuf.message.Message): namespace: builtins.str """The namespace the service account is assigned to - immutable.""" @property - def access(self) -> global___NamespaceAccess: + def access(self) -> Global___NamespaceAccess: """The namespace access assigned to the service account - mutable.""" + def __init__( self, *, namespace: builtins.str = ..., - access: global___NamespaceAccess | None = ..., + access: Global___NamespaceAccess | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] + self, field_name: typing.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "access", b"access", "namespace", b"namespace" - ], + self, field_name: typing.Literal["access", b"access", "namespace", b"namespace"] ) -> None: ... -global___NamespaceScopedAccess = NamespaceScopedAccess +Global___NamespaceScopedAccess: typing_extensions.TypeAlias = NamespaceScopedAccess +@typing.final class UserSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -312,24 +319,25 @@ class UserSpec(google.protobuf.message.Message): email: builtins.str """The email address associated to the user""" @property - def access(self) -> global___Access: + def access(self) -> Global___Access: """The access to assigned to the user""" + def __init__( self, *, email: builtins.str = ..., - access: global___Access | None = ..., + access: Global___Access | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["access", b"access"] + self, field_name: typing.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["access", b"access", "email", b"email"], + self, field_name: typing.Literal["access", b"access", "email", b"email"] ) -> None: ... -global___UserSpec = UserSpec +Global___UserSpec: typing_extensions.TypeAlias = UserSpec +@typing.final class Invitation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -338,9 +346,11 @@ class Invitation(google.protobuf.message.Message): @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the user was created""" + @property def expired_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the invitation expires or has expired""" + def __init__( self, *, @@ -349,19 +359,20 @@ class Invitation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "expired_time", b"expired_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "expired_time", b"expired_time" ], ) -> None: ... -global___Invitation = Invitation +Global___Invitation: typing_extensions.TypeAlias = Invitation +@typing.final class User(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -380,9 +391,6 @@ class User(google.protobuf.message.Message): """The current version of the user specification The next update operation will have to include this version """ - @property - def spec(self) -> global___UserSpec: - """The user specification""" state_deprecated: builtins.str """The current state of the user Deprecated: Not supported after v0.3.0 api version. Use state instead. @@ -397,32 +405,39 @@ class User(google.protobuf.message.Message): async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the user, if any""" @property - def invitation(self) -> global___Invitation: + def spec(self) -> Global___UserSpec: + """The user specification""" + + @property + def invitation(self) -> Global___Invitation: """The details of the open invitation sent to the user, if any""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the user was created""" + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the user was last modified Will not be set if the user has never been modified """ + def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: global___UserSpec | None = ..., + spec: Global___UserSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., - invitation: global___Invitation | None = ..., + invitation: Global___Invitation | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "invitation", @@ -435,7 +450,7 @@ class User(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -457,8 +472,9 @@ class User(google.protobuf.message.Message): ], ) -> None: ... -global___User = User +Global___User: typing_extensions.TypeAlias = User +@typing.final class GoogleGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -473,11 +489,12 @@ class GoogleGroupSpec(google.protobuf.message.Message): email_address: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["email_address", b"email_address"] + self, field_name: typing.Literal["email_address", b"email_address"] ) -> None: ... -global___GoogleGroupSpec = GoogleGroupSpec +Global___GoogleGroupSpec: typing_extensions.TypeAlias = GoogleGroupSpec +@typing.final class SCIMGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -489,12 +506,11 @@ class SCIMGroupSpec(google.protobuf.message.Message): *, idp_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["idp_id", b"idp_id"]) -> None: ... -global___SCIMGroupSpec = SCIMGroupSpec +Global___SCIMGroupSpec: typing_extensions.TypeAlias = SCIMGroupSpec +@typing.final class CloudGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -502,8 +518,9 @@ class CloudGroupSpec(google.protobuf.message.Message): self, ) -> None: ... -global___CloudGroupSpec = CloudGroupSpec +Global___CloudGroupSpec: typing_extensions.TypeAlias = CloudGroupSpec +@typing.final class UserGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -515,33 +532,37 @@ class UserGroupSpec(google.protobuf.message.Message): display_name: builtins.str """The display name of the group.""" @property - def access(self) -> global___Access: + def access(self) -> Global___Access: """The access assigned to the group.""" + @property - def google_group(self) -> global___GoogleGroupSpec: + def google_group(self) -> Global___GoogleGroupSpec: """The specification of the google group that this group is associated with.""" + @property - def scim_group(self) -> global___SCIMGroupSpec: + def scim_group(self) -> Global___SCIMGroupSpec: """The specification of the SCIM group that this group is associated with. SCIM groups cannot be created or deleted directly, but their access can be managed. """ + @property - def cloud_group(self) -> global___CloudGroupSpec: + def cloud_group(self) -> Global___CloudGroupSpec: """The specification for a Cloud group. Cloud groups can manage members using the add and remove member APIs. """ + def __init__( self, *, display_name: builtins.str = ..., - access: global___Access | None = ..., - google_group: global___GoogleGroupSpec | None = ..., - scim_group: global___SCIMGroupSpec | None = ..., - cloud_group: global___CloudGroupSpec | None = ..., + access: Global___Access | None = ..., + google_group: Global___GoogleGroupSpec | None = ..., + scim_group: Global___SCIMGroupSpec | None = ..., + cloud_group: Global___CloudGroupSpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "access", b"access", "cloud_group", @@ -556,7 +577,7 @@ class UserGroupSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "access", b"access", "cloud_group", @@ -572,13 +593,12 @@ class UserGroupSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["group_type", b"group_type"] - ) -> ( - typing_extensions.Literal["google_group", "scim_group", "cloud_group"] | None - ): ... + self, oneof_group: typing.Literal["group_type", b"group_type"] + ) -> typing.Literal["google_group", "scim_group", "cloud_group"] | None: ... -global___UserGroupSpec = UserGroupSpec +Global___UserGroupSpec: typing_extensions.TypeAlias = UserGroupSpec +@typing.final class UserGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -596,9 +616,6 @@ class UserGroup(google.protobuf.message.Message): """The current version of the group specification The next update operation will have to include this version """ - @property - def spec(self) -> global___UserGroupSpec: - """The group specification""" state_deprecated: builtins.str """The current state of the group. Deprecated: Not supported after v0.3.0 api version. Use state instead. @@ -612,20 +629,26 @@ class UserGroup(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the group, if any""" + @property + def spec(self) -> Global___UserGroupSpec: + """The group specification""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the group was created""" + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the group was last modified Will not be set if the group has never been modified """ + def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: global___UserGroupSpec | None = ..., + spec: Global___UserGroupSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -634,7 +657,7 @@ class UserGroup(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "last_modified_time", @@ -645,7 +668,7 @@ class UserGroup(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -665,8 +688,9 @@ class UserGroup(google.protobuf.message.Message): ], ) -> None: ... -global___UserGroup = UserGroup +Global___UserGroup: typing_extensions.TypeAlias = UserGroup +@typing.final class UserGroupMemberId(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -679,52 +703,54 @@ class UserGroupMemberId(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "member_type", b"member_type", "user_id", b"user_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "member_type", b"member_type", "user_id", b"user_id" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["member_type", b"member_type"] - ) -> typing_extensions.Literal["user_id"] | None: ... + self, oneof_group: typing.Literal["member_type", b"member_type"] + ) -> typing.Literal["user_id"] | None: ... -global___UserGroupMemberId = UserGroupMemberId +Global___UserGroupMemberId: typing_extensions.TypeAlias = UserGroupMemberId +@typing.final class UserGroupMember(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor MEMBER_ID_FIELD_NUMBER: builtins.int CREATED_TIME_FIELD_NUMBER: builtins.int @property - def member_id(self) -> global___UserGroupMemberId: ... + def member_id(self) -> Global___UserGroupMemberId: ... @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - member_id: global___UserGroupMemberId | None = ..., + member_id: Global___UserGroupMemberId | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "member_id", b"member_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "member_id", b"member_id" ], ) -> None: ... -global___UserGroupMember = UserGroupMember +Global___UserGroupMember: typing_extensions.TypeAlias = UserGroupMember +@typing.final class ServiceAccount(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -742,9 +768,6 @@ class ServiceAccount(google.protobuf.message.Message): """The current version of the service account specification. The next update operation will have to include this version. """ - @property - def spec(self) -> global___ServiceAccountSpec: - """The service account specification.""" state_deprecated: builtins.str """The current state of the service account. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. @@ -760,20 +783,26 @@ class ServiceAccount(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the service account, if any.""" + @property + def spec(self) -> Global___ServiceAccountSpec: + """The service account specification.""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the service account was created.""" + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the service account was last modified Will not be set if the service account has never been modified. """ + def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: global___ServiceAccountSpec | None = ..., + spec: Global___ServiceAccountSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -782,7 +811,7 @@ class ServiceAccount(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "last_modified_time", @@ -793,7 +822,7 @@ class ServiceAccount(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -813,8 +842,9 @@ class ServiceAccount(google.protobuf.message.Message): ], ) -> None: ... -global___ServiceAccount = ServiceAccount +Global___ServiceAccount: typing_extensions.TypeAlias = ServiceAccount +@typing.final class ServiceAccountSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -826,41 +856,43 @@ class ServiceAccountSpec(google.protobuf.message.Message): """The name associated with the service account. The name is mutable, but must be unique across all your active service accounts. """ + description: builtins.str + """The description associated with the service account - optional. + The description is mutable. + """ @property - def access(self) -> global___Access: + def access(self) -> Global___Access: """Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable. """ + @property - def namespace_scoped_access(self) -> global___NamespaceScopedAccess: + def namespace_scoped_access(self) -> Global___NamespaceScopedAccess: """The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details. """ - description: builtins.str - """The description associated with the service account - optional. - The description is mutable. - """ + def __init__( self, *, name: builtins.str = ..., - access: global___Access | None = ..., - namespace_scoped_access: global___NamespaceScopedAccess | None = ..., + access: Global___Access | None = ..., + namespace_scoped_access: Global___NamespaceScopedAccess | None = ..., description: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "access", b"access", "namespace_scoped_access", b"namespace_scoped_access" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "access", b"access", "description", @@ -872,8 +904,9 @@ class ServiceAccountSpec(google.protobuf.message.Message): ], ) -> None: ... -global___ServiceAccountSpec = ServiceAccountSpec +Global___ServiceAccountSpec: typing_extensions.TypeAlias = ServiceAccountSpec +@typing.final class ApiKey(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -891,9 +924,6 @@ class ApiKey(google.protobuf.message.Message): """The current version of the API key specification. The next update operation will have to include this version. """ - @property - def spec(self) -> global___ApiKeySpec: - """The API key specification.""" state_deprecated: builtins.str """The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. @@ -908,20 +938,26 @@ class ApiKey(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the API key, if any.""" + @property + def spec(self) -> Global___ApiKeySpec: + """The API key specification.""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the API key was created.""" + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the API key was last modified. Will not be set if the API key has never been modified. """ + def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: global___ApiKeySpec | None = ..., + spec: Global___ApiKeySpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -930,7 +966,7 @@ class ApiKey(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "last_modified_time", @@ -941,7 +977,7 @@ class ApiKey(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -961,8 +997,9 @@ class ApiKey(google.protobuf.message.Message): ], ) -> None: ... -global___ApiKey = ApiKey +Global___ApiKey: typing_extensions.TypeAlias = ApiKey +@typing.final class ApiKeySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -986,7 +1023,7 @@ class ApiKeySpec(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use owner_type instead. temporal:versioning:max_version=v0.3.0 """ - owner_type: global___OwnerType.ValueType + owner_type: Global___OwnerType.ValueType """The type of the owner to create the API key for. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=owner_type_deprecated @@ -995,28 +1032,29 @@ class ApiKeySpec(google.protobuf.message.Message): """The display name of the API key.""" description: builtins.str """The description of the API key.""" + disabled: builtins.bool + """True if the API key is disabled.""" @property def expiry_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The expiry time of the API key.""" - disabled: builtins.bool - """True if the API key is disabled.""" + def __init__( self, *, owner_id: builtins.str = ..., owner_type_deprecated: builtins.str = ..., - owner_type: global___OwnerType.ValueType = ..., + owner_type: Global___OwnerType.ValueType = ..., display_name: builtins.str = ..., description: builtins.str = ..., expiry_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., disabled: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["expiry_time", b"expiry_time"] + self, field_name: typing.Literal["expiry_time", b"expiry_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "disabled", @@ -1034,11 +1072,13 @@ class ApiKeySpec(google.protobuf.message.Message): ], ) -> None: ... -global___ApiKeySpec = ApiKeySpec +Global___ApiKeySpec: typing_extensions.TypeAlias = ApiKeySpec +@typing.final class CustomRoleSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Resources(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1047,6 +1087,8 @@ class CustomRoleSpec(google.protobuf.message.Message): ALLOW_ALL_FIELD_NUMBER: builtins.int resource_type: builtins.str """The resource type the permission applies to.""" + allow_all: builtins.bool + """Whether the permission applies to all resources of the given type.""" @property def resource_ids( self, @@ -1054,8 +1096,7 @@ class CustomRoleSpec(google.protobuf.message.Message): builtins.str ]: """The resource IDs the permission applies to. Can be empty if allow_all is true.""" - allow_all: builtins.bool - """Whether the permission applies to all resources of the given type.""" + def __init__( self, *, @@ -1065,7 +1106,7 @@ class CustomRoleSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "allow_all", b"allow_all", "resource_ids", @@ -1075,14 +1116,16 @@ class CustomRoleSpec(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class Permission(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RESOURCES_FIELD_NUMBER: builtins.int ACTIONS_FIELD_NUMBER: builtins.int @property - def resources(self) -> global___CustomRoleSpec.Resources: + def resources(self) -> Global___CustomRoleSpec.Resources: """The resources the permission applies to.""" + @property def actions( self, @@ -1090,18 +1133,19 @@ class CustomRoleSpec(google.protobuf.message.Message): builtins.str ]: """The actions allowed by the permission.""" + def __init__( self, *, - resources: global___CustomRoleSpec.Resources | None = ..., + resources: Global___CustomRoleSpec.Resources | None = ..., actions: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["resources", b"resources"] + self, field_name: typing.Literal["resources", b"resources"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "actions", b"actions", "resources", b"resources" ], ) -> None: ... @@ -1117,20 +1161,21 @@ class CustomRoleSpec(google.protobuf.message.Message): def permissions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CustomRoleSpec.Permission + Global___CustomRoleSpec.Permission ]: """The permissions assigned to the custom role.""" + def __init__( self, *, name: builtins.str = ..., description: builtins.str = ..., - permissions: collections.abc.Iterable[global___CustomRoleSpec.Permission] + permissions: collections.abc.Iterable[Global___CustomRoleSpec.Permission] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "name", @@ -1140,8 +1185,9 @@ class CustomRoleSpec(google.protobuf.message.Message): ], ) -> None: ... -global___CustomRoleSpec = CustomRoleSpec +Global___CustomRoleSpec: typing_extensions.TypeAlias = CustomRoleSpec +@typing.final class CustomRole(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1158,29 +1204,32 @@ class CustomRole(google.protobuf.message.Message): """The current version of the custom role specification. The next update operation will have to include this version. """ - @property - def spec(self) -> global___CustomRoleSpec: - """The custom role specification.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the custom role. For any failed state, reach out to Temporal Cloud support for remediation. """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the custom role, if any.""" + @property + def spec(self) -> Global___CustomRoleSpec: + """The custom role specification.""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the custom role was created.""" + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the custom role was last modified. Will not be set if the custom role has never been modified. """ + def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: global___CustomRoleSpec | None = ..., + spec: Global___CustomRoleSpec | None = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -1188,7 +1237,7 @@ class CustomRole(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "last_modified_time", @@ -1199,7 +1248,7 @@ class CustomRole(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -1217,8 +1266,9 @@ class CustomRole(google.protobuf.message.Message): ], ) -> None: ... -global___CustomRole = CustomRole +Global___CustomRole: typing_extensions.TypeAlias = CustomRole +@typing.final class UserNamespaceAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1231,29 +1281,29 @@ class UserNamespaceAssignment(google.protobuf.message.Message): """The ID of the user.""" email: builtins.str """The email of the user.""" - @property - def namespace_access(self) -> global___NamespaceAccess: - """The access assigned to the user at the namespace level.""" inherited_access: builtins.bool """True if the user has inherited access to the namespace through an account or project role.""" resource_version: builtins.str """The current resource version of the user.""" + @property + def namespace_access(self) -> Global___NamespaceAccess: + """The access assigned to the user at the namespace level.""" + def __init__( self, *, id: builtins.str = ..., email: builtins.str = ..., - namespace_access: global___NamespaceAccess | None = ..., + namespace_access: Global___NamespaceAccess | None = ..., inherited_access: builtins.bool = ..., resource_version: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["namespace_access", b"namespace_access"], + self, field_name: typing.Literal["namespace_access", b"namespace_access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "email", b"email", "id", @@ -1267,8 +1317,9 @@ class UserNamespaceAssignment(google.protobuf.message.Message): ], ) -> None: ... -global___UserNamespaceAssignment = UserNamespaceAssignment +Global___UserNamespaceAssignment: typing_extensions.TypeAlias = UserNamespaceAssignment +@typing.final class ServiceAccountNamespaceAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1281,29 +1332,29 @@ class ServiceAccountNamespaceAssignment(google.protobuf.message.Message): """The ID of the service account.""" name: builtins.str """The name of the service account.""" - @property - def namespace_access(self) -> global___NamespaceAccess: - """The access assigned to the service account at the namespace level.""" inherited_access: builtins.bool """True if the service account has inherited access to the namespace through an account or project role.""" resource_version: builtins.str """The current resource version of the service account.""" + @property + def namespace_access(self) -> Global___NamespaceAccess: + """The access assigned to the service account at the namespace level.""" + def __init__( self, *, id: builtins.str = ..., name: builtins.str = ..., - namespace_access: global___NamespaceAccess | None = ..., + namespace_access: Global___NamespaceAccess | None = ..., inherited_access: builtins.bool = ..., resource_version: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["namespace_access", b"namespace_access"], + self, field_name: typing.Literal["namespace_access", b"namespace_access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "id", b"id", "inherited_access", @@ -1317,8 +1368,11 @@ class ServiceAccountNamespaceAssignment(google.protobuf.message.Message): ], ) -> None: ... -global___ServiceAccountNamespaceAssignment = ServiceAccountNamespaceAssignment +Global___ServiceAccountNamespaceAssignment: typing_extensions.TypeAlias = ( + ServiceAccountNamespaceAssignment +) +@typing.final class UserGroupNamespaceAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1331,29 +1385,29 @@ class UserGroupNamespaceAssignment(google.protobuf.message.Message): """The ID of the group.""" display_name: builtins.str """The display name of the group.""" - @property - def namespace_access(self) -> global___NamespaceAccess: - """The access assigned to the group at the namespace level.""" inherited_access: builtins.bool """True if the group has inherited access to the namespace through an account or project role.""" resource_version: builtins.str """The current resource version of the group.""" + @property + def namespace_access(self) -> Global___NamespaceAccess: + """The access assigned to the group at the namespace level.""" + def __init__( self, *, id: builtins.str = ..., display_name: builtins.str = ..., - namespace_access: global___NamespaceAccess | None = ..., + namespace_access: Global___NamespaceAccess | None = ..., inherited_access: builtins.bool = ..., resource_version: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["namespace_access", b"namespace_access"], + self, field_name: typing.Literal["namespace_access", b"namespace_access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "display_name", b"display_name", "id", @@ -1367,4 +1421,6 @@ class UserGroupNamespaceAssignment(google.protobuf.message.Message): ], ) -> None: ... -global___UserGroupNamespaceAssignment = UserGroupNamespaceAssignment +Global___UserGroupNamespaceAssignment: typing_extensions.TypeAlias = ( + UserGroupNamespaceAssignment +) diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.py b/temporalio/api/cloud/namespace/v1/message_pb2.py index 33eb2f789..e3603f914 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.py +++ b/temporalio/api/cloud/namespace/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/namespace/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/namespace/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,569 +40,146 @@ b'\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t"\xbb\x01\n\x0cMtlsAuthSpec\x12)\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t"c\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08\x12)\n!disable_passive_poller_forwarding\x18\x02 \x01(\x08"\x1d\n\x0bReplicaSpec\x12\x0e\n\x06region\x18\x01 \x01(\t"\x99\x02\n\x07Replica\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nis_primary\x18\x02 \x01(\x08\x12\x44\n\x05state\x18\x03 \x01(\x0e\x32\x35.temporal.api.cloud.namespace.v1.Replica.ReplicaState\x12\x0e\n\x06region\x18\x04 \x01(\t"\x97\x01\n\x0cReplicaState\x12\x1d\n\x19REPLICA_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14REPLICA_STATE_ADDING\x10\x01\x12\x18\n\x14REPLICA_STATE_ACTIVE\x10\x02\x12\x1a\n\x16REPLICA_STATE_REMOVING\x10\x03\x12\x18\n\x14REPLICA_STATE_FAILED\x10\x05"\xdf\x01\n\x0c\x43\x61pacitySpec\x12K\n\ton_demand\x18\x01 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CapacitySpec.OnDemandH\x00\x12P\n\x0bprovisioned\x18\x02 \x01(\x0b\x32\x39.temporal.api.cloud.namespace.v1.CapacitySpec.ProvisionedH\x00\x1a\n\n\x08OnDemand\x1a\x1c\n\x0bProvisioned\x12\r\n\x05value\x18\x01 \x01(\x01\x42\x06\n\x04spec"\xdc\x05\n\x08\x43\x61pacity\x12G\n\ton_demand\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.namespace.v1.Capacity.OnDemandH\x00\x12L\n\x0bprovisioned\x18\x02 \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.Capacity.ProvisionedH\x00\x12I\n\x0elatest_request\x18\x03 \x01(\x0b\x32\x31.temporal.api.cloud.namespace.v1.Capacity.Request\x1a\n\n\x08OnDemand\x1a$\n\x0bProvisioned\x12\x15\n\rcurrent_value\x18\x01 \x01(\x01\x1a\xab\x03\n\x07Request\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x37.temporal.api.cloud.namespace.v1.Capacity.Request.State\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x12;\n\x04spec\x18\x05 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.CapacitySpec"\xa0\x01\n\x05State\x12&\n"STATE_CAPACITY_REQUEST_UNSPECIFIED\x10\x00\x12$\n STATE_CAPACITY_REQUEST_COMPLETED\x10\x01\x12&\n"STATE_CAPACITY_REQUEST_IN_PROGRESS\x10\x02\x12!\n\x1dSTATE_CAPACITY_REQUEST_FAILED\x10\x03\x42\x0e\n\x0c\x63urrent_mode"3\n\x0c\x46\x61irnessSpec\x12#\n\x1btask_queue_fairness_enabled\x18\x01 \x01(\x08"\xd4\n\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x07regions\x18\x02 \x03(\tB\x02\x18\x01\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x12\x44\n\rcapacity_spec\x18\x0c \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.CapacitySpec\x12>\n\x08replicas\x18\r \x03(\x0b\x32,.temporal.api.cloud.namespace.v1.ReplicaSpec\x12?\n\x08\x66\x61irness\x18\x0e \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.FairnessSpec\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo"\xc3\x08\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12W\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntryB\x02\x18\x01\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x12;\n\x08\x63\x61pacity\x18\x10 \x01(\x0b\x32).temporal.api.cloud.namespace.v1.Capacity\x12:\n\x08replicas\x18\x12 \x03(\x0b\x32(.temporal.api.cloud.namespace.v1.Replica\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03"\x9f\x06\n\x15NamespaceCapacityInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11has_legacy_limits\x18\x02 \x01(\x08\x12\x43\n\x10\x63urrent_capacity\x18\x03 \x01(\x0b\x32).temporal.api.cloud.namespace.v1.Capacity\x12`\n\x0cmode_options\x18\x04 \x01(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions\x12K\n\x05stats\x18\x05 \x01(\x0b\x32<.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats\x1a\xd3\x02\n\x13\x43\x61pacityModeOptions\x12k\n\x0bprovisioned\x18\x01 \x01(\x0b\x32V.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned\x12\x66\n\ton_demand\x18\x02 \x01(\x0b\x32S.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand\x1aH\n\x0bProvisioned\x12\x18\n\x10valid_tru_values\x18\x01 \x03(\x01\x12\x1f\n\x17max_available_tru_value\x18\x02 \x01(\x01\x1a\x1d\n\x08OnDemand\x12\x11\n\taps_limit\x18\x01 \x01(\x01\x1a\x8d\x01\n\x05Stats\x12Q\n\x03\x61ps\x18\x01 \x01(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary\x1a\x31\n\x07Summary\x12\x0c\n\x04mean\x18\x01 \x01(\x01\x12\x0b\n\x03p90\x18\x02 \x01(\x01\x12\x0b\n\x03p99\x18\x03 \x01(\x01\x42\xb1\x01\n"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3' ) - -_CERTIFICATEFILTERSPEC = DESCRIPTOR.message_types_by_name["CertificateFilterSpec"] -_MTLSAUTHSPEC = DESCRIPTOR.message_types_by_name["MtlsAuthSpec"] -_APIKEYAUTHSPEC = DESCRIPTOR.message_types_by_name["ApiKeyAuthSpec"] -_LIFECYCLESPEC = DESCRIPTOR.message_types_by_name["LifecycleSpec"] -_CODECSERVERSPEC = DESCRIPTOR.message_types_by_name["CodecServerSpec"] -_CODECSERVERSPEC_CUSTOMERRORMESSAGE = _CODECSERVERSPEC.nested_types_by_name[ - "CustomErrorMessage" -] -_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE = ( - _CODECSERVERSPEC_CUSTOMERRORMESSAGE.nested_types_by_name["ErrorMessage"] -) -_HIGHAVAILABILITYSPEC = DESCRIPTOR.message_types_by_name["HighAvailabilitySpec"] -_REPLICASPEC = DESCRIPTOR.message_types_by_name["ReplicaSpec"] -_REPLICA = DESCRIPTOR.message_types_by_name["Replica"] -_CAPACITYSPEC = DESCRIPTOR.message_types_by_name["CapacitySpec"] -_CAPACITYSPEC_ONDEMAND = _CAPACITYSPEC.nested_types_by_name["OnDemand"] -_CAPACITYSPEC_PROVISIONED = _CAPACITYSPEC.nested_types_by_name["Provisioned"] -_CAPACITY = DESCRIPTOR.message_types_by_name["Capacity"] -_CAPACITY_ONDEMAND = _CAPACITY.nested_types_by_name["OnDemand"] -_CAPACITY_PROVISIONED = _CAPACITY.nested_types_by_name["Provisioned"] -_CAPACITY_REQUEST = _CAPACITY.nested_types_by_name["Request"] -_FAIRNESSSPEC = DESCRIPTOR.message_types_by_name["FairnessSpec"] -_NAMESPACESPEC = DESCRIPTOR.message_types_by_name["NamespaceSpec"] -_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ - "CustomSearchAttributesEntry" -] -_NAMESPACESPEC_SEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ - "SearchAttributesEntry" -] -_ENDPOINTS = DESCRIPTOR.message_types_by_name["Endpoints"] -_LIMITS = DESCRIPTOR.message_types_by_name["Limits"] -_AWSPRIVATELINKINFO = DESCRIPTOR.message_types_by_name["AWSPrivateLinkInfo"] -_PRIVATECONNECTIVITY = DESCRIPTOR.message_types_by_name["PrivateConnectivity"] -_NAMESPACE = DESCRIPTOR.message_types_by_name["Namespace"] -_NAMESPACE_REGIONSTATUSENTRY = _NAMESPACE.nested_types_by_name["RegionStatusEntry"] -_NAMESPACE_TAGSENTRY = _NAMESPACE.nested_types_by_name["TagsEntry"] -_NAMESPACEREGIONSTATUS = DESCRIPTOR.message_types_by_name["NamespaceRegionStatus"] -_EXPORTSINKSPEC = DESCRIPTOR.message_types_by_name["ExportSinkSpec"] -_EXPORTSINK = DESCRIPTOR.message_types_by_name["ExportSink"] -_NAMESPACECAPACITYINFO = DESCRIPTOR.message_types_by_name["NamespaceCapacityInfo"] -_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS = ( - _NAMESPACECAPACITYINFO.nested_types_by_name["CapacityModeOptions"] -) -_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED = ( - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS.nested_types_by_name["Provisioned"] -) -_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND = ( - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS.nested_types_by_name["OnDemand"] -) -_NAMESPACECAPACITYINFO_STATS = _NAMESPACECAPACITYINFO.nested_types_by_name["Stats"] -_NAMESPACECAPACITYINFO_STATS_SUMMARY = ( - _NAMESPACECAPACITYINFO_STATS.nested_types_by_name["Summary"] -) -_REPLICA_REPLICASTATE = _REPLICA.enum_types_by_name["ReplicaState"] -_CAPACITY_REQUEST_STATE = _CAPACITY_REQUEST.enum_types_by_name["State"] -_NAMESPACESPEC_SEARCHATTRIBUTETYPE = _NAMESPACESPEC.enum_types_by_name[ - "SearchAttributeType" -] -_NAMESPACEREGIONSTATUS_STATE = _NAMESPACEREGIONSTATUS.enum_types_by_name["State"] -_EXPORTSINK_HEALTH = _EXPORTSINK.enum_types_by_name["Health"] -CertificateFilterSpec = _reflection.GeneratedProtocolMessageType( - "CertificateFilterSpec", - (_message.Message,), - { - "DESCRIPTOR": _CERTIFICATEFILTERSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CertificateFilterSpec) - }, -) -_sym_db.RegisterMessage(CertificateFilterSpec) - -MtlsAuthSpec = _reflection.GeneratedProtocolMessageType( - "MtlsAuthSpec", - (_message.Message,), - { - "DESCRIPTOR": _MTLSAUTHSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.MtlsAuthSpec) - }, -) -_sym_db.RegisterMessage(MtlsAuthSpec) - -ApiKeyAuthSpec = _reflection.GeneratedProtocolMessageType( - "ApiKeyAuthSpec", - (_message.Message,), - { - "DESCRIPTOR": _APIKEYAUTHSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ApiKeyAuthSpec) - }, -) -_sym_db.RegisterMessage(ApiKeyAuthSpec) - -LifecycleSpec = _reflection.GeneratedProtocolMessageType( - "LifecycleSpec", - (_message.Message,), - { - "DESCRIPTOR": _LIFECYCLESPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.LifecycleSpec) - }, -) -_sym_db.RegisterMessage(LifecycleSpec) - -CodecServerSpec = _reflection.GeneratedProtocolMessageType( - "CodecServerSpec", - (_message.Message,), - { - "CustomErrorMessage": _reflection.GeneratedProtocolMessageType( - "CustomErrorMessage", - (_message.Message,), - { - "ErrorMessage": _reflection.GeneratedProtocolMessageType( - "ErrorMessage", - (_message.Message,), - { - "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage) - }, - ), - "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage) - }, - ), - "DESCRIPTOR": _CODECSERVERSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec) - }, -) -_sym_db.RegisterMessage(CodecServerSpec) -_sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage) -_sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage.ErrorMessage) - -HighAvailabilitySpec = _reflection.GeneratedProtocolMessageType( - "HighAvailabilitySpec", - (_message.Message,), - { - "DESCRIPTOR": _HIGHAVAILABILITYSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.HighAvailabilitySpec) - }, -) -_sym_db.RegisterMessage(HighAvailabilitySpec) - -ReplicaSpec = _reflection.GeneratedProtocolMessageType( - "ReplicaSpec", - (_message.Message,), - { - "DESCRIPTOR": _REPLICASPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ReplicaSpec) - }, -) -_sym_db.RegisterMessage(ReplicaSpec) - -Replica = _reflection.GeneratedProtocolMessageType( - "Replica", - (_message.Message,), - { - "DESCRIPTOR": _REPLICA, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Replica) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.namespace.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(Replica) - -CapacitySpec = _reflection.GeneratedProtocolMessageType( - "CapacitySpec", - (_message.Message,), - { - "OnDemand": _reflection.GeneratedProtocolMessageType( - "OnDemand", - (_message.Message,), - { - "DESCRIPTOR": _CAPACITYSPEC_ONDEMAND, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand) - }, - ), - "Provisioned": _reflection.GeneratedProtocolMessageType( - "Provisioned", - (_message.Message,), - { - "DESCRIPTOR": _CAPACITYSPEC_PROVISIONED, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned) - }, - ), - "DESCRIPTOR": _CAPACITYSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CapacitySpec) - }, -) -_sym_db.RegisterMessage(CapacitySpec) -_sym_db.RegisterMessage(CapacitySpec.OnDemand) -_sym_db.RegisterMessage(CapacitySpec.Provisioned) - -Capacity = _reflection.GeneratedProtocolMessageType( - "Capacity", - (_message.Message,), - { - "OnDemand": _reflection.GeneratedProtocolMessageType( - "OnDemand", - (_message.Message,), - { - "DESCRIPTOR": _CAPACITY_ONDEMAND, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity.OnDemand) - }, - ), - "Provisioned": _reflection.GeneratedProtocolMessageType( - "Provisioned", - (_message.Message,), - { - "DESCRIPTOR": _CAPACITY_PROVISIONED, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity.Provisioned) - }, - ), - "Request": _reflection.GeneratedProtocolMessageType( - "Request", - (_message.Message,), - { - "DESCRIPTOR": _CAPACITY_REQUEST, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity.Request) - }, - ), - "DESCRIPTOR": _CAPACITY, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity) - }, -) -_sym_db.RegisterMessage(Capacity) -_sym_db.RegisterMessage(Capacity.OnDemand) -_sym_db.RegisterMessage(Capacity.Provisioned) -_sym_db.RegisterMessage(Capacity.Request) - -FairnessSpec = _reflection.GeneratedProtocolMessageType( - "FairnessSpec", - (_message.Message,), - { - "DESCRIPTOR": _FAIRNESSSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.FairnessSpec) - }, -) -_sym_db.RegisterMessage(FairnessSpec) - -NamespaceSpec = _reflection.GeneratedProtocolMessageType( - "NamespaceSpec", - (_message.Message,), - { - "CustomSearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "CustomSearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry) - }, - ), - "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACESPEC_SEARCHATTRIBUTESENTRY, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry) - }, - ), - "DESCRIPTOR": _NAMESPACESPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec) - }, -) -_sym_db.RegisterMessage(NamespaceSpec) -_sym_db.RegisterMessage(NamespaceSpec.CustomSearchAttributesEntry) -_sym_db.RegisterMessage(NamespaceSpec.SearchAttributesEntry) - -Endpoints = _reflection.GeneratedProtocolMessageType( - "Endpoints", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTS, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Endpoints) - }, -) -_sym_db.RegisterMessage(Endpoints) - -Limits = _reflection.GeneratedProtocolMessageType( - "Limits", - (_message.Message,), - { - "DESCRIPTOR": _LIMITS, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Limits) - }, -) -_sym_db.RegisterMessage(Limits) - -AWSPrivateLinkInfo = _reflection.GeneratedProtocolMessageType( - "AWSPrivateLinkInfo", - (_message.Message,), - { - "DESCRIPTOR": _AWSPRIVATELINKINFO, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo) - }, -) -_sym_db.RegisterMessage(AWSPrivateLinkInfo) - -PrivateConnectivity = _reflection.GeneratedProtocolMessageType( - "PrivateConnectivity", - (_message.Message,), - { - "DESCRIPTOR": _PRIVATECONNECTIVITY, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.PrivateConnectivity) - }, -) -_sym_db.RegisterMessage(PrivateConnectivity) - -Namespace = _reflection.GeneratedProtocolMessageType( - "Namespace", - (_message.Message,), - { - "RegionStatusEntry": _reflection.GeneratedProtocolMessageType( - "RegionStatusEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACE_REGIONSTATUSENTRY, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry) - }, - ), - "TagsEntry": _reflection.GeneratedProtocolMessageType( - "TagsEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACE_TAGSENTRY, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.TagsEntry) - }, - ), - "DESCRIPTOR": _NAMESPACE, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace) - }, -) -_sym_db.RegisterMessage(Namespace) -_sym_db.RegisterMessage(Namespace.RegionStatusEntry) -_sym_db.RegisterMessage(Namespace.TagsEntry) - -NamespaceRegionStatus = _reflection.GeneratedProtocolMessageType( - "NamespaceRegionStatus", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEREGIONSTATUS, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceRegionStatus) - }, -) -_sym_db.RegisterMessage(NamespaceRegionStatus) - -ExportSinkSpec = _reflection.GeneratedProtocolMessageType( - "ExportSinkSpec", - (_message.Message,), - { - "DESCRIPTOR": _EXPORTSINKSPEC, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSinkSpec) - }, -) -_sym_db.RegisterMessage(ExportSinkSpec) - -ExportSink = _reflection.GeneratedProtocolMessageType( - "ExportSink", - (_message.Message,), - { - "DESCRIPTOR": _EXPORTSINK, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSink) - }, -) -_sym_db.RegisterMessage(ExportSink) - -NamespaceCapacityInfo = _reflection.GeneratedProtocolMessageType( - "NamespaceCapacityInfo", - (_message.Message,), - { - "CapacityModeOptions": _reflection.GeneratedProtocolMessageType( - "CapacityModeOptions", - (_message.Message,), - { - "Provisioned": _reflection.GeneratedProtocolMessageType( - "Provisioned", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned) - }, - ), - "OnDemand": _reflection.GeneratedProtocolMessageType( - "OnDemand", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand) - }, - ), - "DESCRIPTOR": _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions) - }, - ), - "Stats": _reflection.GeneratedProtocolMessageType( - "Stats", - (_message.Message,), - { - "Summary": _reflection.GeneratedProtocolMessageType( - "Summary", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACECAPACITYINFO_STATS_SUMMARY, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary) - }, - ), - "DESCRIPTOR": _NAMESPACECAPACITYINFO_STATS, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats) - }, - ), - "DESCRIPTOR": _NAMESPACECAPACITYINFO, - "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo) - }, -) -_sym_db.RegisterMessage(NamespaceCapacityInfo) -_sym_db.RegisterMessage(NamespaceCapacityInfo.CapacityModeOptions) -_sym_db.RegisterMessage(NamespaceCapacityInfo.CapacityModeOptions.Provisioned) -_sym_db.RegisterMessage(NamespaceCapacityInfo.CapacityModeOptions.OnDemand) -_sym_db.RegisterMessage(NamespaceCapacityInfo.Stats) -_sym_db.RegisterMessage(NamespaceCapacityInfo.Stats.Summary) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' - _MTLSAUTHSPEC.fields_by_name["accepted_client_ca_deprecated"]._options = None - _MTLSAUTHSPEC.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b'\n"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' + _globals["_MTLSAUTHSPEC"].fields_by_name[ + "accepted_client_ca_deprecated" + ]._loaded_options = None + _globals["_MTLSAUTHSPEC"].fields_by_name[ "accepted_client_ca_deprecated" ]._serialized_options = b"\030\001" - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._options = None - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._options = None - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _NAMESPACESPEC.fields_by_name["regions"]._options = None - _NAMESPACESPEC.fields_by_name["regions"]._serialized_options = b"\030\001" - _NAMESPACESPEC.fields_by_name["custom_search_attributes"]._options = None - _NAMESPACESPEC.fields_by_name[ + _globals["_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY"]._loaded_options = None + _globals[ + "_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY" + ]._serialized_options = b"8\001" + _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._loaded_options = None + _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._serialized_options = b"8\001" + _globals["_NAMESPACESPEC"].fields_by_name["regions"]._loaded_options = None + _globals["_NAMESPACESPEC"].fields_by_name[ + "regions" + ]._serialized_options = b"\030\001" + _globals["_NAMESPACESPEC"].fields_by_name[ + "custom_search_attributes" + ]._loaded_options = None + _globals["_NAMESPACESPEC"].fields_by_name[ "custom_search_attributes" ]._serialized_options = b"\030\001" - _NAMESPACE_REGIONSTATUSENTRY._options = None - _NAMESPACE_REGIONSTATUSENTRY._serialized_options = b"8\001" - _NAMESPACE_TAGSENTRY._options = None - _NAMESPACE_TAGSENTRY._serialized_options = b"8\001" - _NAMESPACE.fields_by_name["state_deprecated"]._options = None - _NAMESPACE.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _NAMESPACE.fields_by_name["region_status"]._options = None - _NAMESPACE.fields_by_name["region_status"]._serialized_options = b"\030\001" - _NAMESPACEREGIONSTATUS.fields_by_name["state_deprecated"]._options = None - _NAMESPACEREGIONSTATUS.fields_by_name[ + _globals["_NAMESPACE_REGIONSTATUSENTRY"]._loaded_options = None + _globals["_NAMESPACE_REGIONSTATUSENTRY"]._serialized_options = b"8\001" + _globals["_NAMESPACE_TAGSENTRY"]._loaded_options = None + _globals["_NAMESPACE_TAGSENTRY"]._serialized_options = b"8\001" + _globals["_NAMESPACE"].fields_by_name["state_deprecated"]._loaded_options = None + _globals["_NAMESPACE"].fields_by_name[ + "state_deprecated" + ]._serialized_options = b"\030\001" + _globals["_NAMESPACE"].fields_by_name["region_status"]._loaded_options = None + _globals["_NAMESPACE"].fields_by_name[ + "region_status" + ]._serialized_options = b"\030\001" + _globals["_NAMESPACEREGIONSTATUS"].fields_by_name[ + "state_deprecated" + ]._loaded_options = None + _globals["_NAMESPACEREGIONSTATUS"].fields_by_name[ "state_deprecated" ]._serialized_options = b"\030\001" - _CERTIFICATEFILTERSPEC._serialized_start = 258 - _CERTIFICATEFILTERSPEC._serialized_end = 387 - _MTLSAUTHSPEC._serialized_start = 390 - _MTLSAUTHSPEC._serialized_end = 577 - _APIKEYAUTHSPEC._serialized_start = 579 - _APIKEYAUTHSPEC._serialized_end = 612 - _LIFECYCLESPEC._serialized_start = 614 - _LIFECYCLESPEC._serialized_end = 663 - _CODECSERVERSPEC._serialized_start = 666 - _CODECSERVERSPEC._serialized_end = 1038 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_start = 872 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_end = 1038 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_start = 993 - _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_end = 1038 - _HIGHAVAILABILITYSPEC._serialized_start = 1040 - _HIGHAVAILABILITYSPEC._serialized_end = 1139 - _REPLICASPEC._serialized_start = 1141 - _REPLICASPEC._serialized_end = 1170 - _REPLICA._serialized_start = 1173 - _REPLICA._serialized_end = 1454 - _REPLICA_REPLICASTATE._serialized_start = 1303 - _REPLICA_REPLICASTATE._serialized_end = 1454 - _CAPACITYSPEC._serialized_start = 1457 - _CAPACITYSPEC._serialized_end = 1680 - _CAPACITYSPEC_ONDEMAND._serialized_start = 1632 - _CAPACITYSPEC_ONDEMAND._serialized_end = 1642 - _CAPACITYSPEC_PROVISIONED._serialized_start = 1644 - _CAPACITYSPEC_PROVISIONED._serialized_end = 1672 - _CAPACITY._serialized_start = 1683 - _CAPACITY._serialized_end = 2415 - _CAPACITY_ONDEMAND._serialized_start = 1632 - _CAPACITY_ONDEMAND._serialized_end = 1642 - _CAPACITY_PROVISIONED._serialized_start = 1933 - _CAPACITY_PROVISIONED._serialized_end = 1969 - _CAPACITY_REQUEST._serialized_start = 1972 - _CAPACITY_REQUEST._serialized_end = 2399 - _CAPACITY_REQUEST_STATE._serialized_start = 2239 - _CAPACITY_REQUEST_STATE._serialized_end = 2399 - _FAIRNESSSPEC._serialized_start = 2417 - _FAIRNESSSPEC._serialized_end = 2468 - _NAMESPACESPEC._serialized_start = 2471 - _NAMESPACESPEC._serialized_end = 3835 - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_start = 3346 - _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_end = 3407 - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_start = 3409 - _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_end = 3532 - _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_start = 3535 - _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_end = 3835 - _ENDPOINTS._serialized_start = 3837 - _ENDPOINTS._serialized_end = 3918 - _LIMITS._serialized_start = 3920 - _LIMITS._serialized_end = 3962 - _AWSPRIVATELINKINFO._serialized_start = 3964 - _AWSPRIVATELINKINFO._serialized_end = 4052 - _PRIVATECONNECTIVITY._serialized_start = 4054 - _PRIVATECONNECTIVITY._serialized_end = 4170 - _NAMESPACE._serialized_start = 4173 - _NAMESPACE._serialized_end = 5264 - _NAMESPACE_REGIONSTATUSENTRY._serialized_start = 5112 - _NAMESPACE_REGIONSTATUSENTRY._serialized_end = 5219 - _NAMESPACE_TAGSENTRY._serialized_start = 5221 - _NAMESPACE_TAGSENTRY._serialized_end = 5264 - _NAMESPACEREGIONSTATUS._serialized_start = 5267 - _NAMESPACEREGIONSTATUS._serialized_end = 5550 - _NAMESPACEREGIONSTATUS_STATE._serialized_start = 5427 - _NAMESPACEREGIONSTATUS_STATE._serialized_end = 5550 - _EXPORTSINKSPEC._serialized_start = 5553 - _EXPORTSINKSPEC._serialized_end = 5698 - _EXPORTSINK._serialized_start = 5701 - _EXPORTSINK._serialized_end = 6203 - _EXPORTSINK_HEALTH._serialized_start = 6092 - _EXPORTSINK_HEALTH._serialized_end = 6203 - _NAMESPACECAPACITYINFO._serialized_start = 6206 - _NAMESPACECAPACITYINFO._serialized_end = 7005 - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS._serialized_start = 6522 - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS._serialized_end = 6861 - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED._serialized_start = 6758 - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED._serialized_end = 6830 - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND._serialized_start = 6832 - _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND._serialized_end = 6861 - _NAMESPACECAPACITYINFO_STATS._serialized_start = 6864 - _NAMESPACECAPACITYINFO_STATS._serialized_end = 7005 - _NAMESPACECAPACITYINFO_STATS_SUMMARY._serialized_start = 6956 - _NAMESPACECAPACITYINFO_STATS_SUMMARY._serialized_end = 7005 + _globals["_CERTIFICATEFILTERSPEC"]._serialized_start = 258 + _globals["_CERTIFICATEFILTERSPEC"]._serialized_end = 387 + _globals["_MTLSAUTHSPEC"]._serialized_start = 390 + _globals["_MTLSAUTHSPEC"]._serialized_end = 577 + _globals["_APIKEYAUTHSPEC"]._serialized_start = 579 + _globals["_APIKEYAUTHSPEC"]._serialized_end = 612 + _globals["_LIFECYCLESPEC"]._serialized_start = 614 + _globals["_LIFECYCLESPEC"]._serialized_end = 663 + _globals["_CODECSERVERSPEC"]._serialized_start = 666 + _globals["_CODECSERVERSPEC"]._serialized_end = 1038 + _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE"]._serialized_start = 872 + _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE"]._serialized_end = 1038 + _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE"]._serialized_start = 993 + _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE"]._serialized_end = 1038 + _globals["_HIGHAVAILABILITYSPEC"]._serialized_start = 1040 + _globals["_HIGHAVAILABILITYSPEC"]._serialized_end = 1139 + _globals["_REPLICASPEC"]._serialized_start = 1141 + _globals["_REPLICASPEC"]._serialized_end = 1170 + _globals["_REPLICA"]._serialized_start = 1173 + _globals["_REPLICA"]._serialized_end = 1454 + _globals["_REPLICA_REPLICASTATE"]._serialized_start = 1303 + _globals["_REPLICA_REPLICASTATE"]._serialized_end = 1454 + _globals["_CAPACITYSPEC"]._serialized_start = 1457 + _globals["_CAPACITYSPEC"]._serialized_end = 1680 + _globals["_CAPACITYSPEC_ONDEMAND"]._serialized_start = 1632 + _globals["_CAPACITYSPEC_ONDEMAND"]._serialized_end = 1642 + _globals["_CAPACITYSPEC_PROVISIONED"]._serialized_start = 1644 + _globals["_CAPACITYSPEC_PROVISIONED"]._serialized_end = 1672 + _globals["_CAPACITY"]._serialized_start = 1683 + _globals["_CAPACITY"]._serialized_end = 2415 + _globals["_CAPACITY_ONDEMAND"]._serialized_start = 1632 + _globals["_CAPACITY_ONDEMAND"]._serialized_end = 1642 + _globals["_CAPACITY_PROVISIONED"]._serialized_start = 1933 + _globals["_CAPACITY_PROVISIONED"]._serialized_end = 1969 + _globals["_CAPACITY_REQUEST"]._serialized_start = 1972 + _globals["_CAPACITY_REQUEST"]._serialized_end = 2399 + _globals["_CAPACITY_REQUEST_STATE"]._serialized_start = 2239 + _globals["_CAPACITY_REQUEST_STATE"]._serialized_end = 2399 + _globals["_FAIRNESSSPEC"]._serialized_start = 2417 + _globals["_FAIRNESSSPEC"]._serialized_end = 2468 + _globals["_NAMESPACESPEC"]._serialized_start = 2471 + _globals["_NAMESPACESPEC"]._serialized_end = 3835 + _globals["_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY"]._serialized_start = 3346 + _globals["_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY"]._serialized_end = 3407 + _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._serialized_start = 3409 + _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._serialized_end = 3532 + _globals["_NAMESPACESPEC_SEARCHATTRIBUTETYPE"]._serialized_start = 3535 + _globals["_NAMESPACESPEC_SEARCHATTRIBUTETYPE"]._serialized_end = 3835 + _globals["_ENDPOINTS"]._serialized_start = 3837 + _globals["_ENDPOINTS"]._serialized_end = 3918 + _globals["_LIMITS"]._serialized_start = 3920 + _globals["_LIMITS"]._serialized_end = 3962 + _globals["_AWSPRIVATELINKINFO"]._serialized_start = 3964 + _globals["_AWSPRIVATELINKINFO"]._serialized_end = 4052 + _globals["_PRIVATECONNECTIVITY"]._serialized_start = 4054 + _globals["_PRIVATECONNECTIVITY"]._serialized_end = 4170 + _globals["_NAMESPACE"]._serialized_start = 4173 + _globals["_NAMESPACE"]._serialized_end = 5264 + _globals["_NAMESPACE_REGIONSTATUSENTRY"]._serialized_start = 5112 + _globals["_NAMESPACE_REGIONSTATUSENTRY"]._serialized_end = 5219 + _globals["_NAMESPACE_TAGSENTRY"]._serialized_start = 5221 + _globals["_NAMESPACE_TAGSENTRY"]._serialized_end = 5264 + _globals["_NAMESPACEREGIONSTATUS"]._serialized_start = 5267 + _globals["_NAMESPACEREGIONSTATUS"]._serialized_end = 5550 + _globals["_NAMESPACEREGIONSTATUS_STATE"]._serialized_start = 5427 + _globals["_NAMESPACEREGIONSTATUS_STATE"]._serialized_end = 5550 + _globals["_EXPORTSINKSPEC"]._serialized_start = 5553 + _globals["_EXPORTSINKSPEC"]._serialized_end = 5698 + _globals["_EXPORTSINK"]._serialized_start = 5701 + _globals["_EXPORTSINK"]._serialized_end = 6203 + _globals["_EXPORTSINK_HEALTH"]._serialized_start = 6092 + _globals["_EXPORTSINK_HEALTH"]._serialized_end = 6203 + _globals["_NAMESPACECAPACITYINFO"]._serialized_start = 6206 + _globals["_NAMESPACECAPACITYINFO"]._serialized_end = 7005 + _globals["_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS"]._serialized_start = 6522 + _globals["_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS"]._serialized_end = 6861 + _globals[ + "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED" + ]._serialized_start = 6758 + _globals[ + "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED" + ]._serialized_end = 6830 + _globals[ + "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND" + ]._serialized_start = 6832 + _globals[ + "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND" + ]._serialized_end = 6861 + _globals["_NAMESPACECAPACITYINFO_STATS"]._serialized_start = 6864 + _globals["_NAMESPACECAPACITYINFO_STATS"]._serialized_end = 7005 + _globals["_NAMESPACECAPACITYINFO_STATS_SUMMARY"]._serialized_start = 6956 + _globals["_NAMESPACECAPACITYINFO_STATS_SUMMARY"]._serialized_end = 7005 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.pyi b/temporalio/api/cloud/namespace/v1/message_pb2.pyi index b2cbe49d8..eaed5a086 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.pyi +++ b/temporalio/api/cloud/namespace/v1/message_pb2.pyi @@ -25,6 +25,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class CertificateFilterSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -58,7 +59,7 @@ class CertificateFilterSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "common_name", b"common_name", "organization", @@ -70,8 +71,9 @@ class CertificateFilterSpec(google.protobuf.message.Message): ], ) -> None: ... -global___CertificateFilterSpec = CertificateFilterSpec +Global___CertificateFilterSpec: typing_extensions.TypeAlias = CertificateFilterSpec +@typing.final class MtlsAuthSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -92,33 +94,34 @@ class MtlsAuthSpec(google.protobuf.message.Message): This must only be one value, but the CA can have a chain. temporal:versioning:min_version=v0.2.0 """ + enabled: builtins.bool + """Flag to enable mTLS auth (default: disabled). + Note: disabling mTLS auth will cause existing mTLS connections to fail. + temporal:versioning:min_version=v0.2.0 + """ @property def certificate_filters( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CertificateFilterSpec + Global___CertificateFilterSpec ]: """Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty. """ - enabled: builtins.bool - """Flag to enable mTLS auth (default: disabled). - Note: disabling mTLS auth will cause existing mTLS connections to fail. - temporal:versioning:min_version=v0.2.0 - """ + def __init__( self, *, accepted_client_ca_deprecated: builtins.str = ..., accepted_client_ca: builtins.bytes = ..., - certificate_filters: collections.abc.Iterable[global___CertificateFilterSpec] + certificate_filters: collections.abc.Iterable[Global___CertificateFilterSpec] | None = ..., enabled: builtins.bool = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "accepted_client_ca", b"accepted_client_ca", "accepted_client_ca_deprecated", @@ -130,8 +133,9 @@ class MtlsAuthSpec(google.protobuf.message.Message): ], ) -> None: ... -global___MtlsAuthSpec = MtlsAuthSpec +Global___MtlsAuthSpec: typing_extensions.TypeAlias = MtlsAuthSpec +@typing.final class ApiKeyAuthSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -145,12 +149,11 @@ class ApiKeyAuthSpec(google.protobuf.message.Message): *, enabled: builtins.bool = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["enabled", b"enabled"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ... -global___ApiKeyAuthSpec = ApiKeyAuthSpec +Global___ApiKeyAuthSpec: typing_extensions.TypeAlias = ApiKeyAuthSpec +@typing.final class LifecycleSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -164,19 +167,22 @@ class LifecycleSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "enable_delete_protection", b"enable_delete_protection" ], ) -> None: ... -global___LifecycleSpec = LifecycleSpec +Global___LifecycleSpec: typing_extensions.TypeAlias = LifecycleSpec +@typing.final class CodecServerSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class CustomErrorMessage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ErrorMessage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -193,27 +199,25 @@ class CodecServerSpec(google.protobuf.message.Message): link: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "link", b"link", "message", b"message" - ], + self, field_name: typing.Literal["link", b"link", "message", b"message"] ) -> None: ... DEFAULT_FIELD_NUMBER: builtins.int @property - def default(self) -> global___CodecServerSpec.CustomErrorMessage.ErrorMessage: + def default(self) -> Global___CodecServerSpec.CustomErrorMessage.ErrorMessage: """The error message to display by default for any remote codec server errors.""" + def __init__( self, *, - default: global___CodecServerSpec.CustomErrorMessage.ErrorMessage + default: Global___CodecServerSpec.CustomErrorMessage.ErrorMessage | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["default", b"default"] + self, field_name: typing.Literal["default", b"default"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["default", b"default"] + self, field_name: typing.Literal["default", b"default"] ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int @@ -227,27 +231,26 @@ class CodecServerSpec(google.protobuf.message.Message): include_cross_origin_credentials: builtins.bool """Whether to include cross-origin credentials.""" @property - def custom_error_message(self) -> global___CodecServerSpec.CustomErrorMessage: + def custom_error_message(self) -> Global___CodecServerSpec.CustomErrorMessage: """A custom error message to display for remote codec server errors. temporal:versioning:min_version=v0.5.1 """ + def __init__( self, *, endpoint: builtins.str = ..., pass_access_token: builtins.bool = ..., include_cross_origin_credentials: builtins.bool = ..., - custom_error_message: global___CodecServerSpec.CustomErrorMessage | None = ..., + custom_error_message: Global___CodecServerSpec.CustomErrorMessage | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "custom_error_message", b"custom_error_message" - ], + field_name: typing.Literal["custom_error_message", b"custom_error_message"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "custom_error_message", b"custom_error_message", "endpoint", @@ -259,8 +262,9 @@ class CodecServerSpec(google.protobuf.message.Message): ], ) -> None: ... -global___CodecServerSpec = CodecServerSpec +Global___CodecServerSpec: typing_extensions.TypeAlias = CodecServerSpec +@typing.final class HighAvailabilitySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -280,7 +284,7 @@ class HighAvailabilitySpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "disable_managed_failover", b"disable_managed_failover", "disable_passive_poller_forwarding", @@ -288,8 +292,9 @@ class HighAvailabilitySpec(google.protobuf.message.Message): ], ) -> None: ... -global___HighAvailabilitySpec = HighAvailabilitySpec +Global___HighAvailabilitySpec: typing_extensions.TypeAlias = HighAvailabilitySpec +@typing.final class ReplicaSpec(google.protobuf.message.Message): """temporal:versioning:min_version=v0.13.0""" @@ -308,12 +313,11 @@ class ReplicaSpec(google.protobuf.message.Message): *, region: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["region", b"region"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["region", b"region"]) -> None: ... -global___ReplicaSpec = ReplicaSpec +Global___ReplicaSpec: typing_extensions.TypeAlias = ReplicaSpec +@typing.final class Replica(google.protobuf.message.Message): """temporal:versioning:min_version=v0.13.0""" @@ -328,7 +332,7 @@ class Replica(google.protobuf.message.Message): Replica._ReplicaState.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor REPLICA_STATE_UNSPECIFIED: Replica._ReplicaState.ValueType # 0 REPLICA_STATE_ADDING: Replica._ReplicaState.ValueType # 1 @@ -359,7 +363,7 @@ class Replica(google.protobuf.message.Message): """The id of the replica. This is generated by Temporal after a replica is created.""" is_primary: builtins.bool """Whether this replica is currently the primary one.""" - state: global___Replica.ReplicaState.ValueType + state: Global___Replica.ReplicaState.ValueType """The current state of this replica.""" region: builtins.str """The cloud provider and region of this replica.""" @@ -368,12 +372,12 @@ class Replica(google.protobuf.message.Message): *, id: builtins.str = ..., is_primary: builtins.bool = ..., - state: global___Replica.ReplicaState.ValueType = ..., + state: Global___Replica.ReplicaState.ValueType = ..., region: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "id", b"id", "is_primary", @@ -385,13 +389,15 @@ class Replica(google.protobuf.message.Message): ], ) -> None: ... -global___Replica = Replica +Global___Replica: typing_extensions.TypeAlias = Replica +@typing.final class CapacitySpec(google.protobuf.message.Message): """temporal:versioning:min_version=v0.10.0""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class OnDemand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -399,6 +405,7 @@ class CapacitySpec(google.protobuf.message.Message): self, ) -> None: ... + @typing.final class Provisioned(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -412,45 +419,47 @@ class CapacitySpec(google.protobuf.message.Message): *, value: builtins.float = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["value", b"value"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ... ON_DEMAND_FIELD_NUMBER: builtins.int PROVISIONED_FIELD_NUMBER: builtins.int @property - def on_demand(self) -> global___CapacitySpec.OnDemand: + def on_demand(self) -> Global___CapacitySpec.OnDemand: """The on-demand capacity mode configuration.""" + @property - def provisioned(self) -> global___CapacitySpec.Provisioned: + def provisioned(self) -> Global___CapacitySpec.Provisioned: """The provisioned capacity mode configuration.""" + def __init__( self, *, - on_demand: global___CapacitySpec.OnDemand | None = ..., - provisioned: global___CapacitySpec.Provisioned | None = ..., + on_demand: Global___CapacitySpec.OnDemand | None = ..., + provisioned: Global___CapacitySpec.Provisioned | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned", "spec", b"spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned", "spec", b"spec" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["spec", b"spec"] - ) -> typing_extensions.Literal["on_demand", "provisioned"] | None: ... + self, oneof_group: typing.Literal["spec", b"spec"] + ) -> typing.Literal["on_demand", "provisioned"] | None: ... -global___CapacitySpec = CapacitySpec +Global___CapacitySpec: typing_extensions.TypeAlias = CapacitySpec +@typing.final class Capacity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class OnDemand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -458,6 +467,7 @@ class Capacity(google.protobuf.message.Message): self, ) -> None: ... + @typing.final class Provisioned(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -472,10 +482,10 @@ class Capacity(google.protobuf.message.Message): current_value: builtins.float = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["current_value", b"current_value"], + self, field_name: typing.Literal["current_value", b"current_value"] ) -> None: ... + @typing.final class Request(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -488,7 +498,7 @@ class Capacity(google.protobuf.message.Message): Capacity.Request._State.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_CAPACITY_REQUEST_UNSPECIFIED: Capacity.Request._State.ValueType # 0 STATE_CAPACITY_REQUEST_COMPLETED: Capacity.Request._State.ValueType # 1 @@ -506,37 +516,40 @@ class Capacity(google.protobuf.message.Message): END_TIME_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int SPEC_FIELD_NUMBER: builtins.int - state: global___Capacity.Request.State.ValueType + state: Global___Capacity.Request.State.ValueType """The current state of the capacity request (e.g. in-progress, completed, failed).""" + async_operation_id: builtins.str + """The id of the async operation that is creating/updating/deleting the capacity, if any.""" @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the capacity request was created.""" + @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the capacity request was completed or failed.""" - async_operation_id: builtins.str - """The id of the async operation that is creating/updating/deleting the capacity, if any.""" + @property - def spec(self) -> global___CapacitySpec: + def spec(self) -> Global___CapacitySpec: """The requested capacity specification.""" + def __init__( self, *, - state: global___Capacity.Request.State.ValueType = ..., + state: Global___Capacity.Request.State.ValueType = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., async_operation_id: builtins.str = ..., - spec: global___CapacitySpec | None = ..., + spec: Global___CapacitySpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "spec", b"spec", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "end_time", @@ -554,24 +567,27 @@ class Capacity(google.protobuf.message.Message): PROVISIONED_FIELD_NUMBER: builtins.int LATEST_REQUEST_FIELD_NUMBER: builtins.int @property - def on_demand(self) -> global___Capacity.OnDemand: + def on_demand(self) -> Global___Capacity.OnDemand: """The status of on-demand capacity mode.""" + @property - def provisioned(self) -> global___Capacity.Provisioned: + def provisioned(self) -> Global___Capacity.Provisioned: """The status of provisioned capacity mode.""" + @property - def latest_request(self) -> global___Capacity.Request: + def latest_request(self) -> Global___Capacity.Request: """The latest requested capacity for the namespace, if any.""" + def __init__( self, *, - on_demand: global___Capacity.OnDemand | None = ..., - provisioned: global___Capacity.Provisioned | None = ..., - latest_request: global___Capacity.Request | None = ..., + on_demand: Global___Capacity.OnDemand | None = ..., + provisioned: Global___Capacity.Provisioned | None = ..., + latest_request: Global___Capacity.Request | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_mode", b"current_mode", "latest_request", @@ -584,7 +600,7 @@ class Capacity(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_mode", b"current_mode", "latest_request", @@ -596,11 +612,12 @@ class Capacity(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["current_mode", b"current_mode"] - ) -> typing_extensions.Literal["on_demand", "provisioned"] | None: ... + self, oneof_group: typing.Literal["current_mode", b"current_mode"] + ) -> typing.Literal["on_demand", "provisioned"] | None: ... -global___Capacity = Capacity +Global___Capacity: typing_extensions.TypeAlias = Capacity +@typing.final class FairnessSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -614,13 +631,14 @@ class FairnessSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "task_queue_fairness_enabled", b"task_queue_fairness_enabled" ], ) -> None: ... -global___FairnessSpec = FairnessSpec +Global___FairnessSpec: typing_extensions.TypeAlias = FairnessSpec +@typing.final class NamespaceSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -633,7 +651,7 @@ class NamespaceSpec(google.protobuf.message.Message): NamespaceSpec._SearchAttributeType.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: ( NamespaceSpec._SearchAttributeType.ValueType @@ -662,6 +680,7 @@ class NamespaceSpec(google.protobuf.message.Message): SEARCH_ATTRIBUTE_TYPE_DATETIME: NamespaceSpec.SearchAttributeType.ValueType # 6 SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: NamespaceSpec.SearchAttributeType.ValueType # 7 + @typing.final class CustomSearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -676,26 +695,25 @@ class NamespaceSpec(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor KEY_FIELD_NUMBER: builtins.int VALUE_FIELD_NUMBER: builtins.int key: builtins.str - value: global___NamespaceSpec.SearchAttributeType.ValueType + value: Global___NamespaceSpec.SearchAttributeType.ValueType def __init__( self, *, key: builtins.str = ..., - value: global___NamespaceSpec.SearchAttributeType.ValueType = ..., + value: Global___NamespaceSpec.SearchAttributeType.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAME_FIELD_NUMBER: builtins.int @@ -717,6 +735,11 @@ class NamespaceSpec(google.protobuf.message.Message): This will create a namespace that's available at '..tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed. """ + retention_days: builtins.int + """The number of days the workflows data will be retained for. + Changes to the retention period may impact your storage costs. + Any changes to the retention period will be applied to all new running workflows. + """ @property def regions( self, @@ -732,22 +755,20 @@ class NamespaceSpec(google.protobuf.message.Message): Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0 """ - retention_days: builtins.int - """The number of days the workflows data will be retained for. - Changes to the retention period may impact your storage costs. - Any changes to the retention period will be applied to all new running workflows. - """ + @property - def mtls_auth(self) -> global___MtlsAuthSpec: + def mtls_auth(self) -> Global___MtlsAuthSpec: """The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled. """ + @property - def api_key_auth(self) -> global___ApiKeyAuthSpec: + def api_key_auth(self) -> Global___ApiKeyAuthSpec: """The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0 """ + @property def custom_search_attributes( self, @@ -760,11 +781,12 @@ class NamespaceSpec(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0 """ + @property def search_attributes( self, ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType + builtins.str, Global___NamespaceSpec.SearchAttributeType.ValueType ]: """The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. @@ -773,21 +795,25 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes """ + @property - def codec_server(self) -> global___CodecServerSpec: + def codec_server(self) -> Global___CodecServerSpec: """Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset. """ + @property - def lifecycle(self) -> global___LifecycleSpec: + def lifecycle(self) -> Global___LifecycleSpec: """The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0 """ + @property - def high_availability(self) -> global___HighAvailabilitySpec: + def high_availability(self) -> Global___HighAvailabilitySpec: """The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0 """ + @property def connectivity_rule_ids( self, @@ -796,8 +822,9 @@ class NamespaceSpec(google.protobuf.message.Message): This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0 """ + @property - def capacity_spec(self) -> global___CapacitySpec: + def capacity_spec(self) -> Global___CapacitySpec: """The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. @@ -805,11 +832,12 @@ class NamespaceSpec(google.protobuf.message.Message): Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0 """ + @property def replicas( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ReplicaSpec + Global___ReplicaSpec ]: """The replication configuration for the namespace. At least one replica must be specified. @@ -819,37 +847,39 @@ class NamespaceSpec(google.protobuf.message.Message): If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0 """ + @property - def fairness(self) -> global___FairnessSpec: + def fairness(self) -> Global___FairnessSpec: """The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0 """ + def __init__( self, *, name: builtins.str = ..., regions: collections.abc.Iterable[builtins.str] | None = ..., retention_days: builtins.int = ..., - mtls_auth: global___MtlsAuthSpec | None = ..., - api_key_auth: global___ApiKeyAuthSpec | None = ..., + mtls_auth: Global___MtlsAuthSpec | None = ..., + api_key_auth: Global___ApiKeyAuthSpec | None = ..., custom_search_attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., search_attributes: collections.abc.Mapping[ - builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType + builtins.str, Global___NamespaceSpec.SearchAttributeType.ValueType ] | None = ..., - codec_server: global___CodecServerSpec | None = ..., - lifecycle: global___LifecycleSpec | None = ..., - high_availability: global___HighAvailabilitySpec | None = ..., + codec_server: Global___CodecServerSpec | None = ..., + lifecycle: Global___LifecycleSpec | None = ..., + high_availability: Global___HighAvailabilitySpec | None = ..., connectivity_rule_ids: collections.abc.Iterable[builtins.str] | None = ..., - capacity_spec: global___CapacitySpec | None = ..., - replicas: collections.abc.Iterable[global___ReplicaSpec] | None = ..., - fairness: global___FairnessSpec | None = ..., + capacity_spec: Global___CapacitySpec | None = ..., + replicas: collections.abc.Iterable[Global___ReplicaSpec] | None = ..., + fairness: Global___FairnessSpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "api_key_auth", b"api_key_auth", "capacity_spec", @@ -868,7 +898,7 @@ class NamespaceSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "api_key_auth", b"api_key_auth", "capacity_spec", @@ -900,8 +930,9 @@ class NamespaceSpec(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceSpec = NamespaceSpec +Global___NamespaceSpec: typing_extensions.TypeAlias = NamespaceSpec +@typing.final class Endpoints(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -923,7 +954,7 @@ class Endpoints(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "grpc_address", b"grpc_address", "mtls_grpc_address", @@ -933,8 +964,9 @@ class Endpoints(google.protobuf.message.Message): ], ) -> None: ... -global___Endpoints = Endpoints +Global___Endpoints: typing_extensions.TypeAlias = Endpoints +@typing.final class Limits(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -950,13 +982,14 @@ class Limits(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "actions_per_second_limit", b"actions_per_second_limit" ], ) -> None: ... -global___Limits = Limits +Global___Limits: typing_extensions.TypeAlias = Limits +@typing.final class AWSPrivateLinkInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -967,11 +1000,13 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of principal arns that are allowed to access the namespace on the private link.""" + @property def vpc_endpoint_service_names( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of vpc endpoint service names that are associated with the namespace.""" + def __init__( self, *, @@ -980,7 +1015,7 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "allowed_principal_arns", b"allowed_principal_arns", "vpc_endpoint_service_names", @@ -988,8 +1023,9 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): ], ) -> None: ... -global___AWSPrivateLinkInfo = AWSPrivateLinkInfo +Global___AWSPrivateLinkInfo: typing_extensions.TypeAlias = AWSPrivateLinkInfo +@typing.final class PrivateConnectivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -998,32 +1034,34 @@ class PrivateConnectivity(google.protobuf.message.Message): region: builtins.str """The id of the region where the private connectivity applies.""" @property - def aws_private_link(self) -> global___AWSPrivateLinkInfo: + def aws_private_link(self) -> Global___AWSPrivateLinkInfo: """The AWS PrivateLink info. This will only be set for an aws region. """ + def __init__( self, *, region: builtins.str = ..., - aws_private_link: global___AWSPrivateLinkInfo | None = ..., + aws_private_link: Global___AWSPrivateLinkInfo | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link"], + self, field_name: typing.Literal["aws_private_link", b"aws_private_link"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "aws_private_link", b"aws_private_link", "region", b"region" ], ) -> None: ... -global___PrivateConnectivity = PrivateConnectivity +Global___PrivateConnectivity: typing_extensions.TypeAlias = PrivateConnectivity +@typing.final class Namespace(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class RegionStatusEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1031,21 +1069,21 @@ class Namespace(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___NamespaceRegionStatus: ... + def value(self) -> Global___NamespaceRegionStatus: ... def __init__( self, *, key: builtins.str = ..., - value: global___NamespaceRegionStatus | None = ..., + value: Global___NamespaceRegionStatus | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class TagsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1060,8 +1098,7 @@ class Namespace(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -1087,9 +1124,6 @@ class Namespace(google.protobuf.message.Message): """The current version of the namespace specification. The next update operation will have to include this version. """ - @property - def spec(self) -> global___NamespaceSpec: - """The namespace specification.""" state_deprecated: builtins.str """The current state of the namespace. Deprecated: Not supported after v0.3.0 api version. Use state instead. @@ -1103,40 +1137,50 @@ class Namespace(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the namespace, if any.""" - @property - def endpoints(self) -> global___Endpoints: - """The endpoints for the namespace.""" active_region: builtins.str """The currently active region for the namespace.""" @property - def limits(self) -> global___Limits: + def spec(self) -> Global___NamespaceSpec: + """The namespace specification.""" + + @property + def endpoints(self) -> Global___Endpoints: + """The endpoints for the namespace.""" + + @property + def limits(self) -> Global___Limits: """The limits set on the namespace currently.""" + @property def private_connectivities( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PrivateConnectivity + Global___PrivateConnectivity ]: """The private connectivities for the namespace, if any.""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the namespace was created.""" + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the namespace was last modified. Will not be set if the namespace has never been modified. """ + @property def region_status( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___NamespaceRegionStatus + builtins.str, Global___NamespaceRegionStatus ]: """The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map. deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0 """ + @property def connectivity_rules( self, @@ -1144,41 +1188,45 @@ class Namespace(google.protobuf.message.Message): temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule ]: """The connectivity rules that are set on this namespace.""" + @property def tags( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The tags for the namespace.""" + @property - def capacity(self) -> global___Capacity: + def capacity(self) -> Global___Capacity: """The status of namespace's capacity, if any.""" + @property def replicas( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Replica + Global___Replica ]: """The status of each replica where the namespace is available. temporal:versioning:min_version=v0.13.0 """ + def __init__( self, *, namespace: builtins.str = ..., resource_version: builtins.str = ..., - spec: global___NamespaceSpec | None = ..., + spec: Global___NamespaceSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., - endpoints: global___Endpoints | None = ..., + endpoints: Global___Endpoints | None = ..., active_region: builtins.str = ..., - limits: global___Limits | None = ..., - private_connectivities: collections.abc.Iterable[global___PrivateConnectivity] + limits: Global___Limits | None = ..., + private_connectivities: collections.abc.Iterable[Global___PrivateConnectivity] | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., region_status: collections.abc.Mapping[ - builtins.str, global___NamespaceRegionStatus + builtins.str, Global___NamespaceRegionStatus ] | None = ..., connectivity_rules: collections.abc.Iterable[ @@ -1186,12 +1234,12 @@ class Namespace(google.protobuf.message.Message): ] | None = ..., tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - capacity: global___Capacity | None = ..., - replicas: collections.abc.Iterable[global___Replica] | None = ..., + capacity: Global___Capacity | None = ..., + replicas: collections.abc.Iterable[Global___Replica] | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "capacity", b"capacity", "created_time", @@ -1208,7 +1256,7 @@ class Namespace(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "active_region", b"active_region", "async_operation_id", @@ -1246,8 +1294,9 @@ class Namespace(google.protobuf.message.Message): ], ) -> None: ... -global___Namespace = Namespace +Global___Namespace: typing_extensions.TypeAlias = Namespace +@typing.final class NamespaceRegionStatus(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1260,7 +1309,7 @@ class NamespaceRegionStatus(google.protobuf.message.Message): NamespaceRegionStatus._State.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: NamespaceRegionStatus._State.ValueType # 0 STATE_ADDING: NamespaceRegionStatus._State.ValueType # 1 @@ -1297,7 +1346,7 @@ class NamespaceRegionStatus(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0 """ - state: global___NamespaceRegionStatus.State.ValueType + state: Global___NamespaceRegionStatus.State.ValueType """The current state of the namespace region. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated @@ -1308,12 +1357,12 @@ class NamespaceRegionStatus(google.protobuf.message.Message): self, *, state_deprecated: builtins.str = ..., - state: global___NamespaceRegionStatus.State.ValueType = ..., + state: Global___NamespaceRegionStatus.State.ValueType = ..., async_operation_id: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "state", @@ -1323,8 +1372,9 @@ class NamespaceRegionStatus(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceRegionStatus = NamespaceRegionStatus +Global___NamespaceRegionStatus: typing_extensions.TypeAlias = NamespaceRegionStatus +@typing.final class ExportSinkSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1339,11 +1389,13 @@ class ExportSinkSpec(google.protobuf.message.Message): @property def s3(self) -> temporalio.api.cloud.sink.v1.message_pb2.S3Spec: """The S3 configuration details when destination_type is S3.""" + @property def gcs(self) -> temporalio.api.cloud.sink.v1.message_pb2.GCSSpec: """This is a feature under development. We will allow GCS sink support for GCP Namespaces. The GCS configuration details when destination_type is GCS. """ + def __init__( self, *, @@ -1353,17 +1405,18 @@ class ExportSinkSpec(google.protobuf.message.Message): gcs: temporalio.api.cloud.sink.v1.message_pb2.GCSSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["gcs", b"gcs", "s3", b"s3"] + self, field_name: typing.Literal["gcs", b"gcs", "s3", b"s3"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "enabled", b"enabled", "gcs", b"gcs", "name", b"name", "s3", b"s3" ], ) -> None: ... -global___ExportSinkSpec = ExportSinkSpec +Global___ExportSinkSpec: typing_extensions.TypeAlias = ExportSinkSpec +@typing.final class ExportSink(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1376,7 +1429,7 @@ class ExportSink(google.protobuf.message.Message): ExportSink._Health.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HEALTH_UNSPECIFIED: ExportSink._Health.ValueType # 0 HEALTH_OK: ExportSink._Health.ValueType # 1 @@ -1403,34 +1456,37 @@ class ExportSink(google.protobuf.message.Message): """The version of the export sink resource.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the export sink.""" - @property - def spec(self) -> global___ExportSinkSpec: - """The specification details of the export sink.""" - health: global___ExportSink.Health.ValueType + health: Global___ExportSink.Health.ValueType """The health status of the export sink.""" error_message: builtins.str """An error message describing any issues with the export sink, if applicable.""" + @property + def spec(self) -> Global___ExportSinkSpec: + """The specification details of the export sink.""" + @property def latest_data_export_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The timestamp of the latest successful data export.""" + @property def last_health_check_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The timestamp of the last health check performed on the export sink.""" + def __init__( self, *, name: builtins.str = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., - spec: global___ExportSinkSpec | None = ..., - health: global___ExportSink.Health.ValueType = ..., + spec: Global___ExportSinkSpec | None = ..., + health: Global___ExportSink.Health.ValueType = ..., error_message: builtins.str = ..., latest_data_export_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_health_check_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_health_check_time", b"last_health_check_time", "latest_data_export_time", @@ -1441,7 +1497,7 @@ class ExportSink(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "error_message", b"error_message", "health", @@ -1461,21 +1517,29 @@ class ExportSink(google.protobuf.message.Message): ], ) -> None: ... -global___ExportSink = ExportSink +Global___ExportSink: typing_extensions.TypeAlias = ExportSink +@typing.final class NamespaceCapacityInfo(google.protobuf.message.Message): """NamespaceCapacityInfo contains detailed capacity information for a namespace.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class CapacityModeOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Provisioned(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor VALID_TRU_VALUES_FIELD_NUMBER: builtins.int MAX_AVAILABLE_TRU_VALUE_FIELD_NUMBER: builtins.int + max_available_tru_value: builtins.float + """The maximum TRU value that can currently be set for this namespace. + This may be lower than the highest value in valid_tru_values due to + inventory constraints. + """ @property def valid_tru_values( self, @@ -1485,11 +1549,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): """The valid TRU (Temporal Resource Unit) values that can be set. These are the discrete capacity tiers available for selection. """ - max_available_tru_value: builtins.float - """The maximum TRU value that can currently be set for this namespace. - This may be lower than the highest value in valid_tru_values due to - inventory constraints. - """ + def __init__( self, *, @@ -1498,7 +1558,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "max_available_tru_value", b"max_available_tru_value", "valid_tru_values", @@ -1506,6 +1566,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class OnDemand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1520,7 +1581,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): aps_limit: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["aps_limit", b"aps_limit"] + self, field_name: typing.Literal["aps_limit", b"aps_limit"] ) -> None: ... PROVISIONED_FIELD_NUMBER: builtins.int @@ -1528,37 +1589,41 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): @property def provisioned( self, - ) -> global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned: + ) -> Global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned: """Provisioned capacity options and entitlements.""" + @property def on_demand( self, - ) -> global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand: + ) -> Global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand: """On-Demand capacity information.""" + def __init__( self, *, - provisioned: global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned + provisioned: Global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned | None = ..., - on_demand: global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand + on_demand: Global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned" ], ) -> None: ... + @typing.final class Stats(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Summary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1577,26 +1642,25 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "mean", b"mean", "p90", b"p90", "p99", b"p99" ], ) -> None: ... APS_FIELD_NUMBER: builtins.int @property - def aps(self) -> global___NamespaceCapacityInfo.Stats.Summary: + def aps(self) -> Global___NamespaceCapacityInfo.Stats.Summary: """Actions-per-second measurements summarized over the last 7 days.""" + def __init__( self, *, - aps: global___NamespaceCapacityInfo.Stats.Summary | None = ..., + aps: Global___NamespaceCapacityInfo.Stats.Summary | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["aps", b"aps"] + self, field_name: typing.Literal["aps", b"aps"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["aps", b"aps"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["aps", b"aps"]) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int HAS_LEGACY_LIMITS_FIELD_NUMBER: builtins.int @@ -1610,32 +1674,35 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): When true, adjusting the namespace's capacity will reset this limit. """ @property - def current_capacity(self) -> global___Capacity: + def current_capacity(self) -> Global___Capacity: """The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status. """ + @property - def mode_options(self) -> global___NamespaceCapacityInfo.CapacityModeOptions: + def mode_options(self) -> Global___NamespaceCapacityInfo.CapacityModeOptions: """Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes. """ + @property - def stats(self) -> global___NamespaceCapacityInfo.Stats: + def stats(self) -> Global___NamespaceCapacityInfo.Stats: """Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning. """ + def __init__( self, *, namespace: builtins.str = ..., has_legacy_limits: builtins.bool = ..., - current_capacity: global___Capacity | None = ..., - mode_options: global___NamespaceCapacityInfo.CapacityModeOptions | None = ..., - stats: global___NamespaceCapacityInfo.Stats | None = ..., + current_capacity: Global___Capacity | None = ..., + mode_options: Global___NamespaceCapacityInfo.CapacityModeOptions | None = ..., + stats: Global___NamespaceCapacityInfo.Stats | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_capacity", b"current_capacity", "mode_options", @@ -1646,7 +1713,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_capacity", b"current_capacity", "has_legacy_limits", @@ -1660,4 +1727,4 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceCapacityInfo = NamespaceCapacityInfo +Global___NamespaceCapacityInfo: typing_extensions.TypeAlias = NamespaceCapacityInfo diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.py b/temporalio/api/cloud/nexus/v1/message_pb2.py index f34cac2cc..6e9ab5a32 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.py +++ b/temporalio/api/cloud/nexus/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/nexus/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/nexus/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -27,98 +37,32 @@ b'\n)temporal/api/cloud/nexus/v1/message.proto\x12\x1btemporal.api.cloud.nexus.v1\x1a$temporal/api/common/v1/message.proto\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x83\x02\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btarget_spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointTargetSpec\x12\x45\n\x0cpolicy_specs\x18\x03 \x03(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointPolicySpec\x12"\n\x16\x64\x65scription_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12\x34\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"l\n\x12\x45ndpointTargetSpec\x12K\n\x12worker_target_spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.nexus.v1.WorkerTargetSpecH\x00\x42\t\n\x07variant"<\n\x10WorkerTargetSpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\x8c\x01\n\x12\x45ndpointPolicySpec\x12k\n#allowed_cloud_namespace_policy_spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpecH\x00\x42\t\n\x07variant"7\n\x1f\x41llowedCloudNamespacePolicySpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t"\xad\x02\n\x08\x45ndpoint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1eio.temporal.api.cloud.nexus.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/nexus/v1;nexus\xaa\x02\x1dTemporalio.Api.Cloud.Nexus.V1\xea\x02!Temporalio::Api::Cloud::Nexus::V1b\x06proto3' ) - -_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] -_ENDPOINTTARGETSPEC = DESCRIPTOR.message_types_by_name["EndpointTargetSpec"] -_WORKERTARGETSPEC = DESCRIPTOR.message_types_by_name["WorkerTargetSpec"] -_ENDPOINTPOLICYSPEC = DESCRIPTOR.message_types_by_name["EndpointPolicySpec"] -_ALLOWEDCLOUDNAMESPACEPOLICYSPEC = DESCRIPTOR.message_types_by_name[ - "AllowedCloudNamespacePolicySpec" -] -_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] -EndpointSpec = _reflection.GeneratedProtocolMessageType( - "EndpointSpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTSPEC, - "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointSpec) - }, -) -_sym_db.RegisterMessage(EndpointSpec) - -EndpointTargetSpec = _reflection.GeneratedProtocolMessageType( - "EndpointTargetSpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTTARGETSPEC, - "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointTargetSpec) - }, -) -_sym_db.RegisterMessage(EndpointTargetSpec) - -WorkerTargetSpec = _reflection.GeneratedProtocolMessageType( - "WorkerTargetSpec", - (_message.Message,), - { - "DESCRIPTOR": _WORKERTARGETSPEC, - "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.WorkerTargetSpec) - }, -) -_sym_db.RegisterMessage(WorkerTargetSpec) - -EndpointPolicySpec = _reflection.GeneratedProtocolMessageType( - "EndpointPolicySpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTPOLICYSPEC, - "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointPolicySpec) - }, -) -_sym_db.RegisterMessage(EndpointPolicySpec) - -AllowedCloudNamespacePolicySpec = _reflection.GeneratedProtocolMessageType( - "AllowedCloudNamespacePolicySpec", - (_message.Message,), - { - "DESCRIPTOR": _ALLOWEDCLOUDNAMESPACEPOLICYSPEC, - "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.nexus.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(AllowedCloudNamespacePolicySpec) - -Endpoint = _reflection.GeneratedProtocolMessageType( - "Endpoint", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINT, - "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.Endpoint) - }, -) -_sym_db.RegisterMessage(Endpoint) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1" - _ENDPOINTSPEC.fields_by_name["description_deprecated"]._options = None - _ENDPOINTSPEC.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1" + _globals["_ENDPOINTSPEC"].fields_by_name[ + "description_deprecated" + ]._loaded_options = None + _globals["_ENDPOINTSPEC"].fields_by_name[ "description_deprecated" ]._serialized_options = b"\030\001" - _ENDPOINTSPEC._serialized_start = 192 - _ENDPOINTSPEC._serialized_end = 451 - _ENDPOINTTARGETSPEC._serialized_start = 453 - _ENDPOINTTARGETSPEC._serialized_end = 561 - _WORKERTARGETSPEC._serialized_start = 563 - _WORKERTARGETSPEC._serialized_end = 623 - _ENDPOINTPOLICYSPEC._serialized_start = 626 - _ENDPOINTPOLICYSPEC._serialized_end = 766 - _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_start = 768 - _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_end = 823 - _ENDPOINT._serialized_start = 826 - _ENDPOINT._serialized_end = 1127 + _globals["_ENDPOINTSPEC"]._serialized_start = 192 + _globals["_ENDPOINTSPEC"]._serialized_end = 451 + _globals["_ENDPOINTTARGETSPEC"]._serialized_start = 453 + _globals["_ENDPOINTTARGETSPEC"]._serialized_end = 561 + _globals["_WORKERTARGETSPEC"]._serialized_start = 563 + _globals["_WORKERTARGETSPEC"]._serialized_end = 623 + _globals["_ENDPOINTPOLICYSPEC"]._serialized_start = 626 + _globals["_ENDPOINTPOLICYSPEC"]._serialized_end = 766 + _globals["_ALLOWEDCLOUDNAMESPACEPOLICYSPEC"]._serialized_start = 768 + _globals["_ALLOWEDCLOUDNAMESPACEPOLICYSPEC"]._serialized_end = 823 + _globals["_ENDPOINT"]._serialized_start = 826 + _globals["_ENDPOINT"]._serialized_end = 1127 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.pyi b/temporalio/api/cloud/nexus/v1/message_pb2.pyi index 5ec14c3ac..16ff21d1e 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.pyi +++ b/temporalio/api/cloud/nexus/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -15,13 +16,14 @@ import google.protobuf.timestamp_pb2 import temporalio.api.cloud.resource.v1.message_pb2 import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class EndpointSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -35,47 +37,50 @@ class EndpointSpec(google.protobuf.message.Message): The name must match `^[a-zA-Z][a-zA-Z0-9\\-]*[a-zA-Z0-9]$`. This field is mutable. """ + description_deprecated: builtins.str + """Deprecated: Not supported after v0.4.0 api version. Use description instead. + temporal:versioning:max_version=v0.4.0 + """ @property - def target_spec(self) -> global___EndpointTargetSpec: + def target_spec(self) -> Global___EndpointTargetSpec: """Indicates where the endpoint should forward received nexus requests to.""" + @property def policy_specs( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___EndpointPolicySpec + Global___EndpointPolicySpec ]: """The set of policies (e.g. authorization) for the endpoint. Each request's caller must match with at least one of the specs to be accepted by the endpoint. This field is mutable. """ - description_deprecated: builtins.str - """Deprecated: Not supported after v0.4.0 api version. Use description instead. - temporal:versioning:max_version=v0.4.0 - """ + @property def description(self) -> temporalio.api.common.v1.message_pb2.Payload: """The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0 """ + def __init__( self, *, name: builtins.str = ..., - target_spec: global___EndpointTargetSpec | None = ..., - policy_specs: collections.abc.Iterable[global___EndpointPolicySpec] + target_spec: Global___EndpointTargetSpec | None = ..., + policy_specs: collections.abc.Iterable[Global___EndpointPolicySpec] | None = ..., description_deprecated: builtins.str = ..., description: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "target_spec", b"target_spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "description_deprecated", @@ -89,38 +94,41 @@ class EndpointSpec(google.protobuf.message.Message): ], ) -> None: ... -global___EndpointSpec = EndpointSpec +Global___EndpointSpec: typing_extensions.TypeAlias = EndpointSpec +@typing.final class EndpointTargetSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKER_TARGET_SPEC_FIELD_NUMBER: builtins.int @property - def worker_target_spec(self) -> global___WorkerTargetSpec: + def worker_target_spec(self) -> Global___WorkerTargetSpec: """A target spec for routing nexus requests to a specific cloud namespace worker.""" + def __init__( self, *, - worker_target_spec: global___WorkerTargetSpec | None = ..., + worker_target_spec: Global___WorkerTargetSpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "variant", b"variant", "worker_target_spec", b"worker_target_spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "variant", b"variant", "worker_target_spec", b"worker_target_spec" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["worker_target_spec"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["worker_target_spec"] | None: ... -global___EndpointTargetSpec = EndpointTargetSpec +Global___EndpointTargetSpec: typing_extensions.TypeAlias = EndpointTargetSpec +@typing.final class WorkerTargetSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -138,13 +146,14 @@ class WorkerTargetSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace_id", b"namespace_id", "task_queue", b"task_queue" ], ) -> None: ... -global___WorkerTargetSpec = WorkerTargetSpec +Global___WorkerTargetSpec: typing_extensions.TypeAlias = WorkerTargetSpec +@typing.final class EndpointPolicySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -152,17 +161,18 @@ class EndpointPolicySpec(google.protobuf.message.Message): @property def allowed_cloud_namespace_policy_spec( self, - ) -> global___AllowedCloudNamespacePolicySpec: + ) -> Global___AllowedCloudNamespacePolicySpec: """A policy spec that allows one caller namespace to access the endpoint.""" + def __init__( self, *, - allowed_cloud_namespace_policy_spec: global___AllowedCloudNamespacePolicySpec + allowed_cloud_namespace_policy_spec: Global___AllowedCloudNamespacePolicySpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", @@ -171,7 +181,7 @@ class EndpointPolicySpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", @@ -179,11 +189,12 @@ class EndpointPolicySpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["allowed_cloud_namespace_policy_spec"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["allowed_cloud_namespace_policy_spec"] | None: ... -global___EndpointPolicySpec = EndpointPolicySpec +Global___EndpointPolicySpec: typing_extensions.TypeAlias = EndpointPolicySpec +@typing.final class AllowedCloudNamespacePolicySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -196,11 +207,14 @@ class AllowedCloudNamespacePolicySpec(google.protobuf.message.Message): namespace_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id"] + self, field_name: typing.Literal["namespace_id", b"namespace_id"] ) -> None: ... -global___AllowedCloudNamespacePolicySpec = AllowedCloudNamespacePolicySpec +Global___AllowedCloudNamespacePolicySpec: typing_extensions.TypeAlias = ( + AllowedCloudNamespacePolicySpec +) +@typing.final class Endpoint(google.protobuf.message.Message): """An endpoint that receives and then routes Nexus requests""" @@ -219,27 +233,30 @@ class Endpoint(google.protobuf.message.Message): """The current version of the endpoint specification. The next update operation must include this version. """ - @property - def spec(self) -> global___EndpointSpec: - """The endpoint specification.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the endpoint. For any failed state, reach out to Temporal Cloud support for remediation. """ async_operation_id: builtins.str """The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.""" + @property + def spec(self) -> Global___EndpointSpec: + """The endpoint specification.""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was created.""" + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was last modified.""" + def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: global___EndpointSpec | None = ..., + spec: Global___EndpointSpec | None = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -247,7 +264,7 @@ class Endpoint(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "last_modified_time", @@ -258,7 +275,7 @@ class Endpoint(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -276,4 +293,4 @@ class Endpoint(google.protobuf.message.Message): ], ) -> None: ... -global___Endpoint = Endpoint +Global___Endpoint: typing_extensions.TypeAlias = Endpoint diff --git a/temporalio/api/cloud/operation/v1/message_pb2.py b/temporalio/api/cloud/operation/v1/message_pb2.py index 8d4664ed5..81bb60a06 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.py +++ b/temporalio/api/cloud/operation/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/operation/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/operation/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,27 +32,24 @@ b'\n-temporal/api/cloud/operation/v1/message.proto\x12\x1ftemporal.api.cloud.operation.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto"\x92\x04\n\x0e\x41syncOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x10state_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x35.temporal.api.cloud.operation.v1.AsyncOperation.State\x12\x31\n\x0e\x63heck_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eoperation_type\x18\x04 \x01(\t\x12-\n\x0foperation_input\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x16\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\t\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rfinished_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x98\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x15\n\x11STATE_IN_PROGRESS\x10\x02\x12\x10\n\x0cSTATE_FAILED\x10\x03\x12\x13\n\x0fSTATE_CANCELLED\x10\x04\x12\x13\n\x0fSTATE_FULFILLED\x10\x05\x12\x12\n\x0eSTATE_REJECTED\x10\x06\x42\xb1\x01\n"io.temporal.api.cloud.operation.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/operation/v1;operation\xaa\x02!Temporalio.Api.Cloud.Operation.V1\xea\x02%Temporalio::Api::Cloud::Operation::V1b\x06proto3' ) - -_ASYNCOPERATION = DESCRIPTOR.message_types_by_name["AsyncOperation"] -_ASYNCOPERATION_STATE = _ASYNCOPERATION.enum_types_by_name["State"] -AsyncOperation = _reflection.GeneratedProtocolMessageType( - "AsyncOperation", - (_message.Message,), - { - "DESCRIPTOR": _ASYNCOPERATION, - "__module__": "temporalio.api.cloud.operation.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.operation.v1.AsyncOperation) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.operation.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(AsyncOperation) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' - _ASYNCOPERATION.fields_by_name["state_deprecated"]._options = None - _ASYNCOPERATION.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" - _ASYNCOPERATION._serialized_start = 175 - _ASYNCOPERATION._serialized_end = 705 - _ASYNCOPERATION_STATE._serialized_start = 553 - _ASYNCOPERATION_STATE._serialized_end = 705 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b'\n"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' + _globals["_ASYNCOPERATION"].fields_by_name[ + "state_deprecated" + ]._loaded_options = None + _globals["_ASYNCOPERATION"].fields_by_name[ + "state_deprecated" + ]._serialized_options = b"\030\001" + _globals["_ASYNCOPERATION"]._serialized_start = 175 + _globals["_ASYNCOPERATION"]._serialized_end = 705 + _globals["_ASYNCOPERATION_STATE"]._serialized_start = 553 + _globals["_ASYNCOPERATION_STATE"]._serialized_end = 705 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/operation/v1/message_pb2.pyi b/temporalio/api/cloud/operation/v1/message_pb2.pyi index 4e9346d96..7b67b49ff 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.pyi +++ b/temporalio/api/cloud/operation/v1/message_pb2.pyi @@ -21,6 +21,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class AsyncOperation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -33,7 +34,7 @@ class AsyncOperation(google.protobuf.message.Message): AsyncOperation._State.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: AsyncOperation._State.ValueType # 0 STATE_PENDING: AsyncOperation._State.ValueType # 1 @@ -81,36 +82,40 @@ class AsyncOperation(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0 """ - state: global___AsyncOperation.State.ValueType + state: Global___AsyncOperation.State.ValueType """The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated """ + operation_type: builtins.str + """The type of operation being performed.""" + failure_reason: builtins.str + """If the operation failed, the reason for the failure.""" @property def check_duration(self) -> google.protobuf.duration_pb2.Duration: """The recommended duration to check back for an update in the operation's state.""" - operation_type: builtins.str - """The type of operation being performed.""" + @property def operation_input(self) -> google.protobuf.any_pb2.Any: """The input to the operation being performed. (-- api-linter: core::0146::any=disabled --) """ - failure_reason: builtins.str - """If the operation failed, the reason for the failure.""" + @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the operation initiated.""" + @property def finished_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the operation completed.""" + def __init__( self, *, id: builtins.str = ..., state_deprecated: builtins.str = ..., - state: global___AsyncOperation.State.ValueType = ..., + state: Global___AsyncOperation.State.ValueType = ..., check_duration: google.protobuf.duration_pb2.Duration | None = ..., operation_type: builtins.str = ..., operation_input: google.protobuf.any_pb2.Any | None = ..., @@ -120,7 +125,7 @@ class AsyncOperation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "check_duration", b"check_duration", "finished_time", @@ -133,7 +138,7 @@ class AsyncOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "check_duration", b"check_duration", "failure_reason", @@ -155,4 +160,4 @@ class AsyncOperation(google.protobuf.message.Message): ], ) -> None: ... -global___AsyncOperation = AsyncOperation +Global___AsyncOperation: typing_extensions.TypeAlias = AsyncOperation diff --git a/temporalio/api/cloud/region/v1/message_pb2.py b/temporalio/api/cloud/region/v1/message_pb2.py index 17a5461a8..e1387f4ab 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.py +++ b/temporalio/api/cloud/region/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/region/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/region/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,29 +28,24 @@ b'\n*temporal/api/cloud/region/v1/message.proto\x12\x1ctemporal.api.cloud.region.v1"\x99\x02\n\x06Region\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\x19\x63loud_provider_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12J\n\x0e\x63loud_provider\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.region.v1.Region.CloudProvider\x12\x1d\n\x15\x63loud_provider_region\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t"_\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LOUD_PROVIDER_AWS\x10\x01\x12\x16\n\x12\x43LOUD_PROVIDER_GCP\x10\x02\x42\xa2\x01\n\x1fio.temporal.api.cloud.region.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/cloud/region/v1;region\xaa\x02\x1eTemporalio.Api.Cloud.Region.V1\xea\x02"Temporalio::Api::Cloud::Region::V1b\x06proto3' ) - -_REGION = DESCRIPTOR.message_types_by_name["Region"] -_REGION_CLOUDPROVIDER = _REGION.enum_types_by_name["CloudProvider"] -Region = _reflection.GeneratedProtocolMessageType( - "Region", - (_message.Message,), - { - "DESCRIPTOR": _REGION, - "__module__": "temporalio.api.cloud.region.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.region.v1.Region) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.region.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(Region) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002"Temporalio::Api::Cloud::Region::V1' - _REGION.fields_by_name["cloud_provider_deprecated"]._options = None - _REGION.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002"Temporalio::Api::Cloud::Region::V1' + _globals["_REGION"].fields_by_name[ + "cloud_provider_deprecated" + ]._loaded_options = None + _globals["_REGION"].fields_by_name[ "cloud_provider_deprecated" ]._serialized_options = b"\030\001" - _REGION._serialized_start = 77 - _REGION._serialized_end = 358 - _REGION_CLOUDPROVIDER._serialized_start = 263 - _REGION_CLOUDPROVIDER._serialized_end = 358 + _globals["_REGION"]._serialized_start = 77 + _globals["_REGION"]._serialized_end = 358 + _globals["_REGION_CLOUDPROVIDER"]._serialized_start = 263 + _globals["_REGION_CLOUDPROVIDER"]._serialized_end = 358 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/region/v1/message_pb2.pyi b/temporalio/api/cloud/region/v1/message_pb2.pyi index 69718ad18..a7f321d1a 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.pyi +++ b/temporalio/api/cloud/region/v1/message_pb2.pyi @@ -18,6 +18,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class Region(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -30,7 +31,7 @@ class Region(google.protobuf.message.Message): Region._CloudProvider.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CLOUD_PROVIDER_UNSPECIFIED: Region._CloudProvider.ValueType # 0 CLOUD_PROVIDER_AWS: Region._CloudProvider.ValueType # 1 @@ -56,7 +57,7 @@ class Region(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use cloud_provider instead. temporal:versioning:max_version=v0.3.0 """ - cloud_provider: global___Region.CloudProvider.ValueType + cloud_provider: Global___Region.CloudProvider.ValueType """The cloud provider that's hosting the region. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=cloud_provider_deprecated @@ -70,13 +71,13 @@ class Region(google.protobuf.message.Message): *, id: builtins.str = ..., cloud_provider_deprecated: builtins.str = ..., - cloud_provider: global___Region.CloudProvider.ValueType = ..., + cloud_provider: Global___Region.CloudProvider.ValueType = ..., cloud_provider_region: builtins.str = ..., location: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cloud_provider", b"cloud_provider", "cloud_provider_deprecated", @@ -90,4 +91,4 @@ class Region(google.protobuf.message.Message): ], ) -> None: ... -global___Region = Region +Global___Region: typing_extensions.TypeAlias = Region diff --git a/temporalio/api/cloud/resource/v1/message_pb2.py b/temporalio/api/cloud/resource/v1/message_pb2.py index 88e7a7daa..e2a74af70 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.py +++ b/temporalio/api/cloud/resource/v1/message_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/resource/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/resource/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,24 +28,16 @@ b"\n,temporal/api/cloud/resource/v1/message.proto\x12\x1etemporal.api.cloud.resource.v1*\xe3\x02\n\rResourceState\x12\x1e\n\x1aRESOURCE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESOURCE_STATE_ACTIVATING\x10\x01\x12$\n RESOURCE_STATE_ACTIVATION_FAILED\x10\x02\x12\x19\n\x15RESOURCE_STATE_ACTIVE\x10\x03\x12\x1b\n\x17RESOURCE_STATE_UPDATING\x10\x04\x12 \n\x1cRESOURCE_STATE_UPDATE_FAILED\x10\x05\x12\x1b\n\x17RESOURCE_STATE_DELETING\x10\x06\x12 \n\x1cRESOURCE_STATE_DELETE_FAILED\x10\x07\x12\x1a\n\x16RESOURCE_STATE_DELETED\x10\x08\x12\x1c\n\x18RESOURCE_STATE_SUSPENDED\x10\t\x12\x1a\n\x16RESOURCE_STATE_EXPIRED\x10\nB\xac\x01\n!io.temporal.api.cloud.resource.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/resource/v1;resource\xaa\x02 Temporalio.Api.Cloud.Resource.V1\xea\x02$Temporalio::Api::Cloud::Resource::V1b\x06proto3" ) -_RESOURCESTATE = DESCRIPTOR.enum_types_by_name["ResourceState"] -ResourceState = enum_type_wrapper.EnumTypeWrapper(_RESOURCESTATE) -RESOURCE_STATE_UNSPECIFIED = 0 -RESOURCE_STATE_ACTIVATING = 1 -RESOURCE_STATE_ACTIVATION_FAILED = 2 -RESOURCE_STATE_ACTIVE = 3 -RESOURCE_STATE_UPDATING = 4 -RESOURCE_STATE_UPDATE_FAILED = 5 -RESOURCE_STATE_DELETING = 6 -RESOURCE_STATE_DELETE_FAILED = 7 -RESOURCE_STATE_DELETED = 8 -RESOURCE_STATE_SUSPENDED = 9 -RESOURCE_STATE_EXPIRED = 10 - - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1" - _RESOURCESTATE._serialized_start = 81 - _RESOURCESTATE._serialized_end = 436 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.resource.v1.message_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1" + _globals["_RESOURCESTATE"]._serialized_start = 81 + _globals["_RESOURCESTATE"]._serialized_end = 436 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/resource/v1/message_pb2.pyi b/temporalio/api/cloud/resource/v1/message_pb2.pyi index 28f76e202..cb9ba6358 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.pyi +++ b/temporalio/api/cloud/resource/v1/message_pb2.pyi @@ -26,7 +26,7 @@ class _ResourceStateEnumTypeWrapper( _ResourceState.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_STATE_UNSPECIFIED: _ResourceState.ValueType # 0 RESOURCE_STATE_ACTIVATING: _ResourceState.ValueType # 1 @@ -73,4 +73,4 @@ RESOURCE_STATE_SUSPENDED: ResourceState.ValueType # 9 """The resource is suspended and not available for use. Reach out to support for remediation.""" RESOURCE_STATE_EXPIRED: ResourceState.ValueType # 10 """The resource has expired and is no longer available for use.""" -global___ResourceState = ResourceState +Global___ResourceState: typing_extensions.TypeAlias = ResourceState diff --git a/temporalio/api/cloud/sink/v1/message_pb2.py b/temporalio/api/cloud/sink/v1/message_pb2.py index ef22569f1..289402311 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.py +++ b/temporalio/api/cloud/sink/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/sink/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/sink/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,64 +28,22 @@ b'\n(temporal/api/cloud/sink/v1/message.proto\x12\x1atemporal.api.cloud.sink.v1"i\n\x06S3Spec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0f\n\x07kms_arn\x18\x04 \x01(\t\x12\x16\n\x0e\x61ws_account_id\x18\x05 \x01(\t"U\n\x07GCSSpec\x12\r\n\x05sa_id\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\t\x12\x0e\n\x06region\x18\x04 \x01(\t"I\n\x0bKinesisSpec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65stination_uri\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t"T\n\nPubSubSpec\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x12\n\ntopic_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\tB\x98\x01\n\x1dio.temporal.api.cloud.sink.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/cloud/sink/v1;sink\xaa\x02\x1cTemporalio.Api.Cloud.Sink.V1\xea\x02 Temporalio::Api::Cloud::Sink::V1b\x06proto3' ) - -_S3SPEC = DESCRIPTOR.message_types_by_name["S3Spec"] -_GCSSPEC = DESCRIPTOR.message_types_by_name["GCSSpec"] -_KINESISSPEC = DESCRIPTOR.message_types_by_name["KinesisSpec"] -_PUBSUBSPEC = DESCRIPTOR.message_types_by_name["PubSubSpec"] -S3Spec = _reflection.GeneratedProtocolMessageType( - "S3Spec", - (_message.Message,), - { - "DESCRIPTOR": _S3SPEC, - "__module__": "temporalio.api.cloud.sink.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.S3Spec) - }, -) -_sym_db.RegisterMessage(S3Spec) - -GCSSpec = _reflection.GeneratedProtocolMessageType( - "GCSSpec", - (_message.Message,), - { - "DESCRIPTOR": _GCSSPEC, - "__module__": "temporalio.api.cloud.sink.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.GCSSpec) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.sink.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(GCSSpec) - -KinesisSpec = _reflection.GeneratedProtocolMessageType( - "KinesisSpec", - (_message.Message,), - { - "DESCRIPTOR": _KINESISSPEC, - "__module__": "temporalio.api.cloud.sink.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.KinesisSpec) - }, -) -_sym_db.RegisterMessage(KinesisSpec) - -PubSubSpec = _reflection.GeneratedProtocolMessageType( - "PubSubSpec", - (_message.Message,), - { - "DESCRIPTOR": _PUBSUBSPEC, - "__module__": "temporalio.api.cloud.sink.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.PubSubSpec) - }, -) -_sym_db.RegisterMessage(PubSubSpec) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1" - _S3SPEC._serialized_start = 72 - _S3SPEC._serialized_end = 177 - _GCSSPEC._serialized_start = 179 - _GCSSPEC._serialized_end = 264 - _KINESISSPEC._serialized_start = 266 - _KINESISSPEC._serialized_end = 339 - _PUBSUBSPEC._serialized_start = 341 - _PUBSUBSPEC._serialized_end = 425 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1" + _globals["_S3SPEC"]._serialized_start = 72 + _globals["_S3SPEC"]._serialized_end = 177 + _globals["_GCSSPEC"]._serialized_start = 179 + _globals["_GCSSPEC"]._serialized_end = 264 + _globals["_KINESISSPEC"]._serialized_start = 266 + _globals["_KINESISSPEC"]._serialized_end = 339 + _globals["_PUBSUBSPEC"]._serialized_start = 341 + _globals["_PUBSUBSPEC"]._serialized_end = 425 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/sink/v1/message_pb2.pyi b/temporalio/api/cloud/sink/v1/message_pb2.pyi index 30e6ff099..9846eb56c 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.pyi +++ b/temporalio/api/cloud/sink/v1/message_pb2.pyi @@ -5,17 +5,19 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class S3Spec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -45,7 +47,7 @@ class S3Spec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "aws_account_id", b"aws_account_id", "bucket_name", @@ -59,8 +61,9 @@ class S3Spec(google.protobuf.message.Message): ], ) -> None: ... -global___S3Spec = S3Spec +Global___S3Spec: typing_extensions.TypeAlias = S3Spec +@typing.final class GCSSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -86,7 +89,7 @@ class GCSSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "bucket_name", b"bucket_name", "gcp_project_id", @@ -98,8 +101,9 @@ class GCSSpec(google.protobuf.message.Message): ], ) -> None: ... -global___GCSSpec = GCSSpec +Global___GCSSpec: typing_extensions.TypeAlias = GCSSpec +@typing.final class KinesisSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -121,7 +125,7 @@ class KinesisSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "destination_uri", b"destination_uri", "region", @@ -131,8 +135,9 @@ class KinesisSpec(google.protobuf.message.Message): ], ) -> None: ... -global___KinesisSpec = KinesisSpec +Global___KinesisSpec: typing_extensions.TypeAlias = KinesisSpec +@typing.final class PubSubSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -154,7 +159,7 @@ class PubSubSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "gcp_project_id", b"gcp_project_id", "service_account_id", @@ -164,4 +169,4 @@ class PubSubSpec(google.protobuf.message.Message): ], ) -> None: ... -global___PubSubSpec = PubSubSpec +Global___PubSubSpec: typing_extensions.TypeAlias = PubSubSpec diff --git a/temporalio/api/cloud/usage/v1/message_pb2.py b/temporalio/api/cloud/usage/v1/message_pb2.py index 84b635bba..d43977532 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.py +++ b/temporalio/api/cloud/usage/v1/message_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/usage/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/cloud/usage/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,86 +30,28 @@ b"\n)temporal/api/cloud/usage/v1/message.proto\x12\x1btemporal.api.cloud.usage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x07Summary\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rrecord_groups\x18\x03 \x03(\x0b\x32(.temporal.api.cloud.usage.v1.RecordGroup\x12\x12\n\nincomplete\x18\x04 \x01(\x08\"|\n\x0bRecordGroup\x12\x37\n\tgroup_bys\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.GroupBy\x12\x34\n\x07records\x18\x02 \x03(\x0b\x32#.temporal.api.cloud.usage.v1.Record\"N\n\x07GroupBy\x12\x34\n\x03key\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.GroupByKey\x12\r\n\x05value\x18\x02 \x01(\t\"\x85\x01\n\x06Record\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordType\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordUnit\x12\r\n\x05value\x18\x03 \x01(\x01*\x84\x01\n\nRecordType\x12\x1b\n\x17RECORD_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13RECORD_TYPE_ACTIONS\x10\x01\x12\x1e\n\x1aRECORD_TYPE_ACTIVE_STORAGE\x10\x02\x12 \n\x1cRECORD_TYPE_RETAINED_STORAGE\x10\x03*_\n\nRecordUnit\x12\x1b\n\x17RECORD_UNIT_UNSPECIFIED\x10\x00\x12\x16\n\x12RECORD_UNIT_NUMBER\x10\x01\x12\x1c\n\x18RECORD_UNIT_BYTE_SECONDS\x10\x02*F\n\nGroupByKey\x12\x1c\n\x18GROUP_BY_KEY_UNSPECIFIED\x10\x00\x12\x1a\n\x16GROUP_BY_KEY_NAMESPACE\x10\x01\x42\x9d\x01\n\x1eio.temporal.api.cloud.usage.v1B\x0cMessageProtoP\x01Z'go.temporal.io/api/cloud/usage/v1;usage\xaa\x02\x1dTemporalio.Api.Cloud.Usage.V1\xea\x02!Temporalio::Api::Cloud::Usage::V1b\x06proto3" ) -_RECORDTYPE = DESCRIPTOR.enum_types_by_name["RecordType"] -RecordType = enum_type_wrapper.EnumTypeWrapper(_RECORDTYPE) -_RECORDUNIT = DESCRIPTOR.enum_types_by_name["RecordUnit"] -RecordUnit = enum_type_wrapper.EnumTypeWrapper(_RECORDUNIT) -_GROUPBYKEY = DESCRIPTOR.enum_types_by_name["GroupByKey"] -GroupByKey = enum_type_wrapper.EnumTypeWrapper(_GROUPBYKEY) -RECORD_TYPE_UNSPECIFIED = 0 -RECORD_TYPE_ACTIONS = 1 -RECORD_TYPE_ACTIVE_STORAGE = 2 -RECORD_TYPE_RETAINED_STORAGE = 3 -RECORD_UNIT_UNSPECIFIED = 0 -RECORD_UNIT_NUMBER = 1 -RECORD_UNIT_BYTE_SECONDS = 2 -GROUP_BY_KEY_UNSPECIFIED = 0 -GROUP_BY_KEY_NAMESPACE = 1 - - -_SUMMARY = DESCRIPTOR.message_types_by_name["Summary"] -_RECORDGROUP = DESCRIPTOR.message_types_by_name["RecordGroup"] -_GROUPBY = DESCRIPTOR.message_types_by_name["GroupBy"] -_RECORD = DESCRIPTOR.message_types_by_name["Record"] -Summary = _reflection.GeneratedProtocolMessageType( - "Summary", - (_message.Message,), - { - "DESCRIPTOR": _SUMMARY, - "__module__": "temporalio.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Summary) - }, -) -_sym_db.RegisterMessage(Summary) - -RecordGroup = _reflection.GeneratedProtocolMessageType( - "RecordGroup", - (_message.Message,), - { - "DESCRIPTOR": _RECORDGROUP, - "__module__": "temporalio.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.RecordGroup) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.cloud.usage.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(RecordGroup) - -GroupBy = _reflection.GeneratedProtocolMessageType( - "GroupBy", - (_message.Message,), - { - "DESCRIPTOR": _GROUPBY, - "__module__": "temporalio.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.GroupBy) - }, -) -_sym_db.RegisterMessage(GroupBy) - -Record = _reflection.GeneratedProtocolMessageType( - "Record", - (_message.Message,), - { - "DESCRIPTOR": _RECORD, - "__module__": "temporalio.api.cloud.usage.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Record) - }, -) -_sym_db.RegisterMessage(Record) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1" - _RECORDTYPE._serialized_start = 641 - _RECORDTYPE._serialized_end = 773 - _RECORDUNIT._serialized_start = 775 - _RECORDUNIT._serialized_end = 870 - _GROUPBYKEY._serialized_start = 872 - _GROUPBYKEY._serialized_end = 942 - _SUMMARY._serialized_start = 108 - _SUMMARY._serialized_end = 296 - _RECORDGROUP._serialized_start = 298 - _RECORDGROUP._serialized_end = 422 - _GROUPBY._serialized_start = 424 - _GROUPBY._serialized_end = 502 - _RECORD._serialized_start = 505 - _RECORD._serialized_end = 638 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1" + _globals["_RECORDTYPE"]._serialized_start = 641 + _globals["_RECORDTYPE"]._serialized_end = 773 + _globals["_RECORDUNIT"]._serialized_start = 775 + _globals["_RECORDUNIT"]._serialized_end = 870 + _globals["_GROUPBYKEY"]._serialized_start = 872 + _globals["_GROUPBYKEY"]._serialized_end = 942 + _globals["_SUMMARY"]._serialized_start = 108 + _globals["_SUMMARY"]._serialized_end = 296 + _globals["_RECORDGROUP"]._serialized_start = 298 + _globals["_RECORDGROUP"]._serialized_end = 422 + _globals["_GROUPBY"]._serialized_start = 424 + _globals["_GROUPBY"]._serialized_end = 502 + _globals["_RECORD"]._serialized_start = 505 + _globals["_RECORD"]._serialized_end = 638 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/usage/v1/message_pb2.pyi b/temporalio/api/cloud/usage/v1/message_pb2.pyi index 8ffdc1189..a0ed4b180 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.pyi +++ b/temporalio/api/cloud/usage/v1/message_pb2.pyi @@ -28,7 +28,7 @@ class _RecordType: class _RecordTypeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordType.ValueType], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_TYPE_UNSPECIFIED: _RecordType.ValueType # 0 RECORD_TYPE_ACTIONS: _RecordType.ValueType # 1 @@ -41,7 +41,7 @@ RECORD_TYPE_UNSPECIFIED: RecordType.ValueType # 0 RECORD_TYPE_ACTIONS: RecordType.ValueType # 1 RECORD_TYPE_ACTIVE_STORAGE: RecordType.ValueType # 2 RECORD_TYPE_RETAINED_STORAGE: RecordType.ValueType # 3 -global___RecordType = RecordType +Global___RecordType: typing_extensions.TypeAlias = RecordType class _RecordUnit: ValueType = typing.NewType("ValueType", builtins.int) @@ -50,7 +50,7 @@ class _RecordUnit: class _RecordUnitEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordUnit.ValueType], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_UNIT_UNSPECIFIED: _RecordUnit.ValueType # 0 RECORD_UNIT_NUMBER: _RecordUnit.ValueType # 1 @@ -61,7 +61,7 @@ class RecordUnit(_RecordUnit, metaclass=_RecordUnitEnumTypeWrapper): ... RECORD_UNIT_UNSPECIFIED: RecordUnit.ValueType # 0 RECORD_UNIT_NUMBER: RecordUnit.ValueType # 1 RECORD_UNIT_BYTE_SECONDS: RecordUnit.ValueType # 2 -global___RecordUnit = RecordUnit +Global___RecordUnit: typing_extensions.TypeAlias = RecordUnit class _GroupByKey: ValueType = typing.NewType("ValueType", builtins.int) @@ -70,7 +70,7 @@ class _GroupByKey: class _GroupByKeyEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupByKey.ValueType], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor GROUP_BY_KEY_UNSPECIFIED: _GroupByKey.ValueType # 0 GROUP_BY_KEY_NAMESPACE: _GroupByKey.ValueType # 1 @@ -79,8 +79,9 @@ class GroupByKey(_GroupByKey, metaclass=_GroupByKeyEnumTypeWrapper): ... GROUP_BY_KEY_UNSPECIFIED: GroupByKey.ValueType # 0 GROUP_BY_KEY_NAMESPACE: GroupByKey.ValueType # 1 -global___GroupByKey = GroupByKey +Global___GroupByKey: typing_extensions.TypeAlias = GroupByKey +@typing.final class Summary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -88,40 +89,43 @@ class Summary(google.protobuf.message.Message): END_TIME_FIELD_NUMBER: builtins.int RECORD_GROUPS_FIELD_NUMBER: builtins.int INCOMPLETE_FIELD_NUMBER: builtins.int + incomplete: builtins.bool + """True if data for given time window is not fully available yet (e.g. delays) + When true, records for the given time range could still be added/updated in the future (until false) + """ @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Start of UTC day for now (inclusive)""" + @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """End of UTC day for now (exclusive)""" + @property def record_groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___RecordGroup + Global___RecordGroup ]: """Records grouped by namespace""" - incomplete: builtins.bool - """True if data for given time window is not fully available yet (e.g. delays) - When true, records for the given time range could still be added/updated in the future (until false) - """ + def __init__( self, *, start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - record_groups: collections.abc.Iterable[global___RecordGroup] | None = ..., + record_groups: collections.abc.Iterable[Global___RecordGroup] | None = ..., incomplete: builtins.bool = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "incomplete", @@ -133,8 +137,9 @@ class Summary(google.protobuf.message.Message): ], ) -> None: ... -global___Summary = Summary +Global___Summary: typing_extensions.TypeAlias = Summary +@typing.final class RecordGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -144,70 +149,69 @@ class RecordGroup(google.protobuf.message.Message): def group_bys( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___GroupBy + Global___GroupBy ]: """GroupBy keys and their values for this record group. Multiple fields are combined with logical AND.""" + @property def records( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Record + Global___Record ]: ... def __init__( self, *, - group_bys: collections.abc.Iterable[global___GroupBy] | None = ..., - records: collections.abc.Iterable[global___Record] | None = ..., + group_bys: collections.abc.Iterable[Global___GroupBy] | None = ..., + records: collections.abc.Iterable[Global___Record] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "group_bys", b"group_bys", "records", b"records" - ], + field_name: typing.Literal["group_bys", b"group_bys", "records", b"records"], ) -> None: ... -global___RecordGroup = RecordGroup +Global___RecordGroup: typing_extensions.TypeAlias = RecordGroup +@typing.final class GroupBy(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor KEY_FIELD_NUMBER: builtins.int VALUE_FIELD_NUMBER: builtins.int - key: global___GroupByKey.ValueType + key: Global___GroupByKey.ValueType value: builtins.str def __init__( self, *, - key: global___GroupByKey.ValueType = ..., + key: Global___GroupByKey.ValueType = ..., value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"] + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... -global___GroupBy = GroupBy +Global___GroupBy: typing_extensions.TypeAlias = GroupBy +@typing.final class Record(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int UNIT_FIELD_NUMBER: builtins.int VALUE_FIELD_NUMBER: builtins.int - type: global___RecordType.ValueType - unit: global___RecordUnit.ValueType + type: Global___RecordType.ValueType + unit: Global___RecordUnit.ValueType value: builtins.float def __init__( self, *, - type: global___RecordType.ValueType = ..., - unit: global___RecordUnit.ValueType = ..., + type: Global___RecordType.ValueType = ..., + unit: Global___RecordUnit.ValueType = ..., value: builtins.float = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "type", b"type", "unit", b"unit", "value", b"value" - ], + field_name: typing.Literal["type", b"type", "unit", b"unit", "value", b"value"], ) -> None: ... -global___Record = Record +Global___Record: typing_extensions.TypeAlias = Record diff --git a/temporalio/api/command/v1/message_pb2.py b/temporalio/api/command/v1/message_pb2.py index fe94363f5..9b620c295 100644 --- a/temporalio/api/command/v1/message_pb2.py +++ b/temporalio/api/command/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/command/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/command/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,6 +38,9 @@ from temporalio.api.failure.v1 import ( message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, ) +from temporalio.api.sdk.v1 import ( + event_group_marker_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_event__group__marker__pb2, +) from temporalio.api.sdk.v1 import ( user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, ) @@ -36,385 +49,123 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xb7\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xaf\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xac\x07\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"\xa1\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t"\xe3\x03\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x12<\n\x19schedule_to_start_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3' -) - - -_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ScheduleActivityTaskCommandAttributes" -] -_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "RequestCancelActivityTaskCommandAttributes" -] -_STARTTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartTimerCommandAttributes" -] -_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "CompleteWorkflowExecutionCommandAttributes" -] -_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "FailWorkflowExecutionCommandAttributes" -] -_CANCELTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "CancelTimerCommandAttributes" -] -_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "CancelWorkflowExecutionCommandAttributes" -] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecutionCommandAttributes" - ] -) -_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecutionCommandAttributes" -] -_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "UpsertWorkflowSearchAttributesCommandAttributes" -] -_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ModifyWorkflowPropertiesCommandAttributes" -] -_RECORDMARKERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "RecordMarkerCommandAttributes" -] -_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY = ( - _RECORDMARKERCOMMANDATTRIBUTES.nested_types_by_name["DetailsEntry"] -) -_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ContinueAsNewWorkflowExecutionCommandAttributes" -] -_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecutionCommandAttributes" -] -_PROTOCOLMESSAGECOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ProtocolMessageCommandAttributes" -] -_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ScheduleNexusOperationCommandAttributes" -] -_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY = ( - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] -) -_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "RequestCancelNexusOperationCommandAttributes" -] -_COMMAND = DESCRIPTOR.message_types_by_name["Command"] -ScheduleActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ScheduleActivityTaskCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) - }, -) -_sym_db.RegisterMessage(ScheduleActivityTaskCommandAttributes) - -RequestCancelActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( - "RequestCancelActivityTaskCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) - }, -) -_sym_db.RegisterMessage(RequestCancelActivityTaskCommandAttributes) - -StartTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( - "StartTimerCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTTIMERCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartTimerCommandAttributes) - }, -) -_sym_db.RegisterMessage(StartTimerCommandAttributes) - -CompleteWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "CompleteWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) - }, -) -_sym_db.RegisterMessage(CompleteWorkflowExecutionCommandAttributes) - -FailWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "FailWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) - }, -) -_sym_db.RegisterMessage(FailWorkflowExecutionCommandAttributes) - -CancelTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( - "CancelTimerCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CANCELTIMERCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelTimerCommandAttributes) - }, -) -_sym_db.RegisterMessage(CancelTimerCommandAttributes) - -CancelWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "CancelWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) - }, + b'\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a,temporal/api/sdk/v1/event_group_marker.proto"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xb7\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xaf\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xac\x07\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"\xa1\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t"\xe3\x03\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x12<\n\x19schedule_to_start_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"\x87\x12\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x43\n\x13\x65vent_group_markers\x18\xae\x02 \x03(\x0b\x32%.temporal.api.sdk.v1.EventGroupMarker\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3' ) -_sym_db.RegisterMessage(CancelWorkflowExecutionCommandAttributes) -RequestCancelExternalWorkflowExecutionCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) - }, - ) +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.command.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionCommandAttributes) - -SignalExternalWorkflowExecutionCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) - }, - ) -) -_sym_db.RegisterMessage(SignalExternalWorkflowExecutionCommandAttributes) - -UpsertWorkflowSearchAttributesCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "UpsertWorkflowSearchAttributesCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) - }, - ) -) -_sym_db.RegisterMessage(UpsertWorkflowSearchAttributesCommandAttributes) - -ModifyWorkflowPropertiesCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ModifyWorkflowPropertiesCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) - }, -) -_sym_db.RegisterMessage(ModifyWorkflowPropertiesCommandAttributes) - -RecordMarkerCommandAttributes = _reflection.GeneratedProtocolMessageType( - "RecordMarkerCommandAttributes", - (_message.Message,), - { - "DetailsEntry": _reflection.GeneratedProtocolMessageType( - "DetailsEntry", - (_message.Message,), - { - "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry) - }, - ), - "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes) - }, -) -_sym_db.RegisterMessage(RecordMarkerCommandAttributes) -_sym_db.RegisterMessage(RecordMarkerCommandAttributes.DetailsEntry) - -ContinueAsNewWorkflowExecutionCommandAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ContinueAsNewWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) - }, - ) -) -_sym_db.RegisterMessage(ContinueAsNewWorkflowExecutionCommandAttributes) - -StartChildWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecutionCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) - }, -) -_sym_db.RegisterMessage(StartChildWorkflowExecutionCommandAttributes) - -ProtocolMessageCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ProtocolMessageCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _PROTOCOLMESSAGECOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ProtocolMessageCommandAttributes) - }, -) -_sym_db.RegisterMessage(ProtocolMessageCommandAttributes) - -ScheduleNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( - "ScheduleNexusOperationCommandAttributes", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes) - }, -) -_sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes) -_sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) - -RequestCancelNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( - "RequestCancelNexusOperationCommandAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes) - }, -) -_sym_db.RegisterMessage(RequestCancelNexusOperationCommandAttributes) - -Command = _reflection.GeneratedProtocolMessageType( - "Command", - (_message.Message,), - { - "DESCRIPTOR": _COMMAND, - "__module__": "temporalio.api.command.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.command.v1.Command) - }, -) -_sym_db.RegisterMessage(Command) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1" - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1" + _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "namespace" - ]._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "namespace" ]._serialized_options = b"\030\001" - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "control" - ]._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "namespace" - ]._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "namespace" ]._serialized_options = b"\030\001" - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "control" - ]._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._options = None - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + _globals["_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY"]._loaded_options = None + _globals[ + "_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY" + ]._serialized_options = b"8\001" + _globals["_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "inherit_build_id" - ]._options = None - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "namespace" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "namespace" ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "inherit_build_id" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._options = None - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( - b"8\001" - ) - _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 338 - _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1032 - _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 1034 - _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1106 - _STARTTIMERCOMMANDATTRIBUTES._serialized_start = 1108 - _STARTTIMERCOMMANDATTRIBUTES._serialized_end = 1213 - _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1215 - _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1309 - _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1311 - _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1402 - _CANCELTIMERCOMMANDATTRIBUTES._serialized_start = 1404 - _CANCELTIMERCOMMANDATTRIBUTES._serialized_end = 1452 - _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1454 - _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1547 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1550 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1733 - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1736 - _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 2039 - _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_start = 2041 - _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_end = 2159 - _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_start = 2161 - _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_end = 2257 - _RECORDMARKERCOMMANDATTRIBUTES._serialized_start = 2260 - _RECORDMARKERCOMMANDATTRIBUTES._serialized_end = 2579 - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_start = 2499 - _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_end = 2579 - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 2582 - _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 3522 - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 3525 - _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 4454 - _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_start = 4456 - _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_end = 4510 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 4513 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 4996 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 4946 - _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 4996 - _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 4998 - _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 5072 - _COMMAND._serialized_start = 5075 - _COMMAND._serialized_end = 7317 + _globals[ + "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" + ]._loaded_options = None + _globals[ + "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" + ]._serialized_options = b"8\001" + _globals["_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_start = 384 + _globals["_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_end = 1078 + _globals["_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_start = 1080 + _globals["_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_end = 1152 + _globals["_STARTTIMERCOMMANDATTRIBUTES"]._serialized_start = 1154 + _globals["_STARTTIMERCOMMANDATTRIBUTES"]._serialized_end = 1259 + _globals["_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 1261 + _globals["_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 1355 + _globals["_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 1357 + _globals["_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 1448 + _globals["_CANCELTIMERCOMMANDATTRIBUTES"]._serialized_start = 1450 + _globals["_CANCELTIMERCOMMANDATTRIBUTES"]._serialized_end = 1498 + _globals["_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 1500 + _globals["_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 1593 + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES" + ]._serialized_start = 1596 + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES" + ]._serialized_end = 1779 + _globals[ + "_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES" + ]._serialized_start = 1782 + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 2085 + _globals[ + "_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES" + ]._serialized_start = 2087 + _globals["_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES"]._serialized_end = 2205 + _globals["_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES"]._serialized_start = 2207 + _globals["_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES"]._serialized_end = 2303 + _globals["_RECORDMARKERCOMMANDATTRIBUTES"]._serialized_start = 2306 + _globals["_RECORDMARKERCOMMANDATTRIBUTES"]._serialized_end = 2625 + _globals["_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY"]._serialized_start = 2545 + _globals["_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY"]._serialized_end = 2625 + _globals[ + "_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES" + ]._serialized_start = 2628 + _globals["_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 3568 + _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 3571 + _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 4500 + _globals["_PROTOCOLMESSAGECOMMANDATTRIBUTES"]._serialized_start = 4502 + _globals["_PROTOCOLMESSAGECOMMANDATTRIBUTES"]._serialized_end = 4556 + _globals["_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_start = 4559 + _globals["_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_end = 5042 + _globals[ + "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" + ]._serialized_start = 4992 + _globals[ + "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" + ]._serialized_end = 5042 + _globals["_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_start = 5044 + _globals["_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_end = 5118 + _globals["_COMMAND"]._serialized_start = 5121 + _globals["_COMMAND"]._serialized_end = 7432 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/command/v1/message_pb2.pyi b/temporalio/api/command/v1/message_pb2.pyi index 1b6bb3404..d1ab609b3 100644 --- a/temporalio/api/command/v1/message_pb2.pyi +++ b/temporalio/api/command/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -16,16 +17,18 @@ import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.command_type_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 +import temporalio.api.sdk.v1.event_group_marker_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.api.taskqueue.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -43,6 +46,14 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): USE_WORKFLOW_BUILD_ID_FIELD_NUMBER: builtins.int PRIORITY_FIELD_NUMBER: builtins.int activity_id: builtins.str + request_eager_execution: builtins.bool + """Request to start the activity directly bypassing matching service and worker polling + The slot for executing the activity should be reserved when setting this field to true. + """ + use_workflow_build_id: builtins.bool + """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, + Assignment rules of the activity's Task Queue will be used to determine the Build ID. + """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... @property @@ -61,6 +72,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits the time an activity task can stay in a task queue before a worker picks it up. The @@ -74,6 +86,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -82,28 +95,24 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1. """ - request_eager_execution: builtins.bool - """Request to start the activity directly bypassing matching service and worker polling - The slot for executing the activity should be reserved when setting this field to true. - """ - use_workflow_build_id: builtins.bool - """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, - Assignment rules of the activity's Task Queue will be used to determine the Build ID. - """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ + def __init__( self, *, @@ -123,7 +132,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_type", b"activity_type", "header", @@ -148,7 +157,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -178,8 +187,11 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleActivityTaskCommandAttributes = ScheduleActivityTaskCommandAttributes +Global___ScheduleActivityTaskCommandAttributes: typing_extensions.TypeAlias = ( + ScheduleActivityTaskCommandAttributes +) +@typing.final class RequestCancelActivityTaskCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -192,16 +204,14 @@ class RequestCancelActivityTaskCommandAttributes(google.protobuf.message.Message scheduled_event_id: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "scheduled_event_id", b"scheduled_event_id" - ], + self, field_name: typing.Literal["scheduled_event_id", b"scheduled_event_id"] ) -> None: ... -global___RequestCancelActivityTaskCommandAttributes = ( +Global___RequestCancelActivityTaskCommandAttributes: typing_extensions.TypeAlias = ( RequestCancelActivityTaskCommandAttributes ) +@typing.final class StartTimerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -218,6 +228,7 @@ class StartTimerCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + def __init__( self, *, @@ -226,19 +237,20 @@ class StartTimerCommandAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", b"start_to_fire_timeout" - ], + field_name: typing.Literal["start_to_fire_timeout", b"start_to_fire_timeout"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id" ], ) -> None: ... -global___StartTimerCommandAttributes = StartTimerCommandAttributes +Global___StartTimerCommandAttributes: typing_extensions.TypeAlias = ( + StartTimerCommandAttributes +) +@typing.final class CompleteWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -251,16 +263,15 @@ class CompleteWorkflowExecutionCommandAttributes(google.protobuf.message.Message result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... -global___CompleteWorkflowExecutionCommandAttributes = ( +Global___CompleteWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( CompleteWorkflowExecutionCommandAttributes ) +@typing.final class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -273,14 +284,15 @@ class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___FailWorkflowExecutionCommandAttributes = FailWorkflowExecutionCommandAttributes +Global___FailWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( + FailWorkflowExecutionCommandAttributes +) +@typing.final class CancelTimerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -293,11 +305,14 @@ class CancelTimerCommandAttributes(google.protobuf.message.Message): timer_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["timer_id", b"timer_id"] + self, field_name: typing.Literal["timer_id", b"timer_id"] ) -> None: ... -global___CancelTimerCommandAttributes = CancelTimerCommandAttributes +Global___CancelTimerCommandAttributes: typing_extensions.TypeAlias = ( + CancelTimerCommandAttributes +) +@typing.final class CancelWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -310,16 +325,15 @@ class CancelWorkflowExecutionCommandAttributes(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["details", b"details"]) -> None: ... -global___CancelWorkflowExecutionCommandAttributes = ( +Global___CancelWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( CancelWorkflowExecutionCommandAttributes ) +@typing.final class RequestCancelExternalWorkflowExecutionCommandAttributes( google.protobuf.message.Message ): @@ -356,7 +370,7 @@ class RequestCancelExternalWorkflowExecutionCommandAttributes( ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -372,10 +386,9 @@ class RequestCancelExternalWorkflowExecutionCommandAttributes( ], ) -> None: ... -global___RequestCancelExternalWorkflowExecutionCommandAttributes = ( - RequestCancelExternalWorkflowExecutionCommandAttributes -) +Global___RequestCancelExternalWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = RequestCancelExternalWorkflowExecutionCommandAttributes +@typing.final class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -388,13 +401,8 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M HEADER_FIELD_NUMBER: builtins.int namespace: builtins.str """Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.""" - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow.""" - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized value(s) to provide with the signal.""" control: builtins.str """Deprecated""" child_workflow_only: builtins.bool @@ -402,11 +410,18 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M command. The request will be rejected if it is set to true and the target workflow is *not* a child of the requesting workflow. """ + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized value(s) to provide with the signal.""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed by the workflow that is sending a signal to the external workflow that is receiving this signal. """ + def __init__( self, *, @@ -420,13 +435,13 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "header", b"header", "input", b"input" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -444,10 +459,9 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M ], ) -> None: ... -global___SignalExternalWorkflowExecutionCommandAttributes = ( - SignalExternalWorkflowExecutionCommandAttributes -) +Global___SignalExternalWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = SignalExternalWorkflowExecutionCommandAttributes +@typing.final class UpsertWorkflowSearchAttributesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -463,22 +477,15 @@ class UpsertWorkflowSearchAttributesCommandAttributes(google.protobuf.message.Me | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], + self, field_name: typing.Literal["search_attributes", b"search_attributes"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], + self, field_name: typing.Literal["search_attributes", b"search_attributes"] ) -> None: ... -global___UpsertWorkflowSearchAttributesCommandAttributes = ( - UpsertWorkflowSearchAttributesCommandAttributes -) +Global___UpsertWorkflowSearchAttributesCommandAttributes: typing_extensions.TypeAlias = UpsertWorkflowSearchAttributesCommandAttributes +@typing.final class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -489,25 +496,28 @@ class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message) the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted. """ + def __init__( self, *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] ) -> None: ... -global___ModifyWorkflowPropertiesCommandAttributes = ( +Global___ModifyWorkflowPropertiesCommandAttributes: typing_extensions.TypeAlias = ( ModifyWorkflowPropertiesCommandAttributes ) +@typing.final class RecordMarkerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class DetailsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -523,11 +533,10 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int @@ -557,14 +566,11 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "header", b"header" - ], + self, field_name: typing.Literal["failure", b"failure", "header", b"header"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "failure", @@ -576,8 +582,11 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___RecordMarkerCommandAttributes = RecordMarkerCommandAttributes +Global___RecordMarkerCommandAttributes: typing_extensions.TypeAlias = ( + RecordMarkerCommandAttributes +) +@typing.final class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -597,6 +606,22 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int INHERIT_BUILD_ID_FIELD_NUMBER: builtins.int INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int + initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + """Should be removed""" + cron_schedule: builtins.str + """Should be removed. Not necessarily unused but unclear and not exposed by SDKs.""" + inherit_build_id: builtins.bool + """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, + the assignment rules will be used to independently assign a Build ID to the new execution. + Deprecated. Only considered for versioning v0.2. + """ + initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. + For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version + of the previous run. + """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -606,24 +631,25 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" + @property def backoff_start_interval(self) -> google.protobuf.duration_pb2.Duration: """How long the workflow start will be delayed - not really a "backoff" in the traditional sense.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... - initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType - """Should be removed""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Should be removed""" + @property def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Should be removed""" - cron_schedule: builtins.str - """Should be removed. Not necessarily unused but unclear and not exposed by SDKs.""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -632,18 +658,6 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... - inherit_build_id: builtins.bool - """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, - the assignment rules will be used to independently assign a Build ID to the new execution. - Deprecated. Only considered for versioning v0.2. - """ - initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. - For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version - of the previous run. - """ def __init__( self, *, @@ -668,7 +682,7 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff_start_interval", b"backoff_start_interval", "failure", @@ -697,7 +711,7 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff_start_interval", b"backoff_start_interval", "cron_schedule", @@ -733,10 +747,9 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me ], ) -> None: ... -global___ContinueAsNewWorkflowExecutionCommandAttributes = ( - ContinueAsNewWorkflowExecutionCommandAttributes -) +Global___ContinueAsNewWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ContinueAsNewWorkflowExecutionCommandAttributes +@typing.final class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -761,6 +774,22 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa namespace: builtins.str """Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.""" workflow_id: builtins.str + parent_close_policy: ( + temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + ) + """Default: PARENT_CLOSE_POLICY_TERMINATE.""" + control: builtins.str + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" + cron_schedule: builtins.str + """Establish a cron schedule for the child workflow.""" + inherit_build_id: builtins.bool + """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment + rules of the child's Task Queue will be used to independently assign a Build ID to it. + Deprecated. Only considered for versioning v0.2. + """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -770,25 +799,17 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" + @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - parent_close_policy: ( - temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType - ) - """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - control: builtins.str - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... - cron_schedule: builtins.str - """Establish a cron schedule for the child workflow.""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -797,16 +818,12 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... - inherit_build_id: builtins.bool - """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment - rules of the child's Task Queue will be used to independently assign a Build ID to it. - Deprecated. Only considered for versioning v0.2. - """ @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ + def __init__( self, *, @@ -832,7 +849,7 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "input", @@ -859,7 +876,7 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "control", b"control", "cron_schedule", @@ -899,10 +916,11 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa ], ) -> None: ... -global___StartChildWorkflowExecutionCommandAttributes = ( +Global___StartChildWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( StartChildWorkflowExecutionCommandAttributes ) +@typing.final class ProtocolMessageCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -915,14 +933,18 @@ class ProtocolMessageCommandAttributes(google.protobuf.message.Message): message_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["message_id", b"message_id"] + self, field_name: typing.Literal["message_id", b"message_id"] ) -> None: ... -global___ProtocolMessageCommandAttributes = ProtocolMessageCommandAttributes +Global___ProtocolMessageCommandAttributes: typing_extensions.TypeAlias = ( + ProtocolMessageCommandAttributes +) +@typing.final class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -937,8 +959,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int @@ -961,6 +982,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command. """ + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -969,6 +991,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def nexus_header( self, @@ -980,6 +1003,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -991,6 +1015,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) Requires server version 1.31.0 or later. """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -1003,6 +1028,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) Requires server version 1.31.0 or later. """ + def __init__( self, *, @@ -1017,7 +1043,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -1030,7 +1056,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "endpoint", b"endpoint", "input", @@ -1050,10 +1076,11 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleNexusOperationCommandAttributes = ( +Global___ScheduleNexusOperationCommandAttributes: typing_extensions.TypeAlias = ( ScheduleNexusOperationCommandAttributes ) +@typing.final class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1068,21 +1095,20 @@ class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Messa scheduled_event_id: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "scheduled_event_id", b"scheduled_event_id" - ], + self, field_name: typing.Literal["scheduled_event_id", b"scheduled_event_id"] ) -> None: ... -global___RequestCancelNexusOperationCommandAttributes = ( +Global___RequestCancelNexusOperationCommandAttributes: typing_extensions.TypeAlias = ( RequestCancelNexusOperationCommandAttributes ) +@typing.final class Command(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor COMMAND_TYPE_FIELD_NUMBER: builtins.int USER_METADATA_FIELD_NUMBER: builtins.int + EVENT_GROUP_MARKERS_FIELD_NUMBER: builtins.int SCHEDULE_ACTIVITY_TASK_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int START_TIMER_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int COMPLETE_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -1116,119 +1142,133 @@ class Command(google.protobuf.message.Message): * start_timer_command_attributes - populates temporalio.api.history.v1.HistoryEvent for timer started where the summary is used to identify the timer. """ + + @property + def event_group_markers( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker + ]: + """Event Group Markers attached to the command by the workflow author.""" + @property def schedule_activity_task_command_attributes( self, - ) -> global___ScheduleActivityTaskCommandAttributes: ... + ) -> Global___ScheduleActivityTaskCommandAttributes: ... @property def start_timer_command_attributes( self, - ) -> global___StartTimerCommandAttributes: ... + ) -> Global___StartTimerCommandAttributes: ... @property def complete_workflow_execution_command_attributes( self, - ) -> global___CompleteWorkflowExecutionCommandAttributes: ... + ) -> Global___CompleteWorkflowExecutionCommandAttributes: ... @property def fail_workflow_execution_command_attributes( self, - ) -> global___FailWorkflowExecutionCommandAttributes: ... + ) -> Global___FailWorkflowExecutionCommandAttributes: ... @property def request_cancel_activity_task_command_attributes( self, - ) -> global___RequestCancelActivityTaskCommandAttributes: ... + ) -> Global___RequestCancelActivityTaskCommandAttributes: ... @property def cancel_timer_command_attributes( self, - ) -> global___CancelTimerCommandAttributes: ... + ) -> Global___CancelTimerCommandAttributes: ... @property def cancel_workflow_execution_command_attributes( self, - ) -> global___CancelWorkflowExecutionCommandAttributes: ... + ) -> Global___CancelWorkflowExecutionCommandAttributes: ... @property def request_cancel_external_workflow_execution_command_attributes( self, - ) -> global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... + ) -> Global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... @property def record_marker_command_attributes( self, - ) -> global___RecordMarkerCommandAttributes: ... + ) -> Global___RecordMarkerCommandAttributes: ... @property def continue_as_new_workflow_execution_command_attributes( self, - ) -> global___ContinueAsNewWorkflowExecutionCommandAttributes: ... + ) -> Global___ContinueAsNewWorkflowExecutionCommandAttributes: ... @property def start_child_workflow_execution_command_attributes( self, - ) -> global___StartChildWorkflowExecutionCommandAttributes: ... + ) -> Global___StartChildWorkflowExecutionCommandAttributes: ... @property def signal_external_workflow_execution_command_attributes( self, - ) -> global___SignalExternalWorkflowExecutionCommandAttributes: ... + ) -> Global___SignalExternalWorkflowExecutionCommandAttributes: ... @property def upsert_workflow_search_attributes_command_attributes( self, - ) -> global___UpsertWorkflowSearchAttributesCommandAttributes: ... + ) -> Global___UpsertWorkflowSearchAttributesCommandAttributes: ... @property def protocol_message_command_attributes( self, - ) -> global___ProtocolMessageCommandAttributes: ... + ) -> Global___ProtocolMessageCommandAttributes: ... @property def modify_workflow_properties_command_attributes( self, - ) -> global___ModifyWorkflowPropertiesCommandAttributes: + ) -> Global___ModifyWorkflowPropertiesCommandAttributes: """16 is available for use - it was used as part of a prototype that never made it into a release""" + @property def schedule_nexus_operation_command_attributes( self, - ) -> global___ScheduleNexusOperationCommandAttributes: ... + ) -> Global___ScheduleNexusOperationCommandAttributes: ... @property def request_cancel_nexus_operation_command_attributes( self, - ) -> global___RequestCancelNexusOperationCommandAttributes: ... + ) -> Global___RequestCancelNexusOperationCommandAttributes: ... def __init__( self, *, command_type: temporalio.api.enums.v1.command_type_pb2.CommandType.ValueType = ..., user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - schedule_activity_task_command_attributes: global___ScheduleActivityTaskCommandAttributes + event_group_markers: collections.abc.Iterable[ + temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker + ] + | None = ..., + schedule_activity_task_command_attributes: Global___ScheduleActivityTaskCommandAttributes | None = ..., - start_timer_command_attributes: global___StartTimerCommandAttributes + start_timer_command_attributes: Global___StartTimerCommandAttributes | None = ..., - complete_workflow_execution_command_attributes: global___CompleteWorkflowExecutionCommandAttributes + complete_workflow_execution_command_attributes: Global___CompleteWorkflowExecutionCommandAttributes | None = ..., - fail_workflow_execution_command_attributes: global___FailWorkflowExecutionCommandAttributes + fail_workflow_execution_command_attributes: Global___FailWorkflowExecutionCommandAttributes | None = ..., - request_cancel_activity_task_command_attributes: global___RequestCancelActivityTaskCommandAttributes + request_cancel_activity_task_command_attributes: Global___RequestCancelActivityTaskCommandAttributes | None = ..., - cancel_timer_command_attributes: global___CancelTimerCommandAttributes + cancel_timer_command_attributes: Global___CancelTimerCommandAttributes | None = ..., - cancel_workflow_execution_command_attributes: global___CancelWorkflowExecutionCommandAttributes + cancel_workflow_execution_command_attributes: Global___CancelWorkflowExecutionCommandAttributes | None = ..., - request_cancel_external_workflow_execution_command_attributes: global___RequestCancelExternalWorkflowExecutionCommandAttributes + request_cancel_external_workflow_execution_command_attributes: Global___RequestCancelExternalWorkflowExecutionCommandAttributes | None = ..., - record_marker_command_attributes: global___RecordMarkerCommandAttributes + record_marker_command_attributes: Global___RecordMarkerCommandAttributes | None = ..., - continue_as_new_workflow_execution_command_attributes: global___ContinueAsNewWorkflowExecutionCommandAttributes + continue_as_new_workflow_execution_command_attributes: Global___ContinueAsNewWorkflowExecutionCommandAttributes | None = ..., - start_child_workflow_execution_command_attributes: global___StartChildWorkflowExecutionCommandAttributes + start_child_workflow_execution_command_attributes: Global___StartChildWorkflowExecutionCommandAttributes | None = ..., - signal_external_workflow_execution_command_attributes: global___SignalExternalWorkflowExecutionCommandAttributes + signal_external_workflow_execution_command_attributes: Global___SignalExternalWorkflowExecutionCommandAttributes | None = ..., - upsert_workflow_search_attributes_command_attributes: global___UpsertWorkflowSearchAttributesCommandAttributes + upsert_workflow_search_attributes_command_attributes: Global___UpsertWorkflowSearchAttributesCommandAttributes | None = ..., - protocol_message_command_attributes: global___ProtocolMessageCommandAttributes + protocol_message_command_attributes: Global___ProtocolMessageCommandAttributes | None = ..., - modify_workflow_properties_command_attributes: global___ModifyWorkflowPropertiesCommandAttributes + modify_workflow_properties_command_attributes: Global___ModifyWorkflowPropertiesCommandAttributes | None = ..., - schedule_nexus_operation_command_attributes: global___ScheduleNexusOperationCommandAttributes + schedule_nexus_operation_command_attributes: Global___ScheduleNexusOperationCommandAttributes | None = ..., - request_cancel_nexus_operation_command_attributes: global___RequestCancelNexusOperationCommandAttributes + request_cancel_nexus_operation_command_attributes: Global___RequestCancelNexusOperationCommandAttributes | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attributes", b"attributes", "cancel_timer_command_attributes", @@ -1271,7 +1311,7 @@ class Command(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attributes", b"attributes", "cancel_timer_command_attributes", @@ -1284,6 +1324,8 @@ class Command(google.protobuf.message.Message): b"complete_workflow_execution_command_attributes", "continue_as_new_workflow_execution_command_attributes", b"continue_as_new_workflow_execution_command_attributes", + "event_group_markers", + b"event_group_markers", "fail_workflow_execution_command_attributes", b"fail_workflow_execution_command_attributes", "modify_workflow_properties_command_attributes", @@ -1315,9 +1357,9 @@ class Command(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] + self, oneof_group: typing.Literal["attributes", b"attributes"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "schedule_activity_task_command_attributes", "start_timer_command_attributes", "complete_workflow_execution_command_attributes", @@ -1339,4 +1381,4 @@ class Command(google.protobuf.message.Message): | None ): ... -global___Command = Command +Global___Command: typing_extensions.TypeAlias = Command diff --git a/temporalio/api/common/v1/__init__.py b/temporalio/api/common/v1/__init__.py index 112068861..4136d3b93 100644 --- a/temporalio/api/common/v1/__init__.py +++ b/temporalio/api/common/v1/__init__.py @@ -15,6 +15,8 @@ ResetOptions, RetryPolicy, SearchAttributes, + TimeSkippingConfig, + TimeSkippingStatePropagation, WorkerSelector, WorkerVersionCapabilities, WorkerVersionStamp, @@ -39,6 +41,8 @@ "ResetOptions", "RetryPolicy", "SearchAttributes", + "TimeSkippingConfig", + "TimeSkippingStatePropagation", "WorkerSelector", "WorkerVersionCapabilities", "WorkerVersionStamp", diff --git a/temporalio/api/common/v1/grpc_status_pb2.py b/temporalio/api/common/v1/grpc_status_pb2.py index 17642e92e..f369d51ff 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.py +++ b/temporalio/api/common/v1/grpc_status_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/common/v1/grpc_status.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/common/v1/grpc_status.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,21 +30,13 @@ b'\n(temporal/api/common/v1/grpc_status.proto\x12\x16temporal.api.common.v1\x1a\x19google/protobuf/any.proto"R\n\nGrpcStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x06proto3' ) - -_GRPCSTATUS = DESCRIPTOR.message_types_by_name["GrpcStatus"] -GrpcStatus = _reflection.GeneratedProtocolMessageType( - "GrpcStatus", - (_message.Message,), - { - "DESCRIPTOR": _GRPCSTATUS, - "__module__": "temporalio.api.common.v1.grpc_status_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.GrpcStatus) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.common.v1.grpc_status_pb2", _globals ) -_sym_db.RegisterMessage(GrpcStatus) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - _GRPCSTATUS._serialized_start = 95 - _GRPCSTATUS._serialized_end = 177 +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals["_GRPCSTATUS"]._serialized_start = 95 + _globals["_GRPCSTATUS"]._serialized_end = 177 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/grpc_status_pb2.pyi b/temporalio/api/common/v1/grpc_status_pb2.pyi index 749a003af..96368b797 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.pyi +++ b/temporalio/api/common/v1/grpc_status_pb2.pyi @@ -6,19 +6,21 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class GrpcStatus(google.protobuf.message.Message): """From https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto since we don't import grpc but still need the status info @@ -46,9 +48,9 @@ class GrpcStatus(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "code", b"code", "details", b"details", "message", b"message" ], ) -> None: ... -global___GrpcStatus = GrpcStatus +Global___GrpcStatus: typing_extensions.TypeAlias = GrpcStatus diff --git a/temporalio/api/common/v1/message_pb2.py b/temporalio/api/common/v1/message_pb2.py index aed909611..d5b0220fd 100644 --- a/temporalio/api/common/v1/message_pb2.py +++ b/temporalio/api/common/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/common/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/common/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,6 +21,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from temporalio.api.enums.v1 import ( common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, @@ -28,508 +34,107 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"\x8a\x02\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12Q\n\x11\x65xternal_payloads\x18\x03 \x03(\x0b\x32\x36.temporal.api.common.v1.Payload.ExternalPayloadDetails\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a,\n\x16\x45xternalPayloadDetails\x12\x12\n\nsize_bytes\x18\x01 \x01(\x03"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02"\x8a\x08\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x12\x39\n\x08\x61\x63tivity\x18\x03 \x01(\x0b\x32%.temporal.api.common.v1.Link.ActivityH\x00\x12\x46\n\x0fnexus_operation\x18\x04 \x01(\x0b\x32+.temporal.api.common.v1.Link.NexusOperationH\x00\x12\x39\n\x08workflow\x18\x05 \x01(\x0b\x32%.temporal.api.common.v1.Link.WorkflowH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x1a\x42\n\x08\x41\x63tivity\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x1aI\n\x0eNexusOperation\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x1aR\n\x08Workflow\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\tB\t\n\x07variant"\'\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selector"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08\x42\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3' -) - - -_DATABLOB = DESCRIPTOR.message_types_by_name["DataBlob"] -_PAYLOADS = DESCRIPTOR.message_types_by_name["Payloads"] -_PAYLOAD = DESCRIPTOR.message_types_by_name["Payload"] -_PAYLOAD_METADATAENTRY = _PAYLOAD.nested_types_by_name["MetadataEntry"] -_PAYLOAD_EXTERNALPAYLOADDETAILS = _PAYLOAD.nested_types_by_name[ - "ExternalPayloadDetails" -] -_SEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name["SearchAttributes"] -_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY = _SEARCHATTRIBUTES.nested_types_by_name[ - "IndexedFieldsEntry" -] -_MEMO = DESCRIPTOR.message_types_by_name["Memo"] -_MEMO_FIELDSENTRY = _MEMO.nested_types_by_name["FieldsEntry"] -_HEADER = DESCRIPTOR.message_types_by_name["Header"] -_HEADER_FIELDSENTRY = _HEADER.nested_types_by_name["FieldsEntry"] -_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] -_WORKFLOWTYPE = DESCRIPTOR.message_types_by_name["WorkflowType"] -_ACTIVITYTYPE = DESCRIPTOR.message_types_by_name["ActivityType"] -_RETRYPOLICY = DESCRIPTOR.message_types_by_name["RetryPolicy"] -_METERINGMETADATA = DESCRIPTOR.message_types_by_name["MeteringMetadata"] -_WORKERVERSIONSTAMP = DESCRIPTOR.message_types_by_name["WorkerVersionStamp"] -_WORKERVERSIONCAPABILITIES = DESCRIPTOR.message_types_by_name[ - "WorkerVersionCapabilities" -] -_RESETOPTIONS = DESCRIPTOR.message_types_by_name["ResetOptions"] -_CALLBACK = DESCRIPTOR.message_types_by_name["Callback"] -_CALLBACK_NEXUS = _CALLBACK.nested_types_by_name["Nexus"] -_CALLBACK_NEXUS_HEADERENTRY = _CALLBACK_NEXUS.nested_types_by_name["HeaderEntry"] -_CALLBACK_INTERNAL = _CALLBACK.nested_types_by_name["Internal"] -_LINK = DESCRIPTOR.message_types_by_name["Link"] -_LINK_WORKFLOWEVENT = _LINK.nested_types_by_name["WorkflowEvent"] -_LINK_WORKFLOWEVENT_EVENTREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ - "EventReference" -] -_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ - "RequestIdReference" -] -_LINK_BATCHJOB = _LINK.nested_types_by_name["BatchJob"] -_LINK_ACTIVITY = _LINK.nested_types_by_name["Activity"] -_LINK_NEXUSOPERATION = _LINK.nested_types_by_name["NexusOperation"] -_LINK_WORKFLOW = _LINK.nested_types_by_name["Workflow"] -_PRINCIPAL = DESCRIPTOR.message_types_by_name["Principal"] -_PRIORITY = DESCRIPTOR.message_types_by_name["Priority"] -_WORKERSELECTOR = DESCRIPTOR.message_types_by_name["WorkerSelector"] -_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name["OnConflictOptions"] -DataBlob = _reflection.GeneratedProtocolMessageType( - "DataBlob", - (_message.Message,), - { - "DESCRIPTOR": _DATABLOB, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.DataBlob) - }, -) -_sym_db.RegisterMessage(DataBlob) - -Payloads = _reflection.GeneratedProtocolMessageType( - "Payloads", - (_message.Message,), - { - "DESCRIPTOR": _PAYLOADS, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payloads) - }, -) -_sym_db.RegisterMessage(Payloads) - -Payload = _reflection.GeneratedProtocolMessageType( - "Payload", - (_message.Message,), - { - "MetadataEntry": _reflection.GeneratedProtocolMessageType( - "MetadataEntry", - (_message.Message,), - { - "DESCRIPTOR": _PAYLOAD_METADATAENTRY, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.MetadataEntry) - }, - ), - "ExternalPayloadDetails": _reflection.GeneratedProtocolMessageType( - "ExternalPayloadDetails", - (_message.Message,), - { - "DESCRIPTOR": _PAYLOAD_EXTERNALPAYLOADDETAILS, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.ExternalPayloadDetails) - }, - ), - "DESCRIPTOR": _PAYLOAD, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload) - }, -) -_sym_db.RegisterMessage(Payload) -_sym_db.RegisterMessage(Payload.MetadataEntry) -_sym_db.RegisterMessage(Payload.ExternalPayloadDetails) - -SearchAttributes = _reflection.GeneratedProtocolMessageType( - "SearchAttributes", - (_message.Message,), - { - "IndexedFieldsEntry": _reflection.GeneratedProtocolMessageType( - "IndexedFieldsEntry", - (_message.Message,), - { - "DESCRIPTOR": _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry) - }, - ), - "DESCRIPTOR": _SEARCHATTRIBUTES, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes) - }, -) -_sym_db.RegisterMessage(SearchAttributes) -_sym_db.RegisterMessage(SearchAttributes.IndexedFieldsEntry) - -Memo = _reflection.GeneratedProtocolMessageType( - "Memo", - (_message.Message,), - { - "FieldsEntry": _reflection.GeneratedProtocolMessageType( - "FieldsEntry", - (_message.Message,), - { - "DESCRIPTOR": _MEMO_FIELDSENTRY, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo.FieldsEntry) - }, - ), - "DESCRIPTOR": _MEMO, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.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__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header.FieldsEntry) - }, - ), - "DESCRIPTOR": _HEADER, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header) - }, -) -_sym_db.RegisterMessage(Header) -_sym_db.RegisterMessage(Header.FieldsEntry) - -WorkflowExecution = _reflection.GeneratedProtocolMessageType( - "WorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTION, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowExecution) - }, -) -_sym_db.RegisterMessage(WorkflowExecution) - -WorkflowType = _reflection.GeneratedProtocolMessageType( - "WorkflowType", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTYPE, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowType) - }, -) -_sym_db.RegisterMessage(WorkflowType) - -ActivityType = _reflection.GeneratedProtocolMessageType( - "ActivityType", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTYPE, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ActivityType) - }, -) -_sym_db.RegisterMessage(ActivityType) - -RetryPolicy = _reflection.GeneratedProtocolMessageType( - "RetryPolicy", - (_message.Message,), - { - "DESCRIPTOR": _RETRYPOLICY, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.RetryPolicy) - }, -) -_sym_db.RegisterMessage(RetryPolicy) - -MeteringMetadata = _reflection.GeneratedProtocolMessageType( - "MeteringMetadata", - (_message.Message,), - { - "DESCRIPTOR": _METERINGMETADATA, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.MeteringMetadata) - }, -) -_sym_db.RegisterMessage(MeteringMetadata) - -WorkerVersionStamp = _reflection.GeneratedProtocolMessageType( - "WorkerVersionStamp", - (_message.Message,), - { - "DESCRIPTOR": _WORKERVERSIONSTAMP, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionStamp) - }, -) -_sym_db.RegisterMessage(WorkerVersionStamp) - -WorkerVersionCapabilities = _reflection.GeneratedProtocolMessageType( - "WorkerVersionCapabilities", - (_message.Message,), - { - "DESCRIPTOR": _WORKERVERSIONCAPABILITIES, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionCapabilities) - }, -) -_sym_db.RegisterMessage(WorkerVersionCapabilities) - -ResetOptions = _reflection.GeneratedProtocolMessageType( - "ResetOptions", - (_message.Message,), - { - "DESCRIPTOR": _RESETOPTIONS, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ResetOptions) - }, -) -_sym_db.RegisterMessage(ResetOptions) - -Callback = _reflection.GeneratedProtocolMessageType( - "Callback", - (_message.Message,), - { - "Nexus": _reflection.GeneratedProtocolMessageType( - "Nexus", - (_message.Message,), - { - "HeaderEntry": _reflection.GeneratedProtocolMessageType( - "HeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACK_NEXUS_HEADERENTRY, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus.HeaderEntry) - }, - ), - "DESCRIPTOR": _CALLBACK_NEXUS, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus) - }, - ), - "Internal": _reflection.GeneratedProtocolMessageType( - "Internal", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACK_INTERNAL, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Internal) - }, - ), - "DESCRIPTOR": _CALLBACK, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback) - }, -) -_sym_db.RegisterMessage(Callback) -_sym_db.RegisterMessage(Callback.Nexus) -_sym_db.RegisterMessage(Callback.Nexus.HeaderEntry) -_sym_db.RegisterMessage(Callback.Internal) - -Link = _reflection.GeneratedProtocolMessageType( - "Link", - (_message.Message,), - { - "WorkflowEvent": _reflection.GeneratedProtocolMessageType( - "WorkflowEvent", - (_message.Message,), - { - "EventReference": _reflection.GeneratedProtocolMessageType( - "EventReference", - (_message.Message,), - { - "DESCRIPTOR": _LINK_WORKFLOWEVENT_EVENTREFERENCE, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.EventReference) - }, - ), - "RequestIdReference": _reflection.GeneratedProtocolMessageType( - "RequestIdReference", - (_message.Message,), - { - "DESCRIPTOR": _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference) - }, - ), - "DESCRIPTOR": _LINK_WORKFLOWEVENT, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent) - }, - ), - "BatchJob": _reflection.GeneratedProtocolMessageType( - "BatchJob", - (_message.Message,), - { - "DESCRIPTOR": _LINK_BATCHJOB, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.BatchJob) - }, - ), - "Activity": _reflection.GeneratedProtocolMessageType( - "Activity", - (_message.Message,), - { - "DESCRIPTOR": _LINK_ACTIVITY, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.Activity) - }, - ), - "NexusOperation": _reflection.GeneratedProtocolMessageType( - "NexusOperation", - (_message.Message,), - { - "DESCRIPTOR": _LINK_NEXUSOPERATION, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.NexusOperation) - }, - ), - "Workflow": _reflection.GeneratedProtocolMessageType( - "Workflow", - (_message.Message,), - { - "DESCRIPTOR": _LINK_WORKFLOW, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.Workflow) - }, - ), - "DESCRIPTOR": _LINK, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link) - }, -) -_sym_db.RegisterMessage(Link) -_sym_db.RegisterMessage(Link.WorkflowEvent) -_sym_db.RegisterMessage(Link.WorkflowEvent.EventReference) -_sym_db.RegisterMessage(Link.WorkflowEvent.RequestIdReference) -_sym_db.RegisterMessage(Link.BatchJob) -_sym_db.RegisterMessage(Link.Activity) -_sym_db.RegisterMessage(Link.NexusOperation) -_sym_db.RegisterMessage(Link.Workflow) - -Principal = _reflection.GeneratedProtocolMessageType( - "Principal", - (_message.Message,), - { - "DESCRIPTOR": _PRINCIPAL, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Principal) - }, -) -_sym_db.RegisterMessage(Principal) - -Priority = _reflection.GeneratedProtocolMessageType( - "Priority", - (_message.Message,), - { - "DESCRIPTOR": _PRIORITY, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Priority) - }, -) -_sym_db.RegisterMessage(Priority) - -WorkerSelector = _reflection.GeneratedProtocolMessageType( - "WorkerSelector", - (_message.Message,), - { - "DESCRIPTOR": _WORKERSELECTOR, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerSelector) - }, -) -_sym_db.RegisterMessage(WorkerSelector) - -OnConflictOptions = _reflection.GeneratedProtocolMessageType( - "OnConflictOptions", - (_message.Message,), - { - "DESCRIPTOR": _ONCONFLICTOPTIONS, - "__module__": "temporalio.api.common.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.common.v1.OnConflictOptions) - }, -) -_sym_db.RegisterMessage(OnConflictOptions) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1" - _PAYLOAD_METADATAENTRY._options = None - _PAYLOAD_METADATAENTRY._serialized_options = b"8\001" - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._options = None - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_options = b"8\001" - _MEMO_FIELDSENTRY._options = None - _MEMO_FIELDSENTRY._serialized_options = b"8\001" - _HEADER_FIELDSENTRY._options = None - _HEADER_FIELDSENTRY._serialized_options = b"8\001" - _RESETOPTIONS.fields_by_name["reset_reapply_type"]._options = None - _RESETOPTIONS.fields_by_name["reset_reapply_type"]._serialized_options = b"\030\001" - _CALLBACK_NEXUS_HEADERENTRY._options = None - _CALLBACK_NEXUS_HEADERENTRY._serialized_options = b"8\001" - _DATABLOB._serialized_start = 236 - _DATABLOB._serialized_end = 320 - _PAYLOADS._serialized_start = 322 - _PAYLOADS._serialized_end = 383 - _PAYLOAD._serialized_start = 386 - _PAYLOAD._serialized_end = 652 - _PAYLOAD_METADATAENTRY._serialized_start = 559 - _PAYLOAD_METADATAENTRY._serialized_end = 606 - _PAYLOAD_EXTERNALPAYLOADDETAILS._serialized_start = 608 - _PAYLOAD_EXTERNALPAYLOADDETAILS._serialized_end = 652 - _SEARCHATTRIBUTES._serialized_start = 655 - _SEARCHATTRIBUTES._serialized_end = 845 - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_start = 760 - _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_end = 845 - _MEMO._serialized_start = 848 - _MEMO._serialized_end = 992 - _MEMO_FIELDSENTRY._serialized_start = 914 - _MEMO_FIELDSENTRY._serialized_end = 992 - _HEADER._serialized_start = 995 - _HEADER._serialized_end = 1143 - _HEADER_FIELDSENTRY._serialized_start = 914 - _HEADER_FIELDSENTRY._serialized_end = 992 - _WORKFLOWEXECUTION._serialized_start = 1145 - _WORKFLOWEXECUTION._serialized_end = 1201 - _WORKFLOWTYPE._serialized_start = 1203 - _WORKFLOWTYPE._serialized_end = 1231 - _ACTIVITYTYPE._serialized_start = 1233 - _ACTIVITYTYPE._serialized_end = 1261 - _RETRYPOLICY._serialized_start = 1264 - _RETRYPOLICY._serialized_end = 1473 - _METERINGMETADATA._serialized_start = 1475 - _METERINGMETADATA._serialized_end = 1545 - _WORKERVERSIONSTAMP._serialized_start = 1547 - _WORKERVERSIONSTAMP._serialized_end = 1609 - _WORKERVERSIONCAPABILITIES._serialized_start = 1611 - _WORKERVERSIONCAPABILITIES._serialized_end = 1712 - _RESETOPTIONS._serialized_start = 1715 - _RESETOPTIONS._serialized_end = 2080 - _CALLBACK._serialized_start = 2083 - _CALLBACK._serialized_end = 2439 - _CALLBACK_NEXUS._serialized_start = 2261 - _CALLBACK_NEXUS._serialized_end = 2396 - _CALLBACK_NEXUS_HEADERENTRY._serialized_start = 2351 - _CALLBACK_NEXUS_HEADERENTRY._serialized_end = 2396 - _CALLBACK_INTERNAL._serialized_start = 2398 - _CALLBACK_INTERNAL._serialized_end = 2422 - _LINK._serialized_start = 2442 - _LINK._serialized_end = 3476 - _LINK_WORKFLOWEVENT._serialized_start = 2771 - _LINK_WORKFLOWEVENT._serialized_end = 3210 - _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_start = 3013 - _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_end = 3101 - _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_start = 3103 - _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_end = 3197 - _LINK_BATCHJOB._serialized_start = 3212 - _LINK_BATCHJOB._serialized_end = 3238 - _LINK_ACTIVITY._serialized_start = 3240 - _LINK_ACTIVITY._serialized_end = 3306 - _LINK_NEXUSOPERATION._serialized_start = 3308 - _LINK_NEXUSOPERATION._serialized_end = 3381 - _LINK_WORKFLOW._serialized_start = 3383 - _LINK_WORKFLOW._serialized_end = 3465 - _PRINCIPAL._serialized_start = 3478 - _PRINCIPAL._serialized_end = 3517 - _PRIORITY._serialized_start = 3519 - _PRIORITY._serialized_end = 3598 - _WORKERSELECTOR._serialized_start = 3600 - _WORKERSELECTOR._serialized_end = 3659 - _ONCONFLICTOPTIONS._serialized_start = 3661 - _ONCONFLICTOPTIONS._serialized_end = 3766 + b'\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"\x8a\x02\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12Q\n\x11\x65xternal_payloads\x18\x03 \x03(\x0b\x32\x36.temporal.api.common.v1.Payload.ExternalPayloadDetails\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a,\n\x16\x45xternalPayloadDetails\x12\x12\n\nsize_bytes\x18\x01 \x01(\x03"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02"\x8a\x08\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x12\x39\n\x08\x61\x63tivity\x18\x03 \x01(\x0b\x32%.temporal.api.common.v1.Link.ActivityH\x00\x12\x46\n\x0fnexus_operation\x18\x04 \x01(\x0b\x32+.temporal.api.common.v1.Link.NexusOperationH\x00\x12\x39\n\x08workflow\x18\x05 \x01(\x0b\x32%.temporal.api.common.v1.Link.WorkflowH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x1a\x42\n\x08\x41\x63tivity\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x1aI\n\x0eNexusOperation\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x1aR\n\x08Workflow\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\tB\t\n\x07variant"\'\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selector"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08"y\n\x12TimeSkippingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12/\n\x0c\x66\x61st_forward\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12!\n\x19\x64isable_child_propagation\x18\x03 \x01(\x08"\x99\x01\n\x1cTimeSkippingStatePropagation\x12;\n\x18initial_skipped_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x18\x66\x61st_forward_target_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3' +) + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.common.v1.message_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1" + _globals["_PAYLOAD_METADATAENTRY"]._loaded_options = None + _globals["_PAYLOAD_METADATAENTRY"]._serialized_options = b"8\001" + _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._loaded_options = None + _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._serialized_options = b"8\001" + _globals["_MEMO_FIELDSENTRY"]._loaded_options = None + _globals["_MEMO_FIELDSENTRY"]._serialized_options = b"8\001" + _globals["_HEADER_FIELDSENTRY"]._loaded_options = None + _globals["_HEADER_FIELDSENTRY"]._serialized_options = b"8\001" + _globals["_RESETOPTIONS"].fields_by_name[ + "reset_reapply_type" + ]._loaded_options = None + _globals["_RESETOPTIONS"].fields_by_name[ + "reset_reapply_type" + ]._serialized_options = b"\030\001" + _globals["_CALLBACK_NEXUS_HEADERENTRY"]._loaded_options = None + _globals["_CALLBACK_NEXUS_HEADERENTRY"]._serialized_options = b"8\001" + _globals["_DATABLOB"]._serialized_start = 269 + _globals["_DATABLOB"]._serialized_end = 353 + _globals["_PAYLOADS"]._serialized_start = 355 + _globals["_PAYLOADS"]._serialized_end = 416 + _globals["_PAYLOAD"]._serialized_start = 419 + _globals["_PAYLOAD"]._serialized_end = 685 + _globals["_PAYLOAD_METADATAENTRY"]._serialized_start = 592 + _globals["_PAYLOAD_METADATAENTRY"]._serialized_end = 639 + _globals["_PAYLOAD_EXTERNALPAYLOADDETAILS"]._serialized_start = 641 + _globals["_PAYLOAD_EXTERNALPAYLOADDETAILS"]._serialized_end = 685 + _globals["_SEARCHATTRIBUTES"]._serialized_start = 688 + _globals["_SEARCHATTRIBUTES"]._serialized_end = 878 + _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._serialized_start = 793 + _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._serialized_end = 878 + _globals["_MEMO"]._serialized_start = 881 + _globals["_MEMO"]._serialized_end = 1025 + _globals["_MEMO_FIELDSENTRY"]._serialized_start = 947 + _globals["_MEMO_FIELDSENTRY"]._serialized_end = 1025 + _globals["_HEADER"]._serialized_start = 1028 + _globals["_HEADER"]._serialized_end = 1176 + _globals["_HEADER_FIELDSENTRY"]._serialized_start = 947 + _globals["_HEADER_FIELDSENTRY"]._serialized_end = 1025 + _globals["_WORKFLOWEXECUTION"]._serialized_start = 1178 + _globals["_WORKFLOWEXECUTION"]._serialized_end = 1234 + _globals["_WORKFLOWTYPE"]._serialized_start = 1236 + _globals["_WORKFLOWTYPE"]._serialized_end = 1264 + _globals["_ACTIVITYTYPE"]._serialized_start = 1266 + _globals["_ACTIVITYTYPE"]._serialized_end = 1294 + _globals["_RETRYPOLICY"]._serialized_start = 1297 + _globals["_RETRYPOLICY"]._serialized_end = 1506 + _globals["_METERINGMETADATA"]._serialized_start = 1508 + _globals["_METERINGMETADATA"]._serialized_end = 1578 + _globals["_WORKERVERSIONSTAMP"]._serialized_start = 1580 + _globals["_WORKERVERSIONSTAMP"]._serialized_end = 1642 + _globals["_WORKERVERSIONCAPABILITIES"]._serialized_start = 1644 + _globals["_WORKERVERSIONCAPABILITIES"]._serialized_end = 1745 + _globals["_RESETOPTIONS"]._serialized_start = 1748 + _globals["_RESETOPTIONS"]._serialized_end = 2113 + _globals["_CALLBACK"]._serialized_start = 2116 + _globals["_CALLBACK"]._serialized_end = 2472 + _globals["_CALLBACK_NEXUS"]._serialized_start = 2294 + _globals["_CALLBACK_NEXUS"]._serialized_end = 2429 + _globals["_CALLBACK_NEXUS_HEADERENTRY"]._serialized_start = 2384 + _globals["_CALLBACK_NEXUS_HEADERENTRY"]._serialized_end = 2429 + _globals["_CALLBACK_INTERNAL"]._serialized_start = 2431 + _globals["_CALLBACK_INTERNAL"]._serialized_end = 2455 + _globals["_LINK"]._serialized_start = 2475 + _globals["_LINK"]._serialized_end = 3509 + _globals["_LINK_WORKFLOWEVENT"]._serialized_start = 2804 + _globals["_LINK_WORKFLOWEVENT"]._serialized_end = 3243 + _globals["_LINK_WORKFLOWEVENT_EVENTREFERENCE"]._serialized_start = 3046 + _globals["_LINK_WORKFLOWEVENT_EVENTREFERENCE"]._serialized_end = 3134 + _globals["_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE"]._serialized_start = 3136 + _globals["_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE"]._serialized_end = 3230 + _globals["_LINK_BATCHJOB"]._serialized_start = 3245 + _globals["_LINK_BATCHJOB"]._serialized_end = 3271 + _globals["_LINK_ACTIVITY"]._serialized_start = 3273 + _globals["_LINK_ACTIVITY"]._serialized_end = 3339 + _globals["_LINK_NEXUSOPERATION"]._serialized_start = 3341 + _globals["_LINK_NEXUSOPERATION"]._serialized_end = 3414 + _globals["_LINK_WORKFLOW"]._serialized_start = 3416 + _globals["_LINK_WORKFLOW"]._serialized_end = 3498 + _globals["_PRINCIPAL"]._serialized_start = 3511 + _globals["_PRINCIPAL"]._serialized_end = 3550 + _globals["_PRIORITY"]._serialized_start = 3552 + _globals["_PRIORITY"]._serialized_end = 3631 + _globals["_WORKERSELECTOR"]._serialized_start = 3633 + _globals["_WORKERSELECTOR"]._serialized_end = 3692 + _globals["_ONCONFLICTOPTIONS"]._serialized_start = 3694 + _globals["_ONCONFLICTOPTIONS"]._serialized_end = 3799 + _globals["_TIMESKIPPINGCONFIG"]._serialized_start = 3801 + _globals["_TIMESKIPPINGCONFIG"]._serialized_end = 3922 + _globals["_TIMESKIPPINGSTATEPROPAGATION"]._serialized_start = 3925 + _globals["_TIMESKIPPINGSTATEPROPAGATION"]._serialized_end = 4078 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/message_pb2.pyi b/temporalio/api/common/v1/message_pb2.pyi index 76e87fd56..7275ccaa1 100644 --- a/temporalio/api/common/v1/message_pb2.pyi +++ b/temporalio/api/common/v1/message_pb2.pyi @@ -6,24 +6,27 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.empty_pb2 import google.protobuf.internal.containers import google.protobuf.message +import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.event_type_pb2 import temporalio.api.enums.v1.reset_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class DataBlob(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -39,13 +42,12 @@ class DataBlob(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "data", b"data", "encoding_type", b"encoding_type" - ], + field_name: typing.Literal["data", b"data", "encoding_type", b"encoding_type"], ) -> None: ... -global___DataBlob = DataBlob +Global___DataBlob: typing_extensions.TypeAlias = DataBlob +@typing.final class Payloads(google.protobuf.message.Message): """See `Payload`""" @@ -56,19 +58,20 @@ class Payloads(google.protobuf.message.Message): def payloads( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Payload + Global___Payload ]: ... def __init__( self, *, - payloads: collections.abc.Iterable[global___Payload] | None = ..., + payloads: collections.abc.Iterable[Global___Payload] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["payloads", b"payloads"] + self, field_name: typing.Literal["payloads", b"payloads"] ) -> None: ... -global___Payloads = Payloads +Global___Payloads: typing_extensions.TypeAlias = Payloads +@typing.final class Payload(google.protobuf.message.Message): """Represents some binary (byte array) data (ex: activity input parameters or workflow result) with metadata which describes this binary data (format, encoding, encryption, etc). Serialization @@ -77,6 +80,7 @@ class Payload(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -91,10 +95,10 @@ class Payload(google.protobuf.message.Message): value: builtins.bytes = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class ExternalPayloadDetails(google.protobuf.message.Message): """Describes an externally stored object referenced by this payload.""" @@ -109,39 +113,40 @@ class Payload(google.protobuf.message.Message): size_bytes: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["size_bytes", b"size_bytes"] + self, field_name: typing.Literal["size_bytes", b"size_bytes"] ) -> None: ... METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int EXTERNAL_PAYLOADS_FIELD_NUMBER: builtins.int + data: builtins.bytes @property def metadata( self, ) -> google.protobuf.internal.containers.ScalarMap[ builtins.str, builtins.bytes ]: ... - data: builtins.bytes @property def external_payloads( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Payload.ExternalPayloadDetails + Global___Payload.ExternalPayloadDetails ]: """Details about externally stored payloads associated with this payload.""" + def __init__( self, *, metadata: collections.abc.Mapping[builtins.str, builtins.bytes] | None = ..., data: builtins.bytes = ..., external_payloads: collections.abc.Iterable[ - global___Payload.ExternalPayloadDetails + Global___Payload.ExternalPayloadDetails ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "data", b"data", "external_payloads", @@ -151,8 +156,9 @@ class Payload(google.protobuf.message.Message): ], ) -> None: ... -global___Payload = Payload +Global___Payload: typing_extensions.TypeAlias = Payload +@typing.final class SearchAttributes(google.protobuf.message.Message): """A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. The payload is not serialized in a user-defined way. @@ -160,6 +166,7 @@ class SearchAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class IndexedFieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -167,19 +174,18 @@ class SearchAttributes(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___Payload: ... + def value(self) -> Global___Payload: ... def __init__( self, *, key: builtins.str = ..., - value: global___Payload | None = ..., + value: Global___Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... INDEXED_FIELDS_FIELD_NUMBER: builtins.int @@ -187,25 +193,27 @@ class SearchAttributes(google.protobuf.message.Message): def indexed_fields( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Payload + builtins.str, Global___Payload ]: ... def __init__( self, *, - indexed_fields: collections.abc.Mapping[builtins.str, global___Payload] + indexed_fields: collections.abc.Mapping[builtins.str, Global___Payload] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["indexed_fields", b"indexed_fields"] + self, field_name: typing.Literal["indexed_fields", b"indexed_fields"] ) -> None: ... -global___SearchAttributes = SearchAttributes +Global___SearchAttributes: typing_extensions.TypeAlias = SearchAttributes +@typing.final class Memo(google.protobuf.message.Message): """A user-defined set of *unindexed* fields that are exposed when listing/searching workflows""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class FieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -213,19 +221,18 @@ class Memo(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___Payload: ... + def value(self) -> Global___Payload: ... def __init__( self, *, key: builtins.str = ..., - value: global___Payload | None = ..., + value: Global___Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @@ -233,19 +240,18 @@ class Memo(google.protobuf.message.Message): def fields( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Payload + builtins.str, Global___Payload ]: ... def __init__( self, *, - fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["fields", b"fields"] + fields: collections.abc.Mapping[builtins.str, Global___Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["fields", b"fields"]) -> None: ... -global___Memo = Memo +Global___Memo: typing_extensions.TypeAlias = Memo +@typing.final class Header(google.protobuf.message.Message): """Contains metadata that can be attached to a variety of requests, like starting a workflow, and can be propagated between, for example, workflows and activities. @@ -253,6 +259,7 @@ class Header(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class FieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -260,19 +267,18 @@ class Header(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___Payload: ... + def value(self) -> Global___Payload: ... def __init__( self, *, key: builtins.str = ..., - value: global___Payload | None = ..., + value: Global___Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @@ -280,19 +286,18 @@ class Header(google.protobuf.message.Message): def fields( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Payload + builtins.str, Global___Payload ]: ... def __init__( self, *, - fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["fields", b"fields"] + fields: collections.abc.Mapping[builtins.str, Global___Payload] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["fields", b"fields"]) -> None: ... -global___Header = Header +Global___Header: typing_extensions.TypeAlias = Header +@typing.final class WorkflowExecution(google.protobuf.message.Message): """Identifies a specific workflow within a namespace. Practically speaking, because run_id is a uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty @@ -313,13 +318,12 @@ class WorkflowExecution(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "run_id", b"run_id", "workflow_id", b"workflow_id" - ], + field_name: typing.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"], ) -> None: ... -global___WorkflowExecution = WorkflowExecution +Global___WorkflowExecution: typing_extensions.TypeAlias = WorkflowExecution +@typing.final class WorkflowType(google.protobuf.message.Message): """Represents the identifier used by a workflow author to define the workflow. Typically, the name of a function. This is sometimes referred to as the workflow's "name" @@ -334,12 +338,11 @@ class WorkflowType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... -global___WorkflowType = WorkflowType +Global___WorkflowType: typing_extensions.TypeAlias = WorkflowType +@typing.final class ActivityType(google.protobuf.message.Message): """Represents the identifier used by a activity author to define the activity. Typically, the name of a function. This is sometimes referred to as the activity's "name" @@ -354,12 +357,11 @@ class ActivityType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... -global___ActivityType = ActivityType +Global___ActivityType: typing_extensions.TypeAlias = ActivityType +@typing.final class RetryPolicy(google.protobuf.message.Message): """How retries ought to be handled, usable by both workflows and activities""" @@ -370,23 +372,25 @@ class RetryPolicy(google.protobuf.message.Message): MAXIMUM_INTERVAL_FIELD_NUMBER: builtins.int MAXIMUM_ATTEMPTS_FIELD_NUMBER: builtins.int NON_RETRYABLE_ERROR_TYPES_FIELD_NUMBER: builtins.int - @property - def initial_interval(self) -> google.protobuf.duration_pb2.Duration: - """Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.""" backoff_coefficient: builtins.float """Coefficient used to calculate the next retry interval. The next retry interval is previous interval multiplied by the coefficient. Must be 1 or larger. """ + maximum_attempts: builtins.int + """Maximum number of attempts. When exceeded the retries stop even if not expired yet. + 1 disables retries. 0 means unlimited (up to the timeouts) + """ + @property + def initial_interval(self) -> google.protobuf.duration_pb2.Duration: + """Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.""" + @property def maximum_interval(self) -> google.protobuf.duration_pb2.Duration: """Maximum interval between retries. Exponential backoff leads to interval increase. This value is the cap of the increase. Default is 100x of the initial interval. """ - maximum_attempts: builtins.int - """Maximum number of attempts. When exceeded the retries stop even if not expired yet. - 1 disables retries. 0 means unlimited (up to the timeouts) - """ + @property def non_retryable_error_types( self, @@ -394,6 +398,7 @@ class RetryPolicy(google.protobuf.message.Message): """Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error *type* (not message) must match exactly. """ + def __init__( self, *, @@ -405,7 +410,7 @@ class RetryPolicy(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initial_interval", b"initial_interval", "maximum_interval", @@ -414,7 +419,7 @@ class RetryPolicy(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff_coefficient", b"backoff_coefficient", "initial_interval", @@ -428,8 +433,9 @@ class RetryPolicy(google.protobuf.message.Message): ], ) -> None: ... -global___RetryPolicy = RetryPolicy +Global___RetryPolicy: typing_extensions.TypeAlias = RetryPolicy +@typing.final class MeteringMetadata(google.protobuf.message.Message): """Metadata relevant for metering purposes""" @@ -451,14 +457,15 @@ class MeteringMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "nonfirst_local_activity_execution_attempts", b"nonfirst_local_activity_execution_attempts", ], ) -> None: ... -global___MeteringMetadata = MeteringMetadata +Global___MeteringMetadata: typing_extensions.TypeAlias = MeteringMetadata +@typing.final class WorkerVersionStamp(google.protobuf.message.Message): """Deprecated. This message is replaced with `Deployment` and `VersioningBehavior`. Identifies the version(s) of a worker that processed a task @@ -484,13 +491,14 @@ class WorkerVersionStamp(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "use_versioning", b"use_versioning" ], ) -> None: ... -global___WorkerVersionStamp = WorkerVersionStamp +Global___WorkerVersionStamp: typing_extensions.TypeAlias = WorkerVersionStamp +@typing.final class WorkerVersionCapabilities(google.protobuf.message.Message): """Identifies the version that a worker is compatible with when polling or identifying itself, and whether or not this worker is opting into the build-id based versioning feature. This is @@ -520,7 +528,7 @@ class WorkerVersionCapabilities(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "deployment_series_name", @@ -530,8 +538,11 @@ class WorkerVersionCapabilities(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerVersionCapabilities = WorkerVersionCapabilities +Global___WorkerVersionCapabilities: typing_extensions.TypeAlias = ( + WorkerVersionCapabilities +) +@typing.final class ResetOptions(google.protobuf.message.Message): """Describes where and how to reset a workflow, used for batch reset currently and may be used for single-workflow reset later. @@ -546,12 +557,6 @@ class ResetOptions(google.protobuf.message.Message): RESET_REAPPLY_TYPE_FIELD_NUMBER: builtins.int CURRENT_RUN_ONLY_FIELD_NUMBER: builtins.int RESET_REAPPLY_EXCLUDE_TYPES_FIELD_NUMBER: builtins.int - @property - def first_workflow_task(self) -> google.protobuf.empty_pb2.Empty: - """Resets to the first workflow task completed or started event.""" - @property - def last_workflow_task(self) -> google.protobuf.empty_pb2.Empty: - """Resets to the last workflow task completed or started event.""" workflow_task_id: builtins.int """The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to. @@ -572,6 +577,14 @@ class ResetOptions(google.protobuf.message.Message): """If true, limit the reset to only within the current run. (Applies to build_id targets and possibly others in the future.) """ + @property + def first_workflow_task(self) -> google.protobuf.empty_pb2.Empty: + """Resets to the first workflow task completed or started event.""" + + @property + def last_workflow_task(self) -> google.protobuf.empty_pb2.Empty: + """Resets to the last workflow task completed or started event.""" + @property def reset_reapply_exclude_types( self, @@ -579,6 +592,7 @@ class ResetOptions(google.protobuf.message.Message): temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType ]: """Event types not to be reapplied""" + def __init__( self, *, @@ -595,7 +609,7 @@ class ResetOptions(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "first_workflow_task", @@ -610,7 +624,7 @@ class ResetOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "current_run_only", @@ -630,24 +644,27 @@ class ResetOptions(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["target", b"target"] + self, oneof_group: typing.Literal["target", b"target"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "first_workflow_task", "last_workflow_task", "workflow_task_id", "build_id" ] | None ): ... -global___ResetOptions = ResetOptions +Global___ResetOptions: typing_extensions.TypeAlias = ResetOptions +@typing.final class Callback(google.protobuf.message.Message): """Callback to attach to various events in the system, e.g. workflow run completion.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Nexus(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -662,8 +679,7 @@ class Callback(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... URL_FIELD_NUMBER: builtins.int @@ -675,6 +691,7 @@ class Callback(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to callback request.""" + def __init__( self, *, @@ -682,10 +699,10 @@ class Callback(google.protobuf.message.Message): header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["header", b"header", "url", b"url"], + self, field_name: typing.Literal["header", b"header", "url", b"url"] ) -> None: ... + @typing.final class Internal(google.protobuf.message.Message): """Callbacks to be delivered internally within the system. This variant is not settable in the API and will be rejected by the service with an INVALID_ARGUMENT error. @@ -703,42 +720,41 @@ class Callback(google.protobuf.message.Message): *, data: builtins.bytes = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["data", b"data"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ... NEXUS_FIELD_NUMBER: builtins.int INTERNAL_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int @property - def nexus(self) -> global___Callback.Nexus: ... + def nexus(self) -> Global___Callback.Nexus: ... @property - def internal(self) -> global___Callback.Internal: ... + def internal(self) -> Global___Callback.Internal: ... @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link + Global___Link ]: """Links associated with the callback. It can be used to link to underlying resources of the callback. """ + def __init__( self, *, - nexus: global___Callback.Nexus | None = ..., - internal: global___Callback.Internal | None = ..., - links: collections.abc.Iterable[global___Link] | None = ..., + nexus: Global___Callback.Nexus | None = ..., + internal: Global___Callback.Internal | None = ..., + links: collections.abc.Iterable[Global___Link] | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "internal", b"internal", "nexus", b"nexus", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "internal", b"internal", "links", @@ -750,11 +766,12 @@ class Callback(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["nexus", "internal"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["nexus", "internal"] | None: ... -global___Callback = Callback +Global___Callback: typing_extensions.TypeAlias = Callback +@typing.final class Link(google.protobuf.message.Message): """Link can be associated with history events. It might contain information about an external entity related to the history event. For example, workflow A makes a Nexus call that starts workflow B: @@ -764,9 +781,11 @@ class Link(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class WorkflowEvent(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class EventReference(google.protobuf.message.Message): """EventReference is a direct reference to a history event through the event ID.""" @@ -784,11 +803,12 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "event_id", b"event_id", "event_type", b"event_type" ], ) -> None: ... + @typing.final class RequestIdReference(google.protobuf.message.Message): """RequestIdReference is a indirect reference to a history event through the request ID.""" @@ -806,7 +826,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "event_type", b"event_type", "request_id", b"request_id" ], ) -> None: ... @@ -820,21 +840,21 @@ class Link(google.protobuf.message.Message): workflow_id: builtins.str run_id: builtins.str @property - def event_ref(self) -> global___Link.WorkflowEvent.EventReference: ... + def event_ref(self) -> Global___Link.WorkflowEvent.EventReference: ... @property - def request_id_ref(self) -> global___Link.WorkflowEvent.RequestIdReference: ... + def request_id_ref(self) -> Global___Link.WorkflowEvent.RequestIdReference: ... def __init__( self, *, namespace: builtins.str = ..., workflow_id: builtins.str = ..., run_id: builtins.str = ..., - event_ref: global___Link.WorkflowEvent.EventReference | None = ..., - request_id_ref: global___Link.WorkflowEvent.RequestIdReference | None = ..., + event_ref: Global___Link.WorkflowEvent.EventReference | None = ..., + request_id_ref: Global___Link.WorkflowEvent.RequestIdReference | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "event_ref", b"event_ref", "reference", @@ -845,7 +865,7 @@ class Link(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "event_ref", b"event_ref", "namespace", @@ -861,9 +881,10 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["reference", b"reference"] - ) -> typing_extensions.Literal["event_ref", "request_id_ref"] | None: ... + self, oneof_group: typing.Literal["reference", b"reference"] + ) -> typing.Literal["event_ref", "request_id_ref"] | None: ... + @typing.final class BatchJob(google.protobuf.message.Message): """A link to a built-in batch job. Batch jobs can be used to perform operations on a set of workflows (e.g. terminate, signal, cancel, etc). @@ -880,9 +901,10 @@ class Link(google.protobuf.message.Message): job_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["job_id", b"job_id"] + self, field_name: typing.Literal["job_id", b"job_id"] ) -> None: ... + @typing.final class Activity(google.protobuf.message.Message): """A link to an activity.""" @@ -903,7 +925,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "namespace", @@ -913,6 +935,7 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class NexusOperation(google.protobuf.message.Message): """A link to a standalone Nexus operation.""" @@ -933,7 +956,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "operation_id", @@ -943,6 +966,7 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class Workflow(google.protobuf.message.Message): """A link to a workflow execution. This is a more general version of WorkflowEvent that doesn't specify a particular event within the workflow, useful when you want to link to a workflow but there is no particular event to link to, @@ -969,7 +993,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "reason", @@ -987,27 +1011,27 @@ class Link(google.protobuf.message.Message): NEXUS_OPERATION_FIELD_NUMBER: builtins.int WORKFLOW_FIELD_NUMBER: builtins.int @property - def workflow_event(self) -> global___Link.WorkflowEvent: ... + def workflow_event(self) -> Global___Link.WorkflowEvent: ... @property - def batch_job(self) -> global___Link.BatchJob: ... + def batch_job(self) -> Global___Link.BatchJob: ... @property - def activity(self) -> global___Link.Activity: ... + def activity(self) -> Global___Link.Activity: ... @property - def nexus_operation(self) -> global___Link.NexusOperation: ... + def nexus_operation(self) -> Global___Link.NexusOperation: ... @property - def workflow(self) -> global___Link.Workflow: ... + def workflow(self) -> Global___Link.Workflow: ... def __init__( self, *, - workflow_event: global___Link.WorkflowEvent | None = ..., - batch_job: global___Link.BatchJob | None = ..., - activity: global___Link.Activity | None = ..., - nexus_operation: global___Link.NexusOperation | None = ..., - workflow: global___Link.Workflow | None = ..., + workflow_event: Global___Link.WorkflowEvent | None = ..., + batch_job: Global___Link.BatchJob | None = ..., + activity: Global___Link.Activity | None = ..., + nexus_operation: Global___Link.NexusOperation | None = ..., + workflow: Global___Link.Workflow | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "batch_job", @@ -1024,7 +1048,7 @@ class Link(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "batch_job", @@ -1040,16 +1064,17 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] + self, oneof_group: typing.Literal["variant", b"variant"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "workflow_event", "batch_job", "activity", "nexus_operation", "workflow" ] | None ): ... -global___Link = Link +Global___Link: typing_extensions.TypeAlias = Link +@typing.final class Principal(google.protobuf.message.Message): """Principal is an authenticated caller identity computed by the server from trusted authentication context. @@ -1070,11 +1095,12 @@ class Principal(google.protobuf.message.Message): name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["name", b"name", "type", b"type"] + self, field_name: typing.Literal["name", b"name", "type", b"type"] ) -> None: ... -global___Principal = Principal +Global___Principal: typing_extensions.TypeAlias = Principal +@typing.final class Priority(google.protobuf.message.Message): """Priority contains metadata that controls relative ordering of task processing when tasks are backed up in a queue. Initially, Priority will be used in @@ -1173,7 +1199,7 @@ class Priority(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "fairness_key", b"fairness_key", "fairness_weight", @@ -1183,8 +1209,9 @@ class Priority(google.protobuf.message.Message): ], ) -> None: ... -global___Priority = Priority +Global___Priority: typing_extensions.TypeAlias = Priority +@typing.final class WorkerSelector(google.protobuf.message.Message): """This is used to send commands to a specific worker or a group of workers. Right now, it is used to send commands to a specific worker instance. @@ -1203,22 +1230,23 @@ class WorkerSelector(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "selector", b"selector", "worker_instance_key", b"worker_instance_key" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "selector", b"selector", "worker_instance_key", b"worker_instance_key" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["selector", b"selector"] - ) -> typing_extensions.Literal["worker_instance_key"] | None: ... + self, oneof_group: typing.Literal["selector", b"selector"] + ) -> typing.Literal["worker_instance_key"] | None: ... -global___WorkerSelector = WorkerSelector +Global___WorkerSelector: typing_extensions.TypeAlias = WorkerSelector +@typing.final class OnConflictOptions(google.protobuf.message.Message): """When starting an execution with a conflict policy that uses an existing execution and there is already an existing running execution, OnConflictOptions defines actions to be taken on the existing running execution. @@ -1244,7 +1272,7 @@ class OnConflictOptions(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attach_completion_callbacks", b"attach_completion_callbacks", "attach_links", @@ -1254,4 +1282,123 @@ class OnConflictOptions(google.protobuf.message.Message): ], ) -> None: ... -global___OnConflictOptions = OnConflictOptions +Global___OnConflictOptions: typing_extensions.TypeAlias = OnConflictOptions + +@typing.final +class TimeSkippingConfig(google.protobuf.message.Message): + """The configuration for time skipping of a workflow execution (a chain of runs including retries, cron, continue-as-new). + When time skipping is enabled, virtual time advances automatically whenever there is no in-flight work. + In-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations, + and possibly other features added in the future. + User timers are not classified as in-flight work and will be skipped over; the virtual clock may also skip to the + time point of the registered fast forward when there is no in-flight work. + When time is skipped, a WorkflowExecutionTimeSkippingTransitionedEvent will be + added to the workflow history to capture the state changes. + + For child workflows, by default, if the parent execution is skipping time, the child execution will also skip time, + but a parent's fast_forward won't affect its child's execution. A flag is provided to disable propagation of the + "enabled" flag to child workflows; regardless of that flag, a child workflow inherits the virtual time from the + parent execution as its start time. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ENABLED_FIELD_NUMBER: builtins.int + FAST_FORWARD_FIELD_NUMBER: builtins.int + DISABLE_CHILD_PROPAGATION_FIELD_NUMBER: builtins.int + enabled: builtins.bool + """Enables or disables time skipping for this workflow execution.""" + disable_child_propagation: builtins.bool + """By default, child workflows inherit the "enabled" flag when they are started. + This flag disables that inheritance. + """ + @property + def fast_forward(self) -> google.protobuf.duration_pb2.Duration: + """Optionally fast-forward the current workflow execution by this duration ahead of current workflow execution time. + After the fast-forward completes, time skipping is disabled, and this + action is recorded in the WorkflowExecutionTimeSkippingTransitionedEvent. It can be re-enabled by + setting `enabled` to true or setting `fast_forward` again via UpdateWorkflowExecutionOptions. + The current workflow execution is a chain of runs (retries, cron, continue-as-new); + child workflows are separate executions, so this fast_forward won't affect them. + + For a given workflow execution, only one active fast-forward is allowed at a time. + If a new fast-forward is set via UpdateWorkflowExecutionOptions before the previous + one completes, the new one will override the previous one. + If the fast-forward duration exceeds the remaining execution timeout, time will only + be fast-forwarded up to the end of the execution. + """ + + def __init__( + self, + *, + enabled: builtins.bool = ..., + fast_forward: google.protobuf.duration_pb2.Duration | None = ..., + disable_child_propagation: builtins.bool = ..., + ) -> None: ... + def HasField( + self, field_name: typing.Literal["fast_forward", b"fast_forward"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing.Literal[ + "disable_child_propagation", + b"disable_child_propagation", + "enabled", + b"enabled", + "fast_forward", + b"fast_forward", + ], + ) -> None: ... + +Global___TimeSkippingConfig: typing_extensions.TypeAlias = TimeSkippingConfig + +@typing.final +class TimeSkippingStatePropagation(google.protobuf.message.Message): + """The time-skipping state that needs to be propagated from a parent workflow to a child workflow, + or through a chain of runs. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + INITIAL_SKIPPED_DURATION_FIELD_NUMBER: builtins.int + FAST_FORWARD_TARGET_TIME_FIELD_NUMBER: builtins.int + @property + def initial_skipped_duration(self) -> google.protobuf.duration_pb2.Duration: + """The time skipped by the previous execution that started this workflow. + It can happen in child workflows and a chain of runs (CaN, cron, retry). + """ + + @property + def fast_forward_target_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """If there is a fast-forward action set for the previous run in a chain of runs, + the target time should be propagated to the next run as well. + """ + + def __init__( + self, + *, + initial_skipped_duration: google.protobuf.duration_pb2.Duration | None = ..., + fast_forward_target_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing.Literal[ + "fast_forward_target_time", + b"fast_forward_target_time", + "initial_skipped_duration", + b"initial_skipped_duration", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing.Literal[ + "fast_forward_target_time", + b"fast_forward_target_time", + "initial_skipped_duration", + b"initial_skipped_duration", + ], + ) -> None: ... + +Global___TimeSkippingStatePropagation: typing_extensions.TypeAlias = ( + TimeSkippingStatePropagation +) diff --git a/temporalio/api/compute/v1/config_pb2.py b/temporalio/api/compute/v1/config_pb2.py index ef3965397..5cc973d1a 100644 --- a/temporalio/api/compute/v1/config_pb2.py +++ b/temporalio/api/compute/v1/config_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/compute/v1/config.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/compute/v1/config.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,118 +35,32 @@ b'\n$temporal/api/compute/v1/config.proto\x12\x17temporal.api.compute.v1\x1a&temporal/api/compute/v1/provider.proto\x1a$temporal/api/compute/v1/scaler.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a google/protobuf/field_mask.proto"\xcf\x01\n\x19\x43omputeConfigScalingGroup\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12:\n\x08provider\x18\x03 \x01(\x0b\x32(.temporal.api.compute.v1.ComputeProvider\x12\x36\n\x06scaler\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeScaler"\xcc\x01\n\rComputeConfig\x12Q\n\x0escaling_groups\x18\x01 \x03(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfig.ScalingGroupsEntry\x1ah\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup:\x02\x38\x01"\x9d\x01\n\x1f\x43omputeConfigScalingGroupUpdate\x12I\n\rscaling_group\x18\x01 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xe1\x01\n\x14\x43omputeConfigSummary\x12X\n\x0escaling_groups\x18\x01 \x03(\x0b\x32@.temporal.api.compute.v1.ComputeConfigSummary.ScalingGroupsEntry\x1ao\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfigScalingGroupSummary:\x02\x38\x01"y\n ComputeConfigScalingGroupSummary\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x15\n\rprovider_type\x18\x02 \x01(\tB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0b\x43onfigProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3' ) - -_COMPUTECONFIGSCALINGGROUP = DESCRIPTOR.message_types_by_name[ - "ComputeConfigScalingGroup" -] -_COMPUTECONFIG = DESCRIPTOR.message_types_by_name["ComputeConfig"] -_COMPUTECONFIG_SCALINGGROUPSENTRY = _COMPUTECONFIG.nested_types_by_name[ - "ScalingGroupsEntry" -] -_COMPUTECONFIGSCALINGGROUPUPDATE = DESCRIPTOR.message_types_by_name[ - "ComputeConfigScalingGroupUpdate" -] -_COMPUTECONFIGSUMMARY = DESCRIPTOR.message_types_by_name["ComputeConfigSummary"] -_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY = _COMPUTECONFIGSUMMARY.nested_types_by_name[ - "ScalingGroupsEntry" -] -_COMPUTECONFIGSCALINGGROUPSUMMARY = DESCRIPTOR.message_types_by_name[ - "ComputeConfigScalingGroupSummary" -] -ComputeConfigScalingGroup = _reflection.GeneratedProtocolMessageType( - "ComputeConfigScalingGroup", - (_message.Message,), - { - "DESCRIPTOR": _COMPUTECONFIGSCALINGGROUP, - "__module__": "temporalio.api.compute.v1.config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigScalingGroup) - }, -) -_sym_db.RegisterMessage(ComputeConfigScalingGroup) - -ComputeConfig = _reflection.GeneratedProtocolMessageType( - "ComputeConfig", - (_message.Message,), - { - "ScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( - "ScalingGroupsEntry", - (_message.Message,), - { - "DESCRIPTOR": _COMPUTECONFIG_SCALINGGROUPSENTRY, - "__module__": "temporalio.api.compute.v1.config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfig.ScalingGroupsEntry) - }, - ), - "DESCRIPTOR": _COMPUTECONFIG, - "__module__": "temporalio.api.compute.v1.config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfig) - }, -) -_sym_db.RegisterMessage(ComputeConfig) -_sym_db.RegisterMessage(ComputeConfig.ScalingGroupsEntry) - -ComputeConfigScalingGroupUpdate = _reflection.GeneratedProtocolMessageType( - "ComputeConfigScalingGroupUpdate", - (_message.Message,), - { - "DESCRIPTOR": _COMPUTECONFIGSCALINGGROUPUPDATE, - "__module__": "temporalio.api.compute.v1.config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigScalingGroupUpdate) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.compute.v1.config_pb2", _globals ) -_sym_db.RegisterMessage(ComputeConfigScalingGroupUpdate) - -ComputeConfigSummary = _reflection.GeneratedProtocolMessageType( - "ComputeConfigSummary", - (_message.Message,), - { - "ScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( - "ScalingGroupsEntry", - (_message.Message,), - { - "DESCRIPTOR": _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY, - "__module__": "temporalio.api.compute.v1.config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigSummary.ScalingGroupsEntry) - }, - ), - "DESCRIPTOR": _COMPUTECONFIGSUMMARY, - "__module__": "temporalio.api.compute.v1.config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigSummary) - }, -) -_sym_db.RegisterMessage(ComputeConfigSummary) -_sym_db.RegisterMessage(ComputeConfigSummary.ScalingGroupsEntry) - -ComputeConfigScalingGroupSummary = _reflection.GeneratedProtocolMessageType( - "ComputeConfigScalingGroupSummary", - (_message.Message,), - { - "DESCRIPTOR": _COMPUTECONFIGSCALINGGROUPSUMMARY, - "__module__": "temporalio.api.compute.v1.config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigScalingGroupSummary) - }, -) -_sym_db.RegisterMessage(ComputeConfigScalingGroupSummary) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ConfigProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" - _COMPUTECONFIG_SCALINGGROUPSENTRY._options = None - _COMPUTECONFIG_SCALINGGROUPSENTRY._serialized_options = b"8\001" - _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._options = None - _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._serialized_options = b"8\001" - _COMPUTECONFIGSCALINGGROUP._serialized_start = 218 - _COMPUTECONFIGSCALINGGROUP._serialized_end = 425 - _COMPUTECONFIG._serialized_start = 428 - _COMPUTECONFIG._serialized_end = 632 - _COMPUTECONFIG_SCALINGGROUPSENTRY._serialized_start = 528 - _COMPUTECONFIG_SCALINGGROUPSENTRY._serialized_end = 632 - _COMPUTECONFIGSCALINGGROUPUPDATE._serialized_start = 635 - _COMPUTECONFIGSCALINGGROUPUPDATE._serialized_end = 792 - _COMPUTECONFIGSUMMARY._serialized_start = 795 - _COMPUTECONFIGSUMMARY._serialized_end = 1020 - _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._serialized_start = 909 - _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._serialized_end = 1020 - _COMPUTECONFIGSCALINGGROUPSUMMARY._serialized_start = 1022 - _COMPUTECONFIGSCALINGGROUPSUMMARY._serialized_end = 1143 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ConfigProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" + _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._loaded_options = None + _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._serialized_options = b"8\001" + _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._loaded_options = None + _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._serialized_options = b"8\001" + _globals["_COMPUTECONFIGSCALINGGROUP"]._serialized_start = 218 + _globals["_COMPUTECONFIGSCALINGGROUP"]._serialized_end = 425 + _globals["_COMPUTECONFIG"]._serialized_start = 428 + _globals["_COMPUTECONFIG"]._serialized_end = 632 + _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._serialized_start = 528 + _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._serialized_end = 632 + _globals["_COMPUTECONFIGSCALINGGROUPUPDATE"]._serialized_start = 635 + _globals["_COMPUTECONFIGSCALINGGROUPUPDATE"]._serialized_end = 792 + _globals["_COMPUTECONFIGSUMMARY"]._serialized_start = 795 + _globals["_COMPUTECONFIGSUMMARY"]._serialized_end = 1020 + _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._serialized_start = 909 + _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._serialized_end = 1020 + _globals["_COMPUTECONFIGSCALINGGROUPSUMMARY"]._serialized_start = 1022 + _globals["_COMPUTECONFIGSCALINGGROUPSUMMARY"]._serialized_end = 1143 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/compute/v1/config_pb2.pyi b/temporalio/api/compute/v1/config_pb2.pyi index 7c0221f4c..24781fe90 100644 --- a/temporalio/api/compute/v1/config_pb2.pyi +++ b/temporalio/api/compute/v1/config_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.field_mask_pb2 @@ -16,13 +17,14 @@ import temporalio.api.compute.v1.provider_pb2 import temporalio.api.compute.v1.scaler_pb2 import temporalio.api.enums.v1.task_queue_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ComputeConfigScalingGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -39,16 +41,19 @@ class ComputeConfigScalingGroup(google.protobuf.message.Message): If not provided, this scaling group serves all not otherwise defined task types. """ + @property def provider(self) -> temporalio.api.compute.v1.provider_pb2.ComputeProvider: """Stores instructions for a worker control plane controller how to respond to worker lifeycle events. """ + @property def scaler(self) -> temporalio.api.compute.v1.scaler_pb2.ComputeScaler: """Informs a worker lifecycle controller *when* and *how often* to perform certain worker lifecycle actions like starting a serverless worker. """ + def __init__( self, *, @@ -60,14 +65,11 @@ class ComputeConfigScalingGroup(google.protobuf.message.Message): scaler: temporalio.api.compute.v1.scaler_pb2.ComputeScaler | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "provider", b"provider", "scaler", b"scaler" - ], + self, field_name: typing.Literal["provider", b"provider", "scaler", b"scaler"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "provider", b"provider", "scaler", @@ -77,8 +79,11 @@ class ComputeConfigScalingGroup(google.protobuf.message.Message): ], ) -> None: ... -global___ComputeConfigScalingGroup = ComputeConfigScalingGroup +Global___ComputeConfigScalingGroup: typing_extensions.TypeAlias = ( + ComputeConfigScalingGroup +) +@typing.final class ComputeConfig(google.protobuf.message.Message): """ComputeConfig stores configuration that helps a worker control plane controller understand *when* and *how* to respond to worker lifecycle @@ -87,6 +92,7 @@ class ComputeConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -94,19 +100,18 @@ class ComputeConfig(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___ComputeConfigScalingGroup: ... + def value(self) -> Global___ComputeConfigScalingGroup: ... def __init__( self, *, key: builtins.str = ..., - value: global___ComputeConfigScalingGroup | None = ..., + value: Global___ComputeConfigScalingGroup | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SCALING_GROUPS_FIELD_NUMBER: builtins.int @@ -114,7 +119,7 @@ class ComputeConfig(google.protobuf.message.Message): def scaling_groups( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___ComputeConfigScalingGroup + builtins.str, Global___ComputeConfigScalingGroup ]: """Each scaling group describes a compute config for a specific subset of the worker deployment version: covering a specific set of task types and/or regions. @@ -124,27 +129,29 @@ class ComputeConfig(google.protobuf.message.Message): The key of the map is the ID of the scaling group used to reference it in subsequent update calls. """ + def __init__( self, *, scaling_groups: collections.abc.Mapping[ - builtins.str, global___ComputeConfigScalingGroup + builtins.str, Global___ComputeConfigScalingGroup ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["scaling_groups", b"scaling_groups"] + self, field_name: typing.Literal["scaling_groups", b"scaling_groups"] ) -> None: ... -global___ComputeConfig = ComputeConfig +Global___ComputeConfig: typing_extensions.TypeAlias = ComputeConfig +@typing.final class ComputeConfigScalingGroupUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SCALING_GROUP_FIELD_NUMBER: builtins.int UPDATE_MASK_FIELD_NUMBER: builtins.int @property - def scaling_group(self) -> global___ComputeConfigScalingGroup: ... + def scaling_group(self) -> Global___ComputeConfigScalingGroup: ... @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `scaling_group` will be applied. Semantics: @@ -155,32 +162,37 @@ class ComputeConfigScalingGroupUpdate(google.protobuf.message.Message): - Accepted paths: "task_queue_types", "provider", "provider.type", "provider.details", "provider.nexus_endpoint", "scaler", "scaler.type", "scaler.details" """ + def __init__( self, *, - scaling_group: global___ComputeConfigScalingGroup | None = ..., + scaling_group: Global___ComputeConfigScalingGroup | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "scaling_group", b"scaling_group", "update_mask", b"update_mask" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "scaling_group", b"scaling_group", "update_mask", b"update_mask" ], ) -> None: ... -global___ComputeConfigScalingGroupUpdate = ComputeConfigScalingGroupUpdate +Global___ComputeConfigScalingGroupUpdate: typing_extensions.TypeAlias = ( + ComputeConfigScalingGroupUpdate +) +@typing.final class ComputeConfigSummary(google.protobuf.message.Message): """A subset of information in ComputeConfig optimized for list views.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -188,19 +200,18 @@ class ComputeConfigSummary(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___ComputeConfigScalingGroupSummary: ... + def value(self) -> Global___ComputeConfigScalingGroupSummary: ... def __init__( self, *, key: builtins.str = ..., - value: global___ComputeConfigScalingGroupSummary | None = ..., + value: Global___ComputeConfigScalingGroupSummary | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SCALING_GROUPS_FIELD_NUMBER: builtins.int @@ -208,34 +219,35 @@ class ComputeConfigSummary(google.protobuf.message.Message): def scaling_groups( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___ComputeConfigScalingGroupSummary + builtins.str, Global___ComputeConfigScalingGroupSummary ]: ... def __init__( self, *, scaling_groups: collections.abc.Mapping[ - builtins.str, global___ComputeConfigScalingGroupSummary + builtins.str, Global___ComputeConfigScalingGroupSummary ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["scaling_groups", b"scaling_groups"] + self, field_name: typing.Literal["scaling_groups", b"scaling_groups"] ) -> None: ... -global___ComputeConfigSummary = ComputeConfigSummary +Global___ComputeConfigSummary: typing_extensions.TypeAlias = ComputeConfigSummary +@typing.final class ComputeConfigScalingGroupSummary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TASK_QUEUE_TYPES_FIELD_NUMBER: builtins.int PROVIDER_TYPE_FIELD_NUMBER: builtins.int + provider_type: builtins.str @property def task_queue_types( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType ]: ... - provider_type: builtins.str def __init__( self, *, @@ -247,9 +259,11 @@ class ComputeConfigScalingGroupSummary(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "provider_type", b"provider_type", "task_queue_types", b"task_queue_types" ], ) -> None: ... -global___ComputeConfigScalingGroupSummary = ComputeConfigScalingGroupSummary +Global___ComputeConfigScalingGroupSummary: typing_extensions.TypeAlias = ( + ComputeConfigScalingGroupSummary +) diff --git a/temporalio/api/compute/v1/provider_pb2.py b/temporalio/api/compute/v1/provider_pb2.py index 26d921e2b..b1fd5eb4d 100644 --- a/temporalio/api/compute/v1/provider_pb2.py +++ b/temporalio/api/compute/v1/provider_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/compute/v1/provider.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/compute/v1/provider.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,22 +32,16 @@ b'\n&temporal/api/compute/v1/provider.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto"i\n\x0f\x43omputeProvider\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x16\n\x0enexus_endpoint\x18\n \x01(\tB\x8f\x01\n\x1aio.temporal.api.compute.v1B\rProviderProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3' ) - -_COMPUTEPROVIDER = DESCRIPTOR.message_types_by_name["ComputeProvider"] -ComputeProvider = _reflection.GeneratedProtocolMessageType( - "ComputeProvider", - (_message.Message,), - { - "DESCRIPTOR": _COMPUTEPROVIDER, - "__module__": "temporalio.api.compute.v1.provider_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeProvider) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.compute.v1.provider_pb2", _globals ) -_sym_db.RegisterMessage(ComputeProvider) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.compute.v1B\rProviderProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" - _COMPUTEPROVIDER._serialized_start = 105 - _COMPUTEPROVIDER._serialized_end = 210 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\032io.temporal.api.compute.v1B\rProviderProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" + _globals["_COMPUTEPROVIDER"]._serialized_start = 105 + _globals["_COMPUTEPROVIDER"]._serialized_end = 210 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/compute/v1/provider_pb2.pyi b/temporalio/api/compute/v1/provider_pb2.pyi index 90f566aa4..64e2e42cb 100644 --- a/temporalio/api/compute/v1/provider_pb2.pyi +++ b/temporalio/api/compute/v1/provider_pb2.pyi @@ -5,19 +5,21 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ComputeProvider(google.protobuf.message.Message): """ComputeProvider stores information used by a worker control plane controller to respond to worker lifecycle events. For example, when a Task is received @@ -36,6 +38,10 @@ class ComputeProvider(google.protobuf.message.Message): can be used by implementations to understand how to interpret the contents of the provider_details field. """ + nexus_endpoint: builtins.str + """Optional. If the compute provider is a Nexus service, this should point + there. + """ @property def details(self) -> temporalio.api.common.v1.message_pb2.Payload: """Contains provider-specific instructions and configuration. @@ -44,10 +50,7 @@ class ComputeProvider(google.protobuf.message.Message): For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand. """ - nexus_endpoint: builtins.str - """Optional. If the compute provider is a Nexus service, this should point - there. - """ + def __init__( self, *, @@ -56,13 +59,13 @@ class ComputeProvider(google.protobuf.message.Message): nexus_endpoint: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "nexus_endpoint", b"nexus_endpoint", "type", b"type" ], ) -> None: ... -global___ComputeProvider = ComputeProvider +Global___ComputeProvider: typing_extensions.TypeAlias = ComputeProvider diff --git a/temporalio/api/compute/v1/scaler_pb2.py b/temporalio/api/compute/v1/scaler_pb2.py index 84bfe7b24..8e4a61da7 100644 --- a/temporalio/api/compute/v1/scaler_pb2.py +++ b/temporalio/api/compute/v1/scaler_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/compute/v1/scaler.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/compute/v1/scaler.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,22 +27,16 @@ b'\n$temporal/api/compute/v1/scaler.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto"O\n\rComputeScaler\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0bScalerProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3' ) - -_COMPUTESCALER = DESCRIPTOR.message_types_by_name["ComputeScaler"] -ComputeScaler = _reflection.GeneratedProtocolMessageType( - "ComputeScaler", - (_message.Message,), - { - "DESCRIPTOR": _COMPUTESCALER, - "__module__": "temporalio.api.compute.v1.scaler_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeScaler) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.compute.v1.scaler_pb2", _globals ) -_sym_db.RegisterMessage(ComputeScaler) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ScalerProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" - _COMPUTESCALER._serialized_start = 103 - _COMPUTESCALER._serialized_end = 182 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ScalerProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" + _globals["_COMPUTESCALER"]._serialized_start = 103 + _globals["_COMPUTESCALER"]._serialized_end = 182 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/compute/v1/scaler_pb2.pyi b/temporalio/api/compute/v1/scaler_pb2.pyi index 3ff933055..202631a1f 100644 --- a/temporalio/api/compute/v1/scaler_pb2.pyi +++ b/temporalio/api/compute/v1/scaler_pb2.pyi @@ -5,19 +5,21 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ComputeScaler(google.protobuf.message.Message): """ComputeScaler instructs the Temporal Service when to scale up or down the number of Workers that comprise a WorkerDeployment. @@ -40,6 +42,7 @@ class ComputeScaler(google.protobuf.message.Message): For remote-implemented scalers, you might use your own data converters according to what the remote endpoints understand. """ + def __init__( self, *, @@ -47,11 +50,10 @@ class ComputeScaler(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["details", b"details", "type", b"type"], + self, field_name: typing.Literal["details", b"details", "type", b"type"] ) -> None: ... -global___ComputeScaler = ComputeScaler +Global___ComputeScaler: typing_extensions.TypeAlias = ComputeScaler diff --git a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py index deb7869f3..223cee236 100644 --- a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py +++ b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: nexusannotations/v1/options.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "nexusannotations/v1/options.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,46 +25,20 @@ b'\n!nexusannotations/v1/options.proto\x12\x13nexusannotations.v1\x1a google/protobuf/descriptor.proto".\n\x10OperationOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t",\n\x0eServiceOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t:Y\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xa9@ \x01(\x0b\x32#.nexusannotations.v1.ServiceOptions\x88\x01\x01:\\\n\toperation\x12\x1e.google.protobuf.MethodOptions\x18\xaa@ \x01(\x0b\x32%.nexusannotations.v1.OperationOptions\x88\x01\x01\x42\x45ZCgithub.com/nexus-rpc/nexus-proto-annotations/go/nexusannotations/v1b\x06proto3' ) - -SERVICE_FIELD_NUMBER = 8233 -service = DESCRIPTOR.extensions_by_name["service"] -OPERATION_FIELD_NUMBER = 8234 -operation = DESCRIPTOR.extensions_by_name["operation"] - -_OPERATIONOPTIONS = DESCRIPTOR.message_types_by_name["OperationOptions"] -_SERVICEOPTIONS = DESCRIPTOR.message_types_by_name["ServiceOptions"] -OperationOptions = _reflection.GeneratedProtocolMessageType( - "OperationOptions", - (_message.Message,), - { - "DESCRIPTOR": _OPERATIONOPTIONS, - "__module__": "temporalio.api.dependencies.nexusannotations.v1.options_pb2", - # @@protoc_insertion_point(class_scope:nexusannotations.v1.OperationOptions) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "nexusannotations.v1.options_pb2", _globals ) -_sym_db.RegisterMessage(OperationOptions) - -ServiceOptions = _reflection.GeneratedProtocolMessageType( - "ServiceOptions", - (_message.Message,), - { - "DESCRIPTOR": _SERVICEOPTIONS, - "__module__": "temporalio.api.dependencies.nexusannotations.v1.options_pb2", - # @@protoc_insertion_point(class_scope:nexusannotations.v1.ServiceOptions) - }, -) -_sym_db.RegisterMessage(ServiceOptions) - -if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.ServiceOptions.RegisterExtension(service) - google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(operation) - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = ( b"ZCgithub.com/nexus-rpc/nexus-proto-annotations/go/nexusannotations/v1" ) - _OPERATIONOPTIONS._serialized_start = 92 - _OPERATIONOPTIONS._serialized_end = 138 - _SERVICEOPTIONS._serialized_start = 140 - _SERVICEOPTIONS._serialized_end = 184 + _globals["_OPERATIONOPTIONS"]._serialized_start = 92 + _globals["_OPERATIONOPTIONS"]._serialized_end = 138 + _globals["_SERVICEOPTIONS"]._serialized_start = 140 + _globals["_SERVICEOPTIONS"]._serialized_end = 184 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi index 3c440fb75..f0d0b1e74 100644 --- a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi +++ b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.descriptor_pb2 @@ -13,13 +14,14 @@ import google.protobuf.internal.containers import google.protobuf.internal.extension_dict import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class OperationOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -32,6 +34,7 @@ class OperationOptions(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Tags to attach to the operation. Used by code generators to include and exclude operations.""" + def __init__( self, *, @@ -39,11 +42,12 @@ class OperationOptions(google.protobuf.message.Message): tags: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["name", b"name", "tags", b"tags"] + self, field_name: typing.Literal["name", b"name", "tags", b"tags"] ) -> None: ... -global___OperationOptions = OperationOptions +Global___OperationOptions: typing_extensions.TypeAlias = OperationOptions +@typing.final class ServiceOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -56,6 +60,7 @@ class ServiceOptions(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Tags to attach to the service. Used by code generators to include and exclude services.""" + def __init__( self, *, @@ -63,16 +68,16 @@ class ServiceOptions(google.protobuf.message.Message): tags: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["name", b"name", "tags", b"tags"] + self, field_name: typing.Literal["name", b"name", "tags", b"tags"] ) -> None: ... -global___ServiceOptions = ServiceOptions +Global___ServiceOptions: typing_extensions.TypeAlias = ServiceOptions SERVICE_FIELD_NUMBER: builtins.int OPERATION_FIELD_NUMBER: builtins.int service: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.ServiceOptions, global___ServiceOptions + google.protobuf.descriptor_pb2.ServiceOptions, Global___ServiceOptions ] operation: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.MethodOptions, global___OperationOptions + google.protobuf.descriptor_pb2.MethodOptions, Global___OperationOptions ] diff --git a/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py b/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py index 3d0ab9f2e..c5119d404 100644 --- a/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py +++ b/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: protoc-gen-openapiv2/options/annotations.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "protoc-gen-openapiv2/options/annotations.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,42 +34,16 @@ b"\n.protoc-gen-openapiv2/options/annotations.proto\x12)grpc.gateway.protoc_gen_openapiv2.options\x1a google/protobuf/descriptor.proto\x1a,protoc-gen-openapiv2/options/openapiv2.proto:l\n\x11openapiv2_swagger\x12\x1c.google.protobuf.FileOptions\x18\x92\x08 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.Swagger:r\n\x13openapiv2_operation\x12\x1e.google.protobuf.MethodOptions\x18\x92\x08 \x01(\x0b\x32\x34.grpc.gateway.protoc_gen_openapiv2.options.Operation:m\n\x10openapiv2_schema\x12\x1f.google.protobuf.MessageOptions\x18\x92\x08 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Schema:l\n\x0eopenapiv2_enum\x12\x1c.google.protobuf.EnumOptions\x18\x92\x08 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema:g\n\ropenapiv2_tag\x12\x1f.google.protobuf.ServiceOptions\x18\x92\x08 \x01(\x0b\x32..grpc.gateway.protoc_gen_openapiv2.options.Tag:n\n\x0fopenapiv2_field\x12\x1d.google.protobuf.FieldOptions\x18\x92\x08 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.JSONSchemaBHZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/optionsb\x06proto3" ) - -OPENAPIV2_SWAGGER_FIELD_NUMBER = 1042 -openapiv2_swagger = DESCRIPTOR.extensions_by_name["openapiv2_swagger"] -OPENAPIV2_OPERATION_FIELD_NUMBER = 1042 -openapiv2_operation = DESCRIPTOR.extensions_by_name["openapiv2_operation"] -OPENAPIV2_SCHEMA_FIELD_NUMBER = 1042 -openapiv2_schema = DESCRIPTOR.extensions_by_name["openapiv2_schema"] -OPENAPIV2_ENUM_FIELD_NUMBER = 1042 -openapiv2_enum = DESCRIPTOR.extensions_by_name["openapiv2_enum"] -OPENAPIV2_TAG_FIELD_NUMBER = 1042 -openapiv2_tag = DESCRIPTOR.extensions_by_name["openapiv2_tag"] -OPENAPIV2_FIELD_FIELD_NUMBER = 1042 -openapiv2_field = DESCRIPTOR.extensions_by_name["openapiv2_field"] - -if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( - openapiv2_swagger - ) - google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension( - openapiv2_operation - ) - google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( - openapiv2_schema - ) - google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension( - openapiv2_enum - ) - google_dot_protobuf_dot_descriptor__pb2.ServiceOptions.RegisterExtension( - openapiv2_tag - ) - google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension( - openapiv2_field - ) - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "protoc_gen_openapiv2.options.annotations_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = ( b"ZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" ) # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py index ea0b8eec5..0f4be967f 100644 --- a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py +++ b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: protoc-gen-openapiv2/options/openapiv2.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "protoc-gen-openapiv2/options/openapiv2.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,548 +30,130 @@ b'\n,protoc-gen-openapiv2/options/openapiv2.proto\x12)grpc.gateway.protoc_gen_openapiv2.options\x1a\x1cgoogle/protobuf/struct.proto"\x95\x07\n\x07Swagger\x12\x0f\n\x07swagger\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.grpc.gateway.protoc_gen_openapiv2.options.Info\x12\x0c\n\x04host\x18\x03 \x01(\t\x12\x11\n\tbase_path\x18\x04 \x01(\t\x12\x42\n\x07schemes\x18\x05 \x03(\x0e\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scheme\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12T\n\tresponses\x18\n \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry\x12\\\n\x14security_definitions\x18\x0b \x01(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions\x12P\n\x08security\x18\x0c \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement\x12<\n\x04tags\x18\r \x03(\x0b\x32..grpc.gateway.protoc_gen_openapiv2.options.Tag\x12W\n\rexternal_docs\x18\x0e \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12V\n\nextensions\x18\x0f \x03(\x0b\x32\x42.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry\x1a\x65\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_openapiv2.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n"\xb1\x06\n\tOperation\x12\x0c\n\x04tags\x18\x01 \x03(\t\x12\x0f\n\x07summary\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12W\n\rexternal_docs\x18\x04 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x14\n\x0coperation_id\x18\x05 \x01(\t\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12V\n\tresponses\x18\t \x03(\x0b\x32\x43.grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry\x12\x42\n\x07schemes\x18\n \x03(\x0e\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scheme\x12\x12\n\ndeprecated\x18\x0b \x01(\x08\x12P\n\x08security\x18\x0c \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement\x12X\n\nextensions\x18\r \x03(\x0b\x32\x44.grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry\x12I\n\nparameters\x18\x0e \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.Parameters\x1a\x65\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_openapiv2.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01J\x04\x08\x08\x10\t"Y\n\nParameters\x12K\n\x07headers\x18\x01 \x03(\x0b\x32:.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter"\xf8\x01\n\x0fHeaderParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12M\n\x04type\x18\x03 \x01(\x0e\x32?.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12\x10\n\x08required\x18\x05 \x01(\x08"E\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08"\xab\x01\n\x06Header\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x01(\t\x12\x0f\n\x07pattern\x18\r \x01(\tJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x11\x10\x12J\x04\x08\x12\x10\x13"\xc2\x04\n\x08Response\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x41\n\x06schema\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Schema\x12Q\n\x07headers\x18\x03 \x03(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry\x12S\n\x08\x65xamples\x18\x04 \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry\x12W\n\nextensions\x18\x05 \x03(\x0b\x32\x43.grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry\x1a\x61\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Header:\x02\x38\x01\x1a/\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\xff\x02\n\x04Info\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x18\n\x10terms_of_service\x18\x03 \x01(\t\x12\x43\n\x07\x63ontact\x18\x04 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.Contact\x12\x43\n\x07license\x18\x05 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.License\x12\x0f\n\x07version\x18\x06 \x01(\t\x12S\n\nextensions\x18\x07 \x03(\x0b\x32?.grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"3\n\x07\x43ontact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t"$\n\x07License\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t"9\n\x15\x45xternalDocumentation\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t"\xee\x01\n\x06Schema\x12J\n\x0bjson_schema\x18\x01 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema\x12\x15\n\rdiscriminator\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\x12W\n\rexternal_docs\x18\x05 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x0f\n\x07\x65xample\x18\x06 \x01(\tJ\x04\x08\x04\x10\x05"\x83\x03\n\nEnumSchema\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x10\n\x08required\x18\x04 \x01(\x08\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12W\n\rexternal_docs\x18\x06 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x0f\n\x07\x65xample\x18\x07 \x01(\t\x12\x0b\n\x03ref\x18\x08 \x01(\t\x12Y\n\nextensions\x18\t \x03(\x0b\x32\x45.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\xa2\x08\n\nJSONSchema\x12\x0b\n\x03ref\x18\x03 \x01(\t\x12\r\n\x05title\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12\x11\n\tread_only\x18\x08 \x01(\x08\x12\x0f\n\x07\x65xample\x18\t \x01(\t\x12\x13\n\x0bmultiple_of\x18\n \x01(\x01\x12\x0f\n\x07maximum\x18\x0b \x01(\x01\x12\x19\n\x11\x65xclusive_maximum\x18\x0c \x01(\x08\x12\x0f\n\x07minimum\x18\r \x01(\x01\x12\x19\n\x11\x65xclusive_minimum\x18\x0e \x01(\x08\x12\x12\n\nmax_length\x18\x0f \x01(\x04\x12\x12\n\nmin_length\x18\x10 \x01(\x04\x12\x0f\n\x07pattern\x18\x11 \x01(\t\x12\x11\n\tmax_items\x18\x14 \x01(\x04\x12\x11\n\tmin_items\x18\x15 \x01(\x04\x12\x14\n\x0cunique_items\x18\x16 \x01(\x08\x12\x16\n\x0emax_properties\x18\x18 \x01(\x04\x12\x16\n\x0emin_properties\x18\x19 \x01(\x04\x12\x10\n\x08required\x18\x1a \x03(\t\x12\r\n\x05\x61rray\x18" \x03(\t\x12Y\n\x04type\x18# \x03(\x0e\x32K.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes\x12\x0e\n\x06\x66ormat\x18$ \x01(\t\x12\x0c\n\x04\x65num\x18. \x03(\t\x12\x66\n\x13\x66ield_configuration\x18\xe9\x07 \x01(\x0b\x32H.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration\x12Y\n\nextensions\x18\x30 \x03(\x0b\x32\x45.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry\x1a-\n\x12\x46ieldConfiguration\x12\x17\n\x0fpath_param_name\x18/ \x01(\t\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"w\n\x15JSONSchemaSimpleTypes\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41RRAY\x10\x01\x12\x0b\n\x07\x42OOLEAN\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x08\n\x04NULL\x10\x04\x12\n\n\x06NUMBER\x10\x05\x12\n\n\x06OBJECT\x10\x06\x12\n\n\x06STRING\x10\x07J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x17\x10\x18J\x04\x08\x1b\x10\x1cJ\x04\x08\x1c\x10\x1dJ\x04\x08\x1d\x10\x1eJ\x04\x08\x1e\x10"J\x04\x08%\x10*J\x04\x08*\x10+J\x04\x08+\x10."\xa0\x02\n\x03Tag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12W\n\rexternal_docs\x18\x03 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12R\n\nextensions\x18\x04 \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\xe1\x01\n\x13SecurityDefinitions\x12^\n\x08security\x18\x01 \x03(\x0b\x32L.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry\x1aj\n\rSecurityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme:\x02\x38\x01"\xa0\x06\n\x0eSecurityScheme\x12L\n\x04type\x18\x01 \x01(\x0e\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12H\n\x02in\x18\x04 \x01(\x0e\x32<.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In\x12L\n\x04\x66low\x18\x05 \x01(\x0e\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow\x12\x19\n\x11\x61uthorization_url\x18\x06 \x01(\t\x12\x11\n\ttoken_url\x18\x07 \x01(\t\x12\x41\n\x06scopes\x18\x08 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scopes\x12]\n\nextensions\x18\t \x03(\x0b\x32I.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"K\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x0e\n\nTYPE_BASIC\x10\x01\x12\x10\n\x0cTYPE_API_KEY\x10\x02\x12\x0f\n\x0bTYPE_OAUTH2\x10\x03"1\n\x02In\x12\x0e\n\nIN_INVALID\x10\x00\x12\x0c\n\x08IN_QUERY\x10\x01\x12\r\n\tIN_HEADER\x10\x02"j\n\x04\x46low\x12\x10\n\x0c\x46LOW_INVALID\x10\x00\x12\x11\n\rFLOW_IMPLICIT\x10\x01\x12\x11\n\rFLOW_PASSWORD\x10\x02\x12\x14\n\x10\x46LOW_APPLICATION\x10\x03\x12\x14\n\x10\x46LOW_ACCESS_CODE\x10\x04"\xcd\x02\n\x13SecurityRequirement\x12u\n\x14security_requirement\x18\x01 \x03(\x0b\x32W.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry\x1a)\n\x18SecurityRequirementValue\x12\r\n\x05scope\x18\x01 \x03(\t\x1a\x93\x01\n\x18SecurityRequirementEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x66\n\x05value\x18\x02 \x01(\x0b\x32W.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue:\x02\x38\x01"\x83\x01\n\x06Scopes\x12K\n\x05scope\x18\x01 \x03(\x0b\x32<.grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry\x1a,\n\nScopeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*;\n\x06Scheme\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\x12\x06\n\x02WS\x10\x03\x12\x07\n\x03WSS\x10\x04\x42HZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/optionsb\x06proto3' ) -_SCHEME = DESCRIPTOR.enum_types_by_name["Scheme"] -Scheme = enum_type_wrapper.EnumTypeWrapper(_SCHEME) -UNKNOWN = 0 -HTTP = 1 -HTTPS = 2 -WS = 3 -WSS = 4 - - -_SWAGGER = DESCRIPTOR.message_types_by_name["Swagger"] -_SWAGGER_RESPONSESENTRY = _SWAGGER.nested_types_by_name["ResponsesEntry"] -_SWAGGER_EXTENSIONSENTRY = _SWAGGER.nested_types_by_name["ExtensionsEntry"] -_OPERATION = DESCRIPTOR.message_types_by_name["Operation"] -_OPERATION_RESPONSESENTRY = _OPERATION.nested_types_by_name["ResponsesEntry"] -_OPERATION_EXTENSIONSENTRY = _OPERATION.nested_types_by_name["ExtensionsEntry"] -_PARAMETERS = DESCRIPTOR.message_types_by_name["Parameters"] -_HEADERPARAMETER = DESCRIPTOR.message_types_by_name["HeaderParameter"] -_HEADER = DESCRIPTOR.message_types_by_name["Header"] -_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] -_RESPONSE_HEADERSENTRY = _RESPONSE.nested_types_by_name["HeadersEntry"] -_RESPONSE_EXAMPLESENTRY = _RESPONSE.nested_types_by_name["ExamplesEntry"] -_RESPONSE_EXTENSIONSENTRY = _RESPONSE.nested_types_by_name["ExtensionsEntry"] -_INFO = DESCRIPTOR.message_types_by_name["Info"] -_INFO_EXTENSIONSENTRY = _INFO.nested_types_by_name["ExtensionsEntry"] -_CONTACT = DESCRIPTOR.message_types_by_name["Contact"] -_LICENSE = DESCRIPTOR.message_types_by_name["License"] -_EXTERNALDOCUMENTATION = DESCRIPTOR.message_types_by_name["ExternalDocumentation"] -_SCHEMA = DESCRIPTOR.message_types_by_name["Schema"] -_ENUMSCHEMA = DESCRIPTOR.message_types_by_name["EnumSchema"] -_ENUMSCHEMA_EXTENSIONSENTRY = _ENUMSCHEMA.nested_types_by_name["ExtensionsEntry"] -_JSONSCHEMA = DESCRIPTOR.message_types_by_name["JSONSchema"] -_JSONSCHEMA_FIELDCONFIGURATION = _JSONSCHEMA.nested_types_by_name["FieldConfiguration"] -_JSONSCHEMA_EXTENSIONSENTRY = _JSONSCHEMA.nested_types_by_name["ExtensionsEntry"] -_TAG = DESCRIPTOR.message_types_by_name["Tag"] -_TAG_EXTENSIONSENTRY = _TAG.nested_types_by_name["ExtensionsEntry"] -_SECURITYDEFINITIONS = DESCRIPTOR.message_types_by_name["SecurityDefinitions"] -_SECURITYDEFINITIONS_SECURITYENTRY = _SECURITYDEFINITIONS.nested_types_by_name[ - "SecurityEntry" -] -_SECURITYSCHEME = DESCRIPTOR.message_types_by_name["SecurityScheme"] -_SECURITYSCHEME_EXTENSIONSENTRY = _SECURITYSCHEME.nested_types_by_name[ - "ExtensionsEntry" -] -_SECURITYREQUIREMENT = DESCRIPTOR.message_types_by_name["SecurityRequirement"] -_SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE = ( - _SECURITYREQUIREMENT.nested_types_by_name["SecurityRequirementValue"] -) -_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY = ( - _SECURITYREQUIREMENT.nested_types_by_name["SecurityRequirementEntry"] -) -_SCOPES = DESCRIPTOR.message_types_by_name["Scopes"] -_SCOPES_SCOPEENTRY = _SCOPES.nested_types_by_name["ScopeEntry"] -_HEADERPARAMETER_TYPE = _HEADERPARAMETER.enum_types_by_name["Type"] -_JSONSCHEMA_JSONSCHEMASIMPLETYPES = _JSONSCHEMA.enum_types_by_name[ - "JSONSchemaSimpleTypes" -] -_SECURITYSCHEME_TYPE = _SECURITYSCHEME.enum_types_by_name["Type"] -_SECURITYSCHEME_IN = _SECURITYSCHEME.enum_types_by_name["In"] -_SECURITYSCHEME_FLOW = _SECURITYSCHEME.enum_types_by_name["Flow"] -Swagger = _reflection.GeneratedProtocolMessageType( - "Swagger", - (_message.Message,), - { - "ResponsesEntry": _reflection.GeneratedProtocolMessageType( - "ResponsesEntry", - (_message.Message,), - { - "DESCRIPTOR": _SWAGGER_RESPONSESENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry) - }, - ), - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _SWAGGER_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _SWAGGER, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Swagger) - }, -) -_sym_db.RegisterMessage(Swagger) -_sym_db.RegisterMessage(Swagger.ResponsesEntry) -_sym_db.RegisterMessage(Swagger.ExtensionsEntry) - -Operation = _reflection.GeneratedProtocolMessageType( - "Operation", - (_message.Message,), - { - "ResponsesEntry": _reflection.GeneratedProtocolMessageType( - "ResponsesEntry", - (_message.Message,), - { - "DESCRIPTOR": _OPERATION_RESPONSESENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry) - }, - ), - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _OPERATION_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _OPERATION, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Operation) - }, -) -_sym_db.RegisterMessage(Operation) -_sym_db.RegisterMessage(Operation.ResponsesEntry) -_sym_db.RegisterMessage(Operation.ExtensionsEntry) - -Parameters = _reflection.GeneratedProtocolMessageType( - "Parameters", - (_message.Message,), - { - "DESCRIPTOR": _PARAMETERS, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Parameters) - }, -) -_sym_db.RegisterMessage(Parameters) - -HeaderParameter = _reflection.GeneratedProtocolMessageType( - "HeaderParameter", - (_message.Message,), - { - "DESCRIPTOR": _HEADERPARAMETER, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter) - }, -) -_sym_db.RegisterMessage(HeaderParameter) - -Header = _reflection.GeneratedProtocolMessageType( - "Header", - (_message.Message,), - { - "DESCRIPTOR": _HEADER, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Header) - }, -) -_sym_db.RegisterMessage(Header) - -Response = _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE_HEADERSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry) - }, - ), - "ExamplesEntry": _reflection.GeneratedProtocolMessageType( - "ExamplesEntry", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE_EXAMPLESENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry) - }, - ), - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _RESPONSE, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response) - }, -) -_sym_db.RegisterMessage(Response) -_sym_db.RegisterMessage(Response.HeadersEntry) -_sym_db.RegisterMessage(Response.ExamplesEntry) -_sym_db.RegisterMessage(Response.ExtensionsEntry) - -Info = _reflection.GeneratedProtocolMessageType( - "Info", - (_message.Message,), - { - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _INFO_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _INFO, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Info) - }, -) -_sym_db.RegisterMessage(Info) -_sym_db.RegisterMessage(Info.ExtensionsEntry) - -Contact = _reflection.GeneratedProtocolMessageType( - "Contact", - (_message.Message,), - { - "DESCRIPTOR": _CONTACT, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Contact) - }, -) -_sym_db.RegisterMessage(Contact) - -License = _reflection.GeneratedProtocolMessageType( - "License", - (_message.Message,), - { - "DESCRIPTOR": _LICENSE, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.License) - }, -) -_sym_db.RegisterMessage(License) - -ExternalDocumentation = _reflection.GeneratedProtocolMessageType( - "ExternalDocumentation", - (_message.Message,), - { - "DESCRIPTOR": _EXTERNALDOCUMENTATION, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) - }, -) -_sym_db.RegisterMessage(ExternalDocumentation) - -Schema = _reflection.GeneratedProtocolMessageType( - "Schema", - (_message.Message,), - { - "DESCRIPTOR": _SCHEMA, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Schema) - }, -) -_sym_db.RegisterMessage(Schema) - -EnumSchema = _reflection.GeneratedProtocolMessageType( - "EnumSchema", - (_message.Message,), - { - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _ENUMSCHEMA_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _ENUMSCHEMA, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.EnumSchema) - }, -) -_sym_db.RegisterMessage(EnumSchema) -_sym_db.RegisterMessage(EnumSchema.ExtensionsEntry) - -JSONSchema = _reflection.GeneratedProtocolMessageType( - "JSONSchema", - (_message.Message,), - { - "FieldConfiguration": _reflection.GeneratedProtocolMessageType( - "FieldConfiguration", - (_message.Message,), - { - "DESCRIPTOR": _JSONSCHEMA_FIELDCONFIGURATION, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) - }, - ), - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _JSONSCHEMA_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _JSONSCHEMA, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) - }, -) -_sym_db.RegisterMessage(JSONSchema) -_sym_db.RegisterMessage(JSONSchema.FieldConfiguration) -_sym_db.RegisterMessage(JSONSchema.ExtensionsEntry) - -Tag = _reflection.GeneratedProtocolMessageType( - "Tag", - (_message.Message,), - { - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _TAG_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _TAG, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Tag) - }, -) -_sym_db.RegisterMessage(Tag) -_sym_db.RegisterMessage(Tag.ExtensionsEntry) - -SecurityDefinitions = _reflection.GeneratedProtocolMessageType( - "SecurityDefinitions", - (_message.Message,), - { - "SecurityEntry": _reflection.GeneratedProtocolMessageType( - "SecurityEntry", - (_message.Message,), - { - "DESCRIPTOR": _SECURITYDEFINITIONS_SECURITYENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry) - }, - ), - "DESCRIPTOR": _SECURITYDEFINITIONS, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) - }, -) -_sym_db.RegisterMessage(SecurityDefinitions) -_sym_db.RegisterMessage(SecurityDefinitions.SecurityEntry) - -SecurityScheme = _reflection.GeneratedProtocolMessageType( - "SecurityScheme", - (_message.Message,), - { - "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( - "ExtensionsEntry", - (_message.Message,), - { - "DESCRIPTOR": _SECURITYSCHEME_EXTENSIONSENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry) - }, - ), - "DESCRIPTOR": _SECURITYSCHEME, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "protoc_gen_openapiv2.options.openapiv2_pb2", _globals ) -_sym_db.RegisterMessage(SecurityScheme) -_sym_db.RegisterMessage(SecurityScheme.ExtensionsEntry) - -SecurityRequirement = _reflection.GeneratedProtocolMessageType( - "SecurityRequirement", - (_message.Message,), - { - "SecurityRequirementValue": _reflection.GeneratedProtocolMessageType( - "SecurityRequirementValue", - (_message.Message,), - { - "DESCRIPTOR": _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) - }, - ), - "SecurityRequirementEntry": _reflection.GeneratedProtocolMessageType( - "SecurityRequirementEntry", - (_message.Message,), - { - "DESCRIPTOR": _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry) - }, - ), - "DESCRIPTOR": _SECURITYREQUIREMENT, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) - }, -) -_sym_db.RegisterMessage(SecurityRequirement) -_sym_db.RegisterMessage(SecurityRequirement.SecurityRequirementValue) -_sym_db.RegisterMessage(SecurityRequirement.SecurityRequirementEntry) - -Scopes = _reflection.GeneratedProtocolMessageType( - "Scopes", - (_message.Message,), - { - "ScopeEntry": _reflection.GeneratedProtocolMessageType( - "ScopeEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCOPES_SCOPEENTRY, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry) - }, - ), - "DESCRIPTOR": _SCOPES, - "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", - # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Scopes) - }, -) -_sym_db.RegisterMessage(Scopes) -_sym_db.RegisterMessage(Scopes.ScopeEntry) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = ( b"ZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" ) - _SWAGGER_RESPONSESENTRY._options = None - _SWAGGER_RESPONSESENTRY._serialized_options = b"8\001" - _SWAGGER_EXTENSIONSENTRY._options = None - _SWAGGER_EXTENSIONSENTRY._serialized_options = b"8\001" - _OPERATION_RESPONSESENTRY._options = None - _OPERATION_RESPONSESENTRY._serialized_options = b"8\001" - _OPERATION_EXTENSIONSENTRY._options = None - _OPERATION_EXTENSIONSENTRY._serialized_options = b"8\001" - _RESPONSE_HEADERSENTRY._options = None - _RESPONSE_HEADERSENTRY._serialized_options = b"8\001" - _RESPONSE_EXAMPLESENTRY._options = None - _RESPONSE_EXAMPLESENTRY._serialized_options = b"8\001" - _RESPONSE_EXTENSIONSENTRY._options = None - _RESPONSE_EXTENSIONSENTRY._serialized_options = b"8\001" - _INFO_EXTENSIONSENTRY._options = None - _INFO_EXTENSIONSENTRY._serialized_options = b"8\001" - _ENUMSCHEMA_EXTENSIONSENTRY._options = None - _ENUMSCHEMA_EXTENSIONSENTRY._serialized_options = b"8\001" - _JSONSCHEMA_EXTENSIONSENTRY._options = None - _JSONSCHEMA_EXTENSIONSENTRY._serialized_options = b"8\001" - _TAG_EXTENSIONSENTRY._options = None - _TAG_EXTENSIONSENTRY._serialized_options = b"8\001" - _SECURITYDEFINITIONS_SECURITYENTRY._options = None - _SECURITYDEFINITIONS_SECURITYENTRY._serialized_options = b"8\001" - _SECURITYSCHEME_EXTENSIONSENTRY._options = None - _SECURITYSCHEME_EXTENSIONSENTRY._serialized_options = b"8\001" - _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._options = None - _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_options = b"8\001" - _SCOPES_SCOPEENTRY._options = None - _SCOPES_SCOPEENTRY._serialized_options = b"8\001" - _SCHEME._serialized_start = 6978 - _SCHEME._serialized_end = 7037 - _SWAGGER._serialized_start = 122 - _SWAGGER._serialized_end = 1039 - _SWAGGER_RESPONSESENTRY._serialized_start = 851 - _SWAGGER_RESPONSESENTRY._serialized_end = 952 - _SWAGGER_EXTENSIONSENTRY._serialized_start = 954 - _SWAGGER_EXTENSIONSENTRY._serialized_end = 1027 - _OPERATION._serialized_start = 1042 - _OPERATION._serialized_end = 1859 - _OPERATION_RESPONSESENTRY._serialized_start = 851 - _OPERATION_RESPONSESENTRY._serialized_end = 952 - _OPERATION_EXTENSIONSENTRY._serialized_start = 954 - _OPERATION_EXTENSIONSENTRY._serialized_end = 1027 - _PARAMETERS._serialized_start = 1861 - _PARAMETERS._serialized_end = 1950 - _HEADERPARAMETER._serialized_start = 1953 - _HEADERPARAMETER._serialized_end = 2201 - _HEADERPARAMETER_TYPE._serialized_start = 2120 - _HEADERPARAMETER_TYPE._serialized_end = 2189 - _HEADER._serialized_start = 2204 - _HEADER._serialized_end = 2375 - _RESPONSE._serialized_start = 2378 - _RESPONSE._serialized_end = 2956 - _RESPONSE_HEADERSENTRY._serialized_start = 2735 - _RESPONSE_HEADERSENTRY._serialized_end = 2832 - _RESPONSE_EXAMPLESENTRY._serialized_start = 2834 - _RESPONSE_EXAMPLESENTRY._serialized_end = 2881 - _RESPONSE_EXTENSIONSENTRY._serialized_start = 954 - _RESPONSE_EXTENSIONSENTRY._serialized_end = 1027 - _INFO._serialized_start = 2959 - _INFO._serialized_end = 3342 - _INFO_EXTENSIONSENTRY._serialized_start = 954 - _INFO_EXTENSIONSENTRY._serialized_end = 1027 - _CONTACT._serialized_start = 3344 - _CONTACT._serialized_end = 3395 - _LICENSE._serialized_start = 3397 - _LICENSE._serialized_end = 3433 - _EXTERNALDOCUMENTATION._serialized_start = 3435 - _EXTERNALDOCUMENTATION._serialized_end = 3492 - _SCHEMA._serialized_start = 3495 - _SCHEMA._serialized_end = 3733 - _ENUMSCHEMA._serialized_start = 3736 - _ENUMSCHEMA._serialized_end = 4123 - _ENUMSCHEMA_EXTENSIONSENTRY._serialized_start = 954 - _ENUMSCHEMA_EXTENSIONSENTRY._serialized_end = 1027 - _JSONSCHEMA._serialized_start = 4126 - _JSONSCHEMA._serialized_end = 5184 - _JSONSCHEMA_FIELDCONFIGURATION._serialized_start = 4865 - _JSONSCHEMA_FIELDCONFIGURATION._serialized_end = 4910 - _JSONSCHEMA_EXTENSIONSENTRY._serialized_start = 954 - _JSONSCHEMA_EXTENSIONSENTRY._serialized_end = 1027 - _JSONSCHEMA_JSONSCHEMASIMPLETYPES._serialized_start = 4987 - _JSONSCHEMA_JSONSCHEMASIMPLETYPES._serialized_end = 5106 - _TAG._serialized_start = 5187 - _TAG._serialized_end = 5475 - _TAG_EXTENSIONSENTRY._serialized_start = 954 - _TAG_EXTENSIONSENTRY._serialized_end = 1027 - _SECURITYDEFINITIONS._serialized_start = 5478 - _SECURITYDEFINITIONS._serialized_end = 5703 - _SECURITYDEFINITIONS_SECURITYENTRY._serialized_start = 5597 - _SECURITYDEFINITIONS_SECURITYENTRY._serialized_end = 5703 - _SECURITYSCHEME._serialized_start = 5706 - _SECURITYSCHEME._serialized_end = 6506 - _SECURITYSCHEME_EXTENSIONSENTRY._serialized_start = 954 - _SECURITYSCHEME_EXTENSIONSENTRY._serialized_end = 1027 - _SECURITYSCHEME_TYPE._serialized_start = 6272 - _SECURITYSCHEME_TYPE._serialized_end = 6347 - _SECURITYSCHEME_IN._serialized_start = 6349 - _SECURITYSCHEME_IN._serialized_end = 6398 - _SECURITYSCHEME_FLOW._serialized_start = 6400 - _SECURITYSCHEME_FLOW._serialized_end = 6506 - _SECURITYREQUIREMENT._serialized_start = 6509 - _SECURITYREQUIREMENT._serialized_end = 6842 - _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE._serialized_start = 6651 - _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE._serialized_end = 6692 - _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_start = 6695 - _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_end = 6842 - _SCOPES._serialized_start = 6845 - _SCOPES._serialized_end = 6976 - _SCOPES_SCOPEENTRY._serialized_start = 6932 - _SCOPES_SCOPEENTRY._serialized_end = 6976 + _globals["_SWAGGER_RESPONSESENTRY"]._loaded_options = None + _globals["_SWAGGER_RESPONSESENTRY"]._serialized_options = b"8\001" + _globals["_SWAGGER_EXTENSIONSENTRY"]._loaded_options = None + _globals["_SWAGGER_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_OPERATION_RESPONSESENTRY"]._loaded_options = None + _globals["_OPERATION_RESPONSESENTRY"]._serialized_options = b"8\001" + _globals["_OPERATION_EXTENSIONSENTRY"]._loaded_options = None + _globals["_OPERATION_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_RESPONSE_HEADERSENTRY"]._loaded_options = None + _globals["_RESPONSE_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_RESPONSE_EXAMPLESENTRY"]._loaded_options = None + _globals["_RESPONSE_EXAMPLESENTRY"]._serialized_options = b"8\001" + _globals["_RESPONSE_EXTENSIONSENTRY"]._loaded_options = None + _globals["_RESPONSE_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_INFO_EXTENSIONSENTRY"]._loaded_options = None + _globals["_INFO_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._loaded_options = None + _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._loaded_options = None + _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_TAG_EXTENSIONSENTRY"]._loaded_options = None + _globals["_TAG_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._loaded_options = None + _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._serialized_options = b"8\001" + _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._loaded_options = None + _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._serialized_options = b"8\001" + _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY"]._loaded_options = None + _globals[ + "_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY" + ]._serialized_options = b"8\001" + _globals["_SCOPES_SCOPEENTRY"]._loaded_options = None + _globals["_SCOPES_SCOPEENTRY"]._serialized_options = b"8\001" + _globals["_SCHEME"]._serialized_start = 6978 + _globals["_SCHEME"]._serialized_end = 7037 + _globals["_SWAGGER"]._serialized_start = 122 + _globals["_SWAGGER"]._serialized_end = 1039 + _globals["_SWAGGER_RESPONSESENTRY"]._serialized_start = 851 + _globals["_SWAGGER_RESPONSESENTRY"]._serialized_end = 952 + _globals["_SWAGGER_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_SWAGGER_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_OPERATION"]._serialized_start = 1042 + _globals["_OPERATION"]._serialized_end = 1859 + _globals["_OPERATION_RESPONSESENTRY"]._serialized_start = 851 + _globals["_OPERATION_RESPONSESENTRY"]._serialized_end = 952 + _globals["_OPERATION_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_OPERATION_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_PARAMETERS"]._serialized_start = 1861 + _globals["_PARAMETERS"]._serialized_end = 1950 + _globals["_HEADERPARAMETER"]._serialized_start = 1953 + _globals["_HEADERPARAMETER"]._serialized_end = 2201 + _globals["_HEADERPARAMETER_TYPE"]._serialized_start = 2120 + _globals["_HEADERPARAMETER_TYPE"]._serialized_end = 2189 + _globals["_HEADER"]._serialized_start = 2204 + _globals["_HEADER"]._serialized_end = 2375 + _globals["_RESPONSE"]._serialized_start = 2378 + _globals["_RESPONSE"]._serialized_end = 2956 + _globals["_RESPONSE_HEADERSENTRY"]._serialized_start = 2735 + _globals["_RESPONSE_HEADERSENTRY"]._serialized_end = 2832 + _globals["_RESPONSE_EXAMPLESENTRY"]._serialized_start = 2834 + _globals["_RESPONSE_EXAMPLESENTRY"]._serialized_end = 2881 + _globals["_RESPONSE_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_RESPONSE_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_INFO"]._serialized_start = 2959 + _globals["_INFO"]._serialized_end = 3342 + _globals["_INFO_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_INFO_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_CONTACT"]._serialized_start = 3344 + _globals["_CONTACT"]._serialized_end = 3395 + _globals["_LICENSE"]._serialized_start = 3397 + _globals["_LICENSE"]._serialized_end = 3433 + _globals["_EXTERNALDOCUMENTATION"]._serialized_start = 3435 + _globals["_EXTERNALDOCUMENTATION"]._serialized_end = 3492 + _globals["_SCHEMA"]._serialized_start = 3495 + _globals["_SCHEMA"]._serialized_end = 3733 + _globals["_ENUMSCHEMA"]._serialized_start = 3736 + _globals["_ENUMSCHEMA"]._serialized_end = 4123 + _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_JSONSCHEMA"]._serialized_start = 4126 + _globals["_JSONSCHEMA"]._serialized_end = 5184 + _globals["_JSONSCHEMA_FIELDCONFIGURATION"]._serialized_start = 4865 + _globals["_JSONSCHEMA_FIELDCONFIGURATION"]._serialized_end = 4910 + _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_JSONSCHEMA_JSONSCHEMASIMPLETYPES"]._serialized_start = 4987 + _globals["_JSONSCHEMA_JSONSCHEMASIMPLETYPES"]._serialized_end = 5106 + _globals["_TAG"]._serialized_start = 5187 + _globals["_TAG"]._serialized_end = 5475 + _globals["_TAG_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_TAG_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_SECURITYDEFINITIONS"]._serialized_start = 5478 + _globals["_SECURITYDEFINITIONS"]._serialized_end = 5703 + _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._serialized_start = 5597 + _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._serialized_end = 5703 + _globals["_SECURITYSCHEME"]._serialized_start = 5706 + _globals["_SECURITYSCHEME"]._serialized_end = 6506 + _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._serialized_start = 954 + _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._serialized_end = 1027 + _globals["_SECURITYSCHEME_TYPE"]._serialized_start = 6272 + _globals["_SECURITYSCHEME_TYPE"]._serialized_end = 6347 + _globals["_SECURITYSCHEME_IN"]._serialized_start = 6349 + _globals["_SECURITYSCHEME_IN"]._serialized_end = 6398 + _globals["_SECURITYSCHEME_FLOW"]._serialized_start = 6400 + _globals["_SECURITYSCHEME_FLOW"]._serialized_end = 6506 + _globals["_SECURITYREQUIREMENT"]._serialized_start = 6509 + _globals["_SECURITYREQUIREMENT"]._serialized_end = 6842 + _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE"]._serialized_start = 6651 + _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE"]._serialized_end = 6692 + _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY"]._serialized_start = 6695 + _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY"]._serialized_end = 6842 + _globals["_SCOPES"]._serialized_start = 6845 + _globals["_SCOPES"]._serialized_end = 6976 + _globals["_SCOPES_SCOPEENTRY"]._serialized_start = 6932 + _globals["_SCOPES_SCOPEENTRY"]._serialized_end = 6976 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi index 458d881f9..fcb31ee36 100644 --- a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi +++ b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi @@ -28,7 +28,7 @@ class _Scheme: class _SchemeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Scheme.ValueType], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: _Scheme.ValueType # 0 HTTP: _Scheme.ValueType # 1 @@ -46,8 +46,9 @@ HTTP: Scheme.ValueType # 1 HTTPS: Scheme.ValueType # 2 WS: Scheme.ValueType # 3 WSS: Scheme.ValueType # 4 -global___Scheme = Scheme +Global___Scheme: typing_extensions.TypeAlias = Scheme +@typing.final class Swagger(google.protobuf.message.Message): """`Swagger` is a representation of OpenAPI v2 specification's Swagger object. @@ -78,6 +79,7 @@ class Swagger(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ResponsesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -85,21 +87,21 @@ class Swagger(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___Response: ... + def value(self) -> Global___Response: ... def __init__( self, *, key: builtins.str = ..., - value: global___Response | None = ..., + value: Global___Response | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -115,11 +117,10 @@ class Swagger(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SWAGGER_FIELD_NUMBER: builtins.int @@ -140,11 +141,6 @@ class Swagger(google.protobuf.message.Message): used by the OpenAPI UI and other clients to interpret the API listing. The value MUST be "2.0". """ - @property - def info(self) -> global___Info: - """Provides metadata about the API. The metadata can be used by the - clients if needed. - """ host: builtins.str """The host (name or ip) serving the API. This MUST be the host only and does not include the scheme nor sub-paths. It MAY include a port. If the host is @@ -162,16 +158,23 @@ class Swagger(google.protobuf.message.Message): manually removed from your `google.api.http` paths and your code changed to serve the API from the `base_path`. """ + @property + def info(self) -> Global___Info: + """Provides metadata about the API. The metadata can be used by the + clients if needed. + """ + @property def schemes( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - global___Scheme.ValueType + Global___Scheme.ValueType ]: """The transfer protocol of the API. Values MUST be from the list: "http", "https", "ws", "wss". If the schemes is not included, the default scheme to be used is the one used to access the OpenAPI definition itself. """ + @property def consumes( self, @@ -180,6 +183,7 @@ class Swagger(google.protobuf.message.Message): can be overridden on specific API calls. Value MUST be as described under Mime Types. """ + @property def produces( self, @@ -188,41 +192,47 @@ class Swagger(google.protobuf.message.Message): can be overridden on specific API calls. Value MUST be as described under Mime Types. """ + @property def responses( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Response + builtins.str, Global___Response ]: """An object to hold responses that can be used across operations. This property does not define global responses for all operations. """ + @property - def security_definitions(self) -> global___SecurityDefinitions: + def security_definitions(self) -> Global___SecurityDefinitions: """Security scheme definitions that can be used across the specification.""" + @property def security( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___SecurityRequirement + Global___SecurityRequirement ]: """A declaration of which security schemes are applied for the API as a whole. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). Individual operations can override this definition. """ + @property def tags( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Tag + Global___Tag ]: """A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier. """ + @property - def external_docs(self) -> global___ExternalDocumentation: + def external_docs(self) -> Global___ExternalDocumentation: """Additional external documentation.""" + @property def extensions( self, @@ -233,22 +243,23 @@ class Swagger(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + def __init__( self, *, swagger: builtins.str = ..., - info: global___Info | None = ..., + info: Global___Info | None = ..., host: builtins.str = ..., base_path: builtins.str = ..., - schemes: collections.abc.Iterable[global___Scheme.ValueType] | None = ..., + schemes: collections.abc.Iterable[Global___Scheme.ValueType] | None = ..., consumes: collections.abc.Iterable[builtins.str] | None = ..., produces: collections.abc.Iterable[builtins.str] | None = ..., - responses: collections.abc.Mapping[builtins.str, global___Response] + responses: collections.abc.Mapping[builtins.str, Global___Response] | None = ..., - security_definitions: global___SecurityDefinitions | None = ..., - security: collections.abc.Iterable[global___SecurityRequirement] | None = ..., - tags: collections.abc.Iterable[global___Tag] | None = ..., - external_docs: global___ExternalDocumentation | None = ..., + security_definitions: Global___SecurityDefinitions | None = ..., + security: collections.abc.Iterable[Global___SecurityRequirement] | None = ..., + tags: collections.abc.Iterable[Global___Tag] | None = ..., + external_docs: Global___ExternalDocumentation | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] @@ -256,7 +267,7 @@ class Swagger(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external_docs", b"external_docs", "info", @@ -267,7 +278,7 @@ class Swagger(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "base_path", b"base_path", "consumes", @@ -297,8 +308,9 @@ class Swagger(google.protobuf.message.Message): ], ) -> None: ... -global___Swagger = Swagger +Global___Swagger: typing_extensions.TypeAlias = Swagger +@typing.final class Operation(google.protobuf.message.Message): """`Operation` is a representation of OpenAPI v2 specification's Operation object. @@ -329,6 +341,7 @@ class Operation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ResponsesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -336,21 +349,21 @@ class Operation(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___Response: ... + def value(self) -> Global___Response: ... def __init__( self, *, key: builtins.str = ..., - value: global___Response | None = ..., + value: Global___Response | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -366,11 +379,10 @@ class Operation(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... TAGS_FIELD_NUMBER: builtins.int @@ -386,13 +398,6 @@ class Operation(google.protobuf.message.Message): SECURITY_FIELD_NUMBER: builtins.int EXTENSIONS_FIELD_NUMBER: builtins.int PARAMETERS_FIELD_NUMBER: builtins.int - @property - def tags( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """A list of tags for API documentation control. Tags can be used for logical - grouping of operations by resources or any other qualifier. - """ summary: builtins.str """A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters. @@ -401,15 +406,28 @@ class Operation(google.protobuf.message.Message): """A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation. """ - @property - def external_docs(self) -> global___ExternalDocumentation: - """Additional external documentation for this operation.""" operation_id: builtins.str """Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions. """ + deprecated: builtins.bool + """Declares this operation to be deprecated. Usage of the declared operation + should be refrained. Default value is false. + """ + @property + def tags( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """A list of tags for API documentation control. Tags can be used for logical + grouping of operations by resources or any other qualifier. + """ + + @property + def external_docs(self) -> Global___ExternalDocumentation: + """Additional external documentation for this operation.""" + @property def consumes( self, @@ -418,6 +436,7 @@ class Operation(google.protobuf.message.Message): definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types. """ + @property def produces( self, @@ -426,34 +445,33 @@ class Operation(google.protobuf.message.Message): definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types. """ + @property def responses( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___Response + builtins.str, Global___Response ]: """The list of possible responses as they are returned from executing this operation. """ + @property def schemes( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - global___Scheme.ValueType + Global___Scheme.ValueType ]: """The transfer protocol for the operation. Values MUST be from the list: "http", "https", "ws", "wss". The value overrides the OpenAPI Object schemes definition. """ - deprecated: builtins.bool - """Declares this operation to be deprecated. Usage of the declared operation - should be refrained. Default value is false. - """ + @property def security( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___SecurityRequirement + Global___SecurityRequirement ]: """A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used @@ -461,6 +479,7 @@ class Operation(google.protobuf.message.Message): definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used. """ + @property def extensions( self, @@ -471,42 +490,44 @@ class Operation(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + @property - def parameters(self) -> global___Parameters: + def parameters(self) -> Global___Parameters: """Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object. """ + def __init__( self, *, tags: collections.abc.Iterable[builtins.str] | None = ..., summary: builtins.str = ..., description: builtins.str = ..., - external_docs: global___ExternalDocumentation | None = ..., + external_docs: Global___ExternalDocumentation | None = ..., operation_id: builtins.str = ..., consumes: collections.abc.Iterable[builtins.str] | None = ..., produces: collections.abc.Iterable[builtins.str] | None = ..., - responses: collections.abc.Mapping[builtins.str, global___Response] + responses: collections.abc.Mapping[builtins.str, Global___Response] | None = ..., - schemes: collections.abc.Iterable[global___Scheme.ValueType] | None = ..., + schemes: collections.abc.Iterable[Global___Scheme.ValueType] | None = ..., deprecated: builtins.bool = ..., - security: collections.abc.Iterable[global___SecurityRequirement] | None = ..., + security: collections.abc.Iterable[Global___SecurityRequirement] | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., - parameters: global___Parameters | None = ..., + parameters: Global___Parameters | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external_docs", b"external_docs", "parameters", b"parameters" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "consumes", b"consumes", "deprecated", @@ -536,8 +557,9 @@ class Operation(google.protobuf.message.Message): ], ) -> None: ... -global___Operation = Operation +Global___Operation: typing_extensions.TypeAlias = Operation +@typing.final class Parameters(google.protobuf.message.Message): """`Parameters` is a representation of OpenAPI v2 specification's parameters object. Note: This technically breaks compatibility with the OpenAPI 2 definition structure as we only @@ -553,22 +575,22 @@ class Parameters(google.protobuf.message.Message): def headers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___HeaderParameter + Global___HeaderParameter ]: """`Headers` is one or more HTTP header parameter. See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters """ + def __init__( self, *, - headers: collections.abc.Iterable[global___HeaderParameter] | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["headers", b"headers"] + headers: collections.abc.Iterable[Global___HeaderParameter] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["headers", b"headers"]) -> None: ... -global___Parameters = Parameters +Global___Parameters: typing_extensions.TypeAlias = Parameters +@typing.final class HeaderParameter(google.protobuf.message.Message): """`HeaderParameter` a HTTP header parameter. See: https://swagger.io/specification/v2/#parameter-object @@ -585,7 +607,7 @@ class HeaderParameter(google.protobuf.message.Message): HeaderParameter._Type.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: HeaderParameter._Type.ValueType # 0 STRING: HeaderParameter._Type.ValueType # 1 @@ -613,7 +635,7 @@ class HeaderParameter(google.protobuf.message.Message): """`Name` is the header name.""" description: builtins.str """`Description` is a short description of the header.""" - type: global___HeaderParameter.Type.ValueType + type: Global___HeaderParameter.Type.ValueType """`Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. See: https://swagger.io/specification/v2/#parameterType. """ @@ -626,13 +648,13 @@ class HeaderParameter(google.protobuf.message.Message): *, name: builtins.str = ..., description: builtins.str = ..., - type: global___HeaderParameter.Type.ValueType = ..., + type: Global___HeaderParameter.Type.ValueType = ..., format: builtins.str = ..., required: builtins.bool = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "format", @@ -646,8 +668,9 @@ class HeaderParameter(google.protobuf.message.Message): ], ) -> None: ... -global___HeaderParameter = HeaderParameter +Global___HeaderParameter: typing_extensions.TypeAlias = HeaderParameter +@typing.final class Header(google.protobuf.message.Message): """`Header` is a representation of OpenAPI v2 specification's Header object. @@ -685,7 +708,7 @@ class Header(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "default", b"default", "description", @@ -699,8 +722,9 @@ class Header(google.protobuf.message.Message): ], ) -> None: ... -global___Header = Header +Global___Header: typing_extensions.TypeAlias = Header +@typing.final class Response(google.protobuf.message.Message): """`Response` is a representation of OpenAPI v2 specification's Response object. @@ -709,6 +733,7 @@ class Response(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -716,21 +741,21 @@ class Response(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___Header: ... + def value(self) -> Global___Header: ... def __init__( self, *, key: builtins.str = ..., - value: global___Header | None = ..., + value: Global___Header | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class ExamplesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -745,10 +770,10 @@ class Response(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -764,11 +789,10 @@ class Response(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int @@ -781,18 +805,20 @@ class Response(google.protobuf.message.Message): GFM syntax can be used for rich text representation. """ @property - def schema(self) -> global___Schema: + def schema(self) -> Global___Schema: """`Schema` optionally defines the structure of the response. If `Schema` is not provided, it means there is no content to the response. """ + @property def headers( self, - ) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Header]: + ) -> google.protobuf.internal.containers.MessageMap[builtins.str, Global___Header]: """`Headers` A list of headers that are sent with the response. `Header` name is expected to be a string in the canonical format of the MIME header key See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey """ + @property def examples( self, @@ -800,6 +826,7 @@ class Response(google.protobuf.message.Message): """`Examples` gives per-mimetype response examples. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object """ + @property def extensions( self, @@ -810,12 +837,13 @@ class Response(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + def __init__( self, *, description: builtins.str = ..., - schema: global___Schema | None = ..., - headers: collections.abc.Mapping[builtins.str, global___Header] | None = ..., + schema: Global___Schema | None = ..., + headers: collections.abc.Mapping[builtins.str, Global___Header] | None = ..., examples: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value @@ -823,11 +851,11 @@ class Response(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["schema", b"schema"] + self, field_name: typing.Literal["schema", b"schema"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "examples", @@ -841,8 +869,9 @@ class Response(google.protobuf.message.Message): ], ) -> None: ... -global___Response = Response +Global___Response: typing_extensions.TypeAlias = Response +@typing.final class Info(google.protobuf.message.Message): """`Info` is a representation of OpenAPI v2 specification's Info object. @@ -871,6 +900,7 @@ class Info(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -886,11 +916,10 @@ class Info(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... TITLE_FIELD_NUMBER: builtins.int @@ -908,16 +937,18 @@ class Info(google.protobuf.message.Message): """ terms_of_service: builtins.str """The Terms of Service for the API.""" - @property - def contact(self) -> global___Contact: - """The contact information for the exposed API.""" - @property - def license(self) -> global___License: - """The license information for the exposed API.""" version: builtins.str """Provides the version of the application API (not to be confused with the specification version). """ + @property + def contact(self) -> Global___Contact: + """The contact information for the exposed API.""" + + @property + def license(self) -> Global___License: + """The license information for the exposed API.""" + @property def extensions( self, @@ -928,14 +959,15 @@ class Info(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + def __init__( self, *, title: builtins.str = ..., description: builtins.str = ..., terms_of_service: builtins.str = ..., - contact: global___Contact | None = ..., - license: global___License | None = ..., + contact: Global___Contact | None = ..., + license: Global___License | None = ..., version: builtins.str = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value @@ -943,14 +975,11 @@ class Info(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "contact", b"contact", "license", b"license" - ], + self, field_name: typing.Literal["contact", b"contact", "license", b"license"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "contact", b"contact", "description", @@ -968,8 +997,9 @@ class Info(google.protobuf.message.Message): ], ) -> None: ... -global___Info = Info +Global___Info: typing_extensions.TypeAlias = Info +@typing.final class Contact(google.protobuf.message.Message): """`Contact` is a representation of OpenAPI v2 specification's Contact object. @@ -1015,13 +1045,12 @@ class Contact(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "email", b"email", "name", b"name", "url", b"url" - ], + field_name: typing.Literal["email", b"email", "name", b"name", "url", b"url"], ) -> None: ... -global___Contact = Contact +Global___Contact: typing_extensions.TypeAlias = Contact +@typing.final class License(google.protobuf.message.Message): """`License` is a representation of OpenAPI v2 specification's License object. @@ -1057,11 +1086,12 @@ class License(google.protobuf.message.Message): url: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["name", b"name", "url", b"url"] + self, field_name: typing.Literal["name", b"name", "url", b"url"] ) -> None: ... -global___License = License +Global___License: typing_extensions.TypeAlias = License +@typing.final class ExternalDocumentation(google.protobuf.message.Message): """`ExternalDocumentation` is a representation of OpenAPI v2 specification's ExternalDocumentation object. @@ -1099,14 +1129,12 @@ class ExternalDocumentation(google.protobuf.message.Message): url: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "description", b"description", "url", b"url" - ], + self, field_name: typing.Literal["description", b"description", "url", b"url"] ) -> None: ... -global___ExternalDocumentation = ExternalDocumentation +Global___ExternalDocumentation: typing_extensions.TypeAlias = ExternalDocumentation +@typing.final class Schema(google.protobuf.message.Message): """`Schema` is a representation of OpenAPI v2 specification's Schema object. @@ -1120,8 +1148,6 @@ class Schema(google.protobuf.message.Message): READ_ONLY_FIELD_NUMBER: builtins.int EXTERNAL_DOCS_FIELD_NUMBER: builtins.int EXAMPLE_FIELD_NUMBER: builtins.int - @property - def json_schema(self) -> global___JSONSchema: ... discriminator: builtins.str """Adds support for polymorphism. The discriminator is the schema property name that is used to differentiate between other schema that inherit this @@ -1136,31 +1162,34 @@ class Schema(google.protobuf.message.Message): true SHOULD NOT be in the required list of the defined schema. Default value is false. """ - @property - def external_docs(self) -> global___ExternalDocumentation: - """Additional external documentation for this schema.""" example: builtins.str """A free-form property to include an example of an instance for this schema in JSON. This is copied verbatim to the output. """ + @property + def json_schema(self) -> Global___JSONSchema: ... + @property + def external_docs(self) -> Global___ExternalDocumentation: + """Additional external documentation for this schema.""" + def __init__( self, *, - json_schema: global___JSONSchema | None = ..., + json_schema: Global___JSONSchema | None = ..., discriminator: builtins.str = ..., read_only: builtins.bool = ..., - external_docs: global___ExternalDocumentation | None = ..., + external_docs: Global___ExternalDocumentation | None = ..., example: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external_docs", b"external_docs", "json_schema", b"json_schema" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "discriminator", b"discriminator", "example", @@ -1174,8 +1203,9 @@ class Schema(google.protobuf.message.Message): ], ) -> None: ... -global___Schema = Schema +Global___Schema: typing_extensions.TypeAlias = Schema +@typing.final class EnumSchema(google.protobuf.message.Message): """`EnumSchema` is subset of fields from the OpenAPI v2 specification's Schema object. Only fields that are applicable to Enums are included @@ -1195,6 +1225,7 @@ class EnumSchema(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1210,11 +1241,10 @@ class EnumSchema(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int @@ -1233,9 +1263,6 @@ class EnumSchema(google.protobuf.message.Message): """The title of the schema.""" required: builtins.bool read_only: builtins.bool - @property - def external_docs(self) -> global___ExternalDocumentation: - """Additional external documentation for this schema.""" example: builtins.str ref: builtins.str """Ref is used to define an external reference to include in the message. @@ -1245,6 +1272,10 @@ class EnumSchema(google.protobuf.message.Message): For example: `ref: ".google.protobuf.Timestamp"`. """ + @property + def external_docs(self) -> Global___ExternalDocumentation: + """Additional external documentation for this schema.""" + @property def extensions( self, @@ -1255,6 +1286,7 @@ class EnumSchema(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + def __init__( self, *, @@ -1263,7 +1295,7 @@ class EnumSchema(google.protobuf.message.Message): title: builtins.str = ..., required: builtins.bool = ..., read_only: builtins.bool = ..., - external_docs: global___ExternalDocumentation | None = ..., + external_docs: Global___ExternalDocumentation | None = ..., example: builtins.str = ..., ref: builtins.str = ..., extensions: collections.abc.Mapping[ @@ -1272,11 +1304,11 @@ class EnumSchema(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["external_docs", b"external_docs"] + self, field_name: typing.Literal["external_docs", b"external_docs"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "default", b"default", "description", @@ -1298,8 +1330,9 @@ class EnumSchema(google.protobuf.message.Message): ], ) -> None: ... -global___EnumSchema = EnumSchema +Global___EnumSchema: typing_extensions.TypeAlias = EnumSchema +@typing.final class JSONSchema(google.protobuf.message.Message): """`JSONSchema` represents properties from JSON Schema taken, and as used, in the OpenAPI v2 spec. @@ -1341,7 +1374,7 @@ class JSONSchema(google.protobuf.message.Message): JSONSchema._JSONSchemaSimpleTypes.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: JSONSchema._JSONSchemaSimpleTypes.ValueType # 0 ARRAY: JSONSchema._JSONSchemaSimpleTypes.ValueType # 1 @@ -1364,6 +1397,7 @@ class JSONSchema(google.protobuf.message.Message): OBJECT: JSONSchema.JSONSchemaSimpleTypes.ValueType # 6 STRING: JSONSchema.JSONSchemaSimpleTypes.ValueType # 7 + @typing.final class FieldConfiguration(google.protobuf.message.Message): """'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file. These properties are not defined by OpenAPIv2, but they are used to control the generation. @@ -1384,12 +1418,10 @@ class JSONSchema(google.protobuf.message.Message): path_param_name: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "path_param_name", b"path_param_name" - ], + self, field_name: typing.Literal["path_param_name", b"path_param_name"] ) -> None: ... + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1405,11 +1437,10 @@ class JSONSchema(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... REF_FIELD_NUMBER: builtins.int @@ -1476,6 +1507,8 @@ class JSONSchema(google.protobuf.message.Message): unique_items: builtins.bool max_properties: builtins.int min_properties: builtins.int + format: builtins.str + """`Format`""" @property def required( self, @@ -1487,22 +1520,23 @@ class JSONSchema(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Items in 'array' must be unique.""" + @property def type( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - global___JSONSchema.JSONSchemaSimpleTypes.ValueType + Global___JSONSchema.JSONSchemaSimpleTypes.ValueType ]: ... - format: builtins.str - """`Format`""" @property def enum( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1""" + @property - def field_configuration(self) -> global___JSONSchema.FieldConfiguration: + def field_configuration(self) -> Global___JSONSchema.FieldConfiguration: """Additional field level properties used when generating the OpenAPI v2 file.""" + @property def extensions( self, @@ -1513,6 +1547,7 @@ class JSONSchema(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + def __init__( self, *, @@ -1538,26 +1573,23 @@ class JSONSchema(google.protobuf.message.Message): required: collections.abc.Iterable[builtins.str] | None = ..., array: collections.abc.Iterable[builtins.str] | None = ..., type: collections.abc.Iterable[ - global___JSONSchema.JSONSchemaSimpleTypes.ValueType + Global___JSONSchema.JSONSchemaSimpleTypes.ValueType ] | None = ..., format: builtins.str = ..., enum: collections.abc.Iterable[builtins.str] | None = ..., - field_configuration: global___JSONSchema.FieldConfiguration | None = ..., + field_configuration: Global___JSONSchema.FieldConfiguration | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "field_configuration", b"field_configuration" - ], + self, field_name: typing.Literal["field_configuration", b"field_configuration"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "array", b"array", "default", @@ -1613,8 +1645,9 @@ class JSONSchema(google.protobuf.message.Message): ], ) -> None: ... -global___JSONSchema = JSONSchema +Global___JSONSchema: typing_extensions.TypeAlias = JSONSchema +@typing.final class Tag(google.protobuf.message.Message): """`Tag` is a representation of OpenAPI v2 specification's Tag object. @@ -1623,6 +1656,7 @@ class Tag(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1638,11 +1672,10 @@ class Tag(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAME_FIELD_NUMBER: builtins.int @@ -1659,8 +1692,9 @@ class Tag(google.protobuf.message.Message): representation. """ @property - def external_docs(self) -> global___ExternalDocumentation: + def external_docs(self) -> Global___ExternalDocumentation: """Additional external documentation for this tag.""" + @property def extensions( self, @@ -1671,23 +1705,24 @@ class Tag(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + def __init__( self, *, name: builtins.str = ..., description: builtins.str = ..., - external_docs: global___ExternalDocumentation | None = ..., + external_docs: Global___ExternalDocumentation | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["external_docs", b"external_docs"] + self, field_name: typing.Literal["external_docs", b"external_docs"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "extensions", @@ -1699,8 +1734,9 @@ class Tag(google.protobuf.message.Message): ], ) -> None: ... -global___Tag = Tag +Global___Tag: typing_extensions.TypeAlias = Tag +@typing.final class SecurityDefinitions(google.protobuf.message.Message): """`SecurityDefinitions` is a representation of OpenAPI v2 specification's Security Definitions object. @@ -1714,6 +1750,7 @@ class SecurityDefinitions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class SecurityEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1721,19 +1758,18 @@ class SecurityDefinitions(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___SecurityScheme: ... + def value(self) -> Global___SecurityScheme: ... def __init__( self, *, key: builtins.str = ..., - value: global___SecurityScheme | None = ..., + value: Global___SecurityScheme | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SECURITY_FIELD_NUMBER: builtins.int @@ -1741,23 +1777,25 @@ class SecurityDefinitions(google.protobuf.message.Message): def security( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___SecurityScheme + builtins.str, Global___SecurityScheme ]: """A single security scheme definition, mapping a "name" to the scheme it defines. """ + def __init__( self, *, - security: collections.abc.Mapping[builtins.str, global___SecurityScheme] + security: collections.abc.Mapping[builtins.str, Global___SecurityScheme] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["security", b"security"] + self, field_name: typing.Literal["security", b"security"] ) -> None: ... -global___SecurityDefinitions = SecurityDefinitions +Global___SecurityDefinitions: typing_extensions.TypeAlias = SecurityDefinitions +@typing.final class SecurityScheme(google.protobuf.message.Message): """`SecurityScheme` is a representation of OpenAPI v2 specification's Security Scheme object. @@ -1781,7 +1819,7 @@ class SecurityScheme(google.protobuf.message.Message): SecurityScheme._Type.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TYPE_INVALID: SecurityScheme._Type.ValueType # 0 TYPE_BASIC: SecurityScheme._Type.ValueType # 1 @@ -1807,7 +1845,7 @@ class SecurityScheme(google.protobuf.message.Message): SecurityScheme._In.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor IN_INVALID: SecurityScheme._In.ValueType # 0 IN_QUERY: SecurityScheme._In.ValueType # 1 @@ -1829,7 +1867,7 @@ class SecurityScheme(google.protobuf.message.Message): SecurityScheme._Flow.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor FLOW_INVALID: SecurityScheme._Flow.ValueType # 0 FLOW_IMPLICIT: SecurityScheme._Flow.ValueType # 1 @@ -1848,6 +1886,7 @@ class SecurityScheme(google.protobuf.message.Message): FLOW_APPLICATION: SecurityScheme.Flow.ValueType # 3 FLOW_ACCESS_CODE: SecurityScheme.Flow.ValueType # 4 + @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1863,11 +1902,10 @@ class SecurityScheme(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... TYPE_FIELD_NUMBER: builtins.int @@ -1879,7 +1917,7 @@ class SecurityScheme(google.protobuf.message.Message): TOKEN_URL_FIELD_NUMBER: builtins.int SCOPES_FIELD_NUMBER: builtins.int EXTENSIONS_FIELD_NUMBER: builtins.int - type: global___SecurityScheme.Type.ValueType + type: Global___SecurityScheme.Type.ValueType """The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2". """ @@ -1889,7 +1927,7 @@ class SecurityScheme(google.protobuf.message.Message): """The name of the header or query parameter to be used. Valid for apiKey. """ - flow: global___SecurityScheme.Flow.ValueType + flow: Global___SecurityScheme.Flow.ValueType """The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2. @@ -1905,10 +1943,11 @@ class SecurityScheme(google.protobuf.message.Message): Valid for oauth2/password, oauth2/application and oauth2/accessCode. """ @property - def scopes(self) -> global___Scopes: + def scopes(self) -> Global___Scopes: """The available scopes for the OAuth2 security scheme. Valid for oauth2. """ + @property def extensions( self, @@ -1919,27 +1958,28 @@ class SecurityScheme(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ + def __init__( self, *, - type: global___SecurityScheme.Type.ValueType = ..., + type: Global___SecurityScheme.Type.ValueType = ..., description: builtins.str = ..., name: builtins.str = ..., - flow: global___SecurityScheme.Flow.ValueType = ..., + flow: Global___SecurityScheme.Flow.ValueType = ..., authorization_url: builtins.str = ..., token_url: builtins.str = ..., - scopes: global___Scopes | None = ..., + scopes: Global___Scopes | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["scopes", b"scopes"] + self, field_name: typing.Literal["scopes", b"scopes"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "authorization_url", b"authorization_url", "description", @@ -1961,8 +2001,9 @@ class SecurityScheme(google.protobuf.message.Message): ], ) -> None: ... -global___SecurityScheme = SecurityScheme +Global___SecurityScheme: typing_extensions.TypeAlias = SecurityScheme +@typing.final class SecurityRequirement(google.protobuf.message.Message): """`SecurityRequirement` is a representation of OpenAPI v2 specification's Security Requirement object. @@ -1979,6 +2020,7 @@ class SecurityRequirement(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class SecurityRequirementValue(google.protobuf.message.Message): """If the security scheme is of type "oauth2", then the value is a list of scope names required for the execution. For other security scheme types, @@ -1999,10 +2041,9 @@ class SecurityRequirement(google.protobuf.message.Message): *, scope: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["scope", b"scope"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["scope", b"scope"]) -> None: ... + @typing.final class SecurityRequirementEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2010,19 +2051,18 @@ class SecurityRequirement(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___SecurityRequirement.SecurityRequirementValue: ... + def value(self) -> Global___SecurityRequirement.SecurityRequirementValue: ... def __init__( self, *, key: builtins.str = ..., - value: global___SecurityRequirement.SecurityRequirementValue | None = ..., + value: Global___SecurityRequirement.SecurityRequirementValue | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SECURITY_REQUIREMENT_FIELD_NUMBER: builtins.int @@ -2030,30 +2070,30 @@ class SecurityRequirement(google.protobuf.message.Message): def security_requirement( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___SecurityRequirement.SecurityRequirementValue + builtins.str, Global___SecurityRequirement.SecurityRequirementValue ]: """Each name must correspond to a security scheme which is declared in the Security Definitions. If the security scheme is of type "oauth2", then the value is a list of scope names required for the execution. For other security scheme types, the array MUST be empty. """ + def __init__( self, *, security_requirement: collections.abc.Mapping[ - builtins.str, global___SecurityRequirement.SecurityRequirementValue + builtins.str, Global___SecurityRequirement.SecurityRequirementValue ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "security_requirement", b"security_requirement" - ], + field_name: typing.Literal["security_requirement", b"security_requirement"], ) -> None: ... -global___SecurityRequirement = SecurityRequirement +Global___SecurityRequirement: typing_extensions.TypeAlias = SecurityRequirement +@typing.final class Scopes(google.protobuf.message.Message): """`Scopes` is a representation of OpenAPI v2 specification's Scopes object. @@ -2064,6 +2104,7 @@ class Scopes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ScopeEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2078,8 +2119,7 @@ class Scopes(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SCOPE_FIELD_NUMBER: builtins.int @@ -2090,13 +2130,12 @@ class Scopes(google.protobuf.message.Message): """Maps between a name of a scope to a short description of it (as the value of the property). """ + def __init__( self, *, scope: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["scope", b"scope"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["scope", b"scope"]) -> None: ... -global___Scopes = Scopes +Global___Scopes: typing_extensions.TypeAlias = Scopes diff --git a/temporalio/api/deployment/v1/__init__.py b/temporalio/api/deployment/v1/__init__.py index 22f3e77e5..2abc00d31 100644 --- a/temporalio/api/deployment/v1/__init__.py +++ b/temporalio/api/deployment/v1/__init__.py @@ -1,4 +1,5 @@ from .message_pb2 import ( + ComputeStatus, Deployment, DeploymentInfo, DeploymentListInfo, @@ -14,6 +15,7 @@ ) __all__ = [ + "ComputeStatus", "Deployment", "DeploymentInfo", "DeploymentListInfo", diff --git a/temporalio/api/deployment/v1/message_pb2.py b/temporalio/api/deployment/v1/message_pb2.py index 08914a31f..8fcce75b0 100644 --- a/temporalio/api/deployment/v1/message_pb2.py +++ b/temporalio/api/deployment/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/deployment/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/deployment/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,285 +43,91 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/compute/v1/config.proto"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08"\xad\x08\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x12>\n\x0e\x63ompute_config\x18\x10 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x1e\n\x16last_modifier_identity\x18\x11 \x01(\t\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xc1\t\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x12\x18\n\x10manager_identity\x18\x06 \x01(\t\x12T\n\x1brouting_config_update_state\x18\x07 \x01(\x0e\x32/.temporal.api.enums.v1.RoutingConfigUpdateState\x1a\xaa\x06\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0e\x63ompute_config\x18\r \x01(\x0b\x32-.temporal.api.compute.v1.ComputeConfigSummary"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x89\x04\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0frevision_number\x18\n \x01(\x03"\x8a\x02\n\x18InheritedAutoUpgradeInfo\x12V\n\x19source_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12)\n!source_deployment_revision_number\x18\x02 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\x03 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehaviorB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3' -) - - -_WORKERDEPLOYMENTOPTIONS = DESCRIPTOR.message_types_by_name["WorkerDeploymentOptions"] -_DEPLOYMENT = DESCRIPTOR.message_types_by_name["Deployment"] -_DEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["DeploymentInfo"] -_DEPLOYMENTINFO_METADATAENTRY = _DEPLOYMENTINFO.nested_types_by_name["MetadataEntry"] -_DEPLOYMENTINFO_TASKQUEUEINFO = _DEPLOYMENTINFO.nested_types_by_name["TaskQueueInfo"] -_UPDATEDEPLOYMENTMETADATA = DESCRIPTOR.message_types_by_name["UpdateDeploymentMetadata"] -_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY = ( - _UPDATEDEPLOYMENTMETADATA.nested_types_by_name["UpsertEntriesEntry"] -) -_DEPLOYMENTLISTINFO = DESCRIPTOR.message_types_by_name["DeploymentListInfo"] -_WORKERDEPLOYMENTVERSIONINFO = DESCRIPTOR.message_types_by_name[ - "WorkerDeploymentVersionInfo" -] -_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO = ( - _WORKERDEPLOYMENTVERSIONINFO.nested_types_by_name["VersionTaskQueueInfo"] -) -_VERSIONDRAINAGEINFO = DESCRIPTOR.message_types_by_name["VersionDrainageInfo"] -_WORKERDEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["WorkerDeploymentInfo"] -_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY = ( - _WORKERDEPLOYMENTINFO.nested_types_by_name["WorkerDeploymentVersionSummary"] -) -_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] -_VERSIONMETADATA = DESCRIPTOR.message_types_by_name["VersionMetadata"] -_VERSIONMETADATA_ENTRIESENTRY = _VERSIONMETADATA.nested_types_by_name["EntriesEntry"] -_ROUTINGCONFIG = DESCRIPTOR.message_types_by_name["RoutingConfig"] -_INHERITEDAUTOUPGRADEINFO = DESCRIPTOR.message_types_by_name["InheritedAutoUpgradeInfo"] -WorkerDeploymentOptions = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentOptions", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTOPTIONS, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentOptions) - }, -) -_sym_db.RegisterMessage(WorkerDeploymentOptions) - -Deployment = _reflection.GeneratedProtocolMessageType( - "Deployment", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENT, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.Deployment) - }, -) -_sym_db.RegisterMessage(Deployment) - -DeploymentInfo = _reflection.GeneratedProtocolMessageType( - "DeploymentInfo", - (_message.Message,), - { - "MetadataEntry": _reflection.GeneratedProtocolMessageType( - "MetadataEntry", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTINFO_METADATAENTRY, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.MetadataEntry) - }, - ), - "TaskQueueInfo": _reflection.GeneratedProtocolMessageType( - "TaskQueueInfo", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTINFO_TASKQUEUEINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo) - }, - ), - "DESCRIPTOR": _DEPLOYMENTINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo) - }, -) -_sym_db.RegisterMessage(DeploymentInfo) -_sym_db.RegisterMessage(DeploymentInfo.MetadataEntry) -_sym_db.RegisterMessage(DeploymentInfo.TaskQueueInfo) - -UpdateDeploymentMetadata = _reflection.GeneratedProtocolMessageType( - "UpdateDeploymentMetadata", - (_message.Message,), - { - "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( - "UpsertEntriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry) - }, - ), - "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata) - }, -) -_sym_db.RegisterMessage(UpdateDeploymentMetadata) -_sym_db.RegisterMessage(UpdateDeploymentMetadata.UpsertEntriesEntry) - -DeploymentListInfo = _reflection.GeneratedProtocolMessageType( - "DeploymentListInfo", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTLISTINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentListInfo) - }, -) -_sym_db.RegisterMessage(DeploymentListInfo) - -WorkerDeploymentVersionInfo = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersionInfo", - (_message.Message,), - { - "VersionTaskQueueInfo": _reflection.GeneratedProtocolMessageType( - "VersionTaskQueueInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo) - }, - ), - "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo) - }, -) -_sym_db.RegisterMessage(WorkerDeploymentVersionInfo) -_sym_db.RegisterMessage(WorkerDeploymentVersionInfo.VersionTaskQueueInfo) - -VersionDrainageInfo = _reflection.GeneratedProtocolMessageType( - "VersionDrainageInfo", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONDRAINAGEINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionDrainageInfo) - }, -) -_sym_db.RegisterMessage(VersionDrainageInfo) - -WorkerDeploymentInfo = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentInfo", - (_message.Message,), - { - "WorkerDeploymentVersionSummary": _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersionSummary", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary) - }, - ), - "DESCRIPTOR": _WORKERDEPLOYMENTINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo) - }, -) -_sym_db.RegisterMessage(WorkerDeploymentInfo) -_sym_db.RegisterMessage(WorkerDeploymentInfo.WorkerDeploymentVersionSummary) - -WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersion", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersion) - }, -) -_sym_db.RegisterMessage(WorkerDeploymentVersion) - -VersionMetadata = _reflection.GeneratedProtocolMessageType( - "VersionMetadata", - (_message.Message,), - { - "EntriesEntry": _reflection.GeneratedProtocolMessageType( - "EntriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONMETADATA_ENTRIESENTRY, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata.EntriesEntry) - }, - ), - "DESCRIPTOR": _VERSIONMETADATA, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata) - }, -) -_sym_db.RegisterMessage(VersionMetadata) -_sym_db.RegisterMessage(VersionMetadata.EntriesEntry) - -RoutingConfig = _reflection.GeneratedProtocolMessageType( - "RoutingConfig", - (_message.Message,), - { - "DESCRIPTOR": _ROUTINGCONFIG, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.RoutingConfig) - }, -) -_sym_db.RegisterMessage(RoutingConfig) - -InheritedAutoUpgradeInfo = _reflection.GeneratedProtocolMessageType( - "InheritedAutoUpgradeInfo", - (_message.Message,), - { - "DESCRIPTOR": _INHERITEDAUTOUPGRADEINFO, - "__module__": "temporalio.api.deployment.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.InheritedAutoUpgradeInfo) - }, -) -_sym_db.RegisterMessage(InheritedAutoUpgradeInfo) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1" - _DEPLOYMENTINFO_METADATAENTRY._options = None - _DEPLOYMENTINFO_METADATAENTRY._serialized_options = b"8\001" - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._options = None - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_options = b"8\001" - _WORKERDEPLOYMENTVERSIONINFO.fields_by_name["version"]._options = None - _WORKERDEPLOYMENTVERSIONINFO.fields_by_name[ + b'\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/compute/v1/config.proto"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08"\xad\x08\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x12>\n\x0e\x63ompute_config\x18\x10 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x1e\n\x16last_modifier_identity\x18\x11 \x01(\t\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xd8\x01\n\rComputeStatus\x12_\n\x13provider_validation\x18\x01 \x01(\x0b\x32\x42.temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus\x1a\x66\n\x18ProviderValidationStatus\x12\x15\n\rerror_message\x18\x01 \x01(\t\x12\x33\n\x0flast_check_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x84\n\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x12\x18\n\x10manager_identity\x18\x06 \x01(\t\x12T\n\x1brouting_config_update_state\x18\x07 \x01(\x0e\x32/.temporal.api.enums.v1.RoutingConfigUpdateState\x1a\xed\x06\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0e\x63ompute_config\x18\r \x01(\x0b\x32-.temporal.api.compute.v1.ComputeConfigSummary\x12\x41\n\x0e\x63ompute_status\x18\x0e \x01(\x0b\x32).temporal.api.deployment.v1.ComputeStatus"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x89\x04\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0frevision_number\x18\n \x01(\x03"\x8a\x02\n\x18InheritedAutoUpgradeInfo\x12V\n\x19source_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12)\n!source_deployment_revision_number\x18\x02 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\x03 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehaviorB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3' +) + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.deployment.v1.message_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1" + _globals["_DEPLOYMENTINFO_METADATAENTRY"]._loaded_options = None + _globals["_DEPLOYMENTINFO_METADATAENTRY"]._serialized_options = b"8\001" + _globals["_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY"]._loaded_options = None + _globals[ + "_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY" + ]._serialized_options = b"8\001" + _globals["_WORKERDEPLOYMENTVERSIONINFO"].fields_by_name[ + "version" + ]._loaded_options = None + _globals["_WORKERDEPLOYMENTVERSIONINFO"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ + _globals["_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY"].fields_by_name[ "version" - ]._options = None - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ + ]._loaded_options = None + _globals["_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _VERSIONMETADATA_ENTRIESENTRY._options = None - _VERSIONMETADATA_ENTRIESENTRY._serialized_options = b"8\001" - _ROUTINGCONFIG.fields_by_name["current_version"]._options = None - _ROUTINGCONFIG.fields_by_name["current_version"]._serialized_options = b"\030\001" - _ROUTINGCONFIG.fields_by_name["ramping_version"]._options = None - _ROUTINGCONFIG.fields_by_name["ramping_version"]._serialized_options = b"\030\001" - _WORKERDEPLOYMENTOPTIONS._serialized_start = 300 - _WORKERDEPLOYMENTOPTIONS._serialized_end = 445 - _DEPLOYMENT._serialized_start = 447 - _DEPLOYMENT._serialized_end = 498 - _DEPLOYMENTINFO._serialized_start = 501 - _DEPLOYMENTINFO._serialized_end = 1027 - _DEPLOYMENTINFO_METADATAENTRY._serialized_start = 808 - _DEPLOYMENTINFO_METADATAENTRY._serialized_end = 888 - _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_start = 891 - _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_end = 1027 - _UPDATEDEPLOYMENTMETADATA._serialized_start = 1030 - _UPDATEDEPLOYMENTMETADATA._serialized_end = 1264 - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_start = 1179 - _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_end = 1264 - _DEPLOYMENTLISTINFO._serialized_start = 1267 - _DEPLOYMENTLISTINFO._serialized_end = 1416 - _WORKERDEPLOYMENTVERSIONINFO._serialized_start = 1419 - _WORKERDEPLOYMENTVERSIONINFO._serialized_end = 2488 - _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_start = 2400 - _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_end = 2488 - _VERSIONDRAINAGEINFO._serialized_start = 2491 - _VERSIONDRAINAGEINFO._serialized_end = 2684 - _WORKERDEPLOYMENTINFO._serialized_start = 2687 - _WORKERDEPLOYMENTINFO._serialized_end = 3904 - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_start = 3094 - _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_end = 3904 - _WORKERDEPLOYMENTVERSION._serialized_start = 3906 - _WORKERDEPLOYMENTVERSION._serialized_end = 3974 - _VERSIONMETADATA._serialized_start = 3977 - _VERSIONMETADATA._serialized_end = 4150 - _VERSIONMETADATA_ENTRIESENTRY._serialized_start = 4071 - _VERSIONMETADATA_ENTRIESENTRY._serialized_end = 4150 - _ROUTINGCONFIG._serialized_start = 4153 - _ROUTINGCONFIG._serialized_end = 4674 - _INHERITEDAUTOUPGRADEINFO._serialized_start = 4677 - _INHERITEDAUTOUPGRADEINFO._serialized_end = 4943 + _globals["_VERSIONMETADATA_ENTRIESENTRY"]._loaded_options = None + _globals["_VERSIONMETADATA_ENTRIESENTRY"]._serialized_options = b"8\001" + _globals["_ROUTINGCONFIG"].fields_by_name["current_version"]._loaded_options = None + _globals["_ROUTINGCONFIG"].fields_by_name[ + "current_version" + ]._serialized_options = b"\030\001" + _globals["_ROUTINGCONFIG"].fields_by_name["ramping_version"]._loaded_options = None + _globals["_ROUTINGCONFIG"].fields_by_name[ + "ramping_version" + ]._serialized_options = b"\030\001" + _globals["_WORKERDEPLOYMENTOPTIONS"]._serialized_start = 300 + _globals["_WORKERDEPLOYMENTOPTIONS"]._serialized_end = 445 + _globals["_DEPLOYMENT"]._serialized_start = 447 + _globals["_DEPLOYMENT"]._serialized_end = 498 + _globals["_DEPLOYMENTINFO"]._serialized_start = 501 + _globals["_DEPLOYMENTINFO"]._serialized_end = 1027 + _globals["_DEPLOYMENTINFO_METADATAENTRY"]._serialized_start = 808 + _globals["_DEPLOYMENTINFO_METADATAENTRY"]._serialized_end = 888 + _globals["_DEPLOYMENTINFO_TASKQUEUEINFO"]._serialized_start = 891 + _globals["_DEPLOYMENTINFO_TASKQUEUEINFO"]._serialized_end = 1027 + _globals["_UPDATEDEPLOYMENTMETADATA"]._serialized_start = 1030 + _globals["_UPDATEDEPLOYMENTMETADATA"]._serialized_end = 1264 + _globals["_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY"]._serialized_start = 1179 + _globals["_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY"]._serialized_end = 1264 + _globals["_DEPLOYMENTLISTINFO"]._serialized_start = 1267 + _globals["_DEPLOYMENTLISTINFO"]._serialized_end = 1416 + _globals["_WORKERDEPLOYMENTVERSIONINFO"]._serialized_start = 1419 + _globals["_WORKERDEPLOYMENTVERSIONINFO"]._serialized_end = 2488 + _globals[ + "_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO" + ]._serialized_start = 2400 + _globals["_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO"]._serialized_end = 2488 + _globals["_VERSIONDRAINAGEINFO"]._serialized_start = 2491 + _globals["_VERSIONDRAINAGEINFO"]._serialized_end = 2684 + _globals["_COMPUTESTATUS"]._serialized_start = 2687 + _globals["_COMPUTESTATUS"]._serialized_end = 2903 + _globals["_COMPUTESTATUS_PROVIDERVALIDATIONSTATUS"]._serialized_start = 2801 + _globals["_COMPUTESTATUS_PROVIDERVALIDATIONSTATUS"]._serialized_end = 2903 + _globals["_WORKERDEPLOYMENTINFO"]._serialized_start = 2906 + _globals["_WORKERDEPLOYMENTINFO"]._serialized_end = 4190 + _globals[ + "_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY" + ]._serialized_start = 3313 + _globals[ + "_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY" + ]._serialized_end = 4190 + _globals["_WORKERDEPLOYMENTVERSION"]._serialized_start = 4192 + _globals["_WORKERDEPLOYMENTVERSION"]._serialized_end = 4260 + _globals["_VERSIONMETADATA"]._serialized_start = 4263 + _globals["_VERSIONMETADATA"]._serialized_end = 4436 + _globals["_VERSIONMETADATA_ENTRIESENTRY"]._serialized_start = 4357 + _globals["_VERSIONMETADATA_ENTRIESENTRY"]._serialized_end = 4436 + _globals["_ROUTINGCONFIG"]._serialized_start = 4439 + _globals["_ROUTINGCONFIG"]._serialized_end = 4960 + _globals["_INHERITEDAUTOUPGRADEINFO"]._serialized_start = 4963 + _globals["_INHERITEDAUTOUPGRADEINFO"]._serialized_end = 5229 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/deployment/v1/message_pb2.pyi b/temporalio/api/deployment/v1/message_pb2.pyi index 1b97a8db1..21d6bee6f 100644 --- a/temporalio/api/deployment/v1/message_pb2.pyi +++ b/temporalio/api/deployment/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -18,13 +19,14 @@ import temporalio.api.enums.v1.deployment_pb2 import temporalio.api.enums.v1.task_queue_pb2 import temporalio.api.enums.v1.workflow_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkerDeploymentOptions(google.protobuf.message.Message): """Worker Deployment options set in SDK that need to be sent to server in every poll.""" @@ -55,7 +57,7 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "deployment_name", @@ -65,8 +67,9 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerDeploymentOptions = WorkerDeploymentOptions +Global___WorkerDeploymentOptions: typing_extensions.TypeAlias = WorkerDeploymentOptions +@typing.final class Deployment(google.protobuf.message.Message): """`Deployment` identifies a deployment of Temporal workers. The combination of deployment series name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker @@ -97,13 +100,14 @@ class Deployment(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "series_name", b"series_name" ], ) -> None: ... -global___Deployment = Deployment +Global___Deployment: typing_extensions.TypeAlias = Deployment +@typing.final class DeploymentInfo(google.protobuf.message.Message): """`DeploymentInfo` holds information about a deployment. Deployment information is tracked automatically by server as soon as the first poll from that deployment reaches the server. There @@ -113,6 +117,7 @@ class DeploymentInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -128,13 +133,13 @@ class DeploymentInfo(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class TaskQueueInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -146,6 +151,7 @@ class DeploymentInfo(google.protobuf.message.Message): @property def first_poller_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When server saw the first poller for this task queue in this deployment.""" + def __init__( self, *, @@ -154,14 +160,11 @@ class DeploymentInfo(google.protobuf.message.Message): first_poller_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "first_poller_time", b"first_poller_time" - ], + self, field_name: typing.Literal["first_poller_time", b"first_poller_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "first_poller_time", b"first_poller_time", "name", @@ -176,15 +179,17 @@ class DeploymentInfo(google.protobuf.message.Message): TASK_QUEUE_INFOS_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int IS_CURRENT_FIELD_NUMBER: builtins.int + is_current: builtins.bool + """If this deployment is the current deployment of its deployment series.""" @property - def deployment(self) -> global___Deployment: ... + def deployment(self) -> Global___Deployment: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def task_queue_infos( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___DeploymentInfo.TaskQueueInfo + Global___DeploymentInfo.TaskQueueInfo ]: ... @property def metadata( @@ -195,15 +200,14 @@ class DeploymentInfo(google.protobuf.message.Message): """A user-defined set of key-values. Can be updated as part of write operations to the deployment, such as `SetCurrentDeployment`. """ - is_current: builtins.bool - """If this deployment is the current deployment of its deployment series.""" + def __init__( self, *, - deployment: global___Deployment | None = ..., + deployment: Global___Deployment | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., task_queue_infos: collections.abc.Iterable[ - global___DeploymentInfo.TaskQueueInfo + Global___DeploymentInfo.TaskQueueInfo ] | None = ..., metadata: collections.abc.Mapping[ @@ -214,13 +218,13 @@ class DeploymentInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "deployment", b"deployment" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "deployment", @@ -234,8 +238,9 @@ class DeploymentInfo(google.protobuf.message.Message): ], ) -> None: ... -global___DeploymentInfo = DeploymentInfo +Global___DeploymentInfo: typing_extensions.TypeAlias = DeploymentInfo +@typing.final class UpdateDeploymentMetadata(google.protobuf.message.Message): """Used as part of Deployment write APIs to update metadata attached to a deployment. Deprecated. @@ -243,6 +248,7 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class UpsertEntriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -258,11 +264,10 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... UPSERT_ENTRIES_FIELD_NUMBER: builtins.int @@ -278,6 +283,7 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" + def __init__( self, *, @@ -289,13 +295,16 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries" ], ) -> None: ... -global___UpdateDeploymentMetadata = UpdateDeploymentMetadata +Global___UpdateDeploymentMetadata: typing_extensions.TypeAlias = ( + UpdateDeploymentMetadata +) +@typing.final class DeploymentListInfo(google.protobuf.message.Message): """DeploymentListInfo is an abbreviated set of fields from DeploymentInfo that's returned in ListDeployments. @@ -307,28 +316,28 @@ class DeploymentListInfo(google.protobuf.message.Message): DEPLOYMENT_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int IS_CURRENT_FIELD_NUMBER: builtins.int + is_current: builtins.bool + """If this deployment is the current deployment of its deployment series.""" @property - def deployment(self) -> global___Deployment: ... + def deployment(self) -> Global___Deployment: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - is_current: builtins.bool - """If this deployment is the current deployment of its deployment series.""" def __init__( self, *, - deployment: global___Deployment | None = ..., + deployment: Global___Deployment | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_current: builtins.bool = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "deployment", b"deployment" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "deployment", @@ -338,8 +347,9 @@ class DeploymentListInfo(google.protobuf.message.Message): ], ) -> None: ... -global___DeploymentListInfo = DeploymentListInfo +Global___DeploymentListInfo: typing_extensions.TypeAlias = DeploymentListInfo +@typing.final class WorkerDeploymentVersionInfo(google.protobuf.message.Message): """A Worker Deployment Version (Version, for short) represents all workers of the same code and config within a Deployment. Workers of the same Version are expected to @@ -351,6 +361,7 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class VersionTaskQueueInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -365,8 +376,7 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["name", b"name", "type", b"type"], + self, field_name: typing.Literal["name", b"name", "type", b"type"] ) -> None: ... VERSION_FIELD_NUMBER: builtins.int @@ -392,56 +402,71 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType ) """The status of the Worker Deployment Version.""" - @property - def deployment_version(self) -> global___WorkerDeploymentVersion: - """Required.""" deployment_name: builtins.str """Deprecated. User deployment_version.deployment_name.""" + ramp_percentage: builtins.float + """Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil). + Can be in the range [0, 100] if the version is ramping. + """ + last_modifier_identity: builtins.str + """Identity of the last client who modified the configuration of this Version. + As of now, this field only covers changes through the following APIs: + - `CreateWorkerDeploymentVersion` + - `UpdateWorkerDeploymentVersionComputeConfig` + - `UpdateWorkerDeploymentVersionMetadata` + """ + @property + def deployment_version(self) -> Global___WorkerDeploymentVersion: + """Required.""" + @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def routing_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.""" + @property def current_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not current. """ + @property def ramping_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. """ + @property def first_activation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version first became current or ramping.""" + @property def last_current_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last became current. Can be used to determine whether a version has ever been Current. """ + @property def last_deactivation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last stopped being current or ramping. Cleared if the version becomes current or ramping again. """ - ramp_percentage: builtins.float - """Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil). - Can be in the range [0, 100] if the version is ramping. - """ + @property def task_queue_infos( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo + Global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo ]: """All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead. """ + @property - def drainage_info(self) -> global___VersionDrainageInfo: + def drainage_info(self) -> Global___VersionDrainageInfo: """Helps user determine when it is safe to decommission the workers of this Version. Not present when version is current or ramping. Current limitations: @@ -456,27 +481,23 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): Pinned Versioning Override, the status does not account for those Pinned-override executions and remains "drained". """ + @property - def metadata(self) -> global___VersionMetadata: + def metadata(self) -> Global___VersionMetadata: """Arbitrary user-provided metadata attached to this version.""" + @property def compute_config(self) -> temporalio.api.compute.v1.config_pb2.ComputeConfig: """Optional. Contains the new worker compute configuration for the Worker Deployment. Used for worker scale management. """ - last_modifier_identity: builtins.str - """Identity of the last client who modified the configuration of this Version. - As of now, this field only covers changes through the following APIs: - - `CreateWorkerDeploymentVersion` - - `UpdateWorkerDeploymentVersionComputeConfig` - - `UpdateWorkerDeploymentVersionMetadata` - """ + def __init__( self, *, version: builtins.str = ..., status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType = ..., - deployment_version: global___WorkerDeploymentVersion | None = ..., + deployment_version: Global___WorkerDeploymentVersion | None = ..., deployment_name: builtins.str = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -487,17 +508,17 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ramp_percentage: builtins.float = ..., task_queue_infos: collections.abc.Iterable[ - global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo + Global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo ] | None = ..., - drainage_info: global___VersionDrainageInfo | None = ..., - metadata: global___VersionMetadata | None = ..., + drainage_info: Global___VersionDrainageInfo | None = ..., + metadata: Global___VersionMetadata | None = ..., compute_config: temporalio.api.compute.v1.config_pb2.ComputeConfig | None = ..., last_modifier_identity: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config", b"compute_config", "create_time", @@ -524,7 +545,7 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config", b"compute_config", "create_time", @@ -562,8 +583,11 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerDeploymentVersionInfo = WorkerDeploymentVersionInfo +Global___WorkerDeploymentVersionInfo: typing_extensions.TypeAlias = ( + WorkerDeploymentVersionInfo +) +@typing.final class VersionDrainageInfo(google.protobuf.message.Message): """Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping. @@ -581,9 +605,11 @@ class VersionDrainageInfo(google.protobuf.message.Message): @property def last_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time the drainage status changed.""" + @property def last_checked_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time the system checked for drainage of this version.""" + def __init__( self, *, @@ -593,7 +619,7 @@ class VersionDrainageInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_changed_time", b"last_changed_time", "last_checked_time", @@ -602,7 +628,7 @@ class VersionDrainageInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_changed_time", b"last_changed_time", "last_checked_time", @@ -612,8 +638,69 @@ class VersionDrainageInfo(google.protobuf.message.Message): ], ) -> None: ... -global___VersionDrainageInfo = VersionDrainageInfo +Global___VersionDrainageInfo: typing_extensions.TypeAlias = VersionDrainageInfo + +@typing.final +class ComputeStatus(google.protobuf.message.Message): + """ComputeStatus represents compute-related configuration and health for a Worker Deployment Version.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + @typing.final + class ProviderValidationStatus(google.protobuf.message.Message): + """ProviderValidationStatus represents the result of the most recent + connectivity check between Temporal and a customer's compute provider. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ERROR_MESSAGE_FIELD_NUMBER: builtins.int + LAST_CHECK_TIME_FIELD_NUMBER: builtins.int + error_message: builtins.str + """Human-readable error message if connectivity validation failed. + An empty string means validation passed. + """ + @property + def last_check_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Timestamp of the last validation check.""" + + def __init__( + self, + *, + error_message: builtins.str = ..., + last_check_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing.Literal["last_check_time", b"last_check_time"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing.Literal[ + "error_message", b"error_message", "last_check_time", b"last_check_time" + ], + ) -> None: ... + + PROVIDER_VALIDATION_FIELD_NUMBER: builtins.int + @property + def provider_validation(self) -> Global___ComputeStatus.ProviderValidationStatus: + """provider_validation encapsulates the health signal for validating the compute provider.""" + + def __init__( + self, + *, + provider_validation: Global___ComputeStatus.ProviderValidationStatus + | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing.Literal["provider_validation", b"provider_validation"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing.Literal["provider_validation", b"provider_validation"] + ) -> None: ... + +Global___ComputeStatus: typing_extensions.TypeAlias = ComputeStatus +@typing.final class WorkerDeploymentInfo(google.protobuf.message.Message): """A Worker Deployment (Deployment, for short) represents all workers serving a shared set of Task Queues. Typically, a Deployment represents one service or @@ -626,6 +713,7 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class WorkerDeploymentVersionSummary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -642,65 +730,78 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): LAST_CURRENT_TIME_FIELD_NUMBER: builtins.int LAST_DEACTIVATION_TIME_FIELD_NUMBER: builtins.int COMPUTE_CONFIG_FIELD_NUMBER: builtins.int + COMPUTE_STATUS_FIELD_NUMBER: builtins.int version: builtins.str """Deprecated. Use `deployment_version`.""" status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType """The status of the Worker Deployment Version.""" - @property - def deployment_version(self) -> global___WorkerDeploymentVersion: - """Required.""" - @property - def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... drainage_status: ( temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType ) """Deprecated. Use `drainage_info` instead.""" @property - def drainage_info(self) -> global___VersionDrainageInfo: + def deployment_version(self) -> Global___WorkerDeploymentVersion: + """Required.""" + + @property + def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def drainage_info(self) -> Global___VersionDrainageInfo: """Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping """ + @property def current_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Unset if not current. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) """ + @property def ramping_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) """ + @property def routing_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.""" + @property def first_activation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version first became current or ramping.""" + @property def last_current_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last became current. Can be used to determine whether a version has ever been Current. """ + @property def last_deactivation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last stopped being current or ramping. Cleared if the version becomes current or ramping again. """ + @property def compute_config( self, ) -> temporalio.api.compute.v1.config_pb2.ComputeConfigSummary: ... + @property + def compute_status(self) -> Global___ComputeStatus: + """ComputeStatus represents compute-related configuration and healthchecks.""" + def __init__( self, *, version: builtins.str = ..., status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType = ..., - deployment_version: global___WorkerDeploymentVersion | None = ..., + deployment_version: Global___WorkerDeploymentVersion | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., drainage_status: temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType = ..., - drainage_info: global___VersionDrainageInfo | None = ..., + drainage_info: Global___VersionDrainageInfo | None = ..., current_since_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ramping_since_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -710,12 +811,15 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): | None = ..., compute_config: temporalio.api.compute.v1.config_pb2.ComputeConfigSummary | None = ..., + compute_status: Global___ComputeStatus | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config", b"compute_config", + "compute_status", + b"compute_status", "create_time", b"create_time", "current_since_time", @@ -738,9 +842,11 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config", b"compute_config", + "compute_status", + b"compute_status", "create_time", b"create_time", "current_since_time", @@ -777,22 +883,6 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ROUTING_CONFIG_UPDATE_STATE_FIELD_NUMBER: builtins.int name: builtins.str """Identifies a Worker Deployment. Must be unique within the namespace.""" - @property - def version_summaries( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary - ]: - """Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be - cleaned up automatically if all the following conditions meet: - - It does not receive new executions (is not current or ramping) - - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - - It is drained (see WorkerDeploymentVersionInfo.drainage_status) - """ - @property - def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def routing_config(self) -> global___RoutingConfig: ... last_modifier_identity: builtins.str """Identity of the last client who modified the configuration of this Deployment. Set to the `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and @@ -810,29 +900,46 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): """Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions. """ + @property + def version_summaries( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + Global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary + ]: + """Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be + cleaned up automatically if all the following conditions meet: + - It does not receive new executions (is not current or ramping) + - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) + - It is drained (see WorkerDeploymentVersionInfo.drainage_status) + """ + + @property + def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def routing_config(self) -> Global___RoutingConfig: ... def __init__( self, *, name: builtins.str = ..., version_summaries: collections.abc.Iterable[ - global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary + Global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary ] | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - routing_config: global___RoutingConfig | None = ..., + routing_config: Global___RoutingConfig | None = ..., last_modifier_identity: builtins.str = ..., manager_identity: builtins.str = ..., routing_config_update_state: temporalio.api.enums.v1.task_queue_pb2.RoutingConfigUpdateState.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "routing_config", b"routing_config" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "last_modifier_identity", @@ -850,8 +957,9 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerDeploymentInfo = WorkerDeploymentInfo +Global___WorkerDeploymentInfo: typing_extensions.TypeAlias = WorkerDeploymentInfo +@typing.final class WorkerDeploymentVersion(google.protobuf.message.Message): """A Worker Deployment Version (Version, for short) represents a version of workers within a Worker Deployment. (see documentation of WorkerDeploymentVersionInfo) @@ -880,16 +988,18 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "deployment_name", b"deployment_name" ], ) -> None: ... -global___WorkerDeploymentVersion = WorkerDeploymentVersion +Global___WorkerDeploymentVersion: typing_extensions.TypeAlias = WorkerDeploymentVersion +@typing.final class VersionMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class EntriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -905,11 +1015,10 @@ class VersionMetadata(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ENTRIES_FIELD_NUMBER: builtins.int @@ -920,6 +1029,7 @@ class VersionMetadata(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Arbitrary key-values.""" + def __init__( self, *, @@ -928,12 +1038,11 @@ class VersionMetadata(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["entries", b"entries"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["entries", b"entries"]) -> None: ... -global___VersionMetadata = VersionMetadata +Global___VersionMetadata: typing_extensions.TypeAlias = VersionMetadata +@typing.final class RoutingConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -946,38 +1055,46 @@ class RoutingConfig(google.protobuf.message.Message): RAMPING_VERSION_CHANGED_TIME_FIELD_NUMBER: builtins.int RAMPING_VERSION_PERCENTAGE_CHANGED_TIME_FIELD_NUMBER: builtins.int REVISION_NUMBER_FIELD_NUMBER: builtins.int + current_version: builtins.str + """Deprecated. Use `current_deployment_version`.""" + ramping_version: builtins.str + """Deprecated. Use `ramping_deployment_version`.""" + ramping_version_percentage: builtins.float + """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. + Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but + not yet "promoted" to be the Current Version, likely due to pending validations. + A 0% value means the Ramping Version is receiving no traffic. + """ + revision_number: builtins.int + """Monotonically increasing value which is incremented on every mutation + to any field of this message to achieve eventual consistency between task queues and their partitions. + """ @property - def current_deployment_version(self) -> global___WorkerDeploymentVersion: + def current_deployment_version(self) -> Global___WorkerDeploymentVersion: """Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). """ - current_version: builtins.str - """Deprecated. Use `current_deployment_version`.""" + @property - def ramping_deployment_version(self) -> global___WorkerDeploymentVersion: + def ramping_deployment_version(self) -> Global___WorkerDeploymentVersion: """When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version. Must always be different from `current_deployment_version` unless both are nil. Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) Note that it is possible to ramp from one Version to another Version, or from unversioned workers to a particular Version, or from a particular Version to unversioned workers. """ - ramping_version: builtins.str - """Deprecated. Use `ramping_deployment_version`.""" - ramping_version_percentage: builtins.float - """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. - Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but - not yet "promoted" to be the Current Version, likely due to pending validations. - A 0% value means the Ramping Version is receiving no traffic. - """ + @property def current_version_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time current version was changed.""" + @property def ramping_version_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time ramping version was changed. Not updated if only the ramp percentage changes.""" + @property def ramping_version_percentage_changed_time( self, @@ -985,16 +1102,13 @@ class RoutingConfig(google.protobuf.message.Message): """Last time ramping version percentage was changed. If ramping version is changed, this is also updated, even if the percentage stays the same. """ - revision_number: builtins.int - """Monotonically increasing value which is incremented on every mutation - to any field of this message to achieve eventual consistency between task queues and their partitions. - """ + def __init__( self, *, - current_deployment_version: global___WorkerDeploymentVersion | None = ..., + current_deployment_version: Global___WorkerDeploymentVersion | None = ..., current_version: builtins.str = ..., - ramping_deployment_version: global___WorkerDeploymentVersion | None = ..., + ramping_deployment_version: Global___WorkerDeploymentVersion | None = ..., ramping_version: builtins.str = ..., ramping_version_percentage: builtins.float = ..., current_version_changed_time: google.protobuf.timestamp_pb2.Timestamp @@ -1007,7 +1121,7 @@ class RoutingConfig(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_version", b"current_deployment_version", "current_version_changed_time", @@ -1022,7 +1136,7 @@ class RoutingConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_version", b"current_deployment_version", "current_version", @@ -1044,8 +1158,9 @@ class RoutingConfig(google.protobuf.message.Message): ], ) -> None: ... -global___RoutingConfig = RoutingConfig +Global___RoutingConfig: typing_extensions.TypeAlias = RoutingConfig +@typing.final class InheritedAutoUpgradeInfo(google.protobuf.message.Message): """Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior. @@ -1057,9 +1172,6 @@ class InheritedAutoUpgradeInfo(google.protobuf.message.Message): SOURCE_DEPLOYMENT_VERSION_FIELD_NUMBER: builtins.int SOURCE_DEPLOYMENT_REVISION_NUMBER_FIELD_NUMBER: builtins.int CONTINUE_AS_NEW_INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int - @property - def source_deployment_version(self) -> global___WorkerDeploymentVersion: - """The source deployment version of the parent/previous workflow.""" source_deployment_revision_number: builtins.int """The revision number of the source deployment version of the parent/previous workflow.""" continue_as_new_initial_versioning_behavior: ( @@ -1076,22 +1188,26 @@ class InheritedAutoUpgradeInfo(google.protobuf.message.Message): with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade value if the InheritedAutoUpgradeInfo is non-empty. """ + @property + def source_deployment_version(self) -> Global___WorkerDeploymentVersion: + """The source deployment version of the parent/previous workflow.""" + def __init__( self, *, - source_deployment_version: global___WorkerDeploymentVersion | None = ..., + source_deployment_version: Global___WorkerDeploymentVersion | None = ..., source_deployment_revision_number: builtins.int = ..., continue_as_new_initial_versioning_behavior: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "source_deployment_version", b"source_deployment_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "continue_as_new_initial_versioning_behavior", b"continue_as_new_initial_versioning_behavior", "source_deployment_revision_number", @@ -1101,4 +1217,6 @@ class InheritedAutoUpgradeInfo(google.protobuf.message.Message): ], ) -> None: ... -global___InheritedAutoUpgradeInfo = InheritedAutoUpgradeInfo +Global___InheritedAutoUpgradeInfo: typing_extensions.TypeAlias = ( + InheritedAutoUpgradeInfo +) diff --git a/temporalio/api/enums/v1/activity_pb2.py b/temporalio/api/enums/v1/activity_pb2.py index ba5fddd25..789ad34ed 100644 --- a/temporalio/api/enums/v1/activity_pb2.py +++ b/temporalio/api/enums/v1/activity_pb2.py @@ -1,15 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/activity.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/enums/v1/activity.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,35 +23,20 @@ b"\n$temporal/api/enums/v1/activity.proto\x12\x15temporal.api.enums.v1*\xb5\x02\n\x17\x41\x63tivityExecutionStatus\x12)\n%ACTIVITY_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!ACTIVITY_EXECUTION_STATUS_RUNNING\x10\x01\x12'\n#ACTIVITY_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n ACTIVITY_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"ACTIVITY_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$ACTIVITY_EXECUTION_STATUS_TERMINATED\x10\x05\x12'\n#ACTIVITY_EXECUTION_STATUS_TIMED_OUT\x10\x06*\xd8\x01\n\x15\x41\x63tivityIdReusePolicy\x12(\n$ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03*\x9b\x01\n\x18\x41\x63tivityIdConflictPolicy\x12+\n'ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n ACTIVITY_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rActivityProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_ACTIVITYEXECUTIONSTATUS = DESCRIPTOR.enum_types_by_name["ActivityExecutionStatus"] -ActivityExecutionStatus = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYEXECUTIONSTATUS) -_ACTIVITYIDREUSEPOLICY = DESCRIPTOR.enum_types_by_name["ActivityIdReusePolicy"] -ActivityIdReusePolicy = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYIDREUSEPOLICY) -_ACTIVITYIDCONFLICTPOLICY = DESCRIPTOR.enum_types_by_name["ActivityIdConflictPolicy"] -ActivityIdConflictPolicy = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYIDCONFLICTPOLICY) -ACTIVITY_EXECUTION_STATUS_UNSPECIFIED = 0 -ACTIVITY_EXECUTION_STATUS_RUNNING = 1 -ACTIVITY_EXECUTION_STATUS_COMPLETED = 2 -ACTIVITY_EXECUTION_STATUS_FAILED = 3 -ACTIVITY_EXECUTION_STATUS_CANCELED = 4 -ACTIVITY_EXECUTION_STATUS_TERMINATED = 5 -ACTIVITY_EXECUTION_STATUS_TIMED_OUT = 6 -ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED = 0 -ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1 -ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 2 -ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE = 3 -ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED = 0 -ACTIVITY_ID_CONFLICT_POLICY_FAIL = 1 -ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING = 2 - - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\rActivityProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _ACTIVITYEXECUTIONSTATUS._serialized_start = 64 - _ACTIVITYEXECUTIONSTATUS._serialized_end = 373 - _ACTIVITYIDREUSEPOLICY._serialized_start = 376 - _ACTIVITYIDREUSEPOLICY._serialized_end = 592 - _ACTIVITYIDCONFLICTPOLICY._serialized_start = 595 - _ACTIVITYIDCONFLICTPOLICY._serialized_end = 750 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.enums.v1.activity_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\rActivityProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _globals["_ACTIVITYEXECUTIONSTATUS"]._serialized_start = 64 + _globals["_ACTIVITYEXECUTIONSTATUS"]._serialized_end = 373 + _globals["_ACTIVITYIDREUSEPOLICY"]._serialized_start = 376 + _globals["_ACTIVITYIDREUSEPOLICY"]._serialized_end = 592 + _globals["_ACTIVITYIDCONFLICTPOLICY"]._serialized_start = 595 + _globals["_ACTIVITYIDCONFLICTPOLICY"]._serialized_end = 750 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/activity_pb2.pyi b/temporalio/api/enums/v1/activity_pb2.pyi index 73d846050..c78ad3a43 100644 --- a/temporalio/api/enums/v1/activity_pb2.pyi +++ b/temporalio/api/enums/v1/activity_pb2.pyi @@ -26,7 +26,7 @@ class _ActivityExecutionStatusEnumTypeWrapper( _ActivityExecutionStatus.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ACTIVITY_EXECUTION_STATUS_UNSPECIFIED: _ActivityExecutionStatus.ValueType # 0 ACTIVITY_EXECUTION_STATUS_RUNNING: _ActivityExecutionStatus.ValueType # 1 @@ -107,7 +107,7 @@ ACTIVITY_EXECUTION_STATUS_TIMED_OUT: ActivityExecutionStatus.ValueType # 6 reached when retry is blocked (RetryPolicy.maximum_attempts exhausted, SCHEDULE_TO_CLOSE would be exceeded, or cancellation has been requested). """ -global___ActivityExecutionStatus = ActivityExecutionStatus +Global___ActivityExecutionStatus: typing_extensions.TypeAlias = ActivityExecutionStatus class _ActivityIdReusePolicy: ValueType = typing.NewType("ValueType", builtins.int) @@ -118,7 +118,7 @@ class _ActivityIdReusePolicyEnumTypeWrapper( _ActivityIdReusePolicy.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED: _ActivityIdReusePolicy.ValueType # 0 ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE: _ActivityIdReusePolicy.ValueType # 1 @@ -156,7 +156,7 @@ ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE: ActivityIdReusePolicy.ValueType # 3 """Do not permit re-use of the ID for this activity. Future start requests could potentially change the policy, allowing re-use of the ID. """ -global___ActivityIdReusePolicy = ActivityIdReusePolicy +Global___ActivityIdReusePolicy: typing_extensions.TypeAlias = ActivityIdReusePolicy class _ActivityIdConflictPolicy: ValueType = typing.NewType("ValueType", builtins.int) @@ -167,7 +167,7 @@ class _ActivityIdConflictPolicyEnumTypeWrapper( _ActivityIdConflictPolicy.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED: _ActivityIdConflictPolicy.ValueType # 0 ACTIVITY_ID_CONFLICT_POLICY_FAIL: _ActivityIdConflictPolicy.ValueType # 1 @@ -189,4 +189,6 @@ ACTIVITY_ID_CONFLICT_POLICY_FAIL: ActivityIdConflictPolicy.ValueType # 1 """Don't start a new activity; instead return `ActivityExecutionAlreadyStarted` error.""" ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING: ActivityIdConflictPolicy.ValueType # 2 """Don't start a new activity; instead return a handle for the running activity.""" -global___ActivityIdConflictPolicy = ActivityIdConflictPolicy +Global___ActivityIdConflictPolicy: typing_extensions.TypeAlias = ( + ActivityIdConflictPolicy +) diff --git a/temporalio/api/enums/v1/batch_operation_pb2.py b/temporalio/api/enums/v1/batch_operation_pb2.py index 60c9d7f2f..775ad2655 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.py +++ b/temporalio/api/enums/v1/batch_operation_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/batch_operation.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/enums/v1/batch_operation.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,31 +28,18 @@ b"\n+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42\x41TCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n\x1a\x42\x41TCH_OPERATION_TYPE_RESET\x10\x05\x12\x31\n-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\x07\x12\x30\n,BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\x08\x12'\n#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n\x13\x42\x61tchOperationState\x12%\n!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n\x1d\x42\x41TCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n\x1f\x42\x41TCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n\x1c\x42\x41TCH_OPERATION_STATE_FAILED\x10\x03\x42\x8b\x01\n\x18io.temporal.api.enums.v1B\x13\x42\x61tchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_BATCHOPERATIONTYPE = DESCRIPTOR.enum_types_by_name["BatchOperationType"] -BatchOperationType = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONTYPE) -_BATCHOPERATIONSTATE = DESCRIPTOR.enum_types_by_name["BatchOperationState"] -BatchOperationState = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONSTATE) -BATCH_OPERATION_TYPE_UNSPECIFIED = 0 -BATCH_OPERATION_TYPE_TERMINATE = 1 -BATCH_OPERATION_TYPE_CANCEL = 2 -BATCH_OPERATION_TYPE_SIGNAL = 3 -BATCH_OPERATION_TYPE_DELETE = 4 -BATCH_OPERATION_TYPE_RESET = 5 -BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS = 6 -BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY = 7 -BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS = 8 -BATCH_OPERATION_TYPE_RESET_ACTIVITY = 9 -BATCH_OPERATION_STATE_UNSPECIFIED = 0 -BATCH_OPERATION_STATE_RUNNING = 1 -BATCH_OPERATION_STATE_COMPLETED = 2 -BATCH_OPERATION_STATE_FAILED = 3 - - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _BATCHOPERATIONTYPE._serialized_start = 71 - _BATCHOPERATIONTYPE._serialized_end = 481 - _BATCHOPERATIONSTATE._serialized_start = 484 - _BATCHOPERATIONSTATE._serialized_end = 650 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.enums.v1.batch_operation_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _globals["_BATCHOPERATIONTYPE"]._serialized_start = 71 + _globals["_BATCHOPERATIONTYPE"]._serialized_end = 481 + _globals["_BATCHOPERATIONSTATE"]._serialized_start = 484 + _globals["_BATCHOPERATIONSTATE"]._serialized_end = 650 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/batch_operation_pb2.pyi b/temporalio/api/enums/v1/batch_operation_pb2.pyi index 49f426ebb..eb2c688c1 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.pyi +++ b/temporalio/api/enums/v1/batch_operation_pb2.pyi @@ -26,7 +26,7 @@ class _BatchOperationTypeEnumTypeWrapper( _BatchOperationType.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_TYPE_UNSPECIFIED: _BatchOperationType.ValueType # 0 BATCH_OPERATION_TYPE_TERMINATE: _BatchOperationType.ValueType # 1 @@ -53,7 +53,7 @@ BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS: BatchOperationType.ValueType # 6 BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY: BatchOperationType.ValueType # 7 BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS: BatchOperationType.ValueType # 8 BATCH_OPERATION_TYPE_RESET_ACTIVITY: BatchOperationType.ValueType # 9 -global___BatchOperationType = BatchOperationType +Global___BatchOperationType: typing_extensions.TypeAlias = BatchOperationType class _BatchOperationState: ValueType = typing.NewType("ValueType", builtins.int) @@ -64,7 +64,7 @@ class _BatchOperationStateEnumTypeWrapper( _BatchOperationState.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_STATE_UNSPECIFIED: _BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: _BatchOperationState.ValueType # 1 @@ -79,4 +79,4 @@ BATCH_OPERATION_STATE_UNSPECIFIED: BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: BatchOperationState.ValueType # 1 BATCH_OPERATION_STATE_COMPLETED: BatchOperationState.ValueType # 2 BATCH_OPERATION_STATE_FAILED: BatchOperationState.ValueType # 3 -global___BatchOperationState = BatchOperationState +Global___BatchOperationState: typing_extensions.TypeAlias = BatchOperationState diff --git a/temporalio/api/enums/v1/command_type_pb2.py b/temporalio/api/enums/v1/command_type_pb2.py index 6d1c3b6e5..eab64d78e 100644 --- a/temporalio/api/enums/v1/command_type_pb2.py +++ b/temporalio/api/enums/v1/command_type_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/command_type.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/enums/v1/command_type.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,31 +28,16 @@ b"\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12'\n#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n)COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n\x18\x43OMMAND_TYPE_START_TIMER\x10\x03\x12,\n(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n\x19\x43OMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\x07\x12;\n7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\x08\x12\x1e\n\x1a\x43OMMAND_TYPE_RECORD_MARKER\x10\t\x12\x33\n/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n\x12/\n+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\x0b\x12\x33\n/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\x0c\x12\x32\n.COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\r\x12!\n\x1d\x43OMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12\x42\x88\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_COMMANDTYPE = DESCRIPTOR.enum_types_by_name["CommandType"] -CommandType = enum_type_wrapper.EnumTypeWrapper(_COMMANDTYPE) -COMMAND_TYPE_UNSPECIFIED = 0 -COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1 -COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2 -COMMAND_TYPE_START_TIMER = 3 -COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4 -COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5 -COMMAND_TYPE_CANCEL_TIMER = 6 -COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7 -COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8 -COMMAND_TYPE_RECORD_MARKER = 9 -COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10 -COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11 -COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12 -COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13 -COMMAND_TYPE_PROTOCOL_MESSAGE = 14 -COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16 -COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17 -COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18 - - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _COMMANDTYPE._serialized_start = 68 - _COMMANDTYPE._serialized_end = 864 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.enums.v1.command_type_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _globals["_COMMANDTYPE"]._serialized_start = 68 + _globals["_COMMANDTYPE"]._serialized_end = 864 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/command_type_pb2.pyi b/temporalio/api/enums/v1/command_type_pb2.pyi index 9f1bfd240..77002633b 100644 --- a/temporalio/api/enums/v1/command_type_pb2.pyi +++ b/temporalio/api/enums/v1/command_type_pb2.pyi @@ -24,7 +24,7 @@ class _CommandType: class _CommandTypeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CommandType.ValueType], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor COMMAND_TYPE_UNSPECIFIED: _CommandType.ValueType # 0 COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK: _CommandType.ValueType # 1 @@ -66,4 +66,4 @@ COMMAND_TYPE_PROTOCOL_MESSAGE: CommandType.ValueType # 14 COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES: CommandType.ValueType # 16 COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION: CommandType.ValueType # 17 COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION: CommandType.ValueType # 18 -global___CommandType = CommandType +Global___CommandType: typing_extensions.TypeAlias = CommandType diff --git a/temporalio/api/enums/v1/common_pb2.py b/temporalio/api/enums/v1/common_pb2.py index 557ce7631..0a6bcc4f0 100644 --- a/temporalio/api/enums/v1/common_pb2.py +++ b/temporalio/api/enums/v1/common_pb2.py @@ -1,15 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/common.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/enums/v1/common.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,96 +23,32 @@ b"\n\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n\x0c\x45ncodingType\x12\x1d\n\x19\x45NCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02*\x91\x02\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17INDEXED_VALUE_TYPE_TEXT\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\x12#\n\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\x07*^\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rSEVERITY_HIGH\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n\x0cSEVERITY_LOW\x10\x03*\xde\x01\n\rCallbackState\x12\x1e\n\x1a\x43\x41LLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41LLBACK_STATE_STANDBY\x10\x01\x12\x1c\n\x18\x43\x41LLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n\x1a\x43\x41LLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n\x15\x43\x41LLBACK_STATE_FAILED\x10\x04\x12\x1c\n\x18\x43\x41LLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n\x16\x43\x41LLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n\x1aPendingNexusOperationState\x12-\n)PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n)PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n\x1fNexusOperationCancellationState\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n)NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n\x17WorkflowRuleActionScope\x12*\n&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n\x18\x41pplicationErrorCategory\x12*\n&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n\x0cWorkerStatus\x12\x1d\n\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n\x16WORKER_STATUS_SHUTDOWN\x10\x03\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_ENCODINGTYPE = DESCRIPTOR.enum_types_by_name["EncodingType"] -EncodingType = enum_type_wrapper.EnumTypeWrapper(_ENCODINGTYPE) -_INDEXEDVALUETYPE = DESCRIPTOR.enum_types_by_name["IndexedValueType"] -IndexedValueType = enum_type_wrapper.EnumTypeWrapper(_INDEXEDVALUETYPE) -_SEVERITY = DESCRIPTOR.enum_types_by_name["Severity"] -Severity = enum_type_wrapper.EnumTypeWrapper(_SEVERITY) -_CALLBACKSTATE = DESCRIPTOR.enum_types_by_name["CallbackState"] -CallbackState = enum_type_wrapper.EnumTypeWrapper(_CALLBACKSTATE) -_PENDINGNEXUSOPERATIONSTATE = DESCRIPTOR.enum_types_by_name[ - "PendingNexusOperationState" -] -PendingNexusOperationState = enum_type_wrapper.EnumTypeWrapper( - _PENDINGNEXUSOPERATIONSTATE -) -_NEXUSOPERATIONCANCELLATIONSTATE = DESCRIPTOR.enum_types_by_name[ - "NexusOperationCancellationState" -] -NexusOperationCancellationState = enum_type_wrapper.EnumTypeWrapper( - _NEXUSOPERATIONCANCELLATIONSTATE +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.enums.v1.common_pb2", _globals ) -_WORKFLOWRULEACTIONSCOPE = DESCRIPTOR.enum_types_by_name["WorkflowRuleActionScope"] -WorkflowRuleActionScope = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWRULEACTIONSCOPE) -_APPLICATIONERRORCATEGORY = DESCRIPTOR.enum_types_by_name["ApplicationErrorCategory"] -ApplicationErrorCategory = enum_type_wrapper.EnumTypeWrapper(_APPLICATIONERRORCATEGORY) -_WORKERSTATUS = DESCRIPTOR.enum_types_by_name["WorkerStatus"] -WorkerStatus = enum_type_wrapper.EnumTypeWrapper(_WORKERSTATUS) -ENCODING_TYPE_UNSPECIFIED = 0 -ENCODING_TYPE_PROTO3 = 1 -ENCODING_TYPE_JSON = 2 -INDEXED_VALUE_TYPE_UNSPECIFIED = 0 -INDEXED_VALUE_TYPE_TEXT = 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 -INDEXED_VALUE_TYPE_KEYWORD_LIST = 7 -SEVERITY_UNSPECIFIED = 0 -SEVERITY_HIGH = 1 -SEVERITY_MEDIUM = 2 -SEVERITY_LOW = 3 -CALLBACK_STATE_UNSPECIFIED = 0 -CALLBACK_STATE_STANDBY = 1 -CALLBACK_STATE_SCHEDULED = 2 -CALLBACK_STATE_BACKING_OFF = 3 -CALLBACK_STATE_FAILED = 4 -CALLBACK_STATE_SUCCEEDED = 5 -CALLBACK_STATE_BLOCKED = 6 -PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED = 0 -PENDING_NEXUS_OPERATION_STATE_SCHEDULED = 1 -PENDING_NEXUS_OPERATION_STATE_BACKING_OFF = 2 -PENDING_NEXUS_OPERATION_STATE_STARTED = 3 -PENDING_NEXUS_OPERATION_STATE_BLOCKED = 4 -NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED = 0 -NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED = 1 -NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF = 2 -NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED = 3 -NEXUS_OPERATION_CANCELLATION_STATE_FAILED = 4 -NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT = 5 -NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED = 6 -WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED = 0 -WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW = 1 -WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY = 2 -APPLICATION_ERROR_CATEGORY_UNSPECIFIED = 0 -APPLICATION_ERROR_CATEGORY_BENIGN = 1 -WORKER_STATUS_UNSPECIFIED = 0 -WORKER_STATUS_RUNNING = 1 -WORKER_STATUS_SHUTTING_DOWN = 2 -WORKER_STATUS_SHUTDOWN = 3 - - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _ENCODINGTYPE._serialized_start = 61 - _ENCODINGTYPE._serialized_end = 156 - _INDEXEDVALUETYPE._serialized_start = 159 - _INDEXEDVALUETYPE._serialized_end = 432 - _SEVERITY._serialized_start = 434 - _SEVERITY._serialized_end = 528 - _CALLBACKSTATE._serialized_start = 531 - _CALLBACKSTATE._serialized_end = 753 - _PENDINGNEXUSOPERATIONSTATE._serialized_start = 756 - _PENDINGNEXUSOPERATIONSTATE._serialized_end = 1009 - _NEXUSOPERATIONCANCELLATIONSTATE._serialized_start = 1012 - _NEXUSOPERATIONCANCELLATIONSTATE._serialized_end = 1394 - _WORKFLOWRULEACTIONSCOPE._serialized_start = 1397 - _WORKFLOWRULEACTIONSCOPE._serialized_end = 1548 - _APPLICATIONERRORCATEGORY._serialized_start = 1550 - _APPLICATIONERRORCATEGORY._serialized_end = 1659 - _WORKERSTATUS._serialized_start = 1662 - _WORKERSTATUS._serialized_end = 1795 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _globals["_ENCODINGTYPE"]._serialized_start = 61 + _globals["_ENCODINGTYPE"]._serialized_end = 156 + _globals["_INDEXEDVALUETYPE"]._serialized_start = 159 + _globals["_INDEXEDVALUETYPE"]._serialized_end = 432 + _globals["_SEVERITY"]._serialized_start = 434 + _globals["_SEVERITY"]._serialized_end = 528 + _globals["_CALLBACKSTATE"]._serialized_start = 531 + _globals["_CALLBACKSTATE"]._serialized_end = 753 + _globals["_PENDINGNEXUSOPERATIONSTATE"]._serialized_start = 756 + _globals["_PENDINGNEXUSOPERATIONSTATE"]._serialized_end = 1009 + _globals["_NEXUSOPERATIONCANCELLATIONSTATE"]._serialized_start = 1012 + _globals["_NEXUSOPERATIONCANCELLATIONSTATE"]._serialized_end = 1394 + _globals["_WORKFLOWRULEACTIONSCOPE"]._serialized_start = 1397 + _globals["_WORKFLOWRULEACTIONSCOPE"]._serialized_end = 1548 + _globals["_APPLICATIONERRORCATEGORY"]._serialized_start = 1550 + _globals["_APPLICATIONERRORCATEGORY"]._serialized_end = 1659 + _globals["_WORKERSTATUS"]._serialized_start = 1662 + _globals["_WORKERSTATUS"]._serialized_end = 1795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/common_pb2.pyi b/temporalio/api/enums/v1/common_pb2.pyi index 47e470295..a97e384cf 100644 --- a/temporalio/api/enums/v1/common_pb2.pyi +++ b/temporalio/api/enums/v1/common_pb2.pyi @@ -26,7 +26,7 @@ class _EncodingTypeEnumTypeWrapper( _EncodingType.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ENCODING_TYPE_UNSPECIFIED: _EncodingType.ValueType # 0 ENCODING_TYPE_PROTO3: _EncodingType.ValueType # 1 @@ -37,7 +37,7 @@ class EncodingType(_EncodingType, metaclass=_EncodingTypeEnumTypeWrapper): ... ENCODING_TYPE_UNSPECIFIED: EncodingType.ValueType # 0 ENCODING_TYPE_PROTO3: EncodingType.ValueType # 1 ENCODING_TYPE_JSON: EncodingType.ValueType # 2 -global___EncodingType = EncodingType +Global___EncodingType: typing_extensions.TypeAlias = EncodingType class _IndexedValueType: ValueType = typing.NewType("ValueType", builtins.int) @@ -48,7 +48,7 @@ class _IndexedValueTypeEnumTypeWrapper( _IndexedValueType.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INDEXED_VALUE_TYPE_UNSPECIFIED: _IndexedValueType.ValueType # 0 INDEXED_VALUE_TYPE_TEXT: _IndexedValueType.ValueType # 1 @@ -71,7 +71,7 @@ INDEXED_VALUE_TYPE_DOUBLE: IndexedValueType.ValueType # 4 INDEXED_VALUE_TYPE_BOOL: IndexedValueType.ValueType # 5 INDEXED_VALUE_TYPE_DATETIME: IndexedValueType.ValueType # 6 INDEXED_VALUE_TYPE_KEYWORD_LIST: IndexedValueType.ValueType # 7 -global___IndexedValueType = IndexedValueType +Global___IndexedValueType: typing_extensions.TypeAlias = IndexedValueType class _Severity: ValueType = typing.NewType("ValueType", builtins.int) @@ -80,7 +80,7 @@ class _Severity: class _SeverityEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Severity.ValueType], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SEVERITY_UNSPECIFIED: _Severity.ValueType # 0 SEVERITY_HIGH: _Severity.ValueType # 1 @@ -93,7 +93,7 @@ SEVERITY_UNSPECIFIED: Severity.ValueType # 0 SEVERITY_HIGH: Severity.ValueType # 1 SEVERITY_MEDIUM: Severity.ValueType # 2 SEVERITY_LOW: Severity.ValueType # 3 -global___Severity = Severity +Global___Severity: typing_extensions.TypeAlias = Severity class _CallbackState: ValueType = typing.NewType("ValueType", builtins.int) @@ -104,7 +104,7 @@ class _CallbackStateEnumTypeWrapper( _CallbackState.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CALLBACK_STATE_UNSPECIFIED: _CallbackState.ValueType # 0 """Default value, unspecified state.""" @@ -138,7 +138,7 @@ CALLBACK_STATE_SUCCEEDED: CallbackState.ValueType # 5 """Callback has succeeded.""" CALLBACK_STATE_BLOCKED: CallbackState.ValueType # 6 """Callback is blocked (eg: by circuit breaker).""" -global___CallbackState = CallbackState +Global___CallbackState: typing_extensions.TypeAlias = CallbackState class _PendingNexusOperationState: ValueType = typing.NewType("ValueType", builtins.int) @@ -149,7 +149,7 @@ class _PendingNexusOperationStateEnumTypeWrapper( _PendingNexusOperationState.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: ( _PendingNexusOperationState.ValueType @@ -181,7 +181,9 @@ PENDING_NEXUS_OPERATION_STATE_STARTED: PendingNexusOperationState.ValueType # 3 """Operation was started and will complete asynchronously.""" PENDING_NEXUS_OPERATION_STATE_BLOCKED: PendingNexusOperationState.ValueType # 4 """Operation is blocked (eg: by circuit breaker).""" -global___PendingNexusOperationState = PendingNexusOperationState +Global___PendingNexusOperationState: typing_extensions.TypeAlias = ( + PendingNexusOperationState +) class _NexusOperationCancellationState: ValueType = typing.NewType("ValueType", builtins.int) @@ -192,7 +194,7 @@ class _NexusOperationCancellationStateEnumTypeWrapper( _NexusOperationCancellationState.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: ( _NexusOperationCancellationState.ValueType @@ -257,7 +259,9 @@ NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: ( NexusOperationCancellationState.ValueType ) # 6 """Cancellation request is blocked (eg: by circuit breaker).""" -global___NexusOperationCancellationState = NexusOperationCancellationState +Global___NexusOperationCancellationState: typing_extensions.TypeAlias = ( + NexusOperationCancellationState +) class _WorkflowRuleActionScope: ValueType = typing.NewType("ValueType", builtins.int) @@ -268,7 +272,7 @@ class _WorkflowRuleActionScopeEnumTypeWrapper( _WorkflowRuleActionScope.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED: _WorkflowRuleActionScope.ValueType # 0 """Default value, unspecified scope.""" @@ -287,7 +291,7 @@ WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW: WorkflowRuleActionScope.ValueType # 1 """The action will be applied to the entire workflow.""" WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY: WorkflowRuleActionScope.ValueType # 2 """The action will be applied to a specific activity.""" -global___WorkflowRuleActionScope = WorkflowRuleActionScope +Global___WorkflowRuleActionScope: typing_extensions.TypeAlias = WorkflowRuleActionScope class _ApplicationErrorCategory: ValueType = typing.NewType("ValueType", builtins.int) @@ -298,7 +302,7 @@ class _ApplicationErrorCategoryEnumTypeWrapper( _ApplicationErrorCategory.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor APPLICATION_ERROR_CATEGORY_UNSPECIFIED: _ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: _ApplicationErrorCategory.ValueType # 1 @@ -311,7 +315,9 @@ class ApplicationErrorCategory( APPLICATION_ERROR_CATEGORY_UNSPECIFIED: ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: ApplicationErrorCategory.ValueType # 1 """Expected application error with little/no severity.""" -global___ApplicationErrorCategory = ApplicationErrorCategory +Global___ApplicationErrorCategory: typing_extensions.TypeAlias = ( + ApplicationErrorCategory +) class _WorkerStatus: ValueType = typing.NewType("ValueType", builtins.int) @@ -322,7 +328,7 @@ class _WorkerStatusEnumTypeWrapper( _WorkerStatus.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_STATUS_UNSPECIFIED: _WorkerStatus.ValueType # 0 WORKER_STATUS_RUNNING: _WorkerStatus.ValueType # 1 @@ -338,4 +344,4 @@ WORKER_STATUS_UNSPECIFIED: WorkerStatus.ValueType # 0 WORKER_STATUS_RUNNING: WorkerStatus.ValueType # 1 WORKER_STATUS_SHUTTING_DOWN: WorkerStatus.ValueType # 2 WORKER_STATUS_SHUTDOWN: WorkerStatus.ValueType # 3 -global___WorkerStatus = WorkerStatus +Global___WorkerStatus: typing_extensions.TypeAlias = WorkerStatus diff --git a/temporalio/api/enums/v1/deployment_pb2.py b/temporalio/api/enums/v1/deployment_pb2.py index aa05071ed..caf3fab9a 100644 --- a/temporalio/api/enums/v1/deployment_pb2.py +++ b/temporalio/api/enums/v1/deployment_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/deployment.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/enums/v1/deployment.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,46 +28,22 @@ b"\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xe7\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CREATED\x10\x06\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_DEPLOYMENTREACHABILITY = DESCRIPTOR.enum_types_by_name["DeploymentReachability"] -DeploymentReachability = enum_type_wrapper.EnumTypeWrapper(_DEPLOYMENTREACHABILITY) -_VERSIONDRAINAGESTATUS = DESCRIPTOR.enum_types_by_name["VersionDrainageStatus"] -VersionDrainageStatus = enum_type_wrapper.EnumTypeWrapper(_VERSIONDRAINAGESTATUS) -_WORKERVERSIONINGMODE = DESCRIPTOR.enum_types_by_name["WorkerVersioningMode"] -WorkerVersioningMode = enum_type_wrapper.EnumTypeWrapper(_WORKERVERSIONINGMODE) -_WORKERDEPLOYMENTVERSIONSTATUS = DESCRIPTOR.enum_types_by_name[ - "WorkerDeploymentVersionStatus" -] -WorkerDeploymentVersionStatus = enum_type_wrapper.EnumTypeWrapper( - _WORKERDEPLOYMENTVERSIONSTATUS +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.enums.v1.deployment_pb2", _globals ) -DEPLOYMENT_REACHABILITY_UNSPECIFIED = 0 -DEPLOYMENT_REACHABILITY_REACHABLE = 1 -DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2 -DEPLOYMENT_REACHABILITY_UNREACHABLE = 3 -VERSION_DRAINAGE_STATUS_UNSPECIFIED = 0 -VERSION_DRAINAGE_STATUS_DRAINING = 1 -VERSION_DRAINAGE_STATUS_DRAINED = 2 -WORKER_VERSIONING_MODE_UNSPECIFIED = 0 -WORKER_VERSIONING_MODE_UNVERSIONED = 1 -WORKER_VERSIONING_MODE_VERSIONED = 2 -WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED = 0 -WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE = 1 -WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT = 2 -WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING = 3 -WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING = 4 -WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED = 5 -WORKER_DEPLOYMENT_VERSION_STATUS_CREATED = 6 - - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _DEPLOYMENTREACHABILITY._serialized_start = 66 - _DEPLOYMENTREACHABILITY._serialized_end = 262 - _VERSIONDRAINAGESTATUS._serialized_start = 265 - _VERSIONDRAINAGESTATUS._serialized_end = 404 - _WORKERVERSIONINGMODE._serialized_start = 407 - _WORKERVERSIONINGMODE._serialized_end = 547 - _WORKERDEPLOYMENTVERSIONSTATUS._serialized_start = 550 - _WORKERDEPLOYMENTVERSIONSTATUS._serialized_end = 909 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _globals["_DEPLOYMENTREACHABILITY"]._serialized_start = 66 + _globals["_DEPLOYMENTREACHABILITY"]._serialized_end = 262 + _globals["_VERSIONDRAINAGESTATUS"]._serialized_start = 265 + _globals["_VERSIONDRAINAGESTATUS"]._serialized_end = 404 + _globals["_WORKERVERSIONINGMODE"]._serialized_start = 407 + _globals["_WORKERVERSIONINGMODE"]._serialized_end = 547 + _globals["_WORKERDEPLOYMENTVERSIONSTATUS"]._serialized_start = 550 + _globals["_WORKERDEPLOYMENTVERSIONSTATUS"]._serialized_end = 909 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/deployment_pb2.pyi b/temporalio/api/enums/v1/deployment_pb2.pyi index de3378e69..f2f2db813 100644 --- a/temporalio/api/enums/v1/deployment_pb2.pyi +++ b/temporalio/api/enums/v1/deployment_pb2.pyi @@ -26,7 +26,7 @@ class _DeploymentReachabilityEnumTypeWrapper( _DeploymentReachability.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DEPLOYMENT_REACHABILITY_UNSPECIFIED: _DeploymentReachability.ValueType # 0 """Reachability level is not specified.""" @@ -68,7 +68,7 @@ DEPLOYMENT_REACHABILITY_UNREACHABLE: DeploymentReachability.ValueType # 3 """The deployment is not reachable by any workflow because all the workflows who needed this deployment went out of retention period. The deployment can be decommissioned safely. """ -global___DeploymentReachability = DeploymentReachability +Global___DeploymentReachability: typing_extensions.TypeAlias = DeploymentReachability class _VersionDrainageStatus: ValueType = typing.NewType("ValueType", builtins.int) @@ -79,7 +79,7 @@ class _VersionDrainageStatusEnumTypeWrapper( _VersionDrainageStatus.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor VERSION_DRAINAGE_STATUS_UNSPECIFIED: _VersionDrainageStatus.ValueType # 0 """Drainage Status is not specified.""" @@ -115,7 +115,7 @@ Queries sent to closed workflows. The version can be decommissioned safely if us not query closed workflows. If the user does query closed workflows for some time x after workflows are closed, they should decommission the version after it has been drained for that duration. """ -global___VersionDrainageStatus = VersionDrainageStatus +Global___VersionDrainageStatus: typing_extensions.TypeAlias = VersionDrainageStatus class _WorkerVersioningMode: ValueType = typing.NewType("ValueType", builtins.int) @@ -126,7 +126,7 @@ class _WorkerVersioningModeEnumTypeWrapper( _WorkerVersioningMode.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_VERSIONING_MODE_UNSPECIFIED: _WorkerVersioningMode.ValueType # 0 WORKER_VERSIONING_MODE_UNVERSIONED: _WorkerVersioningMode.ValueType # 1 @@ -183,7 +183,7 @@ between the Pinned and AutoUpgrade behaviors. Depending on the chosen behavior, or may not need to use Patching to keep the new code compatible with prior versions. (see VersioningBehavior enum.) """ -global___WorkerVersioningMode = WorkerVersioningMode +Global___WorkerVersioningMode: typing_extensions.TypeAlias = WorkerVersioningMode class _WorkerDeploymentVersionStatus: ValueType = typing.NewType("ValueType", builtins.int) @@ -194,7 +194,7 @@ class _WorkerDeploymentVersionStatusEnumTypeWrapper( _WorkerDeploymentVersionStatus.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: ( _WorkerDeploymentVersionStatus.ValueType @@ -278,4 +278,6 @@ WORKER_DEPLOYMENT_VERSION_STATUS_CREATED: WorkerDeploymentVersionStatus.ValueTyp """The Worker Deployment Version is created by user (via `CreateWorkerDeploymentVersion` API) but server has not seen any poller for it yet. """ -global___WorkerDeploymentVersionStatus = WorkerDeploymentVersionStatus +Global___WorkerDeploymentVersionStatus: typing_extensions.TypeAlias = ( + WorkerDeploymentVersionStatus +) diff --git a/temporalio/api/enums/v1/event_type_pb2.py b/temporalio/api/enums/v1/event_type_pb2.py index 14ff7984d..288427869 100644 --- a/temporalio/api/enums/v1/event_type_pb2.py +++ b/temporalio/api/enums/v1/event_type_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/event_type.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/enums/v1/event_type.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,74 +28,16 @@ b'\n&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\x9e\x16\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%EVENT_TYPE_WORKFLOW_EXECUTION_STARTED\x10\x01\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED\x10\x02\x12(\n$EVENT_TYPE_WORKFLOW_EXECUTION_FAILED\x10\x03\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT\x10\x04\x12&\n"EVENT_TYPE_WORKFLOW_TASK_SCHEDULED\x10\x05\x12$\n EVENT_TYPE_WORKFLOW_TASK_STARTED\x10\x06\x12&\n"EVENT_TYPE_WORKFLOW_TASK_COMPLETED\x10\x07\x12&\n"EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT\x10\x08\x12#\n\x1f\x45VENT_TYPE_WORKFLOW_TASK_FAILED\x10\t\x12&\n"EVENT_TYPE_ACTIVITY_TASK_SCHEDULED\x10\n\x12$\n EVENT_TYPE_ACTIVITY_TASK_STARTED\x10\x0b\x12&\n"EVENT_TYPE_ACTIVITY_TASK_COMPLETED\x10\x0c\x12#\n\x1f\x45VENT_TYPE_ACTIVITY_TASK_FAILED\x10\r\x12&\n"EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT\x10\x0e\x12-\n)EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED\x10\x0f\x12%\n!EVENT_TYPE_ACTIVITY_TASK_CANCELED\x10\x10\x12\x1c\n\x18\x45VENT_TYPE_TIMER_STARTED\x10\x11\x12\x1a\n\x16\x45VENT_TYPE_TIMER_FIRED\x10\x12\x12\x1d\n\x19\x45VENT_TYPE_TIMER_CANCELED\x10\x13\x12\x32\n.EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED\x10\x14\x12*\n&EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED\x10\x15\x12\x43\n?EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED\x10\x16\x12@\n= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class NotFoundFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -41,13 +43,14 @@ class NotFoundFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "active_cluster", b"active_cluster", "current_cluster", b"current_cluster" ], ) -> None: ... -global___NotFoundFailure = NotFoundFailure +Global___NotFoundFailure: typing_extensions.TypeAlias = NotFoundFailure +@typing.final class WorkflowExecutionAlreadyStartedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -63,13 +66,16 @@ class WorkflowExecutionAlreadyStartedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "run_id", b"run_id", "start_request_id", b"start_request_id" ], ) -> None: ... -global___WorkflowExecutionAlreadyStartedFailure = WorkflowExecutionAlreadyStartedFailure +Global___WorkflowExecutionAlreadyStartedFailure: typing_extensions.TypeAlias = ( + WorkflowExecutionAlreadyStartedFailure +) +@typing.final class NamespaceNotActiveFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -88,7 +94,7 @@ class NamespaceNotActiveFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "active_cluster", b"active_cluster", "current_cluster", @@ -98,8 +104,11 @@ class NamespaceNotActiveFailure(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceNotActiveFailure = NamespaceNotActiveFailure +Global___NamespaceNotActiveFailure: typing_extensions.TypeAlias = ( + NamespaceNotActiveFailure +) +@typing.final class NamespaceUnavailableFailure(google.protobuf.message.Message): """NamespaceUnavailableFailure is returned by the service when a request addresses a namespace that is unavailable. For example, when a namespace is in the process of failing over between clusters. @@ -116,11 +125,14 @@ class NamespaceUnavailableFailure(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] + self, field_name: typing.Literal["namespace", b"namespace"] ) -> None: ... -global___NamespaceUnavailableFailure = NamespaceUnavailableFailure +Global___NamespaceUnavailableFailure: typing_extensions.TypeAlias = ( + NamespaceUnavailableFailure +) +@typing.final class NamespaceInvalidStateFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -139,6 +151,7 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): """Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace. """ + def __init__( self, *, @@ -151,7 +164,7 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "allowed_states", b"allowed_states", "namespace", @@ -161,8 +174,11 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceInvalidStateFailure = NamespaceInvalidStateFailure +Global___NamespaceInvalidStateFailure: typing_extensions.TypeAlias = ( + NamespaceInvalidStateFailure +) +@typing.final class NamespaceNotFoundFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -174,11 +190,14 @@ class NamespaceNotFoundFailure(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] + self, field_name: typing.Literal["namespace", b"namespace"] ) -> None: ... -global___NamespaceNotFoundFailure = NamespaceNotFoundFailure +Global___NamespaceNotFoundFailure: typing_extensions.TypeAlias = ( + NamespaceNotFoundFailure +) +@typing.final class NamespaceAlreadyExistsFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -186,8 +205,11 @@ class NamespaceAlreadyExistsFailure(google.protobuf.message.Message): self, ) -> None: ... -global___NamespaceAlreadyExistsFailure = NamespaceAlreadyExistsFailure +Global___NamespaceAlreadyExistsFailure: typing_extensions.TypeAlias = ( + NamespaceAlreadyExistsFailure +) +@typing.final class ClientVersionNotSupportedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -206,7 +228,7 @@ class ClientVersionNotSupportedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "client_name", b"client_name", "client_version", @@ -216,8 +238,11 @@ class ClientVersionNotSupportedFailure(google.protobuf.message.Message): ], ) -> None: ... -global___ClientVersionNotSupportedFailure = ClientVersionNotSupportedFailure +Global___ClientVersionNotSupportedFailure: typing_extensions.TypeAlias = ( + ClientVersionNotSupportedFailure +) +@typing.final class ServerVersionNotSupportedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -233,7 +258,7 @@ class ServerVersionNotSupportedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "client_supported_server_versions", b"client_supported_server_versions", "server_version", @@ -241,8 +266,11 @@ class ServerVersionNotSupportedFailure(google.protobuf.message.Message): ], ) -> None: ... -global___ServerVersionNotSupportedFailure = ServerVersionNotSupportedFailure +Global___ServerVersionNotSupportedFailure: typing_extensions.TypeAlias = ( + ServerVersionNotSupportedFailure +) +@typing.final class CancellationAlreadyRequestedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -250,8 +278,11 @@ class CancellationAlreadyRequestedFailure(google.protobuf.message.Message): self, ) -> None: ... -global___CancellationAlreadyRequestedFailure = CancellationAlreadyRequestedFailure +Global___CancellationAlreadyRequestedFailure: typing_extensions.TypeAlias = ( + CancellationAlreadyRequestedFailure +) +@typing.final class QueryFailedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -262,20 +293,20 @@ class QueryFailedFailure(google.protobuf.message.Message): SDK. This field can be encoded by the SDK's failure converter to support E2E encryption of messages and stack traces. """ + def __init__( self, *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___QueryFailedFailure = QueryFailedFailure +Global___QueryFailedFailure: typing_extensions.TypeAlias = QueryFailedFailure +@typing.final class PermissionDeniedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -286,12 +317,11 @@ class PermissionDeniedFailure(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["reason", b"reason"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["reason", b"reason"]) -> None: ... -global___PermissionDeniedFailure = PermissionDeniedFailure +Global___PermissionDeniedFailure: typing_extensions.TypeAlias = PermissionDeniedFailure +@typing.final class ResourceExhaustedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -306,17 +336,21 @@ class ResourceExhaustedFailure(google.protobuf.message.Message): scope: temporalio.api.enums.v1.failed_cause_pb2.ResourceExhaustedScope.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["cause", b"cause", "scope", b"scope"], + self, field_name: typing.Literal["cause", b"cause", "scope", b"scope"] ) -> None: ... -global___ResourceExhaustedFailure = ResourceExhaustedFailure +Global___ResourceExhaustedFailure: typing_extensions.TypeAlias = ( + ResourceExhaustedFailure +) +@typing.final class SystemWorkflowFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int WORKFLOW_ERROR_FIELD_NUMBER: builtins.int + workflow_error: builtins.str + """Serialized error returned by the system workflow performing the underlying operation.""" @property def workflow_execution( self, @@ -324,8 +358,7 @@ class SystemWorkflowFailure(google.protobuf.message.Message): """WorkflowId and RunId of the Temporal system workflow performing the underlying operation. Looking up the info of the system workflow run may help identify the issue causing the failure. """ - workflow_error: builtins.str - """Serialized error returned by the system workflow performing the underlying operation.""" + def __init__( self, *, @@ -334,14 +367,11 @@ class SystemWorkflowFailure(google.protobuf.message.Message): workflow_error: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "workflow_error", b"workflow_error", "workflow_execution", @@ -349,8 +379,9 @@ class SystemWorkflowFailure(google.protobuf.message.Message): ], ) -> None: ... -global___SystemWorkflowFailure = SystemWorkflowFailure +Global___SystemWorkflowFailure: typing_extensions.TypeAlias = SystemWorkflowFailure +@typing.final class WorkflowNotReadyFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -358,8 +389,9 @@ class WorkflowNotReadyFailure(google.protobuf.message.Message): self, ) -> None: ... -global___WorkflowNotReadyFailure = WorkflowNotReadyFailure +Global___WorkflowNotReadyFailure: typing_extensions.TypeAlias = WorkflowNotReadyFailure +@typing.final class NewerBuildExistsFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -372,15 +404,16 @@ class NewerBuildExistsFailure(google.protobuf.message.Message): default_build_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["default_build_id", b"default_build_id"], + self, field_name: typing.Literal["default_build_id", b"default_build_id"] ) -> None: ... -global___NewerBuildExistsFailure = NewerBuildExistsFailure +Global___NewerBuildExistsFailure: typing_extensions.TypeAlias = NewerBuildExistsFailure +@typing.final class MultiOperationExecutionFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class OperationStatus(google.protobuf.message.Message): """NOTE: `OperationStatus` is modelled after [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto). @@ -411,7 +444,7 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "code", b"code", "details", b"details", "message", b"message" ], ) -> None: ... @@ -421,26 +454,30 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): def statuses( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___MultiOperationExecutionFailure.OperationStatus + Global___MultiOperationExecutionFailure.OperationStatus ]: """One status for each requested operation from the failed MultiOperation. The failed operation(s) have the same error details as if it was executed separately. All other operations have the status code `Aborted` and `MultiOperationExecutionAborted` is added to the details field. """ + def __init__( self, *, statuses: collections.abc.Iterable[ - global___MultiOperationExecutionFailure.OperationStatus + Global___MultiOperationExecutionFailure.OperationStatus ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["statuses", b"statuses"] + self, field_name: typing.Literal["statuses", b"statuses"] ) -> None: ... -global___MultiOperationExecutionFailure = MultiOperationExecutionFailure +Global___MultiOperationExecutionFailure: typing_extensions.TypeAlias = ( + MultiOperationExecutionFailure +) +@typing.final class ActivityExecutionAlreadyStartedFailure(google.protobuf.message.Message): """An error indicating that an activity execution failed to start. Returned when there is an existing activity with the given activity ID, and the given ID reuse and conflict policies do not permit starting a new one or attaching to an @@ -461,13 +498,16 @@ class ActivityExecutionAlreadyStartedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "run_id", b"run_id", "start_request_id", b"start_request_id" ], ) -> None: ... -global___ActivityExecutionAlreadyStartedFailure = ActivityExecutionAlreadyStartedFailure +Global___ActivityExecutionAlreadyStartedFailure: typing_extensions.TypeAlias = ( + ActivityExecutionAlreadyStartedFailure +) +@typing.final class NexusOperationExecutionAlreadyStartedFailure(google.protobuf.message.Message): """An error indicating that a Nexus operation failed to start. Returned when there is an existing operation with the given operation ID, and the given ID reuse and conflict policies do not permit starting a new one or attaching to an @@ -488,11 +528,11 @@ class NexusOperationExecutionAlreadyStartedFailure(google.protobuf.message.Messa ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "run_id", b"run_id", "start_request_id", b"start_request_id" ], ) -> None: ... -global___NexusOperationExecutionAlreadyStartedFailure = ( +Global___NexusOperationExecutionAlreadyStartedFailure: typing_extensions.TypeAlias = ( NexusOperationExecutionAlreadyStartedFailure ) diff --git a/temporalio/api/export/v1/message_pb2.py b/temporalio/api/export/v1/message_pb2.py index 35d672eca..4546a8f17 100644 --- a/temporalio/api/export/v1/message_pb2.py +++ b/temporalio/api/export/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/export/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/export/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,36 +27,18 @@ b'\n$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto"F\n\x11WorkflowExecution\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History"N\n\x12WorkflowExecutions\x12\x38\n\x05items\x18\x01 \x03(\x0b\x32).temporal.api.export.v1.WorkflowExecutionB\x89\x01\n\x19io.temporal.api.export.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3' ) - -_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] -_WORKFLOWEXECUTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutions"] -WorkflowExecution = _reflection.GeneratedProtocolMessageType( - "WorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTION, - "__module__": "temporalio.api.export.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecution) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.export.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(WorkflowExecution) - -WorkflowExecutions = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutions", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONS, - "__module__": "temporalio.api.export.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecutions) - }, -) -_sym_db.RegisterMessage(WorkflowExecutions) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1" - _WORKFLOWEXECUTION._serialized_start = 103 - _WORKFLOWEXECUTION._serialized_end = 173 - _WORKFLOWEXECUTIONS._serialized_start = 175 - _WORKFLOWEXECUTIONS._serialized_end = 253 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1" + _globals["_WORKFLOWEXECUTION"]._serialized_start = 103 + _globals["_WORKFLOWEXECUTION"]._serialized_end = 173 + _globals["_WORKFLOWEXECUTIONS"]._serialized_start = 175 + _globals["_WORKFLOWEXECUTIONS"]._serialized_end = 253 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/export/v1/message_pb2.pyi b/temporalio/api/export/v1/message_pb2.pyi index a270b0e26..f8a4814a6 100644 --- a/temporalio/api/export/v1/message_pb2.pyi +++ b/temporalio/api/export/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -13,13 +14,14 @@ import google.protobuf.message import temporalio.api.history.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowExecution(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -32,14 +34,13 @@ class WorkflowExecution(google.protobuf.message.Message): history: temporalio.api.history.v1.message_pb2.History | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["history", b"history"] + self, field_name: typing.Literal["history", b"history"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["history", b"history"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["history", b"history"]) -> None: ... -global___WorkflowExecution = WorkflowExecution +Global___WorkflowExecution: typing_extensions.TypeAlias = WorkflowExecution +@typing.final class WorkflowExecutions(google.protobuf.message.Message): """WorkflowExecutions is used by the Cloud Export feature to deserialize the exported file. It encapsulates a collection of workflow execution information. @@ -52,15 +53,13 @@ class WorkflowExecutions(google.protobuf.message.Message): def items( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowExecution + Global___WorkflowExecution ]: ... def __init__( self, *, - items: collections.abc.Iterable[global___WorkflowExecution] | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["items", b"items"] + items: collections.abc.Iterable[Global___WorkflowExecution] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["items", b"items"]) -> None: ... -global___WorkflowExecutions = WorkflowExecutions +Global___WorkflowExecutions: typing_extensions.TypeAlias = WorkflowExecutions diff --git a/temporalio/api/failure/v1/message_pb2.py b/temporalio/api/failure/v1/message_pb2.py index db46b0717..411f238c2 100644 --- a/temporalio/api/failure/v1/message_pb2.py +++ b/temporalio/api/failure/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/failure/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/failure/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,186 +43,44 @@ b'\n%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto"\xe8\x01\n\x16\x41pplicationFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x15\n\rnon_retryable\x18\x02 \x01(\x08\x12\x31\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x33\n\x10next_retry_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x08\x63\x61tegory\x18\x05 \x01(\x0e\x32/.temporal.api.enums.v1.ApplicationErrorCategory"\x90\x01\n\x12TimeoutFailureInfo\x12\x38\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType\x12@\n\x16last_heartbeat_details\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"Z\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t")\n\x15TerminatedFailureInfo\x12\x10\n\x08identity\x18\x01 \x01(\t"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe7\x01\n\x13\x41\x63tivityFailureInfo\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;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa0\x01\n\x19NexusOperationFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12\x18\n\x0coperation_id\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x06 \x01(\t"v\n\x17NexusHandlerFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x0eretry_behavior\x18\x02 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"\xa0\x08\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12;\n\x12\x65ncoded_attributes\x18\x14 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12/\n\x05\x63\x61use\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12S\n\x18\x61pplication_failure_info\x18\x05 \x01(\x0b\x32/.temporal.api.failure.v1.ApplicationFailureInfoH\x00\x12K\n\x14timeout_failure_info\x18\x06 \x01(\x0b\x32+.temporal.api.failure.v1.TimeoutFailureInfoH\x00\x12M\n\x15\x63\x61nceled_failure_info\x18\x07 \x01(\x0b\x32,.temporal.api.failure.v1.CanceledFailureInfoH\x00\x12Q\n\x17terminated_failure_info\x18\x08 \x01(\x0b\x32..temporal.api.failure.v1.TerminatedFailureInfoH\x00\x12I\n\x13server_failure_info\x18\t \x01(\x0b\x32*.temporal.api.failure.v1.ServerFailureInfoH\x00\x12X\n\x1breset_workflow_failure_info\x18\n \x01(\x0b\x32\x31.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00\x12M\n\x15\x61\x63tivity_failure_info\x18\x0b \x01(\x0b\x32,.temporal.api.failure.v1.ActivityFailureInfoH\x00\x12k\n%child_workflow_execution_failure_info\x18\x0c \x01(\x0b\x32:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00\x12\x64\n&nexus_operation_execution_failure_info\x18\r \x01(\x0b\x32\x32.temporal.api.failure.v1.NexusOperationFailureInfoH\x00\x12V\n\x1anexus_handler_failure_info\x18\x0e \x01(\x0b\x32\x30.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_info" \n\x1eMultiOperationExecutionAbortedB\x8e\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3' ) - -_APPLICATIONFAILUREINFO = DESCRIPTOR.message_types_by_name["ApplicationFailureInfo"] -_TIMEOUTFAILUREINFO = DESCRIPTOR.message_types_by_name["TimeoutFailureInfo"] -_CANCELEDFAILUREINFO = DESCRIPTOR.message_types_by_name["CanceledFailureInfo"] -_TERMINATEDFAILUREINFO = DESCRIPTOR.message_types_by_name["TerminatedFailureInfo"] -_SERVERFAILUREINFO = DESCRIPTOR.message_types_by_name["ServerFailureInfo"] -_RESETWORKFLOWFAILUREINFO = DESCRIPTOR.message_types_by_name["ResetWorkflowFailureInfo"] -_ACTIVITYFAILUREINFO = DESCRIPTOR.message_types_by_name["ActivityFailureInfo"] -_CHILDWORKFLOWEXECUTIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionFailureInfo" -] -_NEXUSOPERATIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ - "NexusOperationFailureInfo" -] -_NEXUSHANDLERFAILUREINFO = DESCRIPTOR.message_types_by_name["NexusHandlerFailureInfo"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_MULTIOPERATIONEXECUTIONABORTED = DESCRIPTOR.message_types_by_name[ - "MultiOperationExecutionAborted" -] -ApplicationFailureInfo = _reflection.GeneratedProtocolMessageType( - "ApplicationFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _APPLICATIONFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ApplicationFailureInfo) - }, -) -_sym_db.RegisterMessage(ApplicationFailureInfo) - -TimeoutFailureInfo = _reflection.GeneratedProtocolMessageType( - "TimeoutFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _TIMEOUTFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TimeoutFailureInfo) - }, -) -_sym_db.RegisterMessage(TimeoutFailureInfo) - -CanceledFailureInfo = _reflection.GeneratedProtocolMessageType( - "CanceledFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _CANCELEDFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.CanceledFailureInfo) - }, -) -_sym_db.RegisterMessage(CanceledFailureInfo) - -TerminatedFailureInfo = _reflection.GeneratedProtocolMessageType( - "TerminatedFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEDFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TerminatedFailureInfo) - }, -) -_sym_db.RegisterMessage(TerminatedFailureInfo) - -ServerFailureInfo = _reflection.GeneratedProtocolMessageType( - "ServerFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _SERVERFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ServerFailureInfo) - }, -) -_sym_db.RegisterMessage(ServerFailureInfo) - -ResetWorkflowFailureInfo = _reflection.GeneratedProtocolMessageType( - "ResetWorkflowFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _RESETWORKFLOWFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ResetWorkflowFailureInfo) - }, -) -_sym_db.RegisterMessage(ResetWorkflowFailureInfo) - -ActivityFailureInfo = _reflection.GeneratedProtocolMessageType( - "ActivityFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ActivityFailureInfo) - }, -) -_sym_db.RegisterMessage(ActivityFailureInfo) - -ChildWorkflowExecutionFailureInfo = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo) - }, -) -_sym_db.RegisterMessage(ChildWorkflowExecutionFailureInfo) - -NexusOperationFailureInfo = _reflection.GeneratedProtocolMessageType( - "NexusOperationFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusOperationFailureInfo) - }, -) -_sym_db.RegisterMessage(NexusOperationFailureInfo) - -NexusHandlerFailureInfo = _reflection.GeneratedProtocolMessageType( - "NexusHandlerFailureInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSHANDLERFAILUREINFO, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusHandlerFailureInfo) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.failure.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(NexusHandlerFailureInfo) - -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.Failure) - }, -) -_sym_db.RegisterMessage(Failure) - -MultiOperationExecutionAborted = _reflection.GeneratedProtocolMessageType( - "MultiOperationExecutionAborted", - (_message.Message,), - { - "DESCRIPTOR": _MULTIOPERATIONEXECUTIONABORTED, - "__module__": "temporalio.api.failure.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.MultiOperationExecutionAborted) - }, -) -_sym_db.RegisterMessage(MultiOperationExecutionAborted) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1" - _NEXUSOPERATIONFAILUREINFO.fields_by_name["operation_id"]._options = None - _NEXUSOPERATIONFAILUREINFO.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1" + _globals["_NEXUSOPERATIONFAILUREINFO"].fields_by_name[ + "operation_id" + ]._loaded_options = None + _globals["_NEXUSOPERATIONFAILUREINFO"].fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _APPLICATIONFAILUREINFO._serialized_start = 246 - _APPLICATIONFAILUREINFO._serialized_end = 478 - _TIMEOUTFAILUREINFO._serialized_start = 481 - _TIMEOUTFAILUREINFO._serialized_end = 625 - _CANCELEDFAILUREINFO._serialized_start = 627 - _CANCELEDFAILUREINFO._serialized_end = 717 - _TERMINATEDFAILUREINFO._serialized_start = 719 - _TERMINATEDFAILUREINFO._serialized_end = 760 - _SERVERFAILUREINFO._serialized_start = 762 - _SERVERFAILUREINFO._serialized_end = 804 - _RESETWORKFLOWFAILUREINFO._serialized_start = 806 - _RESETWORKFLOWFAILUREINFO._serialized_end = 898 - _ACTIVITYFAILUREINFO._serialized_start = 901 - _ACTIVITYFAILUREINFO._serialized_end = 1132 - _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_start = 1135 - _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_end = 1431 - _NEXUSOPERATIONFAILUREINFO._serialized_start = 1434 - _NEXUSOPERATIONFAILUREINFO._serialized_end = 1594 - _NEXUSHANDLERFAILUREINFO._serialized_start = 1596 - _NEXUSHANDLERFAILUREINFO._serialized_end = 1714 - _FAILURE._serialized_start = 1717 - _FAILURE._serialized_end = 2773 - _MULTIOPERATIONEXECUTIONABORTED._serialized_start = 2775 - _MULTIOPERATIONEXECUTIONABORTED._serialized_end = 2807 + _globals["_APPLICATIONFAILUREINFO"]._serialized_start = 246 + _globals["_APPLICATIONFAILUREINFO"]._serialized_end = 478 + _globals["_TIMEOUTFAILUREINFO"]._serialized_start = 481 + _globals["_TIMEOUTFAILUREINFO"]._serialized_end = 625 + _globals["_CANCELEDFAILUREINFO"]._serialized_start = 627 + _globals["_CANCELEDFAILUREINFO"]._serialized_end = 717 + _globals["_TERMINATEDFAILUREINFO"]._serialized_start = 719 + _globals["_TERMINATEDFAILUREINFO"]._serialized_end = 760 + _globals["_SERVERFAILUREINFO"]._serialized_start = 762 + _globals["_SERVERFAILUREINFO"]._serialized_end = 804 + _globals["_RESETWORKFLOWFAILUREINFO"]._serialized_start = 806 + _globals["_RESETWORKFLOWFAILUREINFO"]._serialized_end = 898 + _globals["_ACTIVITYFAILUREINFO"]._serialized_start = 901 + _globals["_ACTIVITYFAILUREINFO"]._serialized_end = 1132 + _globals["_CHILDWORKFLOWEXECUTIONFAILUREINFO"]._serialized_start = 1135 + _globals["_CHILDWORKFLOWEXECUTIONFAILUREINFO"]._serialized_end = 1431 + _globals["_NEXUSOPERATIONFAILUREINFO"]._serialized_start = 1434 + _globals["_NEXUSOPERATIONFAILUREINFO"]._serialized_end = 1594 + _globals["_NEXUSHANDLERFAILUREINFO"]._serialized_start = 1596 + _globals["_NEXUSHANDLERFAILUREINFO"]._serialized_end = 1714 + _globals["_FAILURE"]._serialized_start = 1717 + _globals["_FAILURE"]._serialized_end = 2773 + _globals["_MULTIOPERATIONEXECUTIONABORTED"]._serialized_start = 2775 + _globals["_MULTIOPERATIONEXECUTIONABORTED"]._serialized_end = 2807 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/failure/v1/message_pb2.pyi b/temporalio/api/failure/v1/message_pb2.pyi index e0eecf7e7..16f46a293 100644 --- a/temporalio/api/failure/v1/message_pb2.pyi +++ b/temporalio/api/failure/v1/message_pb2.pyi @@ -5,6 +5,7 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -15,13 +16,14 @@ import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.nexus_pb2 import temporalio.api.enums.v1.workflow_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ApplicationFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -32,6 +34,7 @@ class ApplicationFailureInfo(google.protobuf.message.Message): CATEGORY_FIELD_NUMBER: builtins.int type: builtins.str non_retryable: builtins.bool + category: temporalio.api.enums.v1.common_pb2.ApplicationErrorCategory.ValueType @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property @@ -41,7 +44,7 @@ class ApplicationFailureInfo(google.protobuf.message.Message): still be subject to the maximum retries limit and total time limit defined by the policy. """ - category: temporalio.api.enums.v1.common_pb2.ApplicationErrorCategory.ValueType + def __init__( self, *, @@ -53,13 +56,13 @@ class ApplicationFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "next_retry_delay", b"next_retry_delay" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "category", b"category", "details", @@ -73,8 +76,9 @@ class ApplicationFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ApplicationFailureInfo = ApplicationFailureInfo +Global___ApplicationFailureInfo: typing_extensions.TypeAlias = ApplicationFailureInfo +@typing.final class TimeoutFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -94,13 +98,11 @@ class TimeoutFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "last_heartbeat_details", b"last_heartbeat_details" - ], + field_name: typing.Literal["last_heartbeat_details", b"last_heartbeat_details"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_heartbeat_details", b"last_heartbeat_details", "timeout_type", @@ -108,17 +110,18 @@ class TimeoutFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -global___TimeoutFailureInfo = TimeoutFailureInfo +Global___TimeoutFailureInfo: typing_extensions.TypeAlias = TimeoutFailureInfo +@typing.final class CanceledFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor DETAILS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... identity: builtins.str """The identity of the worker or client that requested the cancellation.""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... def __init__( self, *, @@ -126,17 +129,15 @@ class CanceledFailureInfo(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "identity", b"identity" - ], + self, field_name: typing.Literal["details", b"details", "identity", b"identity"] ) -> None: ... -global___CanceledFailureInfo = CanceledFailureInfo +Global___CanceledFailureInfo: typing_extensions.TypeAlias = CanceledFailureInfo +@typing.final class TerminatedFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -149,11 +150,12 @@ class TerminatedFailureInfo(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["identity", b"identity"] + self, field_name: typing.Literal["identity", b"identity"] ) -> None: ... -global___TerminatedFailureInfo = TerminatedFailureInfo +Global___TerminatedFailureInfo: typing_extensions.TypeAlias = TerminatedFailureInfo +@typing.final class ServerFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -165,11 +167,12 @@ class ServerFailureInfo(google.protobuf.message.Message): non_retryable: builtins.bool = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["non_retryable", b"non_retryable"] + self, field_name: typing.Literal["non_retryable", b"non_retryable"] ) -> None: ... -global___ServerFailureInfo = ServerFailureInfo +Global___ServerFailureInfo: typing_extensions.TypeAlias = ServerFailureInfo +@typing.final class ResetWorkflowFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -186,19 +189,18 @@ class ResetWorkflowFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "last_heartbeat_details", b"last_heartbeat_details" - ], + field_name: typing.Literal["last_heartbeat_details", b"last_heartbeat_details"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "last_heartbeat_details", b"last_heartbeat_details" - ], + field_name: typing.Literal["last_heartbeat_details", b"last_heartbeat_details"], ) -> None: ... -global___ResetWorkflowFailureInfo = ResetWorkflowFailureInfo +Global___ResetWorkflowFailureInfo: typing_extensions.TypeAlias = ( + ResetWorkflowFailureInfo +) +@typing.final class ActivityFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -211,10 +213,10 @@ class ActivityFailureInfo(google.protobuf.message.Message): scheduled_event_id: builtins.int started_event_id: builtins.int identity: builtins.str - @property - def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... activity_id: builtins.str retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType + @property + def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... def __init__( self, *, @@ -226,11 +228,11 @@ class ActivityFailureInfo(google.protobuf.message.Message): retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] + self, field_name: typing.Literal["activity_type", b"activity_type"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -246,8 +248,9 @@ class ActivityFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityFailureInfo = ActivityFailureInfo +Global___ActivityFailureInfo: typing_extensions.TypeAlias = ActivityFailureInfo +@typing.final class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -258,15 +261,15 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): STARTED_EVENT_ID_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int namespace: builtins.str + initiated_event_id: builtins.int + started_event_id: builtins.int + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - initiated_event_id: builtins.int - started_event_id: builtins.int - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -280,7 +283,7 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "workflow_execution", b"workflow_execution", "workflow_type", @@ -289,7 +292,7 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -305,8 +308,11 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ChildWorkflowExecutionFailureInfo = ChildWorkflowExecutionFailureInfo +Global___ChildWorkflowExecutionFailureInfo: typing_extensions.TypeAlias = ( + ChildWorkflowExecutionFailureInfo +) +@typing.final class NexusOperationFailureInfo(google.protobuf.message.Message): """Representation of the Temporal SDK NexusOperationError object that is returned to workflow callers.""" @@ -345,7 +351,7 @@ class NexusOperationFailureInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "endpoint", b"endpoint", "operation", @@ -361,8 +367,11 @@ class NexusOperationFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationFailureInfo = NexusOperationFailureInfo +Global___NexusOperationFailureInfo: typing_extensions.TypeAlias = ( + NexusOperationFailureInfo +) +@typing.final class NexusHandlerFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -384,13 +393,14 @@ class NexusHandlerFailureInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "retry_behavior", b"retry_behavior", "type", b"type" ], ) -> None: ... -global___NexusHandlerFailureInfo = NexusHandlerFailureInfo +Global___NexusHandlerFailureInfo: typing_extensions.TypeAlias = NexusHandlerFailureInfo +@typing.final class Failure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -433,32 +443,33 @@ class Failure(google.protobuf.message.Message): - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes. (-- api-linter: core::0203::optional=disabled --) """ + @property - def cause(self) -> global___Failure: ... + def cause(self) -> Global___Failure: ... @property - def application_failure_info(self) -> global___ApplicationFailureInfo: ... + def application_failure_info(self) -> Global___ApplicationFailureInfo: ... @property - def timeout_failure_info(self) -> global___TimeoutFailureInfo: ... + def timeout_failure_info(self) -> Global___TimeoutFailureInfo: ... @property - def canceled_failure_info(self) -> global___CanceledFailureInfo: ... + def canceled_failure_info(self) -> Global___CanceledFailureInfo: ... @property - def terminated_failure_info(self) -> global___TerminatedFailureInfo: ... + def terminated_failure_info(self) -> Global___TerminatedFailureInfo: ... @property - def server_failure_info(self) -> global___ServerFailureInfo: ... + def server_failure_info(self) -> Global___ServerFailureInfo: ... @property - def reset_workflow_failure_info(self) -> global___ResetWorkflowFailureInfo: ... + def reset_workflow_failure_info(self) -> Global___ResetWorkflowFailureInfo: ... @property - def activity_failure_info(self) -> global___ActivityFailureInfo: ... + def activity_failure_info(self) -> Global___ActivityFailureInfo: ... @property def child_workflow_execution_failure_info( self, - ) -> global___ChildWorkflowExecutionFailureInfo: ... + ) -> Global___ChildWorkflowExecutionFailureInfo: ... @property def nexus_operation_execution_failure_info( self, - ) -> global___NexusOperationFailureInfo: ... + ) -> Global___NexusOperationFailureInfo: ... @property - def nexus_handler_failure_info(self) -> global___NexusHandlerFailureInfo: ... + def nexus_handler_failure_info(self) -> Global___NexusHandlerFailureInfo: ... def __init__( self, *, @@ -466,23 +477,23 @@ class Failure(google.protobuf.message.Message): source: builtins.str = ..., stack_trace: builtins.str = ..., encoded_attributes: temporalio.api.common.v1.message_pb2.Payload | None = ..., - cause: global___Failure | None = ..., - application_failure_info: global___ApplicationFailureInfo | None = ..., - timeout_failure_info: global___TimeoutFailureInfo | None = ..., - canceled_failure_info: global___CanceledFailureInfo | None = ..., - terminated_failure_info: global___TerminatedFailureInfo | None = ..., - server_failure_info: global___ServerFailureInfo | None = ..., - reset_workflow_failure_info: global___ResetWorkflowFailureInfo | None = ..., - activity_failure_info: global___ActivityFailureInfo | None = ..., - child_workflow_execution_failure_info: global___ChildWorkflowExecutionFailureInfo + cause: Global___Failure | None = ..., + application_failure_info: Global___ApplicationFailureInfo | None = ..., + timeout_failure_info: Global___TimeoutFailureInfo | None = ..., + canceled_failure_info: Global___CanceledFailureInfo | None = ..., + terminated_failure_info: Global___TerminatedFailureInfo | None = ..., + server_failure_info: Global___ServerFailureInfo | None = ..., + reset_workflow_failure_info: Global___ResetWorkflowFailureInfo | None = ..., + activity_failure_info: Global___ActivityFailureInfo | None = ..., + child_workflow_execution_failure_info: Global___ChildWorkflowExecutionFailureInfo | None = ..., - nexus_operation_execution_failure_info: global___NexusOperationFailureInfo + nexus_operation_execution_failure_info: Global___NexusOperationFailureInfo | None = ..., - nexus_handler_failure_info: global___NexusHandlerFailureInfo | None = ..., + nexus_handler_failure_info: Global___NexusHandlerFailureInfo | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_failure_info", b"activity_failure_info", "application_failure_info", @@ -513,7 +524,7 @@ class Failure(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_failure_info", b"activity_failure_info", "application_failure_info", @@ -549,9 +560,9 @@ class Failure(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["failure_info", b"failure_info"] + self, oneof_group: typing.Literal["failure_info", b"failure_info"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "application_failure_info", "timeout_failure_info", "canceled_failure_info", @@ -566,8 +577,9 @@ class Failure(google.protobuf.message.Message): | None ): ... -global___Failure = Failure +Global___Failure: typing_extensions.TypeAlias = Failure +@typing.final class MultiOperationExecutionAborted(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -575,4 +587,6 @@ class MultiOperationExecutionAborted(google.protobuf.message.Message): self, ) -> None: ... -global___MultiOperationExecutionAborted = MultiOperationExecutionAborted +Global___MultiOperationExecutionAborted: typing_extensions.TypeAlias = ( + MultiOperationExecutionAborted +) diff --git a/temporalio/api/filter/v1/message_pb2.py b/temporalio/api/filter/v1/message_pb2.py index 3df20337d..ca386650b 100644 --- a/temporalio/api/filter/v1/message_pb2.py +++ b/temporalio/api/filter/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/filter/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/filter/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,64 +29,22 @@ b'\n$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/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"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x89\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3' ) - -_WORKFLOWEXECUTIONFILTER = DESCRIPTOR.message_types_by_name["WorkflowExecutionFilter"] -_WORKFLOWTYPEFILTER = DESCRIPTOR.message_types_by_name["WorkflowTypeFilter"] -_STARTTIMEFILTER = DESCRIPTOR.message_types_by_name["StartTimeFilter"] -_STATUSFILTER = DESCRIPTOR.message_types_by_name["StatusFilter"] -WorkflowExecutionFilter = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionFilter", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONFILTER, - "__module__": "temporalio.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowExecutionFilter) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.filter.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(WorkflowExecutionFilter) - -WorkflowTypeFilter = _reflection.GeneratedProtocolMessageType( - "WorkflowTypeFilter", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTYPEFILTER, - "__module__": "temporalio.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowTypeFilter) - }, -) -_sym_db.RegisterMessage(WorkflowTypeFilter) - -StartTimeFilter = _reflection.GeneratedProtocolMessageType( - "StartTimeFilter", - (_message.Message,), - { - "DESCRIPTOR": _STARTTIMEFILTER, - "__module__": "temporalio.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StartTimeFilter) - }, -) -_sym_db.RegisterMessage(StartTimeFilter) - -StatusFilter = _reflection.GeneratedProtocolMessageType( - "StatusFilter", - (_message.Message,), - { - "DESCRIPTOR": _STATUSFILTER, - "__module__": "temporalio.api.filter.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StatusFilter) - }, -) -_sym_db.RegisterMessage(StatusFilter) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1" - _WORKFLOWEXECUTIONFILTER._serialized_start = 135 - _WORKFLOWEXECUTIONFILTER._serialized_end = 197 - _WORKFLOWTYPEFILTER._serialized_start = 199 - _WORKFLOWTYPEFILTER._serialized_end = 233 - _STARTTIMEFILTER._serialized_start = 235 - _STARTTIMEFILTER._serialized_end = 352 - _STATUSFILTER._serialized_start = 354 - _STATUSFILTER._serialized_end = 432 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1" + _globals["_WORKFLOWEXECUTIONFILTER"]._serialized_start = 135 + _globals["_WORKFLOWEXECUTIONFILTER"]._serialized_end = 197 + _globals["_WORKFLOWTYPEFILTER"]._serialized_start = 199 + _globals["_WORKFLOWTYPEFILTER"]._serialized_end = 233 + _globals["_STARTTIMEFILTER"]._serialized_start = 235 + _globals["_STARTTIMEFILTER"]._serialized_end = 352 + _globals["_STATUSFILTER"]._serialized_start = 354 + _globals["_STATUSFILTER"]._serialized_end = 432 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/filter/v1/message_pb2.pyi b/temporalio/api/filter/v1/message_pb2.pyi index 26d2efeb1..1464d40f8 100644 --- a/temporalio/api/filter/v1/message_pb2.pyi +++ b/temporalio/api/filter/v1/message_pb2.pyi @@ -5,6 +5,7 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message @@ -12,13 +13,14 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.workflow_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowExecutionFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,13 +36,12 @@ class WorkflowExecutionFilter(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "run_id", b"run_id", "workflow_id", b"workflow_id" - ], + field_name: typing.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"], ) -> None: ... -global___WorkflowExecutionFilter = WorkflowExecutionFilter +Global___WorkflowExecutionFilter: typing_extensions.TypeAlias = WorkflowExecutionFilter +@typing.final class WorkflowTypeFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -51,12 +52,11 @@ class WorkflowTypeFilter(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... -global___WorkflowTypeFilter = WorkflowTypeFilter +Global___WorkflowTypeFilter: typing_extensions.TypeAlias = WorkflowTypeFilter +@typing.final class StartTimeFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -74,19 +74,20 @@ class StartTimeFilter(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "earliest_time", b"earliest_time", "latest_time", b"latest_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "earliest_time", b"earliest_time", "latest_time", b"latest_time" ], ) -> None: ... -global___StartTimeFilter = StartTimeFilter +Global___StartTimeFilter: typing_extensions.TypeAlias = StartTimeFilter +@typing.final class StatusFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -97,8 +98,6 @@ class StatusFilter(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["status", b"status"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... -global___StatusFilter = StatusFilter +Global___StatusFilter: typing_extensions.TypeAlias = StatusFilter diff --git a/temporalio/api/history/v1/message_pb2.py b/temporalio/api/history/v1/message_pb2.py index 3d3cd5132..98a2828f8 100644 --- a/temporalio/api/history/v1/message_pb2.py +++ b/temporalio/api/history/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/history/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/history/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -38,6 +48,9 @@ from temporalio.api.failure.v1 import ( message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, ) +from temporalio.api.sdk.v1 import ( + event_group_marker_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_event__group__marker__pb2, +) from temporalio.api.sdk.v1 import ( task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, ) @@ -55,1292 +68,409 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\x9a\x12\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12Y\n\x1binherited_auto_upgrade_info\x18\' \x01(\x0b\x32\x34.temporal.api.deployment.v1.InheritedAutoUpgradeInfo\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08\x12^\n\x1f\x64\x65\x63lined_target_version_upgrade\x18( \x01(\x0b\x32\x35.temporal.api.history.v1.DeclinedTargetVersionUpgrade\x12J\n\x14time_skipping_config\x18) \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\x12;\n\x18initial_skipped_duration\x18* \x01(\x0b\x32\x19.google.protobuf.DurationJ\x04\x08$\x10%R parent_pinned_deployment_version"\x88\x01\n\x1c\x44\x65\x63linedTargetVersionUpgrade\x12O\n\x12\x64\x65ployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0frevision_number\x18\x02 \x01(\x03"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t"\xa5\x07\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05"\xa0\x03\n"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x08 \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\t \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"\x9e\x02\n"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xbf\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x12\n\nrequest_id\x18\x07 \x01(\t"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xf1\x08\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x15 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\x12;\n\x18initial_skipped_duration\x18\x1e \x01(\x0b\x32\x19.google.protobuf.Duration"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03"\xb6\x05\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x32\n\x08priority\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x07 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\x12\x84\x01\n\x17workflow_update_options\x18\x08 \x03(\x0b\x32\x63.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate\x1a\x96\x01\n\x1bWorkflowUpdateOptionsUpdate\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x1b\n\x13\x61ttached_request_id\x18\x02 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x03 \x03(\x0b\x32 .temporal.api.common.v1.Callback"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin"^\n&WorkflowExecutionPausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t"`\n(WorkflowExecutionUnpausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\xbe\x01\n8WorkflowExecutionTimeSkippingTransitionedEventAttributes\x12/\n\x0btarget_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14\x64isabled_after_bound\x18\x02 \x01(\x08\x12\x33\n\x0fwall_clock_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x04\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03"\x85?\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x35\n\tprincipal\x18\xaf\x02 \x01(\x0b\x32!.temporal.api.common.v1.Principal\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x12u\n*workflow_execution_paused_event_attributes\x18? \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionPausedEventAttributesH\x00\x12y\n,workflow_execution_unpaused_event_attributes\x18@ \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributesH\x00\x12\x9b\x01\n>workflow_execution_time_skipping_transitioned_event_attributes\x18\x41 \x01(\x0b\x32Q.temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributesH\x00\x42\x0c\n\nattributes"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3' -) - - -_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionStartedEventAttributes" -] -_DECLINEDTARGETVERSIONUPGRADE = DESCRIPTOR.message_types_by_name[ - "DeclinedTargetVersionUpgrade" -] -_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionCompletedEventAttributes" -] -_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionFailedEventAttributes" -] -_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionTimedOutEventAttributes" -] -_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionContinuedAsNewEventAttributes" -] -_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskScheduledEventAttributes" -] -_WORKFLOWTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskStartedEventAttributes" -] -_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskCompletedEventAttributes" -] -_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskTimedOutEventAttributes" -] -_WORKFLOWTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskFailedEventAttributes" -] -_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskScheduledEventAttributes" -] -_ACTIVITYTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskStartedEventAttributes" -] -_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskCompletedEventAttributes" -] -_ACTIVITYTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskFailedEventAttributes" -] -_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskTimedOutEventAttributes" -] -_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskCancelRequestedEventAttributes" -] -_ACTIVITYTASKCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityTaskCanceledEventAttributes" -] -_TIMERSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "TimerStartedEventAttributes" -] -_TIMERFIREDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "TimerFiredEventAttributes" -] -_TIMERCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "TimerCanceledEventAttributes" -] -_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionCancelRequestedEventAttributes" -] -_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionCanceledEventAttributes" -] -_MARKERRECORDEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "MarkerRecordedEventAttributes" -] -_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY = ( - _MARKERRECORDEDEVENTATTRIBUTES.nested_types_by_name["DetailsEntry"] -) -_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionSignaledEventAttributes" -] -_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionTerminatedEventAttributes" -] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" - ] -) -_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecutionFailedEventAttributes" - ] -) -_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "ExternalWorkflowExecutionCancelRequestedEventAttributes" - ] -) -_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecutionInitiatedEventAttributes" - ] -) -_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecutionFailedEventAttributes" - ] -) -_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ExternalWorkflowExecutionSignaledEventAttributes" -] -_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "UpsertWorkflowSearchAttributesEventAttributes" -] -_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowPropertiesModifiedEventAttributes" -] -_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecutionInitiatedEventAttributes" -] -_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecutionFailedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionStartedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionCompletedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionFailedEventAttributes" -] -_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionCanceledEventAttributes" -] -_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionTimedOutEventAttributes" -] -_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ChildWorkflowExecutionTerminatedEventAttributes" -] -_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionOptionsUpdatedEventAttributes" -] -_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE = ( - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES.nested_types_by_name[ - "WorkflowUpdateOptionsUpdate" - ] -) -_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowPropertiesModifiedExternallyEventAttributes" -] -_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "ActivityPropertiesModifiedExternallyEventAttributes" -] -_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateAcceptedEventAttributes" -] -_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateCompletedEventAttributes" -] -_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateRejectedEventAttributes" -] -_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUpdateAdmittedEventAttributes" -] -_WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionPausedEventAttributes" -] -_WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionUnpausedEventAttributes" -] -_WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES = ( - DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionTimeSkippingTransitionedEventAttributes" - ] -) -_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationScheduledEventAttributes" -] -_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY = ( - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] -) -_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationStartedEventAttributes" -] -_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCompletedEventAttributes" -] -_NEXUSOPERATIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationFailedEventAttributes" -] -_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationTimedOutEventAttributes" -] -_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCanceledEventAttributes" -] -_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancelRequestedEventAttributes" -] -_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancelRequestCompletedEventAttributes" -] -_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancelRequestFailedEventAttributes" -] -_HISTORYEVENT = DESCRIPTOR.message_types_by_name["HistoryEvent"] -_HISTORY = DESCRIPTOR.message_types_by_name["History"] -WorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionStartedEventAttributes) - -DeclinedTargetVersionUpgrade = _reflection.GeneratedProtocolMessageType( - "DeclinedTargetVersionUpgrade", - (_message.Message,), - { - "DESCRIPTOR": _DECLINEDTARGETVERSIONUPGRADE, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.DeclinedTargetVersionUpgrade) - }, -) -_sym_db.RegisterMessage(DeclinedTargetVersionUpgrade) - -WorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionCompletedEventAttributes) - -WorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionFailedEventAttributes) - -WorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionTimedOutEventAttributes) - -WorkflowExecutionContinuedAsNewEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionContinuedAsNewEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowExecutionContinuedAsNewEventAttributes) - -WorkflowTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskScheduledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowTaskScheduledEventAttributes) - -WorkflowTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKSTARTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskStartedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowTaskStartedEventAttributes) - -WorkflowTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowTaskCompletedEventAttributes) - -WorkflowTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowTaskTimedOutEventAttributes) - -WorkflowTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskFailedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowTaskFailedEventAttributes) - -ActivityTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskScheduledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskScheduledEventAttributes) - }, -) -_sym_db.RegisterMessage(ActivityTaskScheduledEventAttributes) - -ActivityTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKSTARTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskStartedEventAttributes) - }, -) -_sym_db.RegisterMessage(ActivityTaskStartedEventAttributes) - -ActivityTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCompletedEventAttributes) - }, -) -_sym_db.RegisterMessage(ActivityTaskCompletedEventAttributes) - -ActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskFailedEventAttributes) - }, -) -_sym_db.RegisterMessage(ActivityTaskFailedEventAttributes) - -ActivityTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) - }, -) -_sym_db.RegisterMessage(ActivityTaskTimedOutEventAttributes) - -ActivityTaskCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) - }, -) -_sym_db.RegisterMessage(ActivityTaskCancelRequestedEventAttributes) - -ActivityTaskCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCANCELEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCanceledEventAttributes) - }, -) -_sym_db.RegisterMessage(ActivityTaskCanceledEventAttributes) - -TimerStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "TimerStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _TIMERSTARTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerStartedEventAttributes) - }, -) -_sym_db.RegisterMessage(TimerStartedEventAttributes) - -TimerFiredEventAttributes = _reflection.GeneratedProtocolMessageType( - "TimerFiredEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _TIMERFIREDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerFiredEventAttributes) - }, -) -_sym_db.RegisterMessage(TimerFiredEventAttributes) - -TimerCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "TimerCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _TIMERCANCELEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerCanceledEventAttributes) - }, -) -_sym_db.RegisterMessage(TimerCanceledEventAttributes) - -WorkflowExecutionCancelRequestedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowExecutionCancelRequestedEventAttributes) - -WorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionCanceledEventAttributes) - -MarkerRecordedEventAttributes = _reflection.GeneratedProtocolMessageType( - "MarkerRecordedEventAttributes", - (_message.Message,), - { - "DetailsEntry": _reflection.GeneratedProtocolMessageType( - "DetailsEntry", - (_message.Message,), - { - "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry) - }, - ), - "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes) - }, -) -_sym_db.RegisterMessage(MarkerRecordedEventAttributes) -_sym_db.RegisterMessage(MarkerRecordedEventAttributes.DetailsEntry) - -WorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionSignaledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionSignaledEventAttributes) - -WorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionTerminatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionTerminatedEventAttributes) - -RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) - }, -) -_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) - -RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionFailedEventAttributes) - -ExternalWorkflowExecutionCancelRequestedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ExternalWorkflowExecutionCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(ExternalWorkflowExecutionCancelRequestedEventAttributes) - -SignalExternalWorkflowExecutionInitiatedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecutionInitiatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(SignalExternalWorkflowExecutionInitiatedEventAttributes) - -SignalExternalWorkflowExecutionFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(SignalExternalWorkflowExecutionFailedEventAttributes) - -ExternalWorkflowExecutionSignaledEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ExternalWorkflowExecutionSignaledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(ExternalWorkflowExecutionSignaledEventAttributes) - -UpsertWorkflowSearchAttributesEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "UpsertWorkflowSearchAttributesEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(UpsertWorkflowSearchAttributesEventAttributes) - -WorkflowPropertiesModifiedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowPropertiesModifiedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowPropertiesModifiedEventAttributes) - -StartChildWorkflowExecutionInitiatedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecutionInitiatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(StartChildWorkflowExecutionInitiatedEventAttributes) - -StartChildWorkflowExecutionFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(StartChildWorkflowExecutionFailedEventAttributes) - -ChildWorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) - }, -) -_sym_db.RegisterMessage(ChildWorkflowExecutionStartedEventAttributes) - -ChildWorkflowExecutionCompletedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(ChildWorkflowExecutionCompletedEventAttributes) - -ChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) - }, -) -_sym_db.RegisterMessage(ChildWorkflowExecutionFailedEventAttributes) - -ChildWorkflowExecutionCanceledEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(ChildWorkflowExecutionCanceledEventAttributes) - -ChildWorkflowExecutionTimedOutEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(ChildWorkflowExecutionTimedOutEventAttributes) - -ChildWorkflowExecutionTerminatedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ChildWorkflowExecutionTerminatedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(ChildWorkflowExecutionTerminatedEventAttributes) - -WorkflowExecutionOptionsUpdatedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionOptionsUpdatedEventAttributes", - (_message.Message,), - { - "WorkflowUpdateOptionsUpdate": _reflection.GeneratedProtocolMessageType( - "WorkflowUpdateOptionsUpdate", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate) - }, - ), - "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionOptionsUpdatedEventAttributes) -_sym_db.RegisterMessage( - WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate -) - -WorkflowPropertiesModifiedExternallyEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowPropertiesModifiedExternallyEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowPropertiesModifiedExternallyEventAttributes) - -ActivityPropertiesModifiedExternallyEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "ActivityPropertiesModifiedExternallyEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(ActivityPropertiesModifiedExternallyEventAttributes) - -WorkflowExecutionUpdateAcceptedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateAcceptedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowExecutionUpdateAcceptedEventAttributes) - -WorkflowExecutionUpdateCompletedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowExecutionUpdateCompletedEventAttributes) - -WorkflowExecutionUpdateRejectedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateRejectedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowExecutionUpdateRejectedEventAttributes) - -WorkflowExecutionUpdateAdmittedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUpdateAdmittedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowExecutionUpdateAdmittedEventAttributes) - -WorkflowExecutionPausedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionPausedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionPausedEventAttributes) - }, + b'\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a,temporal/api/sdk/v1/event_group_marker.proto"\xda\x12\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12Y\n\x1binherited_auto_upgrade_info\x18\' \x01(\x0b\x32\x34.temporal.api.deployment.v1.InheritedAutoUpgradeInfo\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08\x12^\n\x1f\x64\x65\x63lined_target_version_upgrade\x18( \x01(\x0b\x32\x35.temporal.api.history.v1.DeclinedTargetVersionUpgrade\x12H\n\x14time_skipping_config\x18) \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig\x12]\n\x1ftime_skipping_state_propagation\x18+ \x01(\x0b\x32\x34.temporal.api.common.v1.TimeSkippingStatePropagationJ\x04\x08$\x10%J\x04\x08*\x10+R parent_pinned_deployment_versionR\x18initial_skipped_duration"\x88\x01\n\x1c\x44\x65\x63linedTargetVersionUpgrade\x12O\n\x12\x64\x65ployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0frevision_number\x18\x02 \x01(\x03"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t"\xa5\x07\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05"\xa0\x03\n"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x08 \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\t \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"\x9e\x02\n"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xbf\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x12\n\nrequest_id\x18\x07 \x01(\t"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xb1\t\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x15 \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig\x12]\n\x1ftime_skipping_state_propagation\x18\x17 \x01(\x0b\x32\x34.temporal.api.common.v1.TimeSkippingStatePropagationJ\x04\x08\x16\x10\x17R\x18initial_skipped_duration"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03"\xda\x05\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x32\n\x08priority\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x07 \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig\x12$\n\x1ctime_skipping_config_updated\x18\t \x01(\x08\x12\x84\x01\n\x17workflow_update_options\x18\x08 \x03(\x0b\x32\x63.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate\x1a\x96\x01\n\x1bWorkflowUpdateOptionsUpdate\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x1b\n\x13\x61ttached_request_id\x18\x02 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x03 \x03(\x0b\x32 .temporal.api.common.v1.Callback"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin"^\n&WorkflowExecutionPausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t"`\n(WorkflowExecutionUnpausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\xc5\x01\n8WorkflowExecutionTimeSkippingTransitionedEventAttributes\x12/\n\x0btarget_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x1b\x64isabled_after_fast_forward\x18\x02 \x01(\x08\x12\x33\n\x0fwall_clock_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x04\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03"\xca?\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x35\n\tprincipal\x18\xaf\x02 \x01(\x0b\x32!.temporal.api.common.v1.Principal\x12\x43\n\x13\x65vent_group_markers\x18\xb0\x02 \x03(\x0b\x32%.temporal.api.sdk.v1.EventGroupMarker\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x12u\n*workflow_execution_paused_event_attributes\x18? \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionPausedEventAttributesH\x00\x12y\n,workflow_execution_unpaused_event_attributes\x18@ \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributesH\x00\x12\x9b\x01\n>workflow_execution_time_skipping_transitioned_event_attributes\x18\x41 \x01(\x0b\x32Q.temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributesH\x00\x42\x0c\n\nattributes"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3' ) -_sym_db.RegisterMessage(WorkflowExecutionPausedEventAttributes) -WorkflowExecutionUnpausedEventAttributes = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionUnpausedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributes) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.history.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(WorkflowExecutionUnpausedEventAttributes) - -WorkflowExecutionTimeSkippingTransitionedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionTimeSkippingTransitionedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(WorkflowExecutionTimeSkippingTransitionedEventAttributes) - -NexusOperationScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationScheduledEventAttributes", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes) - }, -) -_sym_db.RegisterMessage(NexusOperationScheduledEventAttributes) -_sym_db.RegisterMessage(NexusOperationScheduledEventAttributes.NexusHeaderEntry) - -NexusOperationStartedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationStartedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationStartedEventAttributes) - }, -) -_sym_db.RegisterMessage(NexusOperationStartedEventAttributes) - -NexusOperationCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCompletedEventAttributes) - }, -) -_sym_db.RegisterMessage(NexusOperationCompletedEventAttributes) - -NexusOperationFailedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationFailedEventAttributes) - }, -) -_sym_db.RegisterMessage(NexusOperationFailedEventAttributes) - -NexusOperationTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationTimedOutEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationTimedOutEventAttributes) - }, -) -_sym_db.RegisterMessage(NexusOperationTimedOutEventAttributes) - -NexusOperationCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationCanceledEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCanceledEventAttributes) - }, -) -_sym_db.RegisterMessage(NexusOperationCanceledEventAttributes) - -NexusOperationCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( - "NexusOperationCancelRequestedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes) - }, -) -_sym_db.RegisterMessage(NexusOperationCancelRequestedEventAttributes) - -NexusOperationCancelRequestCompletedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "NexusOperationCancelRequestCompletedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(NexusOperationCancelRequestCompletedEventAttributes) - -NexusOperationCancelRequestFailedEventAttributes = ( - _reflection.GeneratedProtocolMessageType( - "NexusOperationCancelRequestFailedEventAttributes", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes) - }, - ) -) -_sym_db.RegisterMessage(NexusOperationCancelRequestFailedEventAttributes) - -HistoryEvent = _reflection.GeneratedProtocolMessageType( - "HistoryEvent", - (_message.Message,), - { - "DESCRIPTOR": _HISTORYEVENT, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.HistoryEvent) - }, -) -_sym_db.RegisterMessage(HistoryEvent) - -History = _reflection.GeneratedProtocolMessageType( - "History", - (_message.Message,), - { - "DESCRIPTOR": _HISTORY, - "__module__": "temporalio.api.history.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.history.v1.History) - }, -) -_sym_db.RegisterMessage(History) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1" + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ "source_version_stamp" - ]._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ "source_version_stamp" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ "inherited_build_id" - ]._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ "inherited_build_id" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ "parent_pinned_worker_deployment_version" - ]._options = None - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ "parent_pinned_worker_deployment_version" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ "failure" - ]._options = None - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ "failure" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ "inherit_build_id" - ]._options = None - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + "worker_version" + ]._loaded_options = None + _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ "build_id_redirect_counter" - ]._options = None - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ "build_id_redirect_counter" ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "binary_checksum" - ]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" - ]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name["deployment"]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + "deployment" + ]._loaded_options = None + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "worker_deployment_version" - ]._options = None - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "worker_deployment_version" ]._serialized_options = b"\030\001" - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["binary_checksum"]._options = None - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ + "binary_checksum" + ]._loaded_options = None + _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ + _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ + "worker_version" + ]._loaded_options = None + _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ + _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"].fields_by_name[ "use_workflow_build_id" - ]._options = None - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"].fields_by_name[ "use_workflow_build_id" ]._serialized_options = b"\030\001" - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + "worker_version" + ]._loaded_options = None + _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ "build_id_redirect_counter" - ]._options = None - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ "build_id_redirect_counter" ]._serialized_options = b"\030\001" - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" - ]._options = None - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None - _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name[ + _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ + "worker_version" + ]._loaded_options = None + _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ + _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" - ]._options = None - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._options = None - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + _globals["_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY"]._loaded_options = None + _globals[ + "_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY" + ]._serialized_options = b"8\001" + _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ "skip_generate_workflow_task" - ]._options = None - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ "skip_generate_workflow_task" ]._serialized_options = b"\030\001" - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ].fields_by_name["control"]._loaded_options = None + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ].fields_by_name["control"]._serialized_options = b"\030\001" + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ].fields_by_name["control"]._loaded_options = None + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ].fields_by_name["control"]._serialized_options = b"\030\001" + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ "control" - ]._options = None - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ "control" - ]._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + _globals["_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ "control" - ]._options = None - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ "control" - ]._options = None - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ - "control" - ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ "inherit_build_id" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ "control" - ]._options = None - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ + ]._loaded_options = None + _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._options = None - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( - b"8\001" - ) - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name["operation_id"]._options = None - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name[ + _globals[ + "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" + ]._loaded_options = None + _globals[ + "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" + ]._serialized_options = b"8\001" + _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ + "operation_id" + ]._loaded_options = None + _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 617 - _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 2947 - _DECLINEDTARGETVERSIONUPGRADE._serialized_start = 2950 - _DECLINEDTARGETVERSIONUPGRADE._serialized_end = 3086 - _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 3089 - _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 3254 - _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 3257 - _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 3476 - _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 3479 - _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 3607 - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_start = 3610 - _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_end = 4543 - _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 4546 - _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 4718 - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_start = 4721 - _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_end = 5137 - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 5140 - _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 5782 - _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 5785 - _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 5934 - _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_start = 5937 - _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_end = 6328 - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 6331 - _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 7037 - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_start = 7040 - _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_end = 7326 - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 7329 - _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 7561 - _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_start = 7564 - _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_end = 7850 - _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 7853 - _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 8051 - _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 8053 - _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 8167 - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_start = 8170 - _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_end = 8444 - _TIMERSTARTEDEVENTATTRIBUTES._serialized_start = 8447 - _TIMERSTARTEDEVENTATTRIBUTES._serialized_end = 8594 - _TIMERFIREDEVENTATTRIBUTES._serialized_start = 8596 - _TIMERFIREDEVENTATTRIBUTES._serialized_end = 8667 - _TIMERCANCELEDEVENTATTRIBUTES._serialized_start = 8670 - _TIMERCANCELEDEVENTATTRIBUTES._serialized_end = 8804 - _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 8807 - _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 9006 - _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 9009 - _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 9144 - _MARKERRECORDEDEVENTATTRIBUTES._serialized_start = 9147 - _MARKERRECORDEDEVENTATTRIBUTES._serialized_end = 9508 - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_start = 9428 - _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_end = 9508 - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 9511 - _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 9830 - _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 9833 - _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 9962 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 9965 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = ( - 10249 - ) - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = ( - 10252 - ) - _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 10598 - _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 10601 - _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 10798 - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 10801 - _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 11180 - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 11183 - _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 11522 - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 11525 - _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 11736 - _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_start = 11739 - _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_end = 11897 - _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_start = 11900 - _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_end = 12038 - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 12041 - _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 13178 - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 13181 - _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 13523 - _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 13526 - _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 13821 - _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 13824 - _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 14149 - _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 14152 - _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 14531 - _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 14534 - _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 14859 - _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 14862 - _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 15192 - _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 15195 - _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 15471 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_start = 15474 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_end = 16168 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE._serialized_start = 16018 - _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE._serialized_end = 16168 - _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 16171 - _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 16491 - _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 16494 - _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 16638 - _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_start = 16641 - _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_end = 16861 - _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_start = 16864 - _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_end = 17034 - _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_start = 17037 - _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_end = 17308 - _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_start = 17311 - _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_end = 17475 - _WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES._serialized_start = 17477 - _WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES._serialized_end = 17571 - _WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES._serialized_start = 17573 - _WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES._serialized_end = 17669 - _WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES._serialized_start = 17672 - _WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES._serialized_end = 17862 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_start = 17865 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_end = 18429 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 18379 - _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 18429 - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_start = 18432 - _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_end = 18569 - _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 18572 - _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 18709 - _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_start = 18712 - _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_end = 18848 - _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 18851 - _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 18989 - _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_start = 18992 - _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_end = 19130 - _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 19132 - _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 19248 - _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_start = 19251 - _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_end = 19402 - _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_start = 19405 - _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_end = 19604 - _HISTORYEVENT._serialized_start = 19607 - _HISTORYEVENT._serialized_end = 27676 - _HISTORY._serialized_start = 27678 - _HISTORY._serialized_end = 27742 + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_start = 663 + _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_end = 3057 + _globals["_DECLINEDTARGETVERSIONUPGRADE"]._serialized_start = 3060 + _globals["_DECLINEDTARGETVERSIONUPGRADE"]._serialized_end = 3196 + _globals["_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 3199 + _globals["_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 3364 + _globals["_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_start = 3367 + _globals["_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_end = 3586 + _globals["_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 3589 + _globals["_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 3717 + _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"]._serialized_start = 3720 + _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"]._serialized_end = 4653 + _globals["_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_start = 4656 + _globals["_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_end = 4828 + _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"]._serialized_start = 4831 + _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"]._serialized_end = 5247 + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 5250 + _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 5892 + _globals["_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 5895 + _globals["_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 6044 + _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"]._serialized_start = 6047 + _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"]._serialized_end = 6438 + _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_start = 6441 + _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_end = 7147 + _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"]._serialized_start = 7150 + _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"]._serialized_end = 7436 + _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 7439 + _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 7671 + _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"]._serialized_start = 7674 + _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"]._serialized_end = 7960 + _globals["_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 7963 + _globals["_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 8161 + _globals["_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_start = 8163 + _globals["_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_end = 8277 + _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"]._serialized_start = 8280 + _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"]._serialized_end = 8554 + _globals["_TIMERSTARTEDEVENTATTRIBUTES"]._serialized_start = 8557 + _globals["_TIMERSTARTEDEVENTATTRIBUTES"]._serialized_end = 8704 + _globals["_TIMERFIREDEVENTATTRIBUTES"]._serialized_start = 8706 + _globals["_TIMERFIREDEVENTATTRIBUTES"]._serialized_end = 8777 + _globals["_TIMERCANCELEDEVENTATTRIBUTES"]._serialized_start = 8780 + _globals["_TIMERCANCELEDEVENTATTRIBUTES"]._serialized_end = 8914 + _globals[ + "_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES" + ]._serialized_start = 8917 + _globals["_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_end = 9116 + _globals["_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_start = 9119 + _globals["_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_end = 9254 + _globals["_MARKERRECORDEDEVENTATTRIBUTES"]._serialized_start = 9257 + _globals["_MARKERRECORDEDEVENTATTRIBUTES"]._serialized_end = 9618 + _globals["_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY"]._serialized_start = 9538 + _globals["_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY"]._serialized_end = 9618 + _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"]._serialized_start = 9621 + _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"]._serialized_end = 9940 + _globals["_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES"]._serialized_start = 9943 + _globals["_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES"]._serialized_end = 10072 + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ]._serialized_start = 10075 + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ]._serialized_end = 10359 + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ]._serialized_start = 10362 + _globals[ + "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ]._serialized_end = 10708 + _globals[ + "_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES" + ]._serialized_start = 10711 + _globals[ + "_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES" + ]._serialized_end = 10908 + _globals[ + "_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ]._serialized_start = 10911 + _globals[ + "_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ]._serialized_end = 11290 + _globals[ + "_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ]._serialized_start = 11293 + _globals[ + "_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ]._serialized_end = 11632 + _globals[ + "_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES" + ]._serialized_start = 11635 + _globals[ + "_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES" + ]._serialized_end = 11846 + _globals["_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES"]._serialized_start = 11849 + _globals["_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES"]._serialized_end = 12007 + _globals["_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES"]._serialized_start = 12010 + _globals["_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES"]._serialized_end = 12148 + _globals[ + "_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ]._serialized_start = 12151 + _globals[ + "_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" + ]._serialized_end = 13352 + _globals[ + "_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ]._serialized_start = 13355 + _globals[ + "_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" + ]._serialized_end = 13697 + _globals["_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_start = 13700 + _globals["_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_end = 13995 + _globals[ + "_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES" + ]._serialized_start = 13998 + _globals["_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 14323 + _globals["_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_start = 14326 + _globals["_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_end = 14705 + _globals["_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_start = 14708 + _globals["_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_end = 15033 + _globals["_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 15036 + _globals["_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 15366 + _globals[ + "_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES" + ]._serialized_start = 15369 + _globals["_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES"]._serialized_end = 15645 + _globals[ + "_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES" + ]._serialized_start = 15648 + _globals["_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES"]._serialized_end = 16378 + _globals[ + "_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE" + ]._serialized_start = 16228 + _globals[ + "_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE" + ]._serialized_end = 16378 + _globals[ + "_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" + ]._serialized_start = 16381 + _globals[ + "_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" + ]._serialized_end = 16701 + _globals[ + "_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" + ]._serialized_start = 16704 + _globals[ + "_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" + ]._serialized_end = 16848 + _globals[ + "_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES" + ]._serialized_start = 16851 + _globals["_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES"]._serialized_end = 17071 + _globals[ + "_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES" + ]._serialized_start = 17074 + _globals["_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES"]._serialized_end = 17244 + _globals[ + "_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES" + ]._serialized_start = 17247 + _globals["_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES"]._serialized_end = 17518 + _globals[ + "_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES" + ]._serialized_start = 17521 + _globals["_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES"]._serialized_end = 17685 + _globals["_WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES"]._serialized_start = 17687 + _globals["_WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES"]._serialized_end = 17781 + _globals["_WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES"]._serialized_start = 17783 + _globals["_WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES"]._serialized_end = 17879 + _globals[ + "_WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES" + ]._serialized_start = 17882 + _globals[ + "_WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES" + ]._serialized_end = 18079 + _globals["_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES"]._serialized_start = 18082 + _globals["_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES"]._serialized_end = 18646 + _globals[ + "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" + ]._serialized_start = 18596 + _globals[ + "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" + ]._serialized_end = 18646 + _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"]._serialized_start = 18649 + _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"]._serialized_end = 18786 + _globals["_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 18789 + _globals["_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 18926 + _globals["_NEXUSOPERATIONFAILEDEVENTATTRIBUTES"]._serialized_start = 18929 + _globals["_NEXUSOPERATIONFAILEDEVENTATTRIBUTES"]._serialized_end = 19065 + _globals["_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 19068 + _globals["_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 19206 + _globals["_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES"]._serialized_start = 19209 + _globals["_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES"]._serialized_end = 19347 + _globals["_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_start = 19349 + _globals["_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_end = 19465 + _globals[ + "_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES" + ]._serialized_start = 19468 + _globals[ + "_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES" + ]._serialized_end = 19619 + _globals[ + "_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES" + ]._serialized_start = 19622 + _globals[ + "_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES" + ]._serialized_end = 19821 + _globals["_HISTORYEVENT"]._serialized_start = 19824 + _globals["_HISTORYEVENT"]._serialized_end = 27962 + _globals["_HISTORY"]._serialized_start = 27964 + _globals["_HISTORY"]._serialized_end = 28028 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/history/v1/message_pb2.pyi b/temporalio/api/history/v1/message_pb2.pyi index 26a4aa8a7..810479a00 100644 --- a/temporalio/api/history/v1/message_pb2.pyi +++ b/temporalio/api/history/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -20,19 +21,21 @@ import temporalio.api.enums.v1.failed_cause_pb2 import temporalio.api.enums.v1.update_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 +import temporalio.api.sdk.v1.event_group_marker_pb2 import temporalio.api.sdk.v1.task_complete_metadata_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.api.taskqueue.v1.message_pb2 import temporalio.api.update.v1.message_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """Always the first event in workflow history""" @@ -78,14 +81,59 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): EAGER_EXECUTION_ACCEPTED_FIELD_NUMBER: builtins.int DECLINED_TARGET_VERSION_UPGRADE_FIELD_NUMBER: builtins.int TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int - INITIAL_SKIPPED_DURATION_FIELD_NUMBER: builtins.int - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + TIME_SKIPPING_STATE_PROPAGATION_FIELD_NUMBER: builtins.int parent_workflow_namespace: builtins.str """If this workflow is a child, the namespace our parent lives in. SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only. """ parent_workflow_namespace_id: builtins.str + parent_initiated_event_id: builtins.int + """EventID of the child execution initiated event in parent workflow""" + continued_execution_run_id: builtins.str + """Run id of the previous workflow which continued-as-new or retried or cron executed into this + workflow. + """ + initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + original_execution_run_id: builtins.str + """This is the run id when the WorkflowExecutionStarted event was written. + A workflow reset changes the execution run_id, but preserves this field. + """ + identity: builtins.str + """Identity of the client who requested this execution""" + first_execution_run_id: builtins.str + """This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. + Used to identify a chain. + """ + attempt: builtins.int + """Starting at 1, the number of times we have tried to execute this workflow""" + cron_schedule: builtins.str + """If this workflow runs on a cron schedule, it will appear here""" + parent_initiated_event_version: builtins.int + """Version of the child execution initiated event in parent workflow + It should be used together with parent_initiated_event_id to identify + a child initiated event for global namespace + """ + workflow_id: builtins.str + """This field is new in 1.21.""" + inherited_build_id: builtins.str + """When present, this execution is assigned to the build ID of its parent or previous execution. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ + parent_pinned_worker_deployment_version: builtins.str + """When present, it means this is a child workflow of a parent that is Pinned to this Worker + Deployment Version. In this case, child workflow will start as Pinned to this Version instead + of starting on the Current Version of its Task Queue. + This is set only if the child workflow is starting on a Task Queue belonging to the same + Worker Deployment Version. + Deprecated. Use `parent_versioning_info`. + """ + eager_execution_accepted: builtins.bool + """A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and + eager execution was accepted by the server. + Only populated by server with version >= 1.29.0. + """ + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property def parent_workflow_execution( self, @@ -93,47 +141,33 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated. """ - parent_initiated_event_id: builtins.int - """EventID of the child execution initiated event in parent workflow""" + @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """SDK will deserialize this and provide it as arguments to the workflow function""" + @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" + @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - continued_execution_run_id: builtins.str - """Run id of the previous workflow which continued-as-new or retried or cron executed into this - workflow. - """ - initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... @property def last_completion_result( self, ) -> temporalio.api.common.v1.message_pb2.Payloads: ... - original_execution_run_id: builtins.str - """This is the run id when the WorkflowExecutionStarted event was written. - A workflow reset changes the execution run_id, but preserves this field. - """ - identity: builtins.str - """Identity of the client who requested this execution""" - first_execution_run_id: builtins.str - """This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. - Used to identify a chain. - """ @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... - attempt: builtins.int - """Starting at 1, the number of times we have tried to execute this workflow""" @property def workflow_execution_expiration_time( self, @@ -141,13 +175,13 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ - cron_schedule: builtins.str - """If this workflow runs on a cron schedule, it will appear here""" + @property def first_workflow_task_backoff(self) -> google.protobuf.duration_pb2.Duration: """For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule. """ + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -160,13 +194,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): ) -> temporalio.api.workflow.v1.message_pb2.ResetPoints: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... - parent_initiated_event_version: builtins.int - """Version of the child execution initiated event in parent workflow - It should be used together with parent_initiated_event_id to identify - a child initiated event for global namespace - """ - workflow_id: builtins.str - """This field is new in 1.21.""" @property def source_version_stamp( self, @@ -175,6 +202,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): the queue, then we include it here. Deprecated. [cleanup-experimental-wv] """ + @property def completion_callbacks( self, @@ -182,6 +210,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Callback ]: """Completion callbacks attached when this workflow was started.""" + @property def root_workflow_execution( self, @@ -213,10 +242,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. """ - inherited_build_id: builtins.str - """When present, this execution is assigned to the build ID of its parent or previous execution. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ + @property def versioning_override( self, @@ -225,17 +251,11 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version. """ - parent_pinned_worker_deployment_version: builtins.str - """When present, it means this is a child workflow of a parent that is Pinned to this Worker - Deployment Version. In this case, child workflow will start as Pinned to this Version instead - of starting on the Current Version of its Task Queue. - This is set only if the child workflow is starting on a Task Queue belonging to the same - Worker Deployment Version. - Deprecated. Use `parent_versioning_info`. - """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" + @property def inherited_pinned_version( self, @@ -258,6 +278,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions. """ + @property def inherited_auto_upgrade_info( self, @@ -284,13 +305,9 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness. """ - eager_execution_accepted: builtins.bool - """A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and - eager execution was accepted by the server. - Only populated by server with version >= 1.29.0. - """ + @property - def declined_target_version_upgrade(self) -> global___DeclinedTargetVersionUpgrade: + def declined_target_version_upgrade(self) -> Global___DeclinedTargetVersionUpgrade: """During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records @@ -302,10 +319,11 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs. """ + @property def time_skipping_config( self, - ) -> temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig: + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """Initial time-skipping configuration for this workflow execution, recorded at start time. This may have been set explicitly via the start workflow request, or propagated from a parent/previous execution. @@ -313,11 +331,15 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent. """ + @property - def initial_skipped_duration(self) -> google.protobuf.duration_pb2.Duration: - """The time skipped by the previous execution that started this workflow. - It can happen in cases of child workflows and continue-as-new workflows. + def time_skipping_state_propagation( + self, + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingStatePropagation: + """The time-skipping state propagated from a previous run of this workflow. This can be nil + if no time skipping has occurred or there is no previous run. """ + def __init__( self, *, @@ -372,15 +394,16 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): inherited_auto_upgrade_info: temporalio.api.deployment.v1.message_pb2.InheritedAutoUpgradeInfo | None = ..., eager_execution_accepted: builtins.bool = ..., - declined_target_version_upgrade: global___DeclinedTargetVersionUpgrade + declined_target_version_upgrade: Global___DeclinedTargetVersionUpgrade | None = ..., - time_skipping_config: temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig + time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig + | None = ..., + time_skipping_state_propagation: temporalio.api.common.v1.message_pb2.TimeSkippingStatePropagation | None = ..., - initial_skipped_duration: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "continued_failure", b"continued_failure", "declined_target_version_upgrade", @@ -393,8 +416,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): b"inherited_auto_upgrade_info", "inherited_pinned_version", b"inherited_pinned_version", - "initial_skipped_duration", - b"initial_skipped_duration", "input", b"input", "last_completion_result", @@ -419,6 +440,8 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): b"task_queue", "time_skipping_config", b"time_skipping_config", + "time_skipping_state_propagation", + b"time_skipping_state_propagation", "versioning_override", b"versioning_override", "workflow_execution_expiration_time", @@ -435,7 +458,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "completion_callbacks", @@ -464,8 +487,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): b"inherited_build_id", "inherited_pinned_version", b"inherited_pinned_version", - "initial_skipped_duration", - b"initial_skipped_duration", "initiator", b"initiator", "input", @@ -504,6 +525,8 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): b"task_queue", "time_skipping_config", b"time_skipping_config", + "time_skipping_state_propagation", + b"time_skipping_state_propagation", "versioning_override", b"versioning_override", "workflow_execution_expiration_time", @@ -521,10 +544,11 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionStartedEventAttributes = ( +Global___WorkflowExecutionStartedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionStartedEventAttributes ) +@typing.final class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): """Wrapper for a target deployment version that the SDK declined to upgrade to. See declined_target_version_upgrade on WorkflowExecutionStartedEventAttributes. @@ -534,16 +558,16 @@ class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): DEPLOYMENT_VERSION_FIELD_NUMBER: builtins.int REVISION_NUMBER_FIELD_NUMBER: builtins.int - @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... revision_number: builtins.int """Revision number of the task queue routing config at the time the target was declined. If an incoming target's revision is <= this value, it is not newer and is not used for deciding whether or not to suppress the upgrade signal. """ + @property + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... def __init__( self, *, @@ -552,14 +576,11 @@ class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): revision_number: builtins.int = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], + self, field_name: typing.Literal["deployment_version", b"deployment_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version", b"deployment_version", "revision_number", @@ -567,21 +588,25 @@ class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): ], ) -> None: ... -global___DeclinedTargetVersionUpgrade = DeclinedTargetVersionUpgrade +Global___DeclinedTargetVersionUpgrade: typing_extensions.TypeAlias = ( + DeclinedTargetVersionUpgrade +) +@typing.final class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RESULT_FIELD_NUMBER: builtins.int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int NEW_EXECUTION_RUN_ID_FIELD_NUMBER: builtins.int - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized result of workflow completion (ie: The return value of the workflow function)""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" new_execution_run_id: builtins.str """If another run is started by cron, this contains the new run id.""" + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized result of workflow completion (ie: The return value of the workflow function)""" + def __init__( self, *, @@ -590,11 +615,11 @@ class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message) new_execution_run_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "new_execution_run_id", b"new_execution_run_id", "result", @@ -604,10 +629,11 @@ class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message) ], ) -> None: ... -global___WorkflowExecutionCompletedEventAttributes = ( +Global___WorkflowExecutionCompletedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionCompletedEventAttributes ) +@typing.final class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -615,14 +641,15 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): RETRY_STATE_FIELD_NUMBER: builtins.int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int NEW_EXECUTION_RUN_ID_FIELD_NUMBER: builtins.int - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Serialized result of workflow failure (ex: An exception thrown, or error returned)""" retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" new_execution_run_id: builtins.str """If another run is started by cron or retry, this contains the new run id.""" + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Serialized result of workflow failure (ex: An exception thrown, or error returned)""" + def __init__( self, *, @@ -632,11 +659,11 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): new_execution_run_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "new_execution_run_id", @@ -648,8 +675,11 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionFailedEventAttributes = WorkflowExecutionFailedEventAttributes +Global___WorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = ( + WorkflowExecutionFailedEventAttributes +) +@typing.final class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -666,7 +696,7 @@ class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "new_execution_run_id", b"new_execution_run_id", "retry_state", @@ -674,10 +704,11 @@ class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionTimedOutEventAttributes = ( +Global___WorkflowExecutionTimedOutEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionTimedOutEventAttributes ) +@typing.final class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -699,6 +730,21 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int new_execution_run_id: builtins.str """The run ID of the new workflow started by this continue-as-new""" + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + inherit_build_id: builtins.bool + """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, + the assignment rules will be used to independently assign a Build ID to the new execution. + Deprecated. Only considered for versioning v0.2. + """ + initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. + For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version + of the previous run. + """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -708,29 +754,31 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + @property def backoff_start_interval(self) -> google.protobuf.duration_pb2.Duration: """How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose. """ - initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set. """ + @property def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`. """ + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -739,18 +787,6 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... - inherit_build_id: builtins.bool - """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, - the assignment rules will be used to independently assign a Build ID to the new execution. - Deprecated. Only considered for versioning v0.2. - """ - initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. - For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version - of the previous run. - """ def __init__( self, *, @@ -775,7 +811,7 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff_start_interval", b"backoff_start_interval", "failure", @@ -802,7 +838,7 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff_start_interval", b"backoff_start_interval", "failure", @@ -838,19 +874,23 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -global___WorkflowExecutionContinuedAsNewEventAttributes = ( +Global___WorkflowExecutionContinuedAsNewEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionContinuedAsNewEventAttributes ) +@typing.final class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TASK_QUEUE_FIELD_NUMBER: builtins.int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: builtins.int ATTEMPT_FIELD_NUMBER: builtins.int + attempt: builtins.int + """Starting at 1, how many attempts there have been to complete this task""" @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: """The task queue this workflow task was enqueued in, which could be a normal or sticky queue""" + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """How long the worker has to process this task once receiving it before it times out @@ -858,8 +898,7 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - attempt: builtins.int - """Starting at 1, how many attempts there have been to complete this task""" + def __init__( self, *, @@ -869,7 +908,7 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "start_to_close_timeout", b"start_to_close_timeout", "task_queue", @@ -878,7 +917,7 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "start_to_close_timeout", @@ -888,8 +927,11 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowTaskScheduledEventAttributes = WorkflowTaskScheduledEventAttributes +Global___WorkflowTaskScheduledEventAttributes: typing_extensions.TypeAlias = ( + WorkflowTaskScheduledEventAttributes +) +@typing.final class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -916,15 +958,6 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): """ suggest_continue_as_new: builtins.bool """True if this workflow should continue-as-new soon. See `suggest_continue_as_new_reasons` for why.""" - @property - def suggest_continue_as_new_reasons( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - temporalio.api.enums.v1.workflow_pb2.SuggestContinueAsNewReason.ValueType - ]: - """The reason(s) that suggest_continue_as_new is true, if it is. - Unset if suggest_continue_as_new is false. - """ target_worker_deployment_version_changed: builtins.bool """True if Workflow's Target Worker Deployment Version is different from its Pinned Version and the workflow is Pinned. @@ -935,16 +968,27 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): continue-as-new regardless of the suggestion. Note that history event count is just the event id of this event, so we don't include it explicitly here. """ - @property - def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: - """Version info of the worker to whom this task was dispatched. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ build_id_redirect_counter: builtins.int """Used by server internally to properly reapply build ID redirects to an execution when rebuilding it from events. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ + @property + def suggest_continue_as_new_reasons( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ + temporalio.api.enums.v1.workflow_pb2.SuggestContinueAsNewReason.ValueType + ]: + """The reason(s) that suggest_continue_as_new is true, if it is. + Unset if suggest_continue_as_new is false. + """ + + @property + def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: + """Version info of the worker to whom this task was dispatched. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ + def __init__( self, *, @@ -963,11 +1007,11 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): build_id_redirect_counter: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["worker_version", b"worker_version"] + self, field_name: typing.Literal["worker_version", b"worker_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id_redirect_counter", b"build_id_redirect_counter", "history_size_bytes", @@ -989,8 +1033,11 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowTaskStartedEventAttributes = WorkflowTaskStartedEventAttributes +Global___WorkflowTaskStartedEventAttributes: typing_extensions.TypeAlias = ( + WorkflowTaskStartedEventAttributes +) +@typing.final class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1016,6 +1063,22 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): """Binary ID of the worker who completed this task Deprecated. Replaced with `deployment_version`. """ + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) + """Versioning behavior sent by the worker that completed this task for this particular workflow + execution. UNSPECIFIED means the task was completed by an unversioned worker. This value + updates workflow execution's `versioning_info.behavior`. + """ + worker_deployment_version: builtins.str + """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` + is set. This value updates workflow execution's `versioning_info.version`. + Deprecated. Replaced with `deployment_version`. + """ + worker_deployment_name: builtins.str + """The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` + is set. This value updates workflow execution's `worker_deployment_name`. + """ @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. If present, the `build_id` field @@ -1023,6 +1086,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): populated to preserve compatibility). Deprecated. Use `deployment_version` and `versioning_behavior` instead. """ + @property def sdk_metadata( self, @@ -1030,11 +1094,13 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ + @property def metering_metadata( self, ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data sent during workflow task completion and recorded here for posterity""" + @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """The deployment that completed this task. May or may not be set for unversioned workers, @@ -1042,22 +1108,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): `versioning_info.deployment`. Deprecated. Replaced with `deployment_version`. """ - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) - """Versioning behavior sent by the worker that completed this task for this particular workflow - execution. UNSPECIFIED means the task was completed by an unversioned worker. This value - updates workflow execution's `versioning_info.behavior`. - """ - worker_deployment_version: builtins.str - """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` - is set. This value updates workflow execution's `versioning_info.version`. - Deprecated. Replaced with `deployment_version`. - """ - worker_deployment_name: builtins.str - """The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` - is set. This value updates workflow execution's `worker_deployment_name`. - """ + @property def deployment_version( self, @@ -1065,6 +1116,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`. """ + def __init__( self, *, @@ -1087,7 +1139,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_version", @@ -1102,7 +1154,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "binary_checksum", b"binary_checksum", "deployment", @@ -1130,8 +1182,11 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowTaskCompletedEventAttributes = WorkflowTaskCompletedEventAttributes +Global___WorkflowTaskCompletedEventAttributes: typing_extensions.TypeAlias = ( + WorkflowTaskCompletedEventAttributes +) +@typing.final class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1152,7 +1207,7 @@ class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "scheduled_event_id", b"scheduled_event_id", "started_event_id", @@ -1162,8 +1217,11 @@ class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowTaskTimedOutEventAttributes = WorkflowTaskTimedOutEventAttributes +Global___WorkflowTaskTimedOutEventAttributes: typing_extensions.TypeAlias = ( + WorkflowTaskTimedOutEventAttributes +) +@typing.final class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1182,9 +1240,6 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int """The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to""" cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """The failure details""" identity: builtins.str """If a worker explicitly failed this task, this field contains the worker's identity. When the server generates the failure internally this field is set as 'history-service'. @@ -1201,6 +1256,10 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): """Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] If a worker explicitly failed this task, its binary id """ + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """The failure details""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. If present, the `build_id` field @@ -1208,6 +1267,7 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): populated to preserve compatibility). Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ + def __init__( self, *, @@ -1225,13 +1285,13 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "base_run_id", b"base_run_id", "binary_checksum", @@ -1255,8 +1315,11 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowTaskFailedEventAttributes = WorkflowTaskFailedEventAttributes +Global___WorkflowTaskFailedEventAttributes: typing_extensions.TypeAlias = ( + WorkflowTaskFailedEventAttributes +) +@typing.final class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1275,6 +1338,13 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): PRIORITY_FIELD_NUMBER: builtins.int activity_id: builtins.str """The worker/user assigned identifier for the activity""" + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + use_workflow_build_id: builtins.bool + """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, + Assignment rules of the activity's Task Queue will be used to determine the Build ID. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... @property @@ -1291,6 +1361,7 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -1301,6 +1372,7 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -1310,27 +1382,24 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1. """ - use_workflow_build_id: builtins.bool - """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, - Assignment rules of the activity's Task Queue will be used to determine the Build ID. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ + def __init__( self, *, @@ -1350,7 +1419,7 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_type", b"activity_type", "header", @@ -1375,7 +1444,7 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -1405,8 +1474,11 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityTaskScheduledEventAttributes = ActivityTaskScheduledEventAttributes +Global___ActivityTaskScheduledEventAttributes: typing_extensions.TypeAlias = ( + ActivityTaskScheduledEventAttributes +) +@typing.final class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1431,21 +1503,23 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): """ attempt: builtins.int """Starting at 1, the number of times this task has been attempted""" + build_id_redirect_counter: builtins.int + """Used by server internally to properly reapply build ID redirects to an execution + when rebuilding it from events. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ @property def last_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Will be set to the most recent failure details, if this task has previously failed and then been retried. """ + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker to whom this task was dispatched. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - build_id_redirect_counter: builtins.int - """Used by server internally to properly reapply build ID redirects to an execution - when rebuilding it from events. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ + def __init__( self, *, @@ -1460,13 +1534,13 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_failure", b"last_failure", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "build_id_redirect_counter", @@ -1484,8 +1558,11 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityTaskStartedEventAttributes = ActivityTaskStartedEventAttributes +Global___ActivityTaskStartedEventAttributes: typing_extensions.TypeAlias = ( + ActivityTaskStartedEventAttributes +) +@typing.final class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1494,20 +1571,22 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): STARTED_EVENT_ID_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int WORKER_VERSION_FIELD_NUMBER: builtins.int - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized results of the activity. IE: The return value of the activity function""" scheduled_event_id: builtins.int """The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to""" started_event_id: builtins.int """The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to""" identity: builtins.str """id of the worker that completed this task""" + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized results of the activity. IE: The return value of the activity function""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ + def __init__( self, *, @@ -1520,13 +1599,13 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "result", b"result", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "result", @@ -1540,8 +1619,11 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityTaskCompletedEventAttributes = ActivityTaskCompletedEventAttributes +Global___ActivityTaskCompletedEventAttributes: typing_extensions.TypeAlias = ( + ActivityTaskCompletedEventAttributes +) +@typing.final class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1551,9 +1633,6 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int WORKER_VERSION_FIELD_NUMBER: builtins.int - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Failure details""" scheduled_event_id: builtins.int """The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to""" started_event_id: builtins.int @@ -1561,11 +1640,16 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): identity: builtins.str """id of the worker that failed this task""" retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Failure details""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ + def __init__( self, *, @@ -1579,13 +1663,13 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "identity", @@ -1601,8 +1685,11 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityTaskFailedEventAttributes = ActivityTaskFailedEventAttributes +Global___ActivityTaskFailedEventAttributes: typing_extensions.TypeAlias = ( + ActivityTaskFailedEventAttributes +) +@typing.final class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1610,16 +1697,17 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): SCHEDULED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """If this activity had failed, was retried, and then timed out, that failure is stored as the - `cause` in here. - """ scheduled_event_id: builtins.int """The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to""" started_event_id: builtins.int """The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to""" retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """If this activity had failed, was retried, and then timed out, that failure is stored as the + `cause` in here. + """ + def __init__( self, *, @@ -1629,11 +1717,11 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "retry_state", @@ -1645,8 +1733,11 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityTaskTimedOutEventAttributes = ActivityTaskTimedOutEventAttributes +Global___ActivityTaskTimedOutEventAttributes: typing_extensions.TypeAlias = ( + ActivityTaskTimedOutEventAttributes +) +@typing.final class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1664,7 +1755,7 @@ class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", @@ -1672,10 +1763,11 @@ class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message ], ) -> None: ... -global___ActivityTaskCancelRequestedEventAttributes = ( +Global___ActivityTaskCancelRequestedEventAttributes: typing_extensions.TypeAlias = ( ActivityTaskCancelRequestedEventAttributes ) +@typing.final class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1685,9 +1777,6 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): STARTED_EVENT_ID_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int WORKER_VERSION_FIELD_NUMBER: builtins.int - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Additional information that the activity reported upon confirming cancellation""" latest_cancel_requested_event_id: builtins.int """id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same activity @@ -1698,11 +1787,16 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): """The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to""" identity: builtins.str """id of the worker who canceled this activity""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Additional information that the activity reported upon confirming cancellation""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ + def __init__( self, *, @@ -1716,13 +1810,13 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "identity", @@ -1738,8 +1832,11 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityTaskCanceledEventAttributes = ActivityTaskCanceledEventAttributes +Global___ActivityTaskCanceledEventAttributes: typing_extensions.TypeAlias = ( + ActivityTaskCanceledEventAttributes +) +@typing.final class TimerStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1748,6 +1845,8 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int timer_id: builtins.str """The worker/user assigned id for this timer""" + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property def start_to_fire_timeout(self) -> google.protobuf.duration_pb2.Duration: """How long until this timer fires @@ -1755,8 +1854,7 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + def __init__( self, *, @@ -1766,13 +1864,11 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", b"start_to_fire_timeout" - ], + field_name: typing.Literal["start_to_fire_timeout", b"start_to_fire_timeout"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", @@ -1782,8 +1878,11 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___TimerStartedEventAttributes = TimerStartedEventAttributes +Global___TimerStartedEventAttributes: typing_extensions.TypeAlias = ( + TimerStartedEventAttributes +) +@typing.final class TimerFiredEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1801,13 +1900,16 @@ class TimerFiredEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "started_event_id", b"started_event_id", "timer_id", b"timer_id" ], ) -> None: ... -global___TimerFiredEventAttributes = TimerFiredEventAttributes +Global___TimerFiredEventAttributes: typing_extensions.TypeAlias = ( + TimerFiredEventAttributes +) +@typing.final class TimerCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1833,7 +1935,7 @@ class TimerCanceledEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "started_event_id", @@ -1845,8 +1947,11 @@ class TimerCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___TimerCanceledEventAttributes = TimerCanceledEventAttributes +Global___TimerCanceledEventAttributes: typing_extensions.TypeAlias = ( + TimerCanceledEventAttributes +) +@typing.final class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1860,12 +1965,12 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me """The ID of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event in the external workflow history when the cancellation was requested by another workflow. """ + identity: builtins.str + """id of the worker or client who requested this cancel""" @property def external_workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - identity: builtins.str - """id of the worker or client who requested this cancel""" def __init__( self, *, @@ -1877,13 +1982,13 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external_workflow_execution", b"external_workflow_execution" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cause", b"cause", "external_initiated_event_id", @@ -1895,10 +2000,9 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me ], ) -> None: ... -global___WorkflowExecutionCancelRequestedEventAttributes = ( - WorkflowExecutionCancelRequestedEventAttributes -) +Global___WorkflowExecutionCancelRequestedEventAttributes: typing_extensions.TypeAlias = WorkflowExecutionCancelRequestedEventAttributes +@typing.final class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1915,11 +2019,11 @@ class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "workflow_task_completed_event_id", @@ -1927,13 +2031,15 @@ class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionCanceledEventAttributes = ( +Global___WorkflowExecutionCanceledEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionCanceledEventAttributes ) +@typing.final class MarkerRecordedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class DetailsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1949,11 +2055,10 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int @@ -1963,6 +2068,8 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int marker_name: builtins.str """Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.""" + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property def details( self, @@ -1970,13 +2077,13 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payloads ]: """Serialized information recorded in the marker""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Some uses of markers, like a local activity, could "fail". If they did that is recorded here.""" + def __init__( self, *, @@ -1990,14 +2097,11 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "failure", b"failure", "header", b"header" - ], + self, field_name: typing.Literal["failure", b"failure", "header", b"header"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "failure", @@ -2011,8 +2115,11 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___MarkerRecordedEventAttributes = MarkerRecordedEventAttributes +Global___MarkerRecordedEventAttributes: typing_extensions.TypeAlias = ( + MarkerRecordedEventAttributes +) +@typing.final class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2025,27 +2132,30 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int signal_name: builtins.str """The name/type of the signal to fire""" + identity: builtins.str + """id of the worker/client who sent this signal""" + skip_generate_workflow_task: builtins.bool + """Deprecated. This field is never respected and should always be set to false.""" + request_id: builtins.str + """The request ID of the Signal request, used by the server to attach this to + the correct Event ID when generating link. + """ @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Will be deserialized and provided as argument(s) to the signal handler""" - identity: builtins.str - """id of the worker/client who sent this signal""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that were passed by the sender of the signal and copied by temporal server into the workflow task. """ - skip_generate_workflow_task: builtins.bool - """Deprecated. This field is never respected and should always be set to false.""" + @property def external_workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """When signal origin is a workflow execution, this field is set.""" - request_id: builtins.str - """The request ID of the Signal request, used by the server to attach this to - the correct Event ID when generating link. - """ + def __init__( self, *, @@ -2060,7 +2170,7 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external_workflow_execution", b"external_workflow_execution", "header", @@ -2071,7 +2181,7 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external_workflow_execution", b"external_workflow_execution", "header", @@ -2089,10 +2199,11 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionSignaledEventAttributes = ( +Global___WorkflowExecutionSignaledEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionSignaledEventAttributes ) +@typing.final class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2101,10 +2212,10 @@ class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message IDENTITY_FIELD_NUMBER: builtins.int reason: builtins.str """User/client provided reason for termination""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... identity: builtins.str """id of the client who requested termination""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... def __init__( self, *, @@ -2113,19 +2224,20 @@ class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "identity", b"identity", "reason", b"reason" ], ) -> None: ... -global___WorkflowExecutionTerminatedEventAttributes = ( +Global___WorkflowExecutionTerminatedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionTerminatedEventAttributes ) +@typing.final class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( google.protobuf.message.Message ): @@ -2145,10 +2257,6 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... control: builtins.str """Deprecated.""" child_workflow_only: builtins.bool @@ -2157,6 +2265,10 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( """ reason: builtins.str """Reason for requesting the cancellation""" + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, @@ -2170,14 +2282,11 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( reason: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -2195,10 +2304,9 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( ], ) -> None: ... -global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = ( - RequestCancelExternalWorkflowExecutionInitiatedEventAttributes -) +Global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: typing_extensions.TypeAlias = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes +@typing.final class RequestCancelExternalWorkflowExecutionFailedEventAttributes( google.protobuf.message.Message ): @@ -2219,16 +2327,16 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... initiated_event_id: builtins.int """id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure corresponds to """ control: builtins.str """Deprecated.""" + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, @@ -2242,14 +2350,11 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( control: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cause", b"cause", "control", @@ -2267,10 +2372,9 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( ], ) -> None: ... -global___RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( - RequestCancelExternalWorkflowExecutionFailedEventAttributes -) +Global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = RequestCancelExternalWorkflowExecutionFailedEventAttributes +@typing.final class ExternalWorkflowExecutionCancelRequestedEventAttributes( google.protobuf.message.Message ): @@ -2303,14 +2407,11 @@ class ExternalWorkflowExecutionCancelRequestedEventAttributes( | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -2322,10 +2423,9 @@ class ExternalWorkflowExecutionCancelRequestedEventAttributes( ], ) -> None: ... -global___ExternalWorkflowExecutionCancelRequestedEventAttributes = ( - ExternalWorkflowExecutionCancelRequestedEventAttributes -) +Global___ExternalWorkflowExecutionCancelRequestedEventAttributes: typing_extensions.TypeAlias = ExternalWorkflowExecutionCancelRequestedEventAttributes +@typing.final class SignalExternalWorkflowExecutionInitiatedEventAttributes( google.protobuf.message.Message ): @@ -2347,21 +2447,22 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """name/type of the signal to fire in the external workflow""" - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized arguments to provide to the signal handler""" control: builtins.str """Deprecated.""" child_workflow_only: builtins.bool """Workers are expected to set this to true if the workflow they are requesting to cancel is a child of the workflow which issued the request """ + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized arguments to provide to the signal handler""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... def __init__( @@ -2380,7 +2481,7 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "input", @@ -2391,7 +2492,7 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -2413,10 +2514,9 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( ], ) -> None: ... -global___SignalExternalWorkflowExecutionInitiatedEventAttributes = ( - SignalExternalWorkflowExecutionInitiatedEventAttributes -) +Global___SignalExternalWorkflowExecutionInitiatedEventAttributes: typing_extensions.TypeAlias = SignalExternalWorkflowExecutionInitiatedEventAttributes +@typing.final class SignalExternalWorkflowExecutionFailedEventAttributes( google.protobuf.message.Message ): @@ -2437,13 +2537,13 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + initiated_event_id: builtins.int + control: builtins.str + """Deprecated.""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - initiated_event_id: builtins.int - control: builtins.str - """Deprecated.""" def __init__( self, *, @@ -2457,14 +2557,11 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( control: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cause", b"cause", "control", @@ -2482,10 +2579,9 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( ], ) -> None: ... -global___SignalExternalWorkflowExecutionFailedEventAttributes = ( - SignalExternalWorkflowExecutionFailedEventAttributes -) +Global___SignalExternalWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = SignalExternalWorkflowExecutionFailedEventAttributes +@typing.final class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2501,12 +2597,12 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + control: builtins.str + """Deprecated.""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - control: builtins.str - """Deprecated.""" def __init__( self, *, @@ -2518,14 +2614,11 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M control: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "control", b"control", "initiated_event_id", @@ -2539,10 +2632,9 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M ], ) -> None: ... -global___ExternalWorkflowExecutionSignaledEventAttributes = ( - ExternalWorkflowExecutionSignaledEventAttributes -) +Global___ExternalWorkflowExecutionSignaledEventAttributes: typing_extensions.TypeAlias = ExternalWorkflowExecutionSignaledEventAttributes +@typing.final class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2562,14 +2654,11 @@ class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Mess | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], + self, field_name: typing.Literal["search_attributes", b"search_attributes"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "search_attributes", b"search_attributes", "workflow_task_completed_event_id", @@ -2577,10 +2666,11 @@ class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Mess ], ) -> None: ... -global___UpsertWorkflowSearchAttributesEventAttributes = ( +Global___UpsertWorkflowSearchAttributesEventAttributes: typing_extensions.TypeAlias = ( UpsertWorkflowSearchAttributesEventAttributes ) +@typing.final class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2594,6 +2684,7 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted. """ + def __init__( self, *, @@ -2601,11 +2692,11 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "upserted_memo", b"upserted_memo", "workflow_task_completed_event_id", @@ -2613,10 +2704,11 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) ], ) -> None: ... -global___WorkflowPropertiesModifiedEventAttributes = ( +Global___WorkflowPropertiesModifiedEventAttributes: typing_extensions.TypeAlias = ( WorkflowPropertiesModifiedEventAttributes ) +@typing.final class StartChildWorkflowExecutionInitiatedEventAttributes( google.protobuf.message.Message ): @@ -2643,13 +2735,32 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( INHERIT_BUILD_ID_FIELD_NUMBER: builtins.int PRIORITY_FIELD_NUMBER: builtins.int TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int - INITIAL_SKIPPED_DURATION_FIELD_NUMBER: builtins.int + TIME_SKIPPING_STATE_PROPAGATION_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str workflow_id: builtins.str + parent_close_policy: ( + temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + ) + """Default: PARENT_CLOSE_POLICY_TERMINATE.""" + control: builtins.str + """Deprecated.""" + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" + cron_schedule: builtins.str + """If this child runs on a cron schedule, it will appear here""" + inherit_build_id: builtins.bool + """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment + rules of the child's Task Queue will be used to independently assign a Build ID to it. + Deprecated. Only considered for versioning v0.2. + """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -2659,28 +2770,17 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" + @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - parent_close_policy: ( - temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType - ) - """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - control: builtins.str - """Deprecated.""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... - cron_schedule: builtins.str - """If this child runs on a cron schedule, it will appear here""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -2689,22 +2789,24 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... - inherit_build_id: builtins.bool - """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment - rules of the child's Task Queue will be used to independently assign a Build ID to it. - Deprecated. Only considered for versioning v0.2. - """ @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" + @property def time_skipping_config( self, - ) -> temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig: + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """The propagated time-skipping configuration for the child workflow.""" + @property - def initial_skipped_duration(self) -> google.protobuf.duration_pb2.Duration: - """Propagate the duration skipped to the child workflow.""" + def time_skipping_state_propagation( + self, + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingStatePropagation: + """The time-skipping state propagated from the parent workflow. This can be nil if no time skipping + has occurred or there is no previous run. + """ + def __init__( self, *, @@ -2729,17 +2831,16 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( | None = ..., inherit_build_id: builtins.bool = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - time_skipping_config: temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig + time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig + | None = ..., + time_skipping_state_propagation: temporalio.api.common.v1.message_pb2.TimeSkippingStatePropagation | None = ..., - initial_skipped_duration: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", - "initial_skipped_duration", - b"initial_skipped_duration", "input", b"input", "memo", @@ -2754,6 +2855,8 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( b"task_queue", "time_skipping_config", b"time_skipping_config", + "time_skipping_state_propagation", + b"time_skipping_state_propagation", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_run_timeout", @@ -2766,7 +2869,7 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "control", b"control", "cron_schedule", @@ -2775,8 +2878,6 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( b"header", "inherit_build_id", b"inherit_build_id", - "initial_skipped_duration", - b"initial_skipped_duration", "input", b"input", "memo", @@ -2797,6 +2898,8 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( b"task_queue", "time_skipping_config", b"time_skipping_config", + "time_skipping_state_propagation", + b"time_skipping_state_propagation", "workflow_execution_timeout", b"workflow_execution_timeout", "workflow_id", @@ -2814,10 +2917,9 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( ], ) -> None: ... -global___StartChildWorkflowExecutionInitiatedEventAttributes = ( - StartChildWorkflowExecutionInitiatedEventAttributes -) +Global___StartChildWorkflowExecutionInitiatedEventAttributes: typing_extensions.TypeAlias = StartChildWorkflowExecutionInitiatedEventAttributes +@typing.final class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2835,8 +2937,6 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M """ namespace_id: builtins.str workflow_id: builtins.str - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... cause: temporalio.api.enums.v1.failed_cause_pb2.StartChildWorkflowExecutionFailedCause.ValueType control: builtins.str """Deprecated.""" @@ -2844,6 +2944,8 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... def __init__( self, *, @@ -2857,11 +2959,11 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["workflow_type", b"workflow_type"] + self, field_name: typing.Literal["workflow_type", b"workflow_type"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cause", b"cause", "control", @@ -2881,10 +2983,9 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M ], ) -> None: ... -global___StartChildWorkflowExecutionFailedEventAttributes = ( - StartChildWorkflowExecutionFailedEventAttributes -) +Global___StartChildWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = StartChildWorkflowExecutionFailedEventAttributes +@typing.final class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2922,7 +3023,7 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "workflow_execution", @@ -2933,7 +3034,7 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "initiated_event_id", @@ -2949,10 +3050,11 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa ], ) -> None: ... -global___ChildWorkflowExecutionStartedEventAttributes = ( +Global___ChildWorkflowExecutionStartedEventAttributes: typing_extensions.TypeAlias = ( ChildWorkflowExecutionStartedEventAttributes ) +@typing.final class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2963,23 +3065,23 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes WORKFLOW_TYPE_FIELD_NUMBER: builtins.int INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... namespace: builtins.str """Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" def __init__( self, *, @@ -2994,7 +3096,7 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "result", b"result", "workflow_execution", @@ -3005,7 +3107,7 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -3023,10 +3125,11 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -global___ChildWorkflowExecutionCompletedEventAttributes = ( +Global___ChildWorkflowExecutionCompletedEventAttributes: typing_extensions.TypeAlias = ( ChildWorkflowExecutionCompletedEventAttributes ) +@typing.final class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3038,24 +3141,24 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... namespace: builtins.str """Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -3071,7 +3174,7 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "workflow_execution", @@ -3082,7 +3185,7 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "initiated_event_id", @@ -3102,10 +3205,11 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag ], ) -> None: ... -global___ChildWorkflowExecutionFailedEventAttributes = ( +Global___ChildWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = ( ChildWorkflowExecutionFailedEventAttributes ) +@typing.final class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3116,23 +3220,23 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess WORKFLOW_TYPE_FIELD_NUMBER: builtins.int INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... namespace: builtins.str """Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" def __init__( self, *, @@ -3147,7 +3251,7 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "workflow_execution", @@ -3158,7 +3262,7 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "initiated_event_id", @@ -3176,10 +3280,11 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess ], ) -> None: ... -global___ChildWorkflowExecutionCanceledEventAttributes = ( +Global___ChildWorkflowExecutionCanceledEventAttributes: typing_extensions.TypeAlias = ( ChildWorkflowExecutionCanceledEventAttributes ) +@typing.final class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3195,17 +3300,17 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -3220,7 +3325,7 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "workflow_execution", b"workflow_execution", "workflow_type", @@ -3229,7 +3334,7 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -3247,10 +3352,11 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess ], ) -> None: ... -global___ChildWorkflowExecutionTimedOutEventAttributes = ( +Global___ChildWorkflowExecutionTimedOutEventAttributes: typing_extensions.TypeAlias = ( ChildWorkflowExecutionTimedOutEventAttributes ) +@typing.final class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3265,16 +3371,16 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" def __init__( self, *, @@ -3288,7 +3394,7 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "workflow_execution", b"workflow_execution", "workflow_type", @@ -3297,7 +3403,7 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -3313,13 +3419,13 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me ], ) -> None: ... -global___ChildWorkflowExecutionTerminatedEventAttributes = ( - ChildWorkflowExecutionTerminatedEventAttributes -) +Global___ChildWorkflowExecutionTerminatedEventAttributes: typing_extensions.TypeAlias = ChildWorkflowExecutionTerminatedEventAttributes +@typing.final class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class WorkflowUpdateOptionsUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3339,6 +3445,7 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes temporalio.api.common.v1.message_pb2.Callback ]: """Completion callbacks attached to the running workflow update.""" + def __init__( self, *, @@ -3351,7 +3458,7 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attached_completion_callbacks", b"attached_completion_callbacks", "attached_request_id", @@ -3368,7 +3475,20 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes IDENTITY_FIELD_NUMBER: builtins.int PRIORITY_FIELD_NUMBER: builtins.int TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int + TIME_SKIPPING_CONFIG_UPDATED_FIELD_NUMBER: builtins.int WORKFLOW_UPDATE_OPTIONS_FIELD_NUMBER: builtins.int + unset_versioning_override: builtins.bool + """Versioning override removed in this event.""" + attached_request_id: builtins.str + """Request ID attached to the running workflow execution so that subsequent requests with same + request ID will be deduped. + """ + identity: builtins.str + """Optional. The identity of the client who initiated the request that created this event.""" + time_skipping_config_updated: builtins.bool + """Indicates the time skipping config was updated by the recent call to update + workflow execution options. + """ @property def versioning_override( self, @@ -3376,12 +3496,7 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes """Versioning override upserted in this event. Ignored if nil or if unset_versioning_override is true. """ - unset_versioning_override: builtins.bool - """Versioning override removed in this event.""" - attached_request_id: builtins.str - """Request ID attached to the running workflow execution so that subsequent requests with same - request ID will be deduped. - """ + @property def attached_completion_callbacks( self, @@ -3389,25 +3504,27 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes temporalio.api.common.v1.message_pb2.Callback ]: """Completion callbacks attached to the running workflow execution.""" - identity: builtins.str - """Optional. The identity of the client who initiated the request that created this event.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority override upserted in this event. Represents the full priority; not just partial fields. Ignored if nil. """ + @property def time_skipping_config( self, - ) -> temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig: - """If set, the time-skipping configuration was changed. Contains the full updated configuration.""" + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: + """TimeSkippingConfig override upserted in this event. Represents the full config.""" + @property def workflow_update_options( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate + Global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate ]: """Updates to workflow updates options.""" + def __init__( self, *, @@ -3421,16 +3538,17 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes | None = ..., identity: builtins.str = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - time_skipping_config: temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig + time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig | None = ..., + time_skipping_config_updated: builtins.bool = ..., workflow_update_options: collections.abc.Iterable[ - global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate + Global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate ] | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "priority", b"priority", "time_skipping_config", @@ -3441,7 +3559,7 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attached_completion_callbacks", b"attached_completion_callbacks", "attached_request_id", @@ -3452,6 +3570,8 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes b"priority", "time_skipping_config", b"time_skipping_config", + "time_skipping_config_updated", + b"time_skipping_config_updated", "unset_versioning_override", b"unset_versioning_override", "versioning_override", @@ -3461,10 +3581,11 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -global___WorkflowExecutionOptionsUpdatedEventAttributes = ( +Global___WorkflowExecutionOptionsUpdatedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionOptionsUpdatedEventAttributes ) +@typing.final class WorkflowPropertiesModifiedExternallyEventAttributes( google.protobuf.message.Message ): @@ -3482,15 +3603,19 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( @property def new_workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Not used.""" + @property def new_workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Not used.""" + @property def new_workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Not used.""" + @property def upserted_memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Not used.""" + def __init__( self, *, @@ -3503,7 +3628,7 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "new_workflow_execution_timeout", b"new_workflow_execution_timeout", "new_workflow_run_timeout", @@ -3516,7 +3641,7 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "new_task_queue", b"new_task_queue", "new_workflow_execution_timeout", @@ -3530,10 +3655,9 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( ], ) -> None: ... -global___WorkflowPropertiesModifiedExternallyEventAttributes = ( - WorkflowPropertiesModifiedExternallyEventAttributes -) +Global___WorkflowPropertiesModifiedExternallyEventAttributes: typing_extensions.TypeAlias = WorkflowPropertiesModifiedExternallyEventAttributes +@typing.final class ActivityPropertiesModifiedExternallyEventAttributes( google.protobuf.message.Message ): @@ -3548,6 +3672,7 @@ class ActivityPropertiesModifiedExternallyEventAttributes( """If set, update the retry policy of the activity, replacing it with the specified one. The number of attempts at the activity is preserved. """ + def __init__( self, *, @@ -3555,12 +3680,11 @@ class ActivityPropertiesModifiedExternallyEventAttributes( new_retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy"], + self, field_name: typing.Literal["new_retry_policy", b"new_retry_policy"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "new_retry_policy", b"new_retry_policy", "scheduled_event_id", @@ -3568,10 +3692,9 @@ class ActivityPropertiesModifiedExternallyEventAttributes( ], ) -> None: ... -global___ActivityPropertiesModifiedExternallyEventAttributes = ( - ActivityPropertiesModifiedExternallyEventAttributes -) +Global___ActivityPropertiesModifiedExternallyEventAttributes: typing_extensions.TypeAlias = ActivityPropertiesModifiedExternallyEventAttributes +@typing.final class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3593,6 +3716,7 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes """The message payload of the original request message that initiated this update. """ + def __init__( self, *, @@ -3602,12 +3726,11 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes accepted_request: temporalio.api.update.v1.message_pb2.Request | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], + self, field_name: typing.Literal["accepted_request", b"accepted_request"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "accepted_request", b"accepted_request", "accepted_request_message_id", @@ -3619,24 +3742,27 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -global___WorkflowExecutionUpdateAcceptedEventAttributes = ( +Global___WorkflowExecutionUpdateAcceptedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionUpdateAcceptedEventAttributes ) +@typing.final class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor META_FIELD_NUMBER: builtins.int ACCEPTED_EVENT_ID_FIELD_NUMBER: builtins.int OUTCOME_FIELD_NUMBER: builtins.int + accepted_event_id: builtins.int + """The event ID indicating the acceptance of this update.""" @property def meta(self) -> temporalio.api.update.v1.message_pb2.Meta: """The metadata about this update.""" - accepted_event_id: builtins.int - """The event ID indicating the acceptance of this update.""" + @property def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: """The outcome of executing the workflow update function.""" + def __init__( self, *, @@ -3645,12 +3771,11 @@ class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Me outcome: temporalio.api.update.v1.message_pb2.Outcome | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], + self, field_name: typing.Literal["meta", b"meta", "outcome", b"outcome"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "accepted_event_id", b"accepted_event_id", "meta", @@ -3660,10 +3785,9 @@ class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Me ], ) -> None: ... -global___WorkflowExecutionUpdateCompletedEventAttributes = ( - WorkflowExecutionUpdateCompletedEventAttributes -) +Global___WorkflowExecutionUpdateCompletedEventAttributes: typing_extensions.TypeAlias = WorkflowExecutionUpdateCompletedEventAttributes +@typing.final class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3686,9 +3810,11 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes """The message payload of the original request message that initiated this update. """ + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The cause of rejection.""" + def __init__( self, *, @@ -3700,13 +3826,13 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "rejected_request", b"rejected_request" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "protocol_instance_id", @@ -3720,20 +3846,22 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -global___WorkflowExecutionUpdateRejectedEventAttributes = ( +Global___WorkflowExecutionUpdateRejectedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionUpdateRejectedEventAttributes ) +@typing.final class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor REQUEST_FIELD_NUMBER: builtins.int ORIGIN_FIELD_NUMBER: builtins.int + origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType + """An explanation of why this event was written to history.""" @property def request(self) -> temporalio.api.update.v1.message_pb2.Request: """The update request associated with this event.""" - origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType - """An explanation of why this event was written to history.""" + def __init__( self, *, @@ -3741,19 +3869,17 @@ class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Mes origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["request", b"request"] + self, field_name: typing.Literal["request", b"request"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "origin", b"origin", "request", b"request" - ], + self, field_name: typing.Literal["origin", b"origin", "request", b"request"] ) -> None: ... -global___WorkflowExecutionUpdateAdmittedEventAttributes = ( +Global___WorkflowExecutionUpdateAdmittedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionUpdateAdmittedEventAttributes ) +@typing.final class WorkflowExecutionPausedEventAttributes(google.protobuf.message.Message): """Attributes for an event marking that a workflow execution was paused.""" @@ -3777,13 +3903,16 @@ class WorkflowExecutionPausedEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "reason", b"reason", "request_id", b"request_id" ], ) -> None: ... -global___WorkflowExecutionPausedEventAttributes = WorkflowExecutionPausedEventAttributes +Global___WorkflowExecutionPausedEventAttributes: typing_extensions.TypeAlias = ( + WorkflowExecutionPausedEventAttributes +) +@typing.final class WorkflowExecutionUnpausedEventAttributes(google.protobuf.message.Message): """Attributes for an event marking that a workflow execution was unpaused.""" @@ -3807,57 +3936,60 @@ class WorkflowExecutionUnpausedEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "reason", b"reason", "request_id", b"request_id" ], ) -> None: ... -global___WorkflowExecutionUnpausedEventAttributes = ( +Global___WorkflowExecutionUnpausedEventAttributes: typing_extensions.TypeAlias = ( WorkflowExecutionUnpausedEventAttributes ) +@typing.final class WorkflowExecutionTimeSkippingTransitionedEventAttributes( google.protobuf.message.Message ): """Attributes for an event indicating that time skipping state changed for a workflow execution, - either time was advanced or time skipping was disabled automatically due to a bound being reached. + either time was advanced or time skipping was disabled automatically due to the fast_forward completing. The worker_may_ignore field in HistoryEvent should always be set true for this event. """ DESCRIPTOR: google.protobuf.descriptor.Descriptor TARGET_TIME_FIELD_NUMBER: builtins.int - DISABLED_AFTER_BOUND_FIELD_NUMBER: builtins.int + DISABLED_AFTER_FAST_FORWARD_FIELD_NUMBER: builtins.int WALL_CLOCK_TIME_FIELD_NUMBER: builtins.int - @property - def target_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The virtual time after time skipping was applied.""" - disabled_after_bound: builtins.bool - """when true, time skipping was disabled automatically due to a bound being reached. + disabled_after_fast_forward: builtins.bool + """When true, time skipping has been disabled automatically due to a call to fast_forward completing. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "after" is used to indicate temporal ordering. --) """ + @property + def target_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The virtual time point that time skipping advanced to.""" + @property def wall_clock_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The wall-clock time when the time-skipping state changed event was generated.""" + def __init__( self, *, target_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - disabled_after_bound: builtins.bool = ..., + disabled_after_fast_forward: builtins.bool = ..., wall_clock_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "target_time", b"target_time", "wall_clock_time", b"wall_clock_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "disabled_after_bound", - b"disabled_after_bound", + field_name: typing.Literal[ + "disabled_after_fast_forward", + b"disabled_after_fast_forward", "target_time", b"target_time", "wall_clock_time", @@ -3865,15 +3997,15 @@ class WorkflowExecutionTimeSkippingTransitionedEventAttributes( ], ) -> None: ... -global___WorkflowExecutionTimeSkippingTransitionedEventAttributes = ( - WorkflowExecutionTimeSkippingTransitionedEventAttributes -) +Global___WorkflowExecutionTimeSkippingTransitionedEventAttributes: typing_extensions.TypeAlias = WorkflowExecutionTimeSkippingTransitionedEventAttributes +@typing.final class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): """Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3888,8 +4020,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int @@ -3909,12 +4040,24 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.""" + request_id: builtins.str + """A unique ID generated by the history service upon creation of this event. + The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key. + """ + endpoint_id: builtins.str + """Endpoint ID as resolved in the endpoint registry at the time this event was generated. + This is stored on the event and used internally by the server in case the endpoint is renamed from the time the + event was originally scheduled. + """ @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event. """ + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -3925,6 +4068,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --) """ + @property def nexus_header( self, @@ -3933,17 +4077,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.""" - request_id: builtins.str - """A unique ID generated by the history service upon creation of this event. - The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key. - """ - endpoint_id: builtins.str - """Endpoint ID as resolved in the endpoint registry at the time this event was generated. - This is stored on the event and used internally by the server in case the endpoint is renamed from the time the - event was originally scheduled. - """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -3951,6 +4085,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -3958,6 +4093,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + def __init__( self, *, @@ -3975,7 +4111,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -3988,7 +4124,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "endpoint", b"endpoint", "endpoint_id", @@ -4014,8 +4150,11 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationScheduledEventAttributes = NexusOperationScheduledEventAttributes +Global___NexusOperationScheduledEventAttributes: typing_extensions.TypeAlias = ( + NexusOperationScheduledEventAttributes +) +@typing.final class NexusOperationStartedEventAttributes(google.protobuf.message.Message): """Event marking an asynchronous operation was started by the responding Nexus handler. If the operation completes synchronously, this event is not generated. @@ -4053,7 +4192,7 @@ class NexusOperationStartedEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "operation_id", b"operation_id", "operation_token", @@ -4065,8 +4204,11 @@ class NexusOperationStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationStartedEventAttributes = NexusOperationStartedEventAttributes +Global___NexusOperationStartedEventAttributes: typing_extensions.TypeAlias = ( + NexusOperationStartedEventAttributes +) +@typing.final class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): """Nexus operation completed successfully.""" @@ -4077,13 +4219,14 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" + request_id: builtins.str + """The request ID allocated at schedule time.""" @property def result(self) -> temporalio.api.common.v1.message_pb2.Payload: """Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation. """ - request_id: builtins.str - """The request ID allocated at schedule time.""" + def __init__( self, *, @@ -4092,11 +4235,11 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "request_id", b"request_id", "result", @@ -4106,8 +4249,11 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationCompletedEventAttributes = NexusOperationCompletedEventAttributes +Global___NexusOperationCompletedEventAttributes: typing_extensions.TypeAlias = ( + NexusOperationCompletedEventAttributes +) +@typing.final class NexusOperationFailedEventAttributes(google.protobuf.message.Message): """Nexus operation failed.""" @@ -4118,11 +4264,12 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" + request_id: builtins.str + """The request ID allocated at schedule time.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details. A NexusOperationFailureInfo wrapping an ApplicationFailureInfo.""" - request_id: builtins.str - """The request ID allocated at schedule time.""" + def __init__( self, *, @@ -4131,11 +4278,11 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "request_id", @@ -4145,8 +4292,11 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationFailedEventAttributes = NexusOperationFailedEventAttributes +Global___NexusOperationFailedEventAttributes: typing_extensions.TypeAlias = ( + NexusOperationFailedEventAttributes +) +@typing.final class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): """Nexus operation timed out.""" @@ -4157,11 +4307,12 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" + request_id: builtins.str + """The request ID allocated at schedule time.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.""" - request_id: builtins.str - """The request ID allocated at schedule time.""" + def __init__( self, *, @@ -4170,11 +4321,11 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "request_id", @@ -4184,8 +4335,11 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationTimedOutEventAttributes = NexusOperationTimedOutEventAttributes +Global___NexusOperationTimedOutEventAttributes: typing_extensions.TypeAlias = ( + NexusOperationTimedOutEventAttributes +) +@typing.final class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): """Nexus operation completed as canceled. May or may not have been due to a cancellation request by the workflow.""" @@ -4196,11 +4350,12 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" + request_id: builtins.str + """The request ID allocated at schedule time.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Cancellation details.""" - request_id: builtins.str - """The request ID allocated at schedule time.""" + def __init__( self, *, @@ -4209,11 +4364,11 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "request_id", @@ -4223,8 +4378,11 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationCanceledEventAttributes = NexusOperationCanceledEventAttributes +Global___NexusOperationCanceledEventAttributes: typing_extensions.TypeAlias = ( + NexusOperationCanceledEventAttributes +) +@typing.final class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4244,7 +4402,7 @@ class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Messa ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", @@ -4252,10 +4410,11 @@ class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Messa ], ) -> None: ... -global___NexusOperationCancelRequestedEventAttributes = ( +Global___NexusOperationCancelRequestedEventAttributes: typing_extensions.TypeAlias = ( NexusOperationCancelRequestedEventAttributes ) +@typing.final class NexusOperationCancelRequestCompletedEventAttributes( google.protobuf.message.Message ): @@ -4281,7 +4440,7 @@ class NexusOperationCancelRequestCompletedEventAttributes( ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "requested_event_id", b"requested_event_id", "scheduled_event_id", @@ -4291,10 +4450,9 @@ class NexusOperationCancelRequestCompletedEventAttributes( ], ) -> None: ... -global___NexusOperationCancelRequestCompletedEventAttributes = ( - NexusOperationCancelRequestCompletedEventAttributes -) +Global___NexusOperationCancelRequestCompletedEventAttributes: typing_extensions.TypeAlias = NexusOperationCancelRequestCompletedEventAttributes +@typing.final class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4308,11 +4466,12 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M """The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported with. """ + scheduled_event_id: builtins.int + """The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.""" - scheduled_event_id: builtins.int - """The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.""" + def __init__( self, *, @@ -4322,11 +4481,11 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M scheduled_event_id: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "requested_event_id", @@ -4338,10 +4497,9 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M ], ) -> None: ... -global___NexusOperationCancelRequestFailedEventAttributes = ( - NexusOperationCancelRequestFailedEventAttributes -) +Global___NexusOperationCancelRequestFailedEventAttributes: typing_extensions.TypeAlias = NexusOperationCancelRequestFailedEventAttributes +@typing.final class HistoryEvent(google.protobuf.message.Message): """History events are the method by which Temporal SDKs advance (or recreate) workflow state. See the `EventType` enum for more info about what each event is for. @@ -4358,6 +4516,7 @@ class HistoryEvent(google.protobuf.message.Message): USER_METADATA_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int PRINCIPAL_FIELD_NUMBER: builtins.int + EVENT_GROUP_MARKERS_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -4430,8 +4589,6 @@ class HistoryEvent(google.protobuf.message.Message): ) event_id: builtins.int """Monotonically increasing event number, starts at 1.""" - @property - def event_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... event_type: temporalio.api.enums.v1.event_type_pb2.EventType.ValueType version: builtins.int """Failover version of the event, used by the server for multi-cluster replication and history @@ -4448,6 +4605,8 @@ class HistoryEvent(google.protobuf.message.Message): acceptable for the event type and/or attributes to be uninterpretable. """ @property + def event_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata on the event. This is often carried over from commands and client calls. Most events won't have this information, and how this information is used is dependent upon the interface @@ -4458,6 +4617,7 @@ class HistoryEvent(google.protobuf.message.Message): * timer_started_event_attributes - summary represents an identifier for the timer for use by user interfaces. """ + @property def links( self, @@ -4465,247 +4625,257 @@ class HistoryEvent(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to related entities, such as the entity that started this event's workflow.""" + @property def principal(self) -> temporalio.api.common.v1.message_pb2.Principal: """Server-computed authenticated caller identity associated with this event.""" + + @property + def event_group_markers( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker + ]: + """Event group markers attached to this event.""" + @property def workflow_execution_started_event_attributes( self, - ) -> global___WorkflowExecutionStartedEventAttributes: ... + ) -> Global___WorkflowExecutionStartedEventAttributes: ... @property def workflow_execution_completed_event_attributes( self, - ) -> global___WorkflowExecutionCompletedEventAttributes: ... + ) -> Global___WorkflowExecutionCompletedEventAttributes: ... @property def workflow_execution_failed_event_attributes( self, - ) -> global___WorkflowExecutionFailedEventAttributes: ... + ) -> Global___WorkflowExecutionFailedEventAttributes: ... @property def workflow_execution_timed_out_event_attributes( self, - ) -> global___WorkflowExecutionTimedOutEventAttributes: ... + ) -> Global___WorkflowExecutionTimedOutEventAttributes: ... @property def workflow_task_scheduled_event_attributes( self, - ) -> global___WorkflowTaskScheduledEventAttributes: ... + ) -> Global___WorkflowTaskScheduledEventAttributes: ... @property def workflow_task_started_event_attributes( self, - ) -> global___WorkflowTaskStartedEventAttributes: ... + ) -> Global___WorkflowTaskStartedEventAttributes: ... @property def workflow_task_completed_event_attributes( self, - ) -> global___WorkflowTaskCompletedEventAttributes: ... + ) -> Global___WorkflowTaskCompletedEventAttributes: ... @property def workflow_task_timed_out_event_attributes( self, - ) -> global___WorkflowTaskTimedOutEventAttributes: ... + ) -> Global___WorkflowTaskTimedOutEventAttributes: ... @property def workflow_task_failed_event_attributes( self, - ) -> global___WorkflowTaskFailedEventAttributes: ... + ) -> Global___WorkflowTaskFailedEventAttributes: ... @property def activity_task_scheduled_event_attributes( self, - ) -> global___ActivityTaskScheduledEventAttributes: ... + ) -> Global___ActivityTaskScheduledEventAttributes: ... @property def activity_task_started_event_attributes( self, - ) -> global___ActivityTaskStartedEventAttributes: ... + ) -> Global___ActivityTaskStartedEventAttributes: ... @property def activity_task_completed_event_attributes( self, - ) -> global___ActivityTaskCompletedEventAttributes: ... + ) -> Global___ActivityTaskCompletedEventAttributes: ... @property def activity_task_failed_event_attributes( self, - ) -> global___ActivityTaskFailedEventAttributes: ... + ) -> Global___ActivityTaskFailedEventAttributes: ... @property def activity_task_timed_out_event_attributes( self, - ) -> global___ActivityTaskTimedOutEventAttributes: ... + ) -> Global___ActivityTaskTimedOutEventAttributes: ... @property def timer_started_event_attributes( self, - ) -> global___TimerStartedEventAttributes: ... + ) -> Global___TimerStartedEventAttributes: ... @property - def timer_fired_event_attributes(self) -> global___TimerFiredEventAttributes: ... + def timer_fired_event_attributes(self) -> Global___TimerFiredEventAttributes: ... @property def activity_task_cancel_requested_event_attributes( self, - ) -> global___ActivityTaskCancelRequestedEventAttributes: ... + ) -> Global___ActivityTaskCancelRequestedEventAttributes: ... @property def activity_task_canceled_event_attributes( self, - ) -> global___ActivityTaskCanceledEventAttributes: ... + ) -> Global___ActivityTaskCanceledEventAttributes: ... @property def timer_canceled_event_attributes( self, - ) -> global___TimerCanceledEventAttributes: ... + ) -> Global___TimerCanceledEventAttributes: ... @property def marker_recorded_event_attributes( self, - ) -> global___MarkerRecordedEventAttributes: ... + ) -> Global___MarkerRecordedEventAttributes: ... @property def workflow_execution_signaled_event_attributes( self, - ) -> global___WorkflowExecutionSignaledEventAttributes: ... + ) -> Global___WorkflowExecutionSignaledEventAttributes: ... @property def workflow_execution_terminated_event_attributes( self, - ) -> global___WorkflowExecutionTerminatedEventAttributes: ... + ) -> Global___WorkflowExecutionTerminatedEventAttributes: ... @property def workflow_execution_cancel_requested_event_attributes( self, - ) -> global___WorkflowExecutionCancelRequestedEventAttributes: ... + ) -> Global___WorkflowExecutionCancelRequestedEventAttributes: ... @property def workflow_execution_canceled_event_attributes( self, - ) -> global___WorkflowExecutionCanceledEventAttributes: ... + ) -> Global___WorkflowExecutionCanceledEventAttributes: ... @property def request_cancel_external_workflow_execution_initiated_event_attributes( self, - ) -> global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... + ) -> Global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... @property def request_cancel_external_workflow_execution_failed_event_attributes( self, - ) -> global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... + ) -> Global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... @property def external_workflow_execution_cancel_requested_event_attributes( self, - ) -> global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... + ) -> Global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... @property def workflow_execution_continued_as_new_event_attributes( self, - ) -> global___WorkflowExecutionContinuedAsNewEventAttributes: ... + ) -> Global___WorkflowExecutionContinuedAsNewEventAttributes: ... @property def start_child_workflow_execution_initiated_event_attributes( self, - ) -> global___StartChildWorkflowExecutionInitiatedEventAttributes: ... + ) -> Global___StartChildWorkflowExecutionInitiatedEventAttributes: ... @property def start_child_workflow_execution_failed_event_attributes( self, - ) -> global___StartChildWorkflowExecutionFailedEventAttributes: ... + ) -> Global___StartChildWorkflowExecutionFailedEventAttributes: ... @property def child_workflow_execution_started_event_attributes( self, - ) -> global___ChildWorkflowExecutionStartedEventAttributes: ... + ) -> Global___ChildWorkflowExecutionStartedEventAttributes: ... @property def child_workflow_execution_completed_event_attributes( self, - ) -> global___ChildWorkflowExecutionCompletedEventAttributes: ... + ) -> Global___ChildWorkflowExecutionCompletedEventAttributes: ... @property def child_workflow_execution_failed_event_attributes( self, - ) -> global___ChildWorkflowExecutionFailedEventAttributes: ... + ) -> Global___ChildWorkflowExecutionFailedEventAttributes: ... @property def child_workflow_execution_canceled_event_attributes( self, - ) -> global___ChildWorkflowExecutionCanceledEventAttributes: ... + ) -> Global___ChildWorkflowExecutionCanceledEventAttributes: ... @property def child_workflow_execution_timed_out_event_attributes( self, - ) -> global___ChildWorkflowExecutionTimedOutEventAttributes: ... + ) -> Global___ChildWorkflowExecutionTimedOutEventAttributes: ... @property def child_workflow_execution_terminated_event_attributes( self, - ) -> global___ChildWorkflowExecutionTerminatedEventAttributes: ... + ) -> Global___ChildWorkflowExecutionTerminatedEventAttributes: ... @property def signal_external_workflow_execution_initiated_event_attributes( self, - ) -> global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... + ) -> Global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... @property def signal_external_workflow_execution_failed_event_attributes( self, - ) -> global___SignalExternalWorkflowExecutionFailedEventAttributes: ... + ) -> Global___SignalExternalWorkflowExecutionFailedEventAttributes: ... @property def external_workflow_execution_signaled_event_attributes( self, - ) -> global___ExternalWorkflowExecutionSignaledEventAttributes: ... + ) -> Global___ExternalWorkflowExecutionSignaledEventAttributes: ... @property def upsert_workflow_search_attributes_event_attributes( self, - ) -> global___UpsertWorkflowSearchAttributesEventAttributes: ... + ) -> Global___UpsertWorkflowSearchAttributesEventAttributes: ... @property def workflow_execution_update_accepted_event_attributes( self, - ) -> global___WorkflowExecutionUpdateAcceptedEventAttributes: ... + ) -> Global___WorkflowExecutionUpdateAcceptedEventAttributes: ... @property def workflow_execution_update_rejected_event_attributes( self, - ) -> global___WorkflowExecutionUpdateRejectedEventAttributes: ... + ) -> Global___WorkflowExecutionUpdateRejectedEventAttributes: ... @property def workflow_execution_update_completed_event_attributes( self, - ) -> global___WorkflowExecutionUpdateCompletedEventAttributes: ... + ) -> Global___WorkflowExecutionUpdateCompletedEventAttributes: ... @property def workflow_properties_modified_externally_event_attributes( self, - ) -> global___WorkflowPropertiesModifiedExternallyEventAttributes: ... + ) -> Global___WorkflowPropertiesModifiedExternallyEventAttributes: ... @property def activity_properties_modified_externally_event_attributes( self, - ) -> global___ActivityPropertiesModifiedExternallyEventAttributes: ... + ) -> Global___ActivityPropertiesModifiedExternallyEventAttributes: ... @property def workflow_properties_modified_event_attributes( self, - ) -> global___WorkflowPropertiesModifiedEventAttributes: ... + ) -> Global___WorkflowPropertiesModifiedEventAttributes: ... @property def workflow_execution_update_admitted_event_attributes( self, - ) -> global___WorkflowExecutionUpdateAdmittedEventAttributes: ... + ) -> Global___WorkflowExecutionUpdateAdmittedEventAttributes: ... @property def nexus_operation_scheduled_event_attributes( self, - ) -> global___NexusOperationScheduledEventAttributes: ... + ) -> Global___NexusOperationScheduledEventAttributes: ... @property def nexus_operation_started_event_attributes( self, - ) -> global___NexusOperationStartedEventAttributes: ... + ) -> Global___NexusOperationStartedEventAttributes: ... @property def nexus_operation_completed_event_attributes( self, - ) -> global___NexusOperationCompletedEventAttributes: ... + ) -> Global___NexusOperationCompletedEventAttributes: ... @property def nexus_operation_failed_event_attributes( self, - ) -> global___NexusOperationFailedEventAttributes: ... + ) -> Global___NexusOperationFailedEventAttributes: ... @property def nexus_operation_canceled_event_attributes( self, - ) -> global___NexusOperationCanceledEventAttributes: ... + ) -> Global___NexusOperationCanceledEventAttributes: ... @property def nexus_operation_timed_out_event_attributes( self, - ) -> global___NexusOperationTimedOutEventAttributes: ... + ) -> Global___NexusOperationTimedOutEventAttributes: ... @property def nexus_operation_cancel_requested_event_attributes( self, - ) -> global___NexusOperationCancelRequestedEventAttributes: ... + ) -> Global___NexusOperationCancelRequestedEventAttributes: ... @property def workflow_execution_options_updated_event_attributes( self, - ) -> global___WorkflowExecutionOptionsUpdatedEventAttributes: ... + ) -> Global___WorkflowExecutionOptionsUpdatedEventAttributes: ... @property def nexus_operation_cancel_request_completed_event_attributes( self, - ) -> global___NexusOperationCancelRequestCompletedEventAttributes: ... + ) -> Global___NexusOperationCancelRequestCompletedEventAttributes: ... @property def nexus_operation_cancel_request_failed_event_attributes( self, - ) -> global___NexusOperationCancelRequestFailedEventAttributes: ... + ) -> Global___NexusOperationCancelRequestFailedEventAttributes: ... @property def workflow_execution_paused_event_attributes( self, - ) -> global___WorkflowExecutionPausedEventAttributes: ... + ) -> Global___WorkflowExecutionPausedEventAttributes: ... @property def workflow_execution_unpaused_event_attributes( self, - ) -> global___WorkflowExecutionUnpausedEventAttributes: ... + ) -> Global___WorkflowExecutionUnpausedEventAttributes: ... @property def workflow_execution_time_skipping_transitioned_event_attributes( self, - ) -> global___WorkflowExecutionTimeSkippingTransitionedEventAttributes: ... + ) -> Global___WorkflowExecutionTimeSkippingTransitionedEventAttributes: ... def __init__( self, *, @@ -4720,129 +4890,133 @@ class HistoryEvent(google.protobuf.message.Message): links: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Link] | None = ..., principal: temporalio.api.common.v1.message_pb2.Principal | None = ..., - workflow_execution_started_event_attributes: global___WorkflowExecutionStartedEventAttributes + event_group_markers: collections.abc.Iterable[ + temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker + ] + | None = ..., + workflow_execution_started_event_attributes: Global___WorkflowExecutionStartedEventAttributes | None = ..., - workflow_execution_completed_event_attributes: global___WorkflowExecutionCompletedEventAttributes + workflow_execution_completed_event_attributes: Global___WorkflowExecutionCompletedEventAttributes | None = ..., - workflow_execution_failed_event_attributes: global___WorkflowExecutionFailedEventAttributes + workflow_execution_failed_event_attributes: Global___WorkflowExecutionFailedEventAttributes | None = ..., - workflow_execution_timed_out_event_attributes: global___WorkflowExecutionTimedOutEventAttributes + workflow_execution_timed_out_event_attributes: Global___WorkflowExecutionTimedOutEventAttributes | None = ..., - workflow_task_scheduled_event_attributes: global___WorkflowTaskScheduledEventAttributes + workflow_task_scheduled_event_attributes: Global___WorkflowTaskScheduledEventAttributes | None = ..., - workflow_task_started_event_attributes: global___WorkflowTaskStartedEventAttributes + workflow_task_started_event_attributes: Global___WorkflowTaskStartedEventAttributes | None = ..., - workflow_task_completed_event_attributes: global___WorkflowTaskCompletedEventAttributes + workflow_task_completed_event_attributes: Global___WorkflowTaskCompletedEventAttributes | None = ..., - workflow_task_timed_out_event_attributes: global___WorkflowTaskTimedOutEventAttributes + workflow_task_timed_out_event_attributes: Global___WorkflowTaskTimedOutEventAttributes | None = ..., - workflow_task_failed_event_attributes: global___WorkflowTaskFailedEventAttributes + workflow_task_failed_event_attributes: Global___WorkflowTaskFailedEventAttributes | None = ..., - activity_task_scheduled_event_attributes: global___ActivityTaskScheduledEventAttributes + activity_task_scheduled_event_attributes: Global___ActivityTaskScheduledEventAttributes | None = ..., - activity_task_started_event_attributes: global___ActivityTaskStartedEventAttributes + activity_task_started_event_attributes: Global___ActivityTaskStartedEventAttributes | None = ..., - activity_task_completed_event_attributes: global___ActivityTaskCompletedEventAttributes + activity_task_completed_event_attributes: Global___ActivityTaskCompletedEventAttributes | None = ..., - activity_task_failed_event_attributes: global___ActivityTaskFailedEventAttributes + activity_task_failed_event_attributes: Global___ActivityTaskFailedEventAttributes | None = ..., - activity_task_timed_out_event_attributes: global___ActivityTaskTimedOutEventAttributes + activity_task_timed_out_event_attributes: Global___ActivityTaskTimedOutEventAttributes | None = ..., - timer_started_event_attributes: global___TimerStartedEventAttributes + timer_started_event_attributes: Global___TimerStartedEventAttributes | None = ..., - timer_fired_event_attributes: global___TimerFiredEventAttributes | None = ..., - activity_task_cancel_requested_event_attributes: global___ActivityTaskCancelRequestedEventAttributes + timer_fired_event_attributes: Global___TimerFiredEventAttributes | None = ..., + activity_task_cancel_requested_event_attributes: Global___ActivityTaskCancelRequestedEventAttributes | None = ..., - activity_task_canceled_event_attributes: global___ActivityTaskCanceledEventAttributes + activity_task_canceled_event_attributes: Global___ActivityTaskCanceledEventAttributes | None = ..., - timer_canceled_event_attributes: global___TimerCanceledEventAttributes + timer_canceled_event_attributes: Global___TimerCanceledEventAttributes | None = ..., - marker_recorded_event_attributes: global___MarkerRecordedEventAttributes + marker_recorded_event_attributes: Global___MarkerRecordedEventAttributes | None = ..., - workflow_execution_signaled_event_attributes: global___WorkflowExecutionSignaledEventAttributes + workflow_execution_signaled_event_attributes: Global___WorkflowExecutionSignaledEventAttributes | None = ..., - workflow_execution_terminated_event_attributes: global___WorkflowExecutionTerminatedEventAttributes + workflow_execution_terminated_event_attributes: Global___WorkflowExecutionTerminatedEventAttributes | None = ..., - workflow_execution_cancel_requested_event_attributes: global___WorkflowExecutionCancelRequestedEventAttributes + workflow_execution_cancel_requested_event_attributes: Global___WorkflowExecutionCancelRequestedEventAttributes | None = ..., - workflow_execution_canceled_event_attributes: global___WorkflowExecutionCanceledEventAttributes + workflow_execution_canceled_event_attributes: Global___WorkflowExecutionCanceledEventAttributes | None = ..., - request_cancel_external_workflow_execution_initiated_event_attributes: global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes + request_cancel_external_workflow_execution_initiated_event_attributes: Global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | None = ..., - request_cancel_external_workflow_execution_failed_event_attributes: global___RequestCancelExternalWorkflowExecutionFailedEventAttributes + request_cancel_external_workflow_execution_failed_event_attributes: Global___RequestCancelExternalWorkflowExecutionFailedEventAttributes | None = ..., - external_workflow_execution_cancel_requested_event_attributes: global___ExternalWorkflowExecutionCancelRequestedEventAttributes + external_workflow_execution_cancel_requested_event_attributes: Global___ExternalWorkflowExecutionCancelRequestedEventAttributes | None = ..., - workflow_execution_continued_as_new_event_attributes: global___WorkflowExecutionContinuedAsNewEventAttributes + workflow_execution_continued_as_new_event_attributes: Global___WorkflowExecutionContinuedAsNewEventAttributes | None = ..., - start_child_workflow_execution_initiated_event_attributes: global___StartChildWorkflowExecutionInitiatedEventAttributes + start_child_workflow_execution_initiated_event_attributes: Global___StartChildWorkflowExecutionInitiatedEventAttributes | None = ..., - start_child_workflow_execution_failed_event_attributes: global___StartChildWorkflowExecutionFailedEventAttributes + start_child_workflow_execution_failed_event_attributes: Global___StartChildWorkflowExecutionFailedEventAttributes | None = ..., - child_workflow_execution_started_event_attributes: global___ChildWorkflowExecutionStartedEventAttributes + child_workflow_execution_started_event_attributes: Global___ChildWorkflowExecutionStartedEventAttributes | None = ..., - child_workflow_execution_completed_event_attributes: global___ChildWorkflowExecutionCompletedEventAttributes + child_workflow_execution_completed_event_attributes: Global___ChildWorkflowExecutionCompletedEventAttributes | None = ..., - child_workflow_execution_failed_event_attributes: global___ChildWorkflowExecutionFailedEventAttributes + child_workflow_execution_failed_event_attributes: Global___ChildWorkflowExecutionFailedEventAttributes | None = ..., - child_workflow_execution_canceled_event_attributes: global___ChildWorkflowExecutionCanceledEventAttributes + child_workflow_execution_canceled_event_attributes: Global___ChildWorkflowExecutionCanceledEventAttributes | None = ..., - child_workflow_execution_timed_out_event_attributes: global___ChildWorkflowExecutionTimedOutEventAttributes + child_workflow_execution_timed_out_event_attributes: Global___ChildWorkflowExecutionTimedOutEventAttributes | None = ..., - child_workflow_execution_terminated_event_attributes: global___ChildWorkflowExecutionTerminatedEventAttributes + child_workflow_execution_terminated_event_attributes: Global___ChildWorkflowExecutionTerminatedEventAttributes | None = ..., - signal_external_workflow_execution_initiated_event_attributes: global___SignalExternalWorkflowExecutionInitiatedEventAttributes + signal_external_workflow_execution_initiated_event_attributes: Global___SignalExternalWorkflowExecutionInitiatedEventAttributes | None = ..., - signal_external_workflow_execution_failed_event_attributes: global___SignalExternalWorkflowExecutionFailedEventAttributes + signal_external_workflow_execution_failed_event_attributes: Global___SignalExternalWorkflowExecutionFailedEventAttributes | None = ..., - external_workflow_execution_signaled_event_attributes: global___ExternalWorkflowExecutionSignaledEventAttributes + external_workflow_execution_signaled_event_attributes: Global___ExternalWorkflowExecutionSignaledEventAttributes | None = ..., - upsert_workflow_search_attributes_event_attributes: global___UpsertWorkflowSearchAttributesEventAttributes + upsert_workflow_search_attributes_event_attributes: Global___UpsertWorkflowSearchAttributesEventAttributes | None = ..., - workflow_execution_update_accepted_event_attributes: global___WorkflowExecutionUpdateAcceptedEventAttributes + workflow_execution_update_accepted_event_attributes: Global___WorkflowExecutionUpdateAcceptedEventAttributes | None = ..., - workflow_execution_update_rejected_event_attributes: global___WorkflowExecutionUpdateRejectedEventAttributes + workflow_execution_update_rejected_event_attributes: Global___WorkflowExecutionUpdateRejectedEventAttributes | None = ..., - workflow_execution_update_completed_event_attributes: global___WorkflowExecutionUpdateCompletedEventAttributes + workflow_execution_update_completed_event_attributes: Global___WorkflowExecutionUpdateCompletedEventAttributes | None = ..., - workflow_properties_modified_externally_event_attributes: global___WorkflowPropertiesModifiedExternallyEventAttributes + workflow_properties_modified_externally_event_attributes: Global___WorkflowPropertiesModifiedExternallyEventAttributes | None = ..., - activity_properties_modified_externally_event_attributes: global___ActivityPropertiesModifiedExternallyEventAttributes + activity_properties_modified_externally_event_attributes: Global___ActivityPropertiesModifiedExternallyEventAttributes | None = ..., - workflow_properties_modified_event_attributes: global___WorkflowPropertiesModifiedEventAttributes + workflow_properties_modified_event_attributes: Global___WorkflowPropertiesModifiedEventAttributes | None = ..., - workflow_execution_update_admitted_event_attributes: global___WorkflowExecutionUpdateAdmittedEventAttributes + workflow_execution_update_admitted_event_attributes: Global___WorkflowExecutionUpdateAdmittedEventAttributes | None = ..., - nexus_operation_scheduled_event_attributes: global___NexusOperationScheduledEventAttributes + nexus_operation_scheduled_event_attributes: Global___NexusOperationScheduledEventAttributes | None = ..., - nexus_operation_started_event_attributes: global___NexusOperationStartedEventAttributes + nexus_operation_started_event_attributes: Global___NexusOperationStartedEventAttributes | None = ..., - nexus_operation_completed_event_attributes: global___NexusOperationCompletedEventAttributes + nexus_operation_completed_event_attributes: Global___NexusOperationCompletedEventAttributes | None = ..., - nexus_operation_failed_event_attributes: global___NexusOperationFailedEventAttributes + nexus_operation_failed_event_attributes: Global___NexusOperationFailedEventAttributes | None = ..., - nexus_operation_canceled_event_attributes: global___NexusOperationCanceledEventAttributes + nexus_operation_canceled_event_attributes: Global___NexusOperationCanceledEventAttributes | None = ..., - nexus_operation_timed_out_event_attributes: global___NexusOperationTimedOutEventAttributes + nexus_operation_timed_out_event_attributes: Global___NexusOperationTimedOutEventAttributes | None = ..., - nexus_operation_cancel_requested_event_attributes: global___NexusOperationCancelRequestedEventAttributes + nexus_operation_cancel_requested_event_attributes: Global___NexusOperationCancelRequestedEventAttributes | None = ..., - workflow_execution_options_updated_event_attributes: global___WorkflowExecutionOptionsUpdatedEventAttributes + workflow_execution_options_updated_event_attributes: Global___WorkflowExecutionOptionsUpdatedEventAttributes | None = ..., - nexus_operation_cancel_request_completed_event_attributes: global___NexusOperationCancelRequestCompletedEventAttributes + nexus_operation_cancel_request_completed_event_attributes: Global___NexusOperationCancelRequestCompletedEventAttributes | None = ..., - nexus_operation_cancel_request_failed_event_attributes: global___NexusOperationCancelRequestFailedEventAttributes + nexus_operation_cancel_request_failed_event_attributes: Global___NexusOperationCancelRequestFailedEventAttributes | None = ..., - workflow_execution_paused_event_attributes: global___WorkflowExecutionPausedEventAttributes + workflow_execution_paused_event_attributes: Global___WorkflowExecutionPausedEventAttributes | None = ..., - workflow_execution_unpaused_event_attributes: global___WorkflowExecutionUnpausedEventAttributes + workflow_execution_unpaused_event_attributes: Global___WorkflowExecutionUnpausedEventAttributes | None = ..., - workflow_execution_time_skipping_transitioned_event_attributes: global___WorkflowExecutionTimeSkippingTransitionedEventAttributes + workflow_execution_time_skipping_transitioned_event_attributes: Global___WorkflowExecutionTimeSkippingTransitionedEventAttributes | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", @@ -4975,7 +5149,7 @@ class HistoryEvent(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", @@ -5006,6 +5180,8 @@ class HistoryEvent(google.protobuf.message.Message): b"child_workflow_execution_terminated_event_attributes", "child_workflow_execution_timed_out_event_attributes", b"child_workflow_execution_timed_out_event_attributes", + "event_group_markers", + b"event_group_markers", "event_id", b"event_id", "event_time", @@ -5119,9 +5295,9 @@ class HistoryEvent(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] + self, oneof_group: typing.Literal["attributes", b"attributes"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "workflow_execution_started_event_attributes", "workflow_execution_completed_event_attributes", "workflow_execution_failed_event_attributes", @@ -5186,8 +5362,9 @@ class HistoryEvent(google.protobuf.message.Message): | None ): ... -global___HistoryEvent = HistoryEvent +Global___HistoryEvent: typing_extensions.TypeAlias = HistoryEvent +@typing.final class History(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5196,15 +5373,13 @@ class History(google.protobuf.message.Message): def events( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___HistoryEvent + Global___HistoryEvent ]: ... def __init__( self, *, - events: collections.abc.Iterable[global___HistoryEvent] | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["events", b"events"] + events: collections.abc.Iterable[Global___HistoryEvent] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["events", b"events"]) -> None: ... -global___History = History +Global___History: typing_extensions.TypeAlias = History diff --git a/temporalio/api/namespace/v1/message_pb2.py b/temporalio/api/namespace/v1/message_pb2.py index 4c7018307..3437ac8e0 100644 --- a/temporalio/api/namespace/v1/message_pb2.py +++ b/temporalio/api/namespace/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/namespace/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/namespace/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,183 +32,57 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"\xe8\x06\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12?\n\x06limits\x18\x08 \x01(\x0b\x32/.temporal.api.namespace.v1.NamespaceInfo.Limits\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xfb\x02\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08\x12\x19\n\x11worker_heartbeats\x18\x04 \x01(\x08\x12*\n"reported_problems_search_attribute\x18\x05 \x01(\x08\x12\x16\n\x0eworkflow_pause\x18\x06 \x01(\x08\x12\x1d\n\x15standalone_activities\x18\x07 \x01(\x08\x12(\n worker_poll_complete_on_shutdown\x18\x08 \x01(\x08\x12\x1a\n\x12poller_autoscaling\x18\t \x01(\x08\x12\x17\n\x0fworker_commands\x18\n \x01(\x08\x12"\n\x1astandalone_nexus_operation\x18\x0b \x01(\x08\x12!\n\x19workflow_update_callbacks\x18\x0c \x01(\x08\x1a\x46\n\x06Limits\x12\x1d\n\x15\x62lob_size_limit_error\x18\x01 \x01(\x03\x12\x1d\n\x15memo_size_limit_error\x18\x02 \x01(\x03"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3' -) - - -_NAMESPACEINFO = DESCRIPTOR.message_types_by_name["NamespaceInfo"] -_NAMESPACEINFO_DATAENTRY = _NAMESPACEINFO.nested_types_by_name["DataEntry"] -_NAMESPACEINFO_CAPABILITIES = _NAMESPACEINFO.nested_types_by_name["Capabilities"] -_NAMESPACEINFO_LIMITS = _NAMESPACEINFO.nested_types_by_name["Limits"] -_NAMESPACECONFIG = DESCRIPTOR.message_types_by_name["NamespaceConfig"] -_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY = ( - _NAMESPACECONFIG.nested_types_by_name["CustomSearchAttributeAliasesEntry"] -) -_BADBINARIES = DESCRIPTOR.message_types_by_name["BadBinaries"] -_BADBINARIES_BINARIESENTRY = _BADBINARIES.nested_types_by_name["BinariesEntry"] -_BADBINARYINFO = DESCRIPTOR.message_types_by_name["BadBinaryInfo"] -_UPDATENAMESPACEINFO = DESCRIPTOR.message_types_by_name["UpdateNamespaceInfo"] -_UPDATENAMESPACEINFO_DATAENTRY = _UPDATENAMESPACEINFO.nested_types_by_name["DataEntry"] -_NAMESPACEFILTER = DESCRIPTOR.message_types_by_name["NamespaceFilter"] -NamespaceInfo = _reflection.GeneratedProtocolMessageType( - "NamespaceInfo", - (_message.Message,), - { - "DataEntry": _reflection.GeneratedProtocolMessageType( - "DataEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEINFO_DATAENTRY, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.DataEntry) - }, - ), - "Capabilities": _reflection.GeneratedProtocolMessageType( - "Capabilities", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEINFO_CAPABILITIES, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Capabilities) - }, - ), - "Limits": _reflection.GeneratedProtocolMessageType( - "Limits", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEINFO_LIMITS, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Limits) - }, - ), - "DESCRIPTOR": _NAMESPACEINFO, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo) - }, -) -_sym_db.RegisterMessage(NamespaceInfo) -_sym_db.RegisterMessage(NamespaceInfo.DataEntry) -_sym_db.RegisterMessage(NamespaceInfo.Capabilities) -_sym_db.RegisterMessage(NamespaceInfo.Limits) - -NamespaceConfig = _reflection.GeneratedProtocolMessageType( - "NamespaceConfig", - (_message.Message,), - { - "CustomSearchAttributeAliasesEntry": _reflection.GeneratedProtocolMessageType( - "CustomSearchAttributeAliasesEntry", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry) - }, - ), - "DESCRIPTOR": _NAMESPACECONFIG, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig) - }, + b'\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"\x90\x07\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12?\n\x06limits\x18\x08 \x01(\x0b\x32/.temporal.api.namespace.v1.NamespaceInfo.Limits\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa3\x03\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08\x12\x19\n\x11worker_heartbeats\x18\x04 \x01(\x08\x12*\n"reported_problems_search_attribute\x18\x05 \x01(\x08\x12\x16\n\x0eworkflow_pause\x18\x06 \x01(\x08\x12\x1d\n\x15standalone_activities\x18\x07 \x01(\x08\x12(\n worker_poll_complete_on_shutdown\x18\x08 \x01(\x08\x12\x1a\n\x12poller_autoscaling\x18\t \x01(\x08\x12\x17\n\x0fworker_commands\x18\n \x01(\x08\x12"\n\x1astandalone_nexus_operation\x18\x0b \x01(\x08\x12!\n\x19workflow_update_callbacks\x18\x0c \x01(\x08\x12&\n\x1epoller_autoscaling_auto_enroll\x18\r \x01(\x08\x1a\x46\n\x06Limits\x12\x1d\n\x15\x62lob_size_limit_error\x18\x01 \x01(\x03\x12\x1d\n\x15memo_size_limit_error\x18\x02 \x01(\x03"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3' ) -_sym_db.RegisterMessage(NamespaceConfig) -_sym_db.RegisterMessage(NamespaceConfig.CustomSearchAttributeAliasesEntry) -BadBinaries = _reflection.GeneratedProtocolMessageType( - "BadBinaries", - (_message.Message,), - { - "BinariesEntry": _reflection.GeneratedProtocolMessageType( - "BinariesEntry", - (_message.Message,), - { - "DESCRIPTOR": _BADBINARIES_BINARIESENTRY, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries.BinariesEntry) - }, - ), - "DESCRIPTOR": _BADBINARIES, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.namespace.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(BadBinaries) -_sym_db.RegisterMessage(BadBinaries.BinariesEntry) - -BadBinaryInfo = _reflection.GeneratedProtocolMessageType( - "BadBinaryInfo", - (_message.Message,), - { - "DESCRIPTOR": _BADBINARYINFO, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaryInfo) - }, -) -_sym_db.RegisterMessage(BadBinaryInfo) - -UpdateNamespaceInfo = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceInfo", - (_message.Message,), - { - "DataEntry": _reflection.GeneratedProtocolMessageType( - "DataEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEINFO_DATAENTRY, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry) - }, - ), - "DESCRIPTOR": _UPDATENAMESPACEINFO, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceInfo) -_sym_db.RegisterMessage(UpdateNamespaceInfo.DataEntry) - -NamespaceFilter = _reflection.GeneratedProtocolMessageType( - "NamespaceFilter", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEFILTER, - "__module__": "temporalio.api.namespace.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceFilter) - }, -) -_sym_db.RegisterMessage(NamespaceFilter) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1" - _NAMESPACEINFO_DATAENTRY._options = None - _NAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._options = None - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_options = b"8\001" - _BADBINARIES_BINARIESENTRY._options = None - _BADBINARIES_BINARIESENTRY._serialized_options = b"8\001" - _UPDATENAMESPACEINFO_DATAENTRY._options = None - _UPDATENAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" - _NAMESPACEINFO._serialized_start = 175 - _NAMESPACEINFO._serialized_end = 1047 - _NAMESPACEINFO_DATAENTRY._serialized_start = 550 - _NAMESPACEINFO_DATAENTRY._serialized_end = 593 - _NAMESPACEINFO_CAPABILITIES._serialized_start = 596 - _NAMESPACEINFO_CAPABILITIES._serialized_end = 975 - _NAMESPACEINFO_LIMITS._serialized_start = 977 - _NAMESPACEINFO_LIMITS._serialized_end = 1047 - _NAMESPACECONFIG._serialized_start = 1050 - _NAMESPACECONFIG._serialized_end = 1592 - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_start = 1525 - _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_end = 1592 - _BADBINARIES._serialized_start = 1595 - _BADBINARIES._serialized_end = 1771 - _BADBINARIES_BINARIESENTRY._serialized_start = 1682 - _BADBINARIES_BINARIESENTRY._serialized_end = 1771 - _BADBINARYINFO._serialized_start = 1773 - _BADBINARYINFO._serialized_end = 1871 - _UPDATENAMESPACEINFO._serialized_start = 1874 - _UPDATENAMESPACEINFO._serialized_end = 2108 - _UPDATENAMESPACEINFO_DATAENTRY._serialized_start = 550 - _UPDATENAMESPACEINFO_DATAENTRY._serialized_end = 593 - _NAMESPACEFILTER._serialized_start = 2110 - _NAMESPACEFILTER._serialized_end = 2152 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1" + _globals["_NAMESPACEINFO_DATAENTRY"]._loaded_options = None + _globals["_NAMESPACEINFO_DATAENTRY"]._serialized_options = b"8\001" + _globals[ + "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" + ]._loaded_options = None + _globals[ + "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" + ]._serialized_options = b"8\001" + _globals["_BADBINARIES_BINARIESENTRY"]._loaded_options = None + _globals["_BADBINARIES_BINARIESENTRY"]._serialized_options = b"8\001" + _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._loaded_options = None + _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._serialized_options = b"8\001" + _globals["_NAMESPACEINFO"]._serialized_start = 175 + _globals["_NAMESPACEINFO"]._serialized_end = 1087 + _globals["_NAMESPACEINFO_DATAENTRY"]._serialized_start = 550 + _globals["_NAMESPACEINFO_DATAENTRY"]._serialized_end = 593 + _globals["_NAMESPACEINFO_CAPABILITIES"]._serialized_start = 596 + _globals["_NAMESPACEINFO_CAPABILITIES"]._serialized_end = 1015 + _globals["_NAMESPACEINFO_LIMITS"]._serialized_start = 1017 + _globals["_NAMESPACEINFO_LIMITS"]._serialized_end = 1087 + _globals["_NAMESPACECONFIG"]._serialized_start = 1090 + _globals["_NAMESPACECONFIG"]._serialized_end = 1632 + _globals[ + "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" + ]._serialized_start = 1565 + _globals[ + "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" + ]._serialized_end = 1632 + _globals["_BADBINARIES"]._serialized_start = 1635 + _globals["_BADBINARIES"]._serialized_end = 1811 + _globals["_BADBINARIES_BINARIESENTRY"]._serialized_start = 1722 + _globals["_BADBINARIES_BINARIESENTRY"]._serialized_end = 1811 + _globals["_BADBINARYINFO"]._serialized_start = 1813 + _globals["_BADBINARYINFO"]._serialized_end = 1911 + _globals["_UPDATENAMESPACEINFO"]._serialized_start = 1914 + _globals["_UPDATENAMESPACEINFO"]._serialized_end = 2148 + _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._serialized_start = 550 + _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._serialized_end = 593 + _globals["_NAMESPACEFILTER"]._serialized_start = 2150 + _globals["_NAMESPACEFILTER"]._serialized_end = 2192 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/namespace/v1/message_pb2.pyi b/temporalio/api/namespace/v1/message_pb2.pyi index a01a58c72..a5fc64f8b 100644 --- a/temporalio/api/namespace/v1/message_pb2.pyi +++ b/temporalio/api/namespace/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -15,16 +16,18 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.namespace_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class NamespaceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class DataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -39,10 +42,10 @@ class NamespaceInfo(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class Capabilities(google.protobuf.message.Message): """Namespace capability details. Should contain what features are enabled in a namespace.""" @@ -60,6 +63,7 @@ class NamespaceInfo(google.protobuf.message.Message): WORKER_COMMANDS_FIELD_NUMBER: builtins.int STANDALONE_NEXUS_OPERATION_FIELD_NUMBER: builtins.int WORKFLOW_UPDATE_CALLBACKS_FIELD_NUMBER: builtins.int + POLLER_AUTOSCALING_AUTO_ENROLL_FIELD_NUMBER: builtins.int eager_workflow_start: builtins.bool """True if the namespace supports eager workflow start.""" sync_update: builtins.bool @@ -89,6 +93,8 @@ class NamespaceInfo(google.protobuf.message.Message): """True if the namespace supports standalone Nexus operations.""" workflow_update_callbacks: builtins.bool """True if the namespace supports attaching callbacks on workflow updates""" + poller_autoscaling_auto_enroll: builtins.bool + """When true, workers should use poller autoscaling by default unless explicitly configured otherwise.""" def __init__( self, *, @@ -104,16 +110,19 @@ class NamespaceInfo(google.protobuf.message.Message): worker_commands: builtins.bool = ..., standalone_nexus_operation: builtins.bool = ..., workflow_update_callbacks: builtins.bool = ..., + poller_autoscaling_auto_enroll: builtins.bool = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_update", b"async_update", "eager_workflow_start", b"eager_workflow_start", "poller_autoscaling", b"poller_autoscaling", + "poller_autoscaling_auto_enroll", + b"poller_autoscaling_auto_enroll", "reported_problems_search_attribute", b"reported_problems_search_attribute", "standalone_activities", @@ -135,6 +144,7 @@ class NamespaceInfo(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class Limits(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -155,7 +165,7 @@ class NamespaceInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "blob_size_limit_error", b"blob_size_limit_error", "memo_size_limit_error", @@ -176,22 +186,25 @@ class NamespaceInfo(google.protobuf.message.Message): state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType description: builtins.str owner_email: builtins.str + id: builtins.str + supports_schedules: builtins.bool + """Whether scheduled workflows are supported on this namespace. This is only needed + temporarily while the feature is experimental, so we can give it a high tag. + """ @property def data( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" - id: builtins.str + @property - def capabilities(self) -> global___NamespaceInfo.Capabilities: + def capabilities(self) -> Global___NamespaceInfo.Capabilities: """All capabilities the namespace supports.""" + @property - def limits(self) -> global___NamespaceInfo.Limits: + def limits(self) -> Global___NamespaceInfo.Limits: """Namespace configured limits""" - supports_schedules: builtins.bool - """Whether scheduled workflows are supported on this namespace. This is only needed - temporarily while the feature is experimental, so we can give it a high tag. - """ + def __init__( self, *, @@ -201,19 +214,19 @@ class NamespaceInfo(google.protobuf.message.Message): owner_email: builtins.str = ..., data: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., id: builtins.str = ..., - capabilities: global___NamespaceInfo.Capabilities | None = ..., - limits: global___NamespaceInfo.Limits | None = ..., + capabilities: Global___NamespaceInfo.Capabilities | None = ..., + limits: Global___NamespaceInfo.Limits | None = ..., supports_schedules: builtins.bool = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "capabilities", b"capabilities", "limits", b"limits" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "capabilities", b"capabilities", "data", @@ -235,11 +248,13 @@ class NamespaceInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceInfo = NamespaceInfo +Global___NamespaceInfo: typing_extensions.TypeAlias = NamespaceInfo +@typing.final class NamespaceConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class CustomSearchAttributeAliasesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -254,8 +269,7 @@ class NamespaceConfig(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... WORKFLOW_EXECUTION_RETENTION_TTL_FIELD_NUMBER: builtins.int @@ -265,12 +279,6 @@ class NamespaceConfig(google.protobuf.message.Message): VISIBILITY_ARCHIVAL_STATE_FIELD_NUMBER: builtins.int VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: builtins.int CUSTOM_SEARCH_ATTRIBUTE_ALIASES_FIELD_NUMBER: builtins.int - @property - def workflow_execution_retention_ttl( - self, - ) -> google.protobuf.duration_pb2.Duration: ... - @property - def bad_binaries(self) -> global___BadBinaries: ... history_archival_state: ( temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType ) @@ -282,16 +290,23 @@ class NamespaceConfig(google.protobuf.message.Message): """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" visibility_archival_uri: builtins.str @property + def workflow_execution_retention_ttl( + self, + ) -> google.protobuf.duration_pb2.Duration: ... + @property + def bad_binaries(self) -> Global___BadBinaries: ... + @property def custom_search_attribute_aliases( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Map from field name to alias.""" + def __init__( self, *, workflow_execution_retention_ttl: google.protobuf.duration_pb2.Duration | None = ..., - bad_binaries: global___BadBinaries | None = ..., + bad_binaries: Global___BadBinaries | None = ..., history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., history_archival_uri: builtins.str = ..., visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., @@ -303,7 +318,7 @@ class NamespaceConfig(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "bad_binaries", b"bad_binaries", "workflow_execution_retention_ttl", @@ -312,7 +327,7 @@ class NamespaceConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "bad_binaries", b"bad_binaries", "custom_search_attribute_aliases", @@ -330,11 +345,13 @@ class NamespaceConfig(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceConfig = NamespaceConfig +Global___NamespaceConfig: typing_extensions.TypeAlias = NamespaceConfig +@typing.final class BadBinaries(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class BinariesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -342,19 +359,18 @@ class BadBinaries(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___BadBinaryInfo: ... + def value(self) -> Global___BadBinaryInfo: ... def __init__( self, *, key: builtins.str = ..., - value: global___BadBinaryInfo | None = ..., + value: Global___BadBinaryInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... BINARIES_FIELD_NUMBER: builtins.int @@ -362,20 +378,21 @@ class BadBinaries(google.protobuf.message.Message): def binaries( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___BadBinaryInfo + builtins.str, Global___BadBinaryInfo ]: ... def __init__( self, *, - binaries: collections.abc.Mapping[builtins.str, global___BadBinaryInfo] + binaries: collections.abc.Mapping[builtins.str, Global___BadBinaryInfo] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["binaries", b"binaries"] + self, field_name: typing.Literal["binaries", b"binaries"] ) -> None: ... -global___BadBinaries = BadBinaries +Global___BadBinaries: typing_extensions.TypeAlias = BadBinaries +@typing.final class BadBinaryInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -394,20 +411,22 @@ class BadBinaryInfo(google.protobuf.message.Message): create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["create_time", b"create_time"] + self, field_name: typing.Literal["create_time", b"create_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "operator", b"operator", "reason", b"reason" ], ) -> None: ... -global___BadBinaryInfo = BadBinaryInfo +Global___BadBinaryInfo: typing_extensions.TypeAlias = BadBinaryInfo +@typing.final class UpdateNamespaceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class DataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -422,8 +441,7 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int @@ -432,6 +450,13 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): STATE_FIELD_NUMBER: builtins.int description: builtins.str owner_email: builtins.str + state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType + """New namespace state, server will reject if transition is not allowed. + Allowed transitions are: + Registered -> [ Deleted | Deprecated | Handover ] + Handover -> [ Registered ] + Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state. + """ @property def data( self, @@ -440,13 +465,7 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): If data already exists on the namespace, this will merge with the existing key values. """ - state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType - """New namespace state, server will reject if transition is not allowed. - Allowed transitions are: - Registered -> [ Deleted | Deprecated | Handover ] - Handover -> [ Registered ] - Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state. - """ + def __init__( self, *, @@ -457,7 +476,7 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "data", b"data", "description", @@ -469,8 +488,9 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateNamespaceInfo = UpdateNamespaceInfo +Global___UpdateNamespaceInfo: typing_extensions.TypeAlias = UpdateNamespaceInfo +@typing.final class NamespaceFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -486,8 +506,7 @@ class NamespaceFilter(google.protobuf.message.Message): include_deleted: builtins.bool = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["include_deleted", b"include_deleted"], + self, field_name: typing.Literal["include_deleted", b"include_deleted"] ) -> None: ... -global___NamespaceFilter = NamespaceFilter +Global___NamespaceFilter: typing_extensions.TypeAlias = NamespaceFilter diff --git a/temporalio/api/nexus/v1/message_pb2.py b/temporalio/api/nexus/v1/message_pb2.py index d607eb9c8..d3a2f2df6 100644 --- a/temporalio/api/nexus/v1/message_pb2.py +++ b/temporalio/api/nexus/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/nexus/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/nexus/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,381 +42,94 @@ b'\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xe0\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x0bstack_trace\x18\x04 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x12-\n\x05\x63\x61use\x18\x05 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t"\xd0\x03\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0c\x63\x61pabilities\x18\x64 \x01(\x0b\x32+.temporal.api.nexus.v1.Request.Capabilities\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x12\x10\n\x08\x65ndpoint\x18\n \x01(\t\x1a\x32\n\x0c\x43\x61pabilities\x12"\n\x1atemporal_failure_responses\x18\x01 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant"\x92\x04\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12P\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorB\x02\x18\x01H\x00\x12\x33\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant"\x19\n\x17\x43\x61ncelOperationResponse"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variant"\x9d\x03\n\'NexusOperationExecutionCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\x12\x0e\n\x06reason\x18\x08 \x01(\t"\xff\n\n\x1bNexusOperationExecutionInfo\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x44\n\x06status\x18\x06 \x01(\x0e\x32\x34.temporal.api.enums.v1.NexusOperationExecutionStatus\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x0b \x01(\x05\x12\x31\n\rschedule_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1alast_attempt_complete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x10 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12\x65xecution_duration\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Y\n\x11\x63\x61ncellation_info\x18\x13 \x01(\x0b\x32>.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo\x12\x16\n\x0e\x62locked_reason\x18\x14 \x01(\t\x12\x12\n\nrequest_id\x18\x15 \x01(\t\x12\x17\n\x0foperation_token\x18\x16 \x01(\t\x12\x1e\n\x16state_transition_count\x18\x17 \x01(\x03\x12\x43\n\x11search_attributes\x18\x18 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12Y\n\x0cnexus_header\x18\x19 \x03(\x0b\x32\x43.temporal.api.nexus.v1.NexusOperationExecutionInfo.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x1a \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x1b \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x10\n\x08identity\x18\x1c \x01(\t\x12\x18\n\x10state_size_bytes\x18\x1d \x01(\x03\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xdc\x03\n\x1fNexusOperationExecutionListInfo\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x31\n\rschedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x06status\x18\x08 \x01(\x0e\x32\x34.temporal.api.enums.v1.NexusOperationExecutionStatus\x12\x43\n\x11search_attributes\x18\t \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1e\n\x16state_transition_count\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10state_size_bytes\x18\x0c \x01(\x03\x42\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3' ) - -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_FAILURE_METADATAENTRY = _FAILURE.nested_types_by_name["MetadataEntry"] -_HANDLERERROR = DESCRIPTOR.message_types_by_name["HandlerError"] -_UNSUCCESSFULOPERATIONERROR = DESCRIPTOR.message_types_by_name[ - "UnsuccessfulOperationError" -] -_LINK = DESCRIPTOR.message_types_by_name["Link"] -_STARTOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["StartOperationRequest"] -_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY = ( - _STARTOPERATIONREQUEST.nested_types_by_name["CallbackHeaderEntry"] -) -_CANCELOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["CancelOperationRequest"] -_REQUEST = DESCRIPTOR.message_types_by_name["Request"] -_REQUEST_CAPABILITIES = _REQUEST.nested_types_by_name["Capabilities"] -_REQUEST_HEADERENTRY = _REQUEST.nested_types_by_name["HeaderEntry"] -_STARTOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["StartOperationResponse"] -_STARTOPERATIONRESPONSE_SYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Sync"] -_STARTOPERATIONRESPONSE_ASYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Async"] -_CANCELOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["CancelOperationResponse"] -_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] -_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] -_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] -_ENDPOINTTARGET = DESCRIPTOR.message_types_by_name["EndpointTarget"] -_ENDPOINTTARGET_WORKER = _ENDPOINTTARGET.nested_types_by_name["Worker"] -_ENDPOINTTARGET_EXTERNAL = _ENDPOINTTARGET.nested_types_by_name["External"] -_NEXUSOPERATIONEXECUTIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name[ - "NexusOperationExecutionCancellationInfo" -] -_NEXUSOPERATIONEXECUTIONINFO = DESCRIPTOR.message_types_by_name[ - "NexusOperationExecutionInfo" -] -_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY = ( - _NEXUSOPERATIONEXECUTIONINFO.nested_types_by_name["NexusHeaderEntry"] -) -_NEXUSOPERATIONEXECUTIONLISTINFO = DESCRIPTOR.message_types_by_name[ - "NexusOperationExecutionListInfo" -] -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "MetadataEntry": _reflection.GeneratedProtocolMessageType( - "MetadataEntry", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE_METADATAENTRY, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure.MetadataEntry) - }, - ), - "DESCRIPTOR": _FAILURE, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure) - }, -) -_sym_db.RegisterMessage(Failure) -_sym_db.RegisterMessage(Failure.MetadataEntry) - -HandlerError = _reflection.GeneratedProtocolMessageType( - "HandlerError", - (_message.Message,), - { - "DESCRIPTOR": _HANDLERERROR, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.HandlerError) - }, -) -_sym_db.RegisterMessage(HandlerError) - -UnsuccessfulOperationError = _reflection.GeneratedProtocolMessageType( - "UnsuccessfulOperationError", - (_message.Message,), - { - "DESCRIPTOR": _UNSUCCESSFULOPERATIONERROR, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.UnsuccessfulOperationError) - }, -) -_sym_db.RegisterMessage(UnsuccessfulOperationError) - -Link = _reflection.GeneratedProtocolMessageType( - "Link", - (_message.Message,), - { - "DESCRIPTOR": _LINK, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Link) - }, -) -_sym_db.RegisterMessage(Link) - -StartOperationRequest = _reflection.GeneratedProtocolMessageType( - "StartOperationRequest", - (_message.Message,), - { - "CallbackHeaderEntry": _reflection.GeneratedProtocolMessageType( - "CallbackHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry) - }, - ), - "DESCRIPTOR": _STARTOPERATIONREQUEST, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest) - }, -) -_sym_db.RegisterMessage(StartOperationRequest) -_sym_db.RegisterMessage(StartOperationRequest.CallbackHeaderEntry) - -CancelOperationRequest = _reflection.GeneratedProtocolMessageType( - "CancelOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _CANCELOPERATIONREQUEST, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationRequest) - }, -) -_sym_db.RegisterMessage(CancelOperationRequest) - -Request = _reflection.GeneratedProtocolMessageType( - "Request", - (_message.Message,), - { - "Capabilities": _reflection.GeneratedProtocolMessageType( - "Capabilities", - (_message.Message,), - { - "DESCRIPTOR": _REQUEST_CAPABILITIES, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.Capabilities) - }, - ), - "HeaderEntry": _reflection.GeneratedProtocolMessageType( - "HeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _REQUEST_HEADERENTRY, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.HeaderEntry) - }, - ), - "DESCRIPTOR": _REQUEST, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request) - }, -) -_sym_db.RegisterMessage(Request) -_sym_db.RegisterMessage(Request.Capabilities) -_sym_db.RegisterMessage(Request.HeaderEntry) - -StartOperationResponse = _reflection.GeneratedProtocolMessageType( - "StartOperationResponse", - (_message.Message,), - { - "Sync": _reflection.GeneratedProtocolMessageType( - "Sync", - (_message.Message,), - { - "DESCRIPTOR": _STARTOPERATIONRESPONSE_SYNC, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Sync) - }, - ), - "Async": _reflection.GeneratedProtocolMessageType( - "Async", - (_message.Message,), - { - "DESCRIPTOR": _STARTOPERATIONRESPONSE_ASYNC, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Async) - }, - ), - "DESCRIPTOR": _STARTOPERATIONRESPONSE, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse) - }, -) -_sym_db.RegisterMessage(StartOperationResponse) -_sym_db.RegisterMessage(StartOperationResponse.Sync) -_sym_db.RegisterMessage(StartOperationResponse.Async) - -CancelOperationResponse = _reflection.GeneratedProtocolMessageType( - "CancelOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _CANCELOPERATIONRESPONSE, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationResponse) - }, -) -_sym_db.RegisterMessage(CancelOperationResponse) - -Response = _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Response) - }, -) -_sym_db.RegisterMessage(Response) - -Endpoint = _reflection.GeneratedProtocolMessageType( - "Endpoint", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINT, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Endpoint) - }, -) -_sym_db.RegisterMessage(Endpoint) - -EndpointSpec = _reflection.GeneratedProtocolMessageType( - "EndpointSpec", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTSPEC, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointSpec) - }, -) -_sym_db.RegisterMessage(EndpointSpec) - -EndpointTarget = _reflection.GeneratedProtocolMessageType( - "EndpointTarget", - (_message.Message,), - { - "Worker": _reflection.GeneratedProtocolMessageType( - "Worker", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTTARGET_WORKER, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.Worker) - }, - ), - "External": _reflection.GeneratedProtocolMessageType( - "External", - (_message.Message,), - { - "DESCRIPTOR": _ENDPOINTTARGET_EXTERNAL, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.External) - }, - ), - "DESCRIPTOR": _ENDPOINTTARGET, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget) - }, -) -_sym_db.RegisterMessage(EndpointTarget) -_sym_db.RegisterMessage(EndpointTarget.Worker) -_sym_db.RegisterMessage(EndpointTarget.External) - -NexusOperationExecutionCancellationInfo = _reflection.GeneratedProtocolMessageType( - "NexusOperationExecutionCancellationInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONCANCELLATIONINFO, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo) - }, -) -_sym_db.RegisterMessage(NexusOperationExecutionCancellationInfo) - -NexusOperationExecutionInfo = _reflection.GeneratedProtocolMessageType( - "NexusOperationExecutionInfo", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionInfo.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONINFO, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionInfo) - }, -) -_sym_db.RegisterMessage(NexusOperationExecutionInfo) -_sym_db.RegisterMessage(NexusOperationExecutionInfo.NexusHeaderEntry) - -NexusOperationExecutionListInfo = _reflection.GeneratedProtocolMessageType( - "NexusOperationExecutionListInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONLISTINFO, - "__module__": "temporalio.api.nexus.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionListInfo) - }, -) -_sym_db.RegisterMessage(NexusOperationExecutionListInfo) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1" - _FAILURE_METADATAENTRY._options = None - _FAILURE_METADATAENTRY._serialized_options = b"8\001" - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._options = None - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_options = b"8\001" - _CANCELOPERATIONREQUEST.fields_by_name["operation_id"]._options = None - _CANCELOPERATIONREQUEST.fields_by_name[ +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.nexus.v1.message_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1" + _globals["_FAILURE_METADATAENTRY"]._loaded_options = None + _globals["_FAILURE_METADATAENTRY"]._serialized_options = b"8\001" + _globals["_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY"]._loaded_options = None + _globals[ + "_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY" + ]._serialized_options = b"8\001" + _globals["_CANCELOPERATIONREQUEST"].fields_by_name[ + "operation_id" + ]._loaded_options = None + _globals["_CANCELOPERATIONREQUEST"].fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _REQUEST_HEADERENTRY._options = None - _REQUEST_HEADERENTRY._serialized_options = b"8\001" - _STARTOPERATIONRESPONSE_ASYNC.fields_by_name["operation_id"]._options = None - _STARTOPERATIONRESPONSE_ASYNC.fields_by_name[ + _globals["_REQUEST_HEADERENTRY"]._loaded_options = None + _globals["_REQUEST_HEADERENTRY"]._serialized_options = b"8\001" + _globals["_STARTOPERATIONRESPONSE_ASYNC"].fields_by_name[ + "operation_id" + ]._loaded_options = None + _globals["_STARTOPERATIONRESPONSE_ASYNC"].fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _STARTOPERATIONRESPONSE.fields_by_name["operation_error"]._options = None - _STARTOPERATIONRESPONSE.fields_by_name[ + _globals["_STARTOPERATIONRESPONSE"].fields_by_name[ + "operation_error" + ]._loaded_options = None + _globals["_STARTOPERATIONRESPONSE"].fields_by_name[ "operation_error" ]._serialized_options = b"\030\001" - _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._options = None - _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._serialized_options = b"8\001" - _FAILURE._serialized_start = 317 - _FAILURE._serialized_end = 541 - _FAILURE_METADATAENTRY._serialized_start = 494 - _FAILURE_METADATAENTRY._serialized_end = 541 - _HANDLERERROR._serialized_start = 544 - _HANDLERERROR._serialized_end = 706 - _UNSUCCESSFULOPERATIONERROR._serialized_start = 708 - _UNSUCCESSFULOPERATIONERROR._serialized_end = 810 - _LINK._serialized_start = 812 - _LINK._serialized_end = 845 - _STARTOPERATIONREQUEST._serialized_start = 848 - _STARTOPERATIONREQUEST._serialized_end = 1185 - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_start = 1132 - _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_end = 1185 - _CANCELOPERATIONREQUEST._serialized_start = 1187 - _CANCELOPERATIONREQUEST._serialized_end = 1298 - _REQUEST._serialized_start = 1301 - _REQUEST._serialized_end = 1765 - _REQUEST_CAPABILITIES._serialized_start = 1657 - _REQUEST_CAPABILITIES._serialized_end = 1707 - _REQUEST_HEADERENTRY._serialized_start = 1709 - _REQUEST_HEADERENTRY._serialized_end = 1754 - _STARTOPERATIONRESPONSE._serialized_start = 1768 - _STARTOPERATIONRESPONSE._serialized_end = 2298 - _STARTOPERATIONRESPONSE_SYNC._serialized_start = 2083 - _STARTOPERATIONRESPONSE_SYNC._serialized_end = 2183 - _STARTOPERATIONRESPONSE_ASYNC._serialized_start = 2185 - _STARTOPERATIONRESPONSE_ASYNC._serialized_end = 2287 - _CANCELOPERATIONRESPONSE._serialized_start = 2300 - _CANCELOPERATIONRESPONSE._serialized_end = 2325 - _RESPONSE._serialized_start = 2328 - _RESPONSE._serialized_end = 2499 - _ENDPOINT._serialized_start = 2502 - _ENDPOINT._serialized_end = 2718 - _ENDPOINTSPEC._serialized_start = 2721 - _ENDPOINTSPEC._serialized_end = 2858 - _ENDPOINTTARGET._serialized_start = 2861 - _ENDPOINTTARGET._serialized_end = 3094 - _ENDPOINTTARGET_WORKER._serialized_start = 3011 - _ENDPOINTTARGET_WORKER._serialized_end = 3058 - _ENDPOINTTARGET_EXTERNAL._serialized_start = 3060 - _ENDPOINTTARGET_EXTERNAL._serialized_end = 3083 - _NEXUSOPERATIONEXECUTIONCANCELLATIONINFO._serialized_start = 3097 - _NEXUSOPERATIONEXECUTIONCANCELLATIONINFO._serialized_end = 3510 - _NEXUSOPERATIONEXECUTIONINFO._serialized_start = 3513 - _NEXUSOPERATIONEXECUTIONINFO._serialized_end = 4920 - _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._serialized_start = 4870 - _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._serialized_end = 4920 - _NEXUSOPERATIONEXECUTIONLISTINFO._serialized_start = 4923 - _NEXUSOPERATIONEXECUTIONLISTINFO._serialized_end = 5399 + _globals["_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY"]._loaded_options = None + _globals[ + "_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY" + ]._serialized_options = b"8\001" + _globals["_FAILURE"]._serialized_start = 317 + _globals["_FAILURE"]._serialized_end = 541 + _globals["_FAILURE_METADATAENTRY"]._serialized_start = 494 + _globals["_FAILURE_METADATAENTRY"]._serialized_end = 541 + _globals["_HANDLERERROR"]._serialized_start = 544 + _globals["_HANDLERERROR"]._serialized_end = 706 + _globals["_UNSUCCESSFULOPERATIONERROR"]._serialized_start = 708 + _globals["_UNSUCCESSFULOPERATIONERROR"]._serialized_end = 810 + _globals["_LINK"]._serialized_start = 812 + _globals["_LINK"]._serialized_end = 845 + _globals["_STARTOPERATIONREQUEST"]._serialized_start = 848 + _globals["_STARTOPERATIONREQUEST"]._serialized_end = 1185 + _globals["_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY"]._serialized_start = 1132 + _globals["_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY"]._serialized_end = 1185 + _globals["_CANCELOPERATIONREQUEST"]._serialized_start = 1187 + _globals["_CANCELOPERATIONREQUEST"]._serialized_end = 1298 + _globals["_REQUEST"]._serialized_start = 1301 + _globals["_REQUEST"]._serialized_end = 1765 + _globals["_REQUEST_CAPABILITIES"]._serialized_start = 1657 + _globals["_REQUEST_CAPABILITIES"]._serialized_end = 1707 + _globals["_REQUEST_HEADERENTRY"]._serialized_start = 1709 + _globals["_REQUEST_HEADERENTRY"]._serialized_end = 1754 + _globals["_STARTOPERATIONRESPONSE"]._serialized_start = 1768 + _globals["_STARTOPERATIONRESPONSE"]._serialized_end = 2298 + _globals["_STARTOPERATIONRESPONSE_SYNC"]._serialized_start = 2083 + _globals["_STARTOPERATIONRESPONSE_SYNC"]._serialized_end = 2183 + _globals["_STARTOPERATIONRESPONSE_ASYNC"]._serialized_start = 2185 + _globals["_STARTOPERATIONRESPONSE_ASYNC"]._serialized_end = 2287 + _globals["_CANCELOPERATIONRESPONSE"]._serialized_start = 2300 + _globals["_CANCELOPERATIONRESPONSE"]._serialized_end = 2325 + _globals["_RESPONSE"]._serialized_start = 2328 + _globals["_RESPONSE"]._serialized_end = 2499 + _globals["_ENDPOINT"]._serialized_start = 2502 + _globals["_ENDPOINT"]._serialized_end = 2718 + _globals["_ENDPOINTSPEC"]._serialized_start = 2721 + _globals["_ENDPOINTSPEC"]._serialized_end = 2858 + _globals["_ENDPOINTTARGET"]._serialized_start = 2861 + _globals["_ENDPOINTTARGET"]._serialized_end = 3094 + _globals["_ENDPOINTTARGET_WORKER"]._serialized_start = 3011 + _globals["_ENDPOINTTARGET_WORKER"]._serialized_end = 3058 + _globals["_ENDPOINTTARGET_EXTERNAL"]._serialized_start = 3060 + _globals["_ENDPOINTTARGET_EXTERNAL"]._serialized_end = 3083 + _globals["_NEXUSOPERATIONEXECUTIONCANCELLATIONINFO"]._serialized_start = 3097 + _globals["_NEXUSOPERATIONEXECUTIONCANCELLATIONINFO"]._serialized_end = 3510 + _globals["_NEXUSOPERATIONEXECUTIONINFO"]._serialized_start = 3513 + _globals["_NEXUSOPERATIONEXECUTIONINFO"]._serialized_end = 4920 + _globals["_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY"]._serialized_start = 4870 + _globals["_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY"]._serialized_end = 4920 + _globals["_NEXUSOPERATIONEXECUTIONLISTINFO"]._serialized_start = 4923 + _globals["_NEXUSOPERATIONEXECUTIONLISTINFO"]._serialized_end = 5399 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/nexus/v1/message_pb2.pyi b/temporalio/api/nexus/v1/message_pb2.pyi index ecdd004e2..a3fef9826 100644 --- a/temporalio/api/nexus/v1/message_pb2.pyi +++ b/temporalio/api/nexus/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -19,13 +20,14 @@ import temporalio.api.enums.v1.nexus_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class Failure(google.protobuf.message.Message): """A general purpose failure message. See: https://github.com/nexus-rpc/api/blob/main/SPEC.md#failure @@ -33,6 +35,7 @@ class Failure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -47,8 +50,7 @@ class Failure(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... MESSAGE_FIELD_NUMBER: builtins.int @@ -58,14 +60,14 @@ class Failure(google.protobuf.message.Message): CAUSE_FIELD_NUMBER: builtins.int message: builtins.str stack_trace: builtins.str + details: builtins.bytes + """UTF-8 encoded JSON serializable details.""" @property def metadata( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... - details: builtins.bytes - """UTF-8 encoded JSON serializable details.""" @property - def cause(self) -> global___Failure: ... + def cause(self) -> Global___Failure: ... def __init__( self, *, @@ -73,14 +75,14 @@ class Failure(google.protobuf.message.Message): stack_trace: builtins.str = ..., metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., details: builtins.bytes = ..., - cause: global___Failure | None = ..., + cause: Global___Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["cause", b"cause"] + self, field_name: typing.Literal["cause", b"cause"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cause", b"cause", "details", @@ -94,8 +96,9 @@ class Failure(google.protobuf.message.Message): ], ) -> None: ... -global___Failure = Failure +Global___Failure: typing_extensions.TypeAlias = Failure +@typing.final class HandlerError(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -104,25 +107,25 @@ class HandlerError(google.protobuf.message.Message): RETRY_BEHAVIOR_FIELD_NUMBER: builtins.int error_type: builtins.str """See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.""" - @property - def failure(self) -> global___Failure: ... retry_behavior: ( temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType ) """Retry behavior, defaults to the retry behavior of the error type as defined in the spec.""" + @property + def failure(self) -> Global___Failure: ... def __init__( self, *, error_type: builtins.str = ..., - failure: global___Failure | None = ..., + failure: Global___Failure | None = ..., retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "error_type", b"error_type", "failure", @@ -132,8 +135,9 @@ class HandlerError(google.protobuf.message.Message): ], ) -> None: ... -global___HandlerError = HandlerError +Global___HandlerError: typing_extensions.TypeAlias = HandlerError +@typing.final class UnsuccessfulOperationError(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -142,25 +146,28 @@ class UnsuccessfulOperationError(google.protobuf.message.Message): operation_state: builtins.str """See https://github.com/nexus-rpc/api/blob/main/SPEC.md#operationinfo.""" @property - def failure(self) -> global___Failure: ... + def failure(self) -> Global___Failure: ... def __init__( self, *, operation_state: builtins.str = ..., - failure: global___Failure | None = ..., + failure: Global___Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "operation_state", b"operation_state" ], ) -> None: ... -global___UnsuccessfulOperationError = UnsuccessfulOperationError +Global___UnsuccessfulOperationError: typing_extensions.TypeAlias = ( + UnsuccessfulOperationError +) +@typing.final class Link(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -176,16 +183,18 @@ class Link(google.protobuf.message.Message): type: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["type", b"type", "url", b"url"] + self, field_name: typing.Literal["type", b"type", "url", b"url"] ) -> None: ... -global___Link = Link +Global___Link: typing_extensions.TypeAlias = Link +@typing.final class StartOperationRequest(google.protobuf.message.Message): """A request to start an operation.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class CallbackHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -200,8 +209,7 @@ class StartOperationRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SERVICE_FIELD_NUMBER: builtins.int @@ -222,18 +230,21 @@ class StartOperationRequest(google.protobuf.message.Message): @property def payload(self) -> temporalio.api.common.v1.message_pb2.Payload: """Full request body from the incoming HTTP request.""" + @property def callback_header( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header that is expected to be attached to the callback request when the operation completes.""" + @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link + Global___Link ]: """Links contain caller information and can be attached to the operations started by the handler.""" + def __init__( self, *, @@ -244,14 +255,14 @@ class StartOperationRequest(google.protobuf.message.Message): payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., callback_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - links: collections.abc.Iterable[global___Link] | None = ..., + links: collections.abc.Iterable[Global___Link] | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["payload", b"payload"] + self, field_name: typing.Literal["payload", b"payload"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "callback", b"callback", "callback_header", @@ -269,8 +280,9 @@ class StartOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -global___StartOperationRequest = StartOperationRequest +Global___StartOperationRequest: typing_extensions.TypeAlias = StartOperationRequest +@typing.final class CancelOperationRequest(google.protobuf.message.Message): """A request to cancel an operation.""" @@ -301,7 +313,7 @@ class CancelOperationRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "operation", b"operation", "operation_id", @@ -313,13 +325,15 @@ class CancelOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -global___CancelOperationRequest = CancelOperationRequest +Global___CancelOperationRequest: typing_extensions.TypeAlias = CancelOperationRequest +@typing.final class Request(google.protobuf.message.Message): """A Nexus request.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Capabilities(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -335,11 +349,12 @@ class Request(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "temporal_failure_responses", b"temporal_failure_responses" ], ) -> None: ... + @typing.final class HeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -354,8 +369,7 @@ class Request(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... HEADER_FIELD_NUMBER: builtins.int @@ -364,6 +378,10 @@ class Request(google.protobuf.message.Message): START_OPERATION_FIELD_NUMBER: builtins.int CANCEL_OPERATION_FIELD_NUMBER: builtins.int ENDPOINT_FIELD_NUMBER: builtins.int + endpoint: builtins.str + """The endpoint this request was addressed to before forwarding to the worker. + Supported from server version 1.30.0. + """ @property def header( self, @@ -371,35 +389,33 @@ class Request(google.protobuf.message.Message): """Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values. """ + @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --) """ + @property - def capabilities(self) -> global___Request.Capabilities: ... + def capabilities(self) -> Global___Request.Capabilities: ... @property - def start_operation(self) -> global___StartOperationRequest: ... + def start_operation(self) -> Global___StartOperationRequest: ... @property - def cancel_operation(self) -> global___CancelOperationRequest: ... - endpoint: builtins.str - """The endpoint this request was addressed to before forwarding to the worker. - Supported from server version 1.30.0. - """ + def cancel_operation(self) -> Global___CancelOperationRequest: ... def __init__( self, *, header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - capabilities: global___Request.Capabilities | None = ..., - start_operation: global___StartOperationRequest | None = ..., - cancel_operation: global___CancelOperationRequest | None = ..., + capabilities: Global___Request.Capabilities | None = ..., + start_operation: Global___StartOperationRequest | None = ..., + cancel_operation: Global___CancelOperationRequest | None = ..., endpoint: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_operation", b"cancel_operation", "capabilities", @@ -414,7 +430,7 @@ class Request(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_operation", b"cancel_operation", "capabilities", @@ -432,16 +448,18 @@ class Request(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["start_operation", "cancel_operation"] | None: ... -global___Request = Request +Global___Request: typing_extensions.TypeAlias = Request +@typing.final class StartOperationResponse(google.protobuf.message.Message): """Response variant for StartOperationRequest.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Sync(google.protobuf.message.Message): """An operation completed successfully.""" @@ -455,24 +473,22 @@ class StartOperationResponse(google.protobuf.message.Message): def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link + Global___Link ]: ... def __init__( self, *, payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., - links: collections.abc.Iterable[global___Link] | None = ..., + links: collections.abc.Iterable[Global___Link] | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["payload", b"payload"] + self, field_name: typing.Literal["payload", b"payload"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "links", b"links", "payload", b"payload" - ], + self, field_name: typing.Literal["links", b"links", "payload", b"payload"] ) -> None: ... + @typing.final class Async(google.protobuf.message.Message): """The operation will complete asynchronously. The returned ID can be used to reference this operation. @@ -485,23 +501,23 @@ class StartOperationResponse(google.protobuf.message.Message): OPERATION_TOKEN_FIELD_NUMBER: builtins.int operation_id: builtins.str """Deprecated. Renamed to operation_token.""" + operation_token: builtins.str @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Link + Global___Link ]: ... - operation_token: builtins.str def __init__( self, *, operation_id: builtins.str = ..., - links: collections.abc.Iterable[global___Link] | None = ..., + links: collections.abc.Iterable[Global___Link] | None = ..., operation_token: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "links", b"links", "operation_id", @@ -516,30 +532,32 @@ class StartOperationResponse(google.protobuf.message.Message): OPERATION_ERROR_FIELD_NUMBER: builtins.int FAILURE_FIELD_NUMBER: builtins.int @property - def sync_success(self) -> global___StartOperationResponse.Sync: ... + def sync_success(self) -> Global___StartOperationResponse.Sync: ... @property - def async_success(self) -> global___StartOperationResponse.Async: ... + def async_success(self) -> Global___StartOperationResponse.Async: ... @property - def operation_error(self) -> global___UnsuccessfulOperationError: + def operation_error(self) -> Global___UnsuccessfulOperationError: """The operation completed unsuccessfully (failed or canceled). Deprecated. Use the failure variant instead. """ + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The operation completed unsuccessfully (failed or canceled). Failure object must contain an ApplicationFailureInfo or CanceledFailureInfo object. """ + def __init__( self, *, - sync_success: global___StartOperationResponse.Sync | None = ..., - async_success: global___StartOperationResponse.Async | None = ..., - operation_error: global___UnsuccessfulOperationError | None = ..., + sync_success: Global___StartOperationResponse.Sync | None = ..., + async_success: Global___StartOperationResponse.Async | None = ..., + operation_error: Global___UnsuccessfulOperationError | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_success", b"async_success", "failure", @@ -554,7 +572,7 @@ class StartOperationResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "async_success", b"async_success", "failure", @@ -568,16 +586,15 @@ class StartOperationResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] + self, oneof_group: typing.Literal["variant", b"variant"] ) -> ( - typing_extensions.Literal[ - "sync_success", "async_success", "operation_error", "failure" - ] + typing.Literal["sync_success", "async_success", "operation_error", "failure"] | None ): ... -global___StartOperationResponse = StartOperationResponse +Global___StartOperationResponse: typing_extensions.TypeAlias = StartOperationResponse +@typing.final class CancelOperationResponse(google.protobuf.message.Message): """Response variant for CancelOperationRequest.""" @@ -587,8 +604,9 @@ class CancelOperationResponse(google.protobuf.message.Message): self, ) -> None: ... -global___CancelOperationResponse = CancelOperationResponse +Global___CancelOperationResponse: typing_extensions.TypeAlias = CancelOperationResponse +@typing.final class Response(google.protobuf.message.Message): """A response indicating that the handler has successfully processed a request.""" @@ -597,18 +615,18 @@ class Response(google.protobuf.message.Message): START_OPERATION_FIELD_NUMBER: builtins.int CANCEL_OPERATION_FIELD_NUMBER: builtins.int @property - def start_operation(self) -> global___StartOperationResponse: ... + def start_operation(self) -> Global___StartOperationResponse: ... @property - def cancel_operation(self) -> global___CancelOperationResponse: ... + def cancel_operation(self) -> Global___CancelOperationResponse: ... def __init__( self, *, - start_operation: global___StartOperationResponse | None = ..., - cancel_operation: global___CancelOperationResponse | None = ..., + start_operation: Global___StartOperationResponse | None = ..., + cancel_operation: Global___CancelOperationResponse | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_operation", b"cancel_operation", "start_operation", @@ -619,7 +637,7 @@ class Response(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_operation", b"cancel_operation", "start_operation", @@ -629,11 +647,12 @@ class Response(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["start_operation", "cancel_operation"] | None: ... -global___Response = Response +Global___Response: typing_extensions.TypeAlias = Response +@typing.final class Endpoint(google.protobuf.message.Message): """A cluster-global binding from an endpoint ID to a target for dispatching incoming Nexus requests.""" @@ -649,15 +668,22 @@ class Endpoint(google.protobuf.message.Message): """Data version for this endpoint, incremented for every update issued via the UpdateNexusEndpoint API.""" id: builtins.str """Unique server-generated endpoint ID.""" + url_prefix: builtins.str + """Server exposed URL prefix for invocation of operations on this endpoint. + This doesn't include the protocol, hostname or port as the server does not know how it should be accessed + publicly. The URL is stable in the face of endpoint renames. + """ @property - def spec(self) -> global___EndpointSpec: + def spec(self) -> Global___EndpointSpec: """Spec for the endpoint.""" + @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was created. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --) """ + @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was last modified. @@ -665,24 +691,20 @@ class Endpoint(google.protobuf.message.Message): (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --) """ - url_prefix: builtins.str - """Server exposed URL prefix for invocation of operations on this endpoint. - This doesn't include the protocol, hostname or port as the server does not know how it should be accessed - publicly. The URL is stable in the face of endpoint renames. - """ + def __init__( self, *, version: builtins.int = ..., id: builtins.str = ..., - spec: global___EndpointSpec | None = ..., + spec: Global___EndpointSpec | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., url_prefix: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "last_modified_time", @@ -693,7 +715,7 @@ class Endpoint(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "created_time", b"created_time", "id", @@ -709,8 +731,9 @@ class Endpoint(google.protobuf.message.Message): ], ) -> None: ... -global___Endpoint = Endpoint +Global___Endpoint: typing_extensions.TypeAlias = Endpoint +@typing.final class EndpointSpec(google.protobuf.message.Message): """Contains mutable fields for an Endpoint.""" @@ -729,36 +752,38 @@ class EndpointSpec(google.protobuf.message.Message): If the Payload is encrypted, the UI and CLI may decrypt with the configured codec server endpoint. By default, the server enforces a limit of 20,000 bytes for this entire payload. """ + @property - def target(self) -> global___EndpointTarget: + def target(self) -> Global___EndpointTarget: """Target to route requests to.""" + def __init__( self, *, name: builtins.str = ..., description: temporalio.api.common.v1.message_pb2.Payload | None = ..., - target: global___EndpointTarget | None = ..., + target: Global___EndpointTarget | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "description", b"description", "target", b"target" - ], + field_name: typing.Literal["description", b"description", "target", b"target"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "name", b"name", "target", b"target" ], ) -> None: ... -global___EndpointSpec = EndpointSpec +Global___EndpointSpec: typing_extensions.TypeAlias = EndpointSpec +@typing.final class EndpointTarget(google.protobuf.message.Message): """Target to route requests to.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Worker(google.protobuf.message.Message): """Target a worker polling on a Nexus task queue in a specific namespace.""" @@ -778,11 +803,12 @@ class EndpointTarget(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "task_queue", b"task_queue" ], ) -> None: ... + @typing.final class External(google.protobuf.message.Message): """Target an external server by URL. At a later point, this will support providing credentials, in the meantime, an http.RoundTripper can be injected @@ -799,40 +825,39 @@ class EndpointTarget(google.protobuf.message.Message): *, url: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["url", b"url"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ... WORKER_FIELD_NUMBER: builtins.int EXTERNAL_FIELD_NUMBER: builtins.int @property - def worker(self) -> global___EndpointTarget.Worker: ... + def worker(self) -> Global___EndpointTarget.Worker: ... @property - def external(self) -> global___EndpointTarget.External: ... + def external(self) -> Global___EndpointTarget.External: ... def __init__( self, *, - worker: global___EndpointTarget.Worker | None = ..., - external: global___EndpointTarget.External | None = ..., + worker: Global___EndpointTarget.Worker | None = ..., + external: Global___EndpointTarget.External | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external", b"external", "variant", b"variant", "worker", b"worker" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "external", b"external", "variant", b"variant", "worker", b"worker" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["worker", "external"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["worker", "external"] | None: ... -global___EndpointTarget = EndpointTarget +Global___EndpointTarget: typing_extensions.TypeAlias = EndpointTarget +@typing.final class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): """NexusOperationExecutionCancellationInfo contains the state of a Nexus operation cancellation.""" @@ -846,27 +871,31 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int - @property - def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The time when cancellation was requested.""" state: temporalio.api.enums.v1.common_pb2.NexusOperationCancellationState.ValueType attempt: builtins.int """The number of attempts made to deliver the cancel operation request. This number represents a minimum bound since the attempt is incremented after the request completes. """ + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + reason: builtins.str + """A reason that may be specified in the CancelNexusOperationRequest.""" + @property + def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The time when cancellation was requested.""" + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" + @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" - reason: builtins.str - """A reason that may be specified in the CancelNexusOperationRequest.""" + def __init__( self, *, @@ -884,7 +913,7 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", @@ -897,7 +926,7 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "blocked_reason", @@ -917,15 +946,17 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationExecutionCancellationInfo = ( +Global___NexusOperationExecutionCancellationInfo: typing_extensions.TypeAlias = ( NexusOperationExecutionCancellationInfo ) +@typing.final class NexusOperationExecutionInfo(google.protobuf.message.Message): """Full current state of a standalone Nexus operation, as of the time of the request.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -940,8 +971,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... OPERATION_ID_FIELD_NUMBER: builtins.int @@ -988,66 +1018,80 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): """ state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType """More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.""" + attempt: builtins.int + """The number of attempts made to deliver the start operation request. + This number is approximate, it is incremented when a task is added to the history queue. + In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task + was never executed. + """ + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + request_id: builtins.str + """Server-generated request ID used as an idempotency token when submitting start requests to + the handler. Distinct from the request_id in StartNexusOperationRequest, which is the + caller-side idempotency key for the StartNexusOperation RPC itself. + """ + operation_token: builtins.str + """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" + state_transition_count: builtins.int + """Incremented each time the operation's state is mutated in persistence.""" + identity: builtins.str + """The identity of the client who started this operation.""" + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - attempt: builtins.int - """The number of attempts made to deliver the start operation request. - This number is approximate, it is incremented when a task is added to the history queue. - In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task - was never executed. - """ + @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the operation was originally scheduled via a StartNexusOperation request.""" + @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Scheduled time + schedule to close timeout.""" + @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time when the operation transitioned to a closed state.""" + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" + @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" + @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts. """ + @property - def cancellation_info(self) -> global___NexusOperationExecutionCancellationInfo: ... - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" - request_id: builtins.str - """Server-generated request ID used as an idempotency token when submitting start requests to - the handler. Distinct from the request_id in StartNexusOperationRequest, which is the - caller-side idempotency key for the StartNexusOperation RPC itself. - """ - operation_token: builtins.str - """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" - state_transition_count: builtins.int - """Incremented each time the operation's state is mutated in persistence.""" + def cancellation_info(self) -> Global___NexusOperationExecutionCancellationInfo: ... @property def search_attributes( self, @@ -1057,9 +1101,11 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header for context propagation and tracing purposes.""" + @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.""" + @property def links( self, @@ -1067,10 +1113,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links attached by the handler of this operation on start or completion.""" - identity: builtins.str - """The identity of the client who started this operation.""" - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" + def __init__( self, *, @@ -1095,7 +1138,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., execution_duration: google.protobuf.duration_pb2.Duration | None = ..., - cancellation_info: global___NexusOperationExecutionCancellationInfo + cancellation_info: Global___NexusOperationExecutionCancellationInfo | None = ..., blocked_reason: builtins.str = ..., request_id: builtins.str = ..., @@ -1113,7 +1156,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancellation_info", b"cancellation_info", "close_time", @@ -1144,7 +1187,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1206,8 +1249,11 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationExecutionInfo = NexusOperationExecutionInfo +Global___NexusOperationExecutionInfo: typing_extensions.TypeAlias = ( + NexusOperationExecutionInfo +) +@typing.final class NexusOperationExecutionListInfo(google.protobuf.message.Message): """Limited Nexus operation information returned in the list response. When adding fields here, ensure that it is also present in NexusOperationExecutionInfo (note that it may already be present in @@ -1238,28 +1284,32 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" + status: temporalio.api.enums.v1.nexus_pb2.NexusOperationExecutionStatus.ValueType + """The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status.""" + state_transition_count: builtins.int + """Updated on terminal status.""" + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the operation was originally scheduled via a StartNexusOperation request.""" + @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If the operation is in a terminal status, this field represents the time the operation transitioned to that status.""" - status: temporalio.api.enums.v1.nexus_pb2.NexusOperationExecutionStatus.ValueType - """The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status.""" + @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes from the start request.""" - state_transition_count: builtins.int - """Updated on terminal status.""" + @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """The difference between close time and scheduled time. This field is only populated if the operation is closed. """ - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" + def __init__( self, *, @@ -1279,7 +1329,7 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "close_time", b"close_time", "execution_duration", @@ -1292,7 +1342,7 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "close_time", b"close_time", "endpoint", @@ -1320,4 +1370,6 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationExecutionListInfo = NexusOperationExecutionListInfo +Global___NexusOperationExecutionListInfo: typing_extensions.TypeAlias = ( + NexusOperationExecutionListInfo +) diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py index ed045767d..a6de209dc 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/nexusservices/workerservice/v1/request_response.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/nexusservices/workerservice/v1/request_response.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,36 +32,20 @@ b'\nBtemporal/api/nexusservices/workerservice/v1/request_response.proto\x12+temporal.api.nexusservices.workerservice.v1\x1a$temporal/api/worker/v1/message.proto"Q\n\x16\x45xecuteCommandsRequest\x12\x37\n\x08\x63ommands\x18\x01 \x03(\x0b\x32%.temporal.api.worker.v1.WorkerCommand"W\n\x17\x45xecuteCommandsResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32+.temporal.api.worker.v1.WorkerCommandResultB\xed\x01\n.io.temporal.api.nexusservices.workerservice.v1B\x14RequestResponseProtoP\x01Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\xaa\x02-Temporalio.Api.Nexusservices.Workerservice.V1\xea\x02\x31Temporalio::Api::Nexusservices::Workerservice::V1b\x06proto3' ) - -_EXECUTECOMMANDSREQUEST = DESCRIPTOR.message_types_by_name["ExecuteCommandsRequest"] -_EXECUTECOMMANDSRESPONSE = DESCRIPTOR.message_types_by_name["ExecuteCommandsResponse"] -ExecuteCommandsRequest = _reflection.GeneratedProtocolMessageType( - "ExecuteCommandsRequest", - (_message.Message,), - { - "DESCRIPTOR": _EXECUTECOMMANDSREQUEST, - "__module__": "temporalio.api.nexusservices.workerservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexusservices.workerservice.v1.ExecuteCommandsRequest) - }, -) -_sym_db.RegisterMessage(ExecuteCommandsRequest) - -ExecuteCommandsResponse = _reflection.GeneratedProtocolMessageType( - "ExecuteCommandsResponse", - (_message.Message,), - { - "DESCRIPTOR": _EXECUTECOMMANDSRESPONSE, - "__module__": "temporalio.api.nexusservices.workerservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.nexusservices.workerservice.v1.ExecuteCommandsResponse) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, + "temporal.api.nexusservices.workerservice.v1.request_response_pb2", + _globals, ) -_sym_db.RegisterMessage(ExecuteCommandsResponse) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n.io.temporal.api.nexusservices.workerservice.v1B\024RequestResponseProtoP\001Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\252\002-Temporalio.Api.Nexusservices.Workerservice.V1\352\0021Temporalio::Api::Nexusservices::Workerservice::V1" - _EXECUTECOMMANDSREQUEST._serialized_start = 153 - _EXECUTECOMMANDSREQUEST._serialized_end = 234 - _EXECUTECOMMANDSRESPONSE._serialized_start = 236 - _EXECUTECOMMANDSRESPONSE._serialized_end = 323 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n.io.temporal.api.nexusservices.workerservice.v1B\024RequestResponseProtoP\001Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\252\002-Temporalio.Api.Nexusservices.Workerservice.V1\352\0021Temporalio::Api::Nexusservices::Workerservice::V1" + _globals["_EXECUTECOMMANDSREQUEST"]._serialized_start = 153 + _globals["_EXECUTECOMMANDSREQUEST"]._serialized_end = 234 + _globals["_EXECUTECOMMANDSRESPONSE"]._serialized_start = 236 + _globals["_EXECUTECOMMANDSRESPONSE"]._serialized_end = 323 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi index 8fd328cb8..aed08763b 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -13,13 +14,14 @@ import google.protobuf.message import temporalio.api.worker.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ExecuteCommandsRequest(google.protobuf.message.Message): """(-- Internal Nexus service for server-to-worker communication. @@ -46,11 +48,12 @@ class ExecuteCommandsRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["commands", b"commands"] + self, field_name: typing.Literal["commands", b"commands"] ) -> None: ... -global___ExecuteCommandsRequest = ExecuteCommandsRequest +Global___ExecuteCommandsRequest: typing_extensions.TypeAlias = ExecuteCommandsRequest +@typing.final class ExecuteCommandsResponse(google.protobuf.message.Message): """Response payload for the "ExecuteCommands" Nexus operation. The results list must be 1:1 with the commands list in the request (same size and order). @@ -73,8 +76,6 @@ class ExecuteCommandsResponse(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["results", b"results"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["results", b"results"]) -> None: ... -global___ExecuteCommandsResponse = ExecuteCommandsResponse +Global___ExecuteCommandsResponse: typing_extensions.TypeAlias = ExecuteCommandsResponse diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py index bf947056a..ffeb5db3b 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,28 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc + +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi index f3a5a087e..56d3cebc2 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi @@ -2,3 +2,23 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + +import abc +import collections.abc +import typing + +import grpc +import grpc.aio + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.py b/temporalio/api/operatorservice/v1/request_response_pb2.py index 8edc4274a..f10f648a0 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/operatorservice/v1/request_response.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/operatorservice/v1/request_response.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -27,462 +37,104 @@ b'\n6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto"\xff\x01\n\x1a\x41\x64\x64SearchAttributesRequest\x12l\n\x11search_attributes\x18\x01 \x03(\x0b\x32Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry\x12\x11\n\tnamespace\x18\x02 \x01(\t\x1a`\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\x1d\n\x1b\x41\x64\x64SearchAttributesResponse"M\n\x1dRemoveSearchAttributesRequest\x12\x19\n\x11search_attributes\x18\x01 \x03(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t" \n\x1eRemoveSearchAttributesResponse"0\n\x1bListSearchAttributesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"\xe2\x04\n\x1cListSearchAttributesResponse\x12n\n\x11\x63ustom_attributes\x18\x01 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry\x12n\n\x11system_attributes\x18\x02 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry\x12h\n\x0estorage_schema\x18\x03 \x03(\x0b\x32P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry\x1a`\n\x15\x43ustomAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a`\n\x15SystemAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a\x34\n\x12StorageSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"|\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x02 \x01(\t\x12\x39\n\x16namespace_delete_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration"4\n\x17\x44\x65leteNamespaceResponse\x12\x19\n\x11\x64\x65leted_namespace\x18\x01 \x01(\t"\xa0\x01\n\x1f\x41\x64\x64OrUpdateRemoteClusterRequest\x12\x18\n\x10\x66rontend_address\x18\x01 \x01(\t\x12(\n enable_remote_cluster_connection\x18\x02 \x01(\x08\x12\x1d\n\x15\x66rontend_http_address\x18\x03 \x01(\t\x12\x1a\n\x12\x65nable_replication\x18\x04 \x01(\x08""\n AddOrUpdateRemoteClusterResponse"2\n\x1aRemoveRemoteClusterRequest\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\x1d\n\x1bRemoveRemoteClusterResponse"A\n\x13ListClustersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"s\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.temporal.api.operatorservice.v1.ClusterMetadata\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"\xe0\x01\n\x0f\x43lusterMetadata\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0chttp_address\x18\x07 \x01(\t\x12 \n\x18initial_failover_version\x18\x04 \x01(\x03\x12\x1b\n\x13history_shard_count\x18\x05 \x01(\x05\x12\x1d\n\x15is_connection_enabled\x18\x06 \x01(\x08\x12\x1e\n\x16is_replication_enabled\x18\x08 \x01(\x08"%\n\x17GetNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t"M\n\x18GetNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"O\n\x1a\x43reateNexusEndpointRequest\x12\x31\n\x04spec\x18\x01 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1b\x43reateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"l\n\x1aUpdateNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1bUpdateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"9\n\x1a\x44\x65leteNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"\x1d\n\x1b\x44\x65leteNexusEndpointResponse"U\n\x19ListNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t"i\n\x1aListNexusEndpointsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x32\n\tendpoints\x18\x02 \x03(\x0b\x32\x1f.temporal.api.nexus.v1.EndpointB\xbe\x01\n"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' ) - -_ADDSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "AddSearchAttributesRequest" -] -_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY = ( - _ADDSEARCHATTRIBUTESREQUEST.nested_types_by_name["SearchAttributesEntry"] -) -_ADDSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddSearchAttributesResponse" -] -_REMOVESEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "RemoveSearchAttributesRequest" -] -_REMOVESEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "RemoveSearchAttributesResponse" -] -_LISTSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "ListSearchAttributesRequest" -] -_LISTSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListSearchAttributesResponse" -] -_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY = ( - _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["CustomAttributesEntry"] -) -_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY = ( - _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["SystemAttributesEntry"] -) -_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY = ( - _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["StorageSchemaEntry"] -) -_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] -_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] -_ADDORUPDATEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ - "AddOrUpdateRemoteClusterRequest" -] -_ADDORUPDATEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ - "AddOrUpdateRemoteClusterResponse" -] -_REMOVEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ - "RemoveRemoteClusterRequest" -] -_REMOVEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ - "RemoveRemoteClusterResponse" -] -_LISTCLUSTERSREQUEST = DESCRIPTOR.message_types_by_name["ListClustersRequest"] -_LISTCLUSTERSRESPONSE = DESCRIPTOR.message_types_by_name["ListClustersResponse"] -_CLUSTERMETADATA = DESCRIPTOR.message_types_by_name["ClusterMetadata"] -_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] -_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] -_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointRequest" -] -_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateNexusEndpointResponse" -] -_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointRequest" -] -_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateNexusEndpointResponse" -] -_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointRequest" -] -_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNexusEndpointResponse" -] -_LISTNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListNexusEndpointsRequest" -] -_LISTNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListNexusEndpointsResponse" -] -AddSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "AddSearchAttributesRequest", - (_message.Message,), - { - "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SearchAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry) - }, - ), - "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest) - }, -) -_sym_db.RegisterMessage(AddSearchAttributesRequest) -_sym_db.RegisterMessage(AddSearchAttributesRequest.SearchAttributesEntry) - -AddSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "AddSearchAttributesResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDSEARCHATTRIBUTESRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesResponse) - }, -) -_sym_db.RegisterMessage(AddSearchAttributesResponse) - -RemoveSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "RemoveSearchAttributesRequest", - (_message.Message,), - { - "DESCRIPTOR": _REMOVESEARCHATTRIBUTESREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesRequest) - }, -) -_sym_db.RegisterMessage(RemoveSearchAttributesRequest) - -RemoveSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "RemoveSearchAttributesResponse", - (_message.Message,), - { - "DESCRIPTOR": _REMOVESEARCHATTRIBUTESRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesResponse) - }, -) -_sym_db.RegisterMessage(RemoveSearchAttributesResponse) - -ListSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "ListSearchAttributesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesRequest) - }, -) -_sym_db.RegisterMessage(ListSearchAttributesRequest) - -ListSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "ListSearchAttributesResponse", - (_message.Message,), - { - "CustomAttributesEntry": _reflection.GeneratedProtocolMessageType( - "CustomAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry) - }, - ), - "SystemAttributesEntry": _reflection.GeneratedProtocolMessageType( - "SystemAttributesEntry", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry) - }, - ), - "StorageSchemaEntry": _reflection.GeneratedProtocolMessageType( - "StorageSchemaEntry", - (_message.Message,), - { - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry) - }, - ), - "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse) - }, -) -_sym_db.RegisterMessage(ListSearchAttributesResponse) -_sym_db.RegisterMessage(ListSearchAttributesResponse.CustomAttributesEntry) -_sym_db.RegisterMessage(ListSearchAttributesResponse.SystemAttributesEntry) -_sym_db.RegisterMessage(ListSearchAttributesResponse.StorageSchemaEntry) - -DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACEREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceRequest) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceRequest) - -DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENAMESPACERESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceResponse) - }, -) -_sym_db.RegisterMessage(DeleteNamespaceResponse) - -AddOrUpdateRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( - "AddOrUpdateRemoteClusterRequest", - (_message.Message,), - { - "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest) - }, -) -_sym_db.RegisterMessage(AddOrUpdateRemoteClusterRequest) - -AddOrUpdateRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( - "AddOrUpdateRemoteClusterResponse", - (_message.Message,), - { - "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse) - }, -) -_sym_db.RegisterMessage(AddOrUpdateRemoteClusterResponse) - -RemoveRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( - "RemoveRemoteClusterRequest", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEREMOTECLUSTERREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterRequest) - }, -) -_sym_db.RegisterMessage(RemoveRemoteClusterRequest) - -RemoveRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( - "RemoveRemoteClusterResponse", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEREMOTECLUSTERRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterResponse) - }, -) -_sym_db.RegisterMessage(RemoveRemoteClusterResponse) - -ListClustersRequest = _reflection.GeneratedProtocolMessageType( - "ListClustersRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLUSTERSREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersRequest) - }, -) -_sym_db.RegisterMessage(ListClustersRequest) - -ListClustersResponse = _reflection.GeneratedProtocolMessageType( - "ListClustersResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLUSTERSRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersResponse) - }, -) -_sym_db.RegisterMessage(ListClustersResponse) - -ClusterMetadata = _reflection.GeneratedProtocolMessageType( - "ClusterMetadata", - (_message.Message,), - { - "DESCRIPTOR": _CLUSTERMETADATA, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ClusterMetadata) - }, -) -_sym_db.RegisterMessage(ClusterMetadata) - -GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(GetNexusEndpointRequest) - -GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "GetNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(GetNexusEndpointResponse) - -CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(CreateNexusEndpointRequest) - -CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "CreateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(CreateNexusEndpointResponse) - -UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(UpdateNexusEndpointRequest) - -UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(UpdateNexusEndpointResponse) - -DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointRequest) - }, -) -_sym_db.RegisterMessage(DeleteNexusEndpointRequest) - -DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNexusEndpointResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointResponse) - }, -) -_sym_db.RegisterMessage(DeleteNexusEndpointResponse) - -ListNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( - "ListNexusEndpointsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTNEXUSENDPOINTSREQUEST, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsRequest) - }, -) -_sym_db.RegisterMessage(ListNexusEndpointsRequest) - -ListNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( - "ListNexusEndpointsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTNEXUSENDPOINTSRESPONSE, - "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsResponse) - }, -) -_sym_db.RegisterMessage(ListNexusEndpointsResponse) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._options = None - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_options = b"8\001" - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_options = b"8\001" - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._options = None - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_options = b"8\001" - _ADDSEARCHATTRIBUTESREQUEST._serialized_start = 197 - _ADDSEARCHATTRIBUTESREQUEST._serialized_end = 452 - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_start = 356 - _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_end = 452 - _ADDSEARCHATTRIBUTESRESPONSE._serialized_start = 454 - _ADDSEARCHATTRIBUTESRESPONSE._serialized_end = 483 - _REMOVESEARCHATTRIBUTESREQUEST._serialized_start = 485 - _REMOVESEARCHATTRIBUTESREQUEST._serialized_end = 562 - _REMOVESEARCHATTRIBUTESRESPONSE._serialized_start = 564 - _REMOVESEARCHATTRIBUTESRESPONSE._serialized_end = 596 - _LISTSEARCHATTRIBUTESREQUEST._serialized_start = 598 - _LISTSEARCHATTRIBUTESREQUEST._serialized_end = 646 - _LISTSEARCHATTRIBUTESRESPONSE._serialized_start = 649 - _LISTSEARCHATTRIBUTESRESPONSE._serialized_end = 1259 - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_start = 1011 - _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_end = 1107 - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_start = 1109 - _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_end = 1205 - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_start = 1207 - _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_end = 1259 - _DELETENAMESPACEREQUEST._serialized_start = 1261 - _DELETENAMESPACEREQUEST._serialized_end = 1385 - _DELETENAMESPACERESPONSE._serialized_start = 1387 - _DELETENAMESPACERESPONSE._serialized_end = 1439 - _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_start = 1442 - _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_end = 1602 - _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_start = 1604 - _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_end = 1638 - _REMOVEREMOTECLUSTERREQUEST._serialized_start = 1640 - _REMOVEREMOTECLUSTERREQUEST._serialized_end = 1690 - _REMOVEREMOTECLUSTERRESPONSE._serialized_start = 1692 - _REMOVEREMOTECLUSTERRESPONSE._serialized_end = 1721 - _LISTCLUSTERSREQUEST._serialized_start = 1723 - _LISTCLUSTERSREQUEST._serialized_end = 1788 - _LISTCLUSTERSRESPONSE._serialized_start = 1790 - _LISTCLUSTERSRESPONSE._serialized_end = 1905 - _CLUSTERMETADATA._serialized_start = 1908 - _CLUSTERMETADATA._serialized_end = 2132 - _GETNEXUSENDPOINTREQUEST._serialized_start = 2134 - _GETNEXUSENDPOINTREQUEST._serialized_end = 2171 - _GETNEXUSENDPOINTRESPONSE._serialized_start = 2173 - _GETNEXUSENDPOINTRESPONSE._serialized_end = 2250 - _CREATENEXUSENDPOINTREQUEST._serialized_start = 2252 - _CREATENEXUSENDPOINTREQUEST._serialized_end = 2331 - _CREATENEXUSENDPOINTRESPONSE._serialized_start = 2333 - _CREATENEXUSENDPOINTRESPONSE._serialized_end = 2413 - _UPDATENEXUSENDPOINTREQUEST._serialized_start = 2415 - _UPDATENEXUSENDPOINTREQUEST._serialized_end = 2523 - _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 2525 - _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 2605 - _DELETENEXUSENDPOINTREQUEST._serialized_start = 2607 - _DELETENEXUSENDPOINTREQUEST._serialized_end = 2664 - _DELETENEXUSENDPOINTRESPONSE._serialized_start = 2666 - _DELETENEXUSENDPOINTRESPONSE._serialized_end = 2695 - _LISTNEXUSENDPOINTSREQUEST._serialized_start = 2697 - _LISTNEXUSENDPOINTSREQUEST._serialized_end = 2782 - _LISTNEXUSENDPOINTSRESPONSE._serialized_start = 2784 - _LISTNEXUSENDPOINTSRESPONSE._serialized_end = 2889 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.operatorservice.v1.request_response_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _globals["_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY"]._loaded_options = None + _globals[ + "_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY" + ]._serialized_options = b"8\001" + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" + ]._loaded_options = None + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" + ]._serialized_options = b"8\001" + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" + ]._loaded_options = None + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" + ]._serialized_options = b"8\001" + _globals["_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY"]._loaded_options = None + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY" + ]._serialized_options = b"8\001" + _globals["_ADDSEARCHATTRIBUTESREQUEST"]._serialized_start = 197 + _globals["_ADDSEARCHATTRIBUTESREQUEST"]._serialized_end = 452 + _globals[ + "_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY" + ]._serialized_start = 356 + _globals["_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY"]._serialized_end = 452 + _globals["_ADDSEARCHATTRIBUTESRESPONSE"]._serialized_start = 454 + _globals["_ADDSEARCHATTRIBUTESRESPONSE"]._serialized_end = 483 + _globals["_REMOVESEARCHATTRIBUTESREQUEST"]._serialized_start = 485 + _globals["_REMOVESEARCHATTRIBUTESREQUEST"]._serialized_end = 562 + _globals["_REMOVESEARCHATTRIBUTESRESPONSE"]._serialized_start = 564 + _globals["_REMOVESEARCHATTRIBUTESRESPONSE"]._serialized_end = 596 + _globals["_LISTSEARCHATTRIBUTESREQUEST"]._serialized_start = 598 + _globals["_LISTSEARCHATTRIBUTESREQUEST"]._serialized_end = 646 + _globals["_LISTSEARCHATTRIBUTESRESPONSE"]._serialized_start = 649 + _globals["_LISTSEARCHATTRIBUTESRESPONSE"]._serialized_end = 1259 + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" + ]._serialized_start = 1011 + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" + ]._serialized_end = 1107 + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" + ]._serialized_start = 1109 + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" + ]._serialized_end = 1205 + _globals[ + "_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY" + ]._serialized_start = 1207 + _globals["_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY"]._serialized_end = 1259 + _globals["_DELETENAMESPACEREQUEST"]._serialized_start = 1261 + _globals["_DELETENAMESPACEREQUEST"]._serialized_end = 1385 + _globals["_DELETENAMESPACERESPONSE"]._serialized_start = 1387 + _globals["_DELETENAMESPACERESPONSE"]._serialized_end = 1439 + _globals["_ADDORUPDATEREMOTECLUSTERREQUEST"]._serialized_start = 1442 + _globals["_ADDORUPDATEREMOTECLUSTERREQUEST"]._serialized_end = 1602 + _globals["_ADDORUPDATEREMOTECLUSTERRESPONSE"]._serialized_start = 1604 + _globals["_ADDORUPDATEREMOTECLUSTERRESPONSE"]._serialized_end = 1638 + _globals["_REMOVEREMOTECLUSTERREQUEST"]._serialized_start = 1640 + _globals["_REMOVEREMOTECLUSTERREQUEST"]._serialized_end = 1690 + _globals["_REMOVEREMOTECLUSTERRESPONSE"]._serialized_start = 1692 + _globals["_REMOVEREMOTECLUSTERRESPONSE"]._serialized_end = 1721 + _globals["_LISTCLUSTERSREQUEST"]._serialized_start = 1723 + _globals["_LISTCLUSTERSREQUEST"]._serialized_end = 1788 + _globals["_LISTCLUSTERSRESPONSE"]._serialized_start = 1790 + _globals["_LISTCLUSTERSRESPONSE"]._serialized_end = 1905 + _globals["_CLUSTERMETADATA"]._serialized_start = 1908 + _globals["_CLUSTERMETADATA"]._serialized_end = 2132 + _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_start = 2134 + _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_end = 2171 + _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_start = 2173 + _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_end = 2250 + _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_start = 2252 + _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_end = 2331 + _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_start = 2333 + _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_end = 2413 + _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_start = 2415 + _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_end = 2523 + _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_start = 2525 + _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_end = 2605 + _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_start = 2607 + _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_end = 2664 + _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_start = 2666 + _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_end = 2695 + _globals["_LISTNEXUSENDPOINTSREQUEST"]._serialized_start = 2697 + _globals["_LISTNEXUSENDPOINTSREQUEST"]._serialized_end = 2782 + _globals["_LISTNEXUSENDPOINTSRESPONSE"]._serialized_start = 2784 + _globals["_LISTNEXUSENDPOINTSRESPONSE"]._serialized_end = 2889 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.pyi b/temporalio/api/operatorservice/v1/request_response_pb2.pyi index b06ab93b8..a7539cd36 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.pyi +++ b/temporalio/api/operatorservice/v1/request_response_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -15,18 +16,20 @@ import google.protobuf.message import temporalio.api.enums.v1.common_pb2 import temporalio.api.nexus.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class AddSearchAttributesRequest(google.protobuf.message.Message): """(-- Search Attribute --)""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -41,12 +44,12 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int + namespace: builtins.str @property def search_attributes( self, @@ -54,7 +57,7 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType ]: """Mapping between search attribute name and its IndexedValueType.""" - namespace: builtins.str + def __init__( self, *, @@ -66,13 +69,16 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "search_attributes", b"search_attributes" ], ) -> None: ... -global___AddSearchAttributesRequest = AddSearchAttributesRequest +Global___AddSearchAttributesRequest: typing_extensions.TypeAlias = ( + AddSearchAttributesRequest +) +@typing.final class AddSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -80,19 +86,23 @@ class AddSearchAttributesResponse(google.protobuf.message.Message): self, ) -> None: ... -global___AddSearchAttributesResponse = AddSearchAttributesResponse +Global___AddSearchAttributesResponse: typing_extensions.TypeAlias = ( + AddSearchAttributesResponse +) +@typing.final class RemoveSearchAttributesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int + namespace: builtins.str @property def search_attributes( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Search attribute names to delete.""" - namespace: builtins.str + def __init__( self, *, @@ -101,13 +111,16 @@ class RemoveSearchAttributesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "search_attributes", b"search_attributes" ], ) -> None: ... -global___RemoveSearchAttributesRequest = RemoveSearchAttributesRequest +Global___RemoveSearchAttributesRequest: typing_extensions.TypeAlias = ( + RemoveSearchAttributesRequest +) +@typing.final class RemoveSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -115,8 +128,11 @@ class RemoveSearchAttributesResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RemoveSearchAttributesResponse = RemoveSearchAttributesResponse +Global___RemoveSearchAttributesResponse: typing_extensions.TypeAlias = ( + RemoveSearchAttributesResponse +) +@typing.final class ListSearchAttributesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -128,14 +144,18 @@ class ListSearchAttributesRequest(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["namespace", b"namespace"] + self, field_name: typing.Literal["namespace", b"namespace"] ) -> None: ... -global___ListSearchAttributesRequest = ListSearchAttributesRequest +Global___ListSearchAttributesRequest: typing_extensions.TypeAlias = ( + ListSearchAttributesRequest +) +@typing.final class ListSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class CustomAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -150,10 +170,10 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class SystemAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -168,10 +188,10 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class StorageSchemaEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -186,8 +206,7 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... CUSTOM_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -200,6 +219,7 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType ]: """Mapping between custom (user-registered) search attribute name to its IndexedValueType.""" + @property def system_attributes( self, @@ -207,11 +227,13 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType ]: """Mapping between system (predefined) search attribute name to its IndexedValueType.""" + @property def storage_schema( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Mapping from the attribute name to the visibility storage native type.""" + def __init__( self, *, @@ -228,7 +250,7 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "custom_attributes", b"custom_attributes", "storage_schema", @@ -238,8 +260,11 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): ], ) -> None: ... -global___ListSearchAttributesResponse = ListSearchAttributesResponse +Global___ListSearchAttributesResponse: typing_extensions.TypeAlias = ( + ListSearchAttributesResponse +) +@typing.final class DeleteNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -254,6 +279,7 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): """If provided, the deletion of namespace info will be delayed for the given duration (0 means no delay). If not provided, the default delay configured in the cluster will be used. """ + def __init__( self, *, @@ -263,13 +289,11 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "namespace_delete_delay", b"namespace_delete_delay" - ], + field_name: typing.Literal["namespace_delete_delay", b"namespace_delete_delay"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "namespace_delete_delay", @@ -279,8 +303,9 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteNamespaceRequest = DeleteNamespaceRequest +Global___DeleteNamespaceRequest: typing_extensions.TypeAlias = DeleteNamespaceRequest +@typing.final class DeleteNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -293,14 +318,12 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): deleted_namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "deleted_namespace", b"deleted_namespace" - ], + self, field_name: typing.Literal["deleted_namespace", b"deleted_namespace"] ) -> None: ... -global___DeleteNamespaceResponse = DeleteNamespaceResponse +Global___DeleteNamespaceResponse: typing_extensions.TypeAlias = DeleteNamespaceResponse +@typing.final class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -328,7 +351,7 @@ class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "enable_remote_cluster_connection", b"enable_remote_cluster_connection", "enable_replication", @@ -340,8 +363,11 @@ class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): ], ) -> None: ... -global___AddOrUpdateRemoteClusterRequest = AddOrUpdateRemoteClusterRequest +Global___AddOrUpdateRemoteClusterRequest: typing_extensions.TypeAlias = ( + AddOrUpdateRemoteClusterRequest +) +@typing.final class AddOrUpdateRemoteClusterResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -349,8 +375,11 @@ class AddOrUpdateRemoteClusterResponse(google.protobuf.message.Message): self, ) -> None: ... -global___AddOrUpdateRemoteClusterResponse = AddOrUpdateRemoteClusterResponse +Global___AddOrUpdateRemoteClusterResponse: typing_extensions.TypeAlias = ( + AddOrUpdateRemoteClusterResponse +) +@typing.final class RemoveRemoteClusterRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -363,11 +392,14 @@ class RemoveRemoteClusterRequest(google.protobuf.message.Message): cluster_name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] + self, field_name: typing.Literal["cluster_name", b"cluster_name"] ) -> None: ... -global___RemoveRemoteClusterRequest = RemoveRemoteClusterRequest +Global___RemoveRemoteClusterRequest: typing_extensions.TypeAlias = ( + RemoveRemoteClusterRequest +) +@typing.final class RemoveRemoteClusterResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -375,8 +407,11 @@ class RemoveRemoteClusterResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RemoveRemoteClusterResponse = RemoveRemoteClusterResponse +Global___RemoveRemoteClusterResponse: typing_extensions.TypeAlias = ( + RemoveRemoteClusterResponse +) +@typing.final class ListClustersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -392,41 +427,44 @@ class ListClustersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "page_size", b"page_size" ], ) -> None: ... -global___ListClustersRequest = ListClustersRequest +Global___ListClustersRequest: typing_extensions.TypeAlias = ListClustersRequest +@typing.final class ListClustersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CLUSTERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def clusters( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ClusterMetadata + Global___ClusterMetadata ]: """List of all cluster information""" - next_page_token: builtins.bytes + def __init__( self, *, - clusters: collections.abc.Iterable[global___ClusterMetadata] | None = ..., + clusters: collections.abc.Iterable[Global___ClusterMetadata] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "clusters", b"clusters", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListClustersResponse = ListClustersResponse +Global___ListClustersResponse: typing_extensions.TypeAlias = ListClustersResponse +@typing.final class ClusterMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -468,7 +506,7 @@ class ClusterMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "address", b"address", "cluster_id", @@ -488,8 +526,9 @@ class ClusterMetadata(google.protobuf.message.Message): ], ) -> None: ... -global___ClusterMetadata = ClusterMetadata +Global___ClusterMetadata: typing_extensions.TypeAlias = ClusterMetadata +@typing.final class GetNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -501,12 +540,11 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): *, id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["id", b"id"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ... -global___GetNexusEndpointRequest = GetNexusEndpointRequest +Global___GetNexusEndpointRequest: typing_extensions.TypeAlias = GetNexusEndpointRequest +@typing.final class GetNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -519,14 +557,17 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> None: ... -global___GetNexusEndpointResponse = GetNexusEndpointResponse +Global___GetNexusEndpointResponse: typing_extensions.TypeAlias = ( + GetNexusEndpointResponse +) +@typing.final class CreateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -534,20 +575,22 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.nexus.v1.message_pb2.EndpointSpec: """Endpoint definition to create.""" + def __init__( self, *, spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["spec", b"spec"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["spec", b"spec"]) -> None: ... -global___CreateNexusEndpointRequest = CreateNexusEndpointRequest +Global___CreateNexusEndpointRequest: typing_extensions.TypeAlias = ( + CreateNexusEndpointRequest +) +@typing.final class CreateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -555,20 +598,24 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): @property def endpoint(self) -> temporalio.api.nexus.v1.message_pb2.Endpoint: """Data post acceptance. Can be used to issue additional updates to this record.""" + def __init__( self, *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> None: ... -global___CreateNexusEndpointResponse = CreateNexusEndpointResponse +Global___CreateNexusEndpointResponse: typing_extensions.TypeAlias = ( + CreateNexusEndpointResponse +) +@typing.final class UpdateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -589,17 +636,18 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "id", b"id", "spec", b"spec", "version", b"version" - ], + field_name: typing.Literal["id", b"id", "spec", b"spec", "version", b"version"], ) -> None: ... -global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest +Global___UpdateNexusEndpointRequest: typing_extensions.TypeAlias = ( + UpdateNexusEndpointRequest +) +@typing.final class UpdateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -607,20 +655,24 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): @property def endpoint(self) -> temporalio.api.nexus.v1.message_pb2.Endpoint: """Data post acceptance. Can be used to issue additional updates to this record.""" + def __init__( self, *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] + self, field_name: typing.Literal["endpoint", b"endpoint"] ) -> None: ... -global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse +Global___UpdateNexusEndpointResponse: typing_extensions.TypeAlias = ( + UpdateNexusEndpointResponse +) +@typing.final class DeleteNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -637,11 +689,14 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): version: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["id", b"id", "version", b"version"] + self, field_name: typing.Literal["id", b"id", "version", b"version"] ) -> None: ... -global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest +Global___DeleteNexusEndpointRequest: typing_extensions.TypeAlias = ( + DeleteNexusEndpointRequest +) +@typing.final class DeleteNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -649,8 +704,11 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteNexusEndpointResponse = DeleteNexusEndpointResponse +Global___DeleteNexusEndpointResponse: typing_extensions.TypeAlias = ( + DeleteNexusEndpointResponse +) +@typing.final class ListNexusEndpointsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -677,7 +735,7 @@ class ListNexusEndpointsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "name", b"name", "next_page_token", @@ -687,8 +745,11 @@ class ListNexusEndpointsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListNexusEndpointsRequest = ListNexusEndpointsRequest +Global___ListNexusEndpointsRequest: typing_extensions.TypeAlias = ( + ListNexusEndpointsRequest +) +@typing.final class ListNexusEndpointsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -713,9 +774,11 @@ class ListNexusEndpointsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "endpoints", b"endpoints", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListNexusEndpointsResponse = ListNexusEndpointsResponse +Global___ListNexusEndpointsResponse: typing_extensions.TypeAlias = ( + ListNexusEndpointsResponse +) diff --git a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py index bf947056a..d2794c10a 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,28 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc + +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/operatorservice/v1/request_response_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) diff --git a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi index f3a5a087e..56d3cebc2 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi @@ -2,3 +2,23 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + +import abc +import collections.abc +import typing + +import grpc +import grpc.aio + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str diff --git a/temporalio/api/operatorservice/v1/service_pb2.py b/temporalio/api/operatorservice/v1/service_pb2.py index 1e016243a..32f8d5878 100644 --- a/temporalio/api/operatorservice/v1/service_pb2.py +++ b/temporalio/api/operatorservice/v1/service_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/operatorservice/v1/service.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/operatorservice/v1/service.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,35 +34,52 @@ b'\n-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\x36temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n\x0fOperatorService\x12\x92\x01\n\x13\x41\x64\x64SearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse"\x00\x12\x9b\x01\n\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse"\x00\x12\x82\x02\n\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse"m\x82\xd3\xe4\x93\x02g\x12\x31/cluster/namespaces/{namespace}/search-attributesZ2\x12\x30/api/v1/namespaces/{namespace}/search-attributes\x12\x86\x01\n\x0f\x44\x65leteNamespace\x12\x37.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a\x38.temporal.api.operatorservice.v1.DeleteNamespaceResponse"\x00\x12\xa1\x01\n\x18\x41\x64\x64OrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1a\x41.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse"\x00\x12\x92\x01\n\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse"\x00\x12}\n\x0cListClusters\x12\x34.temporal.api.operatorservice.v1.ListClustersRequest\x1a\x35.temporal.api.operatorservice.v1.ListClustersResponse"\x00\x12\xce\x01\n\x10GetNexusEndpoint\x12\x38.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a\x39.temporal.api.operatorservice.v1.GetNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?\x12\x1d/cluster/nexus/endpoints/{id}Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\xd3\x01\n\x13\x43reateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse"A\x82\xd3\xe4\x93\x02;"\x18/cluster/nexus/endpoints:\x01*Z\x1c"\x17/api/v1/nexus/endpoints:\x01*\x12\xeb\x01\n\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse"Y\x82\xd3\xe4\x93\x02S"$/cluster/nexus/endpoints/{id}/update:\x01*Z("#/api/v1/nexus/endpoints/{id}/update:\x01*\x12\xd7\x01\n\x13\x44\x65leteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?*\x1d/cluster/nexus/endpoints/{id}Z\x1e*\x1c/api/v1/nexus/endpoints/{id}\x12\xca\x01\n\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse";\x82\xd3\xe4\x93\x02\x35\x12\x18/cluster/nexus/endpointsZ\x19\x12\x17/api/v1/nexus/endpointsB\xb6\x01\n"io.temporal.api.operatorservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' ) - -_OPERATORSERVICE = DESCRIPTOR.services_by_name["OperatorService"] -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _OPERATORSERVICE.methods_by_name["ListSearchAttributes"]._options = None - _OPERATORSERVICE.methods_by_name[ +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.operatorservice.v1.service_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _globals["_OPERATORSERVICE"].methods_by_name[ + "ListSearchAttributes" + ]._loaded_options = None + _globals["_OPERATORSERVICE"].methods_by_name[ "ListSearchAttributes" ]._serialized_options = b"\202\323\344\223\002g\0221/cluster/namespaces/{namespace}/search-attributesZ2\0220/api/v1/namespaces/{namespace}/search-attributes" - _OPERATORSERVICE.methods_by_name["GetNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ + _globals["_OPERATORSERVICE"].methods_by_name[ + "GetNexusEndpoint" + ]._loaded_options = None + _globals["_OPERATORSERVICE"].methods_by_name[ "GetNexusEndpoint" ]._serialized_options = b"\202\323\344\223\002?\022\035/cluster/nexus/endpoints/{id}Z\036\022\034/api/v1/nexus/endpoints/{id}" - _OPERATORSERVICE.methods_by_name["CreateNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ + _globals["_OPERATORSERVICE"].methods_by_name[ + "CreateNexusEndpoint" + ]._loaded_options = None + _globals["_OPERATORSERVICE"].methods_by_name[ "CreateNexusEndpoint" ]._serialized_options = b'\202\323\344\223\002;"\030/cluster/nexus/endpoints:\001*Z\034"\027/api/v1/nexus/endpoints:\001*' - _OPERATORSERVICE.methods_by_name["UpdateNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ + _globals["_OPERATORSERVICE"].methods_by_name[ + "UpdateNexusEndpoint" + ]._loaded_options = None + _globals["_OPERATORSERVICE"].methods_by_name[ "UpdateNexusEndpoint" ]._serialized_options = b'\202\323\344\223\002S"$/cluster/nexus/endpoints/{id}/update:\001*Z("#/api/v1/nexus/endpoints/{id}/update:\001*' - _OPERATORSERVICE.methods_by_name["DeleteNexusEndpoint"]._options = None - _OPERATORSERVICE.methods_by_name[ + _globals["_OPERATORSERVICE"].methods_by_name[ + "DeleteNexusEndpoint" + ]._loaded_options = None + _globals["_OPERATORSERVICE"].methods_by_name[ "DeleteNexusEndpoint" ]._serialized_options = b"\202\323\344\223\002?*\035/cluster/nexus/endpoints/{id}Z\036*\034/api/v1/nexus/endpoints/{id}" - _OPERATORSERVICE.methods_by_name["ListNexusEndpoints"]._options = None - _OPERATORSERVICE.methods_by_name[ + _globals["_OPERATORSERVICE"].methods_by_name[ + "ListNexusEndpoints" + ]._loaded_options = None + _globals["_OPERATORSERVICE"].methods_by_name[ "ListNexusEndpoints" ]._serialized_options = b"\202\323\344\223\0025\022\030/cluster/nexus/endpointsZ\031\022\027/api/v1/nexus/endpoints" - _OPERATORSERVICE._serialized_start = 169 - _OPERATORSERVICE._serialized_end = 2415 + _globals["_OPERATORSERVICE"]._serialized_start = 169 + _globals["_OPERATORSERVICE"]._serialized_end = 2415 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.py b/temporalio/api/operatorservice/v1/service_pb2_grpc.py index 9dff1e089..4083c4323 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.py @@ -1,14 +1,38 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc from temporalio.api.operatorservice.v1 import ( request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2, ) +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/operatorservice/v1/service_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) + -class OperatorServiceStub(object): +class OperatorServiceStub: """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by @@ -26,65 +50,77 @@ def __init__(self, channel): "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, + _registered_method=True, ) self.RemoveSearchAttributes = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, + _registered_method=True, ) self.ListSearchAttributes = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, + _registered_method=True, ) self.DeleteNamespace = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, + _registered_method=True, ) self.AddOrUpdateRemoteCluster = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, + _registered_method=True, ) self.RemoveRemoteCluster = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, + _registered_method=True, ) self.ListClusters = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/ListClusters", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, + _registered_method=True, ) self.GetNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, + _registered_method=True, ) self.CreateNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, + _registered_method=True, ) self.UpdateNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, + _registered_method=True, ) self.DeleteNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, + _registered_method=True, ) self.ListNexusEndpoints = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, + _registered_method=True, ) -class OperatorServiceServicer(object): +class OperatorServiceServicer: """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by @@ -251,10 +287,13 @@ def add_OperatorServiceServicer_to_server(servicer, server): "temporal.api.operatorservice.v1.OperatorService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers( + "temporal.api.operatorservice.v1.OperatorService", rpc_method_handlers + ) # This class is part of an EXPERIMENTAL API. -class OperatorService(object): +class OperatorService: """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by @@ -289,6 +328,7 @@ def AddSearchAttributes( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -318,6 +358,7 @@ def RemoveSearchAttributes( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -347,6 +388,7 @@ def ListSearchAttributes( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -376,6 +418,7 @@ def DeleteNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -405,6 +448,7 @@ def AddOrUpdateRemoteCluster( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -434,6 +478,7 @@ def RemoveRemoteCluster( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -463,6 +508,7 @@ def ListClusters( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -492,6 +538,7 @@ def GetNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -521,6 +568,7 @@ def CreateNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -550,6 +598,7 @@ def UpdateNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -579,6 +628,7 @@ def DeleteNexusEndpoint( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -608,4 +658,5 @@ def ListNexusEndpoints( wait_for_ready, timeout, metadata, + _registered_method=True, ) diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi index c24abb239..6bcfaec81 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi @@ -4,100 +4,462 @@ isort:skip_file """ import abc +import collections.abc +import sys +import typing import grpc +import grpc.aio import temporalio.api.operatorservice.v1.request_response_pb2 -class OperatorServiceStub: - """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server - to perform administrative functions like registering a search attribute or a namespace. - APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by - designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework. - (-- Search Attribute --) - """ +if sys.version_info >= (3, 13): + import typing as typing_extensions +else: + import typing_extensions - def __init__(self, channel: grpc.Channel) -> None: ... - AddSearchAttributes: grpc.UnaryUnaryMultiCallable[ +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str +_OperatorServiceAddSearchAttributesType = typing_extensions.TypeVar( + "_OperatorServiceAddSearchAttributesType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - ] - """AddSearchAttributes add custom search attributes. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, + ], +) - Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists - Returns INTERNAL status code with temporalio.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, - """ - RemoveSearchAttributes: grpc.UnaryUnaryMultiCallable[ +_OperatorServiceRemoveSearchAttributesType = typing_extensions.TypeVar( + "_OperatorServiceRemoveSearchAttributesType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - ] - """RemoveSearchAttributes removes custom search attributes. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, + ], +) - Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered - """ - ListSearchAttributes: grpc.UnaryUnaryMultiCallable[ +_OperatorServiceListSearchAttributesType = typing_extensions.TypeVar( + "_OperatorServiceListSearchAttributesType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - ] - """ListSearchAttributes returns comprehensive information about search attributes.""" - DeleteNamespace: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, + ], +) + +_OperatorServiceDeleteNamespaceType = typing_extensions.TypeVar( + "_OperatorServiceDeleteNamespaceType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - ] - """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.""" - AddOrUpdateRemoteCluster: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], +) + +_OperatorServiceAddOrUpdateRemoteClusterType = typing_extensions.TypeVar( + "_OperatorServiceAddOrUpdateRemoteClusterType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - ] - """AddOrUpdateRemoteCluster adds or updates remote cluster.""" - RemoveRemoteCluster: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, + ], +) + +_OperatorServiceRemoveRemoteClusterType = typing_extensions.TypeVar( + "_OperatorServiceRemoveRemoteClusterType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - ] - """RemoveRemoteCluster removes remote cluster.""" - ListClusters: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, + ], +) + +_OperatorServiceListClustersType = typing_extensions.TypeVar( + "_OperatorServiceListClustersType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - ] - """ListClusters returns information about Temporal clusters.""" - GetNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, + ], +) + +_OperatorServiceGetNexusEndpointType = typing_extensions.TypeVar( + "_OperatorServiceGetNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - ] - """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" - CreateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], +) + +_OperatorServiceCreateNexusEndpointType = typing_extensions.TypeVar( + "_OperatorServiceCreateNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], +) + +_OperatorServiceUpdateNexusEndpointType = typing_extensions.TypeVar( + "_OperatorServiceUpdateNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], +) + +_OperatorServiceDeleteNexusEndpointType = typing_extensions.TypeVar( + "_OperatorServiceDeleteNexusEndpointType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], +) + +_OperatorServiceListNexusEndpointsType = typing_extensions.TypeVar( + "_OperatorServiceListNexusEndpointsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + ], +) + +class OperatorServiceStub( + typing.Generic[ + _OperatorServiceAddSearchAttributesType, + _OperatorServiceRemoveSearchAttributesType, + _OperatorServiceListSearchAttributesType, + _OperatorServiceDeleteNamespaceType, + _OperatorServiceAddOrUpdateRemoteClusterType, + _OperatorServiceRemoveRemoteClusterType, + _OperatorServiceListClustersType, + _OperatorServiceGetNexusEndpointType, + _OperatorServiceCreateNexusEndpointType, + _OperatorServiceUpdateNexusEndpointType, + _OperatorServiceDeleteNexusEndpointType, + _OperatorServiceListNexusEndpointsType, ] +): + """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server + to perform administrative functions like registering a search attribute or a namespace. + APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by + designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework. + (-- Search Attribute --) + """ + + @typing.overload + def __init__( + self: OperatorServiceStub[ + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + ], + ], + channel: grpc.Channel, + ) -> None: ... + @typing.overload + def __init__( + self: OperatorServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + ], + ], + channel: grpc.aio.Channel, + ) -> None: ... + + AddSearchAttributes: _OperatorServiceAddSearchAttributesType + """AddSearchAttributes add custom search attributes. + + Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists + Returns INTERNAL status code with temporalio.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, + """ + + RemoveSearchAttributes: _OperatorServiceRemoveSearchAttributesType + """RemoveSearchAttributes removes custom search attributes. + + Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered + """ + + ListSearchAttributes: _OperatorServiceListSearchAttributesType + """ListSearchAttributes returns comprehensive information about search attributes.""" + + DeleteNamespace: _OperatorServiceDeleteNamespaceType + """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.""" + + AddOrUpdateRemoteCluster: _OperatorServiceAddOrUpdateRemoteClusterType + """AddOrUpdateRemoteCluster adds or updates remote cluster.""" + + RemoveRemoteCluster: _OperatorServiceRemoveRemoteClusterType + """RemoveRemoteCluster removes remote cluster.""" + + ListClusters: _OperatorServiceListClustersType + """ListClusters returns information about Temporal clusters.""" + + GetNexusEndpoint: _OperatorServiceGetNexusEndpointType + """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" + + CreateNexusEndpoint: _OperatorServiceCreateNexusEndpointType """Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of ALREADY_EXISTS. Returns the created endpoint with its initial version. You may use this version for subsequent updates. """ - UpdateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ] + + UpdateNexusEndpoint: _OperatorServiceUpdateNexusEndpointType """Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not match. Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you after each update. """ - DeleteNexusEndpoint: grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ] + + DeleteNexusEndpoint: _OperatorServiceDeleteNexusEndpointType """Delete an incoming Nexus service by ID.""" - ListNexusEndpoints: grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - ] + + ListNexusEndpoints: _OperatorServiceListNexusEndpointsType """List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results. An empty next_page_token indicates that there are no more results. During pagination, a newly added service with an ID lexicographically earlier than the previous page's last endpoint's ID may be missed. """ +OperatorServiceAsyncStub: typing_extensions.TypeAlias = OperatorServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + ], +] + class OperatorServiceServicer(metaclass=abc.ABCMeta): """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. @@ -110,102 +472,171 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): def AddSearchAttributes( self, request: temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse + ], + ]: """AddSearchAttributes add custom search attributes. Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists Returns INTERNAL status code with temporalio.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, """ + @abc.abstractmethod def RemoveSearchAttributes( self, request: temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse + ], + ]: """RemoveSearchAttributes removes custom search attributes. Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered """ + @abc.abstractmethod def ListSearchAttributes( self, request: temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse + ], + ]: """ListSearchAttributes returns comprehensive information about search attributes.""" + @abc.abstractmethod def DeleteNamespace( self, request: temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse + ], + ]: """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.""" + @abc.abstractmethod def AddOrUpdateRemoteCluster( self, request: temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse + ], + ]: """AddOrUpdateRemoteCluster adds or updates remote cluster.""" + @abc.abstractmethod def RemoveRemoteCluster( self, request: temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse + ], + ]: """RemoveRemoteCluster removes remote cluster.""" + @abc.abstractmethod def ListClusters( self, request: temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse + ], + ]: """ListClusters returns information about Temporal clusters.""" + @abc.abstractmethod def GetNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse + ], + ]: """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" + @abc.abstractmethod def CreateNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse + ], + ]: """Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of ALREADY_EXISTS. Returns the created endpoint with its initial version. You may use this version for subsequent updates. """ + @abc.abstractmethod def UpdateNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse + ], + ]: """Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not match. Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you after each update. """ + @abc.abstractmethod def DeleteNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse + ], + ]: """Delete an incoming Nexus service by ID.""" + @abc.abstractmethod def ListNexusEndpoints( self, request: temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + collections.abc.Awaitable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse + ], + ]: """List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results. An empty next_page_token indicates that there are no more results. During pagination, a newly added service with an ID lexicographically @@ -213,5 +644,6 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): """ def add_OperatorServiceServicer_to_server( - servicer: OperatorServiceServicer, server: grpc.Server + servicer: OperatorServiceServicer, + server: typing.Union[grpc.Server, grpc.aio.Server], ) -> None: ... diff --git a/temporalio/api/protocol/v1/message_pb2.py b/temporalio/api/protocol/v1/message_pb2.py index f91d62157..cf405d9d6 100644 --- a/temporalio/api/protocol/v1/message_pb2.py +++ b/temporalio/api/protocol/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/protocol/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/protocol/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,22 +30,16 @@ b'\n&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto"\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x12\n\x08\x65vent_id\x18\x03 \x01(\x03H\x00\x12\x17\n\rcommand_index\x18\x04 \x01(\x03H\x00\x12"\n\x04\x62ody\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0f\n\rsequencing_idB\x93\x01\n\x1bio.temporal.api.protocol.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3' ) - -_MESSAGE = DESCRIPTOR.message_types_by_name["Message"] -Message = _reflection.GeneratedProtocolMessageType( - "Message", - (_message.Message,), - { - "DESCRIPTOR": _MESSAGE, - "__module__": "temporalio.api.protocol.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.protocol.v1.Message) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.protocol.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(Message) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1" - _MESSAGE._serialized_start = 96 - _MESSAGE._serialized_end = 245 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1" + _globals["_MESSAGE"]._serialized_start = 96 + _globals["_MESSAGE"]._serialized_end = 245 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/protocol/v1/message_pb2.pyi b/temporalio/api/protocol/v1/message_pb2.pyi index 24034c89e..f70396f46 100644 --- a/temporalio/api/protocol/v1/message_pb2.pyi +++ b/temporalio/api/protocol/v1/message_pb2.pyi @@ -5,18 +5,20 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class Message(google.protobuf.message.Message): """(-- api-linter: core::0146::any=disabled aip.dev/not-precedent: We want runtime extensibility for the body field --) @@ -42,6 +44,7 @@ class Message(google.protobuf.message.Message): """The opaque data carried by this message. The protocol type can be extracted from the package name of the message carried inside the Any. """ + def __init__( self, *, @@ -53,7 +56,7 @@ class Message(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "body", b"body", "command_index", @@ -66,7 +69,7 @@ class Message(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "body", b"body", "command_index", @@ -82,7 +85,7 @@ class Message(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["sequencing_id", b"sequencing_id"] - ) -> typing_extensions.Literal["event_id", "command_index"] | None: ... + self, oneof_group: typing.Literal["sequencing_id", b"sequencing_id"] + ) -> typing.Literal["event_id", "command_index"] | None: ... -global___Message = Message +Global___Message: typing_extensions.TypeAlias = Message diff --git a/temporalio/api/protometa/v1/annotations_pb2.py b/temporalio/api/protometa/v1/annotations_pb2.py index 3f790e1fd..60add6039 100644 --- a/temporalio/api/protometa/v1/annotations_pb2.py +++ b/temporalio/api/protometa/v1/annotations_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/protometa/v1/annotations.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/protometa/v1/annotations.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,29 +30,16 @@ b'\n+temporal/api/protometa/v1/annotations.proto\x12\x19temporal.api.protometa.v1\x1a google/protobuf/descriptor.proto"8\n\x17RequestHeaderAnnotation\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:m\n\x0erequest_header\x12\x1e.google.protobuf.MethodOptions\x18\xd1\xc3\xb9\x03 \x03(\x0b\x32\x32.temporal.api.protometa.v1.RequestHeaderAnnotationB\x9c\x01\n\x1cio.temporal.api.protometa.v1B\x10\x41nnotationsProtoP\x01Z)go.temporal.io/api/protometa/v1;protometa\xaa\x02\x1bTemporalio.Api.Protometa.V1\xea\x02\x1eTemporalio::Api::Protometa::V1b\x06proto3' ) - -REQUEST_HEADER_FIELD_NUMBER = 7234001 -request_header = DESCRIPTOR.extensions_by_name["request_header"] - -_REQUESTHEADERANNOTATION = DESCRIPTOR.message_types_by_name["RequestHeaderAnnotation"] -RequestHeaderAnnotation = _reflection.GeneratedProtocolMessageType( - "RequestHeaderAnnotation", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTHEADERANNOTATION, - "__module__": "temporalio.api.protometa.v1.annotations_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.protometa.v1.RequestHeaderAnnotation) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.protometa.v1.annotations_pb2", _globals ) -_sym_db.RegisterMessage(RequestHeaderAnnotation) - -if _descriptor._USE_C_DESCRIPTORS == False: - google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension( - request_header - ) - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.protometa.v1B\020AnnotationsProtoP\001Z)go.temporal.io/api/protometa/v1;protometa\252\002\033Temporalio.Api.Protometa.V1\352\002\036Temporalio::Api::Protometa::V1" - _REQUESTHEADERANNOTATION._serialized_start = 108 - _REQUESTHEADERANNOTATION._serialized_end = 164 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\034io.temporal.api.protometa.v1B\020AnnotationsProtoP\001Z)go.temporal.io/api/protometa/v1;protometa\252\002\033Temporalio.Api.Protometa.V1\352\002\036Temporalio::Api::Protometa::V1" + _globals["_REQUESTHEADERANNOTATION"]._serialized_start = 108 + _globals["_REQUESTHEADERANNOTATION"]._serialized_end = 164 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/protometa/v1/annotations_pb2.pyi b/temporalio/api/protometa/v1/annotations_pb2.pyi index 143d7d7d9..a3c2c9f41 100644 --- a/temporalio/api/protometa/v1/annotations_pb2.pyi +++ b/temporalio/api/protometa/v1/annotations_pb2.pyi @@ -5,6 +5,7 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.descriptor_pb2 @@ -12,13 +13,14 @@ import google.protobuf.internal.containers import google.protobuf.internal.extension_dict import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class RequestHeaderAnnotation(google.protobuf.message.Message): """RequestHeaderAnnotation allows specifying that field values from a request should be propagated as outbound headers. @@ -49,16 +51,15 @@ class RequestHeaderAnnotation(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["header", b"header", "value", b"value"], + self, field_name: typing.Literal["header", b"header", "value", b"value"] ) -> None: ... -global___RequestHeaderAnnotation = RequestHeaderAnnotation +Global___RequestHeaderAnnotation: typing_extensions.TypeAlias = RequestHeaderAnnotation REQUEST_HEADER_FIELD_NUMBER: builtins.int request_header: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ google.protobuf.descriptor_pb2.MethodOptions, google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___RequestHeaderAnnotation + Global___RequestHeaderAnnotation ], ] diff --git a/temporalio/api/query/v1/message_pb2.py b/temporalio/api/query/v1/message_pb2.py index aaee2715a..787a24fc2 100644 --- a/temporalio/api/query/v1/message_pb2.py +++ b/temporalio/api/query/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/query/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/query/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,50 +36,20 @@ b'\n#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x89\x01\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x34\n\nquery_args\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xce\x01\n\x13WorkflowQueryResult\x12;\n\x0bresult_type\x18\x01 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x30\n\x06\x61nswer\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x84\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3' ) - -_WORKFLOWQUERY = DESCRIPTOR.message_types_by_name["WorkflowQuery"] -_WORKFLOWQUERYRESULT = DESCRIPTOR.message_types_by_name["WorkflowQueryResult"] -_QUERYREJECTED = DESCRIPTOR.message_types_by_name["QueryRejected"] -WorkflowQuery = _reflection.GeneratedProtocolMessageType( - "WorkflowQuery", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWQUERY, - "__module__": "temporalio.api.query.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQuery) - }, -) -_sym_db.RegisterMessage(WorkflowQuery) - -WorkflowQueryResult = _reflection.GeneratedProtocolMessageType( - "WorkflowQueryResult", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWQUERYRESULT, - "__module__": "temporalio.api.query.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQueryResult) - }, -) -_sym_db.RegisterMessage(WorkflowQueryResult) - -QueryRejected = _reflection.GeneratedProtocolMessageType( - "QueryRejected", - (_message.Message,), - { - "DESCRIPTOR": _QUERYREJECTED, - "__module__": "temporalio.api.query.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.query.v1.QueryRejected) - }, -) -_sym_db.RegisterMessage(QueryRejected) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1" - _WORKFLOWQUERY._serialized_start = 213 - _WORKFLOWQUERY._serialized_end = 350 - _WORKFLOWQUERYRESULT._serialized_start = 353 - _WORKFLOWQUERYRESULT._serialized_end = 559 - _QUERYREJECTED._serialized_start = 561 - _QUERYREJECTED._serialized_end = 640 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.query.v1.message_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1" + _globals["_WORKFLOWQUERY"]._serialized_start = 213 + _globals["_WORKFLOWQUERY"]._serialized_end = 350 + _globals["_WORKFLOWQUERYRESULT"]._serialized_start = 353 + _globals["_WORKFLOWQUERYRESULT"]._serialized_end = 559 + _globals["_QUERYREJECTED"]._serialized_start = 561 + _globals["_QUERYREJECTED"]._serialized_end = 640 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/query/v1/message_pb2.pyi b/temporalio/api/query/v1/message_pb2.pyi index 199c51b9a..0dbc77e39 100644 --- a/temporalio/api/query/v1/message_pb2.pyi +++ b/temporalio/api/query/v1/message_pb2.pyi @@ -5,6 +5,7 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message @@ -14,13 +15,14 @@ import temporalio.api.enums.v1.query_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowQuery(google.protobuf.message.Message): """See https://docs.temporal.io/docs/concepts/queries/""" @@ -34,11 +36,13 @@ class WorkflowQuery(google.protobuf.message.Message): @property def query_args(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized arguments that will be provided to the query handler.""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that were passed by the caller of the query and copied by temporal server into the workflow task. """ + def __init__( self, *, @@ -48,13 +52,11 @@ class WorkflowQuery(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "header", b"header", "query_args", b"query_args" - ], + field_name: typing.Literal["header", b"header", "query_args", b"query_args"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "query_args", @@ -64,8 +66,9 @@ class WorkflowQuery(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowQuery = WorkflowQuery +Global___WorkflowQuery: typing_extensions.TypeAlias = WorkflowQuery +@typing.final class WorkflowQueryResult(google.protobuf.message.Message): """Answer to a `WorkflowQuery`""" @@ -77,21 +80,23 @@ class WorkflowQueryResult(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int result_type: temporalio.api.enums.v1.query_pb2.QueryResultType.ValueType """Did the query succeed or fail?""" + error_message: builtins.str + """Mutually exclusive with `answer`. Set when the query fails. + See also the newer `failure` field. + """ @property def answer(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Set when the query succeeds with the results. Mutually exclusive with `error_message` and `failure`. """ - error_message: builtins.str - """Mutually exclusive with `answer`. Set when the query fails. - See also the newer `failure` field. - """ + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's failure converter to support E2E encryption of messages and stack traces. Mutually exclusive with `answer`. Set when the query fails. """ + def __init__( self, *, @@ -101,14 +106,11 @@ class WorkflowQueryResult(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "answer", b"answer", "failure", b"failure" - ], + self, field_name: typing.Literal["answer", b"answer", "failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "answer", b"answer", "error_message", @@ -120,8 +122,9 @@ class WorkflowQueryResult(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowQueryResult = WorkflowQueryResult +Global___WorkflowQueryResult: typing_extensions.TypeAlias = WorkflowQueryResult +@typing.final class QueryRejected(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -132,8 +135,6 @@ class QueryRejected(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["status", b"status"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... -global___QueryRejected = QueryRejected +Global___QueryRejected: typing_extensions.TypeAlias = QueryRejected diff --git a/temporalio/api/replication/v1/message_pb2.py b/temporalio/api/replication/v1/message_pb2.py index 8dbe73e1d..8c4500277 100644 --- a/temporalio/api/replication/v1/message_pb2.py +++ b/temporalio/api/replication/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/replication/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/replication/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,52 +34,20 @@ b'\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\xba\x01\n\x1aNamespaceReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12G\n\x08\x63lusters\x18\x02 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x36\n\x05state\x18\x03 \x01(\x0e\x32\'.temporal.api.enums.v1.ReplicationState"]\n\x0e\x46\x61iloverStatus\x12\x31\n\rfailover_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x42\xa2\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3' ) - -_CLUSTERREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name["ClusterReplicationConfig"] -_NAMESPACEREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name[ - "NamespaceReplicationConfig" -] -_FAILOVERSTATUS = DESCRIPTOR.message_types_by_name["FailoverStatus"] -ClusterReplicationConfig = _reflection.GeneratedProtocolMessageType( - "ClusterReplicationConfig", - (_message.Message,), - { - "DESCRIPTOR": _CLUSTERREPLICATIONCONFIG, - "__module__": "temporalio.api.replication.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.ClusterReplicationConfig) - }, -) -_sym_db.RegisterMessage(ClusterReplicationConfig) - -NamespaceReplicationConfig = _reflection.GeneratedProtocolMessageType( - "NamespaceReplicationConfig", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEREPLICATIONCONFIG, - "__module__": "temporalio.api.replication.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.NamespaceReplicationConfig) - }, -) -_sym_db.RegisterMessage(NamespaceReplicationConfig) - -FailoverStatus = _reflection.GeneratedProtocolMessageType( - "FailoverStatus", - (_message.Message,), - { - "DESCRIPTOR": _FAILOVERSTATUS, - "__module__": "temporalio.api.replication.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.FailoverStatus) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.replication.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(FailoverStatus) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1" - _CLUSTERREPLICATIONCONFIG._serialized_start = 146 - _CLUSTERREPLICATIONCONFIG._serialized_end = 194 - _NAMESPACEREPLICATIONCONFIG._serialized_start = 197 - _NAMESPACEREPLICATIONCONFIG._serialized_end = 383 - _FAILOVERSTATUS._serialized_start = 385 - _FAILOVERSTATUS._serialized_end = 478 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1" + _globals["_CLUSTERREPLICATIONCONFIG"]._serialized_start = 146 + _globals["_CLUSTERREPLICATIONCONFIG"]._serialized_end = 194 + _globals["_NAMESPACEREPLICATIONCONFIG"]._serialized_start = 197 + _globals["_NAMESPACEREPLICATIONCONFIG"]._serialized_end = 383 + _globals["_FAILOVERSTATUS"]._serialized_start = 385 + _globals["_FAILOVERSTATUS"]._serialized_end = 478 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/replication/v1/message_pb2.pyi b/temporalio/api/replication/v1/message_pb2.pyi index e6f04334f..b274dd75a 100644 --- a/temporalio/api/replication/v1/message_pb2.pyi +++ b/temporalio/api/replication/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -14,13 +15,14 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.namespace_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ClusterReplicationConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -32,11 +34,14 @@ class ClusterReplicationConfig(google.protobuf.message.Message): cluster_name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] + self, field_name: typing.Literal["cluster_name", b"cluster_name"] ) -> None: ... -global___ClusterReplicationConfig = ClusterReplicationConfig +Global___ClusterReplicationConfig: typing_extensions.TypeAlias = ( + ClusterReplicationConfig +) +@typing.final class NamespaceReplicationConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -44,24 +49,24 @@ class NamespaceReplicationConfig(google.protobuf.message.Message): CLUSTERS_FIELD_NUMBER: builtins.int STATE_FIELD_NUMBER: builtins.int active_cluster_name: builtins.str + state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType @property def clusters( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ClusterReplicationConfig + Global___ClusterReplicationConfig ]: ... - state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType def __init__( self, *, active_cluster_name: builtins.str = ..., - clusters: collections.abc.Iterable[global___ClusterReplicationConfig] + clusters: collections.abc.Iterable[Global___ClusterReplicationConfig] | None = ..., state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "active_cluster_name", b"active_cluster_name", "clusters", @@ -71,8 +76,11 @@ class NamespaceReplicationConfig(google.protobuf.message.Message): ], ) -> None: ... -global___NamespaceReplicationConfig = NamespaceReplicationConfig +Global___NamespaceReplicationConfig: typing_extensions.TypeAlias = ( + NamespaceReplicationConfig +) +@typing.final class FailoverStatus(google.protobuf.message.Message): """Represents a historical replication status of a Namespace""" @@ -80,10 +88,11 @@ class FailoverStatus(google.protobuf.message.Message): FAILOVER_TIME_FIELD_NUMBER: builtins.int FAILOVER_VERSION_FIELD_NUMBER: builtins.int + failover_version: builtins.int @property def failover_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when the Cluster switched to the following failover_version""" - failover_version: builtins.int + def __init__( self, *, @@ -91,13 +100,13 @@ class FailoverStatus(google.protobuf.message.Message): failover_version: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failover_time", b"failover_time"] + self, field_name: typing.Literal["failover_time", b"failover_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failover_time", b"failover_time", "failover_version", b"failover_version" ], ) -> None: ... -global___FailoverStatus = FailoverStatus +Global___FailoverStatus: typing_extensions.TypeAlias = FailoverStatus diff --git a/temporalio/api/rules/v1/message_pb2.py b/temporalio/api/rules/v1/message_pb2.py index ad0d0014c..b9099ead4 100644 --- a/temporalio/api/rules/v1/message_pb2.py +++ b/temporalio/api/rules/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/rules/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/rules/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,80 +25,24 @@ b'\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3' ) - -_WORKFLOWRULEACTION = DESCRIPTOR.message_types_by_name["WorkflowRuleAction"] -_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE = _WORKFLOWRULEACTION.nested_types_by_name[ - "ActionActivityPause" -] -_WORKFLOWRULESPEC = DESCRIPTOR.message_types_by_name["WorkflowRuleSpec"] -_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER = _WORKFLOWRULESPEC.nested_types_by_name[ - "ActivityStartingTrigger" -] -_WORKFLOWRULE = DESCRIPTOR.message_types_by_name["WorkflowRule"] -WorkflowRuleAction = _reflection.GeneratedProtocolMessageType( - "WorkflowRuleAction", - (_message.Message,), - { - "ActionActivityPause": _reflection.GeneratedProtocolMessageType( - "ActionActivityPause", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE, - "__module__": "temporalio.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause) - }, - ), - "DESCRIPTOR": _WORKFLOWRULEACTION, - "__module__": "temporalio.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction) - }, -) -_sym_db.RegisterMessage(WorkflowRuleAction) -_sym_db.RegisterMessage(WorkflowRuleAction.ActionActivityPause) - -WorkflowRuleSpec = _reflection.GeneratedProtocolMessageType( - "WorkflowRuleSpec", - (_message.Message,), - { - "ActivityStartingTrigger": _reflection.GeneratedProtocolMessageType( - "ActivityStartingTrigger", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER, - "__module__": "temporalio.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger) - }, - ), - "DESCRIPTOR": _WORKFLOWRULESPEC, - "__module__": "temporalio.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.rules.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(WorkflowRuleSpec) -_sym_db.RegisterMessage(WorkflowRuleSpec.ActivityStartingTrigger) - -WorkflowRule = _reflection.GeneratedProtocolMessageType( - "WorkflowRule", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWRULE, - "__module__": "temporalio.api.rules.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRule) - }, -) -_sym_db.RegisterMessage(WorkflowRule) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1" - _WORKFLOWRULEACTION._serialized_start = 96 - _WORKFLOWRULEACTION._serialized_end = 239 - _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_start = 207 - _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_end = 228 - _WORKFLOWRULESPEC._serialized_start = 242 - _WORKFLOWRULESPEC._serialized_end = 559 - _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_start = 504 - _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_end = 548 - _WORKFLOWRULE._serialized_start = 562 - _WORKFLOWRULE._serialized_end = 730 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1" + _globals["_WORKFLOWRULEACTION"]._serialized_start = 96 + _globals["_WORKFLOWRULEACTION"]._serialized_end = 239 + _globals["_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE"]._serialized_start = 207 + _globals["_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE"]._serialized_end = 228 + _globals["_WORKFLOWRULESPEC"]._serialized_start = 242 + _globals["_WORKFLOWRULESPEC"]._serialized_end = 559 + _globals["_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER"]._serialized_start = 504 + _globals["_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER"]._serialized_end = 548 + _globals["_WORKFLOWRULE"]._serialized_start = 562 + _globals["_WORKFLOWRULE"]._serialized_end = 730 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/rules/v1/message_pb2.pyi b/temporalio/api/rules/v1/message_pb2.pyi index ef036f554..e9bcba551 100644 --- a/temporalio/api/rules/v1/message_pb2.pyi +++ b/temporalio/api/rules/v1/message_pb2.pyi @@ -6,22 +6,25 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowRuleAction(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ActionActivityPause(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -31,33 +34,35 @@ class WorkflowRuleAction(google.protobuf.message.Message): ACTIVITY_PAUSE_FIELD_NUMBER: builtins.int @property - def activity_pause(self) -> global___WorkflowRuleAction.ActionActivityPause: ... + def activity_pause(self) -> Global___WorkflowRuleAction.ActionActivityPause: ... def __init__( self, *, - activity_pause: global___WorkflowRuleAction.ActionActivityPause | None = ..., + activity_pause: Global___WorkflowRuleAction.ActionActivityPause | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_pause", b"activity_pause", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_pause", b"activity_pause", "variant", b"variant" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["activity_pause"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["activity_pause"] | None: ... -global___WorkflowRuleAction = WorkflowRuleAction +Global___WorkflowRuleAction: typing_extensions.TypeAlias = WorkflowRuleAction +@typing.final class WorkflowRuleSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ActivityStartingTrigger(google.protobuf.message.Message): """Activity trigger will be triggered when an activity is about to start.""" @@ -86,7 +91,7 @@ class WorkflowRuleSpec(google.protobuf.message.Message): predicate: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["predicate", b"predicate"] + self, field_name: typing.Literal["predicate", b"predicate"] ) -> None: ... ID_FIELD_NUMBER: builtins.int @@ -98,8 +103,6 @@ class WorkflowRuleSpec(google.protobuf.message.Message): """The id of the new workflow rule. Must be unique within the namespace. Can be set by the user, and can have business meaning. """ - @property - def activity_start(self) -> global___WorkflowRuleSpec.ActivityStartingTrigger: ... visibility_query: builtins.str """Restricted Visibility query. This query is used to filter workflows in this namespace to which this rule should apply. @@ -111,29 +114,33 @@ class WorkflowRuleSpec(google.protobuf.message.Message): - ExecutionStatus """ @property + def activity_start(self) -> Global___WorkflowRuleSpec.ActivityStartingTrigger: ... + @property def actions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowRuleAction + Global___WorkflowRuleAction ]: """WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.""" + @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Expiration time of the rule. After this time, the rule will be deleted. Can be empty if the rule should never expire. """ + def __init__( self, *, id: builtins.str = ..., - activity_start: global___WorkflowRuleSpec.ActivityStartingTrigger | None = ..., + activity_start: Global___WorkflowRuleSpec.ActivityStartingTrigger | None = ..., visibility_query: builtins.str = ..., - actions: collections.abc.Iterable[global___WorkflowRuleAction] | None = ..., + actions: collections.abc.Iterable[Global___WorkflowRuleAction] | None = ..., expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_start", b"activity_start", "expiration_time", @@ -144,7 +151,7 @@ class WorkflowRuleSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "actions", b"actions", "activity_start", @@ -160,11 +167,12 @@ class WorkflowRuleSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["trigger", b"trigger"] - ) -> typing_extensions.Literal["activity_start"] | None: ... + self, oneof_group: typing.Literal["trigger", b"trigger"] + ) -> typing.Literal["activity_start"] | None: ... -global___WorkflowRuleSpec = WorkflowRuleSpec +Global___WorkflowRuleSpec: typing_extensions.TypeAlias = WorkflowRuleSpec +@typing.final class WorkflowRule(google.protobuf.message.Message): """WorkflowRule describes a rule that can be applied to any workflow in this namespace.""" @@ -174,12 +182,6 @@ class WorkflowRule(google.protobuf.message.Message): SPEC_FIELD_NUMBER: builtins.int CREATED_BY_IDENTITY_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int - @property - def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Rule creation time.""" - @property - def spec(self) -> global___WorkflowRuleSpec: - """Rule specification""" created_by_identity: builtins.str """Identity of the actor that created the rule (-- api-linter: core::0140::prepositions=disabled @@ -189,23 +191,28 @@ class WorkflowRule(google.protobuf.message.Message): """ description: builtins.str """Rule description.""" + @property + def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Rule creation time.""" + + @property + def spec(self) -> Global___WorkflowRuleSpec: + """Rule specification""" + def __init__( self, *, create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - spec: global___WorkflowRuleSpec | None = ..., + spec: Global___WorkflowRuleSpec | None = ..., created_by_identity: builtins.str = ..., description: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "spec", b"spec" - ], + self, field_name: typing.Literal["create_time", b"create_time", "spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "created_by_identity", @@ -217,4 +224,4 @@ class WorkflowRule(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowRule = WorkflowRule +Global___WorkflowRule: typing_extensions.TypeAlias = WorkflowRule diff --git a/temporalio/api/schedule/v1/message_pb2.py b/temporalio/api/schedule/v1/message_pb2.py index de57c94ed..a356d61fa 100644 --- a/temporalio/api/schedule/v1/message_pb2.py +++ b/temporalio/api/schedule/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/schedule/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/schedule/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,240 +44,56 @@ b'\n&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto"\x95\x01\n\x0c\x43\x61lendarSpec\x12\x0e\n\x06second\x18\x01 \x01(\t\x12\x0e\n\x06minute\x18\x02 \x01(\t\x12\x0c\n\x04hour\x18\x03 \x01(\t\x12\x14\n\x0c\x64\x61y_of_month\x18\x04 \x01(\t\x12\r\n\x05month\x18\x05 \x01(\t\x12\x0c\n\x04year\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x61y_of_week\x18\x07 \x01(\t\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"1\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\x05"\x86\x03\n\x16StructuredCalendarSpec\x12/\n\x06second\x18\x01 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12/\n\x06minute\x18\x02 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04hour\x18\x03 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x35\n\x0c\x64\x61y_of_month\x18\x04 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12.\n\x05month\x18\x05 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04year\x18\x06 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x34\n\x0b\x64\x61y_of_week\x18\x07 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"e\n\x0cIntervalSpec\x12+\n\x08interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x05phase\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\xba\x04\n\x0cScheduleSpec\x12M\n\x13structured_calendar\x18\x07 \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12\x13\n\x0b\x63ron_string\x18\x08 \x03(\t\x12\x38\n\x08\x63\x61lendar\x18\x01 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpec\x12\x38\n\x08interval\x18\x02 \x03(\x0b\x32&.temporal.api.schedule.v1.IntervalSpec\x12\x44\n\x10\x65xclude_calendar\x18\x03 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01\x12U\n\x1b\x65xclude_structured_calendar\x18\t \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rtimezone_name\x18\n \x01(\t\x12\x15\n\rtimezone_data\x18\x0b \x01(\x0c"\xc8\x01\n\x10SchedulePolicies\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x31\n\x0e\x63\x61tchup_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10pause_on_failure\x18\x03 \x01(\x08\x12!\n\x19keep_original_workflow_id\x18\x04 \x01(\x08"h\n\x0eScheduleAction\x12L\n\x0estart_workflow\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00\x42\x08\n\x06\x61\x63tion"\x93\x02\n\x14ScheduleActionResult\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x61\x63tual_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x15start_workflow_result\x18\x0b \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12M\n\x15start_workflow_status\x18\x0c \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus"b\n\rScheduleState\x12\r\n\x05notes\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x12\x17\n\x0flimited_actions\x18\x03 \x01(\x08\x12\x19\n\x11remaining_actions\x18\x04 \x01(\x03"\x95\x01\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb5\x01\n\x0f\x42\x61\x63kfillRequest\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x0eoverlap_policy\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy"\xc6\x01\n\rSchedulePatch\x12P\n\x13trigger_immediately\x18\x01 \x01(\x0b\x32\x33.temporal.api.schedule.v1.TriggerImmediatelyRequest\x12\x43\n\x10\x62\x61\x63kfill_request\x18\x02 \x03(\x0b\x32).temporal.api.schedule.v1.BackfillRequest\x12\r\n\x05pause\x18\x03 \x01(\t\x12\x0f\n\x07unpause\x18\x04 \x01(\t"\xf0\x03\n\x0cScheduleInfo\x12\x14\n\x0c\x61\x63tion_count\x18\x01 \x01(\x03\x12\x1d\n\x15missed_catchup_window\x18\x02 \x01(\x03\x12\x17\n\x0foverlap_skipped\x18\x03 \x01(\x03\x12\x16\n\x0e\x62uffer_dropped\x18\n \x01(\x03\x12\x13\n\x0b\x62uffer_size\x18\x0b \x01(\x03\x12\x44\n\x11running_workflows\x18\t \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x46\n\x0erecent_actions\x18\x04 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x05 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12"\n\x16invalid_schedule_error\x18\x08 \x01(\tB\x02\x18\x01\x12\x18\n\x10state_size_bytes\x18\x0c \x01(\x03"\xf0\x01\n\x08Schedule\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32(.temporal.api.schedule.v1.ScheduleAction\x12<\n\x08policies\x18\x03 \x01(\x0b\x32*.temporal.api.schedule.v1.SchedulePolicies\x12\x36\n\x05state\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.ScheduleState"\xbf\x02\n\x10ScheduleListInfo\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\r\n\x05notes\x18\x03 \x01(\t\x12\x0e\n\x06paused\x18\x04 \x01(\x08\x12\x46\n\x0erecent_actions\x18\x05 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10state_size_bytes\x18\x07 \x01(\x03"\xd3\x01\n\x11ScheduleListEntry\x12\x13\n\x0bschedule_id\x18\x01 \x01(\t\x12*\n\x04memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x03 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x38\n\x04info\x18\x04 \x01(\x0b\x32*.temporal.api.schedule.v1.ScheduleListInfoB\x93\x01\n\x1bio.temporal.api.schedule.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3' ) - -_CALENDARSPEC = DESCRIPTOR.message_types_by_name["CalendarSpec"] -_RANGE = DESCRIPTOR.message_types_by_name["Range"] -_STRUCTUREDCALENDARSPEC = DESCRIPTOR.message_types_by_name["StructuredCalendarSpec"] -_INTERVALSPEC = DESCRIPTOR.message_types_by_name["IntervalSpec"] -_SCHEDULESPEC = DESCRIPTOR.message_types_by_name["ScheduleSpec"] -_SCHEDULEPOLICIES = DESCRIPTOR.message_types_by_name["SchedulePolicies"] -_SCHEDULEACTION = DESCRIPTOR.message_types_by_name["ScheduleAction"] -_SCHEDULEACTIONRESULT = DESCRIPTOR.message_types_by_name["ScheduleActionResult"] -_SCHEDULESTATE = DESCRIPTOR.message_types_by_name["ScheduleState"] -_TRIGGERIMMEDIATELYREQUEST = DESCRIPTOR.message_types_by_name[ - "TriggerImmediatelyRequest" -] -_BACKFILLREQUEST = DESCRIPTOR.message_types_by_name["BackfillRequest"] -_SCHEDULEPATCH = DESCRIPTOR.message_types_by_name["SchedulePatch"] -_SCHEDULEINFO = DESCRIPTOR.message_types_by_name["ScheduleInfo"] -_SCHEDULE = DESCRIPTOR.message_types_by_name["Schedule"] -_SCHEDULELISTINFO = DESCRIPTOR.message_types_by_name["ScheduleListInfo"] -_SCHEDULELISTENTRY = DESCRIPTOR.message_types_by_name["ScheduleListEntry"] -CalendarSpec = _reflection.GeneratedProtocolMessageType( - "CalendarSpec", - (_message.Message,), - { - "DESCRIPTOR": _CALENDARSPEC, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.CalendarSpec) - }, -) -_sym_db.RegisterMessage(CalendarSpec) - -Range = _reflection.GeneratedProtocolMessageType( - "Range", - (_message.Message,), - { - "DESCRIPTOR": _RANGE, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Range) - }, -) -_sym_db.RegisterMessage(Range) - -StructuredCalendarSpec = _reflection.GeneratedProtocolMessageType( - "StructuredCalendarSpec", - (_message.Message,), - { - "DESCRIPTOR": _STRUCTUREDCALENDARSPEC, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.StructuredCalendarSpec) - }, -) -_sym_db.RegisterMessage(StructuredCalendarSpec) - -IntervalSpec = _reflection.GeneratedProtocolMessageType( - "IntervalSpec", - (_message.Message,), - { - "DESCRIPTOR": _INTERVALSPEC, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.IntervalSpec) - }, -) -_sym_db.RegisterMessage(IntervalSpec) - -ScheduleSpec = _reflection.GeneratedProtocolMessageType( - "ScheduleSpec", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULESPEC, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleSpec) - }, -) -_sym_db.RegisterMessage(ScheduleSpec) - -SchedulePolicies = _reflection.GeneratedProtocolMessageType( - "SchedulePolicies", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEPOLICIES, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePolicies) - }, -) -_sym_db.RegisterMessage(SchedulePolicies) - -ScheduleAction = _reflection.GeneratedProtocolMessageType( - "ScheduleAction", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTION, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleAction) - }, -) -_sym_db.RegisterMessage(ScheduleAction) - -ScheduleActionResult = _reflection.GeneratedProtocolMessageType( - "ScheduleActionResult", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTIONRESULT, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleActionResult) - }, -) -_sym_db.RegisterMessage(ScheduleActionResult) - -ScheduleState = _reflection.GeneratedProtocolMessageType( - "ScheduleState", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULESTATE, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleState) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.schedule.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(ScheduleState) - -TriggerImmediatelyRequest = _reflection.GeneratedProtocolMessageType( - "TriggerImmediatelyRequest", - (_message.Message,), - { - "DESCRIPTOR": _TRIGGERIMMEDIATELYREQUEST, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.TriggerImmediatelyRequest) - }, -) -_sym_db.RegisterMessage(TriggerImmediatelyRequest) - -BackfillRequest = _reflection.GeneratedProtocolMessageType( - "BackfillRequest", - (_message.Message,), - { - "DESCRIPTOR": _BACKFILLREQUEST, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.BackfillRequest) - }, -) -_sym_db.RegisterMessage(BackfillRequest) - -SchedulePatch = _reflection.GeneratedProtocolMessageType( - "SchedulePatch", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEPATCH, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePatch) - }, -) -_sym_db.RegisterMessage(SchedulePatch) - -ScheduleInfo = _reflection.GeneratedProtocolMessageType( - "ScheduleInfo", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEINFO, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleInfo) - }, -) -_sym_db.RegisterMessage(ScheduleInfo) - -Schedule = _reflection.GeneratedProtocolMessageType( - "Schedule", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULE, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Schedule) - }, -) -_sym_db.RegisterMessage(Schedule) - -ScheduleListInfo = _reflection.GeneratedProtocolMessageType( - "ScheduleListInfo", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULELISTINFO, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListInfo) - }, -) -_sym_db.RegisterMessage(ScheduleListInfo) - -ScheduleListEntry = _reflection.GeneratedProtocolMessageType( - "ScheduleListEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULELISTENTRY, - "__module__": "temporalio.api.schedule.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListEntry) - }, -) -_sym_db.RegisterMessage(ScheduleListEntry) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1" - _SCHEDULESPEC.fields_by_name["exclude_calendar"]._options = None - _SCHEDULESPEC.fields_by_name["exclude_calendar"]._serialized_options = b"\030\001" - _SCHEDULEINFO.fields_by_name["invalid_schedule_error"]._options = None - _SCHEDULEINFO.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1" + _globals["_SCHEDULESPEC"].fields_by_name["exclude_calendar"]._loaded_options = None + _globals["_SCHEDULESPEC"].fields_by_name[ + "exclude_calendar" + ]._serialized_options = b"\030\001" + _globals["_SCHEDULEINFO"].fields_by_name[ + "invalid_schedule_error" + ]._loaded_options = None + _globals["_SCHEDULEINFO"].fields_by_name[ "invalid_schedule_error" ]._serialized_options = b"\030\001" - _CALENDARSPEC._serialized_start = 288 - _CALENDARSPEC._serialized_end = 437 - _RANGE._serialized_start = 439 - _RANGE._serialized_end = 488 - _STRUCTUREDCALENDARSPEC._serialized_start = 491 - _STRUCTUREDCALENDARSPEC._serialized_end = 881 - _INTERVALSPEC._serialized_start = 883 - _INTERVALSPEC._serialized_end = 984 - _SCHEDULESPEC._serialized_start = 987 - _SCHEDULESPEC._serialized_end = 1557 - _SCHEDULEPOLICIES._serialized_start = 1560 - _SCHEDULEPOLICIES._serialized_end = 1760 - _SCHEDULEACTION._serialized_start = 1762 - _SCHEDULEACTION._serialized_end = 1866 - _SCHEDULEACTIONRESULT._serialized_start = 1869 - _SCHEDULEACTIONRESULT._serialized_end = 2144 - _SCHEDULESTATE._serialized_start = 2146 - _SCHEDULESTATE._serialized_end = 2244 - _TRIGGERIMMEDIATELYREQUEST._serialized_start = 2247 - _TRIGGERIMMEDIATELYREQUEST._serialized_end = 2396 - _BACKFILLREQUEST._serialized_start = 2399 - _BACKFILLREQUEST._serialized_end = 2580 - _SCHEDULEPATCH._serialized_start = 2583 - _SCHEDULEPATCH._serialized_end = 2781 - _SCHEDULEINFO._serialized_start = 2784 - _SCHEDULEINFO._serialized_end = 3280 - _SCHEDULE._serialized_start = 3283 - _SCHEDULE._serialized_end = 3523 - _SCHEDULELISTINFO._serialized_start = 3526 - _SCHEDULELISTINFO._serialized_end = 3845 - _SCHEDULELISTENTRY._serialized_start = 3848 - _SCHEDULELISTENTRY._serialized_end = 4059 + _globals["_CALENDARSPEC"]._serialized_start = 288 + _globals["_CALENDARSPEC"]._serialized_end = 437 + _globals["_RANGE"]._serialized_start = 439 + _globals["_RANGE"]._serialized_end = 488 + _globals["_STRUCTUREDCALENDARSPEC"]._serialized_start = 491 + _globals["_STRUCTUREDCALENDARSPEC"]._serialized_end = 881 + _globals["_INTERVALSPEC"]._serialized_start = 883 + _globals["_INTERVALSPEC"]._serialized_end = 984 + _globals["_SCHEDULESPEC"]._serialized_start = 987 + _globals["_SCHEDULESPEC"]._serialized_end = 1557 + _globals["_SCHEDULEPOLICIES"]._serialized_start = 1560 + _globals["_SCHEDULEPOLICIES"]._serialized_end = 1760 + _globals["_SCHEDULEACTION"]._serialized_start = 1762 + _globals["_SCHEDULEACTION"]._serialized_end = 1866 + _globals["_SCHEDULEACTIONRESULT"]._serialized_start = 1869 + _globals["_SCHEDULEACTIONRESULT"]._serialized_end = 2144 + _globals["_SCHEDULESTATE"]._serialized_start = 2146 + _globals["_SCHEDULESTATE"]._serialized_end = 2244 + _globals["_TRIGGERIMMEDIATELYREQUEST"]._serialized_start = 2247 + _globals["_TRIGGERIMMEDIATELYREQUEST"]._serialized_end = 2396 + _globals["_BACKFILLREQUEST"]._serialized_start = 2399 + _globals["_BACKFILLREQUEST"]._serialized_end = 2580 + _globals["_SCHEDULEPATCH"]._serialized_start = 2583 + _globals["_SCHEDULEPATCH"]._serialized_end = 2781 + _globals["_SCHEDULEINFO"]._serialized_start = 2784 + _globals["_SCHEDULEINFO"]._serialized_end = 3280 + _globals["_SCHEDULE"]._serialized_start = 3283 + _globals["_SCHEDULE"]._serialized_end = 3523 + _globals["_SCHEDULELISTINFO"]._serialized_start = 3526 + _globals["_SCHEDULELISTINFO"]._serialized_end = 3845 + _globals["_SCHEDULELISTENTRY"]._serialized_start = 3848 + _globals["_SCHEDULELISTENTRY"]._serialized_end = 4059 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/schedule/v1/message_pb2.pyi b/temporalio/api/schedule/v1/message_pb2.pyi index fe7c1e900..517b509eb 100644 --- a/temporalio/api/schedule/v1/message_pb2.pyi +++ b/temporalio/api/schedule/v1/message_pb2.pyi @@ -10,6 +10,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -22,13 +23,14 @@ import temporalio.api.enums.v1.schedule_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class CalendarSpec(google.protobuf.message.Message): """CalendarSpec describes an event specification relative to the calendar, similar to a traditional cron specification, but with labeled fields. Each @@ -93,7 +95,7 @@ class CalendarSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "comment", b"comment", "day_of_month", @@ -113,8 +115,9 @@ class CalendarSpec(google.protobuf.message.Message): ], ) -> None: ... -global___CalendarSpec = CalendarSpec +Global___CalendarSpec: typing_extensions.TypeAlias = CalendarSpec +@typing.final class Range(google.protobuf.message.Message): """Range represents a set of integer values, used to match fields of a calendar time in StructuredCalendarSpec. If end < start, then end is interpreted as @@ -142,13 +145,12 @@ class Range(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "end", b"end", "start", b"start", "step", b"step" - ], + field_name: typing.Literal["end", b"end", "start", b"start", "step", b"step"], ) -> None: ... -global___Range = Range +Global___Range: typing_extensions.TypeAlias = Range +@typing.final class StructuredCalendarSpec(google.protobuf.message.Message): """StructuredCalendarSpec describes an event specification relative to the calendar, in a form that's easy to work with programmatically. Each field can @@ -171,75 +173,82 @@ class StructuredCalendarSpec(google.protobuf.message.Message): YEAR_FIELD_NUMBER: builtins.int DAY_OF_WEEK_FIELD_NUMBER: builtins.int COMMENT_FIELD_NUMBER: builtins.int + comment: builtins.str + """Free-form comment describing the intention of this spec.""" @property def second( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range + Global___Range ]: """Match seconds (0-59)""" + @property def minute( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range + Global___Range ]: """Match minutes (0-59)""" + @property def hour( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range + Global___Range ]: """Match hours (0-23)""" + @property def day_of_month( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range + Global___Range ]: """Match days of the month (1-31) (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: standard name of field --) """ + @property def month( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range + Global___Range ]: """Match months (1-12)""" + @property def year( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range + Global___Range ]: """Match years.""" + @property def day_of_week( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Range + Global___Range ]: """Match days of the week (0-6; 0 is Sunday).""" - comment: builtins.str - """Free-form comment describing the intention of this spec.""" + def __init__( self, *, - second: collections.abc.Iterable[global___Range] | None = ..., - minute: collections.abc.Iterable[global___Range] | None = ..., - hour: collections.abc.Iterable[global___Range] | None = ..., - day_of_month: collections.abc.Iterable[global___Range] | None = ..., - month: collections.abc.Iterable[global___Range] | None = ..., - year: collections.abc.Iterable[global___Range] | None = ..., - day_of_week: collections.abc.Iterable[global___Range] | None = ..., + second: collections.abc.Iterable[Global___Range] | None = ..., + minute: collections.abc.Iterable[Global___Range] | None = ..., + hour: collections.abc.Iterable[Global___Range] | None = ..., + day_of_month: collections.abc.Iterable[Global___Range] | None = ..., + month: collections.abc.Iterable[Global___Range] | None = ..., + year: collections.abc.Iterable[Global___Range] | None = ..., + day_of_week: collections.abc.Iterable[Global___Range] | None = ..., comment: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "comment", b"comment", "day_of_month", @@ -259,8 +268,9 @@ class StructuredCalendarSpec(google.protobuf.message.Message): ], ) -> None: ... -global___StructuredCalendarSpec = StructuredCalendarSpec +Global___StructuredCalendarSpec: typing_extensions.TypeAlias = StructuredCalendarSpec +@typing.final class IntervalSpec(google.protobuf.message.Message): """IntervalSpec matches times that can be expressed as: epoch + n * interval + phase @@ -290,20 +300,15 @@ class IntervalSpec(google.protobuf.message.Message): phase: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "interval", b"interval", "phase", b"phase" - ], + self, field_name: typing.Literal["interval", b"interval", "phase", b"phase"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "interval", b"interval", "phase", b"phase" - ], + self, field_name: typing.Literal["interval", b"interval", "phase", b"phase"] ) -> None: ... -global___IntervalSpec = IntervalSpec +Global___IntervalSpec: typing_extensions.TypeAlias = IntervalSpec +@typing.final class ScheduleSpec(google.protobuf.message.Message): """ScheduleSpec is a complete description of a set of absolute timestamps (possibly infinite) that an action should occur at. The meaning of a @@ -338,13 +343,39 @@ class ScheduleSpec(google.protobuf.message.Message): JITTER_FIELD_NUMBER: builtins.int TIMEZONE_NAME_FIELD_NUMBER: builtins.int TIMEZONE_DATA_FIELD_NUMBER: builtins.int + timezone_name: builtins.str + """Time zone to interpret all calendar-based specs in. + + If unset, defaults to UTC. We recommend using UTC for your application if + at all possible, to avoid various surprising properties of time zones. + + Time zones may be provided by name, corresponding to names in the IANA + time zone database (see https://www.iana.org/time-zones). The definition + will be loaded by the Temporal server from the environment it runs in. + + If your application requires more control over the time zone definition + used, it may pass in a complete definition in the form of a TZif file + from the time zone database. If present, this will be used instead of + loading anything from the environment. You are then responsible for + updating timezone_data when the definition changes. + + Calendar spec matching is based on literal matching of the clock time + with no special handling of DST: if you write a calendar spec that fires + at 2:30am and specify a time zone that follows DST, that action will not + be triggered on the day that has no 2:30am. Similarly, an action that + fires at 1:30am will be triggered twice on the day that has two 1:30s. + + Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC). + """ + timezone_data: builtins.bytes @property def structured_calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StructuredCalendarSpec + Global___StructuredCalendarSpec ]: """Calendar-based specifications of times.""" + @property def cron_string( self, @@ -370,84 +401,66 @@ class ScheduleSpec(google.protobuf.message.Message): IntervalSpec instead. and should be a decimal integer with a unit suffix s, m, h, or d. """ + @property def calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CalendarSpec + Global___CalendarSpec ]: """Calendar-based specifications of times.""" + @property def interval( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___IntervalSpec + Global___IntervalSpec ]: """Interval-based specifications of times.""" + @property def exclude_calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CalendarSpec + Global___CalendarSpec ]: """Any timestamps matching any of exclude_* will be skipped. Deprecated. Use exclude_structured_calendar. """ + @property def exclude_structured_calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StructuredCalendarSpec + Global___StructuredCalendarSpec ]: ... @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.) """ + @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If end_time is set, any timestamps after end_time will be skipped.""" + @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0 """ - timezone_name: builtins.str - """Time zone to interpret all calendar-based specs in. - - If unset, defaults to UTC. We recommend using UTC for your application if - at all possible, to avoid various surprising properties of time zones. - - Time zones may be provided by name, corresponding to names in the IANA - time zone database (see https://www.iana.org/time-zones). The definition - will be loaded by the Temporal server from the environment it runs in. - If your application requires more control over the time zone definition - used, it may pass in a complete definition in the form of a TZif file - from the time zone database. If present, this will be used instead of - loading anything from the environment. You are then responsible for - updating timezone_data when the definition changes. - - Calendar spec matching is based on literal matching of the clock time - with no special handling of DST: if you write a calendar spec that fires - at 2:30am and specify a time zone that follows DST, that action will not - be triggered on the day that has no 2:30am. Similarly, an action that - fires at 1:30am will be triggered twice on the day that has two 1:30s. - - Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC). - """ - timezone_data: builtins.bytes def __init__( self, *, - structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] + structured_calendar: collections.abc.Iterable[Global___StructuredCalendarSpec] | None = ..., cron_string: collections.abc.Iterable[builtins.str] | None = ..., - calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., - interval: collections.abc.Iterable[global___IntervalSpec] | None = ..., - exclude_calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., + calendar: collections.abc.Iterable[Global___CalendarSpec] | None = ..., + interval: collections.abc.Iterable[Global___IntervalSpec] | None = ..., + exclude_calendar: collections.abc.Iterable[Global___CalendarSpec] | None = ..., exclude_structured_calendar: collections.abc.Iterable[ - global___StructuredCalendarSpec + Global___StructuredCalendarSpec ] | None = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -458,13 +471,13 @@ class ScheduleSpec(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "jitter", b"jitter", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "calendar", b"calendar", "cron_string", @@ -490,8 +503,9 @@ class ScheduleSpec(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleSpec = ScheduleSpec +Global___ScheduleSpec: typing_extensions.TypeAlias = ScheduleSpec +@typing.final class SchedulePolicies(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -505,14 +519,6 @@ class SchedulePolicies(google.protobuf.message.Message): and some changes might produce unintuitive results. In general, the later policy overrides the earlier policy. """ - @property - def catchup_window(self) -> google.protobuf.duration_pb2.Duration: - """Policy for catchups: - If the Temporal server misses an action due to one or more components - being down, and comes back up, the action will be run if the scheduled - time is within this window from the current time. - This value defaults to one year, and can't be less than 10 seconds. - """ pause_on_failure: builtins.bool """If true, and a workflow run fails or times out, turn on "paused". This applies after retry policies: the full chain of retries must fail to @@ -522,6 +528,15 @@ class SchedulePolicies(google.protobuf.message.Message): """If true, and the action would start a workflow, a timestamp will not be appended to the scheduled workflow id. """ + @property + def catchup_window(self) -> google.protobuf.duration_pb2.Duration: + """Policy for catchups: + If the Temporal server misses an action due to one or more components + being down, and comes back up, the action will be run if the scheduled + time is within this window from the current time. + This value defaults to one year, and can't be less than 10 seconds. + """ + def __init__( self, *, @@ -531,11 +546,11 @@ class SchedulePolicies(google.protobuf.message.Message): keep_original_workflow_id: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window"] + self, field_name: typing.Literal["catchup_window", b"catchup_window"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "catchup_window", b"catchup_window", "keep_original_workflow_id", @@ -547,8 +562,9 @@ class SchedulePolicies(google.protobuf.message.Message): ], ) -> None: ... -global___SchedulePolicies = SchedulePolicies +Global___SchedulePolicies: typing_extensions.TypeAlias = SchedulePolicies +@typing.final class ScheduleAction(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -563,6 +579,7 @@ class ScheduleAction(google.protobuf.message.Message): The workflow id of the started workflow may not match this exactly, it may have a timestamp appended for uniqueness. """ + def __init__( self, *, @@ -571,22 +588,23 @@ class ScheduleAction(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "action", b"action", "start_workflow", b"start_workflow" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "action", b"action", "start_workflow", b"start_workflow" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["action", b"action"] - ) -> typing_extensions.Literal["start_workflow"] | None: ... + self, oneof_group: typing.Literal["action", b"action"] + ) -> typing.Literal["start_workflow"] | None: ... -global___ScheduleAction = ScheduleAction +Global___ScheduleAction: typing_extensions.TypeAlias = ScheduleAction +@typing.final class ScheduleActionResult(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -594,23 +612,26 @@ class ScheduleActionResult(google.protobuf.message.Message): ACTUAL_TIME_FIELD_NUMBER: builtins.int START_WORKFLOW_RESULT_FIELD_NUMBER: builtins.int START_WORKFLOW_STATUS_FIELD_NUMBER: builtins.int + start_workflow_status: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType + ) + """If the action was start_workflow, this field will reflect an + eventually-consistent view of the started workflow's status. + """ @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time that the action was taken (according to the schedule, including jitter).""" + @property def actual_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time that the action was taken (real time).""" + @property def start_workflow_result( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """If action was start_workflow:""" - start_workflow_status: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType - ) - """If the action was start_workflow, this field will reflect an - eventually-consistent view of the started workflow's status. - """ + def __init__( self, *, @@ -622,7 +643,7 @@ class ScheduleActionResult(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "actual_time", b"actual_time", "schedule_time", @@ -633,7 +654,7 @@ class ScheduleActionResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "actual_time", b"actual_time", "schedule_time", @@ -645,8 +666,9 @@ class ScheduleActionResult(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleActionResult = ScheduleActionResult +Global___ScheduleActionResult: typing_extensions.TypeAlias = ScheduleActionResult +@typing.final class ScheduleState(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -681,7 +703,7 @@ class ScheduleState(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "limited_actions", b"limited_actions", "notes", @@ -693,8 +715,9 @@ class ScheduleState(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleState = ScheduleState +Global___ScheduleState: typing_extensions.TypeAlias = ScheduleState +@typing.final class TriggerImmediatelyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -707,6 +730,7 @@ class TriggerImmediatelyRequest(google.protobuf.message.Message): """Timestamp used for the identity of the target workflow. If not set the default value is the current time. """ + def __init__( self, *, @@ -714,23 +738,28 @@ class TriggerImmediatelyRequest(google.protobuf.message.Message): scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["scheduled_time", b"scheduled_time"] + self, field_name: typing.Literal["scheduled_time", b"scheduled_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "overlap_policy", b"overlap_policy", "scheduled_time", b"scheduled_time" ], ) -> None: ... -global___TriggerImmediatelyRequest = TriggerImmediatelyRequest +Global___TriggerImmediatelyRequest: typing_extensions.TypeAlias = ( + TriggerImmediatelyRequest +) +@typing.final class BackfillRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor START_TIME_FIELD_NUMBER: builtins.int END_TIME_FIELD_NUMBER: builtins.int OVERLAP_POLICY_FIELD_NUMBER: builtins.int + overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType + """If set, override overlap policy for this request.""" @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time range to evaluate schedule in. Currently, this time range is @@ -740,10 +769,9 @@ class BackfillRequest(google.protobuf.message.Message): nominally scheduled in the interval but with jitter that pushes it after end_time will not be included. """ + @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType - """If set, override overlap policy for this request.""" def __init__( self, *, @@ -753,13 +781,13 @@ class BackfillRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "overlap_policy", @@ -769,8 +797,9 @@ class BackfillRequest(google.protobuf.message.Message): ], ) -> None: ... -global___BackfillRequest = BackfillRequest +Global___BackfillRequest: typing_extensions.TypeAlias = BackfillRequest +@typing.final class SchedulePatch(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -778,42 +807,41 @@ class SchedulePatch(google.protobuf.message.Message): BACKFILL_REQUEST_FIELD_NUMBER: builtins.int PAUSE_FIELD_NUMBER: builtins.int UNPAUSE_FIELD_NUMBER: builtins.int + pause: builtins.str + """If set, change the state to paused or unpaused (respectively) and set the + notes field to the value of the string. + """ + unpause: builtins.str @property - def trigger_immediately(self) -> global___TriggerImmediatelyRequest: + def trigger_immediately(self) -> Global___TriggerImmediatelyRequest: """If set, trigger one action immediately.""" + @property def backfill_request( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___BackfillRequest + Global___BackfillRequest ]: """If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill. """ - pause: builtins.str - """If set, change the state to paused or unpaused (respectively) and set the - notes field to the value of the string. - """ - unpause: builtins.str + def __init__( self, *, - trigger_immediately: global___TriggerImmediatelyRequest | None = ..., - backfill_request: collections.abc.Iterable[global___BackfillRequest] + trigger_immediately: Global___TriggerImmediatelyRequest | None = ..., + backfill_request: collections.abc.Iterable[Global___BackfillRequest] | None = ..., pause: builtins.str = ..., unpause: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "trigger_immediately", b"trigger_immediately" - ], + self, field_name: typing.Literal["trigger_immediately", b"trigger_immediately"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backfill_request", b"backfill_request", "pause", @@ -825,8 +853,9 @@ class SchedulePatch(google.protobuf.message.Message): ], ) -> None: ... -global___SchedulePatch = SchedulePatch +Global___SchedulePatch: typing_extensions.TypeAlias = SchedulePatch +@typing.final class ScheduleInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -855,6 +884,10 @@ class ScheduleInfo(google.protobuf.message.Message): be immediately triggered (due to the overlap policy). These actions can be a result of the normal schedule or a backfill. """ + invalid_schedule_error: builtins.str + """Deprecated.""" + state_size_bytes: builtins.int + """Size of the schedule's internal state (including payloads) in bytes.""" @property def running_workflows( self, @@ -867,13 +900,15 @@ class ScheduleInfo(google.protobuf.message.Message): started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id. """ + @property def recent_actions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ScheduleActionResult + Global___ScheduleActionResult ]: """Most recent ten actual action times (including manual triggers).""" + @property def future_action_times( self, @@ -881,15 +916,13 @@ class ScheduleInfo(google.protobuf.message.Message): google.protobuf.timestamp_pb2.Timestamp ]: """Next ten scheduled action times.""" + @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamps of schedule creation and last update.""" + @property def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - invalid_schedule_error: builtins.str - """Deprecated.""" - state_size_bytes: builtins.int - """Size of the schedule's internal state (including payloads) in bytes.""" def __init__( self, *, @@ -902,7 +935,7 @@ class ScheduleInfo(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.WorkflowExecution ] | None = ..., - recent_actions: collections.abc.Iterable[global___ScheduleActionResult] + recent_actions: collections.abc.Iterable[Global___ScheduleActionResult] | None = ..., future_action_times: collections.abc.Iterable[ google.protobuf.timestamp_pb2.Timestamp @@ -915,13 +948,13 @@ class ScheduleInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "update_time", b"update_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "action_count", b"action_count", "buffer_dropped", @@ -949,8 +982,9 @@ class ScheduleInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleInfo = ScheduleInfo +Global___ScheduleInfo: typing_extensions.TypeAlias = ScheduleInfo +@typing.final class Schedule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -959,24 +993,24 @@ class Schedule(google.protobuf.message.Message): POLICIES_FIELD_NUMBER: builtins.int STATE_FIELD_NUMBER: builtins.int @property - def spec(self) -> global___ScheduleSpec: ... + def spec(self) -> Global___ScheduleSpec: ... @property - def action(self) -> global___ScheduleAction: ... + def action(self) -> Global___ScheduleAction: ... @property - def policies(self) -> global___SchedulePolicies: ... + def policies(self) -> Global___SchedulePolicies: ... @property - def state(self) -> global___ScheduleState: ... + def state(self) -> Global___ScheduleState: ... def __init__( self, *, - spec: global___ScheduleSpec | None = ..., - action: global___ScheduleAction | None = ..., - policies: global___SchedulePolicies | None = ..., - state: global___ScheduleState | None = ..., + spec: Global___ScheduleSpec | None = ..., + action: Global___ScheduleAction | None = ..., + policies: Global___SchedulePolicies | None = ..., + state: Global___ScheduleState | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "action", b"action", "policies", @@ -989,7 +1023,7 @@ class Schedule(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "action", b"action", "policies", @@ -1001,8 +1035,9 @@ class Schedule(google.protobuf.message.Message): ], ) -> None: ... -global___Schedule = Schedule +Global___Schedule: typing_extensions.TypeAlias = Schedule +@typing.final class ScheduleListInfo(google.protobuf.message.Message): """ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo that's returned in ListSchedules. @@ -1017,43 +1052,46 @@ class ScheduleListInfo(google.protobuf.message.Message): RECENT_ACTIONS_FIELD_NUMBER: builtins.int FUTURE_ACTION_TIMES_FIELD_NUMBER: builtins.int STATE_SIZE_BYTES_FIELD_NUMBER: builtins.int + notes: builtins.str + """From state:""" + paused: builtins.bool + state_size_bytes: builtins.int + """Size of the schedule's internal state (including payloads) in bytes.""" @property - def spec(self) -> global___ScheduleSpec: + def spec(self) -> Global___ScheduleSpec: """From spec: Some fields are dropped from this copy of spec: timezone_data """ + @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: """From action: Action is a oneof field, but we need to encode this in JSON and oneof fields don't work well with JSON. If action is start_workflow, this is set: """ - notes: builtins.str - """From state:""" - paused: builtins.bool + @property def recent_actions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ScheduleActionResult + Global___ScheduleActionResult ]: """From info (maybe fewer entries):""" + @property def future_action_times( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ google.protobuf.timestamp_pb2.Timestamp ]: ... - state_size_bytes: builtins.int - """Size of the schedule's internal state (including payloads) in bytes.""" def __init__( self, *, - spec: global___ScheduleSpec | None = ..., + spec: Global___ScheduleSpec | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., notes: builtins.str = ..., paused: builtins.bool = ..., - recent_actions: collections.abc.Iterable[global___ScheduleActionResult] + recent_actions: collections.abc.Iterable[Global___ScheduleActionResult] | None = ..., future_action_times: collections.abc.Iterable[ google.protobuf.timestamp_pb2.Timestamp @@ -1063,13 +1101,11 @@ class ScheduleListInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "spec", b"spec", "workflow_type", b"workflow_type" - ], + field_name: typing.Literal["spec", b"spec", "workflow_type", b"workflow_type"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "future_action_times", b"future_action_times", "notes", @@ -1087,8 +1123,9 @@ class ScheduleListInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleListInfo = ScheduleListInfo +Global___ScheduleListInfo: typing_extensions.TypeAlias = ScheduleListInfo +@typing.final class ScheduleListEntry(google.protobuf.message.Message): """ScheduleListEntry is returned by ListSchedules.""" @@ -1106,7 +1143,7 @@ class ScheduleListEntry(google.protobuf.message.Message): self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property - def info(self) -> global___ScheduleListInfo: ... + def info(self) -> Global___ScheduleListInfo: ... def __init__( self, *, @@ -1114,17 +1151,17 @@ class ScheduleListEntry(google.protobuf.message.Message): memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., - info: global___ScheduleListInfo | None = ..., + info: Global___ScheduleListInfo | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "info", b"info", "memo", b"memo", "search_attributes", b"search_attributes" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "info", b"info", "memo", @@ -1136,4 +1173,4 @@ class ScheduleListEntry(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleListEntry = ScheduleListEntry +Global___ScheduleListEntry: typing_extensions.TypeAlias = ScheduleListEntry diff --git a/temporalio/api/sdk/v1/__init__.py b/temporalio/api/sdk/v1/__init__.py index 0a72fe5cf..4f23aac6a 100644 --- a/temporalio/api/sdk/v1/__init__.py +++ b/temporalio/api/sdk/v1/__init__.py @@ -5,6 +5,7 @@ StackTraceFileSlice, StackTraceSDKInfo, ) +from .event_group_marker_pb2 import EventGroupMarker from .external_storage_pb2 import ExternalStorageReference from .task_complete_metadata_pb2 import WorkflowTaskCompletedMetadata from .user_metadata_pb2 import UserMetadata @@ -17,6 +18,7 @@ __all__ = [ "EnhancedStackTrace", + "EventGroupMarker", "ExternalStorageReference", "StackTrace", "StackTraceFileLocation", diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py index 0890a547a..4402d75ba 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/enhanced_stack_trace.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/sdk/v1/enhanced_stack_trace.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,95 +28,28 @@ b'\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) - -_ENHANCEDSTACKTRACE = DESCRIPTOR.message_types_by_name["EnhancedStackTrace"] -_ENHANCEDSTACKTRACE_SOURCESENTRY = _ENHANCEDSTACKTRACE.nested_types_by_name[ - "SourcesEntry" -] -_STACKTRACESDKINFO = DESCRIPTOR.message_types_by_name["StackTraceSDKInfo"] -_STACKTRACEFILESLICE = DESCRIPTOR.message_types_by_name["StackTraceFileSlice"] -_STACKTRACEFILELOCATION = DESCRIPTOR.message_types_by_name["StackTraceFileLocation"] -_STACKTRACE = DESCRIPTOR.message_types_by_name["StackTrace"] -EnhancedStackTrace = _reflection.GeneratedProtocolMessageType( - "EnhancedStackTrace", - (_message.Message,), - { - "SourcesEntry": _reflection.GeneratedProtocolMessageType( - "SourcesEntry", - (_message.Message,), - { - "DESCRIPTOR": _ENHANCEDSTACKTRACE_SOURCESENTRY, - "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry) - }, - ), - "DESCRIPTOR": _ENHANCEDSTACKTRACE, - "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace) - }, -) -_sym_db.RegisterMessage(EnhancedStackTrace) -_sym_db.RegisterMessage(EnhancedStackTrace.SourcesEntry) - -StackTraceSDKInfo = _reflection.GeneratedProtocolMessageType( - "StackTraceSDKInfo", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACESDKINFO, - "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceSDKInfo) - }, -) -_sym_db.RegisterMessage(StackTraceSDKInfo) - -StackTraceFileSlice = _reflection.GeneratedProtocolMessageType( - "StackTraceFileSlice", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACEFILESLICE, - "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileSlice) - }, -) -_sym_db.RegisterMessage(StackTraceFileSlice) - -StackTraceFileLocation = _reflection.GeneratedProtocolMessageType( - "StackTraceFileLocation", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACEFILELOCATION, - "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.sdk.v1.enhanced_stack_trace_pb2", _globals ) -_sym_db.RegisterMessage(StackTraceFileLocation) - -StackTrace = _reflection.GeneratedProtocolMessageType( - "StackTrace", - (_message.Message,), - { - "DESCRIPTOR": _STACKTRACE, - "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTrace) - }, -) -_sym_db.RegisterMessage(StackTrace) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _ENHANCEDSTACKTRACE_SOURCESENTRY._options = None - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_options = b"8\001" - _ENHANCEDSTACKTRACE._serialized_start = 72 - _ENHANCEDSTACKTRACE._serialized_end = 355 - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_start = 267 - _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_end = 355 - _STACKTRACESDKINFO._serialized_start = 357 - _STACKTRACESDKINFO._serialized_end = 407 - _STACKTRACEFILESLICE._serialized_start = 409 - _STACKTRACEFILESLICE._serialized_end = 468 - _STACKTRACEFILELOCATION._serialized_start = 470 - _STACKTRACEFILELOCATION._serialized_end = 589 - _STACKTRACE._serialized_start = 591 - _STACKTRACE._serialized_end = 667 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._loaded_options = None + _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._serialized_options = b"8\001" + _globals["_ENHANCEDSTACKTRACE"]._serialized_start = 72 + _globals["_ENHANCEDSTACKTRACE"]._serialized_end = 355 + _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._serialized_start = 267 + _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._serialized_end = 355 + _globals["_STACKTRACESDKINFO"]._serialized_start = 357 + _globals["_STACKTRACESDKINFO"]._serialized_end = 407 + _globals["_STACKTRACEFILESLICE"]._serialized_start = 409 + _globals["_STACKTRACEFILESLICE"]._serialized_end = 468 + _globals["_STACKTRACEFILELOCATION"]._serialized_start = 470 + _globals["_STACKTRACEFILELOCATION"]._serialized_end = 589 + _globals["_STACKTRACE"]._serialized_start = 591 + _globals["_STACKTRACE"]._serialized_end = 667 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi index 29767cbf8..93bffc7cc 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi @@ -6,23 +6,26 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class EnhancedStackTrace(google.protobuf.message.Message): """Internal structure used to create worker stack traces with references to code.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class SourcesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -30,61 +33,62 @@ class EnhancedStackTrace(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___StackTraceFileSlice: ... + def value(self) -> Global___StackTraceFileSlice: ... def __init__( self, *, key: builtins.str = ..., - value: global___StackTraceFileSlice | None = ..., + value: Global___StackTraceFileSlice | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SDK_FIELD_NUMBER: builtins.int SOURCES_FIELD_NUMBER: builtins.int STACKS_FIELD_NUMBER: builtins.int @property - def sdk(self) -> global___StackTraceSDKInfo: + def sdk(self) -> Global___StackTraceSDKInfo: """Information pertaining to the SDK that the trace has been captured from.""" + @property def sources( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___StackTraceFileSlice + builtins.str, Global___StackTraceFileSlice ]: """Mapping of file path to file contents.""" + @property def stacks( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StackTrace + Global___StackTrace ]: """Collection of stacks captured.""" + def __init__( self, *, - sdk: global___StackTraceSDKInfo | None = ..., - sources: collections.abc.Mapping[builtins.str, global___StackTraceFileSlice] + sdk: Global___StackTraceSDKInfo | None = ..., + sources: collections.abc.Mapping[builtins.str, Global___StackTraceFileSlice] | None = ..., - stacks: collections.abc.Iterable[global___StackTrace] | None = ..., + stacks: collections.abc.Iterable[Global___StackTrace] | None = ..., ) -> None: ... - def HasField( - self, field_name: typing_extensions.Literal["sdk", b"sdk"] - ) -> builtins.bool: ... + def HasField(self, field_name: typing.Literal["sdk", b"sdk"]) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "sdk", b"sdk", "sources", b"sources", "stacks", b"stacks" ], ) -> None: ... -global___EnhancedStackTrace = EnhancedStackTrace +Global___EnhancedStackTrace: typing_extensions.TypeAlias = EnhancedStackTrace +@typing.final class StackTraceSDKInfo(google.protobuf.message.Message): """Information pertaining to the SDK that the trace has been captured from. (-- api-linter: core::0123::resource-annotation=disabled @@ -106,12 +110,12 @@ class StackTraceSDKInfo(google.protobuf.message.Message): version: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["name", b"name", "version", b"version"], + self, field_name: typing.Literal["name", b"name", "version", b"version"] ) -> None: ... -global___StackTraceSDKInfo = StackTraceSDKInfo +Global___StackTraceSDKInfo: typing_extensions.TypeAlias = StackTraceSDKInfo +@typing.final class StackTraceFileSlice(google.protobuf.message.Message): """ "Slice" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack.""" @@ -135,13 +139,14 @@ class StackTraceFileSlice(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "line_offset", b"line_offset" ], ) -> None: ... -global___StackTraceFileSlice = StackTraceFileSlice +Global___StackTraceFileSlice: typing_extensions.TypeAlias = StackTraceFileSlice +@typing.final class StackTraceFileLocation(google.protobuf.message.Message): """More specific location details of a file: its path, precise line and column numbers if applicable, and function name if available. In essence, a pointer to a location in a file @@ -183,7 +188,7 @@ class StackTraceFileLocation(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "column", b"column", "file_path", @@ -197,8 +202,9 @@ class StackTraceFileLocation(google.protobuf.message.Message): ], ) -> None: ... -global___StackTraceFileLocation = StackTraceFileLocation +Global___StackTraceFileLocation: typing_extensions.TypeAlias = StackTraceFileLocation +@typing.final class StackTrace(google.protobuf.message.Message): """Collection of FileLocation messages from a single stack.""" @@ -209,17 +215,18 @@ class StackTrace(google.protobuf.message.Message): def locations( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StackTraceFileLocation + Global___StackTraceFileLocation ]: """Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.""" + def __init__( self, *, - locations: collections.abc.Iterable[global___StackTraceFileLocation] + locations: collections.abc.Iterable[Global___StackTraceFileLocation] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["locations", b"locations"] + self, field_name: typing.Literal["locations", b"locations"] ) -> None: ... -global___StackTrace = StackTrace +Global___StackTrace: typing_extensions.TypeAlias = StackTrace diff --git a/temporalio/api/sdk/v1/event_group_marker_pb2.py b/temporalio/api/sdk/v1/event_group_marker_pb2.py new file mode 100644 index 000000000..fad073bf5 --- /dev/null +++ b/temporalio/api/sdk/v1/event_group_marker_pb2.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: temporal/api/sdk/v1/event_group_marker.proto +# Protobuf Python Version: 6.33.5 +"""Generated protocol buffer code.""" + +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/sdk/v1/event_group_marker.proto", +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n,temporal/api/sdk/v1/event_group_marker.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto"\x92\x03\n\x10\x45ventGroupMarker\x12<\n\x05label\x18\x01 \x01(\x0b\x32+.temporal.api.sdk.v1.EventGroupMarker.LabelH\x00\x12K\n\rinbound_event\x18\x02 \x01(\x0b\x32\x32.temporal.api.sdk.v1.EventGroupMarker.InboundEventH\x00\x12M\n\x0einbound_update\x18\x03 \x01(\x0b\x32\x33.temporal.api.sdk.v1.EventGroupMarker.InboundUpdateH\x00\x1a\x43\n\x05Label\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\x05label\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x1a(\n\x0cInboundEvent\x12\x18\n\x10inbound_event_id\x18\x01 \x01(\x03\x1a*\n\rInboundUpdate\x12\x19\n\x11inbound_update_id\x18\x01 \x01(\tB\t\n\x07variantB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15\x45ventGroupMarkerProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' +) + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.sdk.v1.event_group_marker_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025EventGroupMarkerProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _globals["_EVENTGROUPMARKER"]._serialized_start = 108 + _globals["_EVENTGROUPMARKER"]._serialized_end = 510 + _globals["_EVENTGROUPMARKER_LABEL"]._serialized_start = 346 + _globals["_EVENTGROUPMARKER_LABEL"]._serialized_end = 413 + _globals["_EVENTGROUPMARKER_INBOUNDEVENT"]._serialized_start = 415 + _globals["_EVENTGROUPMARKER_INBOUNDEVENT"]._serialized_end = 455 + _globals["_EVENTGROUPMARKER_INBOUNDUPDATE"]._serialized_start = 457 + _globals["_EVENTGROUPMARKER_INBOUNDUPDATE"]._serialized_end = 499 +# @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/event_group_marker_pb2.pyi b/temporalio/api/sdk/v1/event_group_marker_pb2.pyi new file mode 100644 index 000000000..1731f5259 --- /dev/null +++ b/temporalio/api/sdk/v1/event_group_marker_pb2.pyi @@ -0,0 +1,157 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" + +import builtins +import sys +import typing + +import google.protobuf.descriptor +import google.protobuf.message + +import temporalio.api.common.v1.message_pb2 + +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions + +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing.final +class EventGroupMarker(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + @typing.final + class Label(google.protobuf.message.Message): + """A user-defined short-form string value to be used as the group's label.""" + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + ID_FIELD_NUMBER: builtins.int + LABEL_FIELD_NUMBER: builtins.int + id: builtins.str + """Opaque identifier assigned by the SDK.""" + @property + def label(self) -> temporalio.api.common.v1.message_pb2.Payload: + """This payload should be a "json/plain"-encoded payload that is a single + JSON string for use in user interfaces. User interface formatting may not + apply to this text when used in "label" situations. The payload data + section is limited to 400 bytes by default. + + Payload only needs to be set on the first use of a given Marker ID; + further references to an existing Marker ID reuse existing attributes of + the referenced Marker -- i.e. further label payloads are ignored. + + Note that it is valid to have distinct Markers (i.e. distinct Marker IDs) + in a given workflow execution that carry the same label, provided that + they have the distinct ID. + """ + + def __init__( + self, + *, + id: builtins.str = ..., + label: temporalio.api.common.v1.message_pb2.Payload | None = ..., + ) -> None: ... + def HasField( + self, field_name: typing.Literal["label", b"label"] + ) -> builtins.bool: ... + def ClearField( + self, field_name: typing.Literal["id", b"id", "label", b"label"] + ) -> None: ... + + @typing.final + class InboundEvent(google.protobuf.message.Message): + """The event ID of an event in the present workflow that triggered implicit + creation of this group Marker. + + The target event's type must be one of the following: + - `WORKFLOW_EXECUTION_STARTED` + - `WORKFLOW_EXECUTION_SIGNALED` + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + INBOUND_EVENT_ID_FIELD_NUMBER: builtins.int + inbound_event_id: builtins.int + def __init__( + self, + *, + inbound_event_id: builtins.int = ..., + ) -> None: ... + def ClearField( + self, field_name: typing.Literal["inbound_event_id", b"inbound_event_id"] + ) -> None: ... + + @typing.final + class InboundUpdate(google.protobuf.message.Message): + """The identifier of an inbound Update (request.meta.update_id) + whose handler triggered implicit creation of this group Marker. + + Used in place of `inbound_event_id` for Updates because the event ID of the + UpdateAccepted history event is not known until the Workflow Task is + completed and recorded by the server, which may be too late. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + INBOUND_UPDATE_ID_FIELD_NUMBER: builtins.int + inbound_update_id: builtins.str + def __init__( + self, + *, + inbound_update_id: builtins.str = ..., + ) -> None: ... + def ClearField( + self, field_name: typing.Literal["inbound_update_id", b"inbound_update_id"] + ) -> None: ... + + LABEL_FIELD_NUMBER: builtins.int + INBOUND_EVENT_FIELD_NUMBER: builtins.int + INBOUND_UPDATE_FIELD_NUMBER: builtins.int + @property + def label(self) -> Global___EventGroupMarker.Label: ... + @property + def inbound_event(self) -> Global___EventGroupMarker.InboundEvent: ... + @property + def inbound_update(self) -> Global___EventGroupMarker.InboundUpdate: ... + def __init__( + self, + *, + label: Global___EventGroupMarker.Label | None = ..., + inbound_event: Global___EventGroupMarker.InboundEvent | None = ..., + inbound_update: Global___EventGroupMarker.InboundUpdate | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing.Literal[ + "inbound_event", + b"inbound_event", + "inbound_update", + b"inbound_update", + "label", + b"label", + "variant", + b"variant", + ], + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing.Literal[ + "inbound_event", + b"inbound_event", + "inbound_update", + b"inbound_update", + "label", + b"label", + "variant", + b"variant", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["label", "inbound_event", "inbound_update"] | None: ... + +Global___EventGroupMarker: typing_extensions.TypeAlias = EventGroupMarker diff --git a/temporalio/api/sdk/v1/external_storage_pb2.py b/temporalio/api/sdk/v1/external_storage_pb2.py index 75676a90a..c64bd0f5e 100644 --- a/temporalio/api/sdk/v1/external_storage_pb2.py +++ b/temporalio/api/sdk/v1/external_storage_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/external_storage.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/sdk/v1/external_storage.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,39 +28,20 @@ b'\n*temporal/api/sdk/v1/external_storage.proto\x12\x13temporal.api.sdk.v1"\xb3\x01\n\x18\x45xternalStorageReference\x12\x13\n\x0b\x64river_name\x18\x01 \x01(\t\x12P\n\nclaim_data\x18\x02 \x03(\x0b\x32<.temporal.api.sdk.v1.ExternalStorageReference.ClaimDataEntry\x1a\x30\n\x0e\x43laimDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x82\x01\n\x16io.temporal.api.sdk.v1B\x14\x45xternalStorageProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) - -_EXTERNALSTORAGEREFERENCE = DESCRIPTOR.message_types_by_name["ExternalStorageReference"] -_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY = ( - _EXTERNALSTORAGEREFERENCE.nested_types_by_name["ClaimDataEntry"] +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.sdk.v1.external_storage_pb2", _globals ) -ExternalStorageReference = _reflection.GeneratedProtocolMessageType( - "ExternalStorageReference", - (_message.Message,), - { - "ClaimDataEntry": _reflection.GeneratedProtocolMessageType( - "ClaimDataEntry", - (_message.Message,), - { - "DESCRIPTOR": _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY, - "__module__": "temporalio.api.sdk.v1.external_storage_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.ExternalStorageReference.ClaimDataEntry) - }, - ), - "DESCRIPTOR": _EXTERNALSTORAGEREFERENCE, - "__module__": "temporalio.api.sdk.v1.external_storage_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.ExternalStorageReference) - }, -) -_sym_db.RegisterMessage(ExternalStorageReference) -_sym_db.RegisterMessage(ExternalStorageReference.ClaimDataEntry) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\024ExternalStorageProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._options = None - _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._serialized_options = b"8\001" - _EXTERNALSTORAGEREFERENCE._serialized_start = 68 - _EXTERNALSTORAGEREFERENCE._serialized_end = 247 - _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._serialized_start = 199 - _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._serialized_end = 247 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\024ExternalStorageProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._loaded_options = None + _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._serialized_options = b"8\001" + _globals["_EXTERNALSTORAGEREFERENCE"]._serialized_start = 68 + _globals["_EXTERNALSTORAGEREFERENCE"]._serialized_end = 247 + _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._serialized_start = 199 + _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._serialized_end = 247 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/external_storage_pb2.pyi b/temporalio/api/sdk/v1/external_storage_pb2.pyi index 9a27636a2..8bc951b24 100644 --- a/temporalio/api/sdk/v1/external_storage_pb2.pyi +++ b/temporalio/api/sdk/v1/external_storage_pb2.pyi @@ -6,18 +6,20 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ExternalStorageReference(google.protobuf.message.Message): """ExternalStorageReference identifies a payload stored in an external storage system. It is used as a claim-check token, allowing the actual payload data to be retrieved @@ -26,6 +28,7 @@ class ExternalStorageReference(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ClaimDataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -40,8 +43,7 @@ class ExternalStorageReference(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... DRIVER_NAME_FIELD_NUMBER: builtins.int @@ -53,6 +55,7 @@ class ExternalStorageReference(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Driver-specific key-value pairs that identify and provide access to the stored payload.""" + def __init__( self, *, @@ -61,9 +64,11 @@ class ExternalStorageReference(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "claim_data", b"claim_data", "driver_name", b"driver_name" ], ) -> None: ... -global___ExternalStorageReference = ExternalStorageReference +Global___ExternalStorageReference: typing_extensions.TypeAlias = ( + ExternalStorageReference +) diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py index 0b95e1710..c2ea5f6e7 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/task_complete_metadata.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/sdk/v1/task_complete_metadata.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,24 +28,16 @@ b'\n0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1"x\n\x1dWorkflowTaskCompletedMetadata\x12\x17\n\x0f\x63ore_used_flags\x18\x01 \x03(\r\x12\x17\n\x0flang_used_flags\x18\x02 \x03(\r\x12\x10\n\x08sdk_name\x18\x03 \x01(\t\x12\x13\n\x0bsdk_version\x18\x04 \x01(\tB\x87\x01\n\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) - -_WORKFLOWTASKCOMPLETEDMETADATA = DESCRIPTOR.message_types_by_name[ - "WorkflowTaskCompletedMetadata" -] -WorkflowTaskCompletedMetadata = _reflection.GeneratedProtocolMessageType( - "WorkflowTaskCompletedMetadata", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDMETADATA, - "__module__": "temporalio.api.sdk.v1.task_complete_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowTaskCompletedMetadata) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.sdk.v1.task_complete_metadata_pb2", _globals ) -_sym_db.RegisterMessage(WorkflowTaskCompletedMetadata) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _WORKFLOWTASKCOMPLETEDMETADATA._serialized_start = 73 - _WORKFLOWTASKCOMPLETEDMETADATA._serialized_end = 193 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _globals["_WORKFLOWTASKCOMPLETEDMETADATA"]._serialized_start = 73 + _globals["_WORKFLOWTASKCOMPLETEDMETADATA"]._serialized_end = 193 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi index 2491881a3..5e84c9f23 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi @@ -6,18 +6,20 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -25,6 +27,19 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): LANG_USED_FLAGS_FIELD_NUMBER: builtins.int SDK_NAME_FIELD_NUMBER: builtins.int SDK_VERSION_FIELD_NUMBER: builtins.int + sdk_name: builtins.str + """Name of the SDK that processed the task. This is usually something like "temporal-go" and is + usually the same as client-name gRPC header. This should only be set if its value changed + since the last time recorded on the workflow (or be set on the first task). + + (-- api-linter: core::0122::name-suffix=disabled + aip.dev/not-precedent: We're ok with a name suffix here. --) + """ + sdk_version: builtins.str + """Version of the SDK that processed the task. This is usually something like "1.20.0" and is + usually the same as client-version gRPC header. This should only be set if its value changed + since the last time recorded on the workflow (or be set on the first task). + """ @property def core_used_flags( self, @@ -49,6 +64,7 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --) """ + @property def lang_used_flags( self, @@ -60,19 +76,7 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --) """ - sdk_name: builtins.str - """Name of the SDK that processed the task. This is usually something like "temporal-go" and is - usually the same as client-name gRPC header. This should only be set if its value changed - since the last time recorded on the workflow (or be set on the first task). - (-- api-linter: core::0122::name-suffix=disabled - aip.dev/not-precedent: We're ok with a name suffix here. --) - """ - sdk_version: builtins.str - """Version of the SDK that processed the task. This is usually something like "1.20.0" and is - usually the same as client-version gRPC header. This should only be set if its value changed - since the last time recorded on the workflow (or be set on the first task). - """ def __init__( self, *, @@ -83,7 +87,7 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "core_used_flags", b"core_used_flags", "lang_used_flags", @@ -95,4 +99,6 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowTaskCompletedMetadata = WorkflowTaskCompletedMetadata +Global___WorkflowTaskCompletedMetadata: typing_extensions.TypeAlias = ( + WorkflowTaskCompletedMetadata +) diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.py b/temporalio/api/sdk/v1/user_metadata_pb2.py index 4fcbee2bb..edeb80ce9 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.py +++ b/temporalio/api/sdk/v1/user_metadata_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/user_metadata.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/sdk/v1/user_metadata.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,22 +32,16 @@ b"\n'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"r\n\x0cUserMetadata\x12\x30\n\x07summary\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x7f\n\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" ) - -_USERMETADATA = DESCRIPTOR.message_types_by_name["UserMetadata"] -UserMetadata = _reflection.GeneratedProtocolMessageType( - "UserMetadata", - (_message.Message,), - { - "DESCRIPTOR": _USERMETADATA, - "__module__": "temporalio.api.sdk.v1.user_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.UserMetadata) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.sdk.v1.user_metadata_pb2", _globals ) -_sym_db.RegisterMessage(UserMetadata) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _USERMETADATA._serialized_start = 102 - _USERMETADATA._serialized_end = 216 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _globals["_USERMETADATA"]._serialized_start = 102 + _globals["_USERMETADATA"]._serialized_end = 216 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.pyi b/temporalio/api/sdk/v1/user_metadata_pb2.pyi index d198be8a8..5db07e79a 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/user_metadata_pb2.pyi @@ -5,19 +5,21 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class UserMetadata(google.protobuf.message.Message): """Information a user can set, often for use by user interfaces.""" @@ -32,12 +34,14 @@ class UserMetadata(google.protobuf.message.Message): apply to this text when used in "title" situations. The payload data section is limited to 400 bytes by default. """ + @property def details(self) -> temporalio.api.common.v1.message_pb2.Payload: """Long-form text that provides details. This payload should be a "json/plain"-encoded payload that is a single JSON string for use in user interfaces. User interface formatting may apply to this text in common use. The payload data section is limited to 20000 bytes by default. """ + def __init__( self, *, @@ -45,16 +49,10 @@ class UserMetadata(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "summary", b"summary" - ], + self, field_name: typing.Literal["details", b"details", "summary", b"summary"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "summary", b"summary" - ], + self, field_name: typing.Literal["details", b"details", "summary", b"summary"] ) -> None: ... -global___UserMetadata = UserMetadata +Global___UserMetadata: typing_extensions.TypeAlias = UserMetadata diff --git a/temporalio/api/sdk/v1/worker_config_pb2.py b/temporalio/api/sdk/v1/worker_config_pb2.py index 2a1304f6b..10946982e 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.py +++ b/temporalio/api/sdk/v1/worker_config_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/worker_config.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/sdk/v1/worker_config.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,52 +28,20 @@ b"\n'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x89\x03\n\x0cWorkerConfig\x12\x1b\n\x13workflow_cache_size\x18\x01 \x01(\x05\x12X\n\x16simple_poller_behavior\x18\x02 \x01(\x0b\x32\x36.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00\x12\x62\n\x1b\x61utoscaling_poller_behavior\x18\x03 \x01(\x0b\x32;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00\x1a+\n\x14SimplePollerBehavior\x12\x13\n\x0bmax_pollers\x18\x01 \x01(\x05\x1a^\n\x19\x41utoscalingPollerBehavior\x12\x13\n\x0bmin_pollers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_pollers\x18\x02 \x01(\x05\x12\x17\n\x0finitial_pollers\x18\x03 \x01(\x05\x42\x11\n\x0fpoller_behaviorB\x7f\n\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" ) - -_WORKERCONFIG = DESCRIPTOR.message_types_by_name["WorkerConfig"] -_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ - "SimplePollerBehavior" -] -_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ - "AutoscalingPollerBehavior" -] -WorkerConfig = _reflection.GeneratedProtocolMessageType( - "WorkerConfig", - (_message.Message,), - { - "SimplePollerBehavior": _reflection.GeneratedProtocolMessageType( - "SimplePollerBehavior", - (_message.Message,), - { - "DESCRIPTOR": _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR, - "__module__": "temporalio.api.sdk.v1.worker_config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior) - }, - ), - "AutoscalingPollerBehavior": _reflection.GeneratedProtocolMessageType( - "AutoscalingPollerBehavior", - (_message.Message,), - { - "DESCRIPTOR": _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR, - "__module__": "temporalio.api.sdk.v1.worker_config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior) - }, - ), - "DESCRIPTOR": _WORKERCONFIG, - "__module__": "temporalio.api.sdk.v1.worker_config_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.sdk.v1.worker_config_pb2", _globals ) -_sym_db.RegisterMessage(WorkerConfig) -_sym_db.RegisterMessage(WorkerConfig.SimplePollerBehavior) -_sym_db.RegisterMessage(WorkerConfig.AutoscalingPollerBehavior) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _WORKERCONFIG._serialized_start = 65 - _WORKERCONFIG._serialized_end = 458 - _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_start = 300 - _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_end = 343 - _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_start = 345 - _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_end = 439 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _globals["_WORKERCONFIG"]._serialized_start = 65 + _globals["_WORKERCONFIG"]._serialized_end = 458 + _globals["_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR"]._serialized_start = 300 + _globals["_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR"]._serialized_end = 343 + _globals["_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR"]._serialized_start = 345 + _globals["_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR"]._serialized_end = 439 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/worker_config_pb2.pyi b/temporalio/api/sdk/v1/worker_config_pb2.pyi index cc0906d24..aed73f2b4 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.pyi +++ b/temporalio/api/sdk/v1/worker_config_pb2.pyi @@ -5,20 +5,23 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkerConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class SimplePollerBehavior(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -30,9 +33,10 @@ class WorkerConfig(google.protobuf.message.Message): max_pollers: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["max_pollers", b"max_pollers"] + self, field_name: typing.Literal["max_pollers", b"max_pollers"] ) -> None: ... + @typing.final class AutoscalingPollerBehavior(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -58,7 +62,7 @@ class WorkerConfig(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initial_pollers", b"initial_pollers", "max_pollers", @@ -73,22 +77,22 @@ class WorkerConfig(google.protobuf.message.Message): AUTOSCALING_POLLER_BEHAVIOR_FIELD_NUMBER: builtins.int workflow_cache_size: builtins.int @property - def simple_poller_behavior(self) -> global___WorkerConfig.SimplePollerBehavior: ... + def simple_poller_behavior(self) -> Global___WorkerConfig.SimplePollerBehavior: ... @property def autoscaling_poller_behavior( self, - ) -> global___WorkerConfig.AutoscalingPollerBehavior: ... + ) -> Global___WorkerConfig.AutoscalingPollerBehavior: ... def __init__( self, *, workflow_cache_size: builtins.int = ..., - simple_poller_behavior: global___WorkerConfig.SimplePollerBehavior | None = ..., - autoscaling_poller_behavior: global___WorkerConfig.AutoscalingPollerBehavior + simple_poller_behavior: Global___WorkerConfig.SimplePollerBehavior | None = ..., + autoscaling_poller_behavior: Global___WorkerConfig.AutoscalingPollerBehavior | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", @@ -99,7 +103,7 @@ class WorkerConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", @@ -111,13 +115,9 @@ class WorkerConfig(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["poller_behavior", b"poller_behavior"], + self, oneof_group: typing.Literal["poller_behavior", b"poller_behavior"] ) -> ( - typing_extensions.Literal[ - "simple_poller_behavior", "autoscaling_poller_behavior" - ] - | None + typing.Literal["simple_poller_behavior", "autoscaling_poller_behavior"] | None ): ... -global___WorkerConfig = WorkerConfig +Global___WorkerConfig: typing_extensions.TypeAlias = WorkerConfig diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.py b/temporalio/api/sdk/v1/workflow_metadata_pb2.py index c872c59f2..3d3ea28ff 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.py +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/workflow_metadata.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/sdk/v1/workflow_metadata.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,52 +28,20 @@ b'\n+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1"h\n\x10WorkflowMetadata\x12;\n\ndefinition\x18\x01 \x01(\x0b\x32\'.temporal.api.sdk.v1.WorkflowDefinition\x12\x17\n\x0f\x63urrent_details\x18\x02 \x01(\t"\x91\x02\n\x12WorkflowDefinition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x11query_definitions\x18\x02 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12signal_definitions\x18\x03 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12update_definitions\x18\x04 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition"B\n\x1dWorkflowInteractionDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) - -_WORKFLOWMETADATA = DESCRIPTOR.message_types_by_name["WorkflowMetadata"] -_WORKFLOWDEFINITION = DESCRIPTOR.message_types_by_name["WorkflowDefinition"] -_WORKFLOWINTERACTIONDEFINITION = DESCRIPTOR.message_types_by_name[ - "WorkflowInteractionDefinition" -] -WorkflowMetadata = _reflection.GeneratedProtocolMessageType( - "WorkflowMetadata", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWMETADATA, - "__module__": "temporalio.api.sdk.v1.workflow_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowMetadata) - }, -) -_sym_db.RegisterMessage(WorkflowMetadata) - -WorkflowDefinition = _reflection.GeneratedProtocolMessageType( - "WorkflowDefinition", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWDEFINITION, - "__module__": "temporalio.api.sdk.v1.workflow_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowDefinition) - }, -) -_sym_db.RegisterMessage(WorkflowDefinition) - -WorkflowInteractionDefinition = _reflection.GeneratedProtocolMessageType( - "WorkflowInteractionDefinition", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWINTERACTIONDEFINITION, - "__module__": "temporalio.api.sdk.v1.workflow_metadata_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowInteractionDefinition) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.sdk.v1.workflow_metadata_pb2", _globals ) -_sym_db.RegisterMessage(WorkflowInteractionDefinition) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _WORKFLOWMETADATA._serialized_start = 68 - _WORKFLOWMETADATA._serialized_end = 172 - _WORKFLOWDEFINITION._serialized_start = 175 - _WORKFLOWDEFINITION._serialized_end = 448 - _WORKFLOWINTERACTIONDEFINITION._serialized_start = 450 - _WORKFLOWINTERACTIONDEFINITION._serialized_end = 516 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _globals["_WORKFLOWMETADATA"]._serialized_start = 68 + _globals["_WORKFLOWMETADATA"]._serialized_end = 172 + _globals["_WORKFLOWDEFINITION"]._serialized_start = 175 + _globals["_WORKFLOWDEFINITION"]._serialized_end = 448 + _globals["_WORKFLOWINTERACTIONDEFINITION"]._serialized_start = 450 + _globals["_WORKFLOWINTERACTIONDEFINITION"]._serialized_end = 516 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi index ded58390b..c1b1f0089 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi @@ -6,18 +6,20 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowMetadata(google.protobuf.message.Message): """The name of the query to retrieve this information is `__temporal_workflow_metadata`.""" @@ -25,31 +27,33 @@ class WorkflowMetadata(google.protobuf.message.Message): DEFINITION_FIELD_NUMBER: builtins.int CURRENT_DETAILS_FIELD_NUMBER: builtins.int - @property - def definition(self) -> global___WorkflowDefinition: - """Metadata provided at declaration or creation time.""" current_details: builtins.str """Current long-form details of the workflow's state. This is used by user interfaces to show long-form text. This text may be formatted by the user interface. """ + @property + def definition(self) -> Global___WorkflowDefinition: + """Metadata provided at declaration or creation time.""" + def __init__( self, *, - definition: global___WorkflowDefinition | None = ..., + definition: Global___WorkflowDefinition | None = ..., current_details: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["definition", b"definition"] + self, field_name: typing.Literal["definition", b"definition"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_details", b"current_details", "definition", b"definition" ], ) -> None: ... -global___WorkflowMetadata = WorkflowMetadata +Global___WorkflowMetadata: typing_extensions.TypeAlias = WorkflowMetadata +@typing.final class WorkflowDefinition(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled --)""" @@ -67,43 +71,46 @@ class WorkflowDefinition(google.protobuf.message.Message): def query_definitions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowInteractionDefinition + Global___WorkflowInteractionDefinition ]: """Query definitions, sorted by name.""" + @property def signal_definitions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowInteractionDefinition + Global___WorkflowInteractionDefinition ]: """Signal definitions, sorted by name.""" + @property def update_definitions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowInteractionDefinition + Global___WorkflowInteractionDefinition ]: """Update definitions, sorted by name.""" + def __init__( self, *, type: builtins.str = ..., query_definitions: collections.abc.Iterable[ - global___WorkflowInteractionDefinition + Global___WorkflowInteractionDefinition ] | None = ..., signal_definitions: collections.abc.Iterable[ - global___WorkflowInteractionDefinition + Global___WorkflowInteractionDefinition ] | None = ..., update_definitions: collections.abc.Iterable[ - global___WorkflowInteractionDefinition + Global___WorkflowInteractionDefinition ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "query_definitions", b"query_definitions", "signal_definitions", @@ -115,8 +122,9 @@ class WorkflowDefinition(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowDefinition = WorkflowDefinition +Global___WorkflowDefinition: typing_extensions.TypeAlias = WorkflowDefinition +@typing.final class WorkflowInteractionDefinition(google.protobuf.message.Message): """(-- api-linter: core::0123::resource-annotation=disabled aip.dev/not-precedent: The `name` field is optional. --) @@ -144,10 +152,9 @@ class WorkflowInteractionDefinition(google.protobuf.message.Message): description: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "description", b"description", "name", b"name" - ], + self, field_name: typing.Literal["description", b"description", "name", b"name"] ) -> None: ... -global___WorkflowInteractionDefinition = WorkflowInteractionDefinition +Global___WorkflowInteractionDefinition: typing_extensions.TypeAlias = ( + WorkflowInteractionDefinition +) diff --git a/temporalio/api/taskqueue/v1/message_pb2.py b/temporalio/api/taskqueue/v1/message_pb2.py index bf0eab1d0..c46b8676d 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.py +++ b/temporalio/api/taskqueue/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/taskqueue/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/taskqueue/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,430 +42,94 @@ b'\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"-\n\x0fPollerGroupInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06weight\x18\x02 \x01(\x02">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata"\xd9\x02\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12j\n\x19\x66\x61irness_weight_overrides\x18\x03 \x03(\x0b\x32G.temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry\x1a>\n\x1c\x46\x61irnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x42\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3' ) - -_TASKQUEUE = DESCRIPTOR.message_types_by_name["TaskQueue"] -_TASKQUEUEMETADATA = DESCRIPTOR.message_types_by_name["TaskQueueMetadata"] -_TASKQUEUEVERSIONINGINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersioningInfo"] -_TASKQUEUEVERSIONSELECTION = DESCRIPTOR.message_types_by_name[ - "TaskQueueVersionSelection" -] -_TASKQUEUEVERSIONINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersionInfo"] -_TASKQUEUEVERSIONINFO_TYPESINFOENTRY = _TASKQUEUEVERSIONINFO.nested_types_by_name[ - "TypesInfoEntry" -] -_TASKQUEUETYPEINFO = DESCRIPTOR.message_types_by_name["TaskQueueTypeInfo"] -_TASKQUEUESTATS = DESCRIPTOR.message_types_by_name["TaskQueueStats"] -_TASKQUEUESTATUS = DESCRIPTOR.message_types_by_name["TaskQueueStatus"] -_TASKIDBLOCK = DESCRIPTOR.message_types_by_name["TaskIdBlock"] -_TASKQUEUEPARTITIONMETADATA = DESCRIPTOR.message_types_by_name[ - "TaskQueuePartitionMetadata" -] -_POLLERINFO = DESCRIPTOR.message_types_by_name["PollerInfo"] -_STICKYEXECUTIONATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "StickyExecutionAttributes" -] -_COMPATIBLEVERSIONSET = DESCRIPTOR.message_types_by_name["CompatibleVersionSet"] -_TASKQUEUEREACHABILITY = DESCRIPTOR.message_types_by_name["TaskQueueReachability"] -_BUILDIDREACHABILITY = DESCRIPTOR.message_types_by_name["BuildIdReachability"] -_RAMPBYPERCENTAGE = DESCRIPTOR.message_types_by_name["RampByPercentage"] -_BUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name["BuildIdAssignmentRule"] -_COMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ - "CompatibleBuildIdRedirectRule" -] -_TIMESTAMPEDBUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name[ - "TimestampedBuildIdAssignmentRule" -] -_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ - "TimestampedCompatibleBuildIdRedirectRule" -] -_POLLERGROUPINFO = DESCRIPTOR.message_types_by_name["PollerGroupInfo"] -_POLLERSCALINGDECISION = DESCRIPTOR.message_types_by_name["PollerScalingDecision"] -_RATELIMIT = DESCRIPTOR.message_types_by_name["RateLimit"] -_CONFIGMETADATA = DESCRIPTOR.message_types_by_name["ConfigMetadata"] -_RATELIMITCONFIG = DESCRIPTOR.message_types_by_name["RateLimitConfig"] -_TASKQUEUECONFIG = DESCRIPTOR.message_types_by_name["TaskQueueConfig"] -_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY = _TASKQUEUECONFIG.nested_types_by_name[ - "FairnessWeightOverridesEntry" -] -TaskQueue = _reflection.GeneratedProtocolMessageType( - "TaskQueue", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUE, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueue) - }, -) -_sym_db.RegisterMessage(TaskQueue) - -TaskQueueMetadata = _reflection.GeneratedProtocolMessageType( - "TaskQueueMetadata", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEMETADATA, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueMetadata) - }, -) -_sym_db.RegisterMessage(TaskQueueMetadata) - -TaskQueueVersioningInfo = _reflection.GeneratedProtocolMessageType( - "TaskQueueVersioningInfo", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEVERSIONINGINFO, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersioningInfo) - }, -) -_sym_db.RegisterMessage(TaskQueueVersioningInfo) - -TaskQueueVersionSelection = _reflection.GeneratedProtocolMessageType( - "TaskQueueVersionSelection", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEVERSIONSELECTION, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionSelection) - }, -) -_sym_db.RegisterMessage(TaskQueueVersionSelection) - -TaskQueueVersionInfo = _reflection.GeneratedProtocolMessageType( - "TaskQueueVersionInfo", - (_message.Message,), - { - "TypesInfoEntry": _reflection.GeneratedProtocolMessageType( - "TypesInfoEntry", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEVERSIONINFO_TYPESINFOENTRY, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry) - }, - ), - "DESCRIPTOR": _TASKQUEUEVERSIONINFO, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo) - }, -) -_sym_db.RegisterMessage(TaskQueueVersionInfo) -_sym_db.RegisterMessage(TaskQueueVersionInfo.TypesInfoEntry) - -TaskQueueTypeInfo = _reflection.GeneratedProtocolMessageType( - "TaskQueueTypeInfo", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUETYPEINFO, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueTypeInfo) - }, -) -_sym_db.RegisterMessage(TaskQueueTypeInfo) - -TaskQueueStats = _reflection.GeneratedProtocolMessageType( - "TaskQueueStats", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUESTATS, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStats) - }, -) -_sym_db.RegisterMessage(TaskQueueStats) - -TaskQueueStatus = _reflection.GeneratedProtocolMessageType( - "TaskQueueStatus", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUESTATUS, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStatus) - }, -) -_sym_db.RegisterMessage(TaskQueueStatus) - -TaskIdBlock = _reflection.GeneratedProtocolMessageType( - "TaskIdBlock", - (_message.Message,), - { - "DESCRIPTOR": _TASKIDBLOCK, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskIdBlock) - }, -) -_sym_db.RegisterMessage(TaskIdBlock) - -TaskQueuePartitionMetadata = _reflection.GeneratedProtocolMessageType( - "TaskQueuePartitionMetadata", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEPARTITIONMETADATA, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueuePartitionMetadata) - }, -) -_sym_db.RegisterMessage(TaskQueuePartitionMetadata) - -PollerInfo = _reflection.GeneratedProtocolMessageType( - "PollerInfo", - (_message.Message,), - { - "DESCRIPTOR": _POLLERINFO, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerInfo) - }, -) -_sym_db.RegisterMessage(PollerInfo) - -StickyExecutionAttributes = _reflection.GeneratedProtocolMessageType( - "StickyExecutionAttributes", - (_message.Message,), - { - "DESCRIPTOR": _STICKYEXECUTIONATTRIBUTES, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.StickyExecutionAttributes) - }, -) -_sym_db.RegisterMessage(StickyExecutionAttributes) - -CompatibleVersionSet = _reflection.GeneratedProtocolMessageType( - "CompatibleVersionSet", - (_message.Message,), - { - "DESCRIPTOR": _COMPATIBLEVERSIONSET, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleVersionSet) - }, -) -_sym_db.RegisterMessage(CompatibleVersionSet) - -TaskQueueReachability = _reflection.GeneratedProtocolMessageType( - "TaskQueueReachability", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUEREACHABILITY, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueReachability) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.taskqueue.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(TaskQueueReachability) - -BuildIdReachability = _reflection.GeneratedProtocolMessageType( - "BuildIdReachability", - (_message.Message,), - { - "DESCRIPTOR": _BUILDIDREACHABILITY, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdReachability) - }, -) -_sym_db.RegisterMessage(BuildIdReachability) - -RampByPercentage = _reflection.GeneratedProtocolMessageType( - "RampByPercentage", - (_message.Message,), - { - "DESCRIPTOR": _RAMPBYPERCENTAGE, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RampByPercentage) - }, -) -_sym_db.RegisterMessage(RampByPercentage) - -BuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( - "BuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _BUILDIDASSIGNMENTRULE, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdAssignmentRule) - }, -) -_sym_db.RegisterMessage(BuildIdAssignmentRule) - -CompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( - "CompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _COMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule) - }, -) -_sym_db.RegisterMessage(CompatibleBuildIdRedirectRule) - -TimestampedBuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( - "TimestampedBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPEDBUILDIDASSIGNMENTRULE, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule) - }, -) -_sym_db.RegisterMessage(TimestampedBuildIdAssignmentRule) - -TimestampedCompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( - "TimestampedCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule) - }, -) -_sym_db.RegisterMessage(TimestampedCompatibleBuildIdRedirectRule) - -PollerGroupInfo = _reflection.GeneratedProtocolMessageType( - "PollerGroupInfo", - (_message.Message,), - { - "DESCRIPTOR": _POLLERGROUPINFO, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerGroupInfo) - }, -) -_sym_db.RegisterMessage(PollerGroupInfo) - -PollerScalingDecision = _reflection.GeneratedProtocolMessageType( - "PollerScalingDecision", - (_message.Message,), - { - "DESCRIPTOR": _POLLERSCALINGDECISION, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerScalingDecision) - }, -) -_sym_db.RegisterMessage(PollerScalingDecision) - -RateLimit = _reflection.GeneratedProtocolMessageType( - "RateLimit", - (_message.Message,), - { - "DESCRIPTOR": _RATELIMIT, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimit) - }, -) -_sym_db.RegisterMessage(RateLimit) - -ConfigMetadata = _reflection.GeneratedProtocolMessageType( - "ConfigMetadata", - (_message.Message,), - { - "DESCRIPTOR": _CONFIGMETADATA, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.ConfigMetadata) - }, -) -_sym_db.RegisterMessage(ConfigMetadata) - -RateLimitConfig = _reflection.GeneratedProtocolMessageType( - "RateLimitConfig", - (_message.Message,), - { - "DESCRIPTOR": _RATELIMITCONFIG, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimitConfig) - }, -) -_sym_db.RegisterMessage(RateLimitConfig) - -TaskQueueConfig = _reflection.GeneratedProtocolMessageType( - "TaskQueueConfig", - (_message.Message,), - { - "FairnessWeightOverridesEntry": _reflection.GeneratedProtocolMessageType( - "FairnessWeightOverridesEntry", - (_message.Message,), - { - "DESCRIPTOR": _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry) - }, - ), - "DESCRIPTOR": _TASKQUEUECONFIG, - "__module__": "temporalio.api.taskqueue.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig) - }, -) -_sym_db.RegisterMessage(TaskQueueConfig) -_sym_db.RegisterMessage(TaskQueueConfig.FairnessWeightOverridesEntry) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1" - _TASKQUEUEVERSIONINGINFO.fields_by_name["current_version"]._options = None - _TASKQUEUEVERSIONINGINFO.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1" + _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ + "current_version" + ]._loaded_options = None + _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ "current_version" ]._serialized_options = b"\030\001" - _TASKQUEUEVERSIONINGINFO.fields_by_name["ramping_version"]._options = None - _TASKQUEUEVERSIONINGINFO.fields_by_name[ + _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ + "ramping_version" + ]._loaded_options = None + _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ "ramping_version" ]._serialized_options = b"\030\001" - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._options = None - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_options = b"8\001" - _POLLERINFO.fields_by_name["worker_version_capabilities"]._options = None - _POLLERINFO.fields_by_name[ + _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._loaded_options = None + _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._serialized_options = b"8\001" + _globals["_POLLERINFO"].fields_by_name[ + "worker_version_capabilities" + ]._loaded_options = None + _globals["_POLLERINFO"].fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._options = None - _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._serialized_options = b"8\001" - _TASKQUEUE._serialized_start = 287 - _TASKQUEUE._serialized_end = 385 - _TASKQUEUEMETADATA._serialized_start = 387 - _TASKQUEUEMETADATA._serialized_end = 466 - _TASKQUEUEVERSIONINGINFO._serialized_start = 469 - _TASKQUEUEVERSIONINGINFO._serialized_end = 815 - _TASKQUEUEVERSIONSELECTION._serialized_start = 817 - _TASKQUEUEVERSIONSELECTION._serialized_end = 904 - _TASKQUEUEVERSIONINFO._serialized_start = 907 - _TASKQUEUEVERSIONINFO._serialized_end = 1184 - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_start = 1090 - _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_end = 1184 - _TASKQUEUETYPEINFO._serialized_start = 1187 - _TASKQUEUETYPEINFO._serialized_end = 1320 - _TASKQUEUESTATS._serialized_start = 1323 - _TASKQUEUESTATS._serialized_end = 1487 - _TASKQUEUESTATUS._serialized_start = 1490 - _TASKQUEUESTATUS._serialized_end = 1662 - _TASKIDBLOCK._serialized_start = 1664 - _TASKIDBLOCK._serialized_end = 1711 - _TASKQUEUEPARTITIONMETADATA._serialized_start = 1713 - _TASKQUEUEPARTITIONMETADATA._serialized_end = 1779 - _POLLERINFO._serialized_start = 1782 - _POLLERINFO._serialized_end = 2064 - _STICKYEXECUTIONATTRIBUTES._serialized_start = 2067 - _STICKYEXECUTIONATTRIBUTES._serialized_end = 2221 - _COMPATIBLEVERSIONSET._serialized_start = 2223 - _COMPATIBLEVERSIONSET._serialized_end = 2264 - _TASKQUEUEREACHABILITY._serialized_start = 2266 - _TASKQUEUEREACHABILITY._serialized_end = 2372 - _BUILDIDREACHABILITY._serialized_start = 2374 - _BUILDIDREACHABILITY._serialized_end = 2496 - _RAMPBYPERCENTAGE._serialized_start = 2498 - _RAMPBYPERCENTAGE._serialized_end = 2541 - _BUILDIDASSIGNMENTRULE._serialized_start = 2544 - _BUILDIDASSIGNMENTRULE._serialized_end = 2672 - _COMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2674 - _COMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 2755 - _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_start = 2758 - _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_end = 2905 - _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2908 - _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 3071 - _POLLERGROUPINFO._serialized_start = 3073 - _POLLERGROUPINFO._serialized_end = 3118 - _POLLERSCALINGDECISION._serialized_start = 3120 - _POLLERSCALINGDECISION._serialized_end = 3182 - _RATELIMIT._serialized_start = 3184 - _RATELIMIT._serialized_end = 3224 - _CONFIGMETADATA._serialized_start = 3226 - _CONFIGMETADATA._serialized_end = 3332 - _RATELIMITCONFIG._serialized_start = 3335 - _RATELIMITCONFIG._serialized_end = 3471 - _TASKQUEUECONFIG._serialized_start = 3474 - _TASKQUEUECONFIG._serialized_end = 3819 - _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._serialized_start = 3757 - _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._serialized_end = 3819 + _globals["_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY"]._loaded_options = None + _globals[ + "_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY" + ]._serialized_options = b"8\001" + _globals["_TASKQUEUE"]._serialized_start = 287 + _globals["_TASKQUEUE"]._serialized_end = 385 + _globals["_TASKQUEUEMETADATA"]._serialized_start = 387 + _globals["_TASKQUEUEMETADATA"]._serialized_end = 466 + _globals["_TASKQUEUEVERSIONINGINFO"]._serialized_start = 469 + _globals["_TASKQUEUEVERSIONINGINFO"]._serialized_end = 815 + _globals["_TASKQUEUEVERSIONSELECTION"]._serialized_start = 817 + _globals["_TASKQUEUEVERSIONSELECTION"]._serialized_end = 904 + _globals["_TASKQUEUEVERSIONINFO"]._serialized_start = 907 + _globals["_TASKQUEUEVERSIONINFO"]._serialized_end = 1184 + _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._serialized_start = 1090 + _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._serialized_end = 1184 + _globals["_TASKQUEUETYPEINFO"]._serialized_start = 1187 + _globals["_TASKQUEUETYPEINFO"]._serialized_end = 1320 + _globals["_TASKQUEUESTATS"]._serialized_start = 1323 + _globals["_TASKQUEUESTATS"]._serialized_end = 1487 + _globals["_TASKQUEUESTATUS"]._serialized_start = 1490 + _globals["_TASKQUEUESTATUS"]._serialized_end = 1662 + _globals["_TASKIDBLOCK"]._serialized_start = 1664 + _globals["_TASKIDBLOCK"]._serialized_end = 1711 + _globals["_TASKQUEUEPARTITIONMETADATA"]._serialized_start = 1713 + _globals["_TASKQUEUEPARTITIONMETADATA"]._serialized_end = 1779 + _globals["_POLLERINFO"]._serialized_start = 1782 + _globals["_POLLERINFO"]._serialized_end = 2064 + _globals["_STICKYEXECUTIONATTRIBUTES"]._serialized_start = 2067 + _globals["_STICKYEXECUTIONATTRIBUTES"]._serialized_end = 2221 + _globals["_COMPATIBLEVERSIONSET"]._serialized_start = 2223 + _globals["_COMPATIBLEVERSIONSET"]._serialized_end = 2264 + _globals["_TASKQUEUEREACHABILITY"]._serialized_start = 2266 + _globals["_TASKQUEUEREACHABILITY"]._serialized_end = 2372 + _globals["_BUILDIDREACHABILITY"]._serialized_start = 2374 + _globals["_BUILDIDREACHABILITY"]._serialized_end = 2496 + _globals["_RAMPBYPERCENTAGE"]._serialized_start = 2498 + _globals["_RAMPBYPERCENTAGE"]._serialized_end = 2541 + _globals["_BUILDIDASSIGNMENTRULE"]._serialized_start = 2544 + _globals["_BUILDIDASSIGNMENTRULE"]._serialized_end = 2672 + _globals["_COMPATIBLEBUILDIDREDIRECTRULE"]._serialized_start = 2674 + _globals["_COMPATIBLEBUILDIDREDIRECTRULE"]._serialized_end = 2755 + _globals["_TIMESTAMPEDBUILDIDASSIGNMENTRULE"]._serialized_start = 2758 + _globals["_TIMESTAMPEDBUILDIDASSIGNMENTRULE"]._serialized_end = 2905 + _globals["_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE"]._serialized_start = 2908 + _globals["_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE"]._serialized_end = 3071 + _globals["_POLLERGROUPINFO"]._serialized_start = 3073 + _globals["_POLLERGROUPINFO"]._serialized_end = 3118 + _globals["_POLLERSCALINGDECISION"]._serialized_start = 3120 + _globals["_POLLERSCALINGDECISION"]._serialized_end = 3182 + _globals["_RATELIMIT"]._serialized_start = 3184 + _globals["_RATELIMIT"]._serialized_end = 3224 + _globals["_CONFIGMETADATA"]._serialized_start = 3226 + _globals["_CONFIGMETADATA"]._serialized_end = 3332 + _globals["_RATELIMITCONFIG"]._serialized_start = 3335 + _globals["_RATELIMITCONFIG"]._serialized_end = 3471 + _globals["_TASKQUEUECONFIG"]._serialized_start = 3474 + _globals["_TASKQUEUECONFIG"]._serialized_end = 3819 + _globals["_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY"]._serialized_start = 3757 + _globals["_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY"]._serialized_end = 3819 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/taskqueue/v1/message_pb2.pyi b/temporalio/api/taskqueue/v1/message_pb2.pyi index e614430d6..7e0d840a9 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.pyi +++ b/temporalio/api/taskqueue/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -18,13 +19,14 @@ import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.task_queue_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class TaskQueue(google.protobuf.message.Message): """See https://docs.temporal.io/docs/concepts/task-queues/""" @@ -49,13 +51,14 @@ class TaskQueue(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "kind", b"kind", "name", b"name", "normal_name", b"normal_name" ], ) -> None: ... -global___TaskQueue = TaskQueue +Global___TaskQueue: typing_extensions.TypeAlias = TaskQueue +@typing.final class TaskQueueMetadata(google.protobuf.message.Message): """Only applies to activity task queues""" @@ -65,6 +68,7 @@ class TaskQueueMetadata(google.protobuf.message.Message): @property def max_tasks_per_second(self) -> google.protobuf.wrappers_pb2.DoubleValue: """Allows throttling dispatch of tasks from this queue""" + def __init__( self, *, @@ -72,19 +76,16 @@ class TaskQueueMetadata(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "max_tasks_per_second", b"max_tasks_per_second" - ], + field_name: typing.Literal["max_tasks_per_second", b"max_tasks_per_second"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "max_tasks_per_second", b"max_tasks_per_second" - ], + field_name: typing.Literal["max_tasks_per_second", b"max_tasks_per_second"], ) -> None: ... -global___TaskQueueMetadata = TaskQueueMetadata +Global___TaskQueueMetadata: typing_extensions.TypeAlias = TaskQueueMetadata +@typing.final class TaskQueueVersioningInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -94,6 +95,16 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): RAMPING_VERSION_FIELD_NUMBER: builtins.int RAMPING_VERSION_PERCENTAGE_FIELD_NUMBER: builtins.int UPDATE_TIME_FIELD_NUMBER: builtins.int + current_version: builtins.str + """Deprecated. Use `current_deployment_version`.""" + ramping_version: builtins.str + """Deprecated. Use `ramping_deployment_version`.""" + ramping_version_percentage: builtins.float + """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. + Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but + not yet "promoted" to be the Current Version, likely due to pending validations. + A 0% value means the Ramping Version is receiving no traffic. + """ @property def current_deployment_version( self, @@ -104,8 +115,7 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). """ - current_version: builtins.str - """Deprecated. Use `current_deployment_version`.""" + @property def ramping_deployment_version( self, @@ -116,17 +126,11 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): Note that it is possible to ramp from one Version to another Version, or from unversioned workers to a particular Version, or from a particular Version to unversioned workers. """ - ramping_version: builtins.str - """Deprecated. Use `ramping_deployment_version`.""" - ramping_version_percentage: builtins.float - """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. - Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but - not yet "promoted" to be the Current Version, likely due to pending validations. - A 0% value means the Ramping Version is receiving no traffic. - """ + @property def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time versioning information of this Task Queue changed.""" + def __init__( self, *, @@ -141,7 +145,7 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_version", b"current_deployment_version", "ramping_deployment_version", @@ -152,7 +156,7 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_version", b"current_deployment_version", "current_version", @@ -168,8 +172,9 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): ], ) -> None: ... -global___TaskQueueVersioningInfo = TaskQueueVersioningInfo +Global___TaskQueueVersioningInfo: typing_extensions.TypeAlias = TaskQueueVersioningInfo +@typing.final class TaskQueueVersionSelection(google.protobuf.message.Message): """Used for specifying versions the caller is interested in.""" @@ -178,17 +183,18 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): BUILD_IDS_FIELD_NUMBER: builtins.int UNVERSIONED_FIELD_NUMBER: builtins.int ALL_ACTIVE_FIELD_NUMBER: builtins.int - @property - def build_ids( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """Include specific Build IDs.""" unversioned: builtins.bool """Include the unversioned queue.""" all_active: builtins.bool """Include all active versions. A version is considered active if, in the last few minutes, it has had new tasks or polls, or it has been the subject of certain task queue API calls. """ + @property + def build_ids( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """Include specific Build IDs.""" + def __init__( self, *, @@ -198,7 +204,7 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all_active", b"all_active", "build_ids", @@ -208,11 +214,15 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): ], ) -> None: ... -global___TaskQueueVersionSelection = TaskQueueVersionSelection +Global___TaskQueueVersionSelection: typing_extensions.TypeAlias = ( + TaskQueueVersionSelection +) +@typing.final class TaskQueueVersionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class TypesInfoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -220,30 +230,22 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.int @property - def value(self) -> global___TaskQueueTypeInfo: ... + def value(self) -> Global___TaskQueueTypeInfo: ... def __init__( self, *, key: builtins.int = ..., - value: global___TaskQueueTypeInfo | None = ..., + value: Global___TaskQueueTypeInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... TYPES_INFO_FIELD_NUMBER: builtins.int TASK_REACHABILITY_FIELD_NUMBER: builtins.int - @property - def types_info( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.int, global___TaskQueueTypeInfo - ]: - """Task Queue info per Task Type. Key is the numerical value of the temporalio.api.enums.v1.TaskQueueType enum.""" task_reachability: ( temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType ) @@ -257,22 +259,31 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well. """ + @property + def types_info( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.int, Global___TaskQueueTypeInfo + ]: + """Task Queue info per Task Type. Key is the numerical value of the temporalio.api.enums.v1.TaskQueueType enum.""" + def __init__( self, *, - types_info: collections.abc.Mapping[builtins.int, global___TaskQueueTypeInfo] + types_info: collections.abc.Mapping[builtins.int, Global___TaskQueueTypeInfo] | None = ..., task_reachability: temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "task_reachability", b"task_reachability", "types_info", b"types_info" ], ) -> None: ... -global___TaskQueueVersionInfo = TaskQueueVersionInfo +Global___TaskQueueVersionInfo: typing_extensions.TypeAlias = TaskQueueVersionInfo +@typing.final class TaskQueueTypeInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -282,27 +293,28 @@ class TaskQueueTypeInfo(google.protobuf.message.Message): def pollers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PollerInfo + Global___PollerInfo ]: """Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID.""" + @property - def stats(self) -> global___TaskQueueStats: ... + def stats(self) -> Global___TaskQueueStats: ... def __init__( self, *, - pollers: collections.abc.Iterable[global___PollerInfo] | None = ..., - stats: global___TaskQueueStats | None = ..., + pollers: collections.abc.Iterable[Global___PollerInfo] | None = ..., + stats: Global___TaskQueueStats | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["stats", b"stats"] + self, field_name: typing.Literal["stats", b"stats"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["pollers", b"pollers", "stats", b"stats"], + self, field_name: typing.Literal["pollers", b"pollers", "stats", b"stats"] ) -> None: ... -global___TaskQueueTypeInfo = TaskQueueTypeInfo +Global___TaskQueueTypeInfo: typing_extensions.TypeAlias = TaskQueueTypeInfo +@typing.final class TaskQueueStats(google.protobuf.message.Message): """TaskQueueStats contains statistics about task queue backlog and activity. @@ -324,15 +336,6 @@ class TaskQueueStats(google.protobuf.message.Message): those tasks only remain valid for a few seconds, the inaccuracy becomes less significant as the backlog size grows. """ - @property - def approximate_backlog_age(self) -> google.protobuf.duration_pb2.Duration: - """Approximate age of the oldest task in the backlog based on the creation time of the task at the head of - the queue. Can be relied upon for scaling decisions. - - Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because - those tasks only remain valid for a few seconds, they should not affect the result when backlog is older than - few seconds. - """ tasks_add_rate: builtins.float """The approximate tasks per second added to the task queue, averaging the last 30 seconds. These includes tasks whether or not they were added to/dispatched from the backlog or they were dispatched immediately without going @@ -365,6 +368,16 @@ class TaskQueueStats(google.protobuf.message.Message): workflow goes to a normal queue, and the rest workflow tasks go to the Sticky queue associated with a specific worker instance. """ + @property + def approximate_backlog_age(self) -> google.protobuf.duration_pb2.Duration: + """Approximate age of the oldest task in the backlog based on the creation time of the task at the head of + the queue. Can be relied upon for scaling decisions. + + Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because + those tasks only remain valid for a few seconds, they should not affect the result when backlog is older than + few seconds. + """ + def __init__( self, *, @@ -375,13 +388,13 @@ class TaskQueueStats(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "approximate_backlog_age", b"approximate_backlog_age" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "approximate_backlog_age", b"approximate_backlog_age", "approximate_backlog_count", @@ -393,8 +406,9 @@ class TaskQueueStats(google.protobuf.message.Message): ], ) -> None: ... -global___TaskQueueStats = TaskQueueStats +Global___TaskQueueStats: typing_extensions.TypeAlias = TaskQueueStats +@typing.final class TaskQueueStatus(google.protobuf.message.Message): """Deprecated. Use `InternalTaskQueueStatus`. This is kept until `DescribeTaskQueue` supports legacy behavior.""" @@ -410,7 +424,7 @@ class TaskQueueStatus(google.protobuf.message.Message): ack_level: builtins.int rate_per_second: builtins.float @property - def task_id_block(self) -> global___TaskIdBlock: ... + def task_id_block(self) -> Global___TaskIdBlock: ... def __init__( self, *, @@ -418,14 +432,14 @@ class TaskQueueStatus(google.protobuf.message.Message): read_level: builtins.int = ..., ack_level: builtins.int = ..., rate_per_second: builtins.float = ..., - task_id_block: global___TaskIdBlock | None = ..., + task_id_block: Global___TaskIdBlock | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["task_id_block", b"task_id_block"] + self, field_name: typing.Literal["task_id_block", b"task_id_block"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "ack_level", b"ack_level", "backlog_count_hint", @@ -439,8 +453,9 @@ class TaskQueueStatus(google.protobuf.message.Message): ], ) -> None: ... -global___TaskQueueStatus = TaskQueueStatus +Global___TaskQueueStatus: typing_extensions.TypeAlias = TaskQueueStatus +@typing.final class TaskIdBlock(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -455,14 +470,12 @@ class TaskIdBlock(google.protobuf.message.Message): end_id: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "end_id", b"end_id", "start_id", b"start_id" - ], + self, field_name: typing.Literal["end_id", b"end_id", "start_id", b"start_id"] ) -> None: ... -global___TaskIdBlock = TaskIdBlock +Global___TaskIdBlock: typing_extensions.TypeAlias = TaskIdBlock +@typing.final class TaskQueuePartitionMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -478,13 +491,16 @@ class TaskQueuePartitionMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "key", b"key", "owner_host_name", b"owner_host_name" ], ) -> None: ... -global___TaskQueuePartitionMetadata = TaskQueuePartitionMetadata +Global___TaskQueuePartitionMetadata: typing_extensions.TypeAlias = ( + TaskQueuePartitionMetadata +) +@typing.final class PollerInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -493,11 +509,11 @@ class PollerInfo(google.protobuf.message.Message): RATE_PER_SECOND_FIELD_NUMBER: builtins.int WORKER_VERSION_CAPABILITIES_FIELD_NUMBER: builtins.int DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int - @property - def last_access_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... identity: builtins.str rate_per_second: builtins.float @property + def last_access_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property def worker_version_capabilities( self, ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: @@ -505,11 +521,13 @@ class PollerInfo(google.protobuf.message.Message): appear here. Deprecated. Replaced by deployment_options. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that SDK sent to server.""" + def __init__( self, *, @@ -523,7 +541,7 @@ class PollerInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "last_access_time", @@ -534,7 +552,7 @@ class PollerInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "identity", @@ -548,29 +566,31 @@ class PollerInfo(google.protobuf.message.Message): ], ) -> None: ... -global___PollerInfo = PollerInfo +Global___PollerInfo: typing_extensions.TypeAlias = PollerInfo +@typing.final class StickyExecutionAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKER_TASK_QUEUE_FIELD_NUMBER: builtins.int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER: builtins.int @property - def worker_task_queue(self) -> global___TaskQueue: ... + def worker_task_queue(self) -> Global___TaskQueue: ... @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + def __init__( self, *, - worker_task_queue: global___TaskQueue | None = ..., + worker_task_queue: Global___TaskQueue | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", @@ -579,7 +599,7 @@ class StickyExecutionAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", @@ -587,8 +607,11 @@ class StickyExecutionAttributes(google.protobuf.message.Message): ], ) -> None: ... -global___StickyExecutionAttributes = StickyExecutionAttributes +Global___StickyExecutionAttributes: typing_extensions.TypeAlias = ( + StickyExecutionAttributes +) +@typing.final class CompatibleVersionSet(google.protobuf.message.Message): """Used by the worker versioning APIs, represents an unordered set of one or more versions which are considered to be compatible with each other. Currently the versions are always worker build IDs. @@ -602,17 +625,19 @@ class CompatibleVersionSet(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """All the compatible versions, unordered, except for the last element, which is considered the set "default".""" + def __init__( self, *, build_ids: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["build_ids", b"build_ids"] + self, field_name: typing.Literal["build_ids", b"build_ids"] ) -> None: ... -global___CompatibleVersionSet = CompatibleVersionSet +Global___CompatibleVersionSet: typing_extensions.TypeAlias = CompatibleVersionSet +@typing.final class TaskQueueReachability(google.protobuf.message.Message): """Reachability of tasks for a worker on a single task queue.""" @@ -631,6 +656,7 @@ class TaskQueueReachability(google.protobuf.message.Message): See the TaskReachability docstring for information about each enum variant. If reachability is empty, this worker is considered unreachable in this task queue. """ + def __init__( self, *, @@ -642,13 +668,14 @@ class TaskQueueReachability(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "reachability", b"reachability", "task_queue", b"task_queue" ], ) -> None: ... -global___TaskQueueReachability = TaskQueueReachability +Global___TaskQueueReachability: typing_extensions.TypeAlias = TaskQueueReachability +@typing.final class BuildIdReachability(google.protobuf.message.Message): """Reachability of tasks for a worker by build id, in one or more task queues.""" @@ -662,21 +689,22 @@ class BuildIdReachability(google.protobuf.message.Message): def task_queue_reachability( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___TaskQueueReachability + Global___TaskQueueReachability ]: """Reachability per task queue.""" + def __init__( self, *, build_id: builtins.str = ..., task_queue_reachability: collections.abc.Iterable[ - global___TaskQueueReachability + Global___TaskQueueReachability ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "task_queue_reachability", @@ -684,8 +712,9 @@ class BuildIdReachability(google.protobuf.message.Message): ], ) -> None: ... -global___BuildIdReachability = BuildIdReachability +Global___BuildIdReachability: typing_extensions.TypeAlias = BuildIdReachability +@typing.final class RampByPercentage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -698,12 +727,12 @@ class RampByPercentage(google.protobuf.message.Message): ramp_percentage: builtins.float = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["ramp_percentage", b"ramp_percentage"], + self, field_name: typing.Literal["ramp_percentage", b"ramp_percentage"] ) -> None: ... -global___RampByPercentage = RampByPercentage +Global___RampByPercentage: typing_extensions.TypeAlias = RampByPercentage +@typing.final class BuildIdAssignmentRule(google.protobuf.message.Message): """Assignment rules are applied to *new* Workflow and Activity executions at schedule time to assign them to a Build ID. @@ -750,26 +779,27 @@ class BuildIdAssignmentRule(google.protobuf.message.Message): PERCENTAGE_RAMP_FIELD_NUMBER: builtins.int target_build_id: builtins.str @property - def percentage_ramp(self) -> global___RampByPercentage: + def percentage_ramp(self) -> Global___RampByPercentage: """This ramp is useful for gradual Blue/Green deployments (and similar) where you want to send a certain portion of the traffic to the target Build ID. """ + def __init__( self, *, target_build_id: builtins.str = ..., - percentage_ramp: global___RampByPercentage | None = ..., + percentage_ramp: Global___RampByPercentage | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "percentage_ramp", b"percentage_ramp", "ramp", b"ramp" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "percentage_ramp", b"percentage_ramp", "ramp", @@ -779,11 +809,12 @@ class BuildIdAssignmentRule(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["ramp", b"ramp"] - ) -> typing_extensions.Literal["percentage_ramp"] | None: ... + self, oneof_group: typing.Literal["ramp", b"ramp"] + ) -> typing.Literal["percentage_ramp"] | None: ... -global___BuildIdAssignmentRule = BuildIdAssignmentRule +Global___BuildIdAssignmentRule: typing_extensions.TypeAlias = BuildIdAssignmentRule +@typing.final class CompatibleBuildIdRedirectRule(google.protobuf.message.Message): """These rules apply to tasks assigned to a particular Build ID (`source_build_id`) to redirect them to another *compatible* Build ID @@ -826,75 +857,70 @@ class CompatibleBuildIdRedirectRule(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "source_build_id", b"source_build_id", "target_build_id", b"target_build_id" ], ) -> None: ... -global___CompatibleBuildIdRedirectRule = CompatibleBuildIdRedirectRule +Global___CompatibleBuildIdRedirectRule: typing_extensions.TypeAlias = ( + CompatibleBuildIdRedirectRule +) +@typing.final class TimestampedBuildIdAssignmentRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULE_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int @property - def rule(self) -> global___BuildIdAssignmentRule: ... + def rule(self) -> Global___BuildIdAssignmentRule: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - rule: global___BuildIdAssignmentRule | None = ..., + rule: Global___BuildIdAssignmentRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], + self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], + self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] ) -> None: ... -global___TimestampedBuildIdAssignmentRule = TimestampedBuildIdAssignmentRule +Global___TimestampedBuildIdAssignmentRule: typing_extensions.TypeAlias = ( + TimestampedBuildIdAssignmentRule +) +@typing.final class TimestampedCompatibleBuildIdRedirectRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULE_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int @property - def rule(self) -> global___CompatibleBuildIdRedirectRule: ... + def rule(self) -> Global___CompatibleBuildIdRedirectRule: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - rule: global___CompatibleBuildIdRedirectRule | None = ..., + rule: Global___CompatibleBuildIdRedirectRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], + self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "create_time", b"create_time", "rule", b"rule" - ], + self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] ) -> None: ... -global___TimestampedCompatibleBuildIdRedirectRule = ( +Global___TimestampedCompatibleBuildIdRedirectRule: typing_extensions.TypeAlias = ( TimestampedCompatibleBuildIdRedirectRule ) +@typing.final class PollerGroupInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -909,11 +935,12 @@ class PollerGroupInfo(google.protobuf.message.Message): weight: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["id", b"id", "weight", b"weight"] + self, field_name: typing.Literal["id", b"id", "weight", b"weight"] ) -> None: ... -global___PollerGroupInfo = PollerGroupInfo +Global___PollerGroupInfo: typing_extensions.TypeAlias = PollerGroupInfo +@typing.final class PollerScalingDecision(google.protobuf.message.Message): """Attached to task responses to give hints to the SDK about how it may adjust its number of pollers. @@ -937,13 +964,14 @@ class PollerScalingDecision(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "poll_request_delta_suggestion", b"poll_request_delta_suggestion" ], ) -> None: ... -global___PollerScalingDecision = PollerScalingDecision +Global___PollerScalingDecision: typing_extensions.TypeAlias = PollerScalingDecision +@typing.final class RateLimit(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -956,14 +984,12 @@ class RateLimit(google.protobuf.message.Message): requests_per_second: builtins.float = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "requests_per_second", b"requests_per_second" - ], + self, field_name: typing.Literal["requests_per_second", b"requests_per_second"] ) -> None: ... -global___RateLimit = RateLimit +Global___RateLimit: typing_extensions.TypeAlias = RateLimit +@typing.final class ConfigMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -979,6 +1005,7 @@ class ConfigMetadata(google.protobuf.message.Message): @property def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time of the last update.""" + def __init__( self, *, @@ -987,11 +1014,11 @@ class ConfigMetadata(google.protobuf.message.Message): update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["update_time", b"update_time"] + self, field_name: typing.Literal["update_time", b"update_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "reason", b"reason", "update_identity", @@ -1001,41 +1028,44 @@ class ConfigMetadata(google.protobuf.message.Message): ], ) -> None: ... -global___ConfigMetadata = ConfigMetadata +Global___ConfigMetadata: typing_extensions.TypeAlias = ConfigMetadata +@typing.final class RateLimitConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RATE_LIMIT_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int @property - def rate_limit(self) -> global___RateLimit: ... + def rate_limit(self) -> Global___RateLimit: ... @property - def metadata(self) -> global___ConfigMetadata: ... + def metadata(self) -> Global___ConfigMetadata: ... def __init__( self, *, - rate_limit: global___RateLimit | None = ..., - metadata: global___ConfigMetadata | None = ..., + rate_limit: Global___RateLimit | None = ..., + metadata: Global___ConfigMetadata | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "metadata", b"metadata", "rate_limit", b"rate_limit" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "metadata", b"metadata", "rate_limit", b"rate_limit" ], ) -> None: ... -global___RateLimitConfig = RateLimitConfig +Global___RateLimitConfig: typing_extensions.TypeAlias = RateLimitConfig +@typing.final class TaskQueueConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class FairnessWeightOverridesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1050,35 +1080,37 @@ class TaskQueueConfig(google.protobuf.message.Message): value: builtins.float = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... QUEUE_RATE_LIMIT_FIELD_NUMBER: builtins.int FAIRNESS_KEYS_RATE_LIMIT_DEFAULT_FIELD_NUMBER: builtins.int FAIRNESS_WEIGHT_OVERRIDES_FIELD_NUMBER: builtins.int @property - def queue_rate_limit(self) -> global___RateLimitConfig: + def queue_rate_limit(self) -> Global___RateLimitConfig: """Unless modified, this is the system-defined rate limit.""" + @property - def fairness_keys_rate_limit_default(self) -> global___RateLimitConfig: + def fairness_keys_rate_limit_default(self) -> Global___RateLimitConfig: """If set, each individual fairness key will be limited to this rate, scaled by the weight of the fairness key.""" + @property def fairness_weight_overrides( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.float]: """If set, overrides the fairness weights for the corresponding fairness keys.""" + def __init__( self, *, - queue_rate_limit: global___RateLimitConfig | None = ..., - fairness_keys_rate_limit_default: global___RateLimitConfig | None = ..., + queue_rate_limit: Global___RateLimitConfig | None = ..., + fairness_keys_rate_limit_default: Global___RateLimitConfig | None = ..., fairness_weight_overrides: collections.abc.Mapping[builtins.str, builtins.float] | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "queue_rate_limit", @@ -1087,7 +1119,7 @@ class TaskQueueConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "fairness_weight_overrides", @@ -1097,4 +1129,4 @@ class TaskQueueConfig(google.protobuf.message.Message): ], ) -> None: ... -global___TaskQueueConfig = TaskQueueConfig +Global___TaskQueueConfig: typing_extensions.TypeAlias = TaskQueueConfig diff --git a/temporalio/api/testservice/v1/request_response_pb2.py b/temporalio/api/testservice/v1/request_response_pb2.py index 65e52f72a..4f84d9704 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.py +++ b/temporalio/api/testservice/v1/request_response_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/testservice/v1/request_response.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/testservice/v1/request_response.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,124 +31,30 @@ b'\n2temporal/api/testservice/v1/request_response.proto\x12\x1btemporal.api.testservice.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x19\n\x17LockTimeSkippingRequest"\x1a\n\x18LockTimeSkippingResponse"\x1b\n\x19UnlockTimeSkippingRequest"\x1c\n\x1aUnlockTimeSkippingResponse"B\n\x11SleepUntilRequest\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp";\n\x0cSleepRequest\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration"\x0f\n\rSleepResponse"B\n\x16GetCurrentTimeResponse\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xaa\x01\n\x1eio.temporal.api.testservice.v1B\x14RequestResponseProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' ) - -_LOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name["LockTimeSkippingRequest"] -_LOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name["LockTimeSkippingResponse"] -_UNLOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name[ - "UnlockTimeSkippingRequest" -] -_UNLOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name[ - "UnlockTimeSkippingResponse" -] -_SLEEPUNTILREQUEST = DESCRIPTOR.message_types_by_name["SleepUntilRequest"] -_SLEEPREQUEST = DESCRIPTOR.message_types_by_name["SleepRequest"] -_SLEEPRESPONSE = DESCRIPTOR.message_types_by_name["SleepResponse"] -_GETCURRENTTIMERESPONSE = DESCRIPTOR.message_types_by_name["GetCurrentTimeResponse"] -LockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( - "LockTimeSkippingRequest", - (_message.Message,), - { - "DESCRIPTOR": _LOCKTIMESKIPPINGREQUEST, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingRequest) - }, -) -_sym_db.RegisterMessage(LockTimeSkippingRequest) - -LockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( - "LockTimeSkippingResponse", - (_message.Message,), - { - "DESCRIPTOR": _LOCKTIMESKIPPINGRESPONSE, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingResponse) - }, -) -_sym_db.RegisterMessage(LockTimeSkippingResponse) - -UnlockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( - "UnlockTimeSkippingRequest", - (_message.Message,), - { - "DESCRIPTOR": _UNLOCKTIMESKIPPINGREQUEST, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingRequest) - }, -) -_sym_db.RegisterMessage(UnlockTimeSkippingRequest) - -UnlockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( - "UnlockTimeSkippingResponse", - (_message.Message,), - { - "DESCRIPTOR": _UNLOCKTIMESKIPPINGRESPONSE, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingResponse) - }, -) -_sym_db.RegisterMessage(UnlockTimeSkippingResponse) - -SleepUntilRequest = _reflection.GeneratedProtocolMessageType( - "SleepUntilRequest", - (_message.Message,), - { - "DESCRIPTOR": _SLEEPUNTILREQUEST, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepUntilRequest) - }, -) -_sym_db.RegisterMessage(SleepUntilRequest) - -SleepRequest = _reflection.GeneratedProtocolMessageType( - "SleepRequest", - (_message.Message,), - { - "DESCRIPTOR": _SLEEPREQUEST, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepRequest) - }, -) -_sym_db.RegisterMessage(SleepRequest) - -SleepResponse = _reflection.GeneratedProtocolMessageType( - "SleepResponse", - (_message.Message,), - { - "DESCRIPTOR": _SLEEPRESPONSE, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepResponse) - }, -) -_sym_db.RegisterMessage(SleepResponse) - -GetCurrentTimeResponse = _reflection.GeneratedProtocolMessageType( - "GetCurrentTimeResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTTIMERESPONSE, - "__module__": "temporalio.api.testservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.GetCurrentTimeResponse) - }, -) -_sym_db.RegisterMessage(GetCurrentTimeResponse) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" - _LOCKTIMESKIPPINGREQUEST._serialized_start = 148 - _LOCKTIMESKIPPINGREQUEST._serialized_end = 173 - _LOCKTIMESKIPPINGRESPONSE._serialized_start = 175 - _LOCKTIMESKIPPINGRESPONSE._serialized_end = 201 - _UNLOCKTIMESKIPPINGREQUEST._serialized_start = 203 - _UNLOCKTIMESKIPPINGREQUEST._serialized_end = 230 - _UNLOCKTIMESKIPPINGRESPONSE._serialized_start = 232 - _UNLOCKTIMESKIPPINGRESPONSE._serialized_end = 260 - _SLEEPUNTILREQUEST._serialized_start = 262 - _SLEEPUNTILREQUEST._serialized_end = 328 - _SLEEPREQUEST._serialized_start = 330 - _SLEEPREQUEST._serialized_end = 389 - _SLEEPRESPONSE._serialized_start = 391 - _SLEEPRESPONSE._serialized_end = 406 - _GETCURRENTTIMERESPONSE._serialized_start = 408 - _GETCURRENTTIMERESPONSE._serialized_end = 474 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.testservice.v1.request_response_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" + _globals["_LOCKTIMESKIPPINGREQUEST"]._serialized_start = 148 + _globals["_LOCKTIMESKIPPINGREQUEST"]._serialized_end = 173 + _globals["_LOCKTIMESKIPPINGRESPONSE"]._serialized_start = 175 + _globals["_LOCKTIMESKIPPINGRESPONSE"]._serialized_end = 201 + _globals["_UNLOCKTIMESKIPPINGREQUEST"]._serialized_start = 203 + _globals["_UNLOCKTIMESKIPPINGREQUEST"]._serialized_end = 230 + _globals["_UNLOCKTIMESKIPPINGRESPONSE"]._serialized_start = 232 + _globals["_UNLOCKTIMESKIPPINGRESPONSE"]._serialized_end = 260 + _globals["_SLEEPUNTILREQUEST"]._serialized_start = 262 + _globals["_SLEEPUNTILREQUEST"]._serialized_end = 328 + _globals["_SLEEPREQUEST"]._serialized_start = 330 + _globals["_SLEEPREQUEST"]._serialized_end = 389 + _globals["_SLEEPRESPONSE"]._serialized_start = 391 + _globals["_SLEEPRESPONSE"]._serialized_end = 406 + _globals["_GETCURRENTTIMERESPONSE"]._serialized_start = 408 + _globals["_GETCURRENTTIMERESPONSE"]._serialized_end = 474 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/request_response_pb2.pyi b/temporalio/api/testservice/v1/request_response_pb2.pyi index e86bba03d..2e119dbf3 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.pyi +++ b/temporalio/api/testservice/v1/request_response_pb2.pyi @@ -26,19 +26,21 @@ THE SOFTWARE. import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class LockTimeSkippingRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -46,8 +48,9 @@ class LockTimeSkippingRequest(google.protobuf.message.Message): self, ) -> None: ... -global___LockTimeSkippingRequest = LockTimeSkippingRequest +Global___LockTimeSkippingRequest: typing_extensions.TypeAlias = LockTimeSkippingRequest +@typing.final class LockTimeSkippingResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -55,8 +58,11 @@ class LockTimeSkippingResponse(google.protobuf.message.Message): self, ) -> None: ... -global___LockTimeSkippingResponse = LockTimeSkippingResponse +Global___LockTimeSkippingResponse: typing_extensions.TypeAlias = ( + LockTimeSkippingResponse +) +@typing.final class UnlockTimeSkippingRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -64,8 +70,11 @@ class UnlockTimeSkippingRequest(google.protobuf.message.Message): self, ) -> None: ... -global___UnlockTimeSkippingRequest = UnlockTimeSkippingRequest +Global___UnlockTimeSkippingRequest: typing_extensions.TypeAlias = ( + UnlockTimeSkippingRequest +) +@typing.final class UnlockTimeSkippingResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -73,8 +82,11 @@ class UnlockTimeSkippingResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UnlockTimeSkippingResponse = UnlockTimeSkippingResponse +Global___UnlockTimeSkippingResponse: typing_extensions.TypeAlias = ( + UnlockTimeSkippingResponse +) +@typing.final class SleepUntilRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -87,14 +99,15 @@ class SleepUntilRequest(google.protobuf.message.Message): timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] + self, field_name: typing.Literal["timestamp", b"timestamp"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] + self, field_name: typing.Literal["timestamp", b"timestamp"] ) -> None: ... -global___SleepUntilRequest = SleepUntilRequest +Global___SleepUntilRequest: typing_extensions.TypeAlias = SleepUntilRequest +@typing.final class SleepRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -107,14 +120,15 @@ class SleepRequest(google.protobuf.message.Message): duration: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["duration", b"duration"] + self, field_name: typing.Literal["duration", b"duration"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["duration", b"duration"] + self, field_name: typing.Literal["duration", b"duration"] ) -> None: ... -global___SleepRequest = SleepRequest +Global___SleepRequest: typing_extensions.TypeAlias = SleepRequest +@typing.final class SleepResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -122,8 +136,9 @@ class SleepResponse(google.protobuf.message.Message): self, ) -> None: ... -global___SleepResponse = SleepResponse +Global___SleepResponse: typing_extensions.TypeAlias = SleepResponse +@typing.final class GetCurrentTimeResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -136,10 +151,8 @@ class GetCurrentTimeResponse(google.protobuf.message.Message): time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["time", b"time"] + self, field_name: typing.Literal["time", b"time"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["time", b"time"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["time", b"time"]) -> None: ... -global___GetCurrentTimeResponse = GetCurrentTimeResponse +Global___GetCurrentTimeResponse: typing_extensions.TypeAlias = GetCurrentTimeResponse diff --git a/temporalio/api/testservice/v1/request_response_pb2_grpc.py b/temporalio/api/testservice/v1/request_response_pb2_grpc.py index bf947056a..94cca5a45 100644 --- a/temporalio/api/testservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/testservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,28 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc + +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/testservice/v1/request_response_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) diff --git a/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi index 4fb00c5be..3d9cd1b20 100644 --- a/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi @@ -23,3 +23,23 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ + +import abc +import collections.abc +import typing + +import grpc +import grpc.aio + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str diff --git a/temporalio/api/testservice/v1/service_pb2.py b/temporalio/api/testservice/v1/service_pb2.py index 86a4260fd..9762a18d7 100644 --- a/temporalio/api/testservice/v1/service_pb2.py +++ b/temporalio/api/testservice/v1/service_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/testservice/v1/service.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/testservice/v1/service.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,11 +34,16 @@ b'\n)temporal/api/testservice/v1/service.proto\x12\x1btemporal.api.testservice.v1\x1a\x32temporal/api/testservice/v1/request_response.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc2\x05\n\x0bTestService\x12\x81\x01\n\x10LockTimeSkipping\x12\x34.temporal.api.testservice.v1.LockTimeSkippingRequest\x1a\x35.temporal.api.testservice.v1.LockTimeSkippingResponse"\x00\x12\x87\x01\n\x12UnlockTimeSkipping\x12\x36.temporal.api.testservice.v1.UnlockTimeSkippingRequest\x1a\x37.temporal.api.testservice.v1.UnlockTimeSkippingResponse"\x00\x12`\n\x05Sleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12j\n\nSleepUntil\x12..temporal.api.testservice.v1.SleepUntilRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12v\n\x1bUnlockTimeSkippingWithSleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12_\n\x0eGetCurrentTime\x12\x16.google.protobuf.Empty\x1a\x33.temporal.api.testservice.v1.GetCurrentTimeResponse"\x00\x42\xa2\x01\n\x1eio.temporal.api.testservice.v1B\x0cServiceProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' ) - -_TESTSERVICE = DESCRIPTOR.services_by_name["TestService"] -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" - _TESTSERVICE._serialized_start = 156 - _TESTSERVICE._serialized_end = 862 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.testservice.v1.service_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" + _globals["_TESTSERVICE"]._serialized_start = 156 + _globals["_TESTSERVICE"]._serialized_end = 862 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.py b/temporalio/api/testservice/v1/service_pb2_grpc.py index 56893d1d1..57f72be32 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.py +++ b/temporalio/api/testservice/v1/service_pb2_grpc.py @@ -1,6 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 @@ -8,8 +10,30 @@ request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2, ) +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/testservice/v1/service_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) + -class TestServiceStub(object): +class TestServiceStub: """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -26,35 +50,41 @@ def __init__(self, channel): "/temporal.api.testservice.v1.TestService/LockTimeSkipping", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, + _registered_method=True, ) self.UnlockTimeSkipping = channel.unary_unary( "/temporal.api.testservice.v1.TestService/UnlockTimeSkipping", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, + _registered_method=True, ) self.Sleep = channel.unary_unary( "/temporal.api.testservice.v1.TestService/Sleep", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + _registered_method=True, ) self.SleepUntil = channel.unary_unary( "/temporal.api.testservice.v1.TestService/SleepUntil", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + _registered_method=True, ) self.UnlockTimeSkippingWithSleep = channel.unary_unary( "/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, + _registered_method=True, ) self.GetCurrentTime = channel.unary_unary( "/temporal.api.testservice.v1.TestService/GetCurrentTime", request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, + _registered_method=True, ) -class TestServiceServicer(object): +class TestServiceServicer: """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -166,10 +196,13 @@ def add_TestServiceServicer_to_server(servicer, server): "temporal.api.testservice.v1.TestService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers( + "temporal.api.testservice.v1.TestService", rpc_method_handlers + ) # This class is part of an EXPERIMENTAL API. -class TestService(object): +class TestService: """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -203,6 +236,7 @@ def LockTimeSkipping( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -232,6 +266,7 @@ def UnlockTimeSkipping( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -261,6 +296,7 @@ def Sleep( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -290,6 +326,7 @@ def SleepUntil( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -319,6 +356,7 @@ def UnlockTimeSkippingWithSleep( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -348,4 +386,5 @@ def GetCurrentTime( wait_for_ready, timeout, metadata, + _registered_method=True, ) diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.pyi b/temporalio/api/testservice/v1/service_pb2_grpc.pyi index f3162f003..b094a8342 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/testservice/v1/service_pb2_grpc.pyi @@ -25,24 +25,207 @@ THE SOFTWARE. """ import abc +import collections.abc +import sys +import typing import google.protobuf.empty_pb2 import grpc +import grpc.aio import temporalio.api.testservice.v1.request_response_pb2 -class TestServiceStub: +if sys.version_info >= (3, 13): + import typing as typing_extensions +else: + import typing_extensions + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str +_TestServiceLockTimeSkippingType = typing_extensions.TypeVar( + "_TestServiceLockTimeSkippingType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + ], +) + +_TestServiceUnlockTimeSkippingType = typing_extensions.TypeVar( + "_TestServiceUnlockTimeSkippingType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + ], +) + +_TestServiceSleepType = typing_extensions.TypeVar( + "_TestServiceSleepType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], +) + +_TestServiceSleepUntilType = typing_extensions.TypeVar( + "_TestServiceSleepUntilType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], +) + +_TestServiceUnlockTimeSkippingWithSleepType = typing_extensions.TypeVar( + "_TestServiceUnlockTimeSkippingWithSleepType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], +) + +_TestServiceGetCurrentTimeType = typing_extensions.TypeVar( + "_TestServiceGetCurrentTimeType", + grpc.UnaryUnaryMultiCallable[ + google.protobuf.empty_pb2.Empty, + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + google.protobuf.empty_pb2.Empty, + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + google.protobuf.empty_pb2.Empty, + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + ], +) + +class TestServiceStub( + typing.Generic[ + _TestServiceLockTimeSkippingType, + _TestServiceUnlockTimeSkippingType, + _TestServiceSleepType, + _TestServiceSleepUntilType, + _TestServiceUnlockTimeSkippingWithSleepType, + _TestServiceGetCurrentTimeType, + ] +): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. This is an EXPERIMENTAL API. """ - def __init__(self, channel: grpc.Channel) -> None: ... - LockTimeSkipping: grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - ] + @typing.overload + def __init__( + self: TestServiceStub[ + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.UnaryUnaryMultiCallable[ + google.protobuf.empty_pb2.Empty, + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + ], + ], + channel: grpc.Channel, + ) -> None: ... + @typing.overload + def __init__( + self: TestServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + google.protobuf.empty_pb2.Empty, + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + ], + ], + channel: grpc.aio.Channel, + ) -> None: ... + + LockTimeSkipping: _TestServiceLockTimeSkippingType """LockTimeSkipping increments Time Locking Counter by one. If Time Locking Counter is positive, time skipping is locked (disabled). @@ -51,10 +234,8 @@ class TestServiceStub: LockTimeSkipping and UnlockTimeSkipping calls are counted. """ - UnlockTimeSkipping: grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - ] + + UnlockTimeSkipping: _TestServiceUnlockTimeSkippingType """UnlockTimeSkipping decrements Time Locking Counter by one. If the counter reaches 0, it unlocks time skipping and fast forwards time. @@ -63,25 +244,19 @@ class TestServiceStub: Time Locking Counter can't be negative, unbalanced calls to UnlockTimeSkipping will lead to rpc call failure """ - Sleep: grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ] + + Sleep: _TestServiceSleepType """This call returns only when the Test Server Time advances by the specified duration. This is an EXPERIMENTAL API. """ - SleepUntil: grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ] + + SleepUntil: _TestServiceSleepUntilType """This call returns only when the Test Server Time advances to the specified timestamp. If the current Test Server Time is beyond the specified timestamp, returns immediately. This is an EXPERIMENTAL API. """ - UnlockTimeSkippingWithSleep: grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ] + + UnlockTimeSkippingWithSleep: _TestServiceUnlockTimeSkippingWithSleepType """UnlockTimeSkippingWhileSleep decreases time locking counter by one and increases it back once the Test Server Time advances by the duration specified in the request. @@ -92,15 +267,40 @@ class TestServiceStub: - 1, it will lead to fast forwarding of the time by the duration specified in the request and quick return of this rpc call. - 0 will lead to rpc call failure same way as an unbalanced UnlockTimeSkipping. """ - GetCurrentTime: grpc.UnaryUnaryMultiCallable[ - google.protobuf.empty_pb2.Empty, - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - ] + + GetCurrentTime: _TestServiceGetCurrentTimeType """GetCurrentTime returns the current Temporal Test Server time This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ +TestServiceAsyncStub: typing_extensions.TypeAlias = TestServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + google.protobuf.empty_pb2.Empty, + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + ], +] + class TestServiceServicer(metaclass=abc.ABCMeta): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -112,8 +312,13 @@ class TestServiceServicer(metaclass=abc.ABCMeta): def LockTimeSkipping( self, request: temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + collections.abc.Awaitable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse + ], + ]: """LockTimeSkipping increments Time Locking Counter by one. If Time Locking Counter is positive, time skipping is locked (disabled). @@ -122,12 +327,18 @@ class TestServiceServicer(metaclass=abc.ABCMeta): LockTimeSkipping and UnlockTimeSkipping calls are counted. """ + @abc.abstractmethod def UnlockTimeSkipping( self, request: temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + collections.abc.Awaitable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse + ], + ]: """UnlockTimeSkipping decrements Time Locking Counter by one. If the counter reaches 0, it unlocks time skipping and fast forwards time. @@ -136,31 +347,49 @@ class TestServiceServicer(metaclass=abc.ABCMeta): Time Locking Counter can't be negative, unbalanced calls to UnlockTimeSkipping will lead to rpc call failure """ + @abc.abstractmethod def Sleep( self, request: temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.testservice.v1.request_response_pb2.SleepResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + collections.abc.Awaitable[ + temporalio.api.testservice.v1.request_response_pb2.SleepResponse + ], + ]: """This call returns only when the Test Server Time advances by the specified duration. This is an EXPERIMENTAL API. """ + @abc.abstractmethod def SleepUntil( self, request: temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.testservice.v1.request_response_pb2.SleepResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + collections.abc.Awaitable[ + temporalio.api.testservice.v1.request_response_pb2.SleepResponse + ], + ]: """This call returns only when the Test Server Time advances to the specified timestamp. If the current Test Server Time is beyond the specified timestamp, returns immediately. This is an EXPERIMENTAL API. """ + @abc.abstractmethod def UnlockTimeSkippingWithSleep( self, request: temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.testservice.v1.request_response_pb2.SleepResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + collections.abc.Awaitable[ + temporalio.api.testservice.v1.request_response_pb2.SleepResponse + ], + ]: """UnlockTimeSkippingWhileSleep decreases time locking counter by one and increases it back once the Test Server Time advances by the duration specified in the request. @@ -171,17 +400,23 @@ class TestServiceServicer(metaclass=abc.ABCMeta): - 1, it will lead to fast forwarding of the time by the duration specified in the request and quick return of this rpc call. - 0 will lead to rpc call failure same way as an unbalanced UnlockTimeSkipping. """ + @abc.abstractmethod def GetCurrentTime( self, request: google.protobuf.empty_pb2.Empty, - context: grpc.ServicerContext, - ) -> temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + collections.abc.Awaitable[ + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse + ], + ]: """GetCurrentTime returns the current Temporal Test Server time This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ def add_TestServiceServicer_to_server( - servicer: TestServiceServicer, server: grpc.Server + servicer: TestServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server] ) -> None: ... diff --git a/temporalio/api/update/v1/message_pb2.py b/temporalio/api/update/v1/message_pb2.py index d136516bc..e374cc95f 100644 --- a/temporalio/api/update/v1/message_pb2.py +++ b/temporalio/api/update/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/update/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/update/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,134 +33,32 @@ b'\n$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto"c\n\nWaitPolicy\x12U\n\x0flifecycle_stage\x18\x01 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage"e\n\tUpdateRef\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x11\n\tupdate_id\x18\x02 \x01(\t"|\n\x07Outcome\x12\x33\n\x07success\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value"+\n\x04Meta\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t"u\n\x05Input\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe4\x01\n\x07Request\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12,\n\x05input\x18\x02 \x01(\x0b\x32\x1d.temporal.api.update.v1.Input\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12>\n\x14\x63ompletion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x05 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"\xcc\x01\n\tRejection\x12#\n\x1brejected_request_message_id\x18\x01 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10rejected_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x9a\x01\n\nAcceptance\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x01 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"h\n\x08Response\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.OutcomeB\x89\x01\n\x19io.temporal.api.update.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3' ) - -_WAITPOLICY = DESCRIPTOR.message_types_by_name["WaitPolicy"] -_UPDATEREF = DESCRIPTOR.message_types_by_name["UpdateRef"] -_OUTCOME = DESCRIPTOR.message_types_by_name["Outcome"] -_META = DESCRIPTOR.message_types_by_name["Meta"] -_INPUT = DESCRIPTOR.message_types_by_name["Input"] -_REQUEST = DESCRIPTOR.message_types_by_name["Request"] -_REJECTION = DESCRIPTOR.message_types_by_name["Rejection"] -_ACCEPTANCE = DESCRIPTOR.message_types_by_name["Acceptance"] -_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] -WaitPolicy = _reflection.GeneratedProtocolMessageType( - "WaitPolicy", - (_message.Message,), - { - "DESCRIPTOR": _WAITPOLICY, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.WaitPolicy) - }, -) -_sym_db.RegisterMessage(WaitPolicy) - -UpdateRef = _reflection.GeneratedProtocolMessageType( - "UpdateRef", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEREF, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.UpdateRef) - }, -) -_sym_db.RegisterMessage(UpdateRef) - -Outcome = _reflection.GeneratedProtocolMessageType( - "Outcome", - (_message.Message,), - { - "DESCRIPTOR": _OUTCOME, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Outcome) - }, -) -_sym_db.RegisterMessage(Outcome) - -Meta = _reflection.GeneratedProtocolMessageType( - "Meta", - (_message.Message,), - { - "DESCRIPTOR": _META, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Meta) - }, -) -_sym_db.RegisterMessage(Meta) - -Input = _reflection.GeneratedProtocolMessageType( - "Input", - (_message.Message,), - { - "DESCRIPTOR": _INPUT, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Input) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.update.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(Input) - -Request = _reflection.GeneratedProtocolMessageType( - "Request", - (_message.Message,), - { - "DESCRIPTOR": _REQUEST, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Request) - }, -) -_sym_db.RegisterMessage(Request) - -Rejection = _reflection.GeneratedProtocolMessageType( - "Rejection", - (_message.Message,), - { - "DESCRIPTOR": _REJECTION, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Rejection) - }, -) -_sym_db.RegisterMessage(Rejection) - -Acceptance = _reflection.GeneratedProtocolMessageType( - "Acceptance", - (_message.Message,), - { - "DESCRIPTOR": _ACCEPTANCE, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Acceptance) - }, -) -_sym_db.RegisterMessage(Acceptance) - -Response = _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "DESCRIPTOR": _RESPONSE, - "__module__": "temporalio.api.update.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Response) - }, -) -_sym_db.RegisterMessage(Response) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1" - _WAITPOLICY._serialized_start = 177 - _WAITPOLICY._serialized_end = 276 - _UPDATEREF._serialized_start = 278 - _UPDATEREF._serialized_end = 379 - _OUTCOME._serialized_start = 381 - _OUTCOME._serialized_end = 505 - _META._serialized_start = 507 - _META._serialized_end = 550 - _INPUT._serialized_start = 552 - _INPUT._serialized_end = 669 - _REQUEST._serialized_start = 672 - _REQUEST._serialized_end = 900 - _REJECTION._serialized_start = 903 - _REJECTION._serialized_end = 1107 - _ACCEPTANCE._serialized_start = 1110 - _ACCEPTANCE._serialized_end = 1264 - _RESPONSE._serialized_start = 1266 - _RESPONSE._serialized_end = 1370 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1" + _globals["_WAITPOLICY"]._serialized_start = 177 + _globals["_WAITPOLICY"]._serialized_end = 276 + _globals["_UPDATEREF"]._serialized_start = 278 + _globals["_UPDATEREF"]._serialized_end = 379 + _globals["_OUTCOME"]._serialized_start = 381 + _globals["_OUTCOME"]._serialized_end = 505 + _globals["_META"]._serialized_start = 507 + _globals["_META"]._serialized_end = 550 + _globals["_INPUT"]._serialized_start = 552 + _globals["_INPUT"]._serialized_end = 669 + _globals["_REQUEST"]._serialized_start = 672 + _globals["_REQUEST"]._serialized_end = 900 + _globals["_REJECTION"]._serialized_start = 903 + _globals["_REJECTION"]._serialized_end = 1107 + _globals["_ACCEPTANCE"]._serialized_start = 1110 + _globals["_ACCEPTANCE"]._serialized_end = 1264 + _globals["_RESPONSE"]._serialized_start = 1266 + _globals["_RESPONSE"]._serialized_end = 1370 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/update/v1/message_pb2.pyi b/temporalio/api/update/v1/message_pb2.pyi index de3c6682c..4e7e5a50e 100644 --- a/temporalio/api/update/v1/message_pb2.pyi +++ b/temporalio/api/update/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -15,13 +16,14 @@ import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.update_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WaitPolicy(google.protobuf.message.Message): """Specifies client's intent to wait for Update results.""" @@ -41,12 +43,12 @@ class WaitPolicy(google.protobuf.message.Message): lifecycle_stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["lifecycle_stage", b"lifecycle_stage"], + self, field_name: typing.Literal["lifecycle_stage", b"lifecycle_stage"] ) -> None: ... -global___WaitPolicy = WaitPolicy +Global___WaitPolicy: typing_extensions.TypeAlias = WaitPolicy +@typing.final class UpdateRef(google.protobuf.message.Message): """The data needed by a client to refer to a previously invoked Workflow Update.""" @@ -54,11 +56,11 @@ class UpdateRef(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int UPDATE_ID_FIELD_NUMBER: builtins.int + update_id: builtins.str @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - update_id: builtins.str def __init__( self, *, @@ -67,20 +69,18 @@ class UpdateRef(google.protobuf.message.Message): update_id: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_id", b"update_id", "workflow_execution", b"workflow_execution" ], ) -> None: ... -global___UpdateRef = UpdateRef +Global___UpdateRef: typing_extensions.TypeAlias = UpdateRef +@typing.final class Outcome(google.protobuf.message.Message): """The outcome of a Workflow Update: success or failure.""" @@ -100,22 +100,23 @@ class Outcome(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "success", b"success", "value", b"value" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "success", b"success", "value", b"value" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["value", b"value"] - ) -> typing_extensions.Literal["success", "failure"] | None: ... + self, oneof_group: typing.Literal["value", b"value"] + ) -> typing.Literal["success", "failure"] | None: ... -global___Outcome = Outcome +Global___Outcome: typing_extensions.TypeAlias = Outcome +@typing.final class Meta(google.protobuf.message.Message): """Metadata about a Workflow Update.""" @@ -135,29 +136,30 @@ class Meta(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "identity", b"identity", "update_id", b"update_id" - ], + field_name: typing.Literal["identity", b"identity", "update_id", b"update_id"], ) -> None: ... -global___Meta = Meta +Global___Meta: typing_extensions.TypeAlias = Meta +@typing.final class Input(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor HEADER_FIELD_NUMBER: builtins.int NAME_FIELD_NUMBER: builtins.int ARGS_FIELD_NUMBER: builtins.int + name: builtins.str + """The name of the Update handler to invoke on the target Workflow.""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the Update from the requesting entity. These can include things like auth or tracing tokens. """ - name: builtins.str - """The name of the Update handler to invoke on the target Workflow.""" + @property def args(self) -> temporalio.api.common.v1.message_pb2.Payloads: """The arguments to pass to the named Update handler.""" + def __init__( self, *, @@ -166,18 +168,18 @@ class Input(google.protobuf.message.Message): args: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["args", b"args", "header", b"header"], + self, field_name: typing.Literal["args", b"args", "header", b"header"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "args", b"args", "header", b"header", "name", b"name" ], ) -> None: ... -global___Input = Input +Global___Input: typing_extensions.TypeAlias = Input +@typing.final class Request(google.protobuf.message.Message): """The client request that triggers a Workflow Update.""" @@ -188,19 +190,20 @@ class Request(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int COMPLETION_CALLBACKS_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int - @property - def meta(self) -> global___Meta: ... - @property - def input(self) -> global___Input: ... request_id: builtins.str """The request ID of the request.""" @property + def meta(self) -> Global___Meta: ... + @property + def input(self) -> Global___Input: ... + @property def completion_callbacks( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Callback ]: """Callbacks to be called by the server when this update reaches a terminal state.""" + @property def links( self, @@ -208,11 +211,12 @@ class Request(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with this update.""" + def __init__( self, *, - meta: global___Meta | None = ..., - input: global___Input | None = ..., + meta: Global___Meta | None = ..., + input: Global___Input | None = ..., request_id: builtins.str = ..., completion_callbacks: collections.abc.Iterable[ temporalio.api.common.v1.message_pb2.Callback @@ -222,11 +226,11 @@ class Request(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"] + self, field_name: typing.Literal["input", b"input", "meta", b"meta"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "completion_callbacks", b"completion_callbacks", "input", @@ -240,8 +244,9 @@ class Request(google.protobuf.message.Message): ], ) -> None: ... -global___Request = Request +Global___Request: typing_extensions.TypeAlias = Request +@typing.final class Rejection(google.protobuf.message.Message): """An Update protocol message indicating that a Workflow Update has been rejected.""" @@ -254,7 +259,7 @@ class Rejection(google.protobuf.message.Message): rejected_request_message_id: builtins.str rejected_request_sequencing_event_id: builtins.int @property - def rejected_request(self) -> global___Request: ... + def rejected_request(self) -> Global___Request: ... @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... def __init__( @@ -262,18 +267,18 @@ class Rejection(google.protobuf.message.Message): *, rejected_request_message_id: builtins.str = ..., rejected_request_sequencing_event_id: builtins.int = ..., - rejected_request: global___Request | None = ..., + rejected_request: Global___Request | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "rejected_request", b"rejected_request" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "rejected_request", @@ -285,8 +290,9 @@ class Rejection(google.protobuf.message.Message): ], ) -> None: ... -global___Rejection = Rejection +Global___Rejection: typing_extensions.TypeAlias = Rejection +@typing.final class Acceptance(google.protobuf.message.Message): """An Update protocol message indicating that a Workflow Update has been accepted (i.e. passed the worker-side validation phase). @@ -300,21 +306,20 @@ class Acceptance(google.protobuf.message.Message): accepted_request_message_id: builtins.str accepted_request_sequencing_event_id: builtins.int @property - def accepted_request(self) -> global___Request: ... + def accepted_request(self) -> Global___Request: ... def __init__( self, *, accepted_request_message_id: builtins.str = ..., accepted_request_sequencing_event_id: builtins.int = ..., - accepted_request: global___Request | None = ..., + accepted_request: Global___Request | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], + self, field_name: typing.Literal["accepted_request", b"accepted_request"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "accepted_request", b"accepted_request", "accepted_request_message_id", @@ -324,8 +329,9 @@ class Acceptance(google.protobuf.message.Message): ], ) -> None: ... -global___Acceptance = Acceptance +Global___Acceptance: typing_extensions.TypeAlias = Acceptance +@typing.final class Response(google.protobuf.message.Message): """An Update protocol message indicating that a Workflow Update has completed with the contained outcome. @@ -336,22 +342,20 @@ class Response(google.protobuf.message.Message): META_FIELD_NUMBER: builtins.int OUTCOME_FIELD_NUMBER: builtins.int @property - def meta(self) -> global___Meta: ... + def meta(self) -> Global___Meta: ... @property - def outcome(self) -> global___Outcome: ... + def outcome(self) -> Global___Outcome: ... def __init__( self, *, - meta: global___Meta | None = ..., - outcome: global___Outcome | None = ..., + meta: Global___Meta | None = ..., + outcome: Global___Outcome | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], + self, field_name: typing.Literal["meta", b"meta", "outcome", b"outcome"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], + self, field_name: typing.Literal["meta", b"meta", "outcome", b"outcome"] ) -> None: ... -global___Response = Response +Global___Response: typing_extensions.TypeAlias = Response diff --git a/temporalio/api/version/v1/message_pb2.py b/temporalio/api/version/v1/message_pb2.py index e17a3ed9f..6dc3bab01 100644 --- a/temporalio/api/version/v1/message_pb2.py +++ b/temporalio/api/version/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/version/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/version/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -24,50 +34,20 @@ b'\n%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"temporal/api/enums/v1/common.proto"_\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x30\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05notes\x18\x03 \x01(\t"K\n\x05\x41lert\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x31\n\x08severity\x18\x02 \x01(\x0e\x32\x1f.temporal.api.enums.v1.Severity"\xfb\x01\n\x0bVersionInfo\x12\x35\n\x07\x63urrent\x18\x01 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x39\n\x0brecommended\x18\x02 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12.\n\x06\x61lerts\x18\x04 \x03(\x0b\x32\x1e.temporal.api.version.v1.Alert\x12\x34\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x8e\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3' ) - -_RELEASEINFO = DESCRIPTOR.message_types_by_name["ReleaseInfo"] -_ALERT = DESCRIPTOR.message_types_by_name["Alert"] -_VERSIONINFO = DESCRIPTOR.message_types_by_name["VersionInfo"] -ReleaseInfo = _reflection.GeneratedProtocolMessageType( - "ReleaseInfo", - (_message.Message,), - { - "DESCRIPTOR": _RELEASEINFO, - "__module__": "temporalio.api.version.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.ReleaseInfo) - }, -) -_sym_db.RegisterMessage(ReleaseInfo) - -Alert = _reflection.GeneratedProtocolMessageType( - "Alert", - (_message.Message,), - { - "DESCRIPTOR": _ALERT, - "__module__": "temporalio.api.version.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.Alert) - }, -) -_sym_db.RegisterMessage(Alert) - -VersionInfo = _reflection.GeneratedProtocolMessageType( - "VersionInfo", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONINFO, - "__module__": "temporalio.api.version.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.version.v1.VersionInfo) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.version.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(VersionInfo) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1" - _RELEASEINFO._serialized_start = 135 - _RELEASEINFO._serialized_end = 230 - _ALERT._serialized_start = 232 - _ALERT._serialized_end = 307 - _VERSIONINFO._serialized_start = 310 - _VERSIONINFO._serialized_end = 561 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1" + _globals["_RELEASEINFO"]._serialized_start = 135 + _globals["_RELEASEINFO"]._serialized_end = 230 + _globals["_ALERT"]._serialized_start = 232 + _globals["_ALERT"]._serialized_end = 307 + _globals["_VERSIONINFO"]._serialized_start = 310 + _globals["_VERSIONINFO"]._serialized_end = 561 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/version/v1/message_pb2.pyi b/temporalio/api/version/v1/message_pb2.pyi index dc481aeda..a8911bcb4 100644 --- a/temporalio/api/version/v1/message_pb2.pyi +++ b/temporalio/api/version/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -14,13 +15,14 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.common_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ReleaseInfo(google.protobuf.message.Message): """ReleaseInfo contains information about specific version of temporal.""" @@ -30,9 +32,9 @@ class ReleaseInfo(google.protobuf.message.Message): RELEASE_TIME_FIELD_NUMBER: builtins.int NOTES_FIELD_NUMBER: builtins.int version: builtins.str + notes: builtins.str @property def release_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - notes: builtins.str def __init__( self, *, @@ -41,17 +43,18 @@ class ReleaseInfo(google.protobuf.message.Message): notes: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["release_time", b"release_time"] + self, field_name: typing.Literal["release_time", b"release_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "notes", b"notes", "release_time", b"release_time", "version", b"version" ], ) -> None: ... -global___ReleaseInfo = ReleaseInfo +Global___ReleaseInfo: typing_extensions.TypeAlias = ReleaseInfo +@typing.final class Alert(google.protobuf.message.Message): """Alert contains notification and severity.""" @@ -68,14 +71,12 @@ class Alert(google.protobuf.message.Message): severity: temporalio.api.enums.v1.common_pb2.Severity.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "message", b"message", "severity", b"severity" - ], + self, field_name: typing.Literal["message", b"message", "severity", b"severity"] ) -> None: ... -global___Alert = Alert +Global___Alert: typing_extensions.TypeAlias = Alert +@typing.final class VersionInfo(google.protobuf.message.Message): """VersionInfo contains details about current and recommended release versions as well as alerts and upgrade instructions.""" @@ -86,31 +87,31 @@ class VersionInfo(google.protobuf.message.Message): INSTRUCTIONS_FIELD_NUMBER: builtins.int ALERTS_FIELD_NUMBER: builtins.int LAST_UPDATE_TIME_FIELD_NUMBER: builtins.int + instructions: builtins.str @property - def current(self) -> global___ReleaseInfo: ... + def current(self) -> Global___ReleaseInfo: ... @property - def recommended(self) -> global___ReleaseInfo: ... - instructions: builtins.str + def recommended(self) -> Global___ReleaseInfo: ... @property def alerts( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Alert + Global___Alert ]: ... @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - current: global___ReleaseInfo | None = ..., - recommended: global___ReleaseInfo | None = ..., + current: Global___ReleaseInfo | None = ..., + recommended: Global___ReleaseInfo | None = ..., instructions: builtins.str = ..., - alerts: collections.abc.Iterable[global___Alert] | None = ..., + alerts: collections.abc.Iterable[Global___Alert] | None = ..., last_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current", b"current", "last_update_time", @@ -121,7 +122,7 @@ class VersionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "alerts", b"alerts", "current", @@ -135,4 +136,4 @@ class VersionInfo(google.protobuf.message.Message): ], ) -> None: ... -global___VersionInfo = VersionInfo +Global___VersionInfo: typing_extensions.TypeAlias = VersionInfo diff --git a/temporalio/api/worker/v1/message_pb2.py b/temporalio/api/worker/v1/message_pb2.py index 4de9c5b24..54c2f6b97 100644 --- a/temporalio/api/worker/v1/message_pb2.py +++ b/temporalio/api/worker/v1/message_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/worker/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/worker/v1/message.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,176 +33,38 @@ b'\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a"temporal/api/enums/v1/common.proto"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05"\x94\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02"\x8b\n\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\x18 \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\xec\x03\n\x0eWorkerListInfo\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x05 \x01(\t\x12\x13\n\x0bsdk_version\x18\x06 \x01(\t\x12\x33\n\x06status\x18\x07 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\thost_name\x18\t \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\n \x01(\t\x12\x12\n\nprocess_id\x18\x0b \x01(\t\x12\x33\n\x07plugins\x18\x0c \x03(\x0b\x32".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\r \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t"!\n\x11StorageDriverInfo\x12\x0c\n\x04type\x18\x01 \x01(\t"a\n\rWorkerCommand\x12H\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32-.temporal.api.worker.v1.CancelActivityCommandH\x00\x42\x06\n\x04type"+\n\x15\x43\x61ncelActivityCommand\x12\x12\n\ntask_token\x18\x01 \x01(\x0c"f\n\x13WorkerCommandResult\x12G\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32,.temporal.api.worker.v1.CancelActivityResultH\x00\x42\x06\n\x04type"\x16\n\x14\x43\x61ncelActivityResultB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3' ) - -_WORKERPOLLERINFO = DESCRIPTOR.message_types_by_name["WorkerPollerInfo"] -_WORKERSLOTSINFO = DESCRIPTOR.message_types_by_name["WorkerSlotsInfo"] -_WORKERHOSTINFO = DESCRIPTOR.message_types_by_name["WorkerHostInfo"] -_WORKERHEARTBEAT = DESCRIPTOR.message_types_by_name["WorkerHeartbeat"] -_WORKERINFO = DESCRIPTOR.message_types_by_name["WorkerInfo"] -_WORKERLISTINFO = DESCRIPTOR.message_types_by_name["WorkerListInfo"] -_PLUGININFO = DESCRIPTOR.message_types_by_name["PluginInfo"] -_STORAGEDRIVERINFO = DESCRIPTOR.message_types_by_name["StorageDriverInfo"] -_WORKERCOMMAND = DESCRIPTOR.message_types_by_name["WorkerCommand"] -_CANCELACTIVITYCOMMAND = DESCRIPTOR.message_types_by_name["CancelActivityCommand"] -_WORKERCOMMANDRESULT = DESCRIPTOR.message_types_by_name["WorkerCommandResult"] -_CANCELACTIVITYRESULT = DESCRIPTOR.message_types_by_name["CancelActivityResult"] -WorkerPollerInfo = _reflection.GeneratedProtocolMessageType( - "WorkerPollerInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERPOLLERINFO, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerPollerInfo) - }, -) -_sym_db.RegisterMessage(WorkerPollerInfo) - -WorkerSlotsInfo = _reflection.GeneratedProtocolMessageType( - "WorkerSlotsInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERSLOTSINFO, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerSlotsInfo) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.worker.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(WorkerSlotsInfo) - -WorkerHostInfo = _reflection.GeneratedProtocolMessageType( - "WorkerHostInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERHOSTINFO, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHostInfo) - }, -) -_sym_db.RegisterMessage(WorkerHostInfo) - -WorkerHeartbeat = _reflection.GeneratedProtocolMessageType( - "WorkerHeartbeat", - (_message.Message,), - { - "DESCRIPTOR": _WORKERHEARTBEAT, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHeartbeat) - }, -) -_sym_db.RegisterMessage(WorkerHeartbeat) - -WorkerInfo = _reflection.GeneratedProtocolMessageType( - "WorkerInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERINFO, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerInfo) - }, -) -_sym_db.RegisterMessage(WorkerInfo) - -WorkerListInfo = _reflection.GeneratedProtocolMessageType( - "WorkerListInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKERLISTINFO, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerListInfo) - }, -) -_sym_db.RegisterMessage(WorkerListInfo) - -PluginInfo = _reflection.GeneratedProtocolMessageType( - "PluginInfo", - (_message.Message,), - { - "DESCRIPTOR": _PLUGININFO, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.PluginInfo) - }, -) -_sym_db.RegisterMessage(PluginInfo) - -StorageDriverInfo = _reflection.GeneratedProtocolMessageType( - "StorageDriverInfo", - (_message.Message,), - { - "DESCRIPTOR": _STORAGEDRIVERINFO, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.StorageDriverInfo) - }, -) -_sym_db.RegisterMessage(StorageDriverInfo) - -WorkerCommand = _reflection.GeneratedProtocolMessageType( - "WorkerCommand", - (_message.Message,), - { - "DESCRIPTOR": _WORKERCOMMAND, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerCommand) - }, -) -_sym_db.RegisterMessage(WorkerCommand) - -CancelActivityCommand = _reflection.GeneratedProtocolMessageType( - "CancelActivityCommand", - (_message.Message,), - { - "DESCRIPTOR": _CANCELACTIVITYCOMMAND, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.CancelActivityCommand) - }, -) -_sym_db.RegisterMessage(CancelActivityCommand) - -WorkerCommandResult = _reflection.GeneratedProtocolMessageType( - "WorkerCommandResult", - (_message.Message,), - { - "DESCRIPTOR": _WORKERCOMMANDRESULT, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerCommandResult) - }, -) -_sym_db.RegisterMessage(WorkerCommandResult) - -CancelActivityResult = _reflection.GeneratedProtocolMessageType( - "CancelActivityResult", - (_message.Message,), - { - "DESCRIPTOR": _CANCELACTIVITYRESULT, - "__module__": "temporalio.api.worker.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.CancelActivityResult) - }, -) -_sym_db.RegisterMessage(CancelActivityResult) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1" - _WORKERPOLLERINFO._serialized_start = 208 - _WORKERPOLLERINFO._serialized_end = 338 - _WORKERSLOTSINFO._serialized_start = 341 - _WORKERSLOTSINFO._serialized_end = 582 - _WORKERHOSTINFO._serialized_start = 585 - _WORKERHOSTINFO._serialized_end = 733 - _WORKERHEARTBEAT._serialized_start = 736 - _WORKERHEARTBEAT._serialized_end = 2027 - _WORKERINFO._serialized_start = 2029 - _WORKERINFO._serialized_end = 2108 - _WORKERLISTINFO._serialized_start = 2111 - _WORKERLISTINFO._serialized_end = 2603 - _PLUGININFO._serialized_start = 2605 - _PLUGININFO._serialized_end = 2648 - _STORAGEDRIVERINFO._serialized_start = 2650 - _STORAGEDRIVERINFO._serialized_end = 2683 - _WORKERCOMMAND._serialized_start = 2685 - _WORKERCOMMAND._serialized_end = 2782 - _CANCELACTIVITYCOMMAND._serialized_start = 2784 - _CANCELACTIVITYCOMMAND._serialized_end = 2827 - _WORKERCOMMANDRESULT._serialized_start = 2829 - _WORKERCOMMANDRESULT._serialized_end = 2931 - _CANCELACTIVITYRESULT._serialized_start = 2933 - _CANCELACTIVITYRESULT._serialized_end = 2955 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1" + _globals["_WORKERPOLLERINFO"]._serialized_start = 208 + _globals["_WORKERPOLLERINFO"]._serialized_end = 338 + _globals["_WORKERSLOTSINFO"]._serialized_start = 341 + _globals["_WORKERSLOTSINFO"]._serialized_end = 582 + _globals["_WORKERHOSTINFO"]._serialized_start = 585 + _globals["_WORKERHOSTINFO"]._serialized_end = 733 + _globals["_WORKERHEARTBEAT"]._serialized_start = 736 + _globals["_WORKERHEARTBEAT"]._serialized_end = 2027 + _globals["_WORKERINFO"]._serialized_start = 2029 + _globals["_WORKERINFO"]._serialized_end = 2108 + _globals["_WORKERLISTINFO"]._serialized_start = 2111 + _globals["_WORKERLISTINFO"]._serialized_end = 2603 + _globals["_PLUGININFO"]._serialized_start = 2605 + _globals["_PLUGININFO"]._serialized_end = 2648 + _globals["_STORAGEDRIVERINFO"]._serialized_start = 2650 + _globals["_STORAGEDRIVERINFO"]._serialized_end = 2683 + _globals["_WORKERCOMMAND"]._serialized_start = 2685 + _globals["_WORKERCOMMAND"]._serialized_end = 2782 + _globals["_CANCELACTIVITYCOMMAND"]._serialized_start = 2784 + _globals["_CANCELACTIVITYCOMMAND"]._serialized_end = 2827 + _globals["_WORKERCOMMANDRESULT"]._serialized_start = 2829 + _globals["_WORKERCOMMANDRESULT"]._serialized_end = 2931 + _globals["_CANCELACTIVITYRESULT"]._serialized_start = 2933 + _globals["_CANCELACTIVITYRESULT"]._serialized_end = 2955 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/worker/v1/message_pb2.pyi b/temporalio/api/worker/v1/message_pb2.pyi index f78916ed5..b385f1395 100644 --- a/temporalio/api/worker/v1/message_pb2.pyi +++ b/temporalio/api/worker/v1/message_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -16,13 +17,14 @@ import google.protobuf.timestamp_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkerPollerInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -31,10 +33,10 @@ class WorkerPollerInfo(google.protobuf.message.Message): IS_AUTOSCALING_FIELD_NUMBER: builtins.int current_pollers: builtins.int """Number of polling RPCs that are currently in flight.""" - @property - def last_successful_poll_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... is_autoscaling: builtins.bool """Set true if the number of concurrent pollers is auto-scaled""" + @property + def last_successful_poll_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, @@ -44,13 +46,13 @@ class WorkerPollerInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_successful_poll_time", b"last_successful_poll_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_pollers", b"current_pollers", "is_autoscaling", @@ -60,8 +62,9 @@ class WorkerPollerInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerPollerInfo = WorkerPollerInfo +Global___WorkerPollerInfo: typing_extensions.TypeAlias = WorkerPollerInfo +@typing.final class WorkerSlotsInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -108,7 +111,7 @@ class WorkerSlotsInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_available_slots", b"current_available_slots", "current_used_slots", @@ -126,8 +129,9 @@ class WorkerSlotsInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerSlotsInfo = WorkerSlotsInfo +Global___WorkerSlotsInfo: typing_extensions.TypeAlias = WorkerSlotsInfo +@typing.final class WorkerHostInfo(google.protobuf.message.Message): """Holds everything needed to identify the worker host/process context""" @@ -168,7 +172,7 @@ class WorkerHostInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_host_cpu_usage", b"current_host_cpu_usage", "current_host_mem_usage", @@ -182,8 +186,9 @@ class WorkerHostInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerHostInfo = WorkerHostInfo +Global___WorkerHostInfo: typing_extensions.TypeAlias = WorkerHostInfo +@typing.final class WorkerHeartbeat(google.protobuf.message.Message): """Worker info message, contains information about the worker and its current state. All information is provided by the worker itself. @@ -225,74 +230,80 @@ class WorkerHeartbeat(google.protobuf.message.Message): """Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user. """ - @property - def host_info(self) -> global___WorkerHostInfo: - """Worker host information.""" task_queue: builtins.str """Task queue this worker is polling for tasks.""" - @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... sdk_name: builtins.str sdk_version: builtins.str status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType """Worker status. Defined by SDK.""" + total_sticky_cache_hit: builtins.int + """A Workflow Task found a cached Workflow Execution to run against.""" + total_sticky_cache_miss: builtins.int + """A Workflow Task did not find a cached Workflow execution to run against.""" + current_sticky_cache_size: builtins.int + """Current cache size, expressed in number of Workflow Executions.""" + @property + def host_info(self) -> Global___WorkerHostInfo: + """Worker host information.""" + + @property + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Worker start time. It can be used to determine worker uptime. (current time - start time) """ + @property def heartbeat_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp of this heartbeat, coming from the worker. Worker should set it to "now". Note that this timestamp comes directly from the worker and is subject to workers' clock skew. """ + @property def elapsed_since_last_heartbeat(self) -> google.protobuf.duration_pb2.Duration: """Elapsed time since the last heartbeat from the worker.""" + @property - def workflow_task_slots_info(self) -> global___WorkerSlotsInfo: ... + def workflow_task_slots_info(self) -> Global___WorkerSlotsInfo: ... @property - def activity_task_slots_info(self) -> global___WorkerSlotsInfo: ... + def activity_task_slots_info(self) -> Global___WorkerSlotsInfo: ... @property - def nexus_task_slots_info(self) -> global___WorkerSlotsInfo: ... + def nexus_task_slots_info(self) -> Global___WorkerSlotsInfo: ... @property - def local_activity_slots_info(self) -> global___WorkerSlotsInfo: ... + def local_activity_slots_info(self) -> Global___WorkerSlotsInfo: ... @property - def workflow_poller_info(self) -> global___WorkerPollerInfo: ... + def workflow_poller_info(self) -> Global___WorkerPollerInfo: ... @property - def workflow_sticky_poller_info(self) -> global___WorkerPollerInfo: ... + def workflow_sticky_poller_info(self) -> Global___WorkerPollerInfo: ... @property - def activity_poller_info(self) -> global___WorkerPollerInfo: ... + def activity_poller_info(self) -> Global___WorkerPollerInfo: ... @property - def nexus_poller_info(self) -> global___WorkerPollerInfo: ... - total_sticky_cache_hit: builtins.int - """A Workflow Task found a cached Workflow Execution to run against.""" - total_sticky_cache_miss: builtins.int - """A Workflow Task did not find a cached Workflow execution to run against.""" - current_sticky_cache_size: builtins.int - """Current cache size, expressed in number of Workflow Executions.""" + def nexus_poller_info(self) -> Global___WorkerPollerInfo: ... @property def plugins( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PluginInfo + Global___PluginInfo ]: """Plugins currently in use by this SDK.""" + @property def drivers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StorageDriverInfo + Global___StorageDriverInfo ]: """Storage drivers in use by this SDK.""" + def __init__( self, *, worker_instance_key: builtins.str = ..., worker_identity: builtins.str = ..., - host_info: global___WorkerHostInfo | None = ..., + host_info: Global___WorkerHostInfo | None = ..., task_queue: builtins.str = ..., deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., @@ -303,23 +314,23 @@ class WorkerHeartbeat(google.protobuf.message.Message): heartbeat_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., elapsed_since_last_heartbeat: google.protobuf.duration_pb2.Duration | None = ..., - workflow_task_slots_info: global___WorkerSlotsInfo | None = ..., - activity_task_slots_info: global___WorkerSlotsInfo | None = ..., - nexus_task_slots_info: global___WorkerSlotsInfo | None = ..., - local_activity_slots_info: global___WorkerSlotsInfo | None = ..., - workflow_poller_info: global___WorkerPollerInfo | None = ..., - workflow_sticky_poller_info: global___WorkerPollerInfo | None = ..., - activity_poller_info: global___WorkerPollerInfo | None = ..., - nexus_poller_info: global___WorkerPollerInfo | None = ..., + workflow_task_slots_info: Global___WorkerSlotsInfo | None = ..., + activity_task_slots_info: Global___WorkerSlotsInfo | None = ..., + nexus_task_slots_info: Global___WorkerSlotsInfo | None = ..., + local_activity_slots_info: Global___WorkerSlotsInfo | None = ..., + workflow_poller_info: Global___WorkerPollerInfo | None = ..., + workflow_sticky_poller_info: Global___WorkerPollerInfo | None = ..., + activity_poller_info: Global___WorkerPollerInfo | None = ..., + nexus_poller_info: Global___WorkerPollerInfo | None = ..., total_sticky_cache_hit: builtins.int = ..., total_sticky_cache_miss: builtins.int = ..., current_sticky_cache_size: builtins.int = ..., - plugins: collections.abc.Iterable[global___PluginInfo] | None = ..., - drivers: collections.abc.Iterable[global___StorageDriverInfo] | None = ..., + plugins: collections.abc.Iterable[Global___PluginInfo] | None = ..., + drivers: collections.abc.Iterable[Global___StorageDriverInfo] | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_poller_info", b"activity_poller_info", "activity_task_slots_info", @@ -350,7 +361,7 @@ class WorkerHeartbeat(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_poller_info", b"activity_poller_info", "activity_task_slots_info", @@ -402,8 +413,9 @@ class WorkerHeartbeat(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerHeartbeat = WorkerHeartbeat +Global___WorkerHeartbeat: typing_extensions.TypeAlias = WorkerHeartbeat +@typing.final class WorkerInfo(google.protobuf.message.Message): """Detailed worker information.""" @@ -411,23 +423,22 @@ class WorkerInfo(google.protobuf.message.Message): WORKER_HEARTBEAT_FIELD_NUMBER: builtins.int @property - def worker_heartbeat(self) -> global___WorkerHeartbeat: ... + def worker_heartbeat(self) -> Global___WorkerHeartbeat: ... def __init__( self, *, - worker_heartbeat: global___WorkerHeartbeat | None = ..., + worker_heartbeat: Global___WorkerHeartbeat | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], + self, field_name: typing.Literal["worker_heartbeat", b"worker_heartbeat"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], + self, field_name: typing.Literal["worker_heartbeat", b"worker_heartbeat"] ) -> None: ... -global___WorkerInfo = WorkerInfo +Global___WorkerInfo: typing_extensions.TypeAlias = WorkerInfo +@typing.final class WorkerListInfo(google.protobuf.message.Message): """Limited worker information returned in the list response. When adding fields here, ensure that it is also added to WorkerInfo (as it carries the full worker information). @@ -458,19 +469,10 @@ class WorkerListInfo(google.protobuf.message.Message): """ task_queue: builtins.str """Task queue this worker is polling for tasks.""" - @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... sdk_name: builtins.str sdk_version: builtins.str status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType """Worker status. Defined by SDK.""" - @property - def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Worker start time. - It can be used to determine worker uptime. (current time - start time) - """ host_name: builtins.str """Worker host identifier.""" worker_grouping_key: builtins.str @@ -482,20 +484,32 @@ class WorkerListInfo(google.protobuf.message.Message): """Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate). """ + @property + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... + @property + def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Worker start time. + It can be used to determine worker uptime. (current time - start time) + """ + @property def plugins( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PluginInfo + Global___PluginInfo ]: """Plugins currently in use by this SDK.""" + @property def drivers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___StorageDriverInfo + Global___StorageDriverInfo ]: """Storage drivers in use by this SDK.""" + def __init__( self, *, @@ -511,18 +525,18 @@ class WorkerListInfo(google.protobuf.message.Message): host_name: builtins.str = ..., worker_grouping_key: builtins.str = ..., process_id: builtins.str = ..., - plugins: collections.abc.Iterable[global___PluginInfo] | None = ..., - drivers: collections.abc.Iterable[global___StorageDriverInfo] | None = ..., + plugins: collections.abc.Iterable[Global___PluginInfo] | None = ..., + drivers: collections.abc.Iterable[Global___StorageDriverInfo] | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version", b"deployment_version", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version", b"deployment_version", "drivers", @@ -552,8 +566,9 @@ class WorkerListInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkerListInfo = WorkerListInfo +Global___WorkerListInfo: typing_extensions.TypeAlias = WorkerListInfo +@typing.final class PluginInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -570,12 +585,12 @@ class PluginInfo(google.protobuf.message.Message): version: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["name", b"name", "version", b"version"], + self, field_name: typing.Literal["name", b"name", "version", b"version"] ) -> None: ... -global___PluginInfo = PluginInfo +Global___PluginInfo: typing_extensions.TypeAlias = PluginInfo +@typing.final class StorageDriverInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -587,12 +602,11 @@ class StorageDriverInfo(google.protobuf.message.Message): *, type: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["type", b"type"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... -global___StorageDriverInfo = StorageDriverInfo +Global___StorageDriverInfo: typing_extensions.TypeAlias = StorageDriverInfo +@typing.final class WorkerCommand(google.protobuf.message.Message): """A command sent from the server to a worker.""" @@ -600,30 +614,31 @@ class WorkerCommand(google.protobuf.message.Message): CANCEL_ACTIVITY_FIELD_NUMBER: builtins.int @property - def cancel_activity(self) -> global___CancelActivityCommand: ... + def cancel_activity(self) -> Global___CancelActivityCommand: ... def __init__( self, *, - cancel_activity: global___CancelActivityCommand | None = ..., + cancel_activity: Global___CancelActivityCommand | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["type", b"type"] - ) -> typing_extensions.Literal["cancel_activity"] | None: ... + self, oneof_group: typing.Literal["type", b"type"] + ) -> typing.Literal["cancel_activity"] | None: ... -global___WorkerCommand = WorkerCommand +Global___WorkerCommand: typing_extensions.TypeAlias = WorkerCommand +@typing.final class CancelActivityCommand(google.protobuf.message.Message): """Cancel an activity if it is still running. Otherwise, do nothing.""" @@ -637,11 +652,12 @@ class CancelActivityCommand(google.protobuf.message.Message): task_token: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["task_token", b"task_token"] + self, field_name: typing.Literal["task_token", b"task_token"] ) -> None: ... -global___CancelActivityCommand = CancelActivityCommand +Global___CancelActivityCommand: typing_extensions.TypeAlias = CancelActivityCommand +@typing.final class WorkerCommandResult(google.protobuf.message.Message): """The result of executing a WorkerCommand.""" @@ -649,30 +665,31 @@ class WorkerCommandResult(google.protobuf.message.Message): CANCEL_ACTIVITY_FIELD_NUMBER: builtins.int @property - def cancel_activity(self) -> global___CancelActivityResult: ... + def cancel_activity(self) -> Global___CancelActivityResult: ... def __init__( self, *, - cancel_activity: global___CancelActivityResult | None = ..., + cancel_activity: Global___CancelActivityResult | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["type", b"type"] - ) -> typing_extensions.Literal["cancel_activity"] | None: ... + self, oneof_group: typing.Literal["type", b"type"] + ) -> typing.Literal["cancel_activity"] | None: ... -global___WorkerCommandResult = WorkerCommandResult +Global___WorkerCommandResult: typing_extensions.TypeAlias = WorkerCommandResult +@typing.final class CancelActivityResult(google.protobuf.message.Message): """Result of a CancelActivityCommand. Treat both successful cancellation and no-op (activity is no longer running) as success. @@ -684,4 +701,4 @@ class CancelActivityResult(google.protobuf.message.Message): self, ) -> None: ... -global___CancelActivityResult = CancelActivityResult +Global___CancelActivityResult: typing_extensions.TypeAlias = CancelActivityResult diff --git a/temporalio/api/workflow/v1/__init__.py b/temporalio/api/workflow/v1/__init__.py index 89878d551..ae647ab67 100644 --- a/temporalio/api/workflow/v1/__init__.py +++ b/temporalio/api/workflow/v1/__init__.py @@ -13,7 +13,6 @@ RequestIdInfo, ResetPointInfo, ResetPoints, - TimeSkippingConfig, VersioningOverride, WorkflowExecutionConfig, WorkflowExecutionExtendedInfo, @@ -38,7 +37,6 @@ "RequestIdInfo", "ResetPointInfo", "ResetPoints", - "TimeSkippingConfig", "VersioningOverride", "WorkflowExecutionConfig", "WorkflowExecutionExtendedInfo", diff --git a/temporalio/api/workflow/v1/message_pb2.py b/temporalio/api/workflow/v1/message_pb2.py index 70d909746..c4b5ccf61 100644 --- a/temporalio/api/workflow/v1/message_pb2.py +++ b/temporalio/api/workflow/v1/message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/workflow/v1/message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/workflow/v1/message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -48,554 +58,189 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xf0\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12#\n\x1b\x65xternal_payload_size_bytes\x18\x19 \x01(\x03\x12\x1e\n\x16\x65xternal_payload_count\x18\x1a \x01(\x03"\xc6\x04\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x12H\n\npause_info\x18\x08 \x01(\x0b\x32\x34.temporal.api.workflow.v1.WorkflowExecutionPauseInfo\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01"\xfb\x04\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\x12\x17\n\x0frevision_number\x18\x08 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\t \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x82\x06\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x35\n UpdateWorkflowExecutionCompleted\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x1a\xde\x01\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x12v\n#update_workflow_execution_completed\x18\x02 \x01(\x0b\x32G.temporal.api.workflow.v1.CallbackInfo.UpdateWorkflowExecutionCompletedH\x00\x42\t\n\x07variant"\x8b\x06\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t"\xe5\x01\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig"\xd6\x01\n\x12TimeSkippingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x39\n\x14max_skipped_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x39\n\x14max_elapsed_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x07\n\x05\x62oundJ\x04\x08\x02\x10\x03J\x04\x08\x06\x10\x07R\x13\x64isable_propagationR\x0fmax_target_time"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variant"o\n\x1aWorkflowExecutionPauseInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\x12/\n\x0bpaused_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3' -) - - -_WORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["WorkflowExecutionInfo"] -_WORKFLOWEXECUTIONEXTENDEDINFO = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionExtendedInfo" -] -_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY = ( - _WORKFLOWEXECUTIONEXTENDEDINFO.nested_types_by_name["RequestIdInfosEntry"] -) -_WORKFLOWEXECUTIONVERSIONINGINFO = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionVersioningInfo" -] -_DEPLOYMENTTRANSITION = DESCRIPTOR.message_types_by_name["DeploymentTransition"] -_DEPLOYMENTVERSIONTRANSITION = DESCRIPTOR.message_types_by_name[ - "DeploymentVersionTransition" -] -_WORKFLOWEXECUTIONCONFIG = DESCRIPTOR.message_types_by_name["WorkflowExecutionConfig"] -_PENDINGACTIVITYINFO = DESCRIPTOR.message_types_by_name["PendingActivityInfo"] -_PENDINGACTIVITYINFO_PAUSEINFO = _PENDINGACTIVITYINFO.nested_types_by_name["PauseInfo"] -_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL = ( - _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Manual"] -) -_PENDINGACTIVITYINFO_PAUSEINFO_RULE = ( - _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Rule"] -) -_PENDINGCHILDEXECUTIONINFO = DESCRIPTOR.message_types_by_name[ - "PendingChildExecutionInfo" -] -_PENDINGWORKFLOWTASKINFO = DESCRIPTOR.message_types_by_name["PendingWorkflowTaskInfo"] -_RESETPOINTS = DESCRIPTOR.message_types_by_name["ResetPoints"] -_RESETPOINTINFO = DESCRIPTOR.message_types_by_name["ResetPointInfo"] -_NEWWORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["NewWorkflowExecutionInfo"] -_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] -_CALLBACKINFO_WORKFLOWCLOSED = _CALLBACKINFO.nested_types_by_name["WorkflowClosed"] -_CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED = _CALLBACKINFO.nested_types_by_name[ - "UpdateWorkflowExecutionCompleted" -] -_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name["Trigger"] -_PENDINGNEXUSOPERATIONINFO = DESCRIPTOR.message_types_by_name[ - "PendingNexusOperationInfo" -] -_NEXUSOPERATIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name[ - "NexusOperationCancellationInfo" -] -_WORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutionOptions"] -_TIMESKIPPINGCONFIG = DESCRIPTOR.message_types_by_name["TimeSkippingConfig"] -_VERSIONINGOVERRIDE = DESCRIPTOR.message_types_by_name["VersioningOverride"] -_VERSIONINGOVERRIDE_PINNEDOVERRIDE = _VERSIONINGOVERRIDE.nested_types_by_name[ - "PinnedOverride" -] -_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name["OnConflictOptions"] -_REQUESTIDINFO = DESCRIPTOR.message_types_by_name["RequestIdInfo"] -_POSTRESETOPERATION = DESCRIPTOR.message_types_by_name["PostResetOperation"] -_POSTRESETOPERATION_SIGNALWORKFLOW = _POSTRESETOPERATION.nested_types_by_name[ - "SignalWorkflow" -] -_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS = _POSTRESETOPERATION.nested_types_by_name[ - "UpdateWorkflowOptions" -] -_WORKFLOWEXECUTIONPAUSEINFO = DESCRIPTOR.message_types_by_name[ - "WorkflowExecutionPauseInfo" -] -_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR = _VERSIONINGOVERRIDE.enum_types_by_name[ - "PinnedOverrideBehavior" -] -WorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionInfo) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionInfo) - -WorkflowExecutionExtendedInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionExtendedInfo", - (_message.Message,), - { - "RequestIdInfosEntry": _reflection.GeneratedProtocolMessageType( - "RequestIdInfosEntry", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry) - }, - ), - "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionExtendedInfo) -_sym_db.RegisterMessage(WorkflowExecutionExtendedInfo.RequestIdInfosEntry) - -WorkflowExecutionVersioningInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionVersioningInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONVERSIONINGINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionVersioningInfo) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionVersioningInfo) - -DeploymentTransition = _reflection.GeneratedProtocolMessageType( - "DeploymentTransition", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTTRANSITION, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentTransition) - }, -) -_sym_db.RegisterMessage(DeploymentTransition) - -DeploymentVersionTransition = _reflection.GeneratedProtocolMessageType( - "DeploymentVersionTransition", - (_message.Message,), - { - "DESCRIPTOR": _DEPLOYMENTVERSIONTRANSITION, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentVersionTransition) - }, -) -_sym_db.RegisterMessage(DeploymentVersionTransition) - -WorkflowExecutionConfig = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionConfig", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONCONFIG, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionConfig) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionConfig) - -PendingActivityInfo = _reflection.GeneratedProtocolMessageType( - "PendingActivityInfo", - (_message.Message,), - { - "PauseInfo": _reflection.GeneratedProtocolMessageType( - "PauseInfo", - (_message.Message,), - { - "Manual": _reflection.GeneratedProtocolMessageType( - "Manual", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual) - }, - ), - "Rule": _reflection.GeneratedProtocolMessageType( - "Rule", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_RULE, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule) - }, - ), - "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo) - }, - ), - "DESCRIPTOR": _PENDINGACTIVITYINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo) - }, -) -_sym_db.RegisterMessage(PendingActivityInfo) -_sym_db.RegisterMessage(PendingActivityInfo.PauseInfo) -_sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Manual) -_sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Rule) - -PendingChildExecutionInfo = _reflection.GeneratedProtocolMessageType( - "PendingChildExecutionInfo", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGCHILDEXECUTIONINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingChildExecutionInfo) - }, -) -_sym_db.RegisterMessage(PendingChildExecutionInfo) - -PendingWorkflowTaskInfo = _reflection.GeneratedProtocolMessageType( - "PendingWorkflowTaskInfo", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGWORKFLOWTASKINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingWorkflowTaskInfo) - }, -) -_sym_db.RegisterMessage(PendingWorkflowTaskInfo) - -ResetPoints = _reflection.GeneratedProtocolMessageType( - "ResetPoints", - (_message.Message,), - { - "DESCRIPTOR": _RESETPOINTS, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPoints) - }, -) -_sym_db.RegisterMessage(ResetPoints) - -ResetPointInfo = _reflection.GeneratedProtocolMessageType( - "ResetPointInfo", - (_message.Message,), - { - "DESCRIPTOR": _RESETPOINTINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPointInfo) - }, -) -_sym_db.RegisterMessage(ResetPointInfo) - -NewWorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( - "NewWorkflowExecutionInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEWWORKFLOWEXECUTIONINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NewWorkflowExecutionInfo) - }, -) -_sym_db.RegisterMessage(NewWorkflowExecutionInfo) - -CallbackInfo = _reflection.GeneratedProtocolMessageType( - "CallbackInfo", - (_message.Message,), - { - "WorkflowClosed": _reflection.GeneratedProtocolMessageType( - "WorkflowClosed", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO_WORKFLOWCLOSED, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.WorkflowClosed) - }, - ), - "UpdateWorkflowExecutionCompleted": _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionCompleted", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.UpdateWorkflowExecutionCompleted) - }, - ), - "Trigger": _reflection.GeneratedProtocolMessageType( - "Trigger", - (_message.Message,), - { - "DESCRIPTOR": _CALLBACKINFO_TRIGGER, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.Trigger) - }, - ), - "DESCRIPTOR": _CALLBACKINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo) - }, + b'\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xf0\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12#\n\x1b\x65xternal_payload_size_bytes\x18\x19 \x01(\x03\x12\x1e\n\x16\x65xternal_payload_count\x18\x1a \x01(\x03"\xc6\x04\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x12H\n\npause_info\x18\x08 \x01(\x0b\x32\x34.temporal.api.workflow.v1.WorkflowExecutionPauseInfo\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01"\xfb\x04\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\x12\x17\n\x0frevision_number\x18\x08 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\t \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x82\x06\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x35\n UpdateWorkflowExecutionCompleted\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x1a\xde\x01\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x12v\n#update_workflow_execution_completed\x18\x02 \x01(\x0b\x32G.temporal.api.workflow.v1.CallbackInfo.UpdateWorkflowExecutionCompletedH\x00\x42\t\n\x07variant"\x8b\x06\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t"\xe3\x01\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x03 \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig"\xfa\x05\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12P\n\x08one_time\x18\x05 \x01(\x0b\x32<.temporal.api.workflow.v1.VersioningOverride.OneTimeOverrideH\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x1ai\n\x0fOneTimeOverride\x12V\n\x19target_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variant"o\n\x1aWorkflowExecutionPauseInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\x12/\n\x0bpaused_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3' ) -_sym_db.RegisterMessage(CallbackInfo) -_sym_db.RegisterMessage(CallbackInfo.WorkflowClosed) -_sym_db.RegisterMessage(CallbackInfo.UpdateWorkflowExecutionCompleted) -_sym_db.RegisterMessage(CallbackInfo.Trigger) -PendingNexusOperationInfo = _reflection.GeneratedProtocolMessageType( - "PendingNexusOperationInfo", - (_message.Message,), - { - "DESCRIPTOR": _PENDINGNEXUSOPERATIONINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingNexusOperationInfo) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.workflow.v1.message_pb2", _globals ) -_sym_db.RegisterMessage(PendingNexusOperationInfo) - -NexusOperationCancellationInfo = _reflection.GeneratedProtocolMessageType( - "NexusOperationCancellationInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONCANCELLATIONINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NexusOperationCancellationInfo) - }, -) -_sym_db.RegisterMessage(NexusOperationCancellationInfo) - -WorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionOptions", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONS, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionOptions) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionOptions) - -TimeSkippingConfig = _reflection.GeneratedProtocolMessageType( - "TimeSkippingConfig", - (_message.Message,), - { - "DESCRIPTOR": _TIMESKIPPINGCONFIG, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.TimeSkippingConfig) - }, -) -_sym_db.RegisterMessage(TimeSkippingConfig) - -VersioningOverride = _reflection.GeneratedProtocolMessageType( - "VersioningOverride", - (_message.Message,), - { - "PinnedOverride": _reflection.GeneratedProtocolMessageType( - "PinnedOverride", - (_message.Message,), - { - "DESCRIPTOR": _VERSIONINGOVERRIDE_PINNEDOVERRIDE, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride.PinnedOverride) - }, - ), - "DESCRIPTOR": _VERSIONINGOVERRIDE, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride) - }, -) -_sym_db.RegisterMessage(VersioningOverride) -_sym_db.RegisterMessage(VersioningOverride.PinnedOverride) - -OnConflictOptions = _reflection.GeneratedProtocolMessageType( - "OnConflictOptions", - (_message.Message,), - { - "DESCRIPTOR": _ONCONFLICTOPTIONS, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.OnConflictOptions) - }, -) -_sym_db.RegisterMessage(OnConflictOptions) - -RequestIdInfo = _reflection.GeneratedProtocolMessageType( - "RequestIdInfo", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTIDINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.RequestIdInfo) - }, -) -_sym_db.RegisterMessage(RequestIdInfo) - -PostResetOperation = _reflection.GeneratedProtocolMessageType( - "PostResetOperation", - (_message.Message,), - { - "SignalWorkflow": _reflection.GeneratedProtocolMessageType( - "SignalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _POSTRESETOPERATION_SIGNALWORKFLOW, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.SignalWorkflow) - }, - ), - "UpdateWorkflowOptions": _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowOptions", - (_message.Message,), - { - "DESCRIPTOR": _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions) - }, - ), - "DESCRIPTOR": _POSTRESETOPERATION, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation) - }, -) -_sym_db.RegisterMessage(PostResetOperation) -_sym_db.RegisterMessage(PostResetOperation.SignalWorkflow) -_sym_db.RegisterMessage(PostResetOperation.UpdateWorkflowOptions) - -WorkflowExecutionPauseInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowExecutionPauseInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWEXECUTIONPAUSEINFO, - "__module__": "temporalio.api.workflow.v1.message_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionPauseInfo) - }, -) -_sym_db.RegisterMessage(WorkflowExecutionPauseInfo) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1" - _WORKFLOWEXECUTIONINFO.fields_by_name[ +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1" + _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ "most_recent_worker_version_stamp" - ]._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ "most_recent_worker_version_stamp" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONINFO.fields_by_name["assigned_build_id"]._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name[ + _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ + "assigned_build_id" + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ "assigned_build_id" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONINFO.fields_by_name["inherited_build_id"]._options = None - _WORKFLOWEXECUTIONINFO.fields_by_name[ + _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ + "inherited_build_id" + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ "inherited_build_id" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._options = None - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_options = b"8\001" - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["deployment"]._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + _globals[ + "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" + ]._loaded_options = None + _globals[ + "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" + ]._serialized_options = b"8\001" + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ + "deployment" + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["version"]._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ + "version" + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ "deployment_transition" - ]._options = None - _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ "deployment_transition" ]._serialized_options = b"\030\001" - _DEPLOYMENTVERSIONTRANSITION.fields_by_name["version"]._options = None - _DEPLOYMENTVERSIONTRANSITION.fields_by_name[ + _globals["_DEPLOYMENTVERSIONTRANSITION"].fields_by_name[ + "version" + ]._loaded_options = None + _globals["_DEPLOYMENTVERSIONTRANSITION"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name["use_workflow_build_id"]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + "use_workflow_build_id" + ]._loaded_options = None + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ "use_workflow_build_id" ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name[ + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ "last_independently_assigned_build_id" - ]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ + ]._loaded_options = None + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ "last_independently_assigned_build_id" ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name["last_worker_version_stamp"]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + "last_worker_version_stamp" + ]._loaded_options = None + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ "last_worker_version_stamp" ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name["last_deployment"]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + "last_deployment" + ]._loaded_options = None + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ "last_deployment" ]._serialized_options = b"\030\001" - _PENDINGACTIVITYINFO.fields_by_name[ + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ "last_worker_deployment_version" - ]._options = None - _PENDINGACTIVITYINFO.fields_by_name[ + ]._loaded_options = None + _globals["_PENDINGACTIVITYINFO"].fields_by_name[ "last_worker_deployment_version" ]._serialized_options = b"\030\001" - _RESETPOINTINFO.fields_by_name["binary_checksum"]._options = None - _RESETPOINTINFO.fields_by_name["binary_checksum"]._serialized_options = b"\030\001" - _PENDINGNEXUSOPERATIONINFO.fields_by_name["operation_id"]._options = None - _PENDINGNEXUSOPERATIONINFO.fields_by_name[ + _globals["_RESETPOINTINFO"].fields_by_name["binary_checksum"]._loaded_options = None + _globals["_RESETPOINTINFO"].fields_by_name[ + "binary_checksum" + ]._serialized_options = b"\030\001" + _globals["_PENDINGNEXUSOPERATIONINFO"].fields_by_name[ "operation_id" + ]._loaded_options = None + _globals["_PENDINGNEXUSOPERATIONINFO"].fields_by_name[ + "operation_id" + ]._serialized_options = b"\030\001" + _globals["_VERSIONINGOVERRIDE"].fields_by_name["behavior"]._loaded_options = None + _globals["_VERSIONINGOVERRIDE"].fields_by_name[ + "behavior" ]._serialized_options = b"\030\001" - _VERSIONINGOVERRIDE.fields_by_name["behavior"]._options = None - _VERSIONINGOVERRIDE.fields_by_name["behavior"]._serialized_options = b"\030\001" - _VERSIONINGOVERRIDE.fields_by_name["deployment"]._options = None - _VERSIONINGOVERRIDE.fields_by_name["deployment"]._serialized_options = b"\030\001" - _VERSIONINGOVERRIDE.fields_by_name["pinned_version"]._options = None - _VERSIONINGOVERRIDE.fields_by_name[ + _globals["_VERSIONINGOVERRIDE"].fields_by_name["deployment"]._loaded_options = None + _globals["_VERSIONINGOVERRIDE"].fields_by_name[ + "deployment" + ]._serialized_options = b"\030\001" + _globals["_VERSIONINGOVERRIDE"].fields_by_name[ + "pinned_version" + ]._loaded_options = None + _globals["_VERSIONINGOVERRIDE"].fields_by_name[ "pinned_version" ]._serialized_options = b"\030\001" - _WORKFLOWEXECUTIONINFO._serialized_start = 552 - _WORKFLOWEXECUTIONINFO._serialized_end = 1816 - _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_start = 1819 - _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_end = 2401 - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_start = 2307 - _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_end = 2401 - _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_start = 2404 - _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_end = 3039 - _DEPLOYMENTTRANSITION._serialized_start = 3041 - _DEPLOYMENTTRANSITION._serialized_end = 3123 - _DEPLOYMENTVERSIONTRANSITION._serialized_start = 3126 - _DEPLOYMENTVERSIONTRANSITION._serialized_end = 3257 - _WORKFLOWEXECUTIONCONFIG._serialized_start = 3260 - _WORKFLOWEXECUTIONCONFIG._serialized_end = 3587 - _PENDINGACTIVITYINFO._serialized_start = 3590 - _PENDINGACTIVITYINFO._serialized_end = 5315 - _PENDINGACTIVITYINFO_PAUSEINFO._serialized_start = 4959 - _PENDINGACTIVITYINFO_PAUSEINFO._serialized_end = 5294 - _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_start = 5180 - _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_end = 5222 - _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_start = 5224 - _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_end = 5281 - _PENDINGCHILDEXECUTIONINFO._serialized_start = 5318 - _PENDINGCHILDEXECUTIONINFO._serialized_end = 5503 - _PENDINGWORKFLOWTASKINFO._serialized_start = 5506 - _PENDINGWORKFLOWTASKINFO._serialized_end = 5775 - _RESETPOINTS._serialized_start = 5777 - _RESETPOINTS._serialized_end = 5848 - _RESETPOINTINFO._serialized_start = 5851 - _RESETPOINTINFO._serialized_end = 6090 - _NEWWORKFLOWEXECUTIONINFO._serialized_start = 6093 - _NEWWORKFLOWEXECUTIONINFO._serialized_end = 6994 - _CALLBACKINFO._serialized_start = 6997 - _CALLBACKINFO._serialized_end = 7767 - _CALLBACKINFO_WORKFLOWCLOSED._serialized_start = 7471 - _CALLBACKINFO_WORKFLOWCLOSED._serialized_end = 7487 - _CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED._serialized_start = 7489 - _CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED._serialized_end = 7542 - _CALLBACKINFO_TRIGGER._serialized_start = 7545 - _CALLBACKINFO_TRIGGER._serialized_end = 7767 - _PENDINGNEXUSOPERATIONINFO._serialized_start = 7770 - _PENDINGNEXUSOPERATIONINFO._serialized_end = 8549 - _NEXUSOPERATIONCANCELLATIONINFO._serialized_start = 8552 - _NEXUSOPERATIONCANCELLATIONINFO._serialized_end = 8940 - _WORKFLOWEXECUTIONOPTIONS._serialized_start = 8943 - _WORKFLOWEXECUTIONOPTIONS._serialized_end = 9172 - _TIMESKIPPINGCONFIG._serialized_start = 9175 - _TIMESKIPPINGCONFIG._serialized_end = 9389 - _VERSIONINGOVERRIDE._serialized_start = 9392 - _VERSIONINGOVERRIDE._serialized_end = 9965 - _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_start = 9675 - _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_end = 9848 - _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_start = 9850 - _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_end = 9953 - _ONCONFLICTOPTIONS._serialized_start = 9967 - _ONCONFLICTOPTIONS._serialized_end = 10072 - _REQUESTIDINFO._serialized_start = 10074 - _REQUESTIDINFO._serialized_end = 10179 - _POSTRESETOPERATION._serialized_start = 10182 - _POSTRESETOPERATION._serialized_end = 10749 - _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_start = 10396 - _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_end = 10575 - _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_start = 10578 - _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_end = 10738 - _WORKFLOWEXECUTIONPAUSEINFO._serialized_start = 10751 - _WORKFLOWEXECUTIONPAUSEINFO._serialized_end = 10862 + _globals["_WORKFLOWEXECUTIONINFO"]._serialized_start = 552 + _globals["_WORKFLOWEXECUTIONINFO"]._serialized_end = 1816 + _globals["_WORKFLOWEXECUTIONEXTENDEDINFO"]._serialized_start = 1819 + _globals["_WORKFLOWEXECUTIONEXTENDEDINFO"]._serialized_end = 2401 + _globals[ + "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" + ]._serialized_start = 2307 + _globals[ + "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" + ]._serialized_end = 2401 + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"]._serialized_start = 2404 + _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"]._serialized_end = 3039 + _globals["_DEPLOYMENTTRANSITION"]._serialized_start = 3041 + _globals["_DEPLOYMENTTRANSITION"]._serialized_end = 3123 + _globals["_DEPLOYMENTVERSIONTRANSITION"]._serialized_start = 3126 + _globals["_DEPLOYMENTVERSIONTRANSITION"]._serialized_end = 3257 + _globals["_WORKFLOWEXECUTIONCONFIG"]._serialized_start = 3260 + _globals["_WORKFLOWEXECUTIONCONFIG"]._serialized_end = 3587 + _globals["_PENDINGACTIVITYINFO"]._serialized_start = 3590 + _globals["_PENDINGACTIVITYINFO"]._serialized_end = 5315 + _globals["_PENDINGACTIVITYINFO_PAUSEINFO"]._serialized_start = 4959 + _globals["_PENDINGACTIVITYINFO_PAUSEINFO"]._serialized_end = 5294 + _globals["_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL"]._serialized_start = 5180 + _globals["_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL"]._serialized_end = 5222 + _globals["_PENDINGACTIVITYINFO_PAUSEINFO_RULE"]._serialized_start = 5224 + _globals["_PENDINGACTIVITYINFO_PAUSEINFO_RULE"]._serialized_end = 5281 + _globals["_PENDINGCHILDEXECUTIONINFO"]._serialized_start = 5318 + _globals["_PENDINGCHILDEXECUTIONINFO"]._serialized_end = 5503 + _globals["_PENDINGWORKFLOWTASKINFO"]._serialized_start = 5506 + _globals["_PENDINGWORKFLOWTASKINFO"]._serialized_end = 5775 + _globals["_RESETPOINTS"]._serialized_start = 5777 + _globals["_RESETPOINTS"]._serialized_end = 5848 + _globals["_RESETPOINTINFO"]._serialized_start = 5851 + _globals["_RESETPOINTINFO"]._serialized_end = 6090 + _globals["_NEWWORKFLOWEXECUTIONINFO"]._serialized_start = 6093 + _globals["_NEWWORKFLOWEXECUTIONINFO"]._serialized_end = 6994 + _globals["_CALLBACKINFO"]._serialized_start = 6997 + _globals["_CALLBACKINFO"]._serialized_end = 7767 + _globals["_CALLBACKINFO_WORKFLOWCLOSED"]._serialized_start = 7471 + _globals["_CALLBACKINFO_WORKFLOWCLOSED"]._serialized_end = 7487 + _globals["_CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED"]._serialized_start = 7489 + _globals["_CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED"]._serialized_end = 7542 + _globals["_CALLBACKINFO_TRIGGER"]._serialized_start = 7545 + _globals["_CALLBACKINFO_TRIGGER"]._serialized_end = 7767 + _globals["_PENDINGNEXUSOPERATIONINFO"]._serialized_start = 7770 + _globals["_PENDINGNEXUSOPERATIONINFO"]._serialized_end = 8549 + _globals["_NEXUSOPERATIONCANCELLATIONINFO"]._serialized_start = 8552 + _globals["_NEXUSOPERATIONCANCELLATIONINFO"]._serialized_end = 8940 + _globals["_WORKFLOWEXECUTIONOPTIONS"]._serialized_start = 8943 + _globals["_WORKFLOWEXECUTIONOPTIONS"]._serialized_end = 9170 + _globals["_VERSIONINGOVERRIDE"]._serialized_start = 9173 + _globals["_VERSIONINGOVERRIDE"]._serialized_end = 9935 + _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDE"]._serialized_start = 9538 + _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDE"]._serialized_end = 9711 + _globals["_VERSIONINGOVERRIDE_ONETIMEOVERRIDE"]._serialized_start = 9713 + _globals["_VERSIONINGOVERRIDE_ONETIMEOVERRIDE"]._serialized_end = 9818 + _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR"]._serialized_start = 9820 + _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR"]._serialized_end = 9923 + _globals["_ONCONFLICTOPTIONS"]._serialized_start = 9937 + _globals["_ONCONFLICTOPTIONS"]._serialized_end = 10042 + _globals["_REQUESTIDINFO"]._serialized_start = 10044 + _globals["_REQUESTIDINFO"]._serialized_end = 10149 + _globals["_POSTRESETOPERATION"]._serialized_start = 10152 + _globals["_POSTRESETOPERATION"]._serialized_end = 10719 + _globals["_POSTRESETOPERATION_SIGNALWORKFLOW"]._serialized_start = 10366 + _globals["_POSTRESETOPERATION_SIGNALWORKFLOW"]._serialized_end = 10545 + _globals["_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS"]._serialized_start = 10548 + _globals["_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS"]._serialized_end = 10708 + _globals["_WORKFLOWEXECUTIONPAUSEINFO"]._serialized_start = 10721 + _globals["_WORKFLOWEXECUTIONPAUSEINFO"]._serialized_end = 10832 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflow/v1/message_pb2.pyi b/temporalio/api/workflow/v1/message_pb2.pyi index e9491a87c..d19db03b0 100644 --- a/temporalio/api/workflow/v1/message_pb2.pyi +++ b/temporalio/api/workflow/v1/message_pb2.pyi @@ -34,6 +34,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowExecutionInfo(google.protobuf.message.Message): """Hold basic information about a workflow execution. This structure is a part of visibility, and thus contain a limited subset of information. @@ -67,6 +68,40 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): PRIORITY_FIELD_NUMBER: builtins.int EXTERNAL_PAYLOAD_SIZE_BYTES_FIELD_NUMBER: builtins.int EXTERNAL_PAYLOAD_COUNT_FIELD_NUMBER: builtins.int + status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType + history_length: builtins.int + parent_namespace_id: builtins.str + task_queue: builtins.str + state_transition_count: builtins.int + history_size_bytes: builtins.int + assigned_build_id: builtins.str + """The currently assigned build ID for this execution. Presence of this value means worker versioning is used + for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules + when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled + again, the assigned build ID may change according to the latest versioning rules. + Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to + this execution. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ + inherited_build_id: builtins.str + """Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead + of using the assignment rules. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ + first_run_id: builtins.str + """The first run ID in the execution chain. + Executions created via the following operations are considered to be in the same chain + - ContinueAsNew + - Workflow Retry + - Workflow Reset + - Cron Schedule + """ + worker_deployment_name: builtins.str + """The name of Worker Deployment that completed the most recent workflow task.""" + external_payload_size_bytes: builtins.int + """Total size in bytes of all external payloads referenced in workflow history.""" + external_payload_count: builtins.int + """Count of external payloads referenced in workflow history.""" @property def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property @@ -75,9 +110,6 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType - history_length: builtins.int - parent_namespace_id: builtins.str @property def parent_execution( self, @@ -91,10 +123,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property - def auto_reset_points(self) -> global___ResetPoints: ... - task_queue: builtins.str - state_transition_count: builtins.int - history_size_bytes: builtins.int + def auto_reset_points(self) -> Global___ResetPoints: ... @property def most_recent_worker_version_stamp( self, @@ -102,11 +131,13 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): """If set, the most recent worker version stamp that appeared in a workflow task completion Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ + @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed. """ + @property def root_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about the root workflow execution. @@ -127,43 +158,18 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. """ - assigned_build_id: builtins.str - """The currently assigned build ID for this execution. Presence of this value means worker versioning is used - for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules - when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled - again, the assigned build ID may change according to the latest versioning rules. - Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to - this execution. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ - inherited_build_id: builtins.str - """Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead - of using the assignment rules. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ - first_run_id: builtins.str - """The first run ID in the execution chain. - Executions created via the following operations are considered to be in the same chain - - ContinueAsNew - - Workflow Retry - - Workflow Reset - - Cron Schedule - """ + @property - def versioning_info(self) -> global___WorkflowExecutionVersioningInfo: + def versioning_info(self) -> Global___WorkflowExecutionVersioningInfo: """Absent value means the workflow execution is not versioned. When present, the execution might be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`. Experimental. Versioning info is experimental and might change in the future. """ - worker_deployment_name: builtins.str - """The name of Worker Deployment that completed the most recent workflow task.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - external_payload_size_bytes: builtins.int - """Total size in bytes of all external payloads referenced in workflow history.""" - external_payload_count: builtins.int - """Count of external payloads referenced in workflow history.""" + def __init__( self, *, @@ -180,7 +186,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., - auto_reset_points: global___ResetPoints | None = ..., + auto_reset_points: Global___ResetPoints | None = ..., task_queue: builtins.str = ..., state_transition_count: builtins.int = ..., history_size_bytes: builtins.int = ..., @@ -192,7 +198,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): assigned_build_id: builtins.str = ..., inherited_build_id: builtins.str = ..., first_run_id: builtins.str = ..., - versioning_info: global___WorkflowExecutionVersioningInfo | None = ..., + versioning_info: Global___WorkflowExecutionVersioningInfo | None = ..., worker_deployment_name: builtins.str = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., external_payload_size_bytes: builtins.int = ..., @@ -200,7 +206,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "auto_reset_points", b"auto_reset_points", "close_time", @@ -233,7 +239,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "assigned_build_id", b"assigned_build_id", "auto_reset_points", @@ -289,13 +295,15 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionInfo = WorkflowExecutionInfo +Global___WorkflowExecutionInfo: typing_extensions.TypeAlias = WorkflowExecutionInfo +@typing.final class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): """Holds all the extra information about workflow execution that is not part of Visibility.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class RequestIdInfosEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -303,19 +311,18 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> global___RequestIdInfo: ... + def value(self) -> Global___RequestIdInfo: ... def __init__( self, *, key: builtins.str = ..., - value: global___RequestIdInfo | None = ..., + value: Global___RequestIdInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... EXECUTION_EXPIRATION_TIME_FIELD_NUMBER: builtins.int @@ -326,38 +333,44 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): RESET_RUN_ID_FIELD_NUMBER: builtins.int REQUEST_ID_INFOS_FIELD_NUMBER: builtins.int PAUSE_INFO_FIELD_NUMBER: builtins.int + cancel_requested: builtins.bool + """indicates if the workflow received a cancel request""" + reset_run_id: builtins.str + """Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.""" @property def execution_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset. """ + @property def run_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.""" - cancel_requested: builtins.bool - """indicates if the workflow received a cancel request""" + @property def last_reset_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last workflow reset time. Nil if the workflow was never reset.""" + @property def original_start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Original workflow start time.""" - reset_run_id: builtins.str - """Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.""" + @property def request_id_infos( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, global___RequestIdInfo + builtins.str, Global___RequestIdInfo ]: """Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request). """ + @property - def pause_info(self) -> global___WorkflowExecutionPauseInfo: + def pause_info(self) -> Global___WorkflowExecutionPauseInfo: """Information about the workflow execution pause operation.""" + def __init__( self, *, @@ -367,13 +380,13 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): last_reset_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., original_start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., reset_run_id: builtins.str = ..., - request_id_infos: collections.abc.Mapping[builtins.str, global___RequestIdInfo] + request_id_infos: collections.abc.Mapping[builtins.str, Global___RequestIdInfo] | None = ..., - pause_info: global___WorkflowExecutionPauseInfo | None = ..., + pause_info: Global___WorkflowExecutionPauseInfo | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution_expiration_time", b"execution_expiration_time", "last_reset_time", @@ -388,7 +401,7 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_requested", b"cancel_requested", "execution_expiration_time", @@ -408,8 +421,11 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionExtendedInfo = WorkflowExecutionExtendedInfo +Global___WorkflowExecutionExtendedInfo: typing_extensions.TypeAlias = ( + WorkflowExecutionExtendedInfo +) +@typing.final class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): """Holds all the information about worker versioning for a particular workflow execution. Experimental. Versioning info is experimental and might change in the future. @@ -441,6 +457,31 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Note that `behavior` is overridden by `versioning_override` if the latter is present. """ + version: builtins.str + """Deprecated. Use `deployment_version`.""" + revision_number: builtins.int + """Monotonic counter reflecting the latest routing decision for this workflow execution. + Used for staleness detection between history and matching when dispatching tasks to workers. + Incremented when a workflow execution routes to a new deployment version, which happens + when a worker of the new deployment version completes a workflow task. + Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not + face the problem of inconsistent dispatching that arises from eventual consistency between + task queues and their partitions. + """ + continue_as_new_initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. + If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior + specified in that command. + Only used for the initial task of this run and the initial task of any retries of this run. + Not passed to children or to future continue-as-new. + + Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, + a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility + with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent + to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade. + """ @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """The worker deployment that completed the last workflow task of this workflow execution. Must @@ -451,8 +492,7 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Note that `deployment` is overridden by `versioning_override` if the latter is present. Deprecated. Use `deployment_version`. """ - version: builtins.str - """Deprecated. Use `deployment_version`.""" + @property def deployment_version( self, @@ -472,8 +512,9 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version` will override this value. """ + @property - def versioning_override(self) -> global___VersioningOverride: + def versioning_override(self) -> Global___VersioningOverride: """Present if user has set an execution-specific versioning override. This override takes precedence over SDK-sent `behavior` (and `version` when override is PINNED). An override can be set when starting a new execution, as well as afterwards by calling the @@ -481,8 +522,9 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Pinned overrides are automatically inherited by child workflows, continue-as-new workflows, workflow retries, and cron workflows. """ + @property - def deployment_transition(self) -> global___DeploymentTransition: + def deployment_transition(self) -> Global___DeploymentTransition: """When present, indicates the workflow is transitioning to a different deployment. Can indicate one of the following transitions: unversioned -> versioned, versioned -> versioned on a different deployment, or versioned -> unversioned. @@ -502,8 +544,9 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): completed, pending activities will start their next attempt on the new deployment. Deprecated. Use version_transition. """ + @property - def version_transition(self) -> global___DeploymentVersionTransition: + def version_transition(self) -> Global___DeploymentVersionTransition: """When present, indicates the workflow is transitioning to a different deployment version (which may belong to the same deployment name or another). Can indicate one of the following transitions: unversioned -> versioned, versioned -> versioned @@ -523,29 +566,7 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Pending activities will not start new attempts during a transition. Once the transition is completed, pending activities will start their next attempt on the new version. """ - revision_number: builtins.int - """Monotonic counter reflecting the latest routing decision for this workflow execution. - Used for staleness detection between history and matching when dispatching tasks to workers. - Incremented when a workflow execution routes to a new deployment version, which happens - when a worker of the new deployment version completes a workflow task. - Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not - face the problem of inconsistent dispatching that arises from eventual consistency between - task queues and their partitions. - """ - continue_as_new_initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. - If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior - specified in that command. - Only used for the initial task of this run and the initial task of any retries of this run. - Not passed to children or to future continue-as-new. - Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, - a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility - with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent - to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade. - """ def __init__( self, *, @@ -554,15 +575,15 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): version: builtins.str = ..., deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., - versioning_override: global___VersioningOverride | None = ..., - deployment_transition: global___DeploymentTransition | None = ..., - version_transition: global___DeploymentVersionTransition | None = ..., + versioning_override: Global___VersioningOverride | None = ..., + deployment_transition: Global___DeploymentTransition | None = ..., + version_transition: Global___DeploymentVersionTransition | None = ..., revision_number: builtins.int = ..., continue_as_new_initial_versioning_behavior: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_transition", @@ -577,7 +598,7 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "behavior", b"behavior", "continue_as_new_initial_versioning_behavior", @@ -599,8 +620,11 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionVersioningInfo = WorkflowExecutionVersioningInfo +Global___WorkflowExecutionVersioningInfo: typing_extensions.TypeAlias = ( + WorkflowExecutionVersioningInfo +) +@typing.final class DeploymentTransition(google.protobuf.message.Message): """Holds information about ongoing transition of a workflow execution from one deployment to another. Deprecated. Use DeploymentVersionTransition. @@ -614,20 +638,22 @@ class DeploymentTransition(google.protobuf.message.Message): """The target deployment of the transition. Null means a so-far-versioned workflow is transitioning to unversioned workers. """ + def __init__( self, *, deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] + self, field_name: typing.Literal["deployment", b"deployment"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] + self, field_name: typing.Literal["deployment", b"deployment"] ) -> None: ... -global___DeploymentTransition = DeploymentTransition +Global___DeploymentTransition: typing_extensions.TypeAlias = DeploymentTransition +@typing.final class DeploymentVersionTransition(google.protobuf.message.Message): """Holds information about ongoing transition of a workflow execution from one worker deployment version to another. @@ -647,6 +673,7 @@ class DeploymentVersionTransition(google.protobuf.message.Message): """The target Version of the transition. If nil, a so-far-versioned workflow is transitioning to unversioned workers. """ + def __init__( self, *, @@ -655,20 +682,20 @@ class DeploymentVersionTransition(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], + self, field_name: typing.Literal["deployment_version", b"deployment_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version", b"deployment_version", "version", b"version" ], ) -> None: ... -global___DeploymentVersionTransition = DeploymentVersionTransition +Global___DeploymentVersionTransition: typing_extensions.TypeAlias = ( + DeploymentVersionTransition +) +@typing.final class WorkflowExecutionConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -690,6 +717,7 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """User metadata provided on start workflow.""" + def __init__( self, *, @@ -703,7 +731,7 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", @@ -718,7 +746,7 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", @@ -732,14 +760,17 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionConfig = WorkflowExecutionConfig +Global___WorkflowExecutionConfig: typing_extensions.TypeAlias = WorkflowExecutionConfig +@typing.final class PendingActivityInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class PauseInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Manual(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -757,11 +788,12 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "reason", b"reason" ], ) -> None: ... + @typing.final class Rule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -783,7 +815,7 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "reason", b"reason", "rule_id", b"rule_id" ], ) -> None: ... @@ -794,22 +826,25 @@ class PendingActivityInfo(google.protobuf.message.Message): @property def pause_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the activity was paused.""" + @property - def manual(self) -> global___PendingActivityInfo.PauseInfo.Manual: + def manual(self) -> Global___PendingActivityInfo.PauseInfo.Manual: """activity was paused by the manual intervention""" + @property - def rule(self) -> global___PendingActivityInfo.PauseInfo.Rule: + def rule(self) -> Global___PendingActivityInfo.PauseInfo.Rule: """activity was paused by the rule""" + def __init__( self, *, pause_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - manual: global___PendingActivityInfo.PauseInfo.Manual | None = ..., - rule: global___PendingActivityInfo.PauseInfo.Rule | None = ..., + manual: Global___PendingActivityInfo.PauseInfo.Manual | None = ..., + rule: Global___PendingActivityInfo.PauseInfo.Rule | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "manual", b"manual", "pause_time", @@ -822,7 +857,7 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "manual", b"manual", "pause_time", @@ -834,8 +869,8 @@ class PendingActivityInfo(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["paused_by", b"paused_by"] - ) -> typing_extensions.Literal["manual", "rule"] | None: ... + self, oneof_group: typing.Literal["paused_by", b"paused_by"] + ) -> typing.Literal["manual", "rule"] | None: ... ACTIVITY_ID_FIELD_NUMBER: builtins.int ACTIVITY_TYPE_FIELD_NUMBER: builtins.int @@ -863,33 +898,40 @@ class PendingActivityInfo(google.protobuf.message.Message): PAUSE_INFO_FIELD_NUMBER: builtins.int ACTIVITY_OPTIONS_FIELD_NUMBER: builtins.int activity_id: builtins.str + state: temporalio.api.enums.v1.workflow_pb2.PendingActivityState.ValueType + attempt: builtins.int + maximum_attempts: builtins.int + last_worker_identity: builtins.str + last_independently_assigned_build_id: builtins.str + """Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. + The activity will use the build id in this field instead. + If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning + rules. + """ + paused: builtins.bool + """Indicates if activity is paused.""" + last_worker_deployment_version: builtins.str + """The Worker Deployment Version this activity was dispatched to most recently. + Deprecated. Use `last_deployment_version`. + """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... - state: temporalio.api.enums.v1.workflow_pb2.PendingActivityState.ValueType @property def heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def last_heartbeat_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def last_started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - attempt: builtins.int - maximum_attempts: builtins.int @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def last_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... - last_worker_identity: builtins.str @property def use_workflow_build_id(self) -> google.protobuf.empty_pb2.Empty: """Deprecated. When present, it means this activity is assigned to the build ID of its workflow.""" - last_independently_assigned_build_id: builtins.str - """Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. - The activity will use the build id in this field instead. - If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning - rules. - """ + @property def last_worker_version_stamp( self, @@ -897,6 +939,7 @@ class PendingActivityInfo(google.protobuf.message.Message): """Deprecated. The version stamp of the worker to whom this activity was most recently dispatched This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ + @property def current_retry_interval(self) -> google.protobuf.duration_pb2.Duration: """The time activity will wait until the next retry. @@ -904,26 +947,24 @@ class PendingActivityInfo(google.protobuf.message.Message): If activity is currently waiting it will be current retry interval. If there will be no retry it will be null. """ + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Next time when activity will be scheduled. If activity is currently scheduled or started it will be null. """ - paused: builtins.bool - """Indicates if activity is paused.""" + @property def last_deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """The deployment this activity was dispatched to most recently. Present only if the activity was dispatched to a versioned worker. Deprecated. Use `last_deployment_version`. """ - last_worker_deployment_version: builtins.str - """The Worker Deployment Version this activity was dispatched to most recently. - Deprecated. Use `last_deployment_version`. - """ + @property def last_deployment_version( self, @@ -931,18 +972,21 @@ class PendingActivityInfo(google.protobuf.message.Message): """The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker. """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ + @property - def pause_info(self) -> global___PendingActivityInfo.PauseInfo: ... + def pause_info(self) -> Global___PendingActivityInfo.PauseInfo: ... @property def activity_options( self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Current activity options. May be different from the one used to start the activity.""" + def __init__( self, *, @@ -974,13 +1018,13 @@ class PendingActivityInfo(google.protobuf.message.Message): last_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - pause_info: global___PendingActivityInfo.PauseInfo | None = ..., + pause_info: Global___PendingActivityInfo.PauseInfo | None = ..., activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_options", b"activity_options", "activity_type", @@ -1023,7 +1067,7 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_options", @@ -1079,19 +1123,15 @@ class PendingActivityInfo(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "assigned_build_id", b"assigned_build_id" - ], + self, oneof_group: typing.Literal["assigned_build_id", b"assigned_build_id"] ) -> ( - typing_extensions.Literal[ - "use_workflow_build_id", "last_independently_assigned_build_id" - ] + typing.Literal["use_workflow_build_id", "last_independently_assigned_build_id"] | None ): ... -global___PendingActivityInfo = PendingActivityInfo +Global___PendingActivityInfo: typing_extensions.TypeAlias = PendingActivityInfo +@typing.final class PendingChildExecutionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1119,7 +1159,7 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initiated_id", b"initiated_id", "parent_close_policy", @@ -1133,8 +1173,11 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -global___PendingChildExecutionInfo = PendingChildExecutionInfo +Global___PendingChildExecutionInfo: typing_extensions.TypeAlias = ( + PendingChildExecutionInfo +) +@typing.final class PendingWorkflowTaskInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1144,6 +1187,7 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): STARTED_TIME_FIELD_NUMBER: builtins.int ATTEMPT_FIELD_NUMBER: builtins.int state: temporalio.api.enums.v1.workflow_pb2.PendingWorkflowTaskState.ValueType + attempt: builtins.int @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property @@ -1153,9 +1197,9 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds some threshold, the workflow task will be forced timeout. """ + @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - attempt: builtins.int def __init__( self, *, @@ -1167,7 +1211,7 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "original_scheduled_time", b"original_scheduled_time", "scheduled_time", @@ -1178,7 +1222,7 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "original_scheduled_time", @@ -1192,8 +1236,9 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): ], ) -> None: ... -global___PendingWorkflowTaskInfo = PendingWorkflowTaskInfo +Global___PendingWorkflowTaskInfo: typing_extensions.TypeAlias = PendingWorkflowTaskInfo +@typing.final class ResetPoints(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1202,19 +1247,18 @@ class ResetPoints(google.protobuf.message.Message): def points( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ResetPointInfo + Global___ResetPointInfo ]: ... def __init__( self, *, - points: collections.abc.Iterable[global___ResetPointInfo] | None = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["points", b"points"] + points: collections.abc.Iterable[Global___ResetPointInfo] | None = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["points", b"points"]) -> None: ... -global___ResetPoints = ResetPoints +Global___ResetPoints: typing_extensions.TypeAlias = ResetPoints +@typing.final class ResetPointInfo(google.protobuf.message.Message): """ResetPointInfo records the workflow event id that is the first one processed by a given build id or binary checksum. A new reset point will be created if either build id or binary @@ -1238,6 +1282,8 @@ class ResetPointInfo(google.protobuf.message.Message): """The first run ID in the execution chain that was touched by this worker build.""" first_workflow_task_completed_id: builtins.int """Event ID of the first WorkflowTaskCompleted event processed by this worker build.""" + resettable: builtins.bool + """false if the reset point has pending childWFs/reqCancels/signalExternals.""" @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property @@ -1246,8 +1292,7 @@ class ResetPointInfo(google.protobuf.message.Message): aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --) The time that the run is deleted due to retention. """ - resettable: builtins.bool - """false if the reset point has pending childWFs/reqCancels/signalExternals.""" + def __init__( self, *, @@ -1261,13 +1306,13 @@ class ResetPointInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "expire_time", b"expire_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "binary_checksum", b"binary_checksum", "build_id", @@ -1285,8 +1330,9 @@ class ResetPointInfo(google.protobuf.message.Message): ], ) -> None: ... -global___ResetPointInfo = ResetPointInfo +Global___ResetPointInfo: typing_extensions.TypeAlias = ResetPointInfo +@typing.final class NewWorkflowExecutionInfo(google.protobuf.message.Message): """NewWorkflowExecutionInfo is a shared message that encapsulates all the required arguments to starting a workflow in different contexts. @@ -1311,6 +1357,12 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): VERSIONING_OVERRIDE_FIELD_NUMBER: builtins.int PRIORITY_FIELD_NUMBER: builtins.int workflow_id: builtins.str + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" + cron_schedule: builtins.str + """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -1318,24 +1370,23 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized arguments to the workflow.""" + @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" + @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.""" - cron_schedule: builtins.str - """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -1350,14 +1401,17 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): for use by user interfaces to display the fixed as-of-start summary and details of the workflow. """ + @property - def versioning_override(self) -> global___VersioningOverride: + def versioning_override(self) -> Global___VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" + def __init__( self, *, @@ -1377,12 +1431,12 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): header: temporalio.api.common.v1.message_pb2.Header | None = ..., user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - versioning_override: global___VersioningOverride | None = ..., + versioning_override: Global___VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "input", @@ -1413,7 +1467,7 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cron_schedule", b"cron_schedule", "header", @@ -1449,13 +1503,17 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NewWorkflowExecutionInfo = NewWorkflowExecutionInfo +Global___NewWorkflowExecutionInfo: typing_extensions.TypeAlias = ( + NewWorkflowExecutionInfo +) +@typing.final class CallbackInfo(google.protobuf.message.Message): """CallbackInfo contains the state of an attached workflow callback.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class WorkflowClosed(google.protobuf.message.Message): """Trigger for when the workflow is closed.""" @@ -1465,6 +1523,7 @@ class CallbackInfo(google.protobuf.message.Message): self, ) -> None: ... + @typing.final class UpdateWorkflowExecutionCompleted(google.protobuf.message.Message): """Trigger for when a workflow update is completed.""" @@ -1478,30 +1537,31 @@ class CallbackInfo(google.protobuf.message.Message): update_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["update_id", b"update_id"] + self, field_name: typing.Literal["update_id", b"update_id"] ) -> None: ... + @typing.final class Trigger(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_CLOSED_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_EXECUTION_COMPLETED_FIELD_NUMBER: builtins.int @property - def workflow_closed(self) -> global___CallbackInfo.WorkflowClosed: ... + def workflow_closed(self) -> Global___CallbackInfo.WorkflowClosed: ... @property def update_workflow_execution_completed( self, - ) -> global___CallbackInfo.UpdateWorkflowExecutionCompleted: ... + ) -> Global___CallbackInfo.UpdateWorkflowExecutionCompleted: ... def __init__( self, *, - workflow_closed: global___CallbackInfo.WorkflowClosed | None = ..., - update_workflow_execution_completed: global___CallbackInfo.UpdateWorkflowExecutionCompleted + workflow_closed: Global___CallbackInfo.WorkflowClosed | None = ..., + update_workflow_execution_completed: Global___CallbackInfo.UpdateWorkflowExecutionCompleted | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_workflow_execution_completed", b"update_workflow_execution_completed", "variant", @@ -1512,7 +1572,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_workflow_execution_completed", b"update_workflow_execution_completed", "variant", @@ -1522,11 +1582,9 @@ class CallbackInfo(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] + self, oneof_group: typing.Literal["variant", b"variant"] ) -> ( - typing_extensions.Literal[ - "workflow_closed", "update_workflow_execution_completed" - ] + typing.Literal["workflow_closed", "update_workflow_execution_completed"] | None ): ... @@ -1539,36 +1597,42 @@ class CallbackInfo(google.protobuf.message.Message): LAST_ATTEMPT_FAILURE_FIELD_NUMBER: builtins.int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int + state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType + attempt: builtins.int + """The number of attempts made to deliver the callback. + This number represents a minimum bound since the attempt is incremented after the callback request completes. + """ + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" @property def callback(self) -> temporalio.api.common.v1.message_pb2.Callback: """Information on how this callback should be invoked (e.g. its URL and type).""" + @property - def trigger(self) -> global___CallbackInfo.Trigger: + def trigger(self) -> Global___CallbackInfo.Trigger: """Trigger for this callback.""" + @property def registration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the callback was registered.""" - state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType - attempt: builtins.int - """The number of attempts made to deliver the callback. - This number represents a minimum bound since the attempt is incremented after the callback request completes. - """ + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" + @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" + def __init__( self, *, callback: temporalio.api.common.v1.message_pb2.Callback | None = ..., - trigger: global___CallbackInfo.Trigger | None = ..., + trigger: Global___CallbackInfo.Trigger | None = ..., registration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType = ..., attempt: builtins.int = ..., @@ -1582,7 +1646,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "callback", b"callback", "last_attempt_complete_time", @@ -1599,7 +1663,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1621,8 +1685,9 @@ class CallbackInfo(google.protobuf.message.Message): ], ) -> None: ... -global___CallbackInfo = CallbackInfo +Global___CallbackInfo: typing_extensions.TypeAlias = CallbackInfo +@typing.final class PendingNexusOperationInfo(google.protobuf.message.Message): """PendingNexusOperationInfo contains the state of a pending Nexus operation.""" @@ -1658,6 +1723,21 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): Deprecated. Renamed to operation_token. """ + state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType + attempt: builtins.int + """The number of attempts made to deliver the start operation request. + This number is approximate, it is incremented when a task is added to the history queue. + In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task + was never executed. + """ + scheduled_event_id: builtins.int + """The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the + DescribeWorkflowExecution response with workflow history. + """ + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + operation_token: builtins.str + """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -1665,47 +1745,39 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the operation was scheduled.""" - state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType - attempt: builtins.int - """The number of attempts made to deliver the start operation request. - This number is approximate, it is incremented when a task is added to the history queue. - In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task - was never executed. - """ + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" + @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" + @property - def cancellation_info(self) -> global___NexusOperationCancellationInfo: ... - scheduled_event_id: builtins.int - """The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the - DescribeWorkflowExecution response with workflow history. - """ - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" - operation_token: builtins.str - """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" + def cancellation_info(self) -> Global___NexusOperationCancellationInfo: ... @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + def __init__( self, *, @@ -1723,7 +1795,7 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): | None = ..., next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - cancellation_info: global___NexusOperationCancellationInfo | None = ..., + cancellation_info: Global___NexusOperationCancellationInfo | None = ..., scheduled_event_id: builtins.int = ..., blocked_reason: builtins.str = ..., operation_token: builtins.str = ..., @@ -1732,7 +1804,7 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancellation_info", b"cancellation_info", "last_attempt_complete_time", @@ -1753,7 +1825,7 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1791,8 +1863,11 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): ], ) -> None: ... -global___PendingNexusOperationInfo = PendingNexusOperationInfo +Global___PendingNexusOperationInfo: typing_extensions.TypeAlias = ( + PendingNexusOperationInfo +) +@typing.final class NexusOperationCancellationInfo(google.protobuf.message.Message): """NexusOperationCancellationInfo contains the state of a nexus operation cancellation.""" @@ -1805,25 +1880,29 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): LAST_ATTEMPT_FAILURE_FIELD_NUMBER: builtins.int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int - @property - def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The time when cancellation was requested.""" state: temporalio.api.enums.v1.common_pb2.NexusOperationCancellationState.ValueType attempt: builtins.int """The number of attempts made to deliver the cancel operation request. This number represents a minimum bound since the attempt is incremented after the request completes. """ + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + @property + def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The time when cancellation was requested.""" + @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" + @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" + @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" + def __init__( self, *, @@ -1840,7 +1919,7 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", @@ -1853,7 +1932,7 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1871,8 +1950,11 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): ], ) -> None: ... -global___NexusOperationCancellationInfo = NexusOperationCancellationInfo +Global___NexusOperationCancellationInfo: typing_extensions.TypeAlias = ( + NexusOperationCancellationInfo +) +@typing.final class WorkflowExecutionOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1880,27 +1962,39 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): PRIORITY_FIELD_NUMBER: builtins.int TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int @property - def versioning_override(self) -> global___VersioningOverride: + def versioning_override(self) -> Global___VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """If set, overrides the workflow's priority sent by the SDK.""" + @property - def time_skipping_config(self) -> global___TimeSkippingConfig: - """Time-skipping configuration for this workflow execution. - If not set, the time-skipping configuration is not updated by this request; - the existing configuration is preserved. + def time_skipping_config( + self, + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: + """The time-skipping configuration for this workflow execution. + When `fast_forward` is set, time will be fast-forwarded to a future point relative + to the current workflow timestamp. Each call takes effect, even if + `fast_forward` is set to the same duration, since the target time is recalculated + from the current timestamp on every call. + + This field must be updated as a whole; updating individual sub-fields is not supported. + When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`, + `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field. """ + def __init__( self, *, - versioning_override: global___VersioningOverride | None = ..., + versioning_override: Global___VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - time_skipping_config: global___TimeSkippingConfig | None = ..., + time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig + | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "priority", b"priority", "time_skipping_config", @@ -1911,7 +2005,7 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "priority", b"priority", "time_skipping_config", @@ -1921,83 +2015,11 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowExecutionOptions = WorkflowExecutionOptions - -class TimeSkippingConfig(google.protobuf.message.Message): - """Configuration for time skipping during a workflow execution. - When enabled, virtual time advances automatically whenever there is no in-flight work. - In-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations, - and possibly other features added in the future. - User timers are not classified as in-flight work and will be skipped over. - When time advances, it skips to the earlier of the next user timer or the configured bound, if either exists. - - Propagation behavior of time skipping: - The enabled flag, bound fields, and accumulated skipped duration are propagated to related executions as follows: - (1) Child workflows and continue-as-new: both the configuration and the accumulated skipped duration are - inherited from the current execution. The configured bound is shared between the inherited skipped - duration and any additional duration skipped by the new run. - (2) Retry and cron: the configuration and accumulated skipped duration are inherited as recorded when the - current workflow started; the accumulated skipped duration of the current run is not propagated. - (3) Reset: the new run retains the time-skipping configuration of the current execution. Because reset replays - all events up to the reset point and re-applies any UpdateWorkflowExecutionOptions changes made after that - point, the resulting run ends up with the same final time-skipping configuration as the previous run. - """ - - DESCRIPTOR: google.protobuf.descriptor.Descriptor - - ENABLED_FIELD_NUMBER: builtins.int - MAX_SKIPPED_DURATION_FIELD_NUMBER: builtins.int - MAX_ELAPSED_DURATION_FIELD_NUMBER: builtins.int - enabled: builtins.bool - """Enables or disables time skipping for this workflow execution.""" - @property - def max_skipped_duration(self) -> google.protobuf.duration_pb2.Duration: - """Maximum total virtual time that can be skipped.""" - @property - def max_elapsed_duration(self) -> google.protobuf.duration_pb2.Duration: - """Maximum elapsed time since time skipping was enabled. - This includes both skipped time and real time elapsing. - (-- api-linter: core::0142::time-field-names=disabled --) - """ - def __init__( - self, - *, - enabled: builtins.bool = ..., - max_skipped_duration: google.protobuf.duration_pb2.Duration | None = ..., - max_elapsed_duration: google.protobuf.duration_pb2.Duration | None = ..., - ) -> None: ... - def HasField( - self, - field_name: typing_extensions.Literal[ - "bound", - b"bound", - "max_elapsed_duration", - b"max_elapsed_duration", - "max_skipped_duration", - b"max_skipped_duration", - ], - ) -> builtins.bool: ... - def ClearField( - self, - field_name: typing_extensions.Literal[ - "bound", - b"bound", - "enabled", - b"enabled", - "max_elapsed_duration", - b"max_elapsed_duration", - "max_skipped_duration", - b"max_skipped_duration", - ], - ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["bound", b"bound"] - ) -> ( - typing_extensions.Literal["max_skipped_duration", "max_elapsed_duration"] | None - ): ... - -global___TimeSkippingConfig = TimeSkippingConfig +Global___WorkflowExecutionOptions: typing_extensions.TypeAlias = ( + WorkflowExecutionOptions +) +@typing.final class VersioningOverride(google.protobuf.message.Message): """Used to override the versioning behavior (and pinned deployment version, if applicable) of a specific workflow execution. If set, this override takes precedence over worker-sent values. @@ -2021,7 +2043,7 @@ class VersioningOverride(google.protobuf.message.Message): VersioningOverride._PinnedOverrideBehavior.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: ( VersioningOverride._PinnedOverrideBehavior.ValueType @@ -2044,12 +2066,13 @@ class VersioningOverride(google.protobuf.message.Message): ) # 1 """Override workflow behavior to be Pinned.""" + @typing.final class PinnedOverride(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor BEHAVIOR_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int - behavior: global___VersioningOverride.PinnedOverrideBehavior.ValueType + behavior: Global___VersioningOverride.PinnedOverrideBehavior.ValueType """Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. See `PinnedOverrideBehavior` for details. """ @@ -2066,65 +2089,134 @@ class VersioningOverride(google.protobuf.message.Message): If omitted and the target workflow is not pinned, the override request will be rejected with a PreconditionFailed error. """ + def __init__( self, *, - behavior: global___VersioningOverride.PinnedOverrideBehavior.ValueType = ..., + behavior: Global___VersioningOverride.PinnedOverrideBehavior.ValueType = ..., version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["version", b"version"] + self, field_name: typing.Literal["version", b"version"] + ) -> builtins.bool: ... + def ClearField( + self, + field_name: typing.Literal["behavior", b"behavior", "version", b"version"], + ) -> None: ... + + @typing.final + class OneTimeOverride(google.protobuf.message.Message): + """Routes Workflow Tasks for this execution to `target_deployment_version` + until a Workflow Task completes on that version, then clears the override. + + This does not force the workflow's normal Versioning Behavior to become + Pinned. After the Workflow Task completes on `target_deployment_version`, + the workflow execution's normal Versioning Behavior and Deployment Version + are taken from the worker's completion response. + + Example: if an execution is one-time moved from version X to version Y, and + version Z later becomes current: + - if worker Y reports Pinned, the execution stays on Y; + - if worker Y reports AutoUpgrade, the execution routes to Z on a future + Workflow Task; + - if worker Y reports Pinned and the workflow uses upgrade-on-continue-as-new, + the current run stays on Y and the execution can route to Z after + continue-as-new. + + If no Workflow Task completes on `target_deployment_version`, this override + remains pending. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + TARGET_DEPLOYMENT_VERSION_FIELD_NUMBER: builtins.int + @property + def target_deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + """Required. Worker Deployment Version to receive the one-time Workflow Task.""" + + def __init__( + self, + *, + target_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion + | None = ..., + ) -> None: ... + def HasField( + self, + field_name: typing.Literal[ + "target_deployment_version", b"target_deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "behavior", b"behavior", "version", b"version" + field_name: typing.Literal[ + "target_deployment_version", b"target_deployment_version" ], ) -> None: ... PINNED_FIELD_NUMBER: builtins.int AUTO_UPGRADE_FIELD_NUMBER: builtins.int + ONE_TIME_FIELD_NUMBER: builtins.int BEHAVIOR_FIELD_NUMBER: builtins.int DEPLOYMENT_FIELD_NUMBER: builtins.int PINNED_VERSION_FIELD_NUMBER: builtins.int - @property - def pinned(self) -> global___VersioningOverride.PinnedOverride: - """Override the workflow to have Pinned behavior.""" auto_upgrade: builtins.bool """Override the workflow to have AutoUpgrade behavior.""" behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType """Required. Deprecated. Use `override`. """ - @property - def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: - """Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. - Identifies the worker deployment to pin the workflow to. - Deprecated. Use `override.pinned.version`. - """ pinned_version: builtins.str """Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`. Identifies the worker deployment version to pin the workflow to, in the format ".". Deprecated. Use `override.pinned.version`. """ + @property + def pinned(self) -> Global___VersioningOverride.PinnedOverride: + """Override the workflow to have Pinned behavior. This is a sticky override: + Workflow Tasks continue to route according to this override until it is + explicitly removed. + """ + + @property + def one_time(self) -> Global___VersioningOverride.OneTimeOverride: + """Override Workflow Task routing to a specific Worker Deployment Version until + one Workflow Task completes there. After completion, the workflow execution's + Versioning Behavior and Deployment Version come from the worker's completion + response. + (-- api-linter: core::0142::time-field-type=disabled + aip.dev/not-precedent: one_time describes one-time routing semantics, not a timestamp or duration. --) + """ + + @property + def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: + """Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. + Identifies the worker deployment to pin the workflow to. + Deprecated. Use `override.pinned.version`. + """ + def __init__( self, *, - pinned: global___VersioningOverride.PinnedOverride | None = ..., + pinned: Global___VersioningOverride.PinnedOverride | None = ..., auto_upgrade: builtins.bool = ..., + one_time: Global___VersioningOverride.OneTimeOverride | None = ..., behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., pinned_version: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "auto_upgrade", b"auto_upgrade", "deployment", b"deployment", + "one_time", + b"one_time", "override", b"override", "pinned", @@ -2133,13 +2225,15 @@ class VersioningOverride(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "auto_upgrade", b"auto_upgrade", "behavior", b"behavior", "deployment", b"deployment", + "one_time", + b"one_time", "override", b"override", "pinned", @@ -2149,11 +2243,12 @@ class VersioningOverride(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["override", b"override"] - ) -> typing_extensions.Literal["pinned", "auto_upgrade"] | None: ... + self, oneof_group: typing.Literal["override", b"override"] + ) -> typing.Literal["pinned", "auto_upgrade", "one_time"] | None: ... -global___VersioningOverride = VersioningOverride +Global___VersioningOverride: typing_extensions.TypeAlias = VersioningOverride +@typing.final class OnConflictOptions(google.protobuf.message.Message): """When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and there is already an existing running workflow, OnConflictOptions defines actions to be taken on @@ -2181,7 +2276,7 @@ class OnConflictOptions(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attach_completion_callbacks", b"attach_completion_callbacks", "attach_links", @@ -2191,8 +2286,9 @@ class OnConflictOptions(google.protobuf.message.Message): ], ) -> None: ... -global___OnConflictOptions = OnConflictOptions +Global___OnConflictOptions: typing_extensions.TypeAlias = OnConflictOptions +@typing.final class RequestIdInfo(google.protobuf.message.Message): """RequestIdInfo contains details of a request ID.""" @@ -2221,7 +2317,7 @@ class RequestIdInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "buffered", b"buffered", "event_id", @@ -2231,13 +2327,15 @@ class RequestIdInfo(google.protobuf.message.Message): ], ) -> None: ... -global___RequestIdInfo = RequestIdInfo +Global___RequestIdInfo: typing_extensions.TypeAlias = RequestIdInfo +@typing.final class PostResetOperation(google.protobuf.message.Message): """PostResetOperation represents an operation to be performed on the new workflow execution after a workflow reset.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class SignalWorkflow(google.protobuf.message.Message): """SignalWorkflow represents sending a signal after a workflow reset. Keep the parameter in sync with temporalio.api.workflowservice.v1.SignalWorkflowExecutionRequest. @@ -2254,9 +2352,11 @@ class PostResetOperation(google.protobuf.message.Message): @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide with the signal.""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow.""" + @property def links( self, @@ -2264,6 +2364,7 @@ class PostResetOperation(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionSignaled event.""" + def __init__( self, *, @@ -2274,14 +2375,11 @@ class PostResetOperation(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "header", b"header", "input", b"input" - ], + self, field_name: typing.Literal["header", b"header", "input", b"input"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "input", @@ -2293,6 +2391,7 @@ class PostResetOperation(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class UpdateWorkflowOptions(google.protobuf.message.Message): """UpdateWorkflowOptions represents updating workflow execution options after a workflow reset. Keep the parameters in sync with temporalio.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. @@ -2303,22 +2402,24 @@ class PostResetOperation(google.protobuf.message.Message): WORKFLOW_EXECUTION_OPTIONS_FIELD_NUMBER: builtins.int UPDATE_MASK_FIELD_NUMBER: builtins.int @property - def workflow_execution_options(self) -> global___WorkflowExecutionOptions: + def workflow_execution_options(self) -> Global___WorkflowExecutionOptions: """Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.""" + @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. """ + def __init__( self, *, - workflow_execution_options: global___WorkflowExecutionOptions | None = ..., + workflow_execution_options: Global___WorkflowExecutionOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_mask", b"update_mask", "workflow_execution_options", @@ -2327,7 +2428,7 @@ class PostResetOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_mask", b"update_mask", "workflow_execution_options", @@ -2338,21 +2439,21 @@ class PostResetOperation(google.protobuf.message.Message): SIGNAL_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_OPTIONS_FIELD_NUMBER: builtins.int @property - def signal_workflow(self) -> global___PostResetOperation.SignalWorkflow: ... + def signal_workflow(self) -> Global___PostResetOperation.SignalWorkflow: ... @property def update_workflow_options( self, - ) -> global___PostResetOperation.UpdateWorkflowOptions: ... + ) -> Global___PostResetOperation.UpdateWorkflowOptions: ... def __init__( self, *, - signal_workflow: global___PostResetOperation.SignalWorkflow | None = ..., - update_workflow_options: global___PostResetOperation.UpdateWorkflowOptions + signal_workflow: Global___PostResetOperation.SignalWorkflow | None = ..., + update_workflow_options: Global___PostResetOperation.UpdateWorkflowOptions | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "signal_workflow", b"signal_workflow", "update_workflow_options", @@ -2363,7 +2464,7 @@ class PostResetOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "signal_workflow", b"signal_workflow", "update_workflow_options", @@ -2373,13 +2474,12 @@ class PostResetOperation(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> ( - typing_extensions.Literal["signal_workflow", "update_workflow_options"] | None - ): ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["signal_workflow", "update_workflow_options"] | None: ... -global___PostResetOperation = PostResetOperation +Global___PostResetOperation: typing_extensions.TypeAlias = PostResetOperation +@typing.final class WorkflowExecutionPauseInfo(google.protobuf.message.Message): """WorkflowExecutionPauseInfo contains the information about a workflow execution pause.""" @@ -2390,11 +2490,12 @@ class WorkflowExecutionPauseInfo(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int identity: builtins.str """The identity of the client who paused the workflow execution.""" + reason: builtins.str + """The reason for pausing the workflow execution.""" @property def paused_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the workflow execution was paused.""" - reason: builtins.str - """The reason for pausing the workflow execution.""" + def __init__( self, *, @@ -2403,13 +2504,15 @@ class WorkflowExecutionPauseInfo(google.protobuf.message.Message): reason: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["paused_time", b"paused_time"] + self, field_name: typing.Literal["paused_time", b"paused_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "paused_time", b"paused_time", "reason", b"reason" ], ) -> None: ... -global___WorkflowExecutionPauseInfo = WorkflowExecutionPauseInfo +Global___WorkflowExecutionPauseInfo: typing_extensions.TypeAlias = ( + WorkflowExecutionPauseInfo +) diff --git a/temporalio/api/workflowservice/v1/__init__.py b/temporalio/api/workflowservice/v1/__init__.py index 771e4655c..88d7af571 100644 --- a/temporalio/api/workflowservice/v1/__init__.py +++ b/temporalio/api/workflowservice/v1/__init__.py @@ -5,6 +5,8 @@ CountNexusOperationExecutionsResponse, CountSchedulesRequest, CountSchedulesResponse, + CountWorkersRequest, + CountWorkersResponse, CountWorkflowExecutionsRequest, CountWorkflowExecutionsResponse, CreateScheduleRequest, @@ -250,6 +252,8 @@ "CountNexusOperationExecutionsResponse", "CountSchedulesRequest", "CountSchedulesResponse", + "CountWorkersRequest", + "CountWorkersResponse", "CountWorkflowExecutionsRequest", "CountWorkflowExecutionsResponse", "CreateScheduleRequest", diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.py b/temporalio/api/workflowservice/v1/request_response_pb2.py index 32469c030..f492cb574 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2.py @@ -1,4708 +1,1120 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/workflowservice/v1/request_response.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder -# @@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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - -from temporalio.api.activity.v1 import ( - message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, -) -from temporalio.api.batch.v1 import ( - message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2, -) -from temporalio.api.command.v1 import ( - message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2, -) -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, -) -from temporalio.api.compute.v1 import ( - config_pb2 as temporal_dot_api_dot_compute_dot_v1_dot_config__pb2, -) -from temporalio.api.deployment.v1 import ( - message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, -) -from temporalio.api.enums.v1 import ( - activity_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_activity__pb2, -) -from temporalio.api.enums.v1 import ( - batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, -) -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, -) -from temporalio.api.enums.v1 import ( - deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, -) -from temporalio.api.enums.v1 import ( - failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, -) -from temporalio.api.enums.v1 import ( - namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, -) -from temporalio.api.enums.v1 import ( - nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, -) -from temporalio.api.enums.v1 import ( - query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, -) -from temporalio.api.enums.v1 import ( - reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, -) -from temporalio.api.enums.v1 import ( - task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, -) -from temporalio.api.enums.v1 import ( - update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, -) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, -) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, -) -from temporalio.api.filter.v1 import ( - message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2, -) -from temporalio.api.history.v1 import ( - message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, -) -from temporalio.api.namespace.v1 import ( - message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2, -) -from temporalio.api.nexus.v1 import ( - message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, -) -from temporalio.api.protocol.v1 import ( - message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2, -) -from temporalio.api.query.v1 import ( - message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2, -) -from temporalio.api.replication.v1 import ( - message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2, -) -from temporalio.api.rules.v1 import ( - message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, -) -from temporalio.api.schedule.v1 import ( - message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2, -) -from temporalio.api.sdk.v1 import ( - task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, -) -from temporalio.api.sdk.v1 import ( - user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, -) -from temporalio.api.sdk.v1 import ( - worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2, -) -from temporalio.api.taskqueue.v1 import ( - message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, -) -from temporalio.api.update.v1 import ( - message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, -) -from temporalio.api.version.v1 import ( - message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2, -) -from temporalio.api.worker.v1 import ( - message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2, -) -from temporalio.api.workflow.v1 import ( - message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, -) - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/activity.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a$temporal/api/compute/v1/config.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1b\n\x19RegisterNamespaceResponse"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"S\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x18\n\x10weak_consistency\x18\x03 \x01(\x08"\xb4\x03\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\x12\x46\n\x12poller_group_infos\x18\x07 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65precateNamespaceResponse"\xd3\x0c\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\\\n\x1f\x65\x61ger_worker_deployment_options\x18\x1c \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12J\n\x14time_skipping_config\x18\x1d \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xaa\x02\n"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\xb8\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xf2\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x11 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x12 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01"\x8a\n\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x1b\n\x13worker_instance_key\x18\x13 \x01(\t\x12!\n\x19worker_control_task_queue\x18\x14 \x01(\t\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03"\x8d\x04\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"#\n!RespondWorkflowTaskFailedResponse"\xe6\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xd0\x08\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x17\n\x0f\x61\x63tivity_run_id\x18\x14 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x15 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa5\x01\n"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x05 \x01(\t"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xcf\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xfe\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"&\n$RespondActivityTaskCompletedResponse"\xcf\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"*\n(RespondActivityTaskCompletedByIdResponse"\xbe\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\t \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\x8f\x02\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x0bresource_id\x18\x08 \x01(\t"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xfe\x02\n"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"%\n#RespondActivityTaskCanceledResponse"\xa0\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x13\n\x0bresource_id\x18\x08 \x01(\t")\n\'RespondActivityTaskCanceledByIdResponse"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"(\n&RequestCancelWorkflowExecutionResponse"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n"M\n\x1fSignalWorkflowExecutionResponse\x12*\n\x04link\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xbd\n\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x1b \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfigJ\x04\x08\x15\x10\x16"~\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12\x31\n\x0bsignal_link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"$\n"TerminateWorkflowExecutionResponse"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"!\n\x1f\x44\x65leteWorkflowExecutionResponse"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters"\x82\x01\n"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x1c\n\x1aGetSearchAttributesRequest"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\xe9\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x17\n\x0fpoller_group_id\x18\t \x01(\tJ\x04\x08\x05\x10\x06"#\n!RespondQueryTaskCompletedResponse"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x1e\n\x1cResetStickyTaskQueueResponse"\x9b\x02\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x06 \x01(\t\x12\x12\n\ntask_queue\x18\x07 \x01(\t\x12>\n\x10task_queue_types\x18\x08 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\x18\n\x16ShutdownWorkerResponse"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01"\x17\n\x15GetClusterInfoRequest"\xd1\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x12 \n\x18initial_failover_version\x18\t \x01(\x03\x12"\n\x1a\x66\x61ilover_version_increment\x18\n \x01(\x03\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x16\n\x14GetSystemInfoRequest"\x97\x04\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\x8a\x03\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\x12!\n\x19server_scaled_deployments\x18\x0c \x01(\x08"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c"\xa4\x02\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12*\n\x04memo\x18\x08 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x18\n\x16UpdateScheduleResponse"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\x17\n\x15PatchScheduleResponse"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t"\x18\n\x16\x44\x65leteScheduleResponse"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"9\n\x15\x43ountSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xdb\x01\n\x16\x43ountSchedulesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12X\n\x06groups\x18\x02 \x03(\x0b\x32H.temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet"\xb5\r\n"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\x83\x02\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation"\x1d\n\x1bStartBatchOperationResponse"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t"\x1c\n\x1aStopBatchOperationResponse"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xb9\x01\n"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef"\xa0\x03\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\t \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x95\x02\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x04 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x05 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa7\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\x12\x17\n\x0fpoller_group_id\x18\x05 \x01(\t"#\n!RespondNexusTaskCompletedResponse"\xdc\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x17\n\x0fpoller_group_id\x18\x06 \x01(\t" \n\x1eRespondNexusTaskFailedResponse"\xf4\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x12\x13\n\x0bresource_id\x18\x03 \x01(\t\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xab\x02\n%UpdateActivityExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x06 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x12\x13\n\x0bresource_id\x18\t \x01(\t"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"m\n&UpdateActivityExecutionOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"\xc7\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x12\n\nrequest_id\x18\x07 \x01(\tB\n\n\x08\x61\x63tivity"\xb7\x01\n\x1dPauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\x12\x12\n\nrequest_id\x18\x08 \x01(\t"\x17\n\x15PauseActivityResponse" \n\x1ePauseActivityExecutionResponse"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x81\x02\n\x1fUnpauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x16\n\x0ereset_attempts\x18\x06 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x07 \x01(\x08\x12\x0e\n\x06reason\x18\x08 \x01(\t\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x19\n\x17UnpauseActivityResponse""\n UnpauseActivityExecutionResponse"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity"\x8e\x02\n\x1dResetActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x17\n\x15ResetActivityResponse" \n\x1eResetActivityExecutionResponse"\x9c\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08identity\x18\x05 \x01(\t"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xe5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\t \x01(\x08"\xbf\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01"\xf9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\n \x01(\x08"\xe0\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\x12\x1f\n\x13previous_percentage\x18\x03 \x01(\x02\x42\x02\x18\x01"q\n\x1d\x43reateWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"8\n\x1e\x43reateWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary"\xf0\x01\n$CreateWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12>\n\x0e\x63ompute_config\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\'\n%CreateWorkerDeploymentVersionResponse"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t"\'\n%DeleteWorkerDeploymentVersionResponse"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t" \n\x1e\x44\x65leteWorkerDeploymentResponse"\x84\x04\n1UpdateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x99\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32r.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"4\n2UpdateWorkerDeploymentVersionComputeConfigResponse"\xf4\x03\n3ValidateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x9b\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32t.temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"6\n4ValidateWorkerDeploymentVersionComputeConfigResponse"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata"\xbd\x01\n!SetWorkerDeploymentManagerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x1a\n\x10manager_identity\x18\x03 \x01(\tH\x00\x12\x0e\n\x04self\x18\x04 \x01(\x08H\x00\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\tB\x16\n\x14new_manager_identity"c\n"SetWorkerDeploymentManagerResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12%\n\x19previous_manager_identity\x18\x02 \x01(\tB\x02\x18\x01"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08"\x9b\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x13\n\x0bresource_id\x18\x04 \x01(\t"\x1f\n\x1dRecordWorkerHeartbeatResponse"\x82\x01\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\x12\x1e\n\x16include_system_workers\x18\x05 \x01(\x08"\xa5\x01\n\x13ListWorkersResponse\x12<\n\x0cworkers_info\x18\x01 \x03(\x0b\x32".temporal.api.worker.v1.WorkerInfoB\x02\x18\x01\x12\x37\n\x07workers\x18\x03 \x03(\x0b\x32&.temporal.api.worker.v1.WorkerListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd5\x05\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12\x84\x01\n\x1dset_fairness_weight_overrides\x18\x07 \x03(\x0b\x32].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry\x12\'\n\x1funset_fairness_weight_overrides\x18\x08 \x03(\t\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x41\n\x1fSetFairnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig"\x9e\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig"\x8a\x02\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08response"G\n\x15\x44\x65scribeWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x02 \x01(\t"Q\n\x16\x44\x65scribeWorkerResponse\x12\x37\n\x0bworker_info\x18\x01 \x01(\x0b\x32".temporal.api.worker.v1.WorkerInfo"\x8d\x01\n\x1dPauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t" \n\x1ePauseWorkflowExecutionResponse"\x8f\x01\n\x1fUnpauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t""\n UnpauseWorkflowExecutionResponse"\x99\t\n\x1dStartActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x06 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12/\n\x05input\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x45\n\x0fid_reuse_policy\x18\r \x01(\x0e\x32,.temporal.api.enums.v1.ActivityIdReusePolicy\x12K\n\x12id_conflict_policy\x18\x0e \x01(\x0e\x32/.temporal.api.enums.v1.ActivityIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x11 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12>\n\x14\x63ompletion_callbacks\x18\x13 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x14 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x46\n\x13on_conflict_options\x18\x15 \x01(\x0b\x32).temporal.api.common.v1.OnConflictOptions\x12.\n\x0bstart_delay\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration"m\n\x1eStartActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12*\n\x04link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xe4\x01\n DescribeActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x12!\n\x19include_heartbeat_details\x18\x07 \x01(\x08\x12\x1c\n\x14include_last_failure\x18\x08 \x01(\x08"\xbc\x02\n!DescribeActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.temporal.api.activity.v1.ActivityExecutionInfo\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x07outcome\x18\x04 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\x12\x17\n\x0flong_poll_token\x18\x05 \x01(\x0c\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.activity.v1.CallbackInfo"V\n\x1cPollActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"t\n\x1dPollActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x43\n\x07outcome\x18\x02 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome"m\n\x1dListActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x82\x01\n\x1eListActivityExecutionsResponse\x12G\n\nexecutions\x18\x01 \x03(\x0b\x32\x33.temporal.api.activity.v1.ActivityExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd1\x06\n#StartNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x14\n\x0coperation_id\x18\x04 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x05 \x01(\t\x12\x0f\n\x07service\x18\x06 \x01(\t\x12\x11\n\toperation\x18\x07 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x05input\x18\x0b \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12K\n\x0fid_reuse_policy\x18\x0c \x01(\x0e\x32\x32.temporal.api.enums.v1.NexusOperationIdReusePolicy\x12Q\n\x12id_conflict_policy\x18\r \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusOperationIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12k\n\x0cnexus_header\x18\x0f \x03(\x0b\x32U.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x10 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"G\n$StartNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08"\xaa\x01\n&DescribeNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c"\xb7\x02\n\'DescribeNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12@\n\x04info\x18\x02 \x01(\x0b\x32\x32.temporal.api.nexus.v1.NexusOperationExecutionInfo\x12.\n\x05input\x18\x03 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x42\t\n\x07outcome"\xa1\x01\n"PollNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x42\n\nwait_stage\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage"\x85\x02\n#PollNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x42\n\nwait_stage\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage\x12\x17\n\x0foperation_token\x18\x03 \x01(\t\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07outcome"s\n#ListNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x8b\x01\n$ListNexusOperationExecutionsResponse\x12J\n\noperations\x18\x01 \x03(\x0b\x32\x36.temporal.api.nexus.v1.NexusOperationExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountActivityExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"H\n$CountNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xf9\x01\n%CountNexusOperationExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12g\n\x06groups\x18\x02 \x03(\x0b\x32W.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x95\x01\n%RequestCancelActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"(\n&RequestCancelActivityExecutionResponse"\x91\x01\n!TerminateActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"$\n"TerminateActivityExecutionResponse"X\n\x1e\x44\x65leteActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"!\n\x1f\x44\x65leteActivityExecutionResponse"\x9c\x01\n+RequestCancelNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t".\n,RequestCancelNexusOperationExecutionResponse"\x98\x01\n\'TerminateNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"*\n(TerminateNexusOperationExecutionResponse"_\n$DeleteNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"\'\n%DeleteNexusOperationExecutionResponseB\xbe\x01\n"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' -) - - -_REGISTERNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["RegisterNamespaceRequest"] -_REGISTERNAMESPACEREQUEST_DATAENTRY = _REGISTERNAMESPACEREQUEST.nested_types_by_name[ - "DataEntry" -] -_REGISTERNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ - "RegisterNamespaceResponse" -] -_LISTNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["ListNamespacesRequest"] -_LISTNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["ListNamespacesResponse"] -_DESCRIBENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DescribeNamespaceRequest"] -_DESCRIBENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeNamespaceResponse" -] -_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] -_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] -_DEPRECATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name[ - "DeprecateNamespaceRequest" -] -_DEPRECATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ - "DeprecateNamespaceResponse" -] -_STARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StartWorkflowExecutionRequest" -] -_STARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StartWorkflowExecutionResponse" -] -_GETWORKFLOWEXECUTIONHISTORYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryRequest" -] -_GETWORKFLOWEXECUTIONHISTORYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryResponse" -] -_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryReverseRequest" -] -_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkflowExecutionHistoryReverseResponse" -] -_POLLWORKFLOWTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollWorkflowTaskQueueRequest" -] -_POLLWORKFLOWTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollWorkflowTaskQueueResponse" -] -_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY = ( - _POLLWORKFLOWTASKQUEUERESPONSE.nested_types_by_name["QueriesEntry"] -) -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskCompletedRequest" -] -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY = ( - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["QueryResultsEntry"] -) -_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES = ( - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["Capabilities"] -) -_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskCompletedResponse" -] -_RESPONDWORKFLOWTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskFailedRequest" -] -_RESPONDWORKFLOWTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondWorkflowTaskFailedResponse" -] -_POLLACTIVITYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollActivityTaskQueueRequest" -] -_POLLACTIVITYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollActivityTaskQueueResponse" -] -_RECORDACTIVITYTASKHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatRequest" -] -_RECORDACTIVITYTASKHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatResponse" -] -_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatByIdRequest" -] -_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RecordActivityTaskHeartbeatByIdResponse" -] -_RESPONDACTIVITYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedRequest" -] -_RESPONDACTIVITYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedResponse" -] -_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedByIdRequest" -] -_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCompletedByIdResponse" -] -_RESPONDACTIVITYTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedRequest" -] -_RESPONDACTIVITYTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedResponse" -] -_RESPONDACTIVITYTASKFAILEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedByIdRequest" -] -_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskFailedByIdResponse" -] -_RESPONDACTIVITYTASKCANCELEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledRequest" -] -_RESPONDACTIVITYTASKCANCELEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledResponse" -] -_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledByIdRequest" -] -_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondActivityTaskCanceledByIdResponse" -] -_REQUESTCANCELWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "RequestCancelWorkflowExecutionRequest" -] -_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "RequestCancelWorkflowExecutionResponse" -] -_SIGNALWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SignalWorkflowExecutionRequest" -] -_SIGNALWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SignalWorkflowExecutionResponse" -] -_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SignalWithStartWorkflowExecutionRequest" -] -_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SignalWithStartWorkflowExecutionResponse" -] -_RESETWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "ResetWorkflowExecutionRequest" -] -_RESETWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "ResetWorkflowExecutionResponse" -] -_TERMINATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "TerminateWorkflowExecutionRequest" -] -_TERMINATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "TerminateWorkflowExecutionResponse" -] -_DELETEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowExecutionRequest" -] -_DELETEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowExecutionResponse" -] -_LISTOPENWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListOpenWorkflowExecutionsRequest" -] -_LISTOPENWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListOpenWorkflowExecutionsResponse" -] -_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListClosedWorkflowExecutionsRequest" -] -_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListClosedWorkflowExecutionsResponse" -] -_LISTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListWorkflowExecutionsRequest" -] -_LISTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListWorkflowExecutionsResponse" -] -_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListArchivedWorkflowExecutionsRequest" -] -_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListArchivedWorkflowExecutionsResponse" -] -_SCANWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ScanWorkflowExecutionsRequest" -] -_SCANWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ScanWorkflowExecutionsResponse" -] -_COUNTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "CountWorkflowExecutionsRequest" -] -_COUNTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "CountWorkflowExecutionsResponse" -] -_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( - _COUNTWORKFLOWEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] -) -_GETSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ - "GetSearchAttributesRequest" -] -_GETSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetSearchAttributesResponse" -] -_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY = ( - _GETSEARCHATTRIBUTESRESPONSE.nested_types_by_name["KeysEntry"] -) -_RESPONDQUERYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondQueryTaskCompletedRequest" -] -_RESPONDQUERYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondQueryTaskCompletedResponse" -] -_RESETSTICKYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "ResetStickyTaskQueueRequest" -] -_RESETSTICKYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "ResetStickyTaskQueueResponse" -] -_SHUTDOWNWORKERREQUEST = DESCRIPTOR.message_types_by_name["ShutdownWorkerRequest"] -_SHUTDOWNWORKERRESPONSE = DESCRIPTOR.message_types_by_name["ShutdownWorkerResponse"] -_QUERYWORKFLOWREQUEST = DESCRIPTOR.message_types_by_name["QueryWorkflowRequest"] -_QUERYWORKFLOWRESPONSE = DESCRIPTOR.message_types_by_name["QueryWorkflowResponse"] -_DESCRIBEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowExecutionRequest" -] -_DESCRIBEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowExecutionResponse" -] -_DESCRIBETASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name["DescribeTaskQueueRequest"] -_DESCRIBETASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeTaskQueueResponse" -] -_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY = ( - _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["StatsByPriorityKeyEntry"] -) -_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT = ( - _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["EffectiveRateLimit"] -) -_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY = ( - _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["VersionsInfoEntry"] -) -_GETCLUSTERINFOREQUEST = DESCRIPTOR.message_types_by_name["GetClusterInfoRequest"] -_GETCLUSTERINFORESPONSE = DESCRIPTOR.message_types_by_name["GetClusterInfoResponse"] -_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY = ( - _GETCLUSTERINFORESPONSE.nested_types_by_name["SupportedClientsEntry"] -) -_GETSYSTEMINFOREQUEST = DESCRIPTOR.message_types_by_name["GetSystemInfoRequest"] -_GETSYSTEMINFORESPONSE = DESCRIPTOR.message_types_by_name["GetSystemInfoResponse"] -_GETSYSTEMINFORESPONSE_CAPABILITIES = _GETSYSTEMINFORESPONSE.nested_types_by_name[ - "Capabilities" -] -_LISTTASKQUEUEPARTITIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListTaskQueuePartitionsRequest" -] -_LISTTASKQUEUEPARTITIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListTaskQueuePartitionsResponse" -] -_CREATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["CreateScheduleRequest"] -_CREATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["CreateScheduleResponse"] -_DESCRIBESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DescribeScheduleRequest"] -_DESCRIBESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DescribeScheduleResponse"] -_UPDATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["UpdateScheduleRequest"] -_UPDATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["UpdateScheduleResponse"] -_PATCHSCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["PatchScheduleRequest"] -_PATCHSCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["PatchScheduleResponse"] -_LISTSCHEDULEMATCHINGTIMESREQUEST = DESCRIPTOR.message_types_by_name[ - "ListScheduleMatchingTimesRequest" -] -_LISTSCHEDULEMATCHINGTIMESRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListScheduleMatchingTimesResponse" -] -_DELETESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DeleteScheduleRequest"] -_DELETESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DeleteScheduleResponse"] -_LISTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name["ListSchedulesRequest"] -_LISTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name["ListSchedulesResponse"] -_COUNTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name["CountSchedulesRequest"] -_COUNTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name["CountSchedulesResponse"] -_COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP = _COUNTSCHEDULESRESPONSE.nested_types_by_name[ - "AggregationGroup" -] -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerBuildIdCompatibilityRequest" -] -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION = ( - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name[ - "AddNewCompatibleVersion" - ] -) -_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS = ( - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name["MergeSets"] -) -_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerBuildIdCompatibilityResponse" -] -_GETWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkerBuildIdCompatibilityRequest" -] -_GETWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkerBuildIdCompatibilityResponse" -] -_UPDATEWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerVersioningRulesRequest" -] -_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "InsertBuildIdAssignmentRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "ReplaceBuildIdAssignmentRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "DeleteBuildIdAssignmentRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "AddCompatibleBuildIdRedirectRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "ReplaceCompatibleBuildIdRedirectRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ - "DeleteCompatibleBuildIdRedirectRule" - ] -) -_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID = ( - _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name["CommitBuildId"] -) -_UPDATEWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerVersioningRulesResponse" -] -_GETWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkerVersioningRulesRequest" -] -_GETWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkerVersioningRulesResponse" -] -_GETWORKERTASKREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetWorkerTaskReachabilityRequest" -] -_GETWORKERTASKREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetWorkerTaskReachabilityResponse" -] -_UPDATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionRequest" -] -_UPDATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionResponse" -] -_STARTBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StartBatchOperationRequest" -] -_STARTBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StartBatchOperationResponse" -] -_STOPBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StopBatchOperationRequest" -] -_STOPBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StopBatchOperationResponse" -] -_DESCRIBEBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeBatchOperationRequest" -] -_DESCRIBEBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeBatchOperationResponse" -] -_LISTBATCHOPERATIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListBatchOperationsRequest" -] -_LISTBATCHOPERATIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListBatchOperationsResponse" -] -_POLLWORKFLOWEXECUTIONUPDATEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollWorkflowExecutionUpdateRequest" -] -_POLLWORKFLOWEXECUTIONUPDATERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollWorkflowExecutionUpdateResponse" -] -_POLLNEXUSTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ - "PollNexusTaskQueueRequest" -] -_POLLNEXUSTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ - "PollNexusTaskQueueResponse" -] -_RESPONDNEXUSTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskCompletedRequest" -] -_RESPONDNEXUSTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskCompletedResponse" -] -_RESPONDNEXUSTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskFailedRequest" -] -_RESPONDNEXUSTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ - "RespondNexusTaskFailedResponse" -] -_EXECUTEMULTIOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ - "ExecuteMultiOperationRequest" -] -_EXECUTEMULTIOPERATIONREQUEST_OPERATION = ( - _EXECUTEMULTIOPERATIONREQUEST.nested_types_by_name["Operation"] -) -_EXECUTEMULTIOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "ExecuteMultiOperationResponse" -] -_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE = ( - _EXECUTEMULTIOPERATIONRESPONSE.nested_types_by_name["Response"] -) -_UPDATEACTIVITYOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateActivityOptionsRequest" -] -_UPDATEACTIVITYEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateActivityExecutionOptionsRequest" -] -_UPDATEACTIVITYOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateActivityOptionsResponse" -] -_UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateActivityExecutionOptionsResponse" -] -_PAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["PauseActivityRequest"] -_PAUSEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "PauseActivityExecutionRequest" -] -_PAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["PauseActivityResponse"] -_PAUSEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "PauseActivityExecutionResponse" -] -_UNPAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["UnpauseActivityRequest"] -_UNPAUSEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "UnpauseActivityExecutionRequest" -] -_UNPAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["UnpauseActivityResponse"] -_UNPAUSEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "UnpauseActivityExecutionResponse" -] -_RESETACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["ResetActivityRequest"] -_RESETACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "ResetActivityExecutionRequest" -] -_RESETACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["ResetActivityResponse"] -_RESETACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "ResetActivityExecutionResponse" -] -_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionOptionsRequest" -] -_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkflowExecutionOptionsResponse" -] -_DESCRIBEDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeDeploymentRequest" -] -_DESCRIBEDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeDeploymentResponse" -] -_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentVersionRequest" -] -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentVersionResponse" -] -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE = ( - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE.nested_types_by_name["VersionTaskQueue"] -) -_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY = ( - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE.nested_types_by_name[ - "StatsByPriorityKeyEntry" - ] -) -_DESCRIBEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentRequest" -] -_DESCRIBEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkerDeploymentResponse" -] -_LISTDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name["ListDeploymentsRequest"] -_LISTDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name["ListDeploymentsResponse"] -_SETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "SetCurrentDeploymentRequest" -] -_SETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetCurrentDeploymentResponse" -] -_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentCurrentVersionRequest" -] -_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentCurrentVersionResponse" -] -_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentRampingVersionRequest" -] -_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentRampingVersionResponse" -] -_CREATEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateWorkerDeploymentRequest" -] -_CREATEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateWorkerDeploymentResponse" -] -_LISTWORKERDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListWorkerDeploymentsRequest" -] -_LISTWORKERDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListWorkerDeploymentsResponse" -] -_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY = ( - _LISTWORKERDEPLOYMENTSRESPONSE.nested_types_by_name["WorkerDeploymentSummary"] -) -_CREATEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateWorkerDeploymentVersionRequest" -] -_CREATEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateWorkerDeploymentVersionResponse" -] -_DELETEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentVersionRequest" -] -_DELETEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentVersionResponse" -] -_DELETEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentRequest" -] -_DELETEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkerDeploymentResponse" -] -_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerDeploymentVersionComputeConfigRequest" -] -_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY = ( - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST.nested_types_by_name[ - "ComputeConfigScalingGroupsEntry" - ] -) -_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerDeploymentVersionComputeConfigResponse" -] -_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ - "ValidateWorkerDeploymentVersionComputeConfigRequest" -] -_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY = ( - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST.nested_types_by_name[ - "ComputeConfigScalingGroupsEntry" - ] -) -_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE = ( - DESCRIPTOR.message_types_by_name[ - "ValidateWorkerDeploymentVersionComputeConfigResponse" - ] -) -_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerDeploymentVersionMetadataRequest" -] -_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY = ( - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.nested_types_by_name[ - "UpsertEntriesEntry" - ] -) -_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerDeploymentVersionMetadataResponse" -] -_SETWORKERDEPLOYMENTMANAGERREQUEST = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentManagerRequest" -] -_SETWORKERDEPLOYMENTMANAGERRESPONSE = DESCRIPTOR.message_types_by_name[ - "SetWorkerDeploymentManagerResponse" -] -_GETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ - "GetCurrentDeploymentRequest" -] -_GETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetCurrentDeploymentResponse" -] -_GETDEPLOYMENTREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ - "GetDeploymentReachabilityRequest" -] -_GETDEPLOYMENTREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ - "GetDeploymentReachabilityResponse" -] -_CREATEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "CreateWorkflowRuleRequest" -] -_CREATEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "CreateWorkflowRuleResponse" -] -_DESCRIBEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowRuleRequest" -] -_DESCRIBEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeWorkflowRuleResponse" -] -_DELETEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowRuleRequest" -] -_DELETEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteWorkflowRuleResponse" -] -_LISTWORKFLOWRULESREQUEST = DESCRIPTOR.message_types_by_name["ListWorkflowRulesRequest"] -_LISTWORKFLOWRULESRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListWorkflowRulesResponse" -] -_TRIGGERWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ - "TriggerWorkflowRuleRequest" -] -_TRIGGERWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ - "TriggerWorkflowRuleResponse" -] -_RECORDWORKERHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ - "RecordWorkerHeartbeatRequest" -] -_RECORDWORKERHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ - "RecordWorkerHeartbeatResponse" -] -_LISTWORKERSREQUEST = DESCRIPTOR.message_types_by_name["ListWorkersRequest"] -_LISTWORKERSRESPONSE = DESCRIPTOR.message_types_by_name["ListWorkersResponse"] -_UPDATETASKQUEUECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateTaskQueueConfigRequest" -] -_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE = ( - _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name["RateLimitUpdate"] -) -_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY = ( - _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name[ - "SetFairnessWeightOverridesEntry" - ] -) -_UPDATETASKQUEUECONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateTaskQueueConfigResponse" -] -_FETCHWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name["FetchWorkerConfigRequest"] -_FETCHWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ - "FetchWorkerConfigResponse" -] -_UPDATEWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerConfigRequest" -] -_UPDATEWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ - "UpdateWorkerConfigResponse" -] -_DESCRIBEWORKERREQUEST = DESCRIPTOR.message_types_by_name["DescribeWorkerRequest"] -_DESCRIBEWORKERRESPONSE = DESCRIPTOR.message_types_by_name["DescribeWorkerResponse"] -_PAUSEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "PauseWorkflowExecutionRequest" -] -_PAUSEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "PauseWorkflowExecutionResponse" -] -_UNPAUSEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "UnpauseWorkflowExecutionRequest" -] -_UNPAUSEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "UnpauseWorkflowExecutionResponse" -] -_STARTACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StartActivityExecutionRequest" -] -_STARTACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StartActivityExecutionResponse" -] -_DESCRIBEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeActivityExecutionRequest" -] -_DESCRIBEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeActivityExecutionResponse" -] -_POLLACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "PollActivityExecutionRequest" -] -_POLLACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "PollActivityExecutionResponse" -] -_LISTACTIVITYEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListActivityExecutionsRequest" -] -_LISTACTIVITYEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListActivityExecutionsResponse" -] -_STARTNEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "StartNexusOperationExecutionRequest" -] -_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY = ( - _STARTNEXUSOPERATIONEXECUTIONREQUEST.nested_types_by_name["NexusHeaderEntry"] -) -_STARTNEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "StartNexusOperationExecutionResponse" -] -_DESCRIBENEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DescribeNexusOperationExecutionRequest" -] -_DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DescribeNexusOperationExecutionResponse" -] -_POLLNEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "PollNexusOperationExecutionRequest" -] -_POLLNEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "PollNexusOperationExecutionResponse" -] -_LISTNEXUSOPERATIONEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "ListNexusOperationExecutionsRequest" -] -_LISTNEXUSOPERATIONEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "ListNexusOperationExecutionsResponse" -] -_COUNTACTIVITYEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "CountActivityExecutionsRequest" -] -_COUNTACTIVITYEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "CountActivityExecutionsResponse" -] -_COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( - _COUNTACTIVITYEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] -) -_COUNTNEXUSOPERATIONEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ - "CountNexusOperationExecutionsRequest" -] -_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ - "CountNexusOperationExecutionsResponse" -] -_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( - _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] -) -_REQUESTCANCELACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "RequestCancelActivityExecutionRequest" -] -_REQUESTCANCELACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "RequestCancelActivityExecutionResponse" -] -_TERMINATEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "TerminateActivityExecutionRequest" -] -_TERMINATEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "TerminateActivityExecutionResponse" -] -_DELETEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteActivityExecutionRequest" -] -_DELETEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteActivityExecutionResponse" -] -_REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "RequestCancelNexusOperationExecutionRequest" -] -_REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "RequestCancelNexusOperationExecutionResponse" -] -_TERMINATENEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "TerminateNexusOperationExecutionRequest" -] -_TERMINATENEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "TerminateNexusOperationExecutionResponse" -] -_DELETENEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ - "DeleteNexusOperationExecutionRequest" -] -_DELETENEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ - "DeleteNexusOperationExecutionResponse" -] -RegisterNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "RegisterNamespaceRequest", - (_message.Message,), - { - "DataEntry": _reflection.GeneratedProtocolMessageType( - "DataEntry", - (_message.Message,), - { - "DESCRIPTOR": _REGISTERNAMESPACEREQUEST_DATAENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry) - }, - ), - "DESCRIPTOR": _REGISTERNAMESPACEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest) - }, -) -_sym_db.RegisterMessage(RegisterNamespaceRequest) -_sym_db.RegisterMessage(RegisterNamespaceRequest.DataEntry) - -RegisterNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "RegisterNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _REGISTERNAMESPACERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceResponse) - }, -) -_sym_db.RegisterMessage(RegisterNamespaceResponse) - -ListNamespacesRequest = _reflection.GeneratedProtocolMessageType( - "ListNamespacesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTNAMESPACESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesRequest) - }, -) -_sym_db.RegisterMessage(ListNamespacesRequest) - -ListNamespacesResponse = _reflection.GeneratedProtocolMessageType( - "ListNamespacesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTNAMESPACESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesResponse) - }, -) -_sym_db.RegisterMessage(ListNamespacesResponse) - -DescribeNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DescribeNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBENAMESPACEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceRequest) - }, -) -_sym_db.RegisterMessage(DescribeNamespaceRequest) - -DescribeNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DescribeNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBENAMESPACERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceResponse) - }, -) -_sym_db.RegisterMessage(DescribeNamespaceResponse) - -UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceRequest) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceRequest) - -UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "UpdateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATENAMESPACERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceResponse) - }, -) -_sym_db.RegisterMessage(UpdateNamespaceResponse) - -DeprecateNamespaceRequest = _reflection.GeneratedProtocolMessageType( - "DeprecateNamespaceRequest", - (_message.Message,), - { - "DESCRIPTOR": _DEPRECATENAMESPACEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceRequest) - }, -) -_sym_db.RegisterMessage(DeprecateNamespaceRequest) - -DeprecateNamespaceResponse = _reflection.GeneratedProtocolMessageType( - "DeprecateNamespaceResponse", - (_message.Message,), - { - "DESCRIPTOR": _DEPRECATENAMESPACERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceResponse) - }, -) -_sym_db.RegisterMessage(DeprecateNamespaceResponse) - -StartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "StartWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _STARTWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(StartWorkflowExecutionRequest) - -StartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "StartWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _STARTWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(StartWorkflowExecutionResponse) - -GetWorkflowExecutionHistoryRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest) - }, -) -_sym_db.RegisterMessage(GetWorkflowExecutionHistoryRequest) - -GetWorkflowExecutionHistoryResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse) - }, -) -_sym_db.RegisterMessage(GetWorkflowExecutionHistoryResponse) - -GetWorkflowExecutionHistoryReverseRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryReverseRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest) - }, -) -_sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseRequest) - -GetWorkflowExecutionHistoryReverseResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkflowExecutionHistoryReverseResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse) - }, -) -_sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseResponse) - -PollWorkflowTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "PollWorkflowTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWTASKQUEUEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest) - }, -) -_sym_db.RegisterMessage(PollWorkflowTaskQueueRequest) - -PollWorkflowTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "PollWorkflowTaskQueueResponse", - (_message.Message,), - { - "QueriesEntry": _reflection.GeneratedProtocolMessageType( - "QueriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry) - }, - ), - "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse) - }, -) -_sym_db.RegisterMessage(PollWorkflowTaskQueueResponse) -_sym_db.RegisterMessage(PollWorkflowTaskQueueResponse.QueriesEntry) - -RespondWorkflowTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskCompletedRequest", - (_message.Message,), - { - "QueryResultsEntry": _reflection.GeneratedProtocolMessageType( - "QueryResultsEntry", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry) - }, - ), - "Capabilities": _reflection.GeneratedProtocolMessageType( - "Capabilities", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities) - }, - ), - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest) - }, -) -_sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest) -_sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.QueryResultsEntry) -_sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.Capabilities) - -RespondWorkflowTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse) - }, -) -_sym_db.RegisterMessage(RespondWorkflowTaskCompletedResponse) - -RespondWorkflowTaskFailedRequest = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskFailedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest) - }, -) -_sym_db.RegisterMessage(RespondWorkflowTaskFailedRequest) - -RespondWorkflowTaskFailedResponse = _reflection.GeneratedProtocolMessageType( - "RespondWorkflowTaskFailedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse) - }, -) -_sym_db.RegisterMessage(RespondWorkflowTaskFailedResponse) - -PollActivityTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "PollActivityTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLACTIVITYTASKQUEUEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueRequest) - }, -) -_sym_db.RegisterMessage(PollActivityTaskQueueRequest) - -PollActivityTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "PollActivityTaskQueueResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLACTIVITYTASKQUEUERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueResponse) - }, -) -_sym_db.RegisterMessage(PollActivityTaskQueueResponse) - -RecordActivityTaskHeartbeatRequest = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatRequest", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest) - }, -) -_sym_db.RegisterMessage(RecordActivityTaskHeartbeatRequest) - -RecordActivityTaskHeartbeatResponse = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatResponse", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse) - }, -) -_sym_db.RegisterMessage(RecordActivityTaskHeartbeatResponse) - -RecordActivityTaskHeartbeatByIdRequest = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest) - }, -) -_sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdRequest) - -RecordActivityTaskHeartbeatByIdResponse = _reflection.GeneratedProtocolMessageType( - "RecordActivityTaskHeartbeatByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse) - }, -) -_sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdResponse) - -RespondActivityTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCompletedRequest) - -RespondActivityTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCompletedResponse) - -RespondActivityTaskCompletedByIdRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCompletedByIdRequest) - -RespondActivityTaskCompletedByIdResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCompletedByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCompletedByIdResponse) - -RespondActivityTaskFailedRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskFailedRequest) - -RespondActivityTaskFailedResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskFailedResponse) - -RespondActivityTaskFailedByIdRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskFailedByIdRequest) - -RespondActivityTaskFailedByIdResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskFailedByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskFailedByIdResponse) - -RespondActivityTaskCanceledRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCanceledRequest) - -RespondActivityTaskCanceledResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCanceledResponse) - -RespondActivityTaskCanceledByIdRequest = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledByIdRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCanceledByIdRequest) - -RespondActivityTaskCanceledByIdResponse = _reflection.GeneratedProtocolMessageType( - "RespondActivityTaskCanceledByIdResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse) - }, -) -_sym_db.RegisterMessage(RespondActivityTaskCanceledByIdResponse) - -RequestCancelWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "RequestCancelWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(RequestCancelWorkflowExecutionRequest) - -RequestCancelWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "RequestCancelWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(RequestCancelWorkflowExecutionResponse) - -SignalWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "SignalWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(SignalWorkflowExecutionRequest) - -SignalWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "SignalWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(SignalWorkflowExecutionResponse) - -SignalWithStartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "SignalWithStartWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionRequest) - -SignalWithStartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "SignalWithStartWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionResponse) - -ResetWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "ResetWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESETWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(ResetWorkflowExecutionRequest) - -ResetWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "ResetWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESETWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(ResetWorkflowExecutionResponse) - -TerminateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "TerminateWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(TerminateWorkflowExecutionRequest) - -TerminateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "TerminateWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(TerminateWorkflowExecutionResponse) - -DeleteWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(DeleteWorkflowExecutionRequest) - -DeleteWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(DeleteWorkflowExecutionResponse) - -ListOpenWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListOpenWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest) - }, -) -_sym_db.RegisterMessage(ListOpenWorkflowExecutionsRequest) - -ListOpenWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListOpenWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse) - }, -) -_sym_db.RegisterMessage(ListOpenWorkflowExecutionsResponse) - -ListClosedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListClosedWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest) - }, -) -_sym_db.RegisterMessage(ListClosedWorkflowExecutionsRequest) - -ListClosedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListClosedWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse) - }, -) -_sym_db.RegisterMessage(ListClosedWorkflowExecutionsResponse) - -ListWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest) - }, -) -_sym_db.RegisterMessage(ListWorkflowExecutionsRequest) - -ListWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse) - }, -) -_sym_db.RegisterMessage(ListWorkflowExecutionsResponse) - -ListArchivedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListArchivedWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest) - }, -) -_sym_db.RegisterMessage(ListArchivedWorkflowExecutionsRequest) - -ListArchivedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListArchivedWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse) - }, -) -_sym_db.RegisterMessage(ListArchivedWorkflowExecutionsResponse) - -ScanWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ScanWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest) - }, -) -_sym_db.RegisterMessage(ScanWorkflowExecutionsRequest) - -ScanWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ScanWorkflowExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse) - }, -) -_sym_db.RegisterMessage(ScanWorkflowExecutionsResponse) - -CountWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "CountWorkflowExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest) - }, -) -_sym_db.RegisterMessage(CountWorkflowExecutionsRequest) - -CountWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "CountWorkflowExecutionsResponse", - (_message.Message,), - { - "AggregationGroup": _reflection.GeneratedProtocolMessageType( - "AggregationGroup", - (_message.Message,), - { - "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup) - }, - ), - "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse) - }, -) -_sym_db.RegisterMessage(CountWorkflowExecutionsResponse) -_sym_db.RegisterMessage(CountWorkflowExecutionsResponse.AggregationGroup) - -GetSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( - "GetSearchAttributesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSEARCHATTRIBUTESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesRequest) - }, -) -_sym_db.RegisterMessage(GetSearchAttributesRequest) - -GetSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( - "GetSearchAttributesResponse", - (_message.Message,), - { - "KeysEntry": _reflection.GeneratedProtocolMessageType( - "KeysEntry", - (_message.Message,), - { - "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry) - }, - ), - "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse) - }, -) -_sym_db.RegisterMessage(GetSearchAttributesResponse) -_sym_db.RegisterMessage(GetSearchAttributesResponse.KeysEntry) - -RespondQueryTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondQueryTaskCompletedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest) - }, -) -_sym_db.RegisterMessage(RespondQueryTaskCompletedRequest) - -RespondQueryTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondQueryTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse) - }, -) -_sym_db.RegisterMessage(RespondQueryTaskCompletedResponse) - -ResetStickyTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "ResetStickyTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESETSTICKYTASKQUEUEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest) - }, -) -_sym_db.RegisterMessage(ResetStickyTaskQueueRequest) - -ResetStickyTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "ResetStickyTaskQueueResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESETSTICKYTASKQUEUERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse) - }, -) -_sym_db.RegisterMessage(ResetStickyTaskQueueResponse) - -ShutdownWorkerRequest = _reflection.GeneratedProtocolMessageType( - "ShutdownWorkerRequest", - (_message.Message,), - { - "DESCRIPTOR": _SHUTDOWNWORKERREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerRequest) - }, -) -_sym_db.RegisterMessage(ShutdownWorkerRequest) - -ShutdownWorkerResponse = _reflection.GeneratedProtocolMessageType( - "ShutdownWorkerResponse", - (_message.Message,), - { - "DESCRIPTOR": _SHUTDOWNWORKERRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerResponse) - }, -) -_sym_db.RegisterMessage(ShutdownWorkerResponse) - -QueryWorkflowRequest = _reflection.GeneratedProtocolMessageType( - "QueryWorkflowRequest", - (_message.Message,), - { - "DESCRIPTOR": _QUERYWORKFLOWREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowRequest) - }, -) -_sym_db.RegisterMessage(QueryWorkflowRequest) - -QueryWorkflowResponse = _reflection.GeneratedProtocolMessageType( - "QueryWorkflowResponse", - (_message.Message,), - { - "DESCRIPTOR": _QUERYWORKFLOWRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowResponse) - }, -) -_sym_db.RegisterMessage(QueryWorkflowResponse) - -DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(DescribeWorkflowExecutionRequest) - -DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(DescribeWorkflowExecutionResponse) - -DescribeTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "DescribeTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueRequest) - }, -) -_sym_db.RegisterMessage(DescribeTaskQueueRequest) - -DescribeTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "DescribeTaskQueueResponse", - (_message.Message,), - { - "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( - "StatsByPriorityKeyEntry", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry) - }, - ), - "EffectiveRateLimit": _reflection.GeneratedProtocolMessageType( - "EffectiveRateLimit", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit) - }, - ), - "VersionsInfoEntry": _reflection.GeneratedProtocolMessageType( - "VersionsInfoEntry", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry) - }, - ), - "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse) - }, -) -_sym_db.RegisterMessage(DescribeTaskQueueResponse) -_sym_db.RegisterMessage(DescribeTaskQueueResponse.StatsByPriorityKeyEntry) -_sym_db.RegisterMessage(DescribeTaskQueueResponse.EffectiveRateLimit) -_sym_db.RegisterMessage(DescribeTaskQueueResponse.VersionsInfoEntry) - -GetClusterInfoRequest = _reflection.GeneratedProtocolMessageType( - "GetClusterInfoRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCLUSTERINFOREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoRequest) - }, -) -_sym_db.RegisterMessage(GetClusterInfoRequest) - -GetClusterInfoResponse = _reflection.GeneratedProtocolMessageType( - "GetClusterInfoResponse", - (_message.Message,), - { - "SupportedClientsEntry": _reflection.GeneratedProtocolMessageType( - "SupportedClientsEntry", - (_message.Message,), - { - "DESCRIPTOR": _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry) - }, - ), - "DESCRIPTOR": _GETCLUSTERINFORESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse) - }, -) -_sym_db.RegisterMessage(GetClusterInfoResponse) -_sym_db.RegisterMessage(GetClusterInfoResponse.SupportedClientsEntry) - -GetSystemInfoRequest = _reflection.GeneratedProtocolMessageType( - "GetSystemInfoRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETSYSTEMINFOREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoRequest) - }, -) -_sym_db.RegisterMessage(GetSystemInfoRequest) - -GetSystemInfoResponse = _reflection.GeneratedProtocolMessageType( - "GetSystemInfoResponse", - (_message.Message,), - { - "Capabilities": _reflection.GeneratedProtocolMessageType( - "Capabilities", - (_message.Message,), - { - "DESCRIPTOR": _GETSYSTEMINFORESPONSE_CAPABILITIES, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities) - }, - ), - "DESCRIPTOR": _GETSYSTEMINFORESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse) - }, -) -_sym_db.RegisterMessage(GetSystemInfoResponse) -_sym_db.RegisterMessage(GetSystemInfoResponse.Capabilities) - -ListTaskQueuePartitionsRequest = _reflection.GeneratedProtocolMessageType( - "ListTaskQueuePartitionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest) - }, -) -_sym_db.RegisterMessage(ListTaskQueuePartitionsRequest) - -ListTaskQueuePartitionsResponse = _reflection.GeneratedProtocolMessageType( - "ListTaskQueuePartitionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse) - }, -) -_sym_db.RegisterMessage(ListTaskQueuePartitionsResponse) - -CreateScheduleRequest = _reflection.GeneratedProtocolMessageType( - "CreateScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATESCHEDULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleRequest) - }, -) -_sym_db.RegisterMessage(CreateScheduleRequest) - -CreateScheduleResponse = _reflection.GeneratedProtocolMessageType( - "CreateScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATESCHEDULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleResponse) - }, -) -_sym_db.RegisterMessage(CreateScheduleResponse) - -DescribeScheduleRequest = _reflection.GeneratedProtocolMessageType( - "DescribeScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBESCHEDULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleRequest) - }, -) -_sym_db.RegisterMessage(DescribeScheduleRequest) - -DescribeScheduleResponse = _reflection.GeneratedProtocolMessageType( - "DescribeScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBESCHEDULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleResponse) - }, -) -_sym_db.RegisterMessage(DescribeScheduleResponse) - -UpdateScheduleRequest = _reflection.GeneratedProtocolMessageType( - "UpdateScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESCHEDULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleRequest) - }, -) -_sym_db.RegisterMessage(UpdateScheduleRequest) - -UpdateScheduleResponse = _reflection.GeneratedProtocolMessageType( - "UpdateScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATESCHEDULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleResponse) - }, -) -_sym_db.RegisterMessage(UpdateScheduleResponse) - -PatchScheduleRequest = _reflection.GeneratedProtocolMessageType( - "PatchScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _PATCHSCHEDULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleRequest) - }, -) -_sym_db.RegisterMessage(PatchScheduleRequest) - -PatchScheduleResponse = _reflection.GeneratedProtocolMessageType( - "PatchScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _PATCHSCHEDULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleResponse) - }, -) -_sym_db.RegisterMessage(PatchScheduleResponse) - -ListScheduleMatchingTimesRequest = _reflection.GeneratedProtocolMessageType( - "ListScheduleMatchingTimesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest) - }, -) -_sym_db.RegisterMessage(ListScheduleMatchingTimesRequest) - -ListScheduleMatchingTimesResponse = _reflection.GeneratedProtocolMessageType( - "ListScheduleMatchingTimesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse) - }, -) -_sym_db.RegisterMessage(ListScheduleMatchingTimesResponse) - -DeleteScheduleRequest = _reflection.GeneratedProtocolMessageType( - "DeleteScheduleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETESCHEDULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleRequest) - }, -) -_sym_db.RegisterMessage(DeleteScheduleRequest) - -DeleteScheduleResponse = _reflection.GeneratedProtocolMessageType( - "DeleteScheduleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETESCHEDULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleResponse) - }, -) -_sym_db.RegisterMessage(DeleteScheduleResponse) - -ListSchedulesRequest = _reflection.GeneratedProtocolMessageType( - "ListSchedulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesRequest) - }, -) -_sym_db.RegisterMessage(ListSchedulesRequest) - -ListSchedulesResponse = _reflection.GeneratedProtocolMessageType( - "ListSchedulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTSCHEDULESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesResponse) - }, -) -_sym_db.RegisterMessage(ListSchedulesResponse) - -CountSchedulesRequest = _reflection.GeneratedProtocolMessageType( - "CountSchedulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _COUNTSCHEDULESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountSchedulesRequest) - }, -) -_sym_db.RegisterMessage(CountSchedulesRequest) - -CountSchedulesResponse = _reflection.GeneratedProtocolMessageType( - "CountSchedulesResponse", - (_message.Message,), - { - "AggregationGroup": _reflection.GeneratedProtocolMessageType( - "AggregationGroup", - (_message.Message,), - { - "DESCRIPTOR": _COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup) - }, - ), - "DESCRIPTOR": _COUNTSCHEDULESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountSchedulesResponse) - }, -) -_sym_db.RegisterMessage(CountSchedulesResponse) -_sym_db.RegisterMessage(CountSchedulesResponse.AggregationGroup) - -UpdateWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerBuildIdCompatibilityRequest", - (_message.Message,), - { - "AddNewCompatibleVersion": _reflection.GeneratedProtocolMessageType( - "AddNewCompatibleVersion", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) - }, - ), - "MergeSets": _reflection.GeneratedProtocolMessageType( - "MergeSets", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets) - }, - ), - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest) - }, -) -_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest) -_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) -_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.MergeSets) - -UpdateWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerBuildIdCompatibilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse) - }, -) -_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityResponse) - -GetWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkerBuildIdCompatibilityRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest) - }, -) -_sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityRequest) - -GetWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkerBuildIdCompatibilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse) - }, -) -_sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityResponse) - -UpdateWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerVersioningRulesRequest", - (_message.Message,), - { - "InsertBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( - "InsertBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) - }, - ), - "ReplaceBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( - "ReplaceBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) - }, - ), - "DeleteBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( - "DeleteBuildIdAssignmentRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) - }, - ), - "AddCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( - "AddCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) - }, - ), - "ReplaceCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( - "ReplaceCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) - }, - ), - "DeleteCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( - "DeleteCompatibleBuildIdRedirectRule", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) - }, - ), - "CommitBuildId": _reflection.GeneratedProtocolMessageType( - "CommitBuildId", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId) - }, - ), - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest) - }, -) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) -_sym_db.RegisterMessage( - UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule -) -_sym_db.RegisterMessage( - UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule -) -_sym_db.RegisterMessage( - UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule -) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.CommitBuildId) - -UpdateWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerVersioningRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse) - }, -) -_sym_db.RegisterMessage(UpdateWorkerVersioningRulesResponse) - -GetWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkerVersioningRulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERVERSIONINGRULESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest) - }, -) -_sym_db.RegisterMessage(GetWorkerVersioningRulesRequest) - -GetWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkerVersioningRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERVERSIONINGRULESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse) - }, -) -_sym_db.RegisterMessage(GetWorkerVersioningRulesResponse) - -GetWorkerTaskReachabilityRequest = _reflection.GeneratedProtocolMessageType( - "GetWorkerTaskReachabilityRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERTASKREACHABILITYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest) - }, -) -_sym_db.RegisterMessage(GetWorkerTaskReachabilityRequest) - -GetWorkerTaskReachabilityResponse = _reflection.GeneratedProtocolMessageType( - "GetWorkerTaskReachabilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETWORKERTASKREACHABILITYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse) - }, -) -_sym_db.RegisterMessage(GetWorkerTaskReachabilityResponse) - -UpdateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest) - }, -) -_sym_db.RegisterMessage(UpdateWorkflowExecutionRequest) - -UpdateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse) - }, -) -_sym_db.RegisterMessage(UpdateWorkflowExecutionResponse) - -StartBatchOperationRequest = _reflection.GeneratedProtocolMessageType( - "StartBatchOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _STARTBATCHOPERATIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationRequest) - }, -) -_sym_db.RegisterMessage(StartBatchOperationRequest) - -StartBatchOperationResponse = _reflection.GeneratedProtocolMessageType( - "StartBatchOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _STARTBATCHOPERATIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationResponse) - }, -) -_sym_db.RegisterMessage(StartBatchOperationResponse) - -StopBatchOperationRequest = _reflection.GeneratedProtocolMessageType( - "StopBatchOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _STOPBATCHOPERATIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationRequest) - }, -) -_sym_db.RegisterMessage(StopBatchOperationRequest) - -StopBatchOperationResponse = _reflection.GeneratedProtocolMessageType( - "StopBatchOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _STOPBATCHOPERATIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationResponse) - }, -) -_sym_db.RegisterMessage(StopBatchOperationResponse) - -DescribeBatchOperationRequest = _reflection.GeneratedProtocolMessageType( - "DescribeBatchOperationRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEBATCHOPERATIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationRequest) - }, -) -_sym_db.RegisterMessage(DescribeBatchOperationRequest) - -DescribeBatchOperationResponse = _reflection.GeneratedProtocolMessageType( - "DescribeBatchOperationResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEBATCHOPERATIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationResponse) - }, -) -_sym_db.RegisterMessage(DescribeBatchOperationResponse) - -ListBatchOperationsRequest = _reflection.GeneratedProtocolMessageType( - "ListBatchOperationsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTBATCHOPERATIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsRequest) - }, -) -_sym_db.RegisterMessage(ListBatchOperationsRequest) - -ListBatchOperationsResponse = _reflection.GeneratedProtocolMessageType( - "ListBatchOperationsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTBATCHOPERATIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsResponse) - }, -) -_sym_db.RegisterMessage(ListBatchOperationsResponse) - -PollWorkflowExecutionUpdateRequest = _reflection.GeneratedProtocolMessageType( - "PollWorkflowExecutionUpdateRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest) - }, -) -_sym_db.RegisterMessage(PollWorkflowExecutionUpdateRequest) - -PollWorkflowExecutionUpdateResponse = _reflection.GeneratedProtocolMessageType( - "PollWorkflowExecutionUpdateResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse) - }, -) -_sym_db.RegisterMessage(PollWorkflowExecutionUpdateResponse) - -PollNexusTaskQueueRequest = _reflection.GeneratedProtocolMessageType( - "PollNexusTaskQueueRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLNEXUSTASKQUEUEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueRequest) - }, -) -_sym_db.RegisterMessage(PollNexusTaskQueueRequest) - -PollNexusTaskQueueResponse = _reflection.GeneratedProtocolMessageType( - "PollNexusTaskQueueResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLNEXUSTASKQUEUERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueResponse) - }, -) -_sym_db.RegisterMessage(PollNexusTaskQueueResponse) - -RespondNexusTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskCompletedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest) - }, -) -_sym_db.RegisterMessage(RespondNexusTaskCompletedRequest) - -RespondNexusTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskCompletedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse) - }, -) -_sym_db.RegisterMessage(RespondNexusTaskCompletedResponse) - -RespondNexusTaskFailedRequest = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskFailedRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest) - }, -) -_sym_db.RegisterMessage(RespondNexusTaskFailedRequest) - -RespondNexusTaskFailedResponse = _reflection.GeneratedProtocolMessageType( - "RespondNexusTaskFailedResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse) - }, -) -_sym_db.RegisterMessage(RespondNexusTaskFailedResponse) - -ExecuteMultiOperationRequest = _reflection.GeneratedProtocolMessageType( - "ExecuteMultiOperationRequest", - (_message.Message,), - { - "Operation": _reflection.GeneratedProtocolMessageType( - "Operation", - (_message.Message,), - { - "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST_OPERATION, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation) - }, - ), - "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest) - }, -) -_sym_db.RegisterMessage(ExecuteMultiOperationRequest) -_sym_db.RegisterMessage(ExecuteMultiOperationRequest.Operation) - -ExecuteMultiOperationResponse = _reflection.GeneratedProtocolMessageType( - "ExecuteMultiOperationResponse", - (_message.Message,), - { - "Response": _reflection.GeneratedProtocolMessageType( - "Response", - (_message.Message,), - { - "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response) - }, - ), - "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse) - }, -) -_sym_db.RegisterMessage(ExecuteMultiOperationResponse) -_sym_db.RegisterMessage(ExecuteMultiOperationResponse.Response) - -UpdateActivityOptionsRequest = _reflection.GeneratedProtocolMessageType( - "UpdateActivityOptionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACTIVITYOPTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsRequest) - }, -) -_sym_db.RegisterMessage(UpdateActivityOptionsRequest) - -UpdateActivityExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType( - "UpdateActivityExecutionOptionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACTIVITYEXECUTIONOPTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest) - }, -) -_sym_db.RegisterMessage(UpdateActivityExecutionOptionsRequest) - -UpdateActivityOptionsResponse = _reflection.GeneratedProtocolMessageType( - "UpdateActivityOptionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACTIVITYOPTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsResponse) - }, -) -_sym_db.RegisterMessage(UpdateActivityOptionsResponse) - -UpdateActivityExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType( - "UpdateActivityExecutionOptionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsResponse) - }, -) -_sym_db.RegisterMessage(UpdateActivityExecutionOptionsResponse) - -PauseActivityRequest = _reflection.GeneratedProtocolMessageType( - "PauseActivityRequest", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEACTIVITYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityRequest) - }, -) -_sym_db.RegisterMessage(PauseActivityRequest) - -PauseActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "PauseActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityExecutionRequest) - }, -) -_sym_db.RegisterMessage(PauseActivityExecutionRequest) - -PauseActivityResponse = _reflection.GeneratedProtocolMessageType( - "PauseActivityResponse", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEACTIVITYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityResponse) - }, -) -_sym_db.RegisterMessage(PauseActivityResponse) - -PauseActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "PauseActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityExecutionResponse) - }, -) -_sym_db.RegisterMessage(PauseActivityExecutionResponse) - -UnpauseActivityRequest = _reflection.GeneratedProtocolMessageType( - "UnpauseActivityRequest", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEACTIVITYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityRequest) - }, -) -_sym_db.RegisterMessage(UnpauseActivityRequest) - -UnpauseActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "UnpauseActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest) - }, -) -_sym_db.RegisterMessage(UnpauseActivityExecutionRequest) - -UnpauseActivityResponse = _reflection.GeneratedProtocolMessageType( - "UnpauseActivityResponse", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEACTIVITYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityResponse) - }, -) -_sym_db.RegisterMessage(UnpauseActivityResponse) - -UnpauseActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "UnpauseActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityExecutionResponse) - }, -) -_sym_db.RegisterMessage(UnpauseActivityExecutionResponse) - -ResetActivityRequest = _reflection.GeneratedProtocolMessageType( - "ResetActivityRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESETACTIVITYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityRequest) - }, -) -_sym_db.RegisterMessage(ResetActivityRequest) - -ResetActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "ResetActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _RESETACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityExecutionRequest) - }, -) -_sym_db.RegisterMessage(ResetActivityExecutionRequest) - -ResetActivityResponse = _reflection.GeneratedProtocolMessageType( - "ResetActivityResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESETACTIVITYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityResponse) - }, -) -_sym_db.RegisterMessage(ResetActivityResponse) - -ResetActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "ResetActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _RESETACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityExecutionResponse) - }, -) -_sym_db.RegisterMessage(ResetActivityExecutionResponse) - -UpdateWorkflowExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionOptionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest) - }, -) -_sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsRequest) - -UpdateWorkflowExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkflowExecutionOptionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse) - }, -) -_sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsResponse) - -DescribeDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "DescribeDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEDEPLOYMENTREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentRequest) - }, -) -_sym_db.RegisterMessage(DescribeDeploymentRequest) - -DescribeDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "DescribeDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEDEPLOYMENTRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentResponse) - }, -) -_sym_db.RegisterMessage(DescribeDeploymentResponse) - -DescribeWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest) - }, -) -_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionRequest) - -DescribeWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentVersionResponse", - (_message.Message,), - { - "VersionTaskQueue": _reflection.GeneratedProtocolMessageType( - "VersionTaskQueue", - (_message.Message,), - { - "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( - "StatsByPriorityKeyEntry", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) - }, - ), - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) - }, - ), - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse) - }, -) -_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse) -_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) -_sym_db.RegisterMessage( - DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry -) - -DescribeWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest) - }, -) -_sym_db.RegisterMessage(DescribeWorkerDeploymentRequest) - -DescribeWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse) - }, -) -_sym_db.RegisterMessage(DescribeWorkerDeploymentResponse) - -ListDeploymentsRequest = _reflection.GeneratedProtocolMessageType( - "ListDeploymentsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTDEPLOYMENTSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsRequest) - }, -) -_sym_db.RegisterMessage(ListDeploymentsRequest) - -ListDeploymentsResponse = _reflection.GeneratedProtocolMessageType( - "ListDeploymentsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTDEPLOYMENTSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsResponse) - }, -) -_sym_db.RegisterMessage(ListDeploymentsResponse) - -SetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "SetCurrentDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETCURRENTDEPLOYMENTREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentRequest) - }, -) -_sym_db.RegisterMessage(SetCurrentDeploymentRequest) - -SetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "SetCurrentDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETCURRENTDEPLOYMENTRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentResponse) - }, -) -_sym_db.RegisterMessage(SetCurrentDeploymentResponse) - -SetWorkerDeploymentCurrentVersionRequest = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentCurrentVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest) - }, -) -_sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionRequest) - -SetWorkerDeploymentCurrentVersionResponse = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentCurrentVersionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse) - }, -) -_sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionResponse) - -SetWorkerDeploymentRampingVersionRequest = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentRampingVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest) - }, -) -_sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionRequest) - -SetWorkerDeploymentRampingVersionResponse = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentRampingVersionResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse) - }, -) -_sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionResponse) - -CreateWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "CreateWorkerDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKERDEPLOYMENTREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest) - }, -) -_sym_db.RegisterMessage(CreateWorkerDeploymentRequest) - -CreateWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "CreateWorkerDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKERDEPLOYMENTRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse) - }, -) -_sym_db.RegisterMessage(CreateWorkerDeploymentResponse) - -ListWorkerDeploymentsRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkerDeploymentsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERDEPLOYMENTSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest) - }, -) -_sym_db.RegisterMessage(ListWorkerDeploymentsRequest) - -ListWorkerDeploymentsResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkerDeploymentsResponse", - (_message.Message,), - { - "WorkerDeploymentSummary": _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentSummary", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary) - }, - ), - "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse) - }, -) -_sym_db.RegisterMessage(ListWorkerDeploymentsResponse) -_sym_db.RegisterMessage(ListWorkerDeploymentsResponse.WorkerDeploymentSummary) - -CreateWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( - "CreateWorkerDeploymentVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKERDEPLOYMENTVERSIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionRequest) - }, -) -_sym_db.RegisterMessage(CreateWorkerDeploymentVersionRequest) - -CreateWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( - "CreateWorkerDeploymentVersionResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKERDEPLOYMENTVERSIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionResponse) - }, -) -_sym_db.RegisterMessage(CreateWorkerDeploymentVersionResponse) - -DeleteWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentVersionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest) - }, -) -_sym_db.RegisterMessage(DeleteWorkerDeploymentVersionRequest) - -DeleteWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentVersionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse) - }, -) -_sym_db.RegisterMessage(DeleteWorkerDeploymentVersionResponse) - -DeleteWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest) - }, -) -_sym_db.RegisterMessage(DeleteWorkerDeploymentRequest) - -DeleteWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkerDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKERDEPLOYMENTRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse) - }, -) -_sym_db.RegisterMessage(DeleteWorkerDeploymentResponse) - -UpdateWorkerDeploymentVersionComputeConfigRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerDeploymentVersionComputeConfigRequest", - (_message.Message,), - { - "ComputeConfigScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( - "ComputeConfigScalingGroupsEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry) - }, - ), - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest) - }, -) -_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionComputeConfigRequest) -_sym_db.RegisterMessage( - UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry -) - -UpdateWorkerDeploymentVersionComputeConfigResponse = ( - _reflection.GeneratedProtocolMessageType( - "UpdateWorkerDeploymentVersionComputeConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigResponse) - }, - ) -) -_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionComputeConfigResponse) - -ValidateWorkerDeploymentVersionComputeConfigRequest = _reflection.GeneratedProtocolMessageType( - "ValidateWorkerDeploymentVersionComputeConfigRequest", - (_message.Message,), - { - "ComputeConfigScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( - "ComputeConfigScalingGroupsEntry", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry) - }, - ), - "DESCRIPTOR": _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest) - }, -) -_sym_db.RegisterMessage(ValidateWorkerDeploymentVersionComputeConfigRequest) -_sym_db.RegisterMessage( - ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry -) - -ValidateWorkerDeploymentVersionComputeConfigResponse = ( - _reflection.GeneratedProtocolMessageType( - "ValidateWorkerDeploymentVersionComputeConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigResponse) - }, - ) -) -_sym_db.RegisterMessage(ValidateWorkerDeploymentVersionComputeConfigResponse) - -UpdateWorkerDeploymentVersionMetadataRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerDeploymentVersionMetadataRequest", - (_message.Message,), - { - "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( - "UpsertEntriesEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) - }, - ), - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest) - }, -) -_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest) -_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) - -UpdateWorkerDeploymentVersionMetadataResponse = ( - _reflection.GeneratedProtocolMessageType( - "UpdateWorkerDeploymentVersionMetadataResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) - }, - ) +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/workflowservice/v1/request_response.proto", ) -_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataResponse) - -SetWorkerDeploymentManagerRequest = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentManagerRequest", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTMANAGERREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest) - }, -) -_sym_db.RegisterMessage(SetWorkerDeploymentManagerRequest) - -SetWorkerDeploymentManagerResponse = _reflection.GeneratedProtocolMessageType( - "SetWorkerDeploymentManagerResponse", - (_message.Message,), - { - "DESCRIPTOR": _SETWORKERDEPLOYMENTMANAGERRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse) - }, -) -_sym_db.RegisterMessage(SetWorkerDeploymentManagerResponse) - -GetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( - "GetCurrentDeploymentRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTDEPLOYMENTREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentRequest) - }, -) -_sym_db.RegisterMessage(GetCurrentDeploymentRequest) - -GetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( - "GetCurrentDeploymentResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETCURRENTDEPLOYMENTRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentResponse) - }, -) -_sym_db.RegisterMessage(GetCurrentDeploymentResponse) - -GetDeploymentReachabilityRequest = _reflection.GeneratedProtocolMessageType( - "GetDeploymentReachabilityRequest", - (_message.Message,), - { - "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest) - }, -) -_sym_db.RegisterMessage(GetDeploymentReachabilityRequest) - -GetDeploymentReachabilityResponse = _reflection.GeneratedProtocolMessageType( - "GetDeploymentReachabilityResponse", - (_message.Message,), - { - "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse) - }, -) -_sym_db.RegisterMessage(GetDeploymentReachabilityResponse) - -CreateWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "CreateWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKFLOWRULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleRequest) - }, -) -_sym_db.RegisterMessage(CreateWorkflowRuleRequest) - -CreateWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "CreateWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _CREATEWORKFLOWRULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleResponse) - }, -) -_sym_db.RegisterMessage(CreateWorkflowRuleResponse) - -DescribeWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWRULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest) - }, -) -_sym_db.RegisterMessage(DescribeWorkflowRuleRequest) - -DescribeWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKFLOWRULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse) - }, -) -_sym_db.RegisterMessage(DescribeWorkflowRuleResponse) - -DeleteWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWRULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest) - }, -) -_sym_db.RegisterMessage(DeleteWorkflowRuleRequest) - -DeleteWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "DeleteWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEWORKFLOWRULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse) - }, -) -_sym_db.RegisterMessage(DeleteWorkflowRuleResponse) - -ListWorkflowRulesRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkflowRulesRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWRULESREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesRequest) - }, -) -_sym_db.RegisterMessage(ListWorkflowRulesRequest) - -ListWorkflowRulesResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkflowRulesResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKFLOWRULESRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesResponse) - }, -) -_sym_db.RegisterMessage(ListWorkflowRulesResponse) - -TriggerWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( - "TriggerWorkflowRuleRequest", - (_message.Message,), - { - "DESCRIPTOR": _TRIGGERWORKFLOWRULEREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest) - }, -) -_sym_db.RegisterMessage(TriggerWorkflowRuleRequest) - -TriggerWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( - "TriggerWorkflowRuleResponse", - (_message.Message,), - { - "DESCRIPTOR": _TRIGGERWORKFLOWRULERESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse) - }, -) -_sym_db.RegisterMessage(TriggerWorkflowRuleResponse) - -RecordWorkerHeartbeatRequest = _reflection.GeneratedProtocolMessageType( - "RecordWorkerHeartbeatRequest", - (_message.Message,), - { - "DESCRIPTOR": _RECORDWORKERHEARTBEATREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest) - }, -) -_sym_db.RegisterMessage(RecordWorkerHeartbeatRequest) - -RecordWorkerHeartbeatResponse = _reflection.GeneratedProtocolMessageType( - "RecordWorkerHeartbeatResponse", - (_message.Message,), - { - "DESCRIPTOR": _RECORDWORKERHEARTBEATRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse) - }, -) -_sym_db.RegisterMessage(RecordWorkerHeartbeatResponse) - -ListWorkersRequest = _reflection.GeneratedProtocolMessageType( - "ListWorkersRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersRequest) - }, -) -_sym_db.RegisterMessage(ListWorkersRequest) - -ListWorkersResponse = _reflection.GeneratedProtocolMessageType( - "ListWorkersResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTWORKERSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersResponse) - }, -) -_sym_db.RegisterMessage(ListWorkersResponse) - -UpdateTaskQueueConfigRequest = _reflection.GeneratedProtocolMessageType( - "UpdateTaskQueueConfigRequest", - (_message.Message,), - { - "RateLimitUpdate": _reflection.GeneratedProtocolMessageType( - "RateLimitUpdate", - (_message.Message,), - { - "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate) - }, - ), - "SetFairnessWeightOverridesEntry": _reflection.GeneratedProtocolMessageType( - "SetFairnessWeightOverridesEntry", - (_message.Message,), - { - "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry) - }, - ), - "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest) - }, -) -_sym_db.RegisterMessage(UpdateTaskQueueConfigRequest) -_sym_db.RegisterMessage(UpdateTaskQueueConfigRequest.RateLimitUpdate) -_sym_db.RegisterMessage(UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry) - -UpdateTaskQueueConfigResponse = _reflection.GeneratedProtocolMessageType( - "UpdateTaskQueueConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATETASKQUEUECONFIGRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse) - }, -) -_sym_db.RegisterMessage(UpdateTaskQueueConfigResponse) - -FetchWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( - "FetchWorkerConfigRequest", - (_message.Message,), - { - "DESCRIPTOR": _FETCHWORKERCONFIGREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigRequest) - }, -) -_sym_db.RegisterMessage(FetchWorkerConfigRequest) - -FetchWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( - "FetchWorkerConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _FETCHWORKERCONFIGRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigResponse) - }, -) -_sym_db.RegisterMessage(FetchWorkerConfigResponse) - -UpdateWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerConfigRequest", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERCONFIGREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigRequest) - }, -) -_sym_db.RegisterMessage(UpdateWorkerConfigRequest) +# @@protoc_insertion_point(imports) -UpdateWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( - "UpdateWorkerConfigResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATEWORKERCONFIGRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) - }, -) -_sym_db.RegisterMessage(UpdateWorkerConfigResponse) +_sym_db = _symbol_database.Default() -DescribeWorkerRequest = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerRequest) - }, -) -_sym_db.RegisterMessage(DescribeWorkerRequest) -DescribeWorkerResponse = _reflection.GeneratedProtocolMessageType( - "DescribeWorkerResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEWORKERRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerResponse) - }, -) -_sym_db.RegisterMessage(DescribeWorkerResponse) +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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -PauseWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "PauseWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest) - }, +from temporalio.api.activity.v1 import ( + message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(PauseWorkflowExecutionRequest) - -PauseWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "PauseWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _PAUSEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse) - }, +from temporalio.api.batch.v1 import ( + message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(PauseWorkflowExecutionResponse) - -UnpauseWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( - "UnpauseWorkflowExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEWORKFLOWEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseWorkflowExecutionRequest) - }, +from temporalio.api.command.v1 import ( + message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(UnpauseWorkflowExecutionRequest) - -UnpauseWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( - "UnpauseWorkflowExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _UNPAUSEWORKFLOWEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseWorkflowExecutionResponse) - }, +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(UnpauseWorkflowExecutionResponse) - -StartActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "StartActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _STARTACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartActivityExecutionRequest) - }, +from temporalio.api.compute.v1 import ( + config_pb2 as temporal_dot_api_dot_compute_dot_v1_dot_config__pb2, ) -_sym_db.RegisterMessage(StartActivityExecutionRequest) - -StartActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "StartActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _STARTACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartActivityExecutionResponse) - }, +from temporalio.api.deployment.v1 import ( + message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(StartActivityExecutionResponse) - -DescribeActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DescribeActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeActivityExecutionRequest) - }, +from temporalio.api.enums.v1 import ( + activity_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_activity__pb2, ) -_sym_db.RegisterMessage(DescribeActivityExecutionRequest) - -DescribeActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DescribeActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBEACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeActivityExecutionResponse) - }, +from temporalio.api.enums.v1 import ( + batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, ) -_sym_db.RegisterMessage(DescribeActivityExecutionResponse) - -PollActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "PollActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityExecutionRequest) - }, +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, ) -_sym_db.RegisterMessage(PollActivityExecutionRequest) - -PollActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "PollActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityExecutionResponse) - }, +from temporalio.api.enums.v1 import ( + deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, ) -_sym_db.RegisterMessage(PollActivityExecutionResponse) - -ListActivityExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListActivityExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTACTIVITYEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListActivityExecutionsRequest) - }, +from temporalio.api.enums.v1 import ( + failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, ) -_sym_db.RegisterMessage(ListActivityExecutionsRequest) - -ListActivityExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListActivityExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTACTIVITYEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListActivityExecutionsResponse) - }, +from temporalio.api.enums.v1 import ( + namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, ) -_sym_db.RegisterMessage(ListActivityExecutionsResponse) - -StartNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( - "StartNexusOperationExecutionRequest", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _STARTNEXUSOPERATIONEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest) - }, +from temporalio.api.enums.v1 import ( + nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, ) -_sym_db.RegisterMessage(StartNexusOperationExecutionRequest) -_sym_db.RegisterMessage(StartNexusOperationExecutionRequest.NexusHeaderEntry) - -StartNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( - "StartNexusOperationExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _STARTNEXUSOPERATIONEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse) - }, +from temporalio.api.enums.v1 import ( + query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, ) -_sym_db.RegisterMessage(StartNexusOperationExecutionResponse) - -DescribeNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DescribeNexusOperationExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBENEXUSOPERATIONEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest) - }, +from temporalio.api.enums.v1 import ( + reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, ) -_sym_db.RegisterMessage(DescribeNexusOperationExecutionRequest) - -DescribeNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DescribeNexusOperationExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse) - }, +from temporalio.api.enums.v1 import ( + task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, ) -_sym_db.RegisterMessage(DescribeNexusOperationExecutionResponse) - -PollNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( - "PollNexusOperationExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _POLLNEXUSOPERATIONEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest) - }, +from temporalio.api.enums.v1 import ( + update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, ) -_sym_db.RegisterMessage(PollNexusOperationExecutionRequest) - -PollNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( - "PollNexusOperationExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _POLLNEXUSOPERATIONEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse) - }, +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, ) -_sym_db.RegisterMessage(PollNexusOperationExecutionResponse) - -ListNexusOperationExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "ListNexusOperationExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _LISTNEXUSOPERATIONEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest) - }, +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(ListNexusOperationExecutionsRequest) - -ListNexusOperationExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "ListNexusOperationExecutionsResponse", - (_message.Message,), - { - "DESCRIPTOR": _LISTNEXUSOPERATIONEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse) - }, +from temporalio.api.filter.v1 import ( + message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(ListNexusOperationExecutionsResponse) - -CountActivityExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "CountActivityExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _COUNTACTIVITYEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountActivityExecutionsRequest) - }, +from temporalio.api.history.v1 import ( + message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(CountActivityExecutionsRequest) - -CountActivityExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "CountActivityExecutionsResponse", - (_message.Message,), - { - "AggregationGroup": _reflection.GeneratedProtocolMessageType( - "AggregationGroup", - (_message.Message,), - { - "DESCRIPTOR": _COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup) - }, - ), - "DESCRIPTOR": _COUNTACTIVITYEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountActivityExecutionsResponse) - }, +from temporalio.api.namespace.v1 import ( + message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(CountActivityExecutionsResponse) -_sym_db.RegisterMessage(CountActivityExecutionsResponse.AggregationGroup) - -CountNexusOperationExecutionsRequest = _reflection.GeneratedProtocolMessageType( - "CountNexusOperationExecutionsRequest", - (_message.Message,), - { - "DESCRIPTOR": _COUNTNEXUSOPERATIONEXECUTIONSREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest) - }, +from temporalio.api.nexus.v1 import ( + message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(CountNexusOperationExecutionsRequest) - -CountNexusOperationExecutionsResponse = _reflection.GeneratedProtocolMessageType( - "CountNexusOperationExecutionsResponse", - (_message.Message,), - { - "AggregationGroup": _reflection.GeneratedProtocolMessageType( - "AggregationGroup", - (_message.Message,), - { - "DESCRIPTOR": _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup) - }, - ), - "DESCRIPTOR": _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse) - }, +from temporalio.api.protocol.v1 import ( + message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(CountNexusOperationExecutionsResponse) -_sym_db.RegisterMessage(CountNexusOperationExecutionsResponse.AggregationGroup) - -RequestCancelActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "RequestCancelActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest) - }, +from temporalio.api.query.v1 import ( + message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(RequestCancelActivityExecutionRequest) - -RequestCancelActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "RequestCancelActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse) - }, +from temporalio.api.replication.v1 import ( + message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(RequestCancelActivityExecutionResponse) - -TerminateActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "TerminateActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateActivityExecutionRequest) - }, +from temporalio.api.rules.v1 import ( + message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(TerminateActivityExecutionRequest) - -TerminateActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "TerminateActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATEACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateActivityExecutionResponse) - }, +from temporalio.api.schedule.v1 import ( + message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(TerminateActivityExecutionResponse) - -DeleteActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteActivityExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETEACTIVITYEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteActivityExecutionRequest) - }, +from temporalio.api.sdk.v1 import ( + task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, ) -_sym_db.RegisterMessage(DeleteActivityExecutionRequest) - -DeleteActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteActivityExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETEACTIVITYEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteActivityExecutionResponse) - }, +from temporalio.api.sdk.v1 import ( + user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, ) -_sym_db.RegisterMessage(DeleteActivityExecutionResponse) - -RequestCancelNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( - "RequestCancelNexusOperationExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest) - }, +from temporalio.api.sdk.v1 import ( + worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2, ) -_sym_db.RegisterMessage(RequestCancelNexusOperationExecutionRequest) - -RequestCancelNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( - "RequestCancelNexusOperationExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse) - }, +from temporalio.api.taskqueue.v1 import ( + message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(RequestCancelNexusOperationExecutionResponse) - -TerminateNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( - "TerminateNexusOperationExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATENEXUSOPERATIONEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest) - }, +from temporalio.api.update.v1 import ( + message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(TerminateNexusOperationExecutionRequest) - -TerminateNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( - "TerminateNexusOperationExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _TERMINATENEXUSOPERATIONEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse) - }, +from temporalio.api.version.v1 import ( + message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(TerminateNexusOperationExecutionResponse) - -DeleteNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( - "DeleteNexusOperationExecutionRequest", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSOPERATIONEXECUTIONREQUEST, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest) - }, +from temporalio.api.worker.v1 import ( + message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(DeleteNexusOperationExecutionRequest) - -DeleteNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( - "DeleteNexusOperationExecutionResponse", - (_message.Message,), - { - "DESCRIPTOR": _DELETENEXUSOPERATIONEXECUTIONRESPONSE, - "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", - # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse) - }, +from temporalio.api.workflow.v1 import ( + message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, ) -_sym_db.RegisterMessage(DeleteNexusOperationExecutionResponse) -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _REGISTERNAMESPACEREQUEST_DATAENTRY._options = None - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_options = b"8\001" - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name["binary_checksum"]._options = None - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/activity.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a$temporal/api/compute/v1/config.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1b\n\x19RegisterNamespaceResponse"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"S\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x18\n\x10weak_consistency\x18\x03 \x01(\x08"\xb4\x03\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\x12\x46\n\x12poller_group_infos\x18\x07 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65precateNamespaceResponse"\xd1\x0c\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\\\n\x1f\x65\x61ger_worker_deployment_options\x18\x1c \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12H\n\x14time_skipping_config\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xaa\x02\n"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\xb8\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xf2\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x11 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x12 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01"\x8a\n\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x1b\n\x13worker_instance_key\x18\x13 \x01(\t\x12!\n\x19worker_control_task_queue\x18\x14 \x01(\t\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03"\x8d\x04\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"#\n!RespondWorkflowTaskFailedResponse"\xe6\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xd0\x08\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x17\n\x0f\x61\x63tivity_run_id\x18\x14 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x15 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa5\x01\n"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x05 \x01(\t"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xcf\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xfe\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"&\n$RespondActivityTaskCompletedResponse"\xcf\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"*\n(RespondActivityTaskCompletedByIdResponse"\xbe\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\t \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\x8f\x02\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x0bresource_id\x18\x08 \x01(\t"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xfe\x02\n"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"%\n#RespondActivityTaskCanceledResponse"\xa0\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x13\n\x0bresource_id\x18\x08 \x01(\t")\n\'RespondActivityTaskCanceledByIdResponse"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"(\n&RequestCancelWorkflowExecutionResponse"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n"M\n\x1fSignalWorkflowExecutionResponse\x12*\n\x04link\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xbb\n\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x1b \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfigJ\x04\x08\x15\x10\x16"~\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12\x31\n\x0bsignal_link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"$\n"TerminateWorkflowExecutionResponse"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"!\n\x1f\x44\x65leteWorkflowExecutionResponse"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters"\x82\x01\n"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x1c\n\x1aGetSearchAttributesRequest"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\xe9\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x17\n\x0fpoller_group_id\x18\t \x01(\tJ\x04\x08\x05\x10\x06"#\n!RespondQueryTaskCompletedResponse"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x1e\n\x1cResetStickyTaskQueueResponse"\x9b\x02\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x06 \x01(\t\x12\x12\n\ntask_queue\x18\x07 \x01(\t\x12>\n\x10task_queue_types\x18\x08 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\x18\n\x16ShutdownWorkerResponse"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01"\x17\n\x15GetClusterInfoRequest"\xd1\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x12 \n\x18initial_failover_version\x18\t \x01(\x03\x12"\n\x1a\x66\x61ilover_version_increment\x18\n \x01(\x03\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x16\n\x14GetSystemInfoRequest"\x97\x04\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\x8a\x03\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\x12!\n\x19server_scaled_deployments\x18\x0c \x01(\x08"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c"\xa4\x02\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12*\n\x04memo\x18\x08 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x18\n\x16UpdateScheduleResponse"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\x17\n\x15PatchScheduleResponse"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t"\x18\n\x16\x44\x65leteScheduleResponse"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"9\n\x15\x43ountSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xdb\x01\n\x16\x43ountSchedulesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12X\n\x06groups\x18\x02 \x03(\x0b\x32H.temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet"\xb5\r\n"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\x83\x02\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation"\x1d\n\x1bStartBatchOperationResponse"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t"\x1c\n\x1aStopBatchOperationResponse"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xb9\x01\n"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef"\xa0\x03\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\t \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x95\x02\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x04 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x05 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa7\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\x12\x17\n\x0fpoller_group_id\x18\x05 \x01(\t"#\n!RespondNexusTaskCompletedResponse"\xdc\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x17\n\x0fpoller_group_id\x18\x06 \x01(\t" \n\x1eRespondNexusTaskFailedResponse"\xf4\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x12\x13\n\x0bresource_id\x18\x03 \x01(\t\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xab\x02\n%UpdateActivityExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x06 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x12\x13\n\x0bresource_id\x18\t \x01(\t"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"m\n&UpdateActivityExecutionOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"\xc7\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x12\n\nrequest_id\x18\x07 \x01(\tB\n\n\x08\x61\x63tivity"\xb7\x01\n\x1dPauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\x12\x12\n\nrequest_id\x18\x08 \x01(\t"\x17\n\x15PauseActivityResponse" \n\x1ePauseActivityExecutionResponse"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x81\x02\n\x1fUnpauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x16\n\x0ereset_attempts\x18\x06 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x07 \x01(\x08\x12\x0e\n\x06reason\x18\x08 \x01(\t\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x19\n\x17UnpauseActivityResponse""\n UnpauseActivityExecutionResponse"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity"\x8e\x02\n\x1dResetActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x17\n\x15ResetActivityResponse" \n\x1eResetActivityExecutionResponse"\x9c\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08identity\x18\x05 \x01(\t"\xb1\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xe5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\t \x01(\x08"\xbf\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01"\xf9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\n \x01(\x08"\xe0\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\x12\x1f\n\x13previous_percentage\x18\x03 \x01(\x02\x42\x02\x18\x01"q\n\x1d\x43reateWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"8\n\x1e\x43reateWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary"\xf0\x01\n$CreateWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12>\n\x0e\x63ompute_config\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\'\n%CreateWorkerDeploymentVersionResponse"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t"\'\n%DeleteWorkerDeploymentVersionResponse"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t" \n\x1e\x44\x65leteWorkerDeploymentResponse"\x84\x04\n1UpdateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x99\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32r.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"4\n2UpdateWorkerDeploymentVersionComputeConfigResponse"\xf4\x03\n3ValidateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x9b\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32t.temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"6\n4ValidateWorkerDeploymentVersionComputeConfigResponse"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata"\xbd\x01\n!SetWorkerDeploymentManagerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x1a\n\x10manager_identity\x18\x03 \x01(\tH\x00\x12\x0e\n\x04self\x18\x04 \x01(\x08H\x00\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\tB\x16\n\x14new_manager_identity"c\n"SetWorkerDeploymentManagerResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12%\n\x19previous_manager_identity\x18\x02 \x01(\tB\x02\x18\x01"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08"\x9b\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x13\n\x0bresource_id\x18\x04 \x01(\t"\x1f\n\x1dRecordWorkerHeartbeatResponse"\x82\x01\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\x12\x1e\n\x16include_system_workers\x18\x05 \x01(\x08"\xa5\x01\n\x13ListWorkersResponse\x12<\n\x0cworkers_info\x18\x01 \x03(\x0b\x32".temporal.api.worker.v1.WorkerInfoB\x02\x18\x01\x12\x37\n\x07workers\x18\x03 \x03(\x0b\x32&.temporal.api.worker.v1.WorkerListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd5\x05\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12\x84\x01\n\x1dset_fairness_weight_overrides\x18\x07 \x03(\x0b\x32].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry\x12\'\n\x1funset_fairness_weight_overrides\x18\x08 \x03(\t\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x41\n\x1fSetFairnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig"\x9e\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig"\x8a\x02\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08response"G\n\x15\x44\x65scribeWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x02 \x01(\t"Q\n\x16\x44\x65scribeWorkerResponse\x12\x37\n\x0bworker_info\x18\x01 \x01(\x0b\x32".temporal.api.worker.v1.WorkerInfo"W\n\x13\x43ountWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x1e\n\x16include_system_workers\x18\x03 \x01(\x08"%\n\x14\x43ountWorkersResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03"\x8d\x01\n\x1dPauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t" \n\x1ePauseWorkflowExecutionResponse"\x8f\x01\n\x1fUnpauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t""\n UnpauseWorkflowExecutionResponse"\x99\t\n\x1dStartActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x06 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12/\n\x05input\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x45\n\x0fid_reuse_policy\x18\r \x01(\x0e\x32,.temporal.api.enums.v1.ActivityIdReusePolicy\x12K\n\x12id_conflict_policy\x18\x0e \x01(\x0e\x32/.temporal.api.enums.v1.ActivityIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x11 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12>\n\x14\x63ompletion_callbacks\x18\x13 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x14 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x46\n\x13on_conflict_options\x18\x15 \x01(\x0b\x32).temporal.api.common.v1.OnConflictOptions\x12.\n\x0bstart_delay\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration"m\n\x1eStartActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12*\n\x04link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xe4\x01\n DescribeActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x12!\n\x19include_heartbeat_details\x18\x07 \x01(\x08\x12\x1c\n\x14include_last_failure\x18\x08 \x01(\x08"\xbc\x02\n!DescribeActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.temporal.api.activity.v1.ActivityExecutionInfo\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x07outcome\x18\x04 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\x12\x17\n\x0flong_poll_token\x18\x05 \x01(\x0c\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.activity.v1.CallbackInfo"V\n\x1cPollActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"t\n\x1dPollActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x43\n\x07outcome\x18\x02 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome"m\n\x1dListActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x82\x01\n\x1eListActivityExecutionsResponse\x12G\n\nexecutions\x18\x01 \x03(\x0b\x32\x33.temporal.api.activity.v1.ActivityExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd1\x06\n#StartNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x14\n\x0coperation_id\x18\x04 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x05 \x01(\t\x12\x0f\n\x07service\x18\x06 \x01(\t\x12\x11\n\toperation\x18\x07 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x05input\x18\x0b \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12K\n\x0fid_reuse_policy\x18\x0c \x01(\x0e\x32\x32.temporal.api.enums.v1.NexusOperationIdReusePolicy\x12Q\n\x12id_conflict_policy\x18\r \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusOperationIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12k\n\x0cnexus_header\x18\x0f \x03(\x0b\x32U.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x10 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"G\n$StartNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08"\xaa\x01\n&DescribeNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c"\xb7\x02\n\'DescribeNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12@\n\x04info\x18\x02 \x01(\x0b\x32\x32.temporal.api.nexus.v1.NexusOperationExecutionInfo\x12.\n\x05input\x18\x03 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x42\t\n\x07outcome"\xa1\x01\n"PollNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x42\n\nwait_stage\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage"\x85\x02\n#PollNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x42\n\nwait_stage\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage\x12\x17\n\x0foperation_token\x18\x03 \x01(\t\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07outcome"s\n#ListNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x8b\x01\n$ListNexusOperationExecutionsResponse\x12J\n\noperations\x18\x01 \x03(\x0b\x32\x36.temporal.api.nexus.v1.NexusOperationExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountActivityExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"H\n$CountNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xf9\x01\n%CountNexusOperationExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12g\n\x06groups\x18\x02 \x03(\x0b\x32W.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x95\x01\n%RequestCancelActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"(\n&RequestCancelActivityExecutionResponse"\x91\x01\n!TerminateActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"$\n"TerminateActivityExecutionResponse"X\n\x1e\x44\x65leteActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"!\n\x1f\x44\x65leteActivityExecutionResponse"\x9c\x01\n+RequestCancelNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t".\n,RequestCancelNexusOperationExecutionResponse"\x98\x01\n\'TerminateNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"*\n(TerminateNexusOperationExecutionResponse"_\n$DeleteNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"\'\n%DeleteNexusOperationExecutionResponseB\xbe\x01\n"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' +) + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.workflowservice.v1.request_response_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._loaded_options = None + _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._serialized_options = b"8\001" + _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ + "binary_checksum" + ]._loaded_options = None + _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ + _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ "worker_version_capabilities" - ]._options = None - _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._options = None - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_options = b"8\001" - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_options = ( - b"8\001" - ) - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + _globals["_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY"]._loaded_options = None + _globals[ + "_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY" + ]._serialized_options = b"8\001" + _globals[ + "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" + ]._loaded_options = None + _globals[ + "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" + ]._serialized_options = b"8\001" + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ "binary_checksum" - ]._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ "worker_version_stamp" - ]._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ "worker_version_stamp" ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ + "deployment" + ]._loaded_options = None + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["binary_checksum"]._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ + "binary_checksum" + ]._loaded_options = None + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ + "worker_version" + ]._loaded_options = None + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ + "deployment" + ]._loaded_options = None + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ + _globals["_POLLACTIVITYTASKQUEUEREQUEST"].fields_by_name[ "worker_version_capabilities" - ]._options = None - _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_POLLACTIVITYTASKQUEUEREQUEST"].fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ + _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ "worker_version" - ]._options = None - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ + _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ + "deployment" + ]._loaded_options = None + _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ + _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ + "worker_version" + ]._loaded_options = None + _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ + _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ + "deployment" + ]._loaded_options = None + _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["worker_version"]._options = None - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ + _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ + "worker_version" + ]._loaded_options = None + _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["deployment"]._options = None - _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ + _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ + "deployment" + ]._loaded_options = None + _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None - _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name[ + _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"].fields_by_name[ + "control" + ]._loaded_options = None + _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name[ + _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"].fields_by_name[ + "control" + ]._loaded_options = None + _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"].fields_by_name[ "control" ]._serialized_options = b"\030\001" - _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name["reset_reapply_type"]._options = None - _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name[ + _globals["_RESETWORKFLOWEXECUTIONREQUEST"].fields_by_name[ + "reset_reapply_type" + ]._loaded_options = None + _globals["_RESETWORKFLOWEXECUTIONREQUEST"].fields_by_name[ "reset_reapply_type" ]._serialized_options = b"\030\001" - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._options = None - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_options = b"8\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._loaded_options = None + _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._serialized_options = b"8\001" + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ "include_task_queue_status" - ]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ "include_task_queue_status" ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["api_mode"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + "api_mode" + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ "api_mode" ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["versions"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + "versions" + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ "versions" ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["task_queue_types"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + "task_queue_types" + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ "task_queue_types" ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_pollers"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + "report_pollers" + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ "report_pollers" ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_task_reachability"]._options = None - _DESCRIBETASKQUEUEREQUEST.fields_by_name[ + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + "report_task_reachability" + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ "report_task_reachability" ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._options = None - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._options = None - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_options = b"8\001" - _DESCRIBETASKQUEUERESPONSE.fields_by_name["task_queue_status"]._options = None - _DESCRIBETASKQUEUERESPONSE.fields_by_name[ + _globals[ + "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" + ]._loaded_options = None + _globals[ + "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" + ]._serialized_options = b"8\001" + _globals["_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY"]._loaded_options = None + _globals[ + "_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY" + ]._serialized_options = b"8\001" + _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ + "task_queue_status" + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ "task_queue_status" ]._serialized_options = b"\030\001" - _DESCRIBETASKQUEUERESPONSE.fields_by_name["versions_info"]._options = None - _DESCRIBETASKQUEUERESPONSE.fields_by_name[ + _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ + "versions_info" + ]._loaded_options = None + _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ "versions_info" ]._serialized_options = b"\030\001" - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._options = None - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_options = b"8\001" - _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ + _globals["_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY"]._loaded_options = None + _globals[ + "_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY" + ]._serialized_options = b"8\001" + _globals["_POLLNEXUSTASKQUEUEREQUEST"].fields_by_name[ "worker_version_capabilities" - ]._options = None - _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_POLLNEXUSTASKQUEUEREQUEST"].fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _RESPONDNEXUSTASKFAILEDREQUEST.fields_by_name["error"]._options = None - _RESPONDNEXUSTASKFAILEDREQUEST.fields_by_name[ + _globals["_RESPONDNEXUSTASKFAILEDREQUEST"].fields_by_name[ + "error" + ]._loaded_options = None + _globals["_RESPONDNEXUSTASKFAILEDREQUEST"].fields_by_name[ "error" ]._serialized_options = b"\030\001" - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ + _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ + "version" + ]._loaded_options = None + _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._options = None - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name["version"]._options = None - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name[ + _globals[ + "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" + ]._loaded_options = None + _globals[ + "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" + ]._serialized_options = b"8\001" + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"].fields_by_name[ + "version" + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ "previous_version" - ]._options = None - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ "previous_version" ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ "previous_deployment_version" - ]._options = None - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ "previous_deployment_version" ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name["version"]._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name[ + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"].fields_by_name[ + "version" + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ "previous_version" - ]._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ "previous_version" ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ "previous_deployment_version" - ]._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ "previous_deployment_version" ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ "previous_percentage" - ]._options = None - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ "previous_percentage" ]._serialized_options = b"\030\001" - _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None - _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ + _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ + "version" + ]._loaded_options = None + _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._options = None - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_options = b"8\001" - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._options = None - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_options = b"8\001" - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._options = None - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_options = b"8\001" - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._loaded_options = None + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._serialized_options = b"8\001" + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._loaded_options = None + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._serialized_options = b"8\001" + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" + ]._loaded_options = None + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" + ]._serialized_options = b"8\001" + _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"].fields_by_name[ "version" - ]._options = None - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ + ]._loaded_options = None + _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"].fields_by_name[ "version" ]._serialized_options = b"\030\001" - _SETWORKERDEPLOYMENTMANAGERRESPONSE.fields_by_name[ + _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"].fields_by_name[ "previous_manager_identity" - ]._options = None - _SETWORKERDEPLOYMENTMANAGERRESPONSE.fields_by_name[ + ]._loaded_options = None + _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"].fields_by_name[ "previous_manager_identity" ]._serialized_options = b"\030\001" - _LISTWORKERSRESPONSE.fields_by_name["workers_info"]._options = None - _LISTWORKERSRESPONSE.fields_by_name[ + _globals["_LISTWORKERSRESPONSE"].fields_by_name[ + "workers_info" + ]._loaded_options = None + _globals["_LISTWORKERSRESPONSE"].fields_by_name[ "workers_info" ]._serialized_options = b"\030\001" - _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._options = None - _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._serialized_options = b"8\001" - _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._options = None - _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._serialized_options = b"8\001" - _REGISTERNAMESPACEREQUEST._serialized_start = 1603 - _REGISTERNAMESPACEREQUEST._serialized_end = 2251 - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_start = 2208 - _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_end = 2251 - _REGISTERNAMESPACERESPONSE._serialized_start = 2253 - _REGISTERNAMESPACERESPONSE._serialized_end = 2280 - _LISTNAMESPACESREQUEST._serialized_start = 2283 - _LISTNAMESPACESREQUEST._serialized_end = 2420 - _LISTNAMESPACESRESPONSE._serialized_start = 2423 - _LISTNAMESPACESRESPONSE._serialized_end = 2552 - _DESCRIBENAMESPACEREQUEST._serialized_start = 2554 - _DESCRIBENAMESPACEREQUEST._serialized_end = 2637 - _DESCRIBENAMESPACERESPONSE._serialized_start = 2640 - _DESCRIBENAMESPACERESPONSE._serialized_end = 3076 - _UPDATENAMESPACEREQUEST._serialized_start = 3079 - _UPDATENAMESPACEREQUEST._serialized_end = 3414 - _UPDATENAMESPACERESPONSE._serialized_start = 3417 - _UPDATENAMESPACERESPONSE._serialized_end = 3708 - _DEPRECATENAMESPACEREQUEST._serialized_start = 3710 - _DEPRECATENAMESPACEREQUEST._serialized_end = 3780 - _DEPRECATENAMESPACERESPONSE._serialized_start = 3782 - _DEPRECATENAMESPACERESPONSE._serialized_end = 3810 - _STARTWORKFLOWEXECUTIONREQUEST._serialized_start = 3813 - _STARTWORKFLOWEXECUTIONREQUEST._serialized_end = 5432 - _STARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 5435 - _STARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 5701 - _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_start = 5704 - _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_end = 6002 - _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_start = 6005 - _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_end = 6191 - _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_start = 6194 - _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_end = 6370 - _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_start = 6372 - _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_end = 6492 - _POLLWORKFLOWTASKQUEUEREQUEST._serialized_start = 6495 - _POLLWORKFLOWTASKQUEUEREQUEST._serialized_end = 6935 - _POLLWORKFLOWTASKQUEUERESPONSE._serialized_start = 6938 - _POLLWORKFLOWTASKQUEUERESPONSE._serialized_end = 7948 - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_start = 7864 - _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_end = 7948 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_start = 7951 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_end = 9241 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_start = 9075 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_end = 9170 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_start = 9172 - _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_end = 9241 - _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_start = 9244 - _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_end = 9489 - _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_start = 9492 - _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_end = 10017 - _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_start = 10019 - _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_end = 10054 - _POLLACTIVITYTASKQUEUEREQUEST._serialized_start = 10057 - _POLLACTIVITYTASKQUEUEREQUEST._serialized_end = 10543 - _POLLACTIVITYTASKQUEUERESPONSE._serialized_start = 10546 - _POLLACTIVITYTASKQUEUERESPONSE._serialized_end = 11650 - _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_start = 11653 - _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_end = 11818 - _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_start = 11820 - _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_end = 11932 - _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_start = 11935 - _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_end = 12142 - _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_start = 12144 - _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_end = 12260 - _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_start = 12263 - _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_end = 12645 - _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_start = 12647 - _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_end = 12685 - _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_start = 12688 - _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_end = 12895 - _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_start = 12897 - _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_end = 12939 - _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_start = 12942 - _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_end = 13388 - _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_start = 13390 - _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_end = 13477 - _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_start = 13480 - _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_end = 13751 - _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_start = 13753 - _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_end = 13844 - _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_start = 13847 - _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_end = 14229 - _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_start = 14231 - _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_end = 14268 - _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_start = 14271 - _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_end = 14559 - _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_start = 14561 - _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_end = 14602 - _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_start = 14605 - _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_end = 14865 - _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_start = 14867 - _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_end = 14907 - _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_start = 14910 - _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_end = 15260 - _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_start = 15262 - _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_end = 15339 - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_start = 15342 - _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_end = 16683 - _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 16685 - _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 16811 - _RESETWORKFLOWEXECUTIONREQUEST._serialized_start = 16814 - _RESETWORKFLOWEXECUTIONREQUEST._serialized_end = 17263 - _RESETWORKFLOWEXECUTIONRESPONSE._serialized_start = 17265 - _RESETWORKFLOWEXECUTIONRESPONSE._serialized_end = 17313 - _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_start = 17316 - _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_end = 17603 - _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 17605 - _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 17641 - _DELETEWORKFLOWEXECUTIONREQUEST._serialized_start = 17643 - _DELETEWORKFLOWEXECUTIONREQUEST._serialized_end = 17765 - _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_start = 17767 - _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_end = 17800 - _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_start = 17803 - _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_end = 18132 - _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18135 - _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18265 - _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 18268 - _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 18662 - _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18665 - _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18797 - _LISTWORKFLOWEXECUTIONSREQUEST._serialized_start = 18799 - _LISTWORKFLOWEXECUTIONSREQUEST._serialized_end = 18908 - _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18910 - _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19036 - _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 19038 - _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 19155 - _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 19158 - _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19292 - _SCANWORKFLOWEXECUTIONSREQUEST._serialized_start = 19294 - _SCANWORKFLOWEXECUTIONSREQUEST._serialized_end = 19403 - _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_start = 19405 - _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19531 - _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_start = 19533 - _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_end = 19599 - _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 19602 - _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19839 - _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 19751 - _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 19839 - _GETSEARCHATTRIBUTESREQUEST._serialized_start = 19841 - _GETSEARCHATTRIBUTESREQUEST._serialized_end = 19869 - _GETSEARCHATTRIBUTESRESPONSE._serialized_start = 19872 - _GETSEARCHATTRIBUTESRESPONSE._serialized_end = 20073 - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_start = 19989 - _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_end = 20073 - _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_start = 20076 - _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_end = 20437 - _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_start = 20439 - _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_end = 20474 - _RESETSTICKYTASKQUEUEREQUEST._serialized_start = 20476 - _RESETSTICKYTASKQUEUEREQUEST._serialized_end = 20586 - _RESETSTICKYTASKQUEUERESPONSE._serialized_start = 20588 - _RESETSTICKYTASKQUEUERESPONSE._serialized_end = 20618 - _SHUTDOWNWORKERREQUEST._serialized_start = 20621 - _SHUTDOWNWORKERREQUEST._serialized_end = 20904 - _SHUTDOWNWORKERRESPONSE._serialized_start = 20906 - _SHUTDOWNWORKERRESPONSE._serialized_end = 20930 - _QUERYWORKFLOWREQUEST._serialized_start = 20933 - _QUERYWORKFLOWREQUEST._serialized_end = 21166 - _QUERYWORKFLOWRESPONSE._serialized_start = 21169 - _QUERYWORKFLOWRESPONSE._serialized_end = 21310 - _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_start = 21312 - _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_end = 21427 - _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_start = 21430 - _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_end = 22095 - _DESCRIBETASKQUEUEREQUEST._serialized_start = 22098 - _DESCRIBETASKQUEUEREQUEST._serialized_end = 22626 - _DESCRIBETASKQUEUERESPONSE._serialized_start = 22629 - _DESCRIBETASKQUEUERESPONSE._serialized_end = 23633 - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_start = 23313 - _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_end = 23413 - _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_start = 23415 - _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_end = 23531 - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_start = 23533 - _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_end = 23633 - _GETCLUSTERINFOREQUEST._serialized_start = 23635 - _GETCLUSTERINFOREQUEST._serialized_end = 23658 - _GETCLUSTERINFORESPONSE._serialized_start = 23661 - _GETCLUSTERINFORESPONSE._serialized_end = 24126 - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_start = 24071 - _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_end = 24126 - _GETSYSTEMINFOREQUEST._serialized_start = 24128 - _GETSYSTEMINFOREQUEST._serialized_end = 24150 - _GETSYSTEMINFORESPONSE._serialized_start = 24153 - _GETSYSTEMINFORESPONSE._serialized_end = 24688 - _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_start = 24294 - _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_end = 24688 - _LISTTASKQUEUEPARTITIONSREQUEST._serialized_start = 24690 - _LISTTASKQUEUEPARTITIONSREQUEST._serialized_end = 24799 - _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_start = 24802 - _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_end = 25025 - _CREATESCHEDULEREQUEST._serialized_start = 25028 - _CREATESCHEDULEREQUEST._serialized_end = 25360 - _CREATESCHEDULERESPONSE._serialized_start = 25362 - _CREATESCHEDULERESPONSE._serialized_end = 25410 - _DESCRIBESCHEDULEREQUEST._serialized_start = 25412 - _DESCRIBESCHEDULEREQUEST._serialized_end = 25477 - _DESCRIBESCHEDULERESPONSE._serialized_start = 25480 - _DESCRIBESCHEDULERESPONSE._serialized_end = 25751 - _UPDATESCHEDULEREQUEST._serialized_start = 25754 - _UPDATESCHEDULEREQUEST._serialized_end = 26046 - _UPDATESCHEDULERESPONSE._serialized_start = 26048 - _UPDATESCHEDULERESPONSE._serialized_end = 26072 - _PATCHSCHEDULEREQUEST._serialized_start = 26075 - _PATCHSCHEDULEREQUEST._serialized_end = 26231 - _PATCHSCHEDULERESPONSE._serialized_start = 26233 - _PATCHSCHEDULERESPONSE._serialized_end = 26256 - _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_start = 26259 - _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_end = 26427 - _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_start = 26429 - _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_end = 26512 - _DELETESCHEDULEREQUEST._serialized_start = 26514 - _DELETESCHEDULEREQUEST._serialized_end = 26595 - _DELETESCHEDULERESPONSE._serialized_start = 26597 - _DELETESCHEDULERESPONSE._serialized_end = 26621 - _LISTSCHEDULESREQUEST._serialized_start = 26623 - _LISTSCHEDULESREQUEST._serialized_end = 26731 - _LISTSCHEDULESRESPONSE._serialized_start = 26733 - _LISTSCHEDULESRESPONSE._serialized_end = 26845 - _COUNTSCHEDULESREQUEST._serialized_start = 26847 - _COUNTSCHEDULESREQUEST._serialized_end = 26904 - _COUNTSCHEDULESRESPONSE._serialized_start = 26907 - _COUNTSCHEDULESRESPONSE._serialized_end = 27126 - _COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP._serialized_start = 19751 - _COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP._serialized_end = 19839 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 27129 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 27775 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_start = 27576 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_end = ( - 27687 - ) - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_start = 27689 - _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_end = 27762 - _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 27777 - _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 27841 - _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 27843 - _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 27938 - _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 27940 - _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 28056 - _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_start = 28059 - _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_end = 29776 - _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_start = 29111 - _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_end = ( - 29224 - ) - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_start = 29227 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_end = ( - 29356 - ) - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_start = 29358 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_end = ( - 29422 - ) - _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 29424 - _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 29530 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 29532 - _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 29642 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 29644 - _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 29706 - _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_start = 29708 - _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_end = 29763 - _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_start = 29779 - _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_end = 30031 - _GETWORKERVERSIONINGRULESREQUEST._serialized_start = 30033 - _GETWORKERVERSIONINGRULESREQUEST._serialized_end = 30105 - _GETWORKERVERSIONINGRULESRESPONSE._serialized_start = 30108 - _GETWORKERVERSIONINGRULESRESPONSE._serialized_end = 30357 - _GETWORKERTASKREACHABILITYREQUEST._serialized_start = 30360 - _GETWORKERTASKREACHABILITYREQUEST._serialized_end = 30516 - _GETWORKERTASKREACHABILITYRESPONSE._serialized_start = 30518 - _GETWORKERTASKREACHABILITYRESPONSE._serialized_end = 30632 - _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_start = 30635 - _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_end = 30896 - _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 30899 - _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 31158 - _STARTBATCHOPERATIONREQUEST._serialized_start = 31161 - _STARTBATCHOPERATIONREQUEST._serialized_end = 32173 - _STARTBATCHOPERATIONRESPONSE._serialized_start = 32175 - _STARTBATCHOPERATIONRESPONSE._serialized_end = 32204 - _STOPBATCHOPERATIONREQUEST._serialized_start = 32206 - _STOPBATCHOPERATIONREQUEST._serialized_end = 32302 - _STOPBATCHOPERATIONRESPONSE._serialized_start = 32304 - _STOPBATCHOPERATIONRESPONSE._serialized_end = 32332 - _DESCRIBEBATCHOPERATIONREQUEST._serialized_start = 32334 - _DESCRIBEBATCHOPERATIONREQUEST._serialized_end = 32400 - _DESCRIBEBATCHOPERATIONRESPONSE._serialized_start = 32403 - _DESCRIBEBATCHOPERATIONRESPONSE._serialized_end = 32805 - _LISTBATCHOPERATIONSREQUEST._serialized_start = 32807 - _LISTBATCHOPERATIONSREQUEST._serialized_end = 32898 - _LISTBATCHOPERATIONSRESPONSE._serialized_start = 32900 - _LISTBATCHOPERATIONSRESPONSE._serialized_end = 33021 - _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_start = 33024 - _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_end = 33209 - _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_start = 33212 - _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_end = 33431 - _POLLNEXUSTASKQUEUEREQUEST._serialized_start = 33434 - _POLLNEXUSTASKQUEUEREQUEST._serialized_end = 33850 - _POLLNEXUSTASKQUEUERESPONSE._serialized_start = 33853 - _POLLNEXUSTASKQUEUERESPONSE._serialized_end = 34130 - _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_start = 34133 - _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_end = 34300 - _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_start = 34302 - _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_end = 34337 - _RESPONDNEXUSTASKFAILEDREQUEST._serialized_start = 34340 - _RESPONDNEXUSTASKFAILEDREQUEST._serialized_end = 34560 - _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_start = 34562 - _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_end = 34594 - _EXECUTEMULTIOPERATIONREQUEST._serialized_start = 34597 - _EXECUTEMULTIOPERATIONREQUEST._serialized_end = 34969 - _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_start = 34763 - _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_end = 34969 - _EXECUTEMULTIOPERATIONRESPONSE._serialized_start = 34972 - _EXECUTEMULTIOPERATIONRESPONSE._serialized_end = 35304 - _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_start = 35098 - _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_end = 35304 - _UPDATEACTIVITYOPTIONSREQUEST._serialized_start = 35307 - _UPDATEACTIVITYOPTIONSREQUEST._serialized_end = 35643 - _UPDATEACTIVITYEXECUTIONOPTIONSREQUEST._serialized_start = 35646 - _UPDATEACTIVITYEXECUTIONOPTIONSREQUEST._serialized_end = 35945 - _UPDATEACTIVITYOPTIONSRESPONSE._serialized_start = 35947 - _UPDATEACTIVITYOPTIONSRESPONSE._serialized_end = 36047 - _UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE._serialized_start = 36049 - _UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE._serialized_end = 36158 - _PAUSEACTIVITYREQUEST._serialized_start = 36161 - _PAUSEACTIVITYREQUEST._serialized_end = 36360 - _PAUSEACTIVITYEXECUTIONREQUEST._serialized_start = 36363 - _PAUSEACTIVITYEXECUTIONREQUEST._serialized_end = 36546 - _PAUSEACTIVITYRESPONSE._serialized_start = 36548 - _PAUSEACTIVITYRESPONSE._serialized_end = 36571 - _PAUSEACTIVITYEXECUTIONRESPONSE._serialized_start = 36573 - _PAUSEACTIVITYEXECUTIONRESPONSE._serialized_end = 36605 - _UNPAUSEACTIVITYREQUEST._serialized_start = 36608 - _UNPAUSEACTIVITYREQUEST._serialized_end = 36888 - _UNPAUSEACTIVITYEXECUTIONREQUEST._serialized_start = 36891 - _UNPAUSEACTIVITYEXECUTIONREQUEST._serialized_end = 37148 - _UNPAUSEACTIVITYRESPONSE._serialized_start = 37150 - _UNPAUSEACTIVITYRESPONSE._serialized_end = 37175 - _UNPAUSEACTIVITYEXECUTIONRESPONSE._serialized_start = 37177 - _UNPAUSEACTIVITYEXECUTIONRESPONSE._serialized_end = 37211 - _RESETACTIVITYREQUEST._serialized_start = 37214 - _RESETACTIVITYREQUEST._serialized_end = 37521 - _RESETACTIVITYEXECUTIONREQUEST._serialized_start = 37524 - _RESETACTIVITYEXECUTIONREQUEST._serialized_end = 37794 - _RESETACTIVITYRESPONSE._serialized_start = 37796 - _RESETACTIVITYRESPONSE._serialized_end = 37819 - _RESETACTIVITYEXECUTIONRESPONSE._serialized_start = 37821 - _RESETACTIVITYEXECUTIONRESPONSE._serialized_end = 37853 - _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_start = 37856 - _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_end = 38140 - _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_start = 38143 - _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_end = 38271 - _DESCRIBEDEPLOYMENTREQUEST._serialized_start = 38273 - _DESCRIBEDEPLOYMENTREQUEST._serialized_end = 38379 - _DESCRIBEDEPLOYMENTRESPONSE._serialized_start = 38381 - _DESCRIBEDEPLOYMENTRESPONSE._serialized_end = 38478 - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 38481 - _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 38675 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 38678 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 39330 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_start = 38939 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_end = 39330 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_start = 23313 - _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_end = 23413 - _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_start = 39332 - _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_end = 39409 - _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_start = 39412 - _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_end = 39552 - _LISTDEPLOYMENTSREQUEST._serialized_start = 39554 - _LISTDEPLOYMENTSREQUEST._serialized_end = 39662 - _LISTDEPLOYMENTSRESPONSE._serialized_start = 39664 - _LISTDEPLOYMENTSRESPONSE._serialized_end = 39783 - _SETCURRENTDEPLOYMENTREQUEST._serialized_start = 39786 - _SETCURRENTDEPLOYMENTREQUEST._serialized_end = 39991 - _SETCURRENTDEPLOYMENTRESPONSE._serialized_start = 39994 - _SETCURRENTDEPLOYMENTRESPONSE._serialized_end = 40179 - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_start = 40182 - _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_end = 40411 - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_start = 40414 - _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_end = 40605 - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_start = 40608 - _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_end = 40857 - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_start = 40860 - _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_end = 41084 - _CREATEWORKERDEPLOYMENTREQUEST._serialized_start = 41086 - _CREATEWORKERDEPLOYMENTREQUEST._serialized_end = 41199 - _CREATEWORKERDEPLOYMENTRESPONSE._serialized_start = 41201 - _CREATEWORKERDEPLOYMENTRESPONSE._serialized_end = 41257 - _LISTWORKERDEPLOYMENTSREQUEST._serialized_start = 41259 - _LISTWORKERDEPLOYMENTSREQUEST._serialized_end = 41352 - _LISTWORKERDEPLOYMENTSRESPONSE._serialized_start = 41355 - _LISTWORKERDEPLOYMENTSRESPONSE._serialized_end = 42026 - _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_start = 41530 - _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_end = 42026 - _CREATEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 42029 - _CREATEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 42269 - _CREATEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 42271 - _CREATEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 42310 - _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 42313 - _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 42513 - _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 42515 - _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 42554 - _DELETEWORKERDEPLOYMENTREQUEST._serialized_start = 42556 - _DELETEWORKERDEPLOYMENTREQUEST._serialized_end = 42649 - _DELETEWORKERDEPLOYMENTRESPONSE._serialized_start = 42651 - _DELETEWORKERDEPLOYMENTRESPONSE._serialized_end = 42683 - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_start = 42686 - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_end = 43202 - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_start = 43079 - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_end = 43202 - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_start = 43204 - _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_end = 43256 - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_start = 43259 - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_end = 43759 - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_start = 43079 - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_end = 43202 - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_start = 43761 - _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_end = 43815 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_start = 43818 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_end = 44236 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_start = 44151 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_end = ( - 44236 - ) - _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_start = 44238 - _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_end = 44348 - _SETWORKERDEPLOYMENTMANAGERREQUEST._serialized_start = 44351 - _SETWORKERDEPLOYMENTMANAGERREQUEST._serialized_end = 44540 - _SETWORKERDEPLOYMENTMANAGERRESPONSE._serialized_start = 44542 - _SETWORKERDEPLOYMENTMANAGERRESPONSE._serialized_end = 44641 - _GETCURRENTDEPLOYMENTREQUEST._serialized_start = 44643 - _GETCURRENTDEPLOYMENTREQUEST._serialized_end = 44712 - _GETCURRENTDEPLOYMENTRESPONSE._serialized_start = 44714 - _GETCURRENTDEPLOYMENTRESPONSE._serialized_end = 44821 - _GETDEPLOYMENTREACHABILITYREQUEST._serialized_start = 44823 - _GETDEPLOYMENTREACHABILITYREQUEST._serialized_end = 44936 - _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_start = 44939 - _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_end = 45166 - _CREATEWORKFLOWRULEREQUEST._serialized_start = 45169 - _CREATEWORKFLOWRULEREQUEST._serialized_end = 45349 - _CREATEWORKFLOWRULERESPONSE._serialized_start = 45351 - _CREATEWORKFLOWRULERESPONSE._serialized_end = 45446 - _DESCRIBEWORKFLOWRULEREQUEST._serialized_start = 45448 - _DESCRIBEWORKFLOWRULEREQUEST._serialized_end = 45513 - _DESCRIBEWORKFLOWRULERESPONSE._serialized_start = 45515 - _DESCRIBEWORKFLOWRULERESPONSE._serialized_end = 45596 - _DELETEWORKFLOWRULEREQUEST._serialized_start = 45598 - _DELETEWORKFLOWRULEREQUEST._serialized_end = 45661 - _DELETEWORKFLOWRULERESPONSE._serialized_start = 45663 - _DELETEWORKFLOWRULERESPONSE._serialized_end = 45691 - _LISTWORKFLOWRULESREQUEST._serialized_start = 45693 - _LISTWORKFLOWRULESREQUEST._serialized_end = 45763 - _LISTWORKFLOWRULESRESPONSE._serialized_start = 45765 - _LISTWORKFLOWRULESRESPONSE._serialized_end = 45869 - _TRIGGERWORKFLOWRULEREQUEST._serialized_start = 45872 - _TRIGGERWORKFLOWRULEREQUEST._serialized_end = 46078 - _TRIGGERWORKFLOWRULERESPONSE._serialized_start = 46080 - _TRIGGERWORKFLOWRULERESPONSE._serialized_end = 46126 - _RECORDWORKERHEARTBEATREQUEST._serialized_start = 46129 - _RECORDWORKERHEARTBEATREQUEST._serialized_end = 46284 - _RECORDWORKERHEARTBEATRESPONSE._serialized_start = 46286 - _RECORDWORKERHEARTBEATRESPONSE._serialized_end = 46317 - _LISTWORKERSREQUEST._serialized_start = 46320 - _LISTWORKERSREQUEST._serialized_end = 46450 - _LISTWORKERSRESPONSE._serialized_start = 46453 - _LISTWORKERSRESPONSE._serialized_end = 46618 - _UPDATETASKQUEUECONFIGREQUEST._serialized_start = 46621 - _UPDATETASKQUEUECONFIGREQUEST._serialized_end = 47346 - _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_start = 47188 - _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_end = 47279 - _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._serialized_start = ( - 47281 - ) - _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._serialized_end = ( - 47346 - ) - _UPDATETASKQUEUECONFIGRESPONSE._serialized_start = 47348 - _UPDATETASKQUEUECONFIGRESPONSE._serialized_end = 47439 - _FETCHWORKERCONFIGREQUEST._serialized_start = 47442 - _FETCHWORKERCONFIGREQUEST._serialized_end = 47600 - _FETCHWORKERCONFIGRESPONSE._serialized_start = 47602 - _FETCHWORKERCONFIGRESPONSE._serialized_end = 47687 - _UPDATEWORKERCONFIGREQUEST._serialized_start = 47690 - _UPDATEWORKERCONFIGREQUEST._serialized_end = 47956 - _UPDATEWORKERCONFIGRESPONSE._serialized_start = 47958 - _UPDATEWORKERCONFIGRESPONSE._serialized_end = 48058 - _DESCRIBEWORKERREQUEST._serialized_start = 48060 - _DESCRIBEWORKERREQUEST._serialized_end = 48131 - _DESCRIBEWORKERRESPONSE._serialized_start = 48133 - _DESCRIBEWORKERRESPONSE._serialized_end = 48214 - _PAUSEWORKFLOWEXECUTIONREQUEST._serialized_start = 48217 - _PAUSEWORKFLOWEXECUTIONREQUEST._serialized_end = 48358 - _PAUSEWORKFLOWEXECUTIONRESPONSE._serialized_start = 48360 - _PAUSEWORKFLOWEXECUTIONRESPONSE._serialized_end = 48392 - _UNPAUSEWORKFLOWEXECUTIONREQUEST._serialized_start = 48395 - _UNPAUSEWORKFLOWEXECUTIONREQUEST._serialized_end = 48538 - _UNPAUSEWORKFLOWEXECUTIONRESPONSE._serialized_start = 48540 - _UNPAUSEWORKFLOWEXECUTIONRESPONSE._serialized_end = 48574 - _STARTACTIVITYEXECUTIONREQUEST._serialized_start = 48577 - _STARTACTIVITYEXECUTIONREQUEST._serialized_end = 49754 - _STARTACTIVITYEXECUTIONRESPONSE._serialized_start = 49756 - _STARTACTIVITYEXECUTIONRESPONSE._serialized_end = 49865 - _DESCRIBEACTIVITYEXECUTIONREQUEST._serialized_start = 49868 - _DESCRIBEACTIVITYEXECUTIONREQUEST._serialized_end = 50096 - _DESCRIBEACTIVITYEXECUTIONRESPONSE._serialized_start = 50099 - _DESCRIBEACTIVITYEXECUTIONRESPONSE._serialized_end = 50415 - _POLLACTIVITYEXECUTIONREQUEST._serialized_start = 50417 - _POLLACTIVITYEXECUTIONREQUEST._serialized_end = 50503 - _POLLACTIVITYEXECUTIONRESPONSE._serialized_start = 50505 - _POLLACTIVITYEXECUTIONRESPONSE._serialized_end = 50621 - _LISTACTIVITYEXECUTIONSREQUEST._serialized_start = 50623 - _LISTACTIVITYEXECUTIONSREQUEST._serialized_end = 50732 - _LISTACTIVITYEXECUTIONSRESPONSE._serialized_start = 50735 - _LISTACTIVITYEXECUTIONSRESPONSE._serialized_end = 50865 - _STARTNEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 50868 - _STARTNEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 51717 - _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._serialized_start = 51667 - _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._serialized_end = 51717 - _STARTNEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 51719 - _STARTNEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 51790 - _DESCRIBENEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 51793 - _DESCRIBENEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 51963 - _DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 51966 - _DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 52277 - _POLLNEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 52280 - _POLLNEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 52441 - _POLLNEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 52444 - _POLLNEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 52705 - _LISTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_start = 52707 - _LISTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_end = 52822 - _LISTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_start = 52825 - _LISTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_end = 52964 - _COUNTACTIVITYEXECUTIONSREQUEST._serialized_start = 52966 - _COUNTACTIVITYEXECUTIONSREQUEST._serialized_end = 53032 - _COUNTACTIVITYEXECUTIONSRESPONSE._serialized_start = 53035 - _COUNTACTIVITYEXECUTIONSRESPONSE._serialized_end = 53272 - _COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 19751 - _COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 19839 - _COUNTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_start = 53274 - _COUNTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_end = 53346 - _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_start = 53349 - _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_end = 53598 - _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 19751 - _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 19839 - _REQUESTCANCELACTIVITYEXECUTIONREQUEST._serialized_start = 53601 - _REQUESTCANCELACTIVITYEXECUTIONREQUEST._serialized_end = 53750 - _REQUESTCANCELACTIVITYEXECUTIONRESPONSE._serialized_start = 53752 - _REQUESTCANCELACTIVITYEXECUTIONRESPONSE._serialized_end = 53792 - _TERMINATEACTIVITYEXECUTIONREQUEST._serialized_start = 53795 - _TERMINATEACTIVITYEXECUTIONREQUEST._serialized_end = 53940 - _TERMINATEACTIVITYEXECUTIONRESPONSE._serialized_start = 53942 - _TERMINATEACTIVITYEXECUTIONRESPONSE._serialized_end = 53978 - _DELETEACTIVITYEXECUTIONREQUEST._serialized_start = 53980 - _DELETEACTIVITYEXECUTIONREQUEST._serialized_end = 54068 - _DELETEACTIVITYEXECUTIONRESPONSE._serialized_start = 54070 - _DELETEACTIVITYEXECUTIONRESPONSE._serialized_end = 54103 - _REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 54106 - _REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 54262 - _REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 54264 - _REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 54310 - _TERMINATENEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 54313 - _TERMINATENEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 54465 - _TERMINATENEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 54467 - _TERMINATENEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 54509 - _DELETENEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 54511 - _DELETENEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 54606 - _DELETENEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 54608 - _DELETENEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 54647 + _globals[ + "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" + ]._loaded_options = None + _globals[ + "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" + ]._serialized_options = b"8\001" + _globals[ + "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" + ]._loaded_options = None + _globals[ + "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" + ]._serialized_options = b"8\001" + _globals["_REGISTERNAMESPACEREQUEST"]._serialized_start = 1603 + _globals["_REGISTERNAMESPACEREQUEST"]._serialized_end = 2251 + _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._serialized_start = 2208 + _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._serialized_end = 2251 + _globals["_REGISTERNAMESPACERESPONSE"]._serialized_start = 2253 + _globals["_REGISTERNAMESPACERESPONSE"]._serialized_end = 2280 + _globals["_LISTNAMESPACESREQUEST"]._serialized_start = 2283 + _globals["_LISTNAMESPACESREQUEST"]._serialized_end = 2420 + _globals["_LISTNAMESPACESRESPONSE"]._serialized_start = 2423 + _globals["_LISTNAMESPACESRESPONSE"]._serialized_end = 2552 + _globals["_DESCRIBENAMESPACEREQUEST"]._serialized_start = 2554 + _globals["_DESCRIBENAMESPACEREQUEST"]._serialized_end = 2637 + _globals["_DESCRIBENAMESPACERESPONSE"]._serialized_start = 2640 + _globals["_DESCRIBENAMESPACERESPONSE"]._serialized_end = 3076 + _globals["_UPDATENAMESPACEREQUEST"]._serialized_start = 3079 + _globals["_UPDATENAMESPACEREQUEST"]._serialized_end = 3414 + _globals["_UPDATENAMESPACERESPONSE"]._serialized_start = 3417 + _globals["_UPDATENAMESPACERESPONSE"]._serialized_end = 3708 + _globals["_DEPRECATENAMESPACEREQUEST"]._serialized_start = 3710 + _globals["_DEPRECATENAMESPACEREQUEST"]._serialized_end = 3780 + _globals["_DEPRECATENAMESPACERESPONSE"]._serialized_start = 3782 + _globals["_DEPRECATENAMESPACERESPONSE"]._serialized_end = 3810 + _globals["_STARTWORKFLOWEXECUTIONREQUEST"]._serialized_start = 3813 + _globals["_STARTWORKFLOWEXECUTIONREQUEST"]._serialized_end = 5430 + _globals["_STARTWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 5433 + _globals["_STARTWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 5699 + _globals["_GETWORKFLOWEXECUTIONHISTORYREQUEST"]._serialized_start = 5702 + _globals["_GETWORKFLOWEXECUTIONHISTORYREQUEST"]._serialized_end = 6000 + _globals["_GETWORKFLOWEXECUTIONHISTORYRESPONSE"]._serialized_start = 6003 + _globals["_GETWORKFLOWEXECUTIONHISTORYRESPONSE"]._serialized_end = 6189 + _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST"]._serialized_start = 6192 + _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST"]._serialized_end = 6368 + _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE"]._serialized_start = 6370 + _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE"]._serialized_end = 6490 + _globals["_POLLWORKFLOWTASKQUEUEREQUEST"]._serialized_start = 6493 + _globals["_POLLWORKFLOWTASKQUEUEREQUEST"]._serialized_end = 6933 + _globals["_POLLWORKFLOWTASKQUEUERESPONSE"]._serialized_start = 6936 + _globals["_POLLWORKFLOWTASKQUEUERESPONSE"]._serialized_end = 7946 + _globals["_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY"]._serialized_start = 7862 + _globals["_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY"]._serialized_end = 7946 + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"]._serialized_start = 7949 + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"]._serialized_end = 9239 + _globals[ + "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" + ]._serialized_start = 9073 + _globals[ + "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" + ]._serialized_end = 9168 + _globals[ + "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES" + ]._serialized_start = 9170 + _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES"]._serialized_end = 9239 + _globals["_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE"]._serialized_start = 9242 + _globals["_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE"]._serialized_end = 9487 + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"]._serialized_start = 9490 + _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"]._serialized_end = 10015 + _globals["_RESPONDWORKFLOWTASKFAILEDRESPONSE"]._serialized_start = 10017 + _globals["_RESPONDWORKFLOWTASKFAILEDRESPONSE"]._serialized_end = 10052 + _globals["_POLLACTIVITYTASKQUEUEREQUEST"]._serialized_start = 10055 + _globals["_POLLACTIVITYTASKQUEUEREQUEST"]._serialized_end = 10541 + _globals["_POLLACTIVITYTASKQUEUERESPONSE"]._serialized_start = 10544 + _globals["_POLLACTIVITYTASKQUEUERESPONSE"]._serialized_end = 11648 + _globals["_RECORDACTIVITYTASKHEARTBEATREQUEST"]._serialized_start = 11651 + _globals["_RECORDACTIVITYTASKHEARTBEATREQUEST"]._serialized_end = 11816 + _globals["_RECORDACTIVITYTASKHEARTBEATRESPONSE"]._serialized_start = 11818 + _globals["_RECORDACTIVITYTASKHEARTBEATRESPONSE"]._serialized_end = 11930 + _globals["_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST"]._serialized_start = 11933 + _globals["_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST"]._serialized_end = 12140 + _globals["_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE"]._serialized_start = 12142 + _globals["_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE"]._serialized_end = 12258 + _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"]._serialized_start = 12261 + _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"]._serialized_end = 12643 + _globals["_RESPONDACTIVITYTASKCOMPLETEDRESPONSE"]._serialized_start = 12645 + _globals["_RESPONDACTIVITYTASKCOMPLETEDRESPONSE"]._serialized_end = 12683 + _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST"]._serialized_start = 12686 + _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST"]._serialized_end = 12893 + _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE"]._serialized_start = 12895 + _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE"]._serialized_end = 12937 + _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"]._serialized_start = 12940 + _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"]._serialized_end = 13386 + _globals["_RESPONDACTIVITYTASKFAILEDRESPONSE"]._serialized_start = 13388 + _globals["_RESPONDACTIVITYTASKFAILEDRESPONSE"]._serialized_end = 13475 + _globals["_RESPONDACTIVITYTASKFAILEDBYIDREQUEST"]._serialized_start = 13478 + _globals["_RESPONDACTIVITYTASKFAILEDBYIDREQUEST"]._serialized_end = 13749 + _globals["_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE"]._serialized_start = 13751 + _globals["_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE"]._serialized_end = 13842 + _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"]._serialized_start = 13845 + _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"]._serialized_end = 14227 + _globals["_RESPONDACTIVITYTASKCANCELEDRESPONSE"]._serialized_start = 14229 + _globals["_RESPONDACTIVITYTASKCANCELEDRESPONSE"]._serialized_end = 14266 + _globals["_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST"]._serialized_start = 14269 + _globals["_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST"]._serialized_end = 14557 + _globals["_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE"]._serialized_start = 14559 + _globals["_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE"]._serialized_end = 14600 + _globals["_REQUESTCANCELWORKFLOWEXECUTIONREQUEST"]._serialized_start = 14603 + _globals["_REQUESTCANCELWORKFLOWEXECUTIONREQUEST"]._serialized_end = 14863 + _globals["_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 14865 + _globals["_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 14905 + _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"]._serialized_start = 14908 + _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"]._serialized_end = 15258 + _globals["_SIGNALWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 15260 + _globals["_SIGNALWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 15337 + _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"]._serialized_start = 15340 + _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"]._serialized_end = 16679 + _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 16681 + _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 16807 + _globals["_RESETWORKFLOWEXECUTIONREQUEST"]._serialized_start = 16810 + _globals["_RESETWORKFLOWEXECUTIONREQUEST"]._serialized_end = 17259 + _globals["_RESETWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 17261 + _globals["_RESETWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 17309 + _globals["_TERMINATEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 17312 + _globals["_TERMINATEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 17599 + _globals["_TERMINATEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 17601 + _globals["_TERMINATEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 17637 + _globals["_DELETEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 17639 + _globals["_DELETEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 17761 + _globals["_DELETEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 17763 + _globals["_DELETEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 17796 + _globals["_LISTOPENWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 17799 + _globals["_LISTOPENWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 18128 + _globals["_LISTOPENWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 18131 + _globals["_LISTOPENWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 18261 + _globals["_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 18264 + _globals["_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 18658 + _globals["_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 18661 + _globals["_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 18793 + _globals["_LISTWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 18795 + _globals["_LISTWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 18904 + _globals["_LISTWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 18906 + _globals["_LISTWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19032 + _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 19034 + _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 19151 + _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 19154 + _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19288 + _globals["_SCANWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 19290 + _globals["_SCANWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 19399 + _globals["_SCANWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 19401 + _globals["_SCANWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19527 + _globals["_COUNTWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 19529 + _globals["_COUNTWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 19595 + _globals["_COUNTWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 19598 + _globals["_COUNTWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19835 + _globals[ + "_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP" + ]._serialized_start = 19747 + _globals[ + "_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP" + ]._serialized_end = 19835 + _globals["_GETSEARCHATTRIBUTESREQUEST"]._serialized_start = 19837 + _globals["_GETSEARCHATTRIBUTESREQUEST"]._serialized_end = 19865 + _globals["_GETSEARCHATTRIBUTESRESPONSE"]._serialized_start = 19868 + _globals["_GETSEARCHATTRIBUTESRESPONSE"]._serialized_end = 20069 + _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._serialized_start = 19985 + _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._serialized_end = 20069 + _globals["_RESPONDQUERYTASKCOMPLETEDREQUEST"]._serialized_start = 20072 + _globals["_RESPONDQUERYTASKCOMPLETEDREQUEST"]._serialized_end = 20433 + _globals["_RESPONDQUERYTASKCOMPLETEDRESPONSE"]._serialized_start = 20435 + _globals["_RESPONDQUERYTASKCOMPLETEDRESPONSE"]._serialized_end = 20470 + _globals["_RESETSTICKYTASKQUEUEREQUEST"]._serialized_start = 20472 + _globals["_RESETSTICKYTASKQUEUEREQUEST"]._serialized_end = 20582 + _globals["_RESETSTICKYTASKQUEUERESPONSE"]._serialized_start = 20584 + _globals["_RESETSTICKYTASKQUEUERESPONSE"]._serialized_end = 20614 + _globals["_SHUTDOWNWORKERREQUEST"]._serialized_start = 20617 + _globals["_SHUTDOWNWORKERREQUEST"]._serialized_end = 20900 + _globals["_SHUTDOWNWORKERRESPONSE"]._serialized_start = 20902 + _globals["_SHUTDOWNWORKERRESPONSE"]._serialized_end = 20926 + _globals["_QUERYWORKFLOWREQUEST"]._serialized_start = 20929 + _globals["_QUERYWORKFLOWREQUEST"]._serialized_end = 21162 + _globals["_QUERYWORKFLOWRESPONSE"]._serialized_start = 21165 + _globals["_QUERYWORKFLOWRESPONSE"]._serialized_end = 21306 + _globals["_DESCRIBEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 21308 + _globals["_DESCRIBEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 21423 + _globals["_DESCRIBEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 21426 + _globals["_DESCRIBEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 22091 + _globals["_DESCRIBETASKQUEUEREQUEST"]._serialized_start = 22094 + _globals["_DESCRIBETASKQUEUEREQUEST"]._serialized_end = 22622 + _globals["_DESCRIBETASKQUEUERESPONSE"]._serialized_start = 22625 + _globals["_DESCRIBETASKQUEUERESPONSE"]._serialized_end = 23629 + _globals[ + "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" + ]._serialized_start = 23309 + _globals[ + "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" + ]._serialized_end = 23409 + _globals["_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT"]._serialized_start = 23411 + _globals["_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT"]._serialized_end = 23527 + _globals["_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY"]._serialized_start = 23529 + _globals["_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY"]._serialized_end = 23629 + _globals["_GETCLUSTERINFOREQUEST"]._serialized_start = 23631 + _globals["_GETCLUSTERINFOREQUEST"]._serialized_end = 23654 + _globals["_GETCLUSTERINFORESPONSE"]._serialized_start = 23657 + _globals["_GETCLUSTERINFORESPONSE"]._serialized_end = 24122 + _globals["_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY"]._serialized_start = 24067 + _globals["_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY"]._serialized_end = 24122 + _globals["_GETSYSTEMINFOREQUEST"]._serialized_start = 24124 + _globals["_GETSYSTEMINFOREQUEST"]._serialized_end = 24146 + _globals["_GETSYSTEMINFORESPONSE"]._serialized_start = 24149 + _globals["_GETSYSTEMINFORESPONSE"]._serialized_end = 24684 + _globals["_GETSYSTEMINFORESPONSE_CAPABILITIES"]._serialized_start = 24290 + _globals["_GETSYSTEMINFORESPONSE_CAPABILITIES"]._serialized_end = 24684 + _globals["_LISTTASKQUEUEPARTITIONSREQUEST"]._serialized_start = 24686 + _globals["_LISTTASKQUEUEPARTITIONSREQUEST"]._serialized_end = 24795 + _globals["_LISTTASKQUEUEPARTITIONSRESPONSE"]._serialized_start = 24798 + _globals["_LISTTASKQUEUEPARTITIONSRESPONSE"]._serialized_end = 25021 + _globals["_CREATESCHEDULEREQUEST"]._serialized_start = 25024 + _globals["_CREATESCHEDULEREQUEST"]._serialized_end = 25356 + _globals["_CREATESCHEDULERESPONSE"]._serialized_start = 25358 + _globals["_CREATESCHEDULERESPONSE"]._serialized_end = 25406 + _globals["_DESCRIBESCHEDULEREQUEST"]._serialized_start = 25408 + _globals["_DESCRIBESCHEDULEREQUEST"]._serialized_end = 25473 + _globals["_DESCRIBESCHEDULERESPONSE"]._serialized_start = 25476 + _globals["_DESCRIBESCHEDULERESPONSE"]._serialized_end = 25747 + _globals["_UPDATESCHEDULEREQUEST"]._serialized_start = 25750 + _globals["_UPDATESCHEDULEREQUEST"]._serialized_end = 26042 + _globals["_UPDATESCHEDULERESPONSE"]._serialized_start = 26044 + _globals["_UPDATESCHEDULERESPONSE"]._serialized_end = 26068 + _globals["_PATCHSCHEDULEREQUEST"]._serialized_start = 26071 + _globals["_PATCHSCHEDULEREQUEST"]._serialized_end = 26227 + _globals["_PATCHSCHEDULERESPONSE"]._serialized_start = 26229 + _globals["_PATCHSCHEDULERESPONSE"]._serialized_end = 26252 + _globals["_LISTSCHEDULEMATCHINGTIMESREQUEST"]._serialized_start = 26255 + _globals["_LISTSCHEDULEMATCHINGTIMESREQUEST"]._serialized_end = 26423 + _globals["_LISTSCHEDULEMATCHINGTIMESRESPONSE"]._serialized_start = 26425 + _globals["_LISTSCHEDULEMATCHINGTIMESRESPONSE"]._serialized_end = 26508 + _globals["_DELETESCHEDULEREQUEST"]._serialized_start = 26510 + _globals["_DELETESCHEDULEREQUEST"]._serialized_end = 26591 + _globals["_DELETESCHEDULERESPONSE"]._serialized_start = 26593 + _globals["_DELETESCHEDULERESPONSE"]._serialized_end = 26617 + _globals["_LISTSCHEDULESREQUEST"]._serialized_start = 26619 + _globals["_LISTSCHEDULESREQUEST"]._serialized_end = 26727 + _globals["_LISTSCHEDULESRESPONSE"]._serialized_start = 26729 + _globals["_LISTSCHEDULESRESPONSE"]._serialized_end = 26841 + _globals["_COUNTSCHEDULESREQUEST"]._serialized_start = 26843 + _globals["_COUNTSCHEDULESREQUEST"]._serialized_end = 26900 + _globals["_COUNTSCHEDULESRESPONSE"]._serialized_start = 26903 + _globals["_COUNTSCHEDULESRESPONSE"]._serialized_end = 27122 + _globals["_COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP"]._serialized_start = 19747 + _globals["_COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP"]._serialized_end = 19835 + _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_start = 27125 + _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_end = 27771 + _globals[ + "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION" + ]._serialized_start = 27572 + _globals[ + "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION" + ]._serialized_end = 27683 + _globals[ + "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS" + ]._serialized_start = 27685 + _globals[ + "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS" + ]._serialized_end = 27758 + _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_start = 27773 + _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_end = 27837 + _globals["_GETWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_start = 27839 + _globals["_GETWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_end = 27934 + _globals["_GETWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_start = 27936 + _globals["_GETWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_end = 28052 + _globals["_UPDATEWORKERVERSIONINGRULESREQUEST"]._serialized_start = 28055 + _globals["_UPDATEWORKERVERSIONINGRULESREQUEST"]._serialized_end = 29772 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE" + ]._serialized_start = 29107 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE" + ]._serialized_end = 29220 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE" + ]._serialized_start = 29223 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE" + ]._serialized_end = 29352 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE" + ]._serialized_start = 29354 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE" + ]._serialized_end = 29418 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE" + ]._serialized_start = 29420 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE" + ]._serialized_end = 29526 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE" + ]._serialized_start = 29528 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE" + ]._serialized_end = 29638 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE" + ]._serialized_start = 29640 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE" + ]._serialized_end = 29702 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID" + ]._serialized_start = 29704 + _globals[ + "_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID" + ]._serialized_end = 29759 + _globals["_UPDATEWORKERVERSIONINGRULESRESPONSE"]._serialized_start = 29775 + _globals["_UPDATEWORKERVERSIONINGRULESRESPONSE"]._serialized_end = 30027 + _globals["_GETWORKERVERSIONINGRULESREQUEST"]._serialized_start = 30029 + _globals["_GETWORKERVERSIONINGRULESREQUEST"]._serialized_end = 30101 + _globals["_GETWORKERVERSIONINGRULESRESPONSE"]._serialized_start = 30104 + _globals["_GETWORKERVERSIONINGRULESRESPONSE"]._serialized_end = 30353 + _globals["_GETWORKERTASKREACHABILITYREQUEST"]._serialized_start = 30356 + _globals["_GETWORKERTASKREACHABILITYREQUEST"]._serialized_end = 30512 + _globals["_GETWORKERTASKREACHABILITYRESPONSE"]._serialized_start = 30514 + _globals["_GETWORKERTASKREACHABILITYRESPONSE"]._serialized_end = 30628 + _globals["_UPDATEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 30631 + _globals["_UPDATEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 30892 + _globals["_UPDATEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 30895 + _globals["_UPDATEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 31154 + _globals["_STARTBATCHOPERATIONREQUEST"]._serialized_start = 31157 + _globals["_STARTBATCHOPERATIONREQUEST"]._serialized_end = 32169 + _globals["_STARTBATCHOPERATIONRESPONSE"]._serialized_start = 32171 + _globals["_STARTBATCHOPERATIONRESPONSE"]._serialized_end = 32200 + _globals["_STOPBATCHOPERATIONREQUEST"]._serialized_start = 32202 + _globals["_STOPBATCHOPERATIONREQUEST"]._serialized_end = 32298 + _globals["_STOPBATCHOPERATIONRESPONSE"]._serialized_start = 32300 + _globals["_STOPBATCHOPERATIONRESPONSE"]._serialized_end = 32328 + _globals["_DESCRIBEBATCHOPERATIONREQUEST"]._serialized_start = 32330 + _globals["_DESCRIBEBATCHOPERATIONREQUEST"]._serialized_end = 32396 + _globals["_DESCRIBEBATCHOPERATIONRESPONSE"]._serialized_start = 32399 + _globals["_DESCRIBEBATCHOPERATIONRESPONSE"]._serialized_end = 32801 + _globals["_LISTBATCHOPERATIONSREQUEST"]._serialized_start = 32803 + _globals["_LISTBATCHOPERATIONSREQUEST"]._serialized_end = 32894 + _globals["_LISTBATCHOPERATIONSRESPONSE"]._serialized_start = 32896 + _globals["_LISTBATCHOPERATIONSRESPONSE"]._serialized_end = 33017 + _globals["_POLLWORKFLOWEXECUTIONUPDATEREQUEST"]._serialized_start = 33020 + _globals["_POLLWORKFLOWEXECUTIONUPDATEREQUEST"]._serialized_end = 33205 + _globals["_POLLWORKFLOWEXECUTIONUPDATERESPONSE"]._serialized_start = 33208 + _globals["_POLLWORKFLOWEXECUTIONUPDATERESPONSE"]._serialized_end = 33427 + _globals["_POLLNEXUSTASKQUEUEREQUEST"]._serialized_start = 33430 + _globals["_POLLNEXUSTASKQUEUEREQUEST"]._serialized_end = 33846 + _globals["_POLLNEXUSTASKQUEUERESPONSE"]._serialized_start = 33849 + _globals["_POLLNEXUSTASKQUEUERESPONSE"]._serialized_end = 34126 + _globals["_RESPONDNEXUSTASKCOMPLETEDREQUEST"]._serialized_start = 34129 + _globals["_RESPONDNEXUSTASKCOMPLETEDREQUEST"]._serialized_end = 34296 + _globals["_RESPONDNEXUSTASKCOMPLETEDRESPONSE"]._serialized_start = 34298 + _globals["_RESPONDNEXUSTASKCOMPLETEDRESPONSE"]._serialized_end = 34333 + _globals["_RESPONDNEXUSTASKFAILEDREQUEST"]._serialized_start = 34336 + _globals["_RESPONDNEXUSTASKFAILEDREQUEST"]._serialized_end = 34556 + _globals["_RESPONDNEXUSTASKFAILEDRESPONSE"]._serialized_start = 34558 + _globals["_RESPONDNEXUSTASKFAILEDRESPONSE"]._serialized_end = 34590 + _globals["_EXECUTEMULTIOPERATIONREQUEST"]._serialized_start = 34593 + _globals["_EXECUTEMULTIOPERATIONREQUEST"]._serialized_end = 34965 + _globals["_EXECUTEMULTIOPERATIONREQUEST_OPERATION"]._serialized_start = 34759 + _globals["_EXECUTEMULTIOPERATIONREQUEST_OPERATION"]._serialized_end = 34965 + _globals["_EXECUTEMULTIOPERATIONRESPONSE"]._serialized_start = 34968 + _globals["_EXECUTEMULTIOPERATIONRESPONSE"]._serialized_end = 35300 + _globals["_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE"]._serialized_start = 35094 + _globals["_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE"]._serialized_end = 35300 + _globals["_UPDATEACTIVITYOPTIONSREQUEST"]._serialized_start = 35303 + _globals["_UPDATEACTIVITYOPTIONSREQUEST"]._serialized_end = 35639 + _globals["_UPDATEACTIVITYEXECUTIONOPTIONSREQUEST"]._serialized_start = 35642 + _globals["_UPDATEACTIVITYEXECUTIONOPTIONSREQUEST"]._serialized_end = 35941 + _globals["_UPDATEACTIVITYOPTIONSRESPONSE"]._serialized_start = 35943 + _globals["_UPDATEACTIVITYOPTIONSRESPONSE"]._serialized_end = 36043 + _globals["_UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE"]._serialized_start = 36045 + _globals["_UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE"]._serialized_end = 36154 + _globals["_PAUSEACTIVITYREQUEST"]._serialized_start = 36157 + _globals["_PAUSEACTIVITYREQUEST"]._serialized_end = 36356 + _globals["_PAUSEACTIVITYEXECUTIONREQUEST"]._serialized_start = 36359 + _globals["_PAUSEACTIVITYEXECUTIONREQUEST"]._serialized_end = 36542 + _globals["_PAUSEACTIVITYRESPONSE"]._serialized_start = 36544 + _globals["_PAUSEACTIVITYRESPONSE"]._serialized_end = 36567 + _globals["_PAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 36569 + _globals["_PAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 36601 + _globals["_UNPAUSEACTIVITYREQUEST"]._serialized_start = 36604 + _globals["_UNPAUSEACTIVITYREQUEST"]._serialized_end = 36884 + _globals["_UNPAUSEACTIVITYEXECUTIONREQUEST"]._serialized_start = 36887 + _globals["_UNPAUSEACTIVITYEXECUTIONREQUEST"]._serialized_end = 37144 + _globals["_UNPAUSEACTIVITYRESPONSE"]._serialized_start = 37146 + _globals["_UNPAUSEACTIVITYRESPONSE"]._serialized_end = 37171 + _globals["_UNPAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 37173 + _globals["_UNPAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 37207 + _globals["_RESETACTIVITYREQUEST"]._serialized_start = 37210 + _globals["_RESETACTIVITYREQUEST"]._serialized_end = 37517 + _globals["_RESETACTIVITYEXECUTIONREQUEST"]._serialized_start = 37520 + _globals["_RESETACTIVITYEXECUTIONREQUEST"]._serialized_end = 37790 + _globals["_RESETACTIVITYRESPONSE"]._serialized_start = 37792 + _globals["_RESETACTIVITYRESPONSE"]._serialized_end = 37815 + _globals["_RESETACTIVITYEXECUTIONRESPONSE"]._serialized_start = 37817 + _globals["_RESETACTIVITYEXECUTIONRESPONSE"]._serialized_end = 37849 + _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST"]._serialized_start = 37852 + _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST"]._serialized_end = 38136 + _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE"]._serialized_start = 38139 + _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE"]._serialized_end = 38316 + _globals["_DESCRIBEDEPLOYMENTREQUEST"]._serialized_start = 38318 + _globals["_DESCRIBEDEPLOYMENTREQUEST"]._serialized_end = 38424 + _globals["_DESCRIBEDEPLOYMENTRESPONSE"]._serialized_start = 38426 + _globals["_DESCRIBEDEPLOYMENTRESPONSE"]._serialized_end = 38523 + _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_start = 38526 + _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_end = 38720 + _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_start = 38723 + _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_end = 39375 + _globals[ + "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE" + ]._serialized_start = 38984 + _globals[ + "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE" + ]._serialized_end = 39375 + _globals[ + "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" + ]._serialized_start = 23309 + _globals[ + "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" + ]._serialized_end = 23409 + _globals["_DESCRIBEWORKERDEPLOYMENTREQUEST"]._serialized_start = 39377 + _globals["_DESCRIBEWORKERDEPLOYMENTREQUEST"]._serialized_end = 39454 + _globals["_DESCRIBEWORKERDEPLOYMENTRESPONSE"]._serialized_start = 39457 + _globals["_DESCRIBEWORKERDEPLOYMENTRESPONSE"]._serialized_end = 39597 + _globals["_LISTDEPLOYMENTSREQUEST"]._serialized_start = 39599 + _globals["_LISTDEPLOYMENTSREQUEST"]._serialized_end = 39707 + _globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_start = 39709 + _globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_end = 39828 + _globals["_SETCURRENTDEPLOYMENTREQUEST"]._serialized_start = 39831 + _globals["_SETCURRENTDEPLOYMENTREQUEST"]._serialized_end = 40036 + _globals["_SETCURRENTDEPLOYMENTRESPONSE"]._serialized_start = 40039 + _globals["_SETCURRENTDEPLOYMENTRESPONSE"]._serialized_end = 40224 + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"]._serialized_start = 40227 + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"]._serialized_end = 40456 + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"]._serialized_start = 40459 + _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"]._serialized_end = 40650 + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"]._serialized_start = 40653 + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"]._serialized_end = 40902 + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"]._serialized_start = 40905 + _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"]._serialized_end = 41129 + _globals["_CREATEWORKERDEPLOYMENTREQUEST"]._serialized_start = 41131 + _globals["_CREATEWORKERDEPLOYMENTREQUEST"]._serialized_end = 41244 + _globals["_CREATEWORKERDEPLOYMENTRESPONSE"]._serialized_start = 41246 + _globals["_CREATEWORKERDEPLOYMENTRESPONSE"]._serialized_end = 41302 + _globals["_LISTWORKERDEPLOYMENTSREQUEST"]._serialized_start = 41304 + _globals["_LISTWORKERDEPLOYMENTSREQUEST"]._serialized_end = 41397 + _globals["_LISTWORKERDEPLOYMENTSRESPONSE"]._serialized_start = 41400 + _globals["_LISTWORKERDEPLOYMENTSRESPONSE"]._serialized_end = 42071 + _globals[ + "_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY" + ]._serialized_start = 41575 + _globals[ + "_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY" + ]._serialized_end = 42071 + _globals["_CREATEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_start = 42074 + _globals["_CREATEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_end = 42314 + _globals["_CREATEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_start = 42316 + _globals["_CREATEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_end = 42355 + _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_start = 42358 + _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_end = 42558 + _globals["_DELETEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_start = 42560 + _globals["_DELETEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_end = 42599 + _globals["_DELETEWORKERDEPLOYMENTREQUEST"]._serialized_start = 42601 + _globals["_DELETEWORKERDEPLOYMENTREQUEST"]._serialized_end = 42694 + _globals["_DELETEWORKERDEPLOYMENTRESPONSE"]._serialized_start = 42696 + _globals["_DELETEWORKERDEPLOYMENTRESPONSE"]._serialized_end = 42728 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" + ]._serialized_start = 42731 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" + ]._serialized_end = 43247 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._serialized_start = 43124 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._serialized_end = 43247 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" + ]._serialized_start = 43249 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" + ]._serialized_end = 43301 + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" + ]._serialized_start = 43304 + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" + ]._serialized_end = 43804 + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._serialized_start = 43124 + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" + ]._serialized_end = 43247 + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" + ]._serialized_start = 43806 + _globals[ + "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" + ]._serialized_end = 43860 + _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"]._serialized_start = 43863 + _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"]._serialized_end = 44281 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" + ]._serialized_start = 44196 + _globals[ + "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" + ]._serialized_end = 44281 + _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE"]._serialized_start = 44283 + _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE"]._serialized_end = 44393 + _globals["_SETWORKERDEPLOYMENTMANAGERREQUEST"]._serialized_start = 44396 + _globals["_SETWORKERDEPLOYMENTMANAGERREQUEST"]._serialized_end = 44585 + _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"]._serialized_start = 44587 + _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"]._serialized_end = 44686 + _globals["_GETCURRENTDEPLOYMENTREQUEST"]._serialized_start = 44688 + _globals["_GETCURRENTDEPLOYMENTREQUEST"]._serialized_end = 44757 + _globals["_GETCURRENTDEPLOYMENTRESPONSE"]._serialized_start = 44759 + _globals["_GETCURRENTDEPLOYMENTRESPONSE"]._serialized_end = 44866 + _globals["_GETDEPLOYMENTREACHABILITYREQUEST"]._serialized_start = 44868 + _globals["_GETDEPLOYMENTREACHABILITYREQUEST"]._serialized_end = 44981 + _globals["_GETDEPLOYMENTREACHABILITYRESPONSE"]._serialized_start = 44984 + _globals["_GETDEPLOYMENTREACHABILITYRESPONSE"]._serialized_end = 45211 + _globals["_CREATEWORKFLOWRULEREQUEST"]._serialized_start = 45214 + _globals["_CREATEWORKFLOWRULEREQUEST"]._serialized_end = 45394 + _globals["_CREATEWORKFLOWRULERESPONSE"]._serialized_start = 45396 + _globals["_CREATEWORKFLOWRULERESPONSE"]._serialized_end = 45491 + _globals["_DESCRIBEWORKFLOWRULEREQUEST"]._serialized_start = 45493 + _globals["_DESCRIBEWORKFLOWRULEREQUEST"]._serialized_end = 45558 + _globals["_DESCRIBEWORKFLOWRULERESPONSE"]._serialized_start = 45560 + _globals["_DESCRIBEWORKFLOWRULERESPONSE"]._serialized_end = 45641 + _globals["_DELETEWORKFLOWRULEREQUEST"]._serialized_start = 45643 + _globals["_DELETEWORKFLOWRULEREQUEST"]._serialized_end = 45706 + _globals["_DELETEWORKFLOWRULERESPONSE"]._serialized_start = 45708 + _globals["_DELETEWORKFLOWRULERESPONSE"]._serialized_end = 45736 + _globals["_LISTWORKFLOWRULESREQUEST"]._serialized_start = 45738 + _globals["_LISTWORKFLOWRULESREQUEST"]._serialized_end = 45808 + _globals["_LISTWORKFLOWRULESRESPONSE"]._serialized_start = 45810 + _globals["_LISTWORKFLOWRULESRESPONSE"]._serialized_end = 45914 + _globals["_TRIGGERWORKFLOWRULEREQUEST"]._serialized_start = 45917 + _globals["_TRIGGERWORKFLOWRULEREQUEST"]._serialized_end = 46123 + _globals["_TRIGGERWORKFLOWRULERESPONSE"]._serialized_start = 46125 + _globals["_TRIGGERWORKFLOWRULERESPONSE"]._serialized_end = 46171 + _globals["_RECORDWORKERHEARTBEATREQUEST"]._serialized_start = 46174 + _globals["_RECORDWORKERHEARTBEATREQUEST"]._serialized_end = 46329 + _globals["_RECORDWORKERHEARTBEATRESPONSE"]._serialized_start = 46331 + _globals["_RECORDWORKERHEARTBEATRESPONSE"]._serialized_end = 46362 + _globals["_LISTWORKERSREQUEST"]._serialized_start = 46365 + _globals["_LISTWORKERSREQUEST"]._serialized_end = 46495 + _globals["_LISTWORKERSRESPONSE"]._serialized_start = 46498 + _globals["_LISTWORKERSRESPONSE"]._serialized_end = 46663 + _globals["_UPDATETASKQUEUECONFIGREQUEST"]._serialized_start = 46666 + _globals["_UPDATETASKQUEUECONFIGREQUEST"]._serialized_end = 47391 + _globals["_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE"]._serialized_start = 47233 + _globals["_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE"]._serialized_end = 47324 + _globals[ + "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" + ]._serialized_start = 47326 + _globals[ + "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" + ]._serialized_end = 47391 + _globals["_UPDATETASKQUEUECONFIGRESPONSE"]._serialized_start = 47393 + _globals["_UPDATETASKQUEUECONFIGRESPONSE"]._serialized_end = 47484 + _globals["_FETCHWORKERCONFIGREQUEST"]._serialized_start = 47487 + _globals["_FETCHWORKERCONFIGREQUEST"]._serialized_end = 47645 + _globals["_FETCHWORKERCONFIGRESPONSE"]._serialized_start = 47647 + _globals["_FETCHWORKERCONFIGRESPONSE"]._serialized_end = 47732 + _globals["_UPDATEWORKERCONFIGREQUEST"]._serialized_start = 47735 + _globals["_UPDATEWORKERCONFIGREQUEST"]._serialized_end = 48001 + _globals["_UPDATEWORKERCONFIGRESPONSE"]._serialized_start = 48003 + _globals["_UPDATEWORKERCONFIGRESPONSE"]._serialized_end = 48103 + _globals["_DESCRIBEWORKERREQUEST"]._serialized_start = 48105 + _globals["_DESCRIBEWORKERREQUEST"]._serialized_end = 48176 + _globals["_DESCRIBEWORKERRESPONSE"]._serialized_start = 48178 + _globals["_DESCRIBEWORKERRESPONSE"]._serialized_end = 48259 + _globals["_COUNTWORKERSREQUEST"]._serialized_start = 48261 + _globals["_COUNTWORKERSREQUEST"]._serialized_end = 48348 + _globals["_COUNTWORKERSRESPONSE"]._serialized_start = 48350 + _globals["_COUNTWORKERSRESPONSE"]._serialized_end = 48387 + _globals["_PAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 48390 + _globals["_PAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 48531 + _globals["_PAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 48533 + _globals["_PAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 48565 + _globals["_UNPAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 48568 + _globals["_UNPAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 48711 + _globals["_UNPAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 48713 + _globals["_UNPAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 48747 + _globals["_STARTACTIVITYEXECUTIONREQUEST"]._serialized_start = 48750 + _globals["_STARTACTIVITYEXECUTIONREQUEST"]._serialized_end = 49927 + _globals["_STARTACTIVITYEXECUTIONRESPONSE"]._serialized_start = 49929 + _globals["_STARTACTIVITYEXECUTIONRESPONSE"]._serialized_end = 50038 + _globals["_DESCRIBEACTIVITYEXECUTIONREQUEST"]._serialized_start = 50041 + _globals["_DESCRIBEACTIVITYEXECUTIONREQUEST"]._serialized_end = 50269 + _globals["_DESCRIBEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 50272 + _globals["_DESCRIBEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 50588 + _globals["_POLLACTIVITYEXECUTIONREQUEST"]._serialized_start = 50590 + _globals["_POLLACTIVITYEXECUTIONREQUEST"]._serialized_end = 50676 + _globals["_POLLACTIVITYEXECUTIONRESPONSE"]._serialized_start = 50678 + _globals["_POLLACTIVITYEXECUTIONRESPONSE"]._serialized_end = 50794 + _globals["_LISTACTIVITYEXECUTIONSREQUEST"]._serialized_start = 50796 + _globals["_LISTACTIVITYEXECUTIONSREQUEST"]._serialized_end = 50905 + _globals["_LISTACTIVITYEXECUTIONSRESPONSE"]._serialized_start = 50908 + _globals["_LISTACTIVITYEXECUTIONSRESPONSE"]._serialized_end = 51038 + _globals["_STARTNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 51041 + _globals["_STARTNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 51890 + _globals[ + "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" + ]._serialized_start = 51840 + _globals[ + "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" + ]._serialized_end = 51890 + _globals["_STARTNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 51892 + _globals["_STARTNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 51963 + _globals["_DESCRIBENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 51966 + _globals["_DESCRIBENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 52136 + _globals["_DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 52139 + _globals["_DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 52450 + _globals["_POLLNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 52453 + _globals["_POLLNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 52614 + _globals["_POLLNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 52617 + _globals["_POLLNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 52878 + _globals["_LISTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_start = 52880 + _globals["_LISTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_end = 52995 + _globals["_LISTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_start = 52998 + _globals["_LISTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_end = 53137 + _globals["_COUNTACTIVITYEXECUTIONSREQUEST"]._serialized_start = 53139 + _globals["_COUNTACTIVITYEXECUTIONSREQUEST"]._serialized_end = 53205 + _globals["_COUNTACTIVITYEXECUTIONSRESPONSE"]._serialized_start = 53208 + _globals["_COUNTACTIVITYEXECUTIONSRESPONSE"]._serialized_end = 53445 + _globals[ + "_COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP" + ]._serialized_start = 19747 + _globals[ + "_COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP" + ]._serialized_end = 19835 + _globals["_COUNTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_start = 53447 + _globals["_COUNTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_end = 53519 + _globals["_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_start = 53522 + _globals["_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_end = 53771 + _globals[ + "_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP" + ]._serialized_start = 19747 + _globals[ + "_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP" + ]._serialized_end = 19835 + _globals["_REQUESTCANCELACTIVITYEXECUTIONREQUEST"]._serialized_start = 53774 + _globals["_REQUESTCANCELACTIVITYEXECUTIONREQUEST"]._serialized_end = 53923 + _globals["_REQUESTCANCELACTIVITYEXECUTIONRESPONSE"]._serialized_start = 53925 + _globals["_REQUESTCANCELACTIVITYEXECUTIONRESPONSE"]._serialized_end = 53965 + _globals["_TERMINATEACTIVITYEXECUTIONREQUEST"]._serialized_start = 53968 + _globals["_TERMINATEACTIVITYEXECUTIONREQUEST"]._serialized_end = 54113 + _globals["_TERMINATEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 54115 + _globals["_TERMINATEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 54151 + _globals["_DELETEACTIVITYEXECUTIONREQUEST"]._serialized_start = 54153 + _globals["_DELETEACTIVITYEXECUTIONREQUEST"]._serialized_end = 54241 + _globals["_DELETEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 54243 + _globals["_DELETEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 54276 + _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 54279 + _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 54435 + _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 54437 + _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 54483 + _globals["_TERMINATENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 54486 + _globals["_TERMINATENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 54638 + _globals["_TERMINATENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 54640 + _globals["_TERMINATENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 54682 + _globals["_DELETENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 54684 + _globals["_DELETENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 54779 + _globals["_DELETENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 54781 + _globals["_DELETENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 54820 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.pyi b/temporalio/api/workflowservice/v1/request_response_pb2.pyi index 1e92d50e1..b734e01db 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.pyi +++ b/temporalio/api/workflowservice/v1/request_response_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -51,16 +52,18 @@ import temporalio.api.version.v1.message_pb2 import temporalio.api.worker.v1.message_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class RegisterNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class DataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -75,8 +78,7 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -95,6 +97,19 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str description: builtins.str owner_email: builtins.str + active_cluster_name: builtins.str + security_token: builtins.str + is_global_namespace: builtins.bool + history_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) + """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" + history_archival_uri: builtins.str + visibility_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) + """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" + visibility_archival_uri: builtins.str @property def workflow_execution_retention_period( self, @@ -105,24 +120,12 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig ]: ... - active_cluster_name: builtins.str @property def data( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" - security_token: builtins.str - is_global_namespace: builtins.bool - history_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) - """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" - history_archival_uri: builtins.str - visibility_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) - """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" - visibility_archival_uri: builtins.str + def __init__( self, *, @@ -146,14 +149,14 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "workflow_execution_retention_period", b"workflow_execution_retention_period", ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "active_cluster_name", b"active_cluster_name", "clusters", @@ -183,8 +186,11 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RegisterNamespaceRequest = RegisterNamespaceRequest +Global___RegisterNamespaceRequest: typing_extensions.TypeAlias = ( + RegisterNamespaceRequest +) +@typing.final class RegisterNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -192,8 +198,11 @@ class RegisterNamespaceResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RegisterNamespaceResponse = RegisterNamespaceResponse +Global___RegisterNamespaceResponse: typing_extensions.TypeAlias = ( + RegisterNamespaceResponse +) +@typing.final class ListNamespacesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -215,12 +224,11 @@ class ListNamespacesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter"], + self, field_name: typing.Literal["namespace_filter", b"namespace_filter"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace_filter", b"namespace_filter", "next_page_token", @@ -230,36 +238,38 @@ class ListNamespacesRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListNamespacesRequest = ListNamespacesRequest +Global___ListNamespacesRequest: typing_extensions.TypeAlias = ListNamespacesRequest +@typing.final class ListNamespacesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def namespaces( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___DescribeNamespaceResponse + Global___DescribeNamespaceResponse ]: ... - next_page_token: builtins.bytes def __init__( self, *, - namespaces: collections.abc.Iterable[global___DescribeNamespaceResponse] + namespaces: collections.abc.Iterable[Global___DescribeNamespaceResponse] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespaces", b"namespaces", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListNamespacesResponse = ListNamespacesResponse +Global___ListNamespacesResponse: typing_extensions.TypeAlias = ListNamespacesResponse +@typing.final class DescribeNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -283,7 +293,7 @@ class DescribeNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "id", b"id", "namespace", @@ -293,8 +303,11 @@ class DescribeNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeNamespaceRequest = DescribeNamespaceRequest +Global___DescribeNamespaceRequest: typing_extensions.TypeAlias = ( + DescribeNamespaceRequest +) +@typing.final class DescribeNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -305,6 +318,8 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int FAILOVER_HISTORY_FIELD_NUMBER: builtins.int POLLER_GROUP_INFOS_FIELD_NUMBER: builtins.int + failover_version: builtins.int + is_global_namespace: builtins.bool @property def namespace_info( self, @@ -315,8 +330,6 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): def replication_config( self, ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... - failover_version: builtins.int - is_global_namespace: builtins.bool @property def failover_history( self, @@ -326,6 +339,7 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): """Contains the historical state of failover_versions for the cluster, truncated to contain only the last N states to ensure that the list does not grow unbounded. """ + @property def poller_group_infos( self, @@ -336,6 +350,7 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): updated through poll response. Client is supposed to use the info received in the latest poll response. """ + def __init__( self, *, @@ -357,7 +372,7 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "namespace_info", @@ -368,7 +383,7 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "failover_history", @@ -386,8 +401,11 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeNamespaceResponse = DescribeNamespaceResponse +Global___DescribeNamespaceResponse: typing_extensions.TypeAlias = ( + DescribeNamespaceResponse +) +@typing.final class UpdateNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -399,6 +417,10 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): DELETE_BAD_BINARY_FIELD_NUMBER: builtins.int PROMOTE_NAMESPACE_FIELD_NUMBER: builtins.int namespace: builtins.str + security_token: builtins.str + delete_bad_binary: builtins.str + promote_namespace: builtins.bool + """promote local namespace to global namespace. Ignored if namespace is already global namespace.""" @property def update_info( self, @@ -409,10 +431,6 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): def replication_config( self, ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... - security_token: builtins.str - delete_bad_binary: builtins.str - promote_namespace: builtins.bool - """promote local namespace to global namespace. Ignored if namespace is already global namespace.""" def __init__( self, *, @@ -428,7 +446,7 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "replication_config", @@ -439,7 +457,7 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "delete_bad_binary", @@ -457,8 +475,9 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateNamespaceRequest = UpdateNamespaceRequest +Global___UpdateNamespaceRequest: typing_extensions.TypeAlias = UpdateNamespaceRequest +@typing.final class UpdateNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -467,6 +486,8 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): REPLICATION_CONFIG_FIELD_NUMBER: builtins.int FAILOVER_VERSION_FIELD_NUMBER: builtins.int IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int + failover_version: builtins.int + is_global_namespace: builtins.bool @property def namespace_info( self, @@ -477,8 +498,6 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): def replication_config( self, ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... - failover_version: builtins.int - is_global_namespace: builtins.bool def __init__( self, *, @@ -492,7 +511,7 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "namespace_info", @@ -503,7 +522,7 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "failover_version", @@ -517,8 +536,9 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateNamespaceResponse = UpdateNamespaceResponse +Global___UpdateNamespaceResponse: typing_extensions.TypeAlias = UpdateNamespaceResponse +@typing.final class DeprecateNamespaceRequest(google.protobuf.message.Message): """Deprecated.""" @@ -536,13 +556,16 @@ class DeprecateNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "security_token", b"security_token" ], ) -> None: ... -global___DeprecateNamespaceRequest = DeprecateNamespaceRequest +Global___DeprecateNamespaceRequest: typing_extensions.TypeAlias = ( + DeprecateNamespaceRequest +) +@typing.final class DeprecateNamespaceResponse(google.protobuf.message.Message): """Deprecated.""" @@ -552,8 +575,11 @@ class DeprecateNamespaceResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeprecateNamespaceResponse = DeprecateNamespaceResponse +Global___DeprecateNamespaceResponse: typing_extensions.TypeAlias = ( + DeprecateNamespaceResponse +) +@typing.final class StartWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -588,22 +614,6 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int namespace: builtins.str workflow_id: builtins.str - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" - @property - def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Total workflow execution timeout including retries and continue as new.""" - @property - def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow run.""" - @property - def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow task.""" identity: builtins.str """The identity of the client who initiated this request""" request_id: builtins.str @@ -624,11 +634,38 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow. """ + cron_schedule: builtins.str + """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" + request_eager_execution: builtins.bool + """Request to get the first workflow task inline in the response bypassing matching service and worker polling. + If set to `true` the caller is expected to have a worker available and capable of processing the task. + The returned task will be marked as started and is expected to be completed by the specified + `workflow_task_timeout`. + """ + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" + + @property + def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Total workflow execution timeout including retries and continue as new.""" + + @property + def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow run.""" + + @property + def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow task.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.""" - cron_schedule: builtins.str - """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -637,12 +674,6 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... - request_eager_execution: builtins.bool - """Request to get the first workflow task inline in the response bypassing matching service and worker polling. - If set to `true` the caller is expected to have a worker available and capable of processing the task. - The returned task will be marked as started and is expected to be completed by the specified - `workflow_task_timeout`. - """ @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """These values will be available as ContinuedFailure and LastCompletionResult in the @@ -650,6 +681,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): server itself (for the schedules feature) and are not intended to be exposed in StartWorkflowExecution. """ + @property def last_completion_result( self, @@ -660,6 +692,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored. """ + @property def completion_callbacks( self, @@ -670,12 +703,14 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration. """ + @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo for use by user interfaces to display the fixed as-of-start summary and details of the workflow. """ + @property def links( self, @@ -683,6 +718,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the workflow.""" + @property def versioning_override( self, @@ -690,6 +726,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ + @property def on_conflict_options( self, @@ -699,19 +736,23 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): empty object (ie., all options with default value), it won't do anything to the existing running workflow. If set, it will add a history event to the running workflow. """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" + @property def eager_worker_deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.""" + @property def time_skipping_config( self, - ) -> temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig: + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """Time-skipping configuration. If not set, time skipping is disabled.""" + def __init__( self, *, @@ -753,12 +794,12 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., eager_worker_deployment_options: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions | None = ..., - time_skipping_config: temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig + time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "continued_failure", b"continued_failure", "eager_worker_deployment_options", @@ -801,7 +842,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "completion_callbacks", b"completion_callbacks", "continued_failure", @@ -863,8 +904,11 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___StartWorkflowExecutionRequest = StartWorkflowExecutionRequest +Global___StartWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + StartWorkflowExecutionRequest +) +@typing.final class StartWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -882,32 +926,34 @@ class StartWorkflowExecutionResponse(google.protobuf.message.Message): unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs). """ @property - def eager_workflow_task(self) -> global___PollWorkflowTaskQueueResponse: + def eager_workflow_task(self) -> Global___PollWorkflowTaskQueueResponse: """When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task. """ + @property def link(self) -> temporalio.api.common.v1.message_pb2.Link: """Link to the workflow event.""" + def __init__( self, *, run_id: builtins.str = ..., started: builtins.bool = ..., status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., - eager_workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., + eager_workflow_task: Global___PollWorkflowTaskQueueResponse | None = ..., link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "eager_workflow_task", b"eager_workflow_task", "link", b"link" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "eager_workflow_task", b"eager_workflow_task", "link", @@ -921,8 +967,11 @@ class StartWorkflowExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -global___StartWorkflowExecutionResponse = StartWorkflowExecutionResponse +Global___StartWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + StartWorkflowExecutionResponse +) +@typing.final class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -934,8 +983,6 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): HISTORY_EVENT_FILTER_TYPE_FIELD_NUMBER: builtins.int SKIP_ARCHIVAL_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... maximum_page_size: builtins.int next_page_token: builtins.bytes """If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of @@ -952,6 +999,8 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT. """ skip_archival: builtins.bool + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, @@ -964,11 +1013,11 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): skip_archival: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] + self, field_name: typing.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "history_event_filter_type", @@ -986,8 +1035,11 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetWorkflowExecutionHistoryRequest = GetWorkflowExecutionHistoryRequest +Global___GetWorkflowExecutionHistoryRequest: typing_extensions.TypeAlias = ( + GetWorkflowExecutionHistoryRequest +) +@typing.final class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -995,6 +1047,9 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): RAW_HISTORY_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int ARCHIVED_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes + """Will be set if there are more history events than were included in this response""" + archived: builtins.bool @property def history(self) -> temporalio.api.history.v1.message_pb2.History: ... @property @@ -1006,9 +1061,7 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): """Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set. """ - next_page_token: builtins.bytes - """Will be set if there are more history events than were included in this response""" - archived: builtins.bool + def __init__( self, *, @@ -1021,11 +1074,11 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): archived: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["history", b"history"] + self, field_name: typing.Literal["history", b"history"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "archived", b"archived", "history", @@ -1037,8 +1090,11 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): ], ) -> None: ... -global___GetWorkflowExecutionHistoryResponse = GetWorkflowExecutionHistoryResponse +Global___GetWorkflowExecutionHistoryResponse: typing_extensions.TypeAlias = ( + GetWorkflowExecutionHistoryResponse +) +@typing.final class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1047,10 +1103,10 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) MAXIMUM_PAGE_SIZE_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... maximum_page_size: builtins.int next_page_token: builtins.bytes + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, @@ -1060,11 +1116,11 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) next_page_token: builtins.bytes = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] + self, field_name: typing.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "maximum_page_size", @@ -1076,19 +1132,20 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) ], ) -> None: ... -global___GetWorkflowExecutionHistoryReverseRequest = ( +Global___GetWorkflowExecutionHistoryReverseRequest: typing_extensions.TypeAlias = ( GetWorkflowExecutionHistoryReverseRequest ) +@typing.final class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor HISTORY_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - @property - def history(self) -> temporalio.api.history.v1.message_pb2.History: ... next_page_token: builtins.bytes """Will be set if there are more history events than were included in this response""" + @property + def history(self) -> temporalio.api.history.v1.message_pb2.History: ... def __init__( self, *, @@ -1096,19 +1153,20 @@ class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message next_page_token: builtins.bytes = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["history", b"history"] + self, field_name: typing.Literal["history", b"history"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "history", b"history", "next_page_token", b"next_page_token" ], ) -> None: ... -global___GetWorkflowExecutionHistoryReverseResponse = ( +Global___GetWorkflowExecutionHistoryReverseResponse: typing_extensions.TypeAlias = ( GetWorkflowExecutionHistoryReverseResponse ) +@typing.final class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1122,8 +1180,6 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): WORKER_VERSION_CAPABILITIES_FIELD_NUMBER: builtins.int DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... poller_group_id: builtins.str """Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollWorkflowTaskQueueResponse according to the @@ -1146,6 +1202,8 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): "checksum" in this field name isn't very accurate, it should be though of as an id. """ @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... + @property def worker_version_capabilities( self, ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: @@ -1153,11 +1211,13 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" + def __init__( self, *, @@ -1175,7 +1235,7 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "task_queue", @@ -1186,7 +1246,7 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "binary_checksum", b"binary_checksum", "deployment_options", @@ -1208,11 +1268,15 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PollWorkflowTaskQueueRequest = PollWorkflowTaskQueueRequest +Global___PollWorkflowTaskQueueRequest: typing_extensions.TypeAlias = ( + PollWorkflowTaskQueueRequest +) +@typing.final class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class QueriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1228,11 +1292,10 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): value: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... TASK_TOKEN_FIELD_NUMBER: builtins.int @@ -1255,12 +1318,6 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): POLLER_GROUP_INFOS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """A unique identifier for this task""" - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... previous_started_event_id: builtins.int """The last workflow task started event which was processed by some worker for this execution. Will be zero if no task has ever started. @@ -1285,16 +1342,27 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): overall backlog. Subsequent RPCs may not hit the same partition as this call. """ + next_page_token: builtins.bytes + """Will be set if there are more history events than were included in this response. Such events + should be fetched via `GetWorkflowExecutionHistory`. + """ + poller_group_id: builtins.str + """This poller group ID identifies the owner of the workflow task awaiting for query response. + Corresponding RespondQueryTaskCompleted should pass this value for proper routing. + """ + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property def history(self) -> temporalio.api.history.v1.message_pb2.History: """The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task. """ - next_page_token: builtins.bytes - """Will be set if there are more history events than were included in this response. Such events - should be fetched via `GetWorkflowExecutionHistory`. - """ + @property def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: """Legacy queries appear in this field. The query must be responded to via @@ -1302,6 +1370,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue. """ + @property def workflow_execution_task_queue( self, @@ -1309,12 +1378,15 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): """The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue. """ + @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When this task was scheduled by the server""" + @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the current workflow task started event was generated, meaning the current attempt.""" + @property def queries( self, @@ -1324,6 +1396,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): """Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results` """ + @property def messages( self, @@ -1331,15 +1404,13 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): temporalio.api.protocol.v1.message_pb2.Message ]: """Protocol messages piggybacking on a WFT as a transport""" + @property def poller_scaling_decision( self, ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" - poller_group_id: builtins.str - """This poller group ID identifies the owner of the workflow task awaiting for query response. - Corresponding RespondQueryTaskCompleted should pass this value for proper routing. - """ + @property def poller_group_infos( self, @@ -1353,6 +1424,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. """ + def __init__( self, *, @@ -1389,7 +1461,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "history", b"history", "poller_scaling_decision", @@ -1410,7 +1482,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "backlog_count_hint", @@ -1450,11 +1522,15 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -global___PollWorkflowTaskQueueResponse = PollWorkflowTaskQueueResponse +Global___PollWorkflowTaskQueueResponse: typing_extensions.TypeAlias = ( + PollWorkflowTaskQueueResponse +) +@typing.final class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class QueryResultsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1470,13 +1546,13 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): value: temporalio.api.query.v1.message_pb2.WorkflowQueryResult | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class Capabilities(google.protobuf.message.Message): """SDK capability details.""" @@ -1498,7 +1574,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "discard_speculative_workflow_task_with_events", b"discard_speculative_workflow_task_with_events", ], @@ -1526,22 +1602,8 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): WORKER_CONTROL_TASK_QUEUE_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollWorkflowTaskQueueResponse`""" - @property - def commands( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.command.v1.message_pb2.Command - ]: - """A list of commands generated when driving the workflow code in response to the new task""" identity: builtins.str """The identity of the worker/client""" - @property - def sticky_attributes( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: - """May be set by workers to indicate that the worker desires future tasks to be provided with - incremental history on a sticky queue. - """ return_new_workflow_task: builtins.bool """If set, the worker wishes to immediately receive the next workflow task as a response to this completion. This can save on polling round-trips. @@ -1556,6 +1618,39 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): """Deprecated. Use `deployment_options` instead. Worker process' unique binary id """ + namespace: builtins.str + resource_id: builtins.str + """Resource ID for routing. Contains the workflow ID from the original task.""" + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) + """Versioning behavior of this workflow execution as set on the worker that completed this task. + UNSPECIFIED means versioning is not enabled in the worker. + """ + worker_instance_key: builtins.str + """A unique key for this worker instance, used for tracking worker lifecycle. + This is guaranteed to be unique, whereas identity is not guaranteed to be unique. + """ + worker_control_task_queue: builtins.str + """A dedicated per-worker Nexus task queue on which the server sends control + tasks (e.g. activity cancellation) to this specific worker instance. + """ + @property + def commands( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.command.v1.message_pb2.Command + ]: + """A list of commands generated when driving the workflow code in response to the new task""" + + @property + def sticky_attributes( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: + """May be set by workers to indicate that the worker desires future tasks to be provided with + incremental history on a sticky queue. + """ + @property def query_results( self, @@ -1563,9 +1658,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult ]: """Responses to the `queries` field in the task being responded to""" - namespace: builtins.str - resource_id: builtins.str - """Resource ID for routing. Contains the workflow ID from the original task.""" + @property def worker_version_stamp( self, @@ -1575,6 +1668,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead. """ + @property def messages( self, @@ -1582,6 +1676,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): temporalio.api.protocol.v1.message_pb2.Message ]: """Protocol messages piggybacking on a WFT as a transport""" + @property def sdk_metadata( self, @@ -1589,39 +1684,30 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ + @property def metering_metadata( self, ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data collected for metering""" + @property - def capabilities(self) -> global___RespondWorkflowTaskCompletedRequest.Capabilities: + def capabilities(self) -> Global___RespondWorkflowTaskCompletedRequest.Capabilities: """All capabilities the SDK supports.""" + @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) - """Versioning behavior of this workflow execution as set on the worker that completed this task. - UNSPECIFIED means versioning is not enabled in the worker. - """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - worker_instance_key: builtins.str - """A unique key for this worker instance, used for tracking worker lifecycle. - This is guaranteed to be unique, whereas identity is not guaranteed to be unique. - """ - worker_control_task_queue: builtins.str - """A dedicated per-worker Nexus task queue on which the server sends control - tasks (e.g. activity cancellation) to this specific worker instance. - """ + def __init__( self, *, @@ -1652,7 +1738,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): | None = ..., metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata | None = ..., - capabilities: global___RespondWorkflowTaskCompletedRequest.Capabilities + capabilities: Global___RespondWorkflowTaskCompletedRequest.Capabilities | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., @@ -1663,7 +1749,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "capabilities", b"capabilities", "deployment", @@ -1682,7 +1768,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "binary_checksum", b"binary_checksum", "capabilities", @@ -1726,43 +1812,48 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondWorkflowTaskCompletedRequest = RespondWorkflowTaskCompletedRequest +Global___RespondWorkflowTaskCompletedRequest: typing_extensions.TypeAlias = ( + RespondWorkflowTaskCompletedRequest +) +@typing.final class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_TASK_FIELD_NUMBER: builtins.int ACTIVITY_TASKS_FIELD_NUMBER: builtins.int RESET_HISTORY_EVENT_ID_FIELD_NUMBER: builtins.int - @property - def workflow_task(self) -> global___PollWorkflowTaskQueueResponse: - """See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`""" - @property - def activity_tasks( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___PollActivityTaskQueueResponse - ]: - """See `ScheduleActivityTaskCommandAttributes::request_eager_execution`""" reset_history_event_id: builtins.int """If non zero, indicates the server has discarded the workflow task that was being responded to. Will be the event ID of the last workflow task started event in the history before the new workflow task. Server is only expected to discard a workflow task if it could not have modified the workflow state. """ + @property + def workflow_task(self) -> Global___PollWorkflowTaskQueueResponse: + """See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`""" + + @property + def activity_tasks( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + Global___PollActivityTaskQueueResponse + ]: + """See `ScheduleActivityTaskCommandAttributes::request_eager_execution`""" + def __init__( self, *, - workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., - activity_tasks: collections.abc.Iterable[global___PollActivityTaskQueueResponse] + workflow_task: Global___PollWorkflowTaskQueueResponse | None = ..., + activity_tasks: collections.abc.Iterable[Global___PollActivityTaskQueueResponse] | None = ..., reset_history_event_id: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["workflow_task", b"workflow_task"] + self, field_name: typing.Literal["workflow_task", b"workflow_task"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_tasks", b"activity_tasks", "reset_history_event_id", @@ -1772,8 +1863,11 @@ class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): ], ) -> None: ... -global___RespondWorkflowTaskCompletedResponse = RespondWorkflowTaskCompletedResponse +Global___RespondWorkflowTaskCompletedResponse: typing_extensions.TypeAlias = ( + RespondWorkflowTaskCompletedResponse +) +@typing.final class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1794,9 +1888,6 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): """Why did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses. See the type's doc for more. """ - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Failure details""" identity: builtins.str """The identity of the worker/client""" binary_checksum: builtins.str @@ -1806,6 +1897,10 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID from the original task.""" + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Failure details""" + @property def messages( self, @@ -1813,6 +1908,7 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): temporalio.api.protocol.v1.message_pb2.Message ]: """Protocol messages piggybacking on a WFT as a transport""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -1820,17 +1916,20 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ + @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" + def __init__( self, *, @@ -1853,7 +1952,7 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_options", @@ -1866,7 +1965,7 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "binary_checksum", b"binary_checksum", "cause", @@ -1892,8 +1991,11 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondWorkflowTaskFailedRequest = RespondWorkflowTaskFailedRequest +Global___RespondWorkflowTaskFailedRequest: typing_extensions.TypeAlias = ( + RespondWorkflowTaskFailedRequest +) +@typing.final class RespondWorkflowTaskFailedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1901,8 +2003,11 @@ class RespondWorkflowTaskFailedResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondWorkflowTaskFailedResponse = RespondWorkflowTaskFailedResponse +Global___RespondWorkflowTaskFailedResponse: typing_extensions.TypeAlias = ( + RespondWorkflowTaskFailedResponse +) +@typing.final class PollActivityTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1916,8 +2021,6 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): WORKER_VERSION_CAPABILITIES_FIELD_NUMBER: builtins.int DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... poller_group_id: builtins.str """Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollActivityTaskQueueResponse according to the @@ -1935,6 +2038,8 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): tasks (e.g. activity cancellation) to this specific worker instance. """ @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... + @property def task_queue_metadata( self, ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata: ... @@ -1946,11 +2051,13 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" + def __init__( self, *, @@ -1969,7 +2076,7 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "task_queue", @@ -1982,7 +2089,7 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "identity", @@ -2004,8 +2111,11 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PollActivityTaskQueueRequest = PollActivityTaskQueueRequest +Global___PollActivityTaskQueueRequest: typing_extensions.TypeAlias = ( + PollActivityTaskQueueRequest +) +@typing.final class PollActivityTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2037,46 +2147,56 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities. """ + activity_id: builtins.str + """The autogenerated or user specified identifier of this activity. Can be used to complete the + activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage + has resolved, but unique IDs for every activity invocation is a good idea. + Note that only a workflow activity ID may be autogenerated. + """ + attempt: builtins.int + """Starting at 1, the number of attempts to perform this activity""" + activity_run_id: builtins.str + """The run ID of the activity execution, only set for standalone activities.""" @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: """Type of the requesting workflow (if this is a workflow activity).""" + @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Execution info of the requesting workflow (if this is a workflow activity)""" + @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... - activity_id: builtins.str - """The autogenerated or user specified identifier of this activity. Can be used to complete the - activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage - has resolved, but unique IDs for every activity invocation is a good idea. - Note that only a workflow activity ID may be autogenerated. - """ @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts. """ + @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Arguments to the activity invocation""" + @property def heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Details of the last heartbeat that was recorded for this activity as of the time this task was delivered. """ + @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When was this task first scheduled""" + @property def current_attempt_scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When was this task attempt scheduled""" + @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When was this task started (this attempt)""" - attempt: builtins.int - """Starting at 1, the number of attempts to perform this activity""" + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """First scheduled -> final result reported timeout @@ -2084,6 +2204,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Current attempt start -> final result reported timeout @@ -2091,25 +2212,28 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Window within which the activity must report a heartbeat, or be timed out.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits. """ + @property def poller_scaling_decision( self, ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - activity_run_id: builtins.str - """The run ID of the activity execution, only set for standalone activities.""" + @property def poller_group_infos( self, @@ -2123,6 +2247,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. """ + def __init__( self, *, @@ -2156,7 +2281,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_type", b"activity_type", "current_attempt_scheduled_time", @@ -2191,7 +2316,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_run_id", @@ -2237,8 +2362,11 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -global___PollActivityTaskQueueResponse = PollActivityTaskQueueResponse +Global___PollActivityTaskQueueResponse: typing_extensions.TypeAlias = ( + PollActivityTaskQueueResponse +) +@typing.final class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2249,14 +2377,15 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): RESOURCE_ID_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Arbitrary data, of which the most recent call is kept, to store for this activity""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Arbitrary data, of which the most recent call is kept, to store for this activity""" + def __init__( self, *, @@ -2267,11 +2396,11 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "identity", @@ -2285,8 +2414,11 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RecordActivityTaskHeartbeatRequest = RecordActivityTaskHeartbeatRequest +Global___RecordActivityTaskHeartbeatRequest: typing_extensions.TypeAlias = ( + RecordActivityTaskHeartbeatRequest +) +@typing.final class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2312,7 +2444,7 @@ class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_paused", b"activity_paused", "activity_reset", @@ -2322,8 +2454,11 @@ class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): ], ) -> None: ... -global___RecordActivityTaskHeartbeatResponse = RecordActivityTaskHeartbeatResponse +Global___RecordActivityTaskHeartbeatResponse: typing_extensions.TypeAlias = ( + RecordActivityTaskHeartbeatResponse +) +@typing.final class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2344,13 +2479,14 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity we're heartbeating""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Arbitrary data, of which the most recent call is kept, to store for this activity""" identity: builtins.str """The identity of the worker/client""" resource_id: builtins.str """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Arbitrary data, of which the most recent call is kept, to store for this activity""" + def __init__( self, *, @@ -2363,11 +2499,11 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "details", @@ -2385,8 +2521,11 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RecordActivityTaskHeartbeatByIdRequest = RecordActivityTaskHeartbeatByIdRequest +Global___RecordActivityTaskHeartbeatByIdRequest: typing_extensions.TypeAlias = ( + RecordActivityTaskHeartbeatByIdRequest +) +@typing.final class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2412,7 +2551,7 @@ class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_paused", b"activity_paused", "activity_reset", @@ -2422,10 +2561,11 @@ class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): ], ) -> None: ... -global___RecordActivityTaskHeartbeatByIdResponse = ( +Global___RecordActivityTaskHeartbeatByIdResponse: typing_extensions.TypeAlias = ( RecordActivityTaskHeartbeatByIdResponse ) +@typing.final class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2439,14 +2579,15 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """The result of successfully executing the activity""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """The result of successfully executing the activity""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -2454,17 +2595,20 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ + @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" + def __init__( self, *, @@ -2481,7 +2625,7 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_options", @@ -2494,7 +2638,7 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_options", @@ -2514,8 +2658,11 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondActivityTaskCompletedRequest = RespondActivityTaskCompletedRequest +Global___RespondActivityTaskCompletedRequest: typing_extensions.TypeAlias = ( + RespondActivityTaskCompletedRequest +) +@typing.final class RespondActivityTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2523,8 +2670,11 @@ class RespondActivityTaskCompletedResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCompletedResponse = RespondActivityTaskCompletedResponse +Global___RespondActivityTaskCompletedResponse: typing_extensions.TypeAlias = ( + RespondActivityTaskCompletedResponse +) +@typing.final class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2545,13 +2695,14 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity to complete""" - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """The serialized result of activity execution""" identity: builtins.str """The identity of the worker/client""" resource_id: builtins.str """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """The serialized result of activity execution""" + def __init__( self, *, @@ -2564,11 +2715,11 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "identity", @@ -2586,10 +2737,11 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondActivityTaskCompletedByIdRequest = ( +Global___RespondActivityTaskCompletedByIdRequest: typing_extensions.TypeAlias = ( RespondActivityTaskCompletedByIdRequest ) +@typing.final class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2597,10 +2749,11 @@ class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCompletedByIdResponse = ( +Global___RespondActivityTaskCompletedByIdResponse: typing_extensions.TypeAlias = ( RespondActivityTaskCompletedByIdResponse ) +@typing.final class RespondActivityTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2615,17 +2768,19 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Detailed failure information""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Detailed failure information""" + @property def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Additional details to be stored as last activity heartbeat""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -2633,17 +2788,20 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ + @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" + def __init__( self, *, @@ -2662,7 +2820,7 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_options", @@ -2677,7 +2835,7 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_options", @@ -2699,8 +2857,11 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondActivityTaskFailedRequest = RespondActivityTaskFailedRequest +Global___RespondActivityTaskFailedRequest: typing_extensions.TypeAlias = ( + RespondActivityTaskFailedRequest +) +@typing.final class RespondActivityTaskFailedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2714,6 +2875,7 @@ class RespondActivityTaskFailedResponse(google.protobuf.message.Message): """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ + def __init__( self, *, @@ -2723,11 +2885,14 @@ class RespondActivityTaskFailedResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["failures", b"failures"] + self, field_name: typing.Literal["failures", b"failures"] ) -> None: ... -global___RespondActivityTaskFailedResponse = RespondActivityTaskFailedResponse +Global___RespondActivityTaskFailedResponse: typing_extensions.TypeAlias = ( + RespondActivityTaskFailedResponse +) +@typing.final class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2749,16 +2914,18 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity to fail""" + identity: builtins.str + """The identity of the worker/client""" + resource_id: builtins.str + """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Detailed failure information""" - identity: builtins.str - """The identity of the worker/client""" + @property def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Additional details to be stored as last activity heartbeat""" - resource_id: builtins.str - """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" + def __init__( self, *, @@ -2774,13 +2941,13 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "failure", @@ -2800,8 +2967,11 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondActivityTaskFailedByIdRequest = RespondActivityTaskFailedByIdRequest +Global___RespondActivityTaskFailedByIdRequest: typing_extensions.TypeAlias = ( + RespondActivityTaskFailedByIdRequest +) +@typing.final class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2815,6 +2985,7 @@ class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ + def __init__( self, *, @@ -2824,11 +2995,14 @@ class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["failures", b"failures"] + self, field_name: typing.Literal["failures", b"failures"] ) -> None: ... -global___RespondActivityTaskFailedByIdResponse = RespondActivityTaskFailedByIdResponse +Global___RespondActivityTaskFailedByIdResponse: typing_extensions.TypeAlias = ( + RespondActivityTaskFailedByIdResponse +) +@typing.final class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2842,14 +3016,15 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized additional information to attach to the cancellation""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized additional information to attach to the cancellation""" + @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -2857,17 +3032,20 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ + @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" + def __init__( self, *, @@ -2884,7 +3062,7 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_options", @@ -2897,7 +3075,7 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "deployment_options", @@ -2917,8 +3095,11 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondActivityTaskCanceledRequest = RespondActivityTaskCanceledRequest +Global___RespondActivityTaskCanceledRequest: typing_extensions.TypeAlias = ( + RespondActivityTaskCanceledRequest +) +@typing.final class RespondActivityTaskCanceledResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2926,8 +3107,11 @@ class RespondActivityTaskCanceledResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCanceledResponse = RespondActivityTaskCanceledResponse +Global___RespondActivityTaskCanceledResponse: typing_extensions.TypeAlias = ( + RespondActivityTaskCanceledResponse +) +@typing.final class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2949,18 +3133,20 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity to confirm is cancelled""" + identity: builtins.str + """The identity of the worker/client""" + resource_id: builtins.str + """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized additional information to attach to the cancellation""" - identity: builtins.str - """The identity of the worker/client""" + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - resource_id: builtins.str - """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" + def __init__( self, *, @@ -2976,13 +3162,13 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "details", b"details" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "deployment_options", @@ -3002,8 +3188,11 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondActivityTaskCanceledByIdRequest = RespondActivityTaskCanceledByIdRequest +Global___RespondActivityTaskCanceledByIdRequest: typing_extensions.TypeAlias = ( + RespondActivityTaskCanceledByIdRequest +) +@typing.final class RespondActivityTaskCanceledByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3011,10 +3200,11 @@ class RespondActivityTaskCanceledByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondActivityTaskCanceledByIdResponse = ( +Global___RespondActivityTaskCanceledByIdResponse: typing_extensions.TypeAlias = ( RespondActivityTaskCanceledByIdResponse ) +@typing.final class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3026,10 +3216,6 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... identity: builtins.str """The identity of the worker/client""" request_id: builtins.str @@ -3042,12 +3228,17 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): reason: builtins.str """Reason for requesting the cancellation""" @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionCanceled event.""" + def __init__( self, *, @@ -3062,14 +3253,11 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "first_execution_run_id", b"first_execution_run_id", "identity", @@ -3087,8 +3275,11 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RequestCancelWorkflowExecutionRequest = RequestCancelWorkflowExecutionRequest +Global___RequestCancelWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + RequestCancelWorkflowExecutionRequest +) +@typing.final class RequestCancelWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3096,8 +3287,11 @@ class RequestCancelWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RequestCancelWorkflowExecutionResponse = RequestCancelWorkflowExecutionResponse +Global___RequestCancelWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + RequestCancelWorkflowExecutionResponse +) +@typing.final class SignalWorkflowExecutionRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - temporalio.api.batch.v1.BatchOperationSignal. @@ -3116,26 +3310,28 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): HEADER_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow""" - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized value(s) to provide with the signal""" identity: builtins.str """The identity of the worker/client""" request_id: builtins.str """Used to de-dupe sent signals""" control: builtins.str """Deprecated.""" + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized value(s) to provide with the signal""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow. These can include things like auth or tracing tokens. """ + @property def links( self, @@ -3143,6 +3339,7 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionSignaled event.""" + def __init__( self, *, @@ -3160,7 +3357,7 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "input", @@ -3171,7 +3368,7 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "control", b"control", "header", @@ -3193,8 +3390,11 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SignalWorkflowExecutionRequest = SignalWorkflowExecutionRequest +Global___SignalWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + SignalWorkflowExecutionRequest +) +@typing.final class SignalWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3205,20 +3405,22 @@ class SignalWorkflowExecutionResponse(google.protobuf.message.Message): Added on the response to propagate the backlink. Available from Temporal server 1.31 and up. """ + def __init__( self, *, link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["link", b"link"] + self, field_name: typing.Literal["link", b"link"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["link", b"link"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["link", b"link"]) -> None: ... -global___SignalWorkflowExecutionResponse = SignalWorkflowExecutionResponse +Global___SignalWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + SignalWorkflowExecutionResponse +) +@typing.final class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3250,23 +3452,6 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int namespace: builtins.str workflow_id: builtins.str - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: - """The task queue to start this workflow on, if it will be started""" - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" - @property - def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Total workflow execution timeout including retries and continue as new""" - @property - def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow run""" - @property - def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow task""" identity: builtins.str """The identity of the worker/client""" request_id: builtins.str @@ -3290,16 +3475,40 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): """ signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow""" + control: builtins.str + """Deprecated.""" + cron_schedule: builtins.str + """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: + """The task queue to start this workflow on, if it will be started""" + + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" + + @property + def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Total workflow execution timeout including retries and continue as new""" + + @property + def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow run""" + + @property + def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow task""" + @property def signal_input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide with the signal""" - control: builtins.str - """Deprecated.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Retry policy for the workflow""" - cron_schedule: builtins.str - """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -3316,12 +3525,14 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): and the rest of the delay period will be ignored, even if that request also had a delay. Signal via SignalWorkflowExecution will not unblock the workflow. """ + @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo for use by user interfaces to display the fixed as-of-start summary and details of the workflow. """ + @property def links( self, @@ -3329,6 +3540,7 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionStarted and WorkflowExecutionSignaled events.""" + @property def versioning_override( self, @@ -3336,14 +3548,17 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" + @property def time_skipping_config( self, - ) -> temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig: + ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """Time-skipping configuration. If not set, time skipping is disabled.""" + def __init__( self, *, @@ -3376,12 +3591,12 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): versioning_override: temporalio.api.workflow.v1.message_pb2.VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - time_skipping_config: temporalio.api.workflow.v1.message_pb2.TimeSkippingConfig + time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "header", b"header", "input", @@ -3418,7 +3633,7 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "control", b"control", "cron_schedule", @@ -3474,10 +3689,11 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SignalWithStartWorkflowExecutionRequest = ( +Global___SignalWithStartWorkflowExecutionRequest: typing_extensions.TypeAlias = ( SignalWithStartWorkflowExecutionRequest ) +@typing.final class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3494,6 +3710,7 @@ class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): Added on the response to propagate the backlink. Available from Temporal server 1.31 and up. """ + def __init__( self, *, @@ -3502,19 +3719,20 @@ class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): signal_link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["signal_link", b"signal_link"] + self, field_name: typing.Literal["signal_link", b"signal_link"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "run_id", b"run_id", "signal_link", b"signal_link", "started", b"started" ], ) -> None: ... -global___SignalWithStartWorkflowExecutionResponse = ( +Global___SignalWithStartWorkflowExecutionResponse: typing_extensions.TypeAlias = ( SignalWithStartWorkflowExecutionResponse ) +@typing.final class ResetWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3528,14 +3746,6 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): POST_RESET_OPERATIONS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """The workflow to reset. If this contains a run ID then the workflow will be reset back to the - provided event ID in that run. Otherwise it will be reset to the provided event ID in the - current run. In all cases the current run will be terminated and a new run started. - """ reason: builtins.str workflow_task_finish_event_id: builtins.int """The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or @@ -3547,6 +3757,17 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): """Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL """ + identity: builtins.str + """The identity of the worker/client""" + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """The workflow to reset. If this contains a run ID then the workflow will be reset back to the + provided event ID in that run. Otherwise it will be reset to the provided event ID in the + current run. In all cases the current run will be terminated and a new run started. + """ + @property def reset_reapply_exclude_types( self, @@ -3554,6 +3775,7 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType ]: """Event types not to be reapplied""" + @property def post_reset_operations( self, @@ -3564,8 +3786,7 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated """ - identity: builtins.str - """The identity of the worker/client""" + def __init__( self, *, @@ -3587,14 +3808,11 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -3616,8 +3834,11 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ResetWorkflowExecutionRequest = ResetWorkflowExecutionRequest +Global___ResetWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + ResetWorkflowExecutionRequest +) +@typing.final class ResetWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3628,12 +3849,13 @@ class ResetWorkflowExecutionResponse(google.protobuf.message.Message): *, run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["run_id", b"run_id"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["run_id", b"run_id"]) -> None: ... -global___ResetWorkflowExecutionResponse = ResetWorkflowExecutionResponse +Global___ResetWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + ResetWorkflowExecutionResponse +) +@typing.final class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3645,14 +3867,7 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... reason: builtins.str - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized additional information to attach to the termination event""" identity: builtins.str """The identity of the worker/client""" first_execution_run_id: builtins.str @@ -3660,6 +3875,14 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id. """ + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized additional information to attach to the termination event""" + @property def links( self, @@ -3667,6 +3890,7 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionTerminated event.""" + def __init__( self, *, @@ -3682,13 +3906,13 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "workflow_execution", b"workflow_execution" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "details", b"details", "first_execution_run_id", @@ -3706,8 +3930,11 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___TerminateWorkflowExecutionRequest = TerminateWorkflowExecutionRequest +Global___TerminateWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + TerminateWorkflowExecutionRequest +) +@typing.final class TerminateWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3715,8 +3942,11 @@ class TerminateWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___TerminateWorkflowExecutionResponse = TerminateWorkflowExecutionResponse +Global___TerminateWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + TerminateWorkflowExecutionResponse +) +@typing.final class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3728,6 +3958,7 @@ class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Workflow Execution to delete. If run_id is not specified, the latest one is used.""" + def __init__( self, *, @@ -3736,20 +3967,20 @@ class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "workflow_execution", b"workflow_execution" ], ) -> None: ... -global___DeleteWorkflowExecutionRequest = DeleteWorkflowExecutionRequest +Global___DeleteWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + DeleteWorkflowExecutionRequest +) +@typing.final class DeleteWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3757,8 +3988,11 @@ class DeleteWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteWorkflowExecutionResponse = DeleteWorkflowExecutionResponse +Global___DeleteWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + DeleteWorkflowExecutionResponse +) +@typing.final class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3798,7 +4032,7 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution_filter", b"execution_filter", "filters", @@ -3811,7 +4045,7 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution_filter", b"execution_filter", "filters", @@ -3829,23 +4063,26 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["filters", b"filters"] - ) -> typing_extensions.Literal["execution_filter", "type_filter"] | None: ... + self, oneof_group: typing.Literal["filters", b"filters"] + ) -> typing.Literal["execution_filter", "type_filter"] | None: ... -global___ListOpenWorkflowExecutionsRequest = ListOpenWorkflowExecutionsRequest +Global___ListOpenWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( + ListOpenWorkflowExecutionsRequest +) +@typing.final class ListOpenWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... - next_page_token: builtins.bytes def __init__( self, *, @@ -3857,13 +4094,16 @@ class ListOpenWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListOpenWorkflowExecutionsResponse = ListOpenWorkflowExecutionsResponse +Global___ListOpenWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( + ListOpenWorkflowExecutionsResponse +) +@typing.final class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3907,7 +4147,7 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution_filter", b"execution_filter", "filters", @@ -3922,7 +4162,7 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution_filter", b"execution_filter", "filters", @@ -3942,26 +4182,26 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["filters", b"filters"] - ) -> ( - typing_extensions.Literal["execution_filter", "type_filter", "status_filter"] - | None - ): ... + self, oneof_group: typing.Literal["filters", b"filters"] + ) -> typing.Literal["execution_filter", "type_filter", "status_filter"] | None: ... -global___ListClosedWorkflowExecutionsRequest = ListClosedWorkflowExecutionsRequest +Global___ListClosedWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( + ListClosedWorkflowExecutionsRequest +) +@typing.final class ListClosedWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... - next_page_token: builtins.bytes def __init__( self, *, @@ -3973,13 +4213,16 @@ class ListClosedWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListClosedWorkflowExecutionsResponse = ListClosedWorkflowExecutionsResponse +Global___ListClosedWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( + ListClosedWorkflowExecutionsResponse +) +@typing.final class ListWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4001,7 +4244,7 @@ class ListWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -4013,20 +4256,23 @@ class ListWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListWorkflowExecutionsRequest = ListWorkflowExecutionsRequest +Global___ListWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( + ListWorkflowExecutionsRequest +) +@typing.final class ListWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... - next_page_token: builtins.bytes def __init__( self, *, @@ -4038,13 +4284,16 @@ class ListWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListWorkflowExecutionsResponse = ListWorkflowExecutionsResponse +Global___ListWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( + ListWorkflowExecutionsResponse +) +@typing.final class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4066,7 +4315,7 @@ class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -4078,20 +4327,23 @@ class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListArchivedWorkflowExecutionsRequest = ListArchivedWorkflowExecutionsRequest +Global___ListArchivedWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( + ListArchivedWorkflowExecutionsRequest +) +@typing.final class ListArchivedWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... - next_page_token: builtins.bytes def __init__( self, *, @@ -4103,13 +4355,16 @@ class ListArchivedWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListArchivedWorkflowExecutionsResponse = ListArchivedWorkflowExecutionsResponse +Global___ListArchivedWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( + ListArchivedWorkflowExecutionsResponse +) +@typing.final class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): """Deprecated: Use with `ListWorkflowExecutions`.""" @@ -4133,7 +4388,7 @@ class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -4145,8 +4400,11 @@ class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ScanWorkflowExecutionsRequest = ScanWorkflowExecutionsRequest +Global___ScanWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( + ScanWorkflowExecutionsRequest +) +@typing.final class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): """Deprecated: Use with `ListWorkflowExecutions`.""" @@ -4154,13 +4412,13 @@ class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... - next_page_token: builtins.bytes def __init__( self, *, @@ -4172,13 +4430,16 @@ class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ScanWorkflowExecutionsResponse = ScanWorkflowExecutionsResponse +Global___ScanWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( + ScanWorkflowExecutionsResponse +) +@typing.final class CountWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4193,29 +4454,30 @@ class CountWorkflowExecutionsRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "query", b"query" - ], + self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] ) -> None: ... -global___CountWorkflowExecutionsRequest = CountWorkflowExecutionsRequest +Global___CountWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( + CountWorkflowExecutionsRequest +) +@typing.final class CountWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int + count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... - count: builtins.int def __init__( self, *, @@ -4227,7 +4489,7 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -4245,27 +4507,30 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CountWorkflowExecutionsResponse.AggregationGroup + Global___CountWorkflowExecutionsResponse.AggregationGroup ]: """`groups` contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ + def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - global___CountWorkflowExecutionsResponse.AggregationGroup + Global___CountWorkflowExecutionsResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], + self, field_name: typing.Literal["count", b"count", "groups", b"groups"] ) -> None: ... -global___CountWorkflowExecutionsResponse = CountWorkflowExecutionsResponse +Global___CountWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( + CountWorkflowExecutionsResponse +) +@typing.final class GetSearchAttributesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4273,11 +4538,15 @@ class GetSearchAttributesRequest(google.protobuf.message.Message): self, ) -> None: ... -global___GetSearchAttributesRequest = GetSearchAttributesRequest +Global___GetSearchAttributesRequest: typing_extensions.TypeAlias = ( + GetSearchAttributesRequest +) +@typing.final class GetSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class KeysEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4292,8 +4561,7 @@ class GetSearchAttributesResponse(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... KEYS_FIELD_NUMBER: builtins.int @@ -4311,12 +4579,13 @@ class GetSearchAttributesResponse(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["keys", b"keys"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["keys", b"keys"]) -> None: ... -global___GetSearchAttributesResponse = GetSearchAttributesResponse +Global___GetSearchAttributesResponse: typing_extensions.TypeAlias = ( + GetSearchAttributesResponse +) +@typing.final class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4330,11 +4599,6 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): POLLER_GROUP_ID_FIELD_NUMBER: builtins.int task_token: builtins.bytes completed_type: temporalio.api.enums.v1.query_pb2.QueryResultType.ValueType - @property - def query_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """The result of the query. - Mutually exclusive with `error_message` and `failure`. Set when the query succeeds. - """ error_message: builtins.str """A plain error message that must be set if completed_type is QUERY_RESULT_TYPE_FAILED. SDKs should also fill in the more complete `failure` field to provide the full context and @@ -4345,13 +4609,6 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): Mutually exclusive with `query_result`. Set when the query fails. """ namespace: builtins.str - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """The full reason for this query failure. This field is newer than `error_message` and can be - encoded by the SDK's failure converter to support E2E encryption of messages and stack - traces. - Mutually exclusive with `query_result`. Set when the query fails. - """ cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType """Why did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses. See the type's doc for more. @@ -4360,6 +4617,20 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): """Client must forward the poller_group_id received in PollWorkflowTaskQueueResponse for proper routing of the response. """ + @property + def query_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """The result of the query. + Mutually exclusive with `error_message` and `failure`. Set when the query succeeds. + """ + + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """The full reason for this query failure. This field is newer than `error_message` and can be + encoded by the SDK's failure converter to support E2E encryption of messages and stack + traces. + Mutually exclusive with `query_result`. Set when the query fails. + """ + def __init__( self, *, @@ -4374,13 +4645,13 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "query_result", b"query_result" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cause", b"cause", "completed_type", @@ -4400,8 +4671,11 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondQueryTaskCompletedRequest = RespondQueryTaskCompletedRequest +Global___RespondQueryTaskCompletedRequest: typing_extensions.TypeAlias = ( + RespondQueryTaskCompletedRequest +) +@typing.final class RespondQueryTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4409,8 +4683,11 @@ class RespondQueryTaskCompletedResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondQueryTaskCompletedResponse = RespondQueryTaskCompletedResponse +Global___RespondQueryTaskCompletedResponse: typing_extensions.TypeAlias = ( + RespondQueryTaskCompletedResponse +) +@typing.final class ResetStickyTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4426,17 +4703,20 @@ class ResetStickyTaskQueueRequest(google.protobuf.message.Message): execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] + self, field_name: typing.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "namespace", b"namespace" ], ) -> None: ... -global___ResetStickyTaskQueueRequest = ResetStickyTaskQueueRequest +Global___ResetStickyTaskQueueRequest: typing_extensions.TypeAlias = ( + ResetStickyTaskQueueRequest +) +@typing.final class ResetStickyTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4444,8 +4724,11 @@ class ResetStickyTaskQueueResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ResetStickyTaskQueueResponse = ResetStickyTaskQueueResponse +Global___ResetStickyTaskQueueResponse: typing_extensions.TypeAlias = ( + ResetStickyTaskQueueResponse +) +@typing.final class ShutdownWorkerRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4465,10 +4748,6 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): """ identity: builtins.str reason: builtins.str - @property - def worker_heartbeat( - self, - ) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... worker_instance_key: builtins.str """Technically this is also sent in the WorkerHeartbeat, but since worker heartbeating can be turned off, this needs @@ -4480,6 +4759,10 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): can lead to tasks being lost. """ @property + def worker_heartbeat( + self, + ) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... + @property def task_queue_types( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ @@ -4488,6 +4771,7 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): """Task queue types that help server cancel outstanding poll RPC calls from SDK. This avoids a race condition that can lead to tasks being lost. """ + def __init__( self, *, @@ -4505,12 +4789,11 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], + self, field_name: typing.Literal["worker_heartbeat", b"worker_heartbeat"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -4530,8 +4813,9 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ShutdownWorkerRequest = ShutdownWorkerRequest +Global___ShutdownWorkerRequest: typing_extensions.TypeAlias = ShutdownWorkerRequest +@typing.final class ShutdownWorkerResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4539,8 +4823,9 @@ class ShutdownWorkerResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ShutdownWorkerResponse = ShutdownWorkerResponse +Global___ShutdownWorkerResponse: typing_extensions.TypeAlias = ShutdownWorkerResponse +@typing.final class QueryWorkflowRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4549,16 +4834,16 @@ class QueryWorkflowRequest(google.protobuf.message.Message): QUERY_FIELD_NUMBER: builtins.int QUERY_REJECT_CONDITION_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: ... query_reject_condition: ( temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType ) """QueryRejectCondition can used to reject the query if workflow state does not satisfy condition. Default: QUERY_REJECT_CONDITION_NONE. """ + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: ... def __init__( self, *, @@ -4568,14 +4853,11 @@ class QueryWorkflowRequest(google.protobuf.message.Message): query_reject_condition: temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "execution", b"execution", "query", b"query" - ], + self, field_name: typing.Literal["execution", b"execution", "query", b"query"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "namespace", @@ -4587,8 +4869,9 @@ class QueryWorkflowRequest(google.protobuf.message.Message): ], ) -> None: ... -global___QueryWorkflowRequest = QueryWorkflowRequest +Global___QueryWorkflowRequest: typing_extensions.TypeAlias = QueryWorkflowRequest +@typing.final class QueryWorkflowResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4606,19 +4889,20 @@ class QueryWorkflowResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "query_rejected", b"query_rejected", "query_result", b"query_result" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "query_rejected", b"query_rejected", "query_result", b"query_result" ], ) -> None: ... -global___QueryWorkflowResponse = QueryWorkflowResponse +Global___QueryWorkflowResponse: typing_extensions.TypeAlias = QueryWorkflowResponse +@typing.final class DescribeWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4634,17 +4918,20 @@ class DescribeWorkflowExecutionRequest(google.protobuf.message.Message): execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["execution", b"execution"] + self, field_name: typing.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "namespace", b"namespace" ], ) -> None: ... -global___DescribeWorkflowExecutionRequest = DescribeWorkflowExecutionRequest +Global___DescribeWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + DescribeWorkflowExecutionRequest +) +@typing.final class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4726,7 +5013,7 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution_config", b"execution_config", "pending_workflow_task", @@ -4739,7 +5026,7 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "callbacks", b"callbacks", "execution_config", @@ -4759,8 +5046,11 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeWorkflowExecutionResponse = DescribeWorkflowExecutionResponse +Global___DescribeWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + DescribeWorkflowExecutionResponse +) +@typing.final class DescribeTaskQueueRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) @@ -4780,9 +5070,6 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): REPORT_POLLERS_FIELD_NUMBER: builtins.int REPORT_TASK_REACHABILITY_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: - """Sticky queues are not supported in deprecated ENHANCED mode.""" task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType """If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used. Only supported in default mode (use `task_queue_types` in ENHANCED mode instead). @@ -4800,6 +5087,19 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): Select the API mode to use for this request: DEFAULT mode (if unset) or ENHANCED mode. Consult the documentation for each field to understand which mode it is supported in. """ + report_pollers: builtins.bool + """Deprecated (as part of the ENHANCED mode deprecation). + Report list of pollers for requested task queue types and versions. + """ + report_task_reachability: builtins.bool + """Deprecated (as part of the ENHANCED mode deprecation). + Report task reachability for the requested versions and all task types (task reachability is not reported + per task type). + """ + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: + """Sticky queues are not supported in deprecated ENHANCED mode.""" + @property def versions( self, @@ -4810,6 +5110,7 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): unversioned queue will be returned. (-- api-linter: core::0140::prepositions --) """ + @property def task_queue_types( self, @@ -4819,15 +5120,7 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): """Deprecated (as part of the ENHANCED mode deprecation). Task queue types to report info about. If not specified, all types are considered. """ - report_pollers: builtins.bool - """Deprecated (as part of the ENHANCED mode deprecation). - Report list of pollers for requested task queue types and versions. - """ - report_task_reachability: builtins.bool - """Deprecated (as part of the ENHANCED mode deprecation). - Report task reachability for the requested versions and all task types (task reachability is not reported - per task type). - """ + def __init__( self, *, @@ -4849,13 +5142,13 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "task_queue", b"task_queue", "versions", b"versions" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "api_mode", b"api_mode", "include_task_queue_status", @@ -4881,11 +5174,15 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeTaskQueueRequest = DescribeTaskQueueRequest +Global___DescribeTaskQueueRequest: typing_extensions.TypeAlias = ( + DescribeTaskQueueRequest +) +@typing.final class DescribeTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class StatsByPriorityKeyEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4901,13 +5198,13 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class EffectiveRateLimit(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4931,7 +5228,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "rate_limit_source", b"rate_limit_source", "requests_per_second", @@ -4939,6 +5236,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class VersionsInfoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4957,11 +5255,10 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... POLLERS_FIELD_NUMBER: builtins.int @@ -4983,6 +5280,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): """Statistics for the task queue. Only set if `report_stats` is set on the request. """ + @property def stats_by_priority_key( self, @@ -4994,6 +5292,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the keys and values. --) """ + @property def versioning_info( self, @@ -5008,13 +5307,15 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): are typically not Pinned until they complete their first task (unless they are started with a Pinned VersioningOverride or are Child Workflows of a Pinned parent). """ + @property def config(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig: """Only populated if report_task_queue_config is set to true.""" + @property def effective_rate_limit( self, - ) -> global___DescribeTaskQueueResponse.EffectiveRateLimit: ... + ) -> Global___DescribeTaskQueueResponse.EffectiveRateLimit: ... @property def task_queue_status( self, @@ -5022,6 +5323,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): """Deprecated. Status of the task queue. Only populated when `include_task_queue_status` is set to true in the request. """ + @property def versions_info( self, @@ -5032,6 +5334,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): Only returned in ENHANCED mode. This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. """ + def __init__( self, *, @@ -5047,7 +5350,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): versioning_info: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo | None = ..., config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., - effective_rate_limit: global___DescribeTaskQueueResponse.EffectiveRateLimit + effective_rate_limit: Global___DescribeTaskQueueResponse.EffectiveRateLimit | None = ..., task_queue_status: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus | None = ..., @@ -5058,7 +5361,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "effective_rate_limit", @@ -5073,7 +5376,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "config", b"config", "effective_rate_limit", @@ -5093,8 +5396,11 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeTaskQueueResponse = DescribeTaskQueueResponse +Global___DescribeTaskQueueResponse: typing_extensions.TypeAlias = ( + DescribeTaskQueueResponse +) +@typing.final class GetClusterInfoRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5102,13 +5408,15 @@ class GetClusterInfoRequest(google.protobuf.message.Message): self, ) -> None: ... -global___GetClusterInfoRequest = GetClusterInfoRequest +Global___GetClusterInfoRequest: typing_extensions.TypeAlias = GetClusterInfoRequest +@typing.final class GetClusterInfoResponse(google.protobuf.message.Message): """GetClusterInfoResponse contains information about Temporal cluster.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class SupportedClientsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5123,8 +5431,7 @@ class GetClusterInfoResponse(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SUPPORTED_CLIENTS_FIELD_NUMBER: builtins.int @@ -5137,6 +5444,14 @@ class GetClusterInfoResponse(google.protobuf.message.Message): VISIBILITY_STORE_FIELD_NUMBER: builtins.int INITIAL_FAILOVER_VERSION_FIELD_NUMBER: builtins.int FAILOVER_VERSION_INCREMENT_FIELD_NUMBER: builtins.int + server_version: builtins.str + cluster_id: builtins.str + cluster_name: builtins.str + history_shard_count: builtins.int + persistence_store: builtins.str + visibility_store: builtins.str + initial_failover_version: builtins.int + failover_version_increment: builtins.int @property def supported_clients( self, @@ -5144,16 +5459,9 @@ class GetClusterInfoResponse(google.protobuf.message.Message): """Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0". """ - server_version: builtins.str - cluster_id: builtins.str + @property def version_info(self) -> temporalio.api.version.v1.message_pb2.VersionInfo: ... - cluster_name: builtins.str - history_shard_count: builtins.int - persistence_store: builtins.str - visibility_store: builtins.str - initial_failover_version: builtins.int - failover_version_increment: builtins.int def __init__( self, *, @@ -5170,11 +5478,11 @@ class GetClusterInfoResponse(google.protobuf.message.Message): failover_version_increment: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["version_info", b"version_info"] + self, field_name: typing.Literal["version_info", b"version_info"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cluster_id", b"cluster_id", "cluster_name", @@ -5198,8 +5506,9 @@ class GetClusterInfoResponse(google.protobuf.message.Message): ], ) -> None: ... -global___GetClusterInfoResponse = GetClusterInfoResponse +Global___GetClusterInfoResponse: typing_extensions.TypeAlias = GetClusterInfoResponse +@typing.final class GetSystemInfoRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5207,11 +5516,13 @@ class GetSystemInfoRequest(google.protobuf.message.Message): self, ) -> None: ... -global___GetSystemInfoRequest = GetSystemInfoRequest +Global___GetSystemInfoRequest: typing_extensions.TypeAlias = GetSystemInfoRequest +@typing.final class GetSystemInfoResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Capabilities(google.protobuf.message.Message): """System capability details.""" @@ -5288,7 +5599,7 @@ class GetSystemInfoResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_failure_include_heartbeat", b"activity_failure_include_heartbeat", "build_id_based_versioning", @@ -5321,26 +5632,28 @@ class GetSystemInfoResponse(google.protobuf.message.Message): server_version: builtins.str """Version of the server.""" @property - def capabilities(self) -> global___GetSystemInfoResponse.Capabilities: + def capabilities(self) -> Global___GetSystemInfoResponse.Capabilities: """All capabilities the system supports.""" + def __init__( self, *, server_version: builtins.str = ..., - capabilities: global___GetSystemInfoResponse.Capabilities | None = ..., + capabilities: Global___GetSystemInfoResponse.Capabilities | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["capabilities", b"capabilities"] + self, field_name: typing.Literal["capabilities", b"capabilities"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "capabilities", b"capabilities", "server_version", b"server_version" ], ) -> None: ... -global___GetSystemInfoResponse = GetSystemInfoResponse +Global___GetSystemInfoResponse: typing_extensions.TypeAlias = GetSystemInfoResponse +@typing.final class ListTaskQueuePartitionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5356,17 +5669,20 @@ class ListTaskQueuePartitionsRequest(google.protobuf.message.Message): task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["task_queue", b"task_queue"] + self, field_name: typing.Literal["task_queue", b"task_queue"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "task_queue", b"task_queue" ], ) -> None: ... -global___ListTaskQueuePartitionsRequest = ListTaskQueuePartitionsRequest +Global___ListTaskQueuePartitionsRequest: typing_extensions.TypeAlias = ( + ListTaskQueuePartitionsRequest +) +@typing.final class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5398,7 +5714,7 @@ class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_task_queue_partitions", b"activity_task_queue_partitions", "workflow_task_queue_partitions", @@ -5406,8 +5722,11 @@ class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): ], ) -> None: ... -global___ListTaskQueuePartitionsResponse = ListTaskQueuePartitionsResponse +Global___ListTaskQueuePartitionsResponse: typing_extensions.TypeAlias = ( + ListTaskQueuePartitionsResponse +) +@typing.final class CreateScheduleRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) @@ -5427,19 +5746,22 @@ class CreateScheduleRequest(google.protobuf.message.Message): """The namespace the schedule should be created in.""" schedule_id: builtins.str """The id of the new schedule.""" + identity: builtins.str + """The identity of the client who initiated this request.""" + request_id: builtins.str + """A unique identifier for this create request for idempotence. Typically UUIDv4.""" @property def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: """The schedule spec, policies, action, and initial state.""" + @property def initial_patch(self) -> temporalio.api.schedule.v1.message_pb2.SchedulePatch: """Optional initial patch (e.g. to run the action once immediately).""" - identity: builtins.str - """The identity of the client who initiated this request.""" - request_id: builtins.str - """A unique identifier for this create request for idempotence. Typically UUIDv4.""" + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Memo and search attributes to attach to the schedule itself.""" + @property def search_attributes( self, @@ -5460,7 +5782,7 @@ class CreateScheduleRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "initial_patch", b"initial_patch", "memo", @@ -5473,7 +5795,7 @@ class CreateScheduleRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "initial_patch", @@ -5493,8 +5815,9 @@ class CreateScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___CreateScheduleRequest = CreateScheduleRequest +Global___CreateScheduleRequest: typing_extensions.TypeAlias = CreateScheduleRequest +@typing.final class CreateScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5506,11 +5829,12 @@ class CreateScheduleResponse(google.protobuf.message.Message): conflict_token: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"] + self, field_name: typing.Literal["conflict_token", b"conflict_token"] ) -> None: ... -global___CreateScheduleResponse = CreateScheduleResponse +Global___CreateScheduleResponse: typing_extensions.TypeAlias = CreateScheduleResponse +@typing.final class DescribeScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5528,13 +5852,14 @@ class DescribeScheduleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "schedule_id", b"schedule_id" ], ) -> None: ... -global___DescribeScheduleRequest = DescribeScheduleRequest +Global___DescribeScheduleRequest: typing_extensions.TypeAlias = DescribeScheduleRequest +@typing.final class DescribeScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5543,6 +5868,11 @@ class DescribeScheduleResponse(google.protobuf.message.Message): MEMO_FIELD_NUMBER: builtins.int SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int + conflict_token: builtins.bytes + """This value can be passed back to UpdateSchedule to ensure that the + schedule was not modified between a Describe and an Update, which could + lead to lost updates and other confusion. + """ @property def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: """The complete current schedule details. This may not match the schedule as @@ -5553,21 +5883,19 @@ class DescribeScheduleResponse(google.protobuf.message.Message): - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule """ + @property def info(self) -> temporalio.api.schedule.v1.message_pb2.ScheduleInfo: """Extra schedule state info.""" + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """The memo and search attributes that the schedule was created with.""" + @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... - conflict_token: builtins.bytes - """This value can be passed back to UpdateSchedule to ensure that the - schedule was not modified between a Describe and an Update, which could - lead to lost updates and other confusion. - """ def __init__( self, *, @@ -5580,7 +5908,7 @@ class DescribeScheduleResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "info", b"info", "memo", @@ -5593,7 +5921,7 @@ class DescribeScheduleResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "conflict_token", b"conflict_token", "info", @@ -5607,8 +5935,11 @@ class DescribeScheduleResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeScheduleResponse = DescribeScheduleResponse +Global___DescribeScheduleResponse: typing_extensions.TypeAlias = ( + DescribeScheduleResponse +) +@typing.final class UpdateScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5624,11 +5955,6 @@ class UpdateScheduleRequest(google.protobuf.message.Message): """The namespace of the schedule to update.""" schedule_id: builtins.str """The id of the schedule to update.""" - @property - def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: - """The new schedule. The four main fields of the schedule (spec, action, - policies, state) are replaced completely by the values in this message. - """ conflict_token: builtins.bytes """This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified @@ -5639,6 +5965,12 @@ class UpdateScheduleRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" request_id: builtins.str """A unique identifier for this update request for idempotence. Typically UUIDv4.""" + @property + def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: + """The new schedule. The four main fields of the schedule (spec, action, + policies, state) are replaced completely by the values in this message. + """ + @property def search_attributes( self, @@ -5649,12 +5981,14 @@ class UpdateScheduleRequest(google.protobuf.message.Message): Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule. """ + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo. """ + def __init__( self, *, @@ -5670,7 +6004,7 @@ class UpdateScheduleRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "memo", b"memo", "schedule", @@ -5681,7 +6015,7 @@ class UpdateScheduleRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "conflict_token", b"conflict_token", "identity", @@ -5701,8 +6035,9 @@ class UpdateScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateScheduleRequest = UpdateScheduleRequest +Global___UpdateScheduleRequest: typing_extensions.TypeAlias = UpdateScheduleRequest +@typing.final class UpdateScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5710,8 +6045,9 @@ class UpdateScheduleResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UpdateScheduleResponse = UpdateScheduleResponse +Global___UpdateScheduleResponse: typing_extensions.TypeAlias = UpdateScheduleResponse +@typing.final class PatchScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5724,12 +6060,12 @@ class PatchScheduleRequest(google.protobuf.message.Message): """The namespace of the schedule to patch.""" schedule_id: builtins.str """The id of the schedule to patch.""" - @property - def patch(self) -> temporalio.api.schedule.v1.message_pb2.SchedulePatch: ... identity: builtins.str """The identity of the client who initiated this request.""" request_id: builtins.str """A unique identifier for this update request for idempotence. Typically UUIDv4.""" + @property + def patch(self) -> temporalio.api.schedule.v1.message_pb2.SchedulePatch: ... def __init__( self, *, @@ -5740,11 +6076,11 @@ class PatchScheduleRequest(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["patch", b"patch"] + self, field_name: typing.Literal["patch", b"patch"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -5758,8 +6094,9 @@ class PatchScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PatchScheduleRequest = PatchScheduleRequest +Global___PatchScheduleRequest: typing_extensions.TypeAlias = PatchScheduleRequest +@typing.final class PatchScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5767,8 +6104,9 @@ class PatchScheduleResponse(google.protobuf.message.Message): self, ) -> None: ... -global___PatchScheduleResponse = PatchScheduleResponse +Global___PatchScheduleResponse: typing_extensions.TypeAlias = PatchScheduleResponse +@typing.final class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5783,6 +6121,7 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time range to query.""" + @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( @@ -5795,13 +6134,13 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end_time", b"end_time", "namespace", @@ -5813,8 +6152,11 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListScheduleMatchingTimesRequest = ListScheduleMatchingTimesRequest +Global___ListScheduleMatchingTimesRequest: typing_extensions.TypeAlias = ( + ListScheduleMatchingTimesRequest +) +@typing.final class ListScheduleMatchingTimesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5832,11 +6174,14 @@ class ListScheduleMatchingTimesResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["start_time", b"start_time"] + self, field_name: typing.Literal["start_time", b"start_time"] ) -> None: ... -global___ListScheduleMatchingTimesResponse = ListScheduleMatchingTimesResponse +Global___ListScheduleMatchingTimesResponse: typing_extensions.TypeAlias = ( + ListScheduleMatchingTimesResponse +) +@typing.final class DeleteScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5858,7 +6203,7 @@ class DeleteScheduleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -5868,8 +6213,9 @@ class DeleteScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteScheduleRequest = DeleteScheduleRequest +Global___DeleteScheduleRequest: typing_extensions.TypeAlias = DeleteScheduleRequest +@typing.final class DeleteScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5877,8 +6223,9 @@ class DeleteScheduleResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteScheduleResponse = DeleteScheduleResponse +Global___DeleteScheduleResponse: typing_extensions.TypeAlias = DeleteScheduleResponse +@typing.final class ListSchedulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5904,7 +6251,7 @@ class ListSchedulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "maximum_page_size", b"maximum_page_size", "namespace", @@ -5916,20 +6263,21 @@ class ListSchedulesRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListSchedulesRequest = ListSchedulesRequest +Global___ListSchedulesRequest: typing_extensions.TypeAlias = ListSchedulesRequest +@typing.final class ListSchedulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SCHEDULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def schedules( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.schedule.v1.message_pb2.ScheduleListEntry ]: ... - next_page_token: builtins.bytes def __init__( self, *, @@ -5941,13 +6289,14 @@ class ListSchedulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "schedules", b"schedules" ], ) -> None: ... -global___ListSchedulesResponse = ListSchedulesResponse +Global___ListSchedulesResponse: typing_extensions.TypeAlias = ListSchedulesResponse +@typing.final class CountSchedulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5963,29 +6312,28 @@ class CountSchedulesRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "query", b"query" - ], + self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] ) -> None: ... -global___CountSchedulesRequest = CountSchedulesRequest +Global___CountSchedulesRequest: typing_extensions.TypeAlias = CountSchedulesRequest +@typing.final class CountSchedulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int + count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... - count: builtins.int def __init__( self, *, @@ -5997,7 +6345,7 @@ class CountSchedulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -6015,32 +6363,34 @@ class CountSchedulesResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CountSchedulesResponse.AggregationGroup + Global___CountSchedulesResponse.AggregationGroup ]: """Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ + def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - global___CountSchedulesResponse.AggregationGroup + Global___CountSchedulesResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], + self, field_name: typing.Literal["count", b"count", "groups", b"groups"] ) -> None: ... -global___CountSchedulesResponse = CountSchedulesResponse +Global___CountSchedulesResponse: typing_extensions.TypeAlias = CountSchedulesResponse +@typing.final class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class AddNewCompatibleVersion(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6068,7 +6418,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "existing_compatible_build_id", b"existing_compatible_build_id", "make_set_default", @@ -6078,6 +6428,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ], ) -> None: ... + @typing.final class MergeSets(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6095,7 +6446,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "primary_set_build_id", b"primary_set_build_id", "secondary_set_build_id", @@ -6124,11 +6475,6 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: In makes perfect sense here. --) """ - @property - def add_new_compatible_build_id( - self, - ) -> global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: - """Adds a new id to an existing compatible set, see sub-message definition for more.""" promote_set_by_build_id: builtins.str """Promote an existing set to be the current default (if it isn't already) by targeting an existing build id within it. This field's value is the extant build id. @@ -6143,29 +6489,36 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): aip.dev/not-precedent: Within makes perfect sense here. --) """ @property - def merge_sets(self) -> global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets: + def add_new_compatible_build_id( + self, + ) -> Global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: + """Adds a new id to an existing compatible set, see sub-message definition for more.""" + + @property + def merge_sets(self) -> Global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets: """Merge two existing sets together, thus declaring all build IDs in both sets compatible with one another. The primary set's default will become the default for the merged set. This is useful if you've accidentally declared a new ID as incompatible you meant to declare as compatible. The unusual case of incomplete replication during failover could also result in a split set, which this operation can repair. """ + def __init__( self, *, namespace: builtins.str = ..., task_queue: builtins.str = ..., add_new_build_id_in_new_default_set: builtins.str = ..., - add_new_compatible_build_id: global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion + add_new_compatible_build_id: Global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion | None = ..., promote_set_by_build_id: builtins.str = ..., promote_build_id_within_set: builtins.str = ..., - merge_sets: global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets + merge_sets: Global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", @@ -6182,7 +6535,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", @@ -6202,9 +6555,9 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] + self, oneof_group: typing.Literal["operation", b"operation"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "add_new_build_id_in_new_default_set", "add_new_compatible_build_id", "promote_set_by_build_id", @@ -6214,10 +6567,11 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): | None ): ... -global___UpdateWorkerBuildIdCompatibilityRequest = ( +Global___UpdateWorkerBuildIdCompatibilityRequest: typing_extensions.TypeAlias = ( UpdateWorkerBuildIdCompatibilityRequest ) +@typing.final class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6227,10 +6581,11 @@ class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UpdateWorkerBuildIdCompatibilityResponse = ( +Global___UpdateWorkerBuildIdCompatibilityResponse: typing_extensions.TypeAlias = ( UpdateWorkerBuildIdCompatibilityResponse ) +@typing.final class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6255,7 +6610,7 @@ class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "max_sets", b"max_sets", "namespace", @@ -6265,8 +6620,11 @@ class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetWorkerBuildIdCompatibilityRequest = GetWorkerBuildIdCompatibilityRequest +Global___GetWorkerBuildIdCompatibilityRequest: typing_extensions.TypeAlias = ( + GetWorkerBuildIdCompatibilityRequest +) +@typing.final class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6285,6 +6643,7 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): There may be fewer sets returned than exist, if the request chose to limit this response. """ + def __init__( self, *, @@ -6294,14 +6653,14 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "major_version_sets", b"major_version_sets" - ], + self, field_name: typing.Literal["major_version_sets", b"major_version_sets"] ) -> None: ... -global___GetWorkerBuildIdCompatibilityResponse = GetWorkerBuildIdCompatibilityResponse +Global___GetWorkerBuildIdCompatibilityResponse: typing_extensions.TypeAlias = ( + GetWorkerBuildIdCompatibilityResponse +) +@typing.final class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): """(-- api-linter: core::0134::request-mask-required=disabled aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --) @@ -6312,6 +6671,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class InsertBuildIdAssignmentRule(google.protobuf.message.Message): """Inserts the rule to the list of assignment rules for this Task Queue. The rules are evaluated in order, starting from index 0. The first @@ -6340,15 +6700,14 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + self, field_name: typing.Literal["rule", b"rule"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "rule", b"rule", "rule_index", b"rule_index" - ], + field_name: typing.Literal["rule", b"rule", "rule_index", b"rule_index"], ) -> None: ... + @typing.final class ReplaceBuildIdAssignmentRule(google.protobuf.message.Message): """Replaces the assignment rule at a given index.""" @@ -6358,10 +6717,6 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): RULE_FIELD_NUMBER: builtins.int FORCE_FIELD_NUMBER: builtins.int rule_index: builtins.int - @property - def rule( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... force: builtins.bool """By default presence of one unconditional rule is enforced, otherwise the replace operation will be rejected. Set `force` to true to @@ -6369,6 +6724,10 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): - Has no hint filter - Has no ramp """ + @property + def rule( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... def __init__( self, *, @@ -6378,15 +6737,16 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): force: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + self, field_name: typing.Literal["rule", b"rule"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "force", b"force", "rule", b"rule", "rule_index", b"rule_index" ], ) -> None: ... + @typing.final class DeleteBuildIdAssignmentRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6408,11 +6768,10 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "force", b"force", "rule_index", b"rule_index" - ], + field_name: typing.Literal["force", b"force", "rule_index", b"rule_index"], ) -> None: ... + @typing.final class AddCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Adds the rule to the list of redirect rules for this Task Queue. There can be at most one redirect rule for each distinct Source Build ID. @@ -6432,12 +6791,11 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + self, field_name: typing.Literal["rule", b"rule"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["rule", b"rule"]) -> None: ... + @typing.final class ReplaceCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Replaces the routing rule with the given source Build ID.""" @@ -6455,12 +6813,11 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + self, field_name: typing.Literal["rule", b"rule"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["rule", b"rule"]) -> None: ... + @typing.final class DeleteCompatibleBuildIdRedirectRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6472,12 +6829,10 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): source_build_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "source_build_id", b"source_build_id" - ], + self, field_name: typing.Literal["source_build_id", b"source_build_id"] ) -> None: ... + @typing.final class CommitBuildId(google.protobuf.message.Message): """This command is intended to be used to complete the rollout of a Build ID and cleanup unnecessary rules possibly created during a gradual @@ -6508,7 +6863,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "force", b"force", "target_build_id", b"target_build_id" ], ) -> None: ... @@ -6535,61 +6890,61 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): @property def insert_assignment_rule( self, - ) -> global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... + ) -> Global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... @property def replace_assignment_rule( self, - ) -> global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... + ) -> Global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... @property def delete_assignment_rule( self, - ) -> global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... + ) -> Global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... @property def add_compatible_redirect_rule( self, ) -> ( - global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule + Global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule ): ... @property def replace_compatible_redirect_rule( self, ) -> ( - global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule + Global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule ): ... @property def delete_compatible_redirect_rule( self, ) -> ( - global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule + Global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule ): ... @property def commit_build_id( self, - ) -> global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... + ) -> Global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... def __init__( self, *, namespace: builtins.str = ..., task_queue: builtins.str = ..., conflict_token: builtins.bytes = ..., - insert_assignment_rule: global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule + insert_assignment_rule: Global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule | None = ..., - replace_assignment_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule + replace_assignment_rule: Global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule | None = ..., - delete_assignment_rule: global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule + delete_assignment_rule: Global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule | None = ..., - add_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule + add_compatible_redirect_rule: Global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule | None = ..., - replace_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule + replace_compatible_redirect_rule: Global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule | None = ..., - delete_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule + delete_compatible_redirect_rule: Global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule | None = ..., - commit_build_id: global___UpdateWorkerVersioningRulesRequest.CommitBuildId + commit_build_id: Global___UpdateWorkerVersioningRulesRequest.CommitBuildId | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", @@ -6610,7 +6965,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", @@ -6636,9 +6991,9 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] + self, oneof_group: typing.Literal["operation", b"operation"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "insert_assignment_rule", "replace_assignment_rule", "delete_assignment_rule", @@ -6650,8 +7005,11 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None ): ... -global___UpdateWorkerVersioningRulesRequest = UpdateWorkerVersioningRulesRequest +Global___UpdateWorkerVersioningRulesRequest: typing_extensions.TypeAlias = ( + UpdateWorkerVersioningRulesRequest +) +@typing.final class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6660,6 +7018,11 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ASSIGNMENT_RULES_FIELD_NUMBER: builtins.int COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int + conflict_token: builtins.bytes + """This value can be passed back to UpdateWorkerVersioningRulesRequest to + ensure that the rules were not modified between the two updates, which + could lead to lost updates and other confusion. + """ @property def assignment_rules( self, @@ -6672,11 +7035,6 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule ]: ... - conflict_token: builtins.bytes - """This value can be passed back to UpdateWorkerVersioningRulesRequest to - ensure that the rules were not modified between the two updates, which - could lead to lost updates and other confusion. - """ def __init__( self, *, @@ -6692,7 +7050,7 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "assignment_rules", b"assignment_rules", "compatible_redirect_rules", @@ -6702,8 +7060,11 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateWorkerVersioningRulesResponse = UpdateWorkerVersioningRulesResponse +Global___UpdateWorkerVersioningRulesResponse: typing_extensions.TypeAlias = ( + UpdateWorkerVersioningRulesResponse +) +@typing.final class GetWorkerVersioningRulesRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6721,13 +7082,16 @@ class GetWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "task_queue", b"task_queue" ], ) -> None: ... -global___GetWorkerVersioningRulesRequest = GetWorkerVersioningRulesRequest +Global___GetWorkerVersioningRulesRequest: typing_extensions.TypeAlias = ( + GetWorkerVersioningRulesRequest +) +@typing.final class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6736,6 +7100,11 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ASSIGNMENT_RULES_FIELD_NUMBER: builtins.int COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int + conflict_token: builtins.bytes + """This value can be passed back to UpdateWorkerVersioningRulesRequest to + ensure that the rules were not modified between this List and the Update, + which could lead to lost updates and other confusion. + """ @property def assignment_rules( self, @@ -6748,11 +7117,6 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule ]: ... - conflict_token: builtins.bytes - """This value can be passed back to UpdateWorkerVersioningRulesRequest to - ensure that the rules were not modified between this List and the Update, - which could lead to lost updates and other confusion. - """ def __init__( self, *, @@ -6768,7 +7132,7 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "assignment_rules", b"assignment_rules", "compatible_redirect_rules", @@ -6778,8 +7142,11 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ], ) -> None: ... -global___GetWorkerVersioningRulesResponse = GetWorkerVersioningRulesResponse +Global___GetWorkerVersioningRulesResponse: typing_extensions.TypeAlias = ( + GetWorkerVersioningRulesResponse +) +@typing.final class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Deprecated. Use `DescribeTaskQueue`. @@ -6792,6 +7159,14 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): TASK_QUEUES_FIELD_NUMBER: builtins.int REACHABILITY_FIELD_NUMBER: builtins.int namespace: builtins.str + reachability: temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType + """Type of reachability to query for. + `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. + Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. + Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left + unspecified. + See the TaskReachability docstring for information about each enum variant. + """ @property def build_ids( self, @@ -6801,6 +7176,7 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store. """ + @property def task_queues( self, @@ -6811,14 +7187,7 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information. """ - reachability: temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType - """Type of reachability to query for. - `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. - Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. - Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left - unspecified. - See the TaskReachability docstring for information about each enum variant. - """ + def __init__( self, *, @@ -6829,7 +7198,7 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_ids", b"build_ids", "namespace", @@ -6841,8 +7210,11 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): ], ) -> None: ... -global___GetWorkerTaskReachabilityRequest = GetWorkerTaskReachabilityRequest +Global___GetWorkerTaskReachabilityRequest: typing_extensions.TypeAlias = ( + GetWorkerTaskReachabilityRequest +) +@typing.final class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Deprecated. Use `DescribeTaskQueue`. @@ -6867,6 +7239,7 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. """ + def __init__( self, *, @@ -6877,13 +7250,14 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "build_id_reachability", b"build_id_reachability" - ], + field_name: typing.Literal["build_id_reachability", b"build_id_reachability"], ) -> None: ... -global___GetWorkerTaskReachabilityResponse = GetWorkerTaskReachabilityResponse +Global___GetWorkerTaskReachabilityResponse: typing_extensions.TypeAlias = ( + GetWorkerTaskReachabilityResponse +) +@typing.final class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): """(-- api-linter: core::0134=disabled aip.dev/not-precedent: Update RPCs don't follow Google API format. --) @@ -6898,6 +7272,11 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): REQUEST_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace name of the target Workflow.""" + first_execution_run_id: builtins.str + """If set, this call will error if the most recent (if no Run Id is set on + `workflow_execution`), or specified (if it is) Workflow Execution is not + part of the same execution chain as this Id. + """ @property def workflow_execution( self, @@ -6906,11 +7285,7 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) """ - first_execution_run_id: builtins.str - """If set, this call will error if the most recent (if no Run Id is set on - `workflow_execution`), or specified (if it is) Workflow Execution is not - part of the same execution chain as this Id. - """ + @property def wait_policy(self) -> temporalio.api.update.v1.message_pb2.WaitPolicy: """Specifies client's intent to wait for Update results. @@ -6919,11 +7294,13 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response. """ + @property def request(self) -> temporalio.api.update.v1.message_pb2.Request: """The request information that will be delivered all the way down to the Workflow Execution. """ + def __init__( self, *, @@ -6936,7 +7313,7 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "request", b"request", "wait_policy", @@ -6947,7 +7324,7 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "first_execution_run_id", b"first_execution_run_id", "namespace", @@ -6961,8 +7338,11 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateWorkflowExecutionRequest = UpdateWorkflowExecutionRequest +Global___UpdateWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + UpdateWorkflowExecutionRequest +) +@typing.final class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6970,15 +7350,6 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): OUTCOME_FIELD_NUMBER: builtins.int STAGE_FIELD_NUMBER: builtins.int LINK_FIELD_NUMBER: builtins.int - @property - def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: - """Enough information for subsequent poll calls if needed. Never null.""" - @property - def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: - """The outcome of the Update if and only if the Workflow Update - has completed. If this response is being returned before the Update has - completed then this field will not be set. - """ stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType """The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered @@ -6991,9 +7362,21 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed. """ + @property + def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: + """Enough information for subsequent poll calls if needed. Never null.""" + + @property + def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: + """The outcome of the Update if and only if the Workflow Update + has completed. If this response is being returned before the Update has + completed then this field will not be set. + """ + @property def link(self) -> temporalio.api.common.v1.message_pb2.Link: """Link to the update event. May be null if the update has not yet been accepted.""" + def __init__( self, *, @@ -7004,13 +7387,13 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "link", b"link", "outcome", b"outcome", "update_ref", b"update_ref" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "link", b"link", "outcome", @@ -7022,8 +7405,11 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateWorkflowExecutionResponse = UpdateWorkflowExecutionResponse +Global___UpdateWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + UpdateWorkflowExecutionResponse +) +@typing.final class StartBatchOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7052,6 +7438,14 @@ class StartBatchOperationRequest(google.protobuf.message.Message): """Job ID defines the unique ID for the batch job""" reason: builtins.str """Reason to perform the batch operation""" + max_operations_per_second: builtins.float + """Limit for the number of operations processed per second within this batch. + Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system + overload and minimize potential delays in executing ongoing tasks for user workers. + Note that when no explicit limit is provided, the server will operate according to its limit defined by the + dynamic configuration key `worker.batcherRPS`. This also applies if the value in this field exceeds the + server's configured limit. + """ @property def executions( self, @@ -7061,14 +7455,7 @@ class StartBatchOperationRequest(google.protobuf.message.Message): """Executions to apply the batch operation This field and `visibility_query` are mutually exclusive """ - max_operations_per_second: builtins.float - """Limit for the number of operations processed per second within this batch. - Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system - overload and minimize potential delays in executing ongoing tasks for user workers. - Note that when no explicit limit is provided, the server will operate according to its limit defined by the - dynamic configuration key `worker.batcherRPS`. This also applies if the value in this field exceeds the - server's configured limit. - """ + @property def termination_operation( self, @@ -7140,7 +7527,7 @@ class StartBatchOperationRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancellation_operation", b"cancellation_operation", "deletion_operation", @@ -7165,7 +7552,7 @@ class StartBatchOperationRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancellation_operation", b"cancellation_operation", "deletion_operation", @@ -7201,9 +7588,9 @@ class StartBatchOperationRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] + self, oneof_group: typing.Literal["operation", b"operation"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "termination_operation", "signal_operation", "cancellation_operation", @@ -7217,8 +7604,11 @@ class StartBatchOperationRequest(google.protobuf.message.Message): | None ): ... -global___StartBatchOperationRequest = StartBatchOperationRequest +Global___StartBatchOperationRequest: typing_extensions.TypeAlias = ( + StartBatchOperationRequest +) +@typing.final class StartBatchOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7226,8 +7616,11 @@ class StartBatchOperationResponse(google.protobuf.message.Message): self, ) -> None: ... -global___StartBatchOperationResponse = StartBatchOperationResponse +Global___StartBatchOperationResponse: typing_extensions.TypeAlias = ( + StartBatchOperationResponse +) +@typing.final class StopBatchOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7253,7 +7646,7 @@ class StopBatchOperationRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "job_id", @@ -7265,8 +7658,11 @@ class StopBatchOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -global___StopBatchOperationRequest = StopBatchOperationRequest +Global___StopBatchOperationRequest: typing_extensions.TypeAlias = ( + StopBatchOperationRequest +) +@typing.final class StopBatchOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7274,8 +7670,11 @@ class StopBatchOperationResponse(google.protobuf.message.Message): self, ) -> None: ... -global___StopBatchOperationResponse = StopBatchOperationResponse +Global___StopBatchOperationResponse: typing_extensions.TypeAlias = ( + StopBatchOperationResponse +) +@typing.final class DescribeBatchOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7292,14 +7691,14 @@ class DescribeBatchOperationRequest(google.protobuf.message.Message): job_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "job_id", b"job_id", "namespace", b"namespace" - ], + self, field_name: typing.Literal["job_id", b"job_id", "namespace", b"namespace"] ) -> None: ... -global___DescribeBatchOperationRequest = DescribeBatchOperationRequest +Global___DescribeBatchOperationRequest: typing_extensions.TypeAlias = ( + DescribeBatchOperationRequest +) +@typing.final class DescribeBatchOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7321,12 +7720,6 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): """Batch job ID""" state: temporalio.api.enums.v1.batch_operation_pb2.BatchOperationState.ValueType """Batch operation state""" - @property - def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Batch operation start time""" - @property - def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Batch operation close time""" total_operation_count: builtins.int """Total operation count""" complete_operation_count: builtins.int @@ -7337,6 +7730,14 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): """Identity indicates the operator identity""" reason: builtins.str """Reason indicates the reason to stop a operation""" + @property + def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Batch operation start time""" + + @property + def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Batch operation close time""" + def __init__( self, *, @@ -7353,13 +7754,13 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "close_time", b"close_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "close_time", b"close_time", "complete_operation_count", @@ -7383,8 +7784,11 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeBatchOperationResponse = DescribeBatchOperationResponse +Global___DescribeBatchOperationResponse: typing_extensions.TypeAlias = ( + DescribeBatchOperationResponse +) +@typing.final class ListBatchOperationsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7406,7 +7810,7 @@ class ListBatchOperationsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -7416,13 +7820,17 @@ class ListBatchOperationsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListBatchOperationsRequest = ListBatchOperationsRequest +Global___ListBatchOperationsRequest: typing_extensions.TypeAlias = ( + ListBatchOperationsRequest +) +@typing.final class ListBatchOperationsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor OPERATION_INFO_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def operation_info( self, @@ -7430,7 +7838,7 @@ class ListBatchOperationsResponse(google.protobuf.message.Message): temporalio.api.batch.v1.message_pb2.BatchOperationInfo ]: """BatchOperationInfo contains the basic info about batch operation""" - next_page_token: builtins.bytes + def __init__( self, *, @@ -7442,13 +7850,16 @@ class ListBatchOperationsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "operation_info", b"operation_info" ], ) -> None: ... -global___ListBatchOperationsResponse = ListBatchOperationsResponse +Global___ListBatchOperationsResponse: typing_extensions.TypeAlias = ( + ListBatchOperationsResponse +) +@typing.final class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7460,16 +7871,18 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): """The namespace of the Workflow Execution to which the Update was originally issued. """ + identity: builtins.str + """The identity of the worker/client who is polling this Update outcome.""" @property def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: """The Update reference returned in the initial UpdateWorkflowExecutionResponse.""" - identity: builtins.str - """The identity of the worker/client who is polling this Update outcome.""" + @property def wait_policy(self) -> temporalio.api.update.v1.message_pb2.WaitPolicy: """Specifies client's intent to wait for Update results. Omit to request a non-blocking poll. """ + def __init__( self, *, @@ -7480,13 +7893,13 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_ref", b"update_ref", "wait_policy", b"wait_policy" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -7498,22 +7911,17 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PollWorkflowExecutionUpdateRequest = PollWorkflowExecutionUpdateRequest +Global___PollWorkflowExecutionUpdateRequest: typing_extensions.TypeAlias = ( + PollWorkflowExecutionUpdateRequest +) +@typing.final class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor OUTCOME_FIELD_NUMBER: builtins.int STAGE_FIELD_NUMBER: builtins.int UPDATE_REF_FIELD_NUMBER: builtins.int - @property - def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: - """The outcome of the update if and only if the update has completed. If - this response is being returned before the update has completed (e.g. due - to the specification of a wait policy that only waits on - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will - not be set. - """ stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType """The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered @@ -7526,9 +7934,19 @@ class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed. """ + @property + def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: + """The outcome of the update if and only if the update has completed. If + this response is being returned before the update has completed (e.g. due + to the specification of a wait policy that only waits on + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will + not be set. + """ + @property def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: """Sufficient information to address this Update.""" + def __init__( self, *, @@ -7538,19 +7956,20 @@ class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "outcome", b"outcome", "update_ref", b"update_ref" - ], + field_name: typing.Literal["outcome", b"outcome", "update_ref", b"update_ref"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref" ], ) -> None: ... -global___PollWorkflowExecutionUpdateResponse = PollWorkflowExecutionUpdateResponse +Global___PollWorkflowExecutionUpdateResponse: typing_extensions.TypeAlias = ( + PollWorkflowExecutionUpdateResponse +) +@typing.final class PollNexusTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7563,8 +7982,6 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int WORKER_HEARTBEAT_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... poller_group_id: builtins.str """Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollNexusTaskQueueResponse according to the @@ -7578,6 +7995,8 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): This is guaranteed to be unique, whereas identity is not guaranteed to be unique. """ @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... + @property def worker_version_capabilities( self, ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: @@ -7585,11 +8004,13 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ + @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" + @property def worker_heartbeat( self, @@ -7597,6 +8018,7 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): temporalio.api.worker.v1.message_pb2.WorkerHeartbeat ]: """Worker info to be sent to the server.""" + def __init__( self, *, @@ -7616,7 +8038,7 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "task_queue", @@ -7627,7 +8049,7 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_options", b"deployment_options", "identity", @@ -7647,8 +8069,11 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PollNexusTaskQueueRequest = PollNexusTaskQueueRequest +Global___PollNexusTaskQueueRequest: typing_extensions.TypeAlias = ( + PollNexusTaskQueueRequest +) +@typing.final class PollNexusTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7659,20 +8084,22 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): POLLER_GROUP_INFOS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """An opaque unique identifier for this task for correlating a completion request the embedded request.""" + poller_group_id: builtins.str + """This poller group ID identifies the owner of the nexus task awaiting for synchronous + response. + Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this + value for proper response routing. + """ @property def request(self) -> temporalio.api.nexus.v1.message_pb2.Request: """Embedded request as translated from the incoming frontend request.""" + @property def poller_scaling_decision( self, ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" - poller_group_id: builtins.str - """This poller group ID identifies the owner of the nexus task awaiting for synchronous - response. - Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this - value for proper response routing. - """ + @property def poller_group_infos( self, @@ -7686,6 +8113,7 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. """ + def __init__( self, *, @@ -7701,13 +8129,13 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "poller_scaling_decision", b"poller_scaling_decision", "request", b"request" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "poller_group_id", b"poller_group_id", "poller_group_infos", @@ -7721,8 +8149,11 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -global___PollNexusTaskQueueResponse = PollNexusTaskQueueResponse +Global___PollNexusTaskQueueResponse: typing_extensions.TypeAlias = ( + PollNexusTaskQueueResponse +) +@typing.final class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7736,13 +8167,14 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" task_token: builtins.bytes """A unique identifier for this task as received via a poll response.""" - @property - def response(self) -> temporalio.api.nexus.v1.message_pb2.Response: - """Embedded response to be translated into a frontend response.""" poller_group_id: builtins.str """Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper routing of the response. """ + @property + def response(self) -> temporalio.api.nexus.v1.message_pb2.Response: + """Embedded response to be translated into a frontend response.""" + def __init__( self, *, @@ -7753,11 +8185,11 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): poller_group_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["response", b"response"] + self, field_name: typing.Literal["response", b"response"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -7771,8 +8203,11 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondNexusTaskCompletedRequest = RespondNexusTaskCompletedRequest +Global___RespondNexusTaskCompletedRequest: typing_extensions.TypeAlias = ( + RespondNexusTaskCompletedRequest +) +@typing.final class RespondNexusTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7780,8 +8215,11 @@ class RespondNexusTaskCompletedResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondNexusTaskCompletedResponse = RespondNexusTaskCompletedResponse +Global___RespondNexusTaskCompletedResponse: typing_extensions.TypeAlias = ( + RespondNexusTaskCompletedResponse +) +@typing.final class RespondNexusTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7796,16 +8234,18 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" task_token: builtins.bytes """A unique identifier for this task.""" + poller_group_id: builtins.str + """Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper + routing of the response. + """ @property def error(self) -> temporalio.api.nexus.v1.message_pb2.HandlerError: """Deprecated. Use the failure field instead.""" + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The error the handler failed with. Must contain a NexusHandlerFailureInfo object.""" - poller_group_id: builtins.str - """Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper - routing of the response. - """ + def __init__( self, *, @@ -7817,12 +8257,11 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): poller_group_id: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["error", b"error", "failure", b"failure"], + self, field_name: typing.Literal["error", b"error", "failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "error", b"error", "failure", @@ -7838,8 +8277,11 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RespondNexusTaskFailedRequest = RespondNexusTaskFailedRequest +Global___RespondNexusTaskFailedRequest: typing_extensions.TypeAlias = ( + RespondNexusTaskFailedRequest +) +@typing.final class RespondNexusTaskFailedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7847,38 +8289,44 @@ class RespondNexusTaskFailedResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RespondNexusTaskFailedResponse = RespondNexusTaskFailedResponse +Global___RespondNexusTaskFailedResponse: typing_extensions.TypeAlias = ( + RespondNexusTaskFailedResponse +) +@typing.final class ExecuteMultiOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Operation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor START_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_FIELD_NUMBER: builtins.int @property - def start_workflow(self) -> global___StartWorkflowExecutionRequest: + def start_workflow(self) -> Global___StartWorkflowExecutionRequest: """Additional restrictions: - setting `cron_schedule` is invalid - setting `request_eager_execution` is invalid - setting `workflow_start_delay` is invalid """ + @property - def update_workflow(self) -> global___UpdateWorkflowExecutionRequest: + def update_workflow(self) -> Global___UpdateWorkflowExecutionRequest: """Additional restrictions: - setting `first_execution_run_id` is invalid - setting `workflow_execution.run_id` is invalid """ + def __init__( self, *, - start_workflow: global___StartWorkflowExecutionRequest | None = ..., - update_workflow: global___UpdateWorkflowExecutionRequest | None = ..., + start_workflow: Global___StartWorkflowExecutionRequest | None = ..., + update_workflow: Global___UpdateWorkflowExecutionRequest | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "operation", b"operation", "start_workflow", @@ -7889,7 +8337,7 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "operation", b"operation", "start_workflow", @@ -7899,18 +8347,20 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["operation", b"operation"] - ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... + self, oneof_group: typing.Literal["operation", b"operation"] + ) -> typing.Literal["start_workflow", "update_workflow"] | None: ... NAMESPACE_FIELD_NUMBER: builtins.int OPERATIONS_FIELD_NUMBER: builtins.int RESOURCE_ID_FIELD_NUMBER: builtins.int namespace: builtins.str + resource_id: builtins.str + """Resource ID for routing. Should match operations[0].start_workflow.workflow_id""" @property def operations( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ExecuteMultiOperationRequest.Operation + Global___ExecuteMultiOperationRequest.Operation ]: """List of operations to execute within a single workflow. @@ -7921,21 +8371,20 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): Note that additional operation-specific restrictions have to be considered. """ - resource_id: builtins.str - """Resource ID for routing. Should match operations[0].start_workflow.workflow_id""" + def __init__( self, *, namespace: builtins.str = ..., operations: collections.abc.Iterable[ - global___ExecuteMultiOperationRequest.Operation + Global___ExecuteMultiOperationRequest.Operation ] | None = ..., resource_id: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "operations", @@ -7945,8 +8394,11 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ExecuteMultiOperationRequest = ExecuteMultiOperationRequest +Global___ExecuteMultiOperationRequest: typing_extensions.TypeAlias = ( + ExecuteMultiOperationRequest +) +@typing.final class ExecuteMultiOperationResponse(google.protobuf.message.Message): """IMPORTANT: For [StartWorkflow, UpdateWorkflow] combination ("Update-with-Start") when both 1. the workflow update for the requested update ID has already completed, and @@ -7958,24 +8410,25 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Response(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor START_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_FIELD_NUMBER: builtins.int @property - def start_workflow(self) -> global___StartWorkflowExecutionResponse: ... + def start_workflow(self) -> Global___StartWorkflowExecutionResponse: ... @property - def update_workflow(self) -> global___UpdateWorkflowExecutionResponse: ... + def update_workflow(self) -> Global___UpdateWorkflowExecutionResponse: ... def __init__( self, *, - start_workflow: global___StartWorkflowExecutionResponse | None = ..., - update_workflow: global___UpdateWorkflowExecutionResponse | None = ..., + start_workflow: Global___StartWorkflowExecutionResponse | None = ..., + update_workflow: Global___UpdateWorkflowExecutionResponse | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "response", b"response", "start_workflow", @@ -7986,7 +8439,7 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "response", b"response", "start_workflow", @@ -7996,30 +8449,33 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["response", b"response"] - ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... + self, oneof_group: typing.Literal["response", b"response"] + ) -> typing.Literal["start_workflow", "update_workflow"] | None: ... RESPONSES_FIELD_NUMBER: builtins.int @property def responses( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ExecuteMultiOperationResponse.Response + Global___ExecuteMultiOperationResponse.Response ]: ... def __init__( self, *, responses: collections.abc.Iterable[ - global___ExecuteMultiOperationResponse.Response + Global___ExecuteMultiOperationResponse.Response ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["responses", b"responses"] + self, field_name: typing.Literal["responses", b"responses"] ) -> None: ... -global___ExecuteMultiOperationResponse = ExecuteMultiOperationResponse +Global___ExecuteMultiOperationResponse: typing_extensions.TypeAlias = ( + ExecuteMultiOperationResponse +) +@typing.final class UpdateActivityOptionsRequest(google.protobuf.message.Message): """NOTE: keep in sync with temporalio.api.batch.v1.BatchOperationUpdateActivityOptions Deprecated. Use `UpdateActivityExecutionOptionsRequest`. @@ -8038,19 +8494,8 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): RESTORE_ORIGINAL_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity""" - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request""" - @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: - """Activity options. Partial updates are accepted and controlled by update_mask""" - @property - def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: - """Controls which fields from `activity_options` will be applied""" id: builtins.str """Only activity with this ID will be updated.""" type: builtins.str @@ -8064,6 +8509,20 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): This flag cannot be combined with any other option; if you supply restore_original together with other options, the request will be rejected. """ + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" + + @property + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + """Activity options. Partial updates are accepted and controlled by update_mask""" + + @property + def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: + """Controls which fields from `activity_options` will be applied""" + def __init__( self, *, @@ -8080,7 +8539,7 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "activity_options", @@ -8099,7 +8558,7 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "activity_options", @@ -8123,11 +8582,14 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... + self, oneof_group: typing.Literal["activity", b"activity"] + ) -> typing.Literal["id", "type", "match_all"] | None: ... -global___UpdateActivityOptionsRequest = UpdateActivityOptionsRequest +Global___UpdateActivityOptionsRequest: typing_extensions.TypeAlias = ( + UpdateActivityOptionsRequest +) +@typing.final class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8146,20 +8608,12 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): """If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity. """ - activity_id: builtins.str - """The ID of the activity to target.""" - run_id: builtins.str - """Run ID of the workflow or standalone activity.""" - identity: builtins.str - """The identity of the client who initiated this request""" - @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: - """Activity options. Partial updates are accepted and controlled by update_mask""" - @property - def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: - """Controls which fields from `activity_options` will be applied""" + activity_id: builtins.str + """The ID of the activity to target.""" + run_id: builtins.str + """Run ID of the workflow or standalone activity.""" + identity: builtins.str + """The identity of the client who initiated this request""" restore_original: builtins.bool """If set, the activity options will be restored to the default. Default options are then options activity was created with. @@ -8169,6 +8623,16 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): """ resource_id: builtins.str """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" + @property + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + """Activity options. Partial updates are accepted and controlled by update_mask""" + + @property + def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: + """Controls which fields from `activity_options` will be applied""" + def __init__( self, *, @@ -8185,13 +8649,13 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_options", b"activity_options", "update_mask", b"update_mask" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_options", @@ -8213,8 +8677,11 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateActivityExecutionOptionsRequest = UpdateActivityExecutionOptionsRequest +Global___UpdateActivityExecutionOptionsRequest: typing_extensions.TypeAlias = ( + UpdateActivityExecutionOptionsRequest +) +@typing.final class UpdateActivityOptionsResponse(google.protobuf.message.Message): """Deprecated. Use `UpdateActivityExecutionOptionsResponse`.""" @@ -8226,6 +8693,7 @@ class UpdateActivityOptionsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options after an update""" + def __init__( self, *, @@ -8233,16 +8701,17 @@ class UpdateActivityOptionsResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["activity_options", b"activity_options"], + self, field_name: typing.Literal["activity_options", b"activity_options"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["activity_options", b"activity_options"], + self, field_name: typing.Literal["activity_options", b"activity_options"] ) -> None: ... -global___UpdateActivityOptionsResponse = UpdateActivityOptionsResponse +Global___UpdateActivityOptionsResponse: typing_extensions.TypeAlias = ( + UpdateActivityOptionsResponse +) +@typing.final class UpdateActivityExecutionOptionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8252,6 +8721,7 @@ class UpdateActivityExecutionOptionsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options after an update""" + def __init__( self, *, @@ -8259,16 +8729,17 @@ class UpdateActivityExecutionOptionsResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["activity_options", b"activity_options"], + self, field_name: typing.Literal["activity_options", b"activity_options"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["activity_options", b"activity_options"], + self, field_name: typing.Literal["activity_options", b"activity_options"] ) -> None: ... -global___UpdateActivityExecutionOptionsResponse = UpdateActivityExecutionOptionsResponse +Global___UpdateActivityExecutionOptionsResponse: typing_extensions.TypeAlias = ( + UpdateActivityExecutionOptionsResponse +) +@typing.final class PauseActivityRequest(google.protobuf.message.Message): """Deprecated. Use `PauseActivityExecutionRequest`.""" @@ -8283,9 +8754,6 @@ class PauseActivityRequest(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity.""" - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request.""" id: builtins.str @@ -8298,6 +8766,10 @@ class PauseActivityRequest(google.protobuf.message.Message): """Reason to pause the activity.""" request_id: builtins.str """Used to de-dupe pause requests.""" + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" + def __init__( self, *, @@ -8311,7 +8783,7 @@ class PauseActivityRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "execution", @@ -8324,7 +8796,7 @@ class PauseActivityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "execution", @@ -8344,11 +8816,12 @@ class PauseActivityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type"] | None: ... + self, oneof_group: typing.Literal["activity", b"activity"] + ) -> typing.Literal["id", "type"] | None: ... -global___PauseActivityRequest = PauseActivityRequest +Global___PauseActivityRequest: typing_extensions.TypeAlias = PauseActivityRequest +@typing.final class PauseActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8392,7 +8865,7 @@ class PauseActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "identity", @@ -8412,8 +8885,11 @@ class PauseActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PauseActivityExecutionRequest = PauseActivityExecutionRequest +Global___PauseActivityExecutionRequest: typing_extensions.TypeAlias = ( + PauseActivityExecutionRequest +) +@typing.final class PauseActivityResponse(google.protobuf.message.Message): """Deprecated. Use `PauseActivityExecutionResponse`.""" @@ -8423,8 +8899,9 @@ class PauseActivityResponse(google.protobuf.message.Message): self, ) -> None: ... -global___PauseActivityResponse = PauseActivityResponse +Global___PauseActivityResponse: typing_extensions.TypeAlias = PauseActivityResponse +@typing.final class PauseActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8432,8 +8909,11 @@ class PauseActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___PauseActivityExecutionResponse = PauseActivityExecutionResponse +Global___PauseActivityExecutionResponse: typing_extensions.TypeAlias = ( + PauseActivityExecutionResponse +) +@typing.final class UnpauseActivityRequest(google.protobuf.message.Message): """Deprecated. Use `UnpauseActivityExecutionRequest`.""" @@ -8450,9 +8930,6 @@ class UnpauseActivityRequest(google.protobuf.message.Message): JITTER_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity.""" - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request.""" id: builtins.str @@ -8465,9 +8942,14 @@ class UnpauseActivityRequest(google.protobuf.message.Message): """Providing this flag will also reset the number of attempts.""" reset_heartbeat: builtins.bool """Providing this flag will also reset the heartbeat details.""" + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" + @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """If set, the activity will start at a random time within the specified jitter duration.""" + def __init__( self, *, @@ -8483,7 +8965,7 @@ class UnpauseActivityRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "execution", @@ -8500,7 +8982,7 @@ class UnpauseActivityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "execution", @@ -8524,11 +9006,12 @@ class UnpauseActivityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type", "unpause_all"] | None: ... + self, oneof_group: typing.Literal["activity", b"activity"] + ) -> typing.Literal["id", "type", "unpause_all"] | None: ... -global___UnpauseActivityRequest = UnpauseActivityRequest +Global___UnpauseActivityRequest: typing_extensions.TypeAlias = UnpauseActivityRequest +@typing.final class UnpauseActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8560,11 +9043,12 @@ class UnpauseActivityExecutionRequest(google.protobuf.message.Message): """Providing this flag will also reset the heartbeat details.""" reason: builtins.str """Reason to unpause the activity.""" + resource_id: builtins.str + """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """If set, the activity will start at a random time within the specified jitter duration.""" - resource_id: builtins.str - """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" + def __init__( self, *, @@ -8580,11 +9064,11 @@ class UnpauseActivityExecutionRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["jitter", b"jitter"] + self, field_name: typing.Literal["jitter", b"jitter"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "identity", @@ -8608,8 +9092,11 @@ class UnpauseActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UnpauseActivityExecutionRequest = UnpauseActivityExecutionRequest +Global___UnpauseActivityExecutionRequest: typing_extensions.TypeAlias = ( + UnpauseActivityExecutionRequest +) +@typing.final class UnpauseActivityResponse(google.protobuf.message.Message): """Deprecated. Use `UnpauseActivityExecutionResponse`.""" @@ -8619,8 +9106,9 @@ class UnpauseActivityResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UnpauseActivityResponse = UnpauseActivityResponse +Global___UnpauseActivityResponse: typing_extensions.TypeAlias = UnpauseActivityResponse +@typing.final class UnpauseActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8628,8 +9116,11 @@ class UnpauseActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UnpauseActivityExecutionResponse = UnpauseActivityExecutionResponse +Global___UnpauseActivityExecutionResponse: typing_extensions.TypeAlias = ( + UnpauseActivityExecutionResponse +) +@typing.final class ResetActivityRequest(google.protobuf.message.Message): """NOTE: keep in sync with temporalio.api.batch.v1.BatchOperationResetActivities Deprecated. Use `ResetActivityExecutionRequest`. @@ -8649,9 +9140,6 @@ class ResetActivityRequest(google.protobuf.message.Message): RESTORE_ORIGINAL_OPTIONS_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity.""" - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request.""" id: builtins.str @@ -8666,16 +9154,21 @@ class ResetActivityRequest(google.protobuf.message.Message): """ keep_paused: builtins.bool """If activity is paused, it will remain paused after reset""" - @property - def jitter(self) -> google.protobuf.duration_pb2.Duration: - """If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. - (unless it is paused and keep_paused is set) - """ restore_original_options: builtins.bool """If set, the activity options will be restored to the defaults. Default options are then options activity was created with. They are part of the first schedule event. """ + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" + + @property + def jitter(self) -> google.protobuf.duration_pb2.Duration: + """If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. + (unless it is paused and keep_paused is set) + """ + def __init__( self, *, @@ -8692,7 +9185,7 @@ class ResetActivityRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "execution", @@ -8709,7 +9202,7 @@ class ResetActivityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity", b"activity", "execution", @@ -8735,11 +9228,12 @@ class ResetActivityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["activity", b"activity"] - ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... + self, oneof_group: typing.Literal["activity", b"activity"] + ) -> typing.Literal["id", "type", "match_all"] | None: ... -global___ResetActivityRequest = ResetActivityRequest +Global___ResetActivityRequest: typing_extensions.TypeAlias = ResetActivityRequest +@typing.final class ResetActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8771,11 +9265,6 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): """ keep_paused: builtins.bool """If activity is paused, it will remain paused after reset""" - @property - def jitter(self) -> google.protobuf.duration_pb2.Duration: - """If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. - (unless it is paused and keep_paused is set) - """ restore_original_options: builtins.bool """If set, the activity options will be restored to the defaults. Default options are then options activity was created with. @@ -8783,6 +9272,12 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): """ resource_id: builtins.str """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" + @property + def jitter(self) -> google.protobuf.duration_pb2.Duration: + """If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. + (unless it is paused and keep_paused is set) + """ + def __init__( self, *, @@ -8798,11 +9293,11 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["jitter", b"jitter"] + self, field_name: typing.Literal["jitter", b"jitter"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "identity", @@ -8826,8 +9321,11 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ResetActivityExecutionRequest = ResetActivityExecutionRequest +Global___ResetActivityExecutionRequest: typing_extensions.TypeAlias = ( + ResetActivityExecutionRequest +) +@typing.final class ResetActivityResponse(google.protobuf.message.Message): """Deprecated. Use `ResetActivityExecutionRequest`.""" @@ -8837,8 +9335,9 @@ class ResetActivityResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ResetActivityResponse = ResetActivityResponse +Global___ResetActivityResponse: typing_extensions.TypeAlias = ResetActivityResponse +@typing.final class ResetActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8846,8 +9345,11 @@ class ResetActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___ResetActivityExecutionResponse = ResetActivityExecutionResponse +Global___ResetActivityExecutionResponse: typing_extensions.TypeAlias = ( + ResetActivityExecutionResponse +) +@typing.final class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - temporalio.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. @@ -8863,6 +9365,8 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace name of the target Workflow.""" + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" @property def workflow_execution( self, @@ -8871,18 +9375,19 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) """ + @property def workflow_execution_options( self, ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options. Partial updates are accepted and controlled by update_mask.""" + @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. """ - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" + def __init__( self, *, @@ -8896,7 +9401,7 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_mask", b"update_mask", "workflow_execution", @@ -8907,7 +9412,7 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -8921,38 +9426,59 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateWorkflowExecutionOptionsRequest = UpdateWorkflowExecutionOptionsRequest +Global___UpdateWorkflowExecutionOptionsRequest: typing_extensions.TypeAlias = ( + UpdateWorkflowExecutionOptionsRequest +) +@typing.final class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_EXECUTION_OPTIONS_FIELD_NUMBER: builtins.int + UPDATE_TIME_FIELD_NUMBER: builtins.int @property def workflow_execution_options( self, ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options after update.""" + + @property + def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The Workflow Execution time when the options were updated. When time skipping is + enabled, this is the workflow's virtual time rather than wall-clock time. + """ + def __init__( self, *, workflow_execution_options: temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions | None = ..., + update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "workflow_execution_options", b"workflow_execution_options" + field_name: typing.Literal[ + "update_time", + b"update_time", + "workflow_execution_options", + b"workflow_execution_options", ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "workflow_execution_options", b"workflow_execution_options" + field_name: typing.Literal[ + "update_time", + b"update_time", + "workflow_execution_options", + b"workflow_execution_options", ], ) -> None: ... -global___UpdateWorkflowExecutionOptionsResponse = UpdateWorkflowExecutionOptionsResponse +Global___UpdateWorkflowExecutionOptionsResponse: typing_extensions.TypeAlias = ( + UpdateWorkflowExecutionOptionsResponse +) +@typing.final class DescribeDeploymentRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -8970,17 +9496,20 @@ class DescribeDeploymentRequest(google.protobuf.message.Message): deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] + self, field_name: typing.Literal["deployment", b"deployment"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "namespace", b"namespace" ], ) -> None: ... -global___DescribeDeploymentRequest = DescribeDeploymentRequest +Global___DescribeDeploymentRequest: typing_extensions.TypeAlias = ( + DescribeDeploymentRequest +) +@typing.final class DescribeDeploymentResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -8998,16 +9527,17 @@ class DescribeDeploymentResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], + self, field_name: typing.Literal["deployment_info", b"deployment_info"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], + self, field_name: typing.Literal["deployment_info", b"deployment_info"] ) -> None: ... -global___DescribeDeploymentResponse = DescribeDeploymentResponse +Global___DescribeDeploymentResponse: typing_extensions.TypeAlias = ( + DescribeDeploymentResponse +) +@typing.final class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9018,13 +9548,14 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): namespace: builtins.str version: builtins.str """Deprecated. Use `deployment_version`.""" + report_task_queue_stats: builtins.bool + """Report stats for task queues which have been polled by this version.""" @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" - report_task_queue_stats: builtins.bool - """Report stats for task queues which have been polled by this version.""" + def __init__( self, *, @@ -9035,14 +9566,11 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): report_task_queue_stats: builtins.bool = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], + self, field_name: typing.Literal["deployment_version", b"deployment_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version", b"deployment_version", "namespace", @@ -9054,16 +9582,21 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeWorkerDeploymentVersionRequest = DescribeWorkerDeploymentVersionRequest +Global___DescribeWorkerDeploymentVersionRequest: typing_extensions.TypeAlias = ( + DescribeWorkerDeploymentVersionRequest +) +@typing.final class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class VersionTaskQueue(google.protobuf.message.Message): """(-- api-linter: core::0123::resource-annotation=disabled --)""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class StatsByPriorityKeyEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9082,11 +9615,10 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAME_FIELD_NUMBER: builtins.int @@ -9098,6 +9630,7 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): @property def stats(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: """Only set if `report_task_queue_stats` is set on the request.""" + @property def stats_by_priority_key( self, @@ -9109,6 +9642,7 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the key. --) """ + def __init__( self, *, @@ -9121,11 +9655,11 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["stats", b"stats"] + self, field_name: typing.Literal["stats", b"stats"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "name", b"name", "stats", @@ -9147,28 +9681,29 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): def version_task_queues( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue + Global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue ]: """All the Task Queues that have ever polled from this Deployment version.""" + def __init__( self, *, worker_deployment_version_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo | None = ..., version_task_queues: collections.abc.Iterable[ - global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue + Global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue ] | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "worker_deployment_version_info", b"worker_deployment_version_info" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "version_task_queues", b"version_task_queues", "worker_deployment_version_info", @@ -9176,10 +9711,11 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeWorkerDeploymentVersionResponse = ( +Global___DescribeWorkerDeploymentVersionResponse: typing_extensions.TypeAlias = ( DescribeWorkerDeploymentVersionResponse ) +@typing.final class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9195,13 +9731,16 @@ class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_name", b"deployment_name", "namespace", b"namespace" ], ) -> None: ... -global___DescribeWorkerDeploymentRequest = DescribeWorkerDeploymentRequest +Global___DescribeWorkerDeploymentRequest: typing_extensions.TypeAlias = ( + DescribeWorkerDeploymentRequest +) +@typing.final class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9225,13 +9764,11 @@ class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "worker_deployment_info", b"worker_deployment_info" - ], + field_name: typing.Literal["worker_deployment_info", b"worker_deployment_info"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "conflict_token", b"conflict_token", "worker_deployment_info", @@ -9239,8 +9776,11 @@ class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeWorkerDeploymentResponse = DescribeWorkerDeploymentResponse +Global___DescribeWorkerDeploymentResponse: typing_extensions.TypeAlias = ( + DescribeWorkerDeploymentResponse +) +@typing.final class ListDeploymentsRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9265,7 +9805,7 @@ class ListDeploymentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -9277,8 +9817,9 @@ class ListDeploymentsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListDeploymentsRequest = ListDeploymentsRequest +Global___ListDeploymentsRequest: typing_extensions.TypeAlias = ListDeploymentsRequest +@typing.final class ListDeploymentsResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9304,13 +9845,14 @@ class ListDeploymentsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployments", b"deployments", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListDeploymentsResponse = ListDeploymentsResponse +Global___ListDeploymentsResponse: typing_extensions.TypeAlias = ListDeploymentsResponse +@typing.final class SetCurrentDeploymentRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9321,11 +9863,11 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int UPDATE_METADATA_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: ... identity: builtins.str """Optional. The identity of the client who initiated this request.""" @property + def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: ... + @property def update_metadata( self, ) -> temporalio.api.deployment.v1.message_pb2.UpdateDeploymentMetadata: @@ -9333,6 +9875,7 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): when describing a deployment. It is a good place for information such as operator name, links to internal deployment pipelines, etc. """ + def __init__( self, *, @@ -9344,13 +9887,13 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "update_metadata", b"update_metadata" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "identity", @@ -9362,8 +9905,11 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SetCurrentDeploymentRequest = SetCurrentDeploymentRequest +Global___SetCurrentDeploymentRequest: typing_extensions.TypeAlias = ( + SetCurrentDeploymentRequest +) +@typing.final class SetCurrentDeploymentResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9380,6 +9926,7 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): self, ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: """Info of the deployment that was current before executing this operation.""" + def __init__( self, *, @@ -9390,7 +9937,7 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_info", b"current_deployment_info", "previous_deployment_info", @@ -9399,7 +9946,7 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_info", b"current_deployment_info", "previous_deployment_info", @@ -9407,8 +9954,11 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): ], ) -> None: ... -global___SetCurrentDeploymentResponse = SetCurrentDeploymentResponse +Global___SetCurrentDeploymentResponse: typing_extensions.TypeAlias = ( + SetCurrentDeploymentResponse +) +@typing.final class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): """Set/unset the Current Version of a Worker Deployment.""" @@ -9473,7 +10023,7 @@ class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "allow_no_pollers", b"allow_no_pollers", "build_id", @@ -9493,10 +10043,11 @@ class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SetWorkerDeploymentCurrentVersionRequest = ( +Global___SetWorkerDeploymentCurrentVersionRequest: typing_extensions.TypeAlias = ( SetWorkerDeploymentCurrentVersionRequest ) +@typing.final class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9520,6 +10071,7 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls. """ + def __init__( self, *, @@ -9530,13 +10082,13 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "previous_deployment_version", b"previous_deployment_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "conflict_token", b"conflict_token", "previous_deployment_version", @@ -9546,10 +10098,11 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) ], ) -> None: ... -global___SetWorkerDeploymentCurrentVersionResponse = ( +Global___SetWorkerDeploymentCurrentVersionResponse: typing_extensions.TypeAlias = ( SetWorkerDeploymentCurrentVersionResponse ) +@typing.final class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage.""" @@ -9621,7 +10174,7 @@ class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "allow_no_pollers", b"allow_no_pollers", "build_id", @@ -9643,10 +10196,11 @@ class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___SetWorkerDeploymentRampingVersionRequest = ( +Global___SetWorkerDeploymentRampingVersionRequest: typing_extensions.TypeAlias = ( SetWorkerDeploymentRampingVersionRequest ) +@typing.final class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9661,6 +10215,13 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) """ previous_version: builtins.str """Deprecated. Use `previous_deployment_version`.""" + previous_percentage: builtins.float + """The ramping version percentage before executing this operation. + Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the + Ramping version info before calling this API. By passing the `conflict_token` got from the + `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes + between the two calls. + """ @property def previous_deployment_version( self, @@ -9671,13 +10232,7 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls. """ - previous_percentage: builtins.float - """The ramping version percentage before executing this operation. - Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the - Ramping version info before calling this API. By passing the `conflict_token` got from the - `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes - between the two calls. - """ + def __init__( self, *, @@ -9689,13 +10244,13 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "previous_deployment_version", b"previous_deployment_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "conflict_token", b"conflict_token", "previous_deployment_version", @@ -9707,10 +10262,11 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) ], ) -> None: ... -global___SetWorkerDeploymentRampingVersionResponse = ( +Global___SetWorkerDeploymentRampingVersionResponse: typing_extensions.TypeAlias = ( SetWorkerDeploymentRampingVersionResponse ) +@typing.final class CreateWorkerDeploymentRequest(google.protobuf.message.Message): """Creates a new WorkerDeployment.""" @@ -9739,7 +10295,7 @@ class CreateWorkerDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_name", b"deployment_name", "identity", @@ -9751,8 +10307,11 @@ class CreateWorkerDeploymentRequest(google.protobuf.message.Message): ], ) -> None: ... -global___CreateWorkerDeploymentRequest = CreateWorkerDeploymentRequest +Global___CreateWorkerDeploymentRequest: typing_extensions.TypeAlias = ( + CreateWorkerDeploymentRequest +) +@typing.final class CreateWorkerDeploymentResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9768,11 +10327,14 @@ class CreateWorkerDeploymentResponse(google.protobuf.message.Message): conflict_token: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"] + self, field_name: typing.Literal["conflict_token", b"conflict_token"] ) -> None: ... -global___CreateWorkerDeploymentResponse = CreateWorkerDeploymentResponse +Global___CreateWorkerDeploymentResponse: typing_extensions.TypeAlias = ( + CreateWorkerDeploymentResponse +) +@typing.final class ListWorkerDeploymentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9791,7 +10353,7 @@ class ListWorkerDeploymentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -9801,11 +10363,15 @@ class ListWorkerDeploymentsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListWorkerDeploymentsRequest = ListWorkerDeploymentsRequest +Global___ListWorkerDeploymentsRequest: typing_extensions.TypeAlias = ( + ListWorkerDeploymentsRequest +) +@typing.final class ListWorkerDeploymentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class WorkerDeploymentSummary(google.protobuf.message.Message): """(-- api-linter: core::0123::resource-annotation=disabled --) A subset of WorkerDeploymentInfo @@ -9831,16 +10397,19 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the version that was added most recently in the Worker Deployment.""" + @property def current_version_summary( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the current version of the Worker Deployment.""" + @property def ramping_version_summary( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the ramping version of the Worker Deployment.""" + def __init__( self, *, @@ -9857,7 +10426,7 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "current_version_summary", @@ -9872,7 +10441,7 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "create_time", b"create_time", "current_version_summary", @@ -9895,21 +10464,22 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): def worker_deployments( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary + Global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary ]: """The list of worker deployments.""" + def __init__( self, *, next_page_token: builtins.bytes = ..., worker_deployments: collections.abc.Iterable[ - global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary + Global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "worker_deployments", @@ -9917,8 +10487,11 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): ], ) -> None: ... -global___ListWorkerDeploymentsResponse = ListWorkerDeploymentsResponse +Global___ListWorkerDeploymentsResponse: typing_extensions.TypeAlias = ( + ListWorkerDeploymentsResponse +) +@typing.final class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): """Creates a new WorkerDeploymentVersion.""" @@ -9930,23 +10503,25 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int REQUEST_ID_FIELD_NUMBER: builtins.int namespace: builtins.str + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" + request_id: builtins.str + """A unique identifier for this create request for idempotence. Typically UUIDv4. + If a second request with the same ID is recieved, it is considered a successful no-op. + Retrying with a different request ID for the same deployment name + build ID is an error. + """ @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" + @property def compute_config(self) -> temporalio.api.compute.v1.config_pb2.ComputeConfig: """Optional. Contains the new worker compute configuration for the Worker Deployment. Used for worker scale management. """ - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" - request_id: builtins.str - """A unique identifier for this create request for idempotence. Typically UUIDv4. - If a second request with the same ID is recieved, it is considered a successful no-op. - Retrying with a different request ID for the same deployment name + build ID is an error. - """ + def __init__( self, *, @@ -9959,7 +10534,7 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config", b"compute_config", "deployment_version", @@ -9968,7 +10543,7 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config", b"compute_config", "deployment_version", @@ -9982,8 +10557,11 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___CreateWorkerDeploymentVersionRequest = CreateWorkerDeploymentVersionRequest +Global___CreateWorkerDeploymentVersionRequest: typing_extensions.TypeAlias = ( + CreateWorkerDeploymentVersionRequest +) +@typing.final class CreateWorkerDeploymentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9991,8 +10569,11 @@ class CreateWorkerDeploymentVersionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___CreateWorkerDeploymentVersionResponse = CreateWorkerDeploymentVersionResponse +Global___CreateWorkerDeploymentVersionResponse: typing_extensions.TypeAlias = ( + CreateWorkerDeploymentVersionResponse +) +@typing.final class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): """Used for manual deletion of Versions. User can delete a Version only when all the following conditions are met: @@ -10012,17 +10593,18 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): namespace: builtins.str version: builtins.str """Deprecated. Use `deployment_version`.""" - @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: - """Required.""" skip_drainage: builtins.bool """Pass to force deletion even if the Version is draining. In this case the open pinned workflows will be stuck until manually moved to another version by UpdateWorkflowExecutionOptions. """ identity: builtins.str """Optional. The identity of the client who initiated this request.""" + @property + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + """Required.""" + def __init__( self, *, @@ -10034,14 +10616,11 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], + self, field_name: typing.Literal["deployment_version", b"deployment_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version", b"deployment_version", "identity", @@ -10055,8 +10634,11 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteWorkerDeploymentVersionRequest = DeleteWorkerDeploymentVersionRequest +Global___DeleteWorkerDeploymentVersionRequest: typing_extensions.TypeAlias = ( + DeleteWorkerDeploymentVersionRequest +) +@typing.final class DeleteWorkerDeploymentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10064,8 +10646,11 @@ class DeleteWorkerDeploymentVersionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteWorkerDeploymentVersionResponse = DeleteWorkerDeploymentVersionResponse +Global___DeleteWorkerDeploymentVersionResponse: typing_extensions.TypeAlias = ( + DeleteWorkerDeploymentVersionResponse +) +@typing.final class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): """Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it. @@ -10089,7 +10674,7 @@ class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_name", b"deployment_name", "identity", @@ -10099,8 +10684,11 @@ class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteWorkerDeploymentRequest = DeleteWorkerDeploymentRequest +Global___DeleteWorkerDeploymentRequest: typing_extensions.TypeAlias = ( + DeleteWorkerDeploymentRequest +) +@typing.final class DeleteWorkerDeploymentResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10108,8 +10696,11 @@ class DeleteWorkerDeploymentResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteWorkerDeploymentResponse = DeleteWorkerDeploymentResponse +Global___DeleteWorkerDeploymentResponse: typing_extensions.TypeAlias = ( + DeleteWorkerDeploymentResponse +) +@typing.final class UpdateWorkerDeploymentVersionComputeConfigRequest( google.protobuf.message.Message ): @@ -10117,6 +10708,7 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ComputeConfigScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10135,11 +10727,10 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -10149,11 +10740,19 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( IDENTITY_FIELD_NUMBER: builtins.int REQUEST_ID_FIELD_NUMBER: builtins.int namespace: builtins.str + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" + request_id: builtins.str + """A unique identifier for this create request for idempotence. Typically UUIDv4. + If a second request with the same ID is recieved, it is considered a successful no-op. + Retrying with a different request ID for the same deployment name + build ID is an error. + """ @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" + @property def compute_config_scaling_groups( self, @@ -10164,18 +10763,13 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( """Optional. Contains the compute config scaling groups to add or update for the Worker Deployment. """ + @property def remove_compute_config_scaling_groups( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Optional. Contains the compute config scaling groups to remove from the Worker Deployment.""" - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" - request_id: builtins.str - """A unique identifier for this create request for idempotence. Typically UUIDv4. - If a second request with the same ID is recieved, it is considered a successful no-op. - Retrying with a different request ID for the same deployment name + build ID is an error. - """ + def __init__( self, *, @@ -10193,14 +10787,11 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( request_id: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], + self, field_name: typing.Literal["deployment_version", b"deployment_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config_scaling_groups", b"compute_config_scaling_groups", "deployment_version", @@ -10216,10 +10807,9 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( ], ) -> None: ... -global___UpdateWorkerDeploymentVersionComputeConfigRequest = ( - UpdateWorkerDeploymentVersionComputeConfigRequest -) +Global___UpdateWorkerDeploymentVersionComputeConfigRequest: typing_extensions.TypeAlias = UpdateWorkerDeploymentVersionComputeConfigRequest +@typing.final class UpdateWorkerDeploymentVersionComputeConfigResponse( google.protobuf.message.Message ): @@ -10229,10 +10819,9 @@ class UpdateWorkerDeploymentVersionComputeConfigResponse( self, ) -> None: ... -global___UpdateWorkerDeploymentVersionComputeConfigResponse = ( - UpdateWorkerDeploymentVersionComputeConfigResponse -) +Global___UpdateWorkerDeploymentVersionComputeConfigResponse: typing_extensions.TypeAlias = UpdateWorkerDeploymentVersionComputeConfigResponse +@typing.final class ValidateWorkerDeploymentVersionComputeConfigRequest( google.protobuf.message.Message ): @@ -10240,6 +10829,7 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class ComputeConfigScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10258,11 +10848,10 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -10271,11 +10860,14 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( REMOVE_COMPUTE_CONFIG_SCALING_GROUPS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" + @property def compute_config_scaling_groups( self, @@ -10286,13 +10878,13 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( """Optional. Contains the compute config scaling groups to add or update for the Worker Deployment. """ + @property def remove_compute_config_scaling_groups( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Optional. Contains the compute config scaling groups to remove from the Worker Deployment.""" - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" + def __init__( self, *, @@ -10309,14 +10901,11 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( identity: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], + self, field_name: typing.Literal["deployment_version", b"deployment_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "compute_config_scaling_groups", b"compute_config_scaling_groups", "deployment_version", @@ -10330,10 +10919,9 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( ], ) -> None: ... -global___ValidateWorkerDeploymentVersionComputeConfigRequest = ( - ValidateWorkerDeploymentVersionComputeConfigRequest -) +Global___ValidateWorkerDeploymentVersionComputeConfigRequest: typing_extensions.TypeAlias = ValidateWorkerDeploymentVersionComputeConfigRequest +@typing.final class ValidateWorkerDeploymentVersionComputeConfigResponse( google.protobuf.message.Message ): @@ -10343,15 +10931,15 @@ class ValidateWorkerDeploymentVersionComputeConfigResponse( self, ) -> None: ... -global___ValidateWorkerDeploymentVersionComputeConfigResponse = ( - ValidateWorkerDeploymentVersionComputeConfigResponse -) +Global___ValidateWorkerDeploymentVersionComputeConfigResponse: typing_extensions.TypeAlias = ValidateWorkerDeploymentVersionComputeConfigResponse +@typing.final class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Message): """Used to update the user-defined metadata of a Worker Deployment Version.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class UpsertEntriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10367,11 +10955,10 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -10383,11 +10970,14 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa namespace: builtins.str version: builtins.str """Deprecated. Use `deployment_version`.""" + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" + @property def upsert_entries( self, @@ -10399,8 +10989,7 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" + def __init__( self, *, @@ -10416,14 +11005,11 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa identity: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "deployment_version", b"deployment_version" - ], + self, field_name: typing.Literal["deployment_version", b"deployment_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version", b"deployment_version", "identity", @@ -10439,10 +11025,11 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa ], ) -> None: ... -global___UpdateWorkerDeploymentVersionMetadataRequest = ( +Global___UpdateWorkerDeploymentVersionMetadataRequest: typing_extensions.TypeAlias = ( UpdateWorkerDeploymentVersionMetadataRequest ) +@typing.final class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10450,22 +11037,24 @@ class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Mess @property def metadata(self) -> temporalio.api.deployment.v1.message_pb2.VersionMetadata: """Full metadata after performing the update.""" + def __init__( self, *, metadata: temporalio.api.deployment.v1.message_pb2.VersionMetadata | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["metadata", b"metadata"] + self, field_name: typing.Literal["metadata", b"metadata"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["metadata", b"metadata"] + self, field_name: typing.Literal["metadata", b"metadata"] ) -> None: ... -global___UpdateWorkerDeploymentVersionMetadataResponse = ( +Global___UpdateWorkerDeploymentVersionMetadataResponse: typing_extensions.TypeAlias = ( UpdateWorkerDeploymentVersionMetadataResponse ) +@typing.final class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): """Update the ManagerIdentity of a Worker Deployment.""" @@ -10494,8 +11083,7 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): identity: builtins.str """Required. The identity of the client who initiated this request.""" def __init__( - # pyright: reportSelfClsParameterName=false - self_, + self_, # pyright: ignore[reportSelfClsParameterName] *, namespace: builtins.str = ..., deployment_name: builtins.str = ..., @@ -10506,7 +11094,7 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "manager_identity", b"manager_identity", "new_manager_identity", @@ -10517,7 +11105,7 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "conflict_token", b"conflict_token", "deployment_name", @@ -10536,13 +11124,14 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): ) -> None: ... def WhichOneof( self, - oneof_group: typing_extensions.Literal[ - "new_manager_identity", b"new_manager_identity" - ], - ) -> typing_extensions.Literal["manager_identity", "self"] | None: ... + oneof_group: typing.Literal["new_manager_identity", b"new_manager_identity"], + ) -> typing.Literal["manager_identity", "self"] | None: ... -global___SetWorkerDeploymentManagerRequest = SetWorkerDeploymentManagerRequest +Global___SetWorkerDeploymentManagerRequest: typing_extensions.TypeAlias = ( + SetWorkerDeploymentManagerRequest +) +@typing.final class SetWorkerDeploymentManagerResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10568,7 +11157,7 @@ class SetWorkerDeploymentManagerResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "conflict_token", b"conflict_token", "previous_manager_identity", @@ -10576,8 +11165,11 @@ class SetWorkerDeploymentManagerResponse(google.protobuf.message.Message): ], ) -> None: ... -global___SetWorkerDeploymentManagerResponse = SetWorkerDeploymentManagerResponse +Global___SetWorkerDeploymentManagerResponse: typing_extensions.TypeAlias = ( + SetWorkerDeploymentManagerResponse +) +@typing.final class GetCurrentDeploymentRequest(google.protobuf.message.Message): """Returns the Current Deployment of a deployment series. [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later @@ -10597,13 +11189,16 @@ class GetCurrentDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "series_name", b"series_name" ], ) -> None: ... -global___GetCurrentDeploymentRequest = GetCurrentDeploymentRequest +Global___GetCurrentDeploymentRequest: typing_extensions.TypeAlias = ( + GetCurrentDeploymentRequest +) +@typing.final class GetCurrentDeploymentResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -10622,19 +11217,22 @@ class GetCurrentDeploymentResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_info", b"current_deployment_info" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_deployment_info", b"current_deployment_info" ], ) -> None: ... -global___GetCurrentDeploymentResponse = GetCurrentDeploymentResponse +Global___GetCurrentDeploymentResponse: typing_extensions.TypeAlias = ( + GetCurrentDeploymentResponse +) +@typing.final class GetDeploymentReachabilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -10652,17 +11250,20 @@ class GetDeploymentReachabilityRequest(google.protobuf.message.Message): deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["deployment", b"deployment"] + self, field_name: typing.Literal["deployment", b"deployment"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment", b"deployment", "namespace", b"namespace" ], ) -> None: ... -global___GetDeploymentReachabilityRequest = GetDeploymentReachabilityRequest +Global___GetDeploymentReachabilityRequest: typing_extensions.TypeAlias = ( + GetDeploymentReachabilityRequest +) +@typing.final class GetDeploymentReachabilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -10671,18 +11272,19 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int REACHABILITY_FIELD_NUMBER: builtins.int LAST_UPDATE_TIME_FIELD_NUMBER: builtins.int + reachability: ( + temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType + ) @property def deployment_info( self, ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... - reachability: ( - temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType - ) @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Reachability level might come from server cache. This timestamp specifies when the value was actually calculated. """ + def __init__( self, *, @@ -10693,7 +11295,7 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_info", b"deployment_info", "last_update_time", @@ -10702,7 +11304,7 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_info", b"deployment_info", "last_update_time", @@ -10712,8 +11314,11 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): ], ) -> None: ... -global___GetDeploymentReachabilityResponse = GetDeploymentReachabilityResponse +Global___GetDeploymentReachabilityResponse: typing_extensions.TypeAlias = ( + GetDeploymentReachabilityResponse +) +@typing.final class CreateWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10724,9 +11329,6 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int namespace: builtins.str - @property - def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: - """The rule specification .""" force_scan: builtins.bool """If true, the rule will be applied to the currently running workflows via batch job. If not set , the rule will only be applied when triggering condition is satisfied. @@ -10738,6 +11340,10 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): """Identity of the actor who created the rule. Will be stored with the rule.""" description: builtins.str """Rule description.Will be stored with the rule.""" + @property + def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: + """The rule specification .""" + def __init__( self, *, @@ -10749,11 +11355,11 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): description: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["spec", b"spec"] + self, field_name: typing.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "description", b"description", "force_scan", @@ -10769,18 +11375,22 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): ], ) -> None: ... -global___CreateWorkflowRuleRequest = CreateWorkflowRuleRequest +Global___CreateWorkflowRuleRequest: typing_extensions.TypeAlias = ( + CreateWorkflowRuleRequest +) +@typing.final class CreateWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULE_FIELD_NUMBER: builtins.int JOB_ID_FIELD_NUMBER: builtins.int + job_id: builtins.str + """Batch Job ID if force-scan flag was provided. Otherwise empty.""" @property def rule(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRule: """Created rule.""" - job_id: builtins.str - """Batch Job ID if force-scan flag was provided. Otherwise empty.""" + def __init__( self, *, @@ -10788,15 +11398,17 @@ class CreateWorkflowRuleResponse(google.protobuf.message.Message): job_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + self, field_name: typing.Literal["rule", b"rule"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["job_id", b"job_id", "rule", b"rule"], + self, field_name: typing.Literal["job_id", b"job_id", "rule", b"rule"] ) -> None: ... -global___CreateWorkflowRuleResponse = CreateWorkflowRuleResponse +Global___CreateWorkflowRuleResponse: typing_extensions.TypeAlias = ( + CreateWorkflowRuleResponse +) +@typing.final class DescribeWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10813,13 +11425,14 @@ class DescribeWorkflowRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "rule_id", b"rule_id" - ], + field_name: typing.Literal["namespace", b"namespace", "rule_id", b"rule_id"], ) -> None: ... -global___DescribeWorkflowRuleRequest = DescribeWorkflowRuleRequest +Global___DescribeWorkflowRuleRequest: typing_extensions.TypeAlias = ( + DescribeWorkflowRuleRequest +) +@typing.final class DescribeWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10827,20 +11440,22 @@ class DescribeWorkflowRuleResponse(google.protobuf.message.Message): @property def rule(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRule: """The rule that was read.""" + def __init__( self, *, rule: temporalio.api.rules.v1.message_pb2.WorkflowRule | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["rule", b"rule"] + self, field_name: typing.Literal["rule", b"rule"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["rule", b"rule"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["rule", b"rule"]) -> None: ... -global___DescribeWorkflowRuleResponse = DescribeWorkflowRuleResponse +Global___DescribeWorkflowRuleResponse: typing_extensions.TypeAlias = ( + DescribeWorkflowRuleResponse +) +@typing.final class DeleteWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10857,13 +11472,14 @@ class DeleteWorkflowRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "rule_id", b"rule_id" - ], + field_name: typing.Literal["namespace", b"namespace", "rule_id", b"rule_id"], ) -> None: ... -global___DeleteWorkflowRuleRequest = DeleteWorkflowRuleRequest +Global___DeleteWorkflowRuleRequest: typing_extensions.TypeAlias = ( + DeleteWorkflowRuleRequest +) +@typing.final class DeleteWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10871,8 +11487,11 @@ class DeleteWorkflowRuleResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteWorkflowRuleResponse = DeleteWorkflowRuleResponse +Global___DeleteWorkflowRuleResponse: typing_extensions.TypeAlias = ( + DeleteWorkflowRuleResponse +) +@typing.final class ListWorkflowRulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10888,25 +11507,28 @@ class ListWorkflowRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListWorkflowRulesRequest = ListWorkflowRulesRequest +Global___ListWorkflowRulesRequest: typing_extensions.TypeAlias = ( + ListWorkflowRulesRequest +) +@typing.final class ListWorkflowRulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes @property def rules( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.rules.v1.message_pb2.WorkflowRule ]: ... - next_page_token: builtins.bytes def __init__( self, *, @@ -10918,13 +11540,16 @@ class ListWorkflowRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "rules", b"rules" ], ) -> None: ... -global___ListWorkflowRulesResponse = ListWorkflowRulesResponse +Global___ListWorkflowRulesResponse: typing_extensions.TypeAlias = ( + ListWorkflowRulesResponse +) +@typing.final class TriggerWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10934,15 +11559,17 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): SPEC_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str + id: builtins.str + identity: builtins.str + """The identity of the client who initiated this request""" @property def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Execution info of the workflow which scheduled this activity""" - id: builtins.str + @property def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: """Note: Rule ID and expiration date are not used in the trigger request.""" - identity: builtins.str - """The identity of the client who initiated this request""" + def __init__( self, *, @@ -10954,13 +11581,13 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "id", b"id", "rule", b"rule", "spec", b"spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "execution", b"execution", "id", @@ -10976,11 +11603,14 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["rule", b"rule"] - ) -> typing_extensions.Literal["id", "spec"] | None: ... + self, oneof_group: typing.Literal["rule", b"rule"] + ) -> typing.Literal["id", "spec"] | None: ... -global___TriggerWorkflowRuleRequest = TriggerWorkflowRuleRequest +Global___TriggerWorkflowRuleRequest: typing_extensions.TypeAlias = ( + TriggerWorkflowRuleRequest +) +@typing.final class TriggerWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10992,12 +11622,13 @@ class TriggerWorkflowRuleResponse(google.protobuf.message.Message): *, applied: builtins.bool = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["applied", b"applied"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["applied", b"applied"]) -> None: ... -global___TriggerWorkflowRuleResponse = TriggerWorkflowRuleResponse +Global___TriggerWorkflowRuleResponse: typing_extensions.TypeAlias = ( + TriggerWorkflowRuleResponse +) +@typing.final class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11009,14 +11640,14 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): """Namespace this worker belongs to.""" identity: builtins.str """The identity of the client who initiated this request.""" + resource_id: builtins.str + """Resource ID for routing. Contains the worker grouping key.""" @property def worker_heartbeat( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.worker.v1.message_pb2.WorkerHeartbeat ]: ... - resource_id: builtins.str - """Resource ID for routing. Contains the worker grouping key.""" def __init__( self, *, @@ -11030,7 +11661,7 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -11042,8 +11673,11 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RecordWorkerHeartbeatRequest = RecordWorkerHeartbeatRequest +Global___RecordWorkerHeartbeatRequest: typing_extensions.TypeAlias = ( + RecordWorkerHeartbeatRequest +) +@typing.final class RecordWorkerHeartbeatResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11051,8 +11685,11 @@ class RecordWorkerHeartbeatResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RecordWorkerHeartbeatResponse = RecordWorkerHeartbeatResponse +Global___RecordWorkerHeartbeatResponse: typing_extensions.TypeAlias = ( + RecordWorkerHeartbeatResponse +) +@typing.final class ListWorkersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11093,7 +11730,7 @@ class ListWorkersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "include_system_workers", b"include_system_workers", "namespace", @@ -11107,14 +11744,17 @@ class ListWorkersRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListWorkersRequest = ListWorkersRequest +Global___ListWorkersRequest: typing_extensions.TypeAlias = ListWorkersRequest +@typing.final class ListWorkersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKERS_INFO_FIELD_NUMBER: builtins.int WORKERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes + """Next page token""" @property def workers_info( self, @@ -11124,6 +11764,7 @@ class ListWorkersResponse(google.protobuf.message.Message): """Deprecated: Use workers instead. This field returns full WorkerInfo which includes expensive runtime metrics. We will stop populating this field in the future. """ + @property def workers( self, @@ -11131,8 +11772,7 @@ class ListWorkersResponse(google.protobuf.message.Message): temporalio.api.worker.v1.message_pb2.WorkerListInfo ]: """Limited worker information.""" - next_page_token: builtins.bytes - """Next page token""" + def __init__( self, *, @@ -11148,7 +11788,7 @@ class ListWorkersResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "workers", @@ -11158,21 +11798,24 @@ class ListWorkersResponse(google.protobuf.message.Message): ], ) -> None: ... -global___ListWorkersResponse = ListWorkersResponse +Global___ListWorkersResponse: typing_extensions.TypeAlias = ListWorkersResponse +@typing.final class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class RateLimitUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RATE_LIMIT_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int + reason: builtins.str + """Reason for why the rate limit was set.""" @property def rate_limit(self) -> temporalio.api.taskqueue.v1.message_pb2.RateLimit: """Rate Limit to be updated""" - reason: builtins.str - """Reason for why the rate limit was set.""" + def __init__( self, *, @@ -11180,15 +11823,16 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): reason: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit"] + self, field_name: typing.Literal["rate_limit", b"rate_limit"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "rate_limit", b"rate_limit", "reason", b"reason" ], ) -> None: ... + @typing.final class SetFairnessWeightOverridesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11203,8 +11847,7 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): value: builtins.float = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -11223,20 +11866,22 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): @property def update_queue_rate_limit( self, - ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + ) -> Global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to queue-wide rate limit. If not set, this configuration is unchanged. NOTE: A limit set by the worker is overriden; and restored again when reset. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. """ + @property def update_fairness_key_rate_limit_default( self, - ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + ) -> Global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to the default fairness key rate limit. If not set, this configuration is unchanged. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. """ + @property def set_fairness_weight_overrides( self, @@ -11244,6 +11889,7 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): """If set, overrides the fairness weight for each specified fairness key. Fairness keys not listed in this map will keep their existing overrides (if any). """ + @property def unset_fairness_weight_overrides( self, @@ -11252,6 +11898,7 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): Fairness weights for corresponding keys fall back to the values set during task creation (if any), or to the default weight of 1.0. """ + def __init__( self, *, @@ -11259,9 +11906,9 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): identity: builtins.str = ..., task_queue: builtins.str = ..., task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., - update_queue_rate_limit: global___UpdateTaskQueueConfigRequest.RateLimitUpdate + update_queue_rate_limit: Global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., - update_fairness_key_rate_limit_default: global___UpdateTaskQueueConfigRequest.RateLimitUpdate + update_fairness_key_rate_limit_default: Global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., set_fairness_weight_overrides: collections.abc.Mapping[ builtins.str, builtins.float @@ -11272,7 +11919,7 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "update_fairness_key_rate_limit_default", b"update_fairness_key_rate_limit_default", "update_queue_rate_limit", @@ -11281,7 +11928,7 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -11301,8 +11948,11 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateTaskQueueConfigRequest = UpdateTaskQueueConfigRequest +Global___UpdateTaskQueueConfigRequest: typing_extensions.TypeAlias = ( + UpdateTaskQueueConfigRequest +) +@typing.final class UpdateTaskQueueConfigResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11315,14 +11965,15 @@ class UpdateTaskQueueConfigResponse(google.protobuf.message.Message): config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["config", b"config"] + self, field_name: typing.Literal["config", b"config"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["config", b"config"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["config", b"config"]) -> None: ... -global___UpdateTaskQueueConfigResponse = UpdateTaskQueueConfigResponse +Global___UpdateTaskQueueConfigResponse: typing_extensions.TypeAlias = ( + UpdateTaskQueueConfigResponse +) +@typing.final class FetchWorkerConfigRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11337,13 +11988,14 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" reason: builtins.str """Reason for sending worker command, can be used for audit purpose.""" + resource_id: builtins.str + """Resource ID for routing. Contains the worker grouping key.""" @property def selector(self) -> temporalio.api.common.v1.message_pb2.WorkerSelector: """Defines which workers should receive this command. only single worker is supported at this time. """ - resource_id: builtins.str - """Resource ID for routing. Contains the worker grouping key.""" + def __init__( self, *, @@ -11354,11 +12006,11 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["selector", b"selector"] + self, field_name: typing.Literal["selector", b"selector"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -11372,8 +12024,11 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): ], ) -> None: ... -global___FetchWorkerConfigRequest = FetchWorkerConfigRequest +Global___FetchWorkerConfigRequest: typing_extensions.TypeAlias = ( + FetchWorkerConfigRequest +) +@typing.final class FetchWorkerConfigResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11381,6 +12036,7 @@ class FetchWorkerConfigResponse(google.protobuf.message.Message): @property def worker_config(self) -> temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig: """The worker configuration.""" + def __init__( self, *, @@ -11388,14 +12044,17 @@ class FetchWorkerConfigResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] + self, field_name: typing.Literal["worker_config", b"worker_config"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] + self, field_name: typing.Literal["worker_config", b"worker_config"] ) -> None: ... -global___FetchWorkerConfigResponse = FetchWorkerConfigResponse +Global___FetchWorkerConfigResponse: typing_extensions.TypeAlias = ( + FetchWorkerConfigResponse +) +@typing.final class UpdateWorkerConfigRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11412,19 +12071,22 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" reason: builtins.str """Reason for sending worker command, can be used for audit purpose.""" + resource_id: builtins.str + """Resource ID for routing. Contains the worker grouping key.""" @property def worker_config(self) -> temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig: """Partial updates are accepted and controlled by update_mask. The worker configuration to set. """ + @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `worker_config` will be applied""" + @property def selector(self) -> temporalio.api.common.v1.message_pb2.WorkerSelector: """Defines which workers should receive this command.""" - resource_id: builtins.str - """Resource ID for routing. Contains the worker grouping key.""" + def __init__( self, *, @@ -11439,7 +12101,7 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "selector", b"selector", "update_mask", @@ -11450,7 +12112,7 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -11468,8 +12130,11 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UpdateWorkerConfigRequest = UpdateWorkerConfigRequest +Global___UpdateWorkerConfigRequest: typing_extensions.TypeAlias = ( + UpdateWorkerConfigRequest +) +@typing.final class UpdateWorkerConfigResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11477,6 +12142,7 @@ class UpdateWorkerConfigResponse(google.protobuf.message.Message): @property def worker_config(self) -> temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig: """The worker configuration. Will be returned if the command was sent to a single worker.""" + def __init__( self, *, @@ -11485,22 +12151,25 @@ class UpdateWorkerConfigResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "response", b"response", "worker_config", b"worker_config" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "response", b"response", "worker_config", b"worker_config" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["response", b"response"] - ) -> typing_extensions.Literal["worker_config"] | None: ... + self, oneof_group: typing.Literal["response", b"response"] + ) -> typing.Literal["worker_config"] | None: ... -global___UpdateWorkerConfigResponse = UpdateWorkerConfigResponse +Global___UpdateWorkerConfigResponse: typing_extensions.TypeAlias = ( + UpdateWorkerConfigResponse +) +@typing.final class DescribeWorkerRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11518,13 +12187,14 @@ class DescribeWorkerRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "worker_instance_key", b"worker_instance_key" ], ) -> None: ... -global___DescribeWorkerRequest = DescribeWorkerRequest +Global___DescribeWorkerRequest: typing_extensions.TypeAlias = DescribeWorkerRequest +@typing.final class DescribeWorkerResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11537,14 +12207,68 @@ class DescribeWorkerResponse(google.protobuf.message.Message): worker_info: temporalio.api.worker.v1.message_pb2.WorkerInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["worker_info", b"worker_info"] + self, field_name: typing.Literal["worker_info", b"worker_info"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["worker_info", b"worker_info"] + self, field_name: typing.Literal["worker_info", b"worker_info"] + ) -> None: ... + +Global___DescribeWorkerResponse: typing_extensions.TypeAlias = DescribeWorkerResponse + +@typing.final +class CountWorkersRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + NAMESPACE_FIELD_NUMBER: builtins.int + QUERY_FIELD_NUMBER: builtins.int + INCLUDE_SYSTEM_WORKERS_FIELD_NUMBER: builtins.int + namespace: builtins.str + query: builtins.str + """Query to filter workers before counting. + Supported filter fields are the same as in ListWorkersRequest. + """ + include_system_workers: builtins.bool + """When true, the count will include system workers that are created implicitly + by the server and not by the user. By default, system workers are excluded. + """ + def __init__( + self, + *, + namespace: builtins.str = ..., + query: builtins.str = ..., + include_system_workers: builtins.bool = ..., + ) -> None: ... + def ClearField( + self, + field_name: typing.Literal[ + "include_system_workers", + b"include_system_workers", + "namespace", + b"namespace", + "query", + b"query", + ], + ) -> None: ... + +Global___CountWorkersRequest: typing_extensions.TypeAlias = CountWorkersRequest + +@typing.final +class CountWorkersResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + COUNT_FIELD_NUMBER: builtins.int + count: builtins.int + """Number of workers matching the query.""" + def __init__( + self, + *, + count: builtins.int = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["count", b"count"]) -> None: ... -global___DescribeWorkerResponse = DescribeWorkerResponse +Global___CountWorkersResponse: typing_extensions.TypeAlias = CountWorkersResponse +@typing.final class PauseWorkflowExecutionRequest(google.protobuf.message.Message): """Request to pause a workflow execution.""" @@ -11580,7 +12304,7 @@ class PauseWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -11596,8 +12320,11 @@ class PauseWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PauseWorkflowExecutionRequest = PauseWorkflowExecutionRequest +Global___PauseWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + PauseWorkflowExecutionRequest +) +@typing.final class PauseWorkflowExecutionResponse(google.protobuf.message.Message): """Response to a successful PauseWorkflowExecution request.""" @@ -11607,8 +12334,11 @@ class PauseWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___PauseWorkflowExecutionResponse = PauseWorkflowExecutionResponse +Global___PauseWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + PauseWorkflowExecutionResponse +) +@typing.final class UnpauseWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11642,7 +12372,7 @@ class UnpauseWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -11658,8 +12388,11 @@ class UnpauseWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___UnpauseWorkflowExecutionRequest = UnpauseWorkflowExecutionRequest +Global___UnpauseWorkflowExecutionRequest: typing_extensions.TypeAlias = ( + UnpauseWorkflowExecutionRequest +) +@typing.final class UnpauseWorkflowExecutionResponse(google.protobuf.message.Message): """Response to a successful UnpauseWorkflowExecution request.""" @@ -11669,8 +12402,11 @@ class UnpauseWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___UnpauseWorkflowExecutionResponse = UnpauseWorkflowExecutionResponse +Global___UnpauseWorkflowExecutionResponse: typing_extensions.TypeAlias = ( + UnpauseWorkflowExecutionResponse +) +@typing.final class StartActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11706,12 +12442,26 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy. """ + id_reuse_policy: ( + temporalio.api.enums.v1.activity_pb2.ActivityIdReusePolicy.ValueType + ) + """Defines whether to allow re-using the activity id from a previously *closed* activity. + The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE. + """ + id_conflict_policy: ( + temporalio.api.enums.v1.activity_pb2.ActivityIdConflictPolicy.ValueType + ) + """Defines how to resolve an activity id conflict with a *running* activity. + The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL. + """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: """The type of the activity, a string that corresponds to a registered activity on a worker.""" + @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: """Task queue to schedule this activity on.""" + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for an activity completion. Limits how long @@ -11720,6 +12470,7 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -11729,6 +12480,7 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -11738,41 +12490,37 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.""" + @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized arguments to the activity. These are passed as arguments to the activity function.""" - id_reuse_policy: ( - temporalio.api.enums.v1.activity_pb2.ActivityIdReusePolicy.ValueType - ) - """Defines whether to allow re-using the activity id from a previously *closed* activity. - The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE. - """ - id_conflict_policy: ( - temporalio.api.enums.v1.activity_pb2.ActivityIdConflictPolicy.ValueType - ) - """Defines how to resolve an activity id conflict with a *running* activity. - The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL. - """ + @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes for indexing.""" + @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Header for context propagation and tracing purposes.""" + @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata.""" + @property def completion_callbacks( self, @@ -11782,6 +12530,7 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): """Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration. """ + @property def links( self, @@ -11791,14 +12540,17 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): """Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here. """ + @property def on_conflict_options( self, ) -> temporalio.api.common.v1.message_pb2.OnConflictOptions: """Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.""" + @property def start_delay(self) -> google.protobuf.duration_pb2.Duration: """Time to wait before dispatching the first activity task. This delay is not applied to retry attempts.""" + def __init__( self, *, @@ -11834,7 +12586,7 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_type", b"activity_type", "header", @@ -11867,7 +12619,7 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -11915,8 +12667,11 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___StartActivityExecutionRequest = StartActivityExecutionRequest +Global___StartActivityExecutionRequest: typing_extensions.TypeAlias = ( + StartActivityExecutionRequest +) +@typing.final class StartActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11930,6 +12685,7 @@ class StartActivityExecutionResponse(google.protobuf.message.Message): @property def link(self) -> temporalio.api.common.v1.message_pb2.Link: """Link to the started activity.""" + def __init__( self, *, @@ -11938,17 +12694,20 @@ class StartActivityExecutionResponse(google.protobuf.message.Message): link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["link", b"link"] + self, field_name: typing.Literal["link", b"link"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "link", b"link", "run_id", b"run_id", "started", b"started" ], ) -> None: ... -global___StartActivityExecutionResponse = StartActivityExecutionResponse +Global___StartActivityExecutionResponse: typing_extensions.TypeAlias = ( + StartActivityExecutionResponse +) +@typing.final class DescribeActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11994,7 +12753,7 @@ class DescribeActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "include_heartbeat_details", @@ -12014,8 +12773,11 @@ class DescribeActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeActivityExecutionRequest = DescribeActivityExecutionRequest +Global___DescribeActivityExecutionRequest: typing_extensions.TypeAlias = ( + DescribeActivityExecutionRequest +) +@typing.final class DescribeActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12027,23 +12789,26 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): CALLBACKS_FIELD_NUMBER: builtins.int run_id: builtins.str """The run ID of the activity, useful when run_id was not specified in the request.""" + long_poll_token: builtins.bytes + """Token for follow-on long-poll requests. Absent only if the activity is complete.""" @property def info(self) -> temporalio.api.activity.v1.message_pb2.ActivityExecutionInfo: """Information about the activity execution. Fields heartbeat_details and last_failure are omitted unless the request has include_heartbeat_details or include_last_failure set to true, respectively. """ + @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized activity input, passed as arguments to the activity function. Only set if include_input was true in the request. """ + @property def outcome( self, ) -> temporalio.api.activity.v1.message_pb2.ActivityExecutionOutcome: """Only set if the activity is completed and include_outcome was true in the request.""" - long_poll_token: builtins.bytes - """Token for follow-on long-poll requests. Absent only if the activity is complete.""" + @property def callbacks( self, @@ -12051,6 +12816,7 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): temporalio.api.activity.v1.message_pb2.CallbackInfo ]: """Callbacks attached to this activity execution and their current state.""" + def __init__( self, *, @@ -12067,13 +12833,13 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "info", b"info", "input", b"input", "outcome", b"outcome" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "callbacks", b"callbacks", "info", @@ -12089,8 +12855,11 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeActivityExecutionResponse = DescribeActivityExecutionResponse +Global___DescribeActivityExecutionResponse: typing_extensions.TypeAlias = ( + DescribeActivityExecutionResponse +) +@typing.final class PollActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12110,7 +12879,7 @@ class PollActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "namespace", @@ -12120,8 +12889,11 @@ class PollActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PollActivityExecutionRequest = PollActivityExecutionRequest +Global___PollActivityExecutionRequest: typing_extensions.TypeAlias = ( + PollActivityExecutionRequest +) +@typing.final class PollActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12141,17 +12913,17 @@ class PollActivityExecutionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["outcome", b"outcome"] + self, field_name: typing.Literal["outcome", b"outcome"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "outcome", b"outcome", "run_id", b"run_id" - ], + self, field_name: typing.Literal["outcome", b"outcome", "run_id", b"run_id"] ) -> None: ... -global___PollActivityExecutionResponse = PollActivityExecutionResponse +Global___PollActivityExecutionResponse: typing_extensions.TypeAlias = ( + PollActivityExecutionResponse +) +@typing.final class ListActivityExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12176,7 +12948,7 @@ class ListActivityExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -12188,21 +12960,24 @@ class ListActivityExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListActivityExecutionsRequest = ListActivityExecutionsRequest +Global___ListActivityExecutionsRequest: typing_extensions.TypeAlias = ( + ListActivityExecutionsRequest +) +@typing.final class ListActivityExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes + """Token to use to fetch the next page. If empty, there is no next page.""" @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.activity.v1.message_pb2.ActivityExecutionListInfo ]: ... - next_page_token: builtins.bytes - """Token to use to fetch the next page. If empty, there is no next page.""" def __init__( self, *, @@ -12214,16 +12989,20 @@ class ListActivityExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -global___ListActivityExecutionsResponse = ListActivityExecutionsResponse +Global___ListActivityExecutionsResponse: typing_extensions.TypeAlias = ( + ListActivityExecutionsResponse +) +@typing.final class StartNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12238,8 +13017,7 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -12276,6 +13054,18 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" + id_reuse_policy: ( + temporalio.api.enums.v1.nexus_pb2.NexusOperationIdReusePolicy.ValueType + ) + """Defines whether to allow re-using the operation id from a previously *closed* operation. + The default policy is NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE. + """ + id_conflict_policy: ( + temporalio.api.enums.v1.nexus_pb2.NexusOperationIdConflictPolicy.ValueType + ) + """Defines how to resolve an operation id conflict with a *running* operation. + The default policy is NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL. + """ @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -12284,6 +13074,7 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -12293,6 +13084,7 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -12302,26 +13094,17 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ + @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Serialized input to the operation. Passed as the request payload.""" - id_reuse_policy: ( - temporalio.api.enums.v1.nexus_pb2.NexusOperationIdReusePolicy.ValueType - ) - """Defines whether to allow re-using the operation id from a previously *closed* operation. - The default policy is NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE. - """ - id_conflict_policy: ( - temporalio.api.enums.v1.nexus_pb2.NexusOperationIdConflictPolicy.ValueType - ) - """Defines how to resolve an operation id conflict with a *running* operation. - The default policy is NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL. - """ + @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes for indexing.""" + @property def nexus_header( self, @@ -12333,9 +13116,11 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ + @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.""" + def __init__( self, *, @@ -12360,7 +13145,7 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -12377,7 +13162,7 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "endpoint", b"endpoint", "id_conflict_policy", @@ -12413,8 +13198,11 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___StartNexusOperationExecutionRequest = StartNexusOperationExecutionRequest +Global___StartNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( + StartNexusOperationExecutionRequest +) +@typing.final class StartNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12431,14 +13219,14 @@ class StartNexusOperationExecutionResponse(google.protobuf.message.Message): started: builtins.bool = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "run_id", b"run_id", "started", b"started" - ], + self, field_name: typing.Literal["run_id", b"run_id", "started", b"started"] ) -> None: ... -global___StartNexusOperationExecutionResponse = StartNexusOperationExecutionResponse +Global___StartNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( + StartNexusOperationExecutionResponse +) +@typing.final class DescribeNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12476,7 +13264,7 @@ class DescribeNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "include_input", b"include_input", "include_outcome", @@ -12492,8 +13280,11 @@ class DescribeNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DescribeNexusOperationExecutionRequest = DescribeNexusOperationExecutionRequest +Global___DescribeNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( + DescribeNexusOperationExecutionRequest +) +@typing.final class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12505,22 +13296,26 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): LONG_POLL_TOKEN_FIELD_NUMBER: builtins.int run_id: builtins.str """The run ID of the operation, useful when run_id was not specified in the request.""" + long_poll_token: builtins.bytes + """Token for follow-on long-poll requests. Absent only if the operation is complete.""" @property def info(self) -> temporalio.api.nexus.v1.message_pb2.NexusOperationExecutionInfo: """Information about the operation.""" + @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Serialized operation input, passed as the request payload. Only set if include_input was true in the request. """ + @property def result(self) -> temporalio.api.common.v1.message_pb2.Payload: """The result if the operation completed successfully.""" + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The failure if the operation completed unsuccessfully.""" - long_poll_token: builtins.bytes - """Token for follow-on long-poll requests. Absent only if the operation is complete.""" + def __init__( self, *, @@ -12534,7 +13329,7 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "info", @@ -12549,7 +13344,7 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "info", @@ -12567,13 +13362,14 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["outcome", b"outcome"] - ) -> typing_extensions.Literal["result", "failure"] | None: ... + self, oneof_group: typing.Literal["outcome", b"outcome"] + ) -> typing.Literal["result", "failure"] | None: ... -global___DescribeNexusOperationExecutionResponse = ( +Global___DescribeNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( DescribeNexusOperationExecutionResponse ) +@typing.final class PollNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12597,7 +13393,7 @@ class PollNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "operation_id", @@ -12609,8 +13405,11 @@ class PollNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___PollNexusOperationExecutionRequest = PollNexusOperationExecutionRequest +Global___PollNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( + PollNexusOperationExecutionRequest +) +@typing.final class PollNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12628,9 +13427,11 @@ class PollNexusOperationExecutionResponse(google.protobuf.message.Message): @property def result(self) -> temporalio.api.common.v1.message_pb2.Payload: """The result if the operation completed successfully.""" + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The failure if the operation completed unsuccessfully.""" + def __init__( self, *, @@ -12642,13 +13443,13 @@ class PollNexusOperationExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "outcome", b"outcome", "result", b"result" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "operation_token", @@ -12664,11 +13465,14 @@ class PollNexusOperationExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["outcome", b"outcome"] - ) -> typing_extensions.Literal["result", "failure"] | None: ... + self, oneof_group: typing.Literal["outcome", b"outcome"] + ) -> typing.Literal["result", "failure"] | None: ... -global___PollNexusOperationExecutionResponse = PollNexusOperationExecutionResponse +Global___PollNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( + PollNexusOperationExecutionResponse +) +@typing.final class ListNexusOperationExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12707,7 +13511,7 @@ class ListNexusOperationExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "next_page_token", @@ -12719,21 +13523,24 @@ class ListNexusOperationExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -global___ListNexusOperationExecutionsRequest = ListNexusOperationExecutionsRequest +Global___ListNexusOperationExecutionsRequest: typing_extensions.TypeAlias = ( + ListNexusOperationExecutionsRequest +) +@typing.final class ListNexusOperationExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor OPERATIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int + next_page_token: builtins.bytes + """Token to use to fetch the next page. If empty, there is no next page.""" @property def operations( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.nexus.v1.message_pb2.NexusOperationExecutionListInfo ]: ... - next_page_token: builtins.bytes - """Token to use to fetch the next page. If empty, there is no next page.""" def __init__( self, *, @@ -12745,13 +13552,16 @@ class ListNexusOperationExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "next_page_token", b"next_page_token", "operations", b"operations" ], ) -> None: ... -global___ListNexusOperationExecutionsResponse = ListNexusOperationExecutionsResponse +Global___ListNexusOperationExecutionsResponse: typing_extensions.TypeAlias = ( + ListNexusOperationExecutionsResponse +) +@typing.final class CountActivityExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12767,29 +13577,30 @@ class CountActivityExecutionsRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "query", b"query" - ], + self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] ) -> None: ... -global___CountActivityExecutionsRequest = CountActivityExecutionsRequest +Global___CountActivityExecutionsRequest: typing_extensions.TypeAlias = ( + CountActivityExecutionsRequest +) +@typing.final class CountActivityExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int + count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... - count: builtins.int def __init__( self, *, @@ -12801,7 +13612,7 @@ class CountActivityExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -12819,27 +13630,30 @@ class CountActivityExecutionsResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CountActivityExecutionsResponse.AggregationGroup + Global___CountActivityExecutionsResponse.AggregationGroup ]: """Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ + def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - global___CountActivityExecutionsResponse.AggregationGroup + Global___CountActivityExecutionsResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], + self, field_name: typing.Literal["count", b"count", "groups", b"groups"] ) -> None: ... -global___CountActivityExecutionsResponse = CountActivityExecutionsResponse +Global___CountActivityExecutionsResponse: typing_extensions.TypeAlias = ( + CountActivityExecutionsResponse +) +@typing.final class CountNexusOperationExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12857,29 +13671,30 @@ class CountNexusOperationExecutionsRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "namespace", b"namespace", "query", b"query" - ], + self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] ) -> None: ... -global___CountNexusOperationExecutionsRequest = CountNexusOperationExecutionsRequest +Global___CountNexusOperationExecutionsRequest: typing_extensions.TypeAlias = ( + CountNexusOperationExecutionsRequest +) +@typing.final class CountNexusOperationExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int + count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... - count: builtins.int def __init__( self, *, @@ -12891,7 +13706,7 @@ class CountNexusOperationExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -12909,27 +13724,30 @@ class CountNexusOperationExecutionsResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___CountNexusOperationExecutionsResponse.AggregationGroup + Global___CountNexusOperationExecutionsResponse.AggregationGroup ]: """Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ + def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - global___CountNexusOperationExecutionsResponse.AggregationGroup + Global___CountNexusOperationExecutionsResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], + self, field_name: typing.Literal["count", b"count", "groups", b"groups"] ) -> None: ... -global___CountNexusOperationExecutionsResponse = CountNexusOperationExecutionsResponse +Global___CountNexusOperationExecutionsResponse: typing_extensions.TypeAlias = ( + CountNexusOperationExecutionsResponse +) +@typing.final class RequestCancelActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12963,7 +13781,7 @@ class RequestCancelActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "identity", @@ -12979,8 +13797,11 @@ class RequestCancelActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___RequestCancelActivityExecutionRequest = RequestCancelActivityExecutionRequest +Global___RequestCancelActivityExecutionRequest: typing_extensions.TypeAlias = ( + RequestCancelActivityExecutionRequest +) +@typing.final class RequestCancelActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12988,8 +13809,11 @@ class RequestCancelActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___RequestCancelActivityExecutionResponse = RequestCancelActivityExecutionResponse +Global___RequestCancelActivityExecutionResponse: typing_extensions.TypeAlias = ( + RequestCancelActivityExecutionResponse +) +@typing.final class TerminateActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13021,7 +13845,7 @@ class TerminateActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "identity", @@ -13037,8 +13861,11 @@ class TerminateActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___TerminateActivityExecutionRequest = TerminateActivityExecutionRequest +Global___TerminateActivityExecutionRequest: typing_extensions.TypeAlias = ( + TerminateActivityExecutionRequest +) +@typing.final class TerminateActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13046,8 +13873,11 @@ class TerminateActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___TerminateActivityExecutionResponse = TerminateActivityExecutionResponse +Global___TerminateActivityExecutionResponse: typing_extensions.TypeAlias = ( + TerminateActivityExecutionResponse +) +@typing.final class DeleteActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13067,7 +13897,7 @@ class DeleteActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "namespace", @@ -13077,8 +13907,11 @@ class DeleteActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteActivityExecutionRequest = DeleteActivityExecutionRequest +Global___DeleteActivityExecutionRequest: typing_extensions.TypeAlias = ( + DeleteActivityExecutionRequest +) +@typing.final class DeleteActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13086,8 +13919,11 @@ class DeleteActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteActivityExecutionResponse = DeleteActivityExecutionResponse +Global___DeleteActivityExecutionResponse: typing_extensions.TypeAlias = ( + DeleteActivityExecutionResponse +) +@typing.final class RequestCancelNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13119,7 +13955,7 @@ class RequestCancelNexusOperationExecutionRequest(google.protobuf.message.Messag ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -13135,10 +13971,11 @@ class RequestCancelNexusOperationExecutionRequest(google.protobuf.message.Messag ], ) -> None: ... -global___RequestCancelNexusOperationExecutionRequest = ( +Global___RequestCancelNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( RequestCancelNexusOperationExecutionRequest ) +@typing.final class RequestCancelNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13146,10 +13983,11 @@ class RequestCancelNexusOperationExecutionResponse(google.protobuf.message.Messa self, ) -> None: ... -global___RequestCancelNexusOperationExecutionResponse = ( +Global___RequestCancelNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( RequestCancelNexusOperationExecutionResponse ) +@typing.final class TerminateNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13181,7 +14019,7 @@ class TerminateNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "identity", b"identity", "namespace", @@ -13197,10 +14035,11 @@ class TerminateNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___TerminateNexusOperationExecutionRequest = ( +Global___TerminateNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( TerminateNexusOperationExecutionRequest ) +@typing.final class TerminateNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13208,10 +14047,11 @@ class TerminateNexusOperationExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___TerminateNexusOperationExecutionResponse = ( +Global___TerminateNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( TerminateNexusOperationExecutionResponse ) +@typing.final class DeleteNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13231,7 +14071,7 @@ class DeleteNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "operation_id", @@ -13241,8 +14081,11 @@ class DeleteNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -global___DeleteNexusOperationExecutionRequest = DeleteNexusOperationExecutionRequest +Global___DeleteNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( + DeleteNexusOperationExecutionRequest +) +@typing.final class DeleteNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13250,4 +14093,6 @@ class DeleteNexusOperationExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -global___DeleteNexusOperationExecutionResponse = DeleteNexusOperationExecutionResponse +Global___DeleteNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( + DeleteNexusOperationExecutionResponse +) diff --git a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py index bf947056a..05d174276 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py @@ -1,4 +1,28 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc + +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/workflowservice/v1/request_response_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) diff --git a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi index f3a5a087e..56d3cebc2 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi @@ -2,3 +2,23 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + +import abc +import collections.abc +import typing + +import grpc +import grpc.aio + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str diff --git a/temporalio/api/workflowservice/v1/service_pb2.py b/temporalio/api/workflowservice/v1/service_pb2.py index bc9ca40a4..02b7dd745 100644 --- a/temporalio/api/workflowservice/v1/service_pb2.py +++ b/temporalio/api/workflowservice/v1/service_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/workflowservice/v1/service.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/api/workflowservice/v1/service.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -27,494 +37,697 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x1cgoogle/api/annotations.proto\x1a!nexusannotations/v1/options.proto\x1a+temporal/api/protometa/v1/annotations.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto2\xbd\xad\x02\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse"7\x82\xd3\xe4\x93\x02\x31"\x13/cluster/namespaces:\x01*Z\x17"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse"]\x82\xd3\xe4\x93\x02W"&/cluster/namespaces/{namespace}/update:\x01*Z*"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse"\x00\x12\xc6\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse"\xaa\x01\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x12\xc2\x01\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfe\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse"\xd3\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xa3\x03\n"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse"\xe3\x01\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xcd\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd7\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xce\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcd\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xc2\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse"\x97\x01\x82\xd3\xe4\x93\x02g"*/namespaces/{namespace}/activity-heartbeat:\x01*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xa8\x04\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse"\xf1\x02\x82\xd3\xe4\x93\x02\xc0\x02":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xc3\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse"\x95\x01\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/activity-complete:\x01*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xa7\x04\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse"\xed\x02\x82\xd3\xe4\x93\x02\xbc\x02"9/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xb2\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse"\x8d\x01\x82\xd3\xe4\x93\x02]"%/namespaces/{namespace}/activity-fail:\x01*Z1",/api/v1/namespaces/{namespace}/activity-fail:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\x8e\x04\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse"\xdd\x02\x82\xd3\xe4\x93\x02\xac\x02"5/namespaces/{namespace}/activities/{activity_id}/fail:\x01*ZA".temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse"\xf0\x01\x82\xd3\xe4\x93\x02\xa3\x01"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa0\x03\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse"\xf8\x01\x82\xd3\xe4\x93\x02\xab\x01"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xe4\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse"F\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse"\x00\x12\xd9\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd2\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse"=\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse"\x00\x12\xfc\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse"\xfb\x01\x82\xd3\xe4\x93\x02\xb7\x01"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xe7\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse"\xc2\x01\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xc2\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse"\xb5\x01\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x12\xa8\x02\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse"\xa4\x01\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xe2\x01\n\x0e\x43ountSchedules\x12\x36.temporal.api.workflowservice.v1.CountSchedulesRequest\x1a\x37.temporal.api.workflowservice.v1.CountSchedulesResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/schedule-countZ/\x12-/api/v1/namespaces/{namespace}/schedule-count\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\x81\x04\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse"\xca\x02\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xb0\x03\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse"\xf3\x01\x82\xd3\xe4\x93\x02\xb3\x01"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x12\xe7\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xae\x02\n\x16\x43reateWorkerDeployment\x12>.temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse"\x92\x01\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse"\xa0\x01\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\xc4\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd9\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd0\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xe8\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse"\xcf\x01\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse"\x95\x01\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/workers/heartbeat:\x01*Z5"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xe2\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse"\xc9\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16taskqueue:{task_queue}\x12\xa8\x02\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse"\x9b\x01\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/workers/fetch-config:\x01*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xad\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse"\x9d\x01\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/workers/update-config:\x01*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcd\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse"\xc9\x01\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\x12\x45/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1cworker:{worker_instance_key}\x12\xd2\x02\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse"\xb6\x01\x82\xd3\xe4\x93\x02}"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*ZA"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x12\xc8\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse"\xac\x01\x82\xd3\xe4\x93\x02s"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xb6\x02\n\x1cStartNexusOperationExecution\x12\x44.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest\x1a\x45.temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse"\x88\x01\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*ZC">/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*\x12\xcb\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse"\xa6\x01\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xb8\x02\n\x1f\x44\x65scribeNexusOperationExecution\x12G.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest\x1aH.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse"\x81\x01\x82\xd3\xe4\x93\x02{\x12\x37/namespaces/{namespace}/nexus-operations/{operation_id}Z@\x12>/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}\x12\xcf\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse"\xb6\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xb7\x02\n\x1bPollNexusOperationExecution\x12\x43.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest\x1a\x44.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse"W\x82\xd3\xe4\x93\x02Q\x12"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\x90\x02\n\x1cListNexusOperationExecutions\x12\x44.temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/nexus-operationsZ1\x12//api/v1/namespaces/{namespace}/nexus-operations\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\x9d\x02\n\x1d\x43ountNexusOperationExecutions\x12\x45.temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest\x1a\x46.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse"m\x82\xd3\xe4\x93\x02g\x12-/namespaces/{namespace}/nexus-operation-countZ6\x12\x34/api/v1/namespaces/{namespace}/nexus-operation-count\x12\xef\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse"\xbb\x01\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xdc\x02\n$RequestCancelNexusOperationExecution\x12L.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest\x1aM.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*ZJ"E/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*\x12\xe9\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse"\xc1\x01\x82\xd3\xe4\x93\x02\x87\x01":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse"\x00\x12\xfd\x03\n\x16PauseActivityExecution\x12>.temporal.api.workflowservice.v1.PauseActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseActivityExecutionResponse"\xe1\x02\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfd\x03\n\x16ResetActivityExecution\x12>.temporal.api.workflowservice.v1.ResetActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetActivityExecutionResponse"\xe1\x02\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\x8b\x04\n\x18UnpauseActivityExecution\x12@.temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest\x1a\x41.temporal.api.workflowservice.v1.UnpauseActivityExecutionResponse"\xe9\x02\x82\xd3\xe4\x93\x02\xb8\x02"8/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xb9\x04\n\x1eUpdateActivityExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsResponse"\x85\x03\x82\xd3\xe4\x93\x02\xd4\x02"?/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xd6\x02\n TerminateNexusOperationExecution\x12H.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest\x1aI.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01"A/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*ZM"H/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*\x12\xb0\x01\n\x1d\x44\x65leteNexusOperationExecution\x12\x45.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest\x1a\x46.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse"\x00\x42\xb6\x01\n"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' + b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x1cgoogle/api/annotations.proto\x1a!nexusannotations/v1/options.proto\x1a+temporal/api/protometa/v1/annotations.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto2\x98\xaf\x02\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse"7\x82\xd3\xe4\x93\x02\x31"\x13/cluster/namespaces:\x01*Z\x17"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse"]\x82\xd3\xe4\x93\x02W"&/cluster/namespaces/{namespace}/update:\x01*Z*"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse"\x00\x12\xc6\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse"\xaa\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xc2\x01\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfe\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse"\xd3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xa3\x03\n"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse"\xe3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\xcd\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd7\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xce\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcd\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xc2\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse"\x97\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02g"*/namespaces/{namespace}/activity-heartbeat:\x01*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\x01*\x12\xa8\x04\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse"\xf1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xc0\x02":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*\x12\xc3\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/activity-complete:\x01*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\x01*\x12\xa7\x04\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse"\xed\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xbc\x02"9/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*\x12\xb2\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse"\x8d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02]"%/namespaces/{namespace}/activity-fail:\x01*Z1",/api/v1/namespaces/{namespace}/activity-fail:\x01*\x12\x8e\x04\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse"\xdd\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xac\x02"5/namespaces/{namespace}/activities/{activity_id}/fail:\x01*ZA".temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse"\xf0\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xa3\x01"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xa0\x03\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse"\xf8\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xab\x01"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\xe4\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse"F\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse"\x00\x12\xd9\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd2\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse"=\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse"\x00\x12\xfc\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse"\xfb\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\xb7\x01"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xe7\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse"\xc2\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\xc2\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse"\xb5\x01\x8a\x9d\xcc\x1b\x33\n\x14temporal-resource-id\x12\x1btaskqueue:{task_queue.name}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xa8\x02\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse"\xa4\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xe2\x01\n\x0e\x43ountSchedules\x12\x36.temporal.api.workflowservice.v1.CountSchedulesRequest\x1a\x37.temporal.api.workflowservice.v1.CountSchedulesResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/schedule-countZ/\x12-/api/v1/namespaces/{namespace}/schedule-count\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\x81\x04\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse"\xca\x02\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xb0\x03\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse"\xf3\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\xb3\x01"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xe7\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xae\x02\n\x16\x43reateWorkerDeployment\x12>.temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse"\x92\x01\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse"\xa0\x01\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\xc4\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd9\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd0\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xe8\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse"\xcf\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/workers/heartbeat:\x01*Z5"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xd8\x01\n\x0c\x43ountWorkers\x12\x34.temporal.api.workflowservice.v1.CountWorkersRequest\x1a\x35.temporal.api.workflowservice.v1.CountWorkersResponse"[\x82\xd3\xe4\x93\x02U\x12$/namespaces/{namespace}/worker-countZ-\x12+/api/v1/namespaces/{namespace}/worker-count\x12\xe2\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse"\xc9\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16taskqueue:{task_queue}\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xa8\x02\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse"\x9b\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/workers/fetch-config:\x01*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\xad\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse"\x9d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/workers/update-config:\x01*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x12\xcd\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse"\xc9\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1cworker:{worker_instance_key}\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\x12\x45/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x12\xd2\x02\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02}"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*ZA"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x12\xc8\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse"\xac\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02s"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x12\xb6\x02\n\x1cStartNexusOperationExecution\x12\x44.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest\x1a\x45.temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse"\x88\x01\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*ZC">/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*\x12\xcb\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse"\xa6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x12\xb8\x02\n\x1f\x44\x65scribeNexusOperationExecution\x12G.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest\x1aH.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse"\x81\x01\x82\xd3\xe4\x93\x02{\x12\x37/namespaces/{namespace}/nexus-operations/{operation_id}Z@\x12>/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}\x12\xcf\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x12\xb7\x02\n\x1bPollNexusOperationExecution\x12\x43.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest\x1a\x44.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse"W\x82\xd3\xe4\x93\x02Q\x12"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\x90\x02\n\x1cListNexusOperationExecutions\x12\x44.temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/nexus-operationsZ1\x12//api/v1/namespaces/{namespace}/nexus-operations\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\x9d\x02\n\x1d\x43ountNexusOperationExecutions\x12\x45.temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest\x1a\x46.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse"m\x82\xd3\xe4\x93\x02g\x12-/namespaces/{namespace}/nexus-operation-countZ6\x12\x34/api/v1/namespaces/{namespace}/nexus-operation-count\x12\xef\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse"\xbb\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x12\xdc\x02\n$RequestCancelNexusOperationExecution\x12L.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest\x1aM.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*ZJ"E/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*\x12\xe9\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse"\xc1\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x87\x01":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse"\x00\x12\xfd\x03\n\x16PauseActivityExecution\x12>.temporal.api.workflowservice.v1.PauseActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseActivityExecutionResponse"\xe1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*\x12\xfd\x03\n\x16ResetActivityExecution\x12>.temporal.api.workflowservice.v1.ResetActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetActivityExecutionResponse"\xe1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*\x12\x8b\x04\n\x18UnpauseActivityExecution\x12@.temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest\x1a\x41.temporal.api.workflowservice.v1.UnpauseActivityExecutionResponse"\xe9\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xb8\x02"8/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*\x12\xb9\x04\n\x1eUpdateActivityExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsResponse"\x85\x03\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xd4\x02"?/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*\x12\xd6\x02\n TerminateNexusOperationExecution\x12H.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest\x1aI.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01"A/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*ZM"H/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*\x12\xb0\x01\n\x1d\x44\x65leteNexusOperationExecution\x12\x45.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest\x1a\x46.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse"\x00\x42\xb6\x01\n"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' ) - -_WORKFLOWSERVICE = DESCRIPTOR.services_by_name["WorkflowService"] -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _WORKFLOWSERVICE.methods_by_name["RegisterNamespace"]._options = None - _WORKFLOWSERVICE.methods_by_name[ +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.api.workflowservice.v1.service_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RegisterNamespace" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RegisterNamespace" ]._serialized_options = b'\202\323\344\223\0021"\023/cluster/namespaces:\001*Z\027"\022/api/v1/namespaces:\001*' - _WORKFLOWSERVICE.methods_by_name["DescribeNamespace"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "DescribeNamespace" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DescribeNamespace" ]._serialized_options = b"\202\323\344\223\002C\022\037/cluster/namespaces/{namespace}Z \022\036/api/v1/namespaces/{namespace}" - _WORKFLOWSERVICE.methods_by_name["ListNamespaces"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "ListNamespaces" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "ListNamespaces" ]._serialized_options = b"\202\323\344\223\002+\022\023/cluster/namespacesZ\024\022\022/api/v1/namespaces" - _WORKFLOWSERVICE.methods_by_name["UpdateNamespace"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "UpdateNamespace" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "UpdateNamespace" ]._serialized_options = b'\202\323\344\223\002W"&/cluster/namespaces/{namespace}/update:\001*Z*"%/api/v1/namespaces/{namespace}/update:\001*' - _WORKFLOWSERVICE.methods_by_name["StartWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ "StartWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002q"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}' - _WORKFLOWSERVICE.methods_by_name["ExecuteMultiOperation"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "StartWorkflowExecution" + ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}\202\323\344\223\002q"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "ExecuteMultiOperation" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "ExecuteMultiOperation" ]._serialized_options = ( b"\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}" ) - _WORKFLOWSERVICE.methods_by_name["GetWorkflowExecutionHistory"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "GetWorkflowExecutionHistory" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetWorkflowExecutionHistory" - ]._serialized_options = b"\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}" - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b"\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history" + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetWorkflowExecutionHistoryReverse" - ]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetWorkflowExecutionHistoryReverse" - ]._serialized_options = b"\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}" - _WORKFLOWSERVICE.methods_by_name["PollWorkflowTaskQueue"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b"\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse" + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "PollWorkflowTaskQueue" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "PollWorkflowTaskQueue" ]._serialized_options = ( b"\212\235\314\0330\n\024temporal-resource-id\022\030poller:{poller_group_id}" ) - _WORKFLOWSERVICE.methods_by_name["RespondWorkflowTaskCompleted"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RespondWorkflowTaskCompleted" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RespondWorkflowTaskCompleted" ]._serialized_options = ( b"\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}" ) - _WORKFLOWSERVICE.methods_by_name["RespondWorkflowTaskFailed"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RespondWorkflowTaskFailed" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RespondWorkflowTaskFailed" ]._serialized_options = ( b"\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}" ) - _WORKFLOWSERVICE.methods_by_name["PollActivityTaskQueue"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "PollActivityTaskQueue" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "PollActivityTaskQueue" ]._serialized_options = ( b"\212\235\314\0330\n\024temporal-resource-id\022\030poller:{poller_group_id}" ) - _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeat"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RecordActivityTaskHeartbeat" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RecordActivityTaskHeartbeat" - ]._serialized_options = b'\202\323\344\223\002g"*/namespaces/{namespace}/activity-heartbeat:\001*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeatById"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002g"*/namespaces/{namespace}/activity-heartbeat:\001*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RecordActivityTaskHeartbeatById" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RecordActivityTaskHeartbeatById" - ]._serialized_options = b'\202\323\344\223\002\300\002":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompleted"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\300\002":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RespondActivityTaskCompleted" - ]._serialized_options = b'\202\323\344\223\002e")/namespaces/{namespace}/activity-complete:\001*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompletedById"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RespondActivityTaskCompleted" + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002e")/namespaces/{namespace}/activity-complete:\001*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RespondActivityTaskCompletedById" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RespondActivityTaskCompletedById" - ]._serialized_options = b'\202\323\344\223\002\274\002"9/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailed"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\274\002"9/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "RespondActivityTaskFailed" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RespondActivityTaskFailed" - ]._serialized_options = b'\202\323\344\223\002]"%/namespaces/{namespace}/activity-fail:\001*Z1",/api/v1/namespaces/{namespace}/activity-fail:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailedById"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002]"%/namespaces/{namespace}/activity-fail:\001*Z1",/api/v1/namespaces/{namespace}/activity-fail:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RespondActivityTaskFailedById" - ]._serialized_options = b'\202\323\344\223\002\254\002"5/namespaces/{namespace}/activities/{activity_id}/fail:\001*ZA"\022\022/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\212\235\314\033.\n\024temporal-resource-id\022\026schedule:{schedule_id}" - _WORKFLOWSERVICE.methods_by_name["DeleteSchedule"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b"\212\235\314\033.\n\024temporal-resource-id\022\026schedule:{schedule_id}\202\323\344\223\002\211\001\022>/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times" + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DeleteSchedule" - ]._serialized_options = b"\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\212\235\314\033.\n\024temporal-resource-id\022\026schedule:{schedule_id}" - _WORKFLOWSERVICE.methods_by_name["ListSchedules"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "DeleteSchedule" + ]._serialized_options = b"\212\235\314\033.\n\024temporal-resource-id\022\026schedule:{schedule_id}\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}" + _globals["_WORKFLOWSERVICE"].methods_by_name["ListSchedules"]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "ListSchedules" ]._serialized_options = b"\202\323\344\223\002O\022!/namespaces/{namespace}/schedulesZ*\022(/api/v1/namespaces/{namespace}/schedules" - _WORKFLOWSERVICE.methods_by_name["CountSchedules"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "CountSchedules" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "CountSchedules" ]._serialized_options = b"\202\323\344\223\002Y\022&/namespaces/{namespace}/schedule-countZ/\022-/api/v1/namespaces/{namespace}/schedule-count" - _WORKFLOWSERVICE.methods_by_name["GetWorkerBuildIdCompatibility"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "GetWorkerBuildIdCompatibility" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetWorkerBuildIdCompatibility" ]._serialized_options = b"\202\323\344\223\002\251\001\022N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\022U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility" - _WORKFLOWSERVICE.methods_by_name["GetWorkerVersioningRules"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "GetWorkerVersioningRules" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetWorkerVersioningRules" ]._serialized_options = b"\202\323\344\223\002\235\001\022H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\022O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules" - _WORKFLOWSERVICE.methods_by_name["GetWorkerTaskReachability"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "GetWorkerTaskReachability" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetWorkerTaskReachability" ]._serialized_options = b"\202\323\344\223\002m\0220/namespaces/{namespace}/worker-task-reachabilityZ9\0227/api/v1/namespaces/{namespace}/worker-task-reachability" - _WORKFLOWSERVICE.methods_by_name["DescribeDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "DescribeDeployment" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DescribeDeployment" ]._serialized_options = b"\202\323\344\223\002\261\001\022R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\022Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}" - _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeploymentVersion"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DescribeWorkerDeploymentVersion" - ]._serialized_options = b"\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\212\235\314\033G\n\024temporal-resource-id\022/deployment:{deployment_version.deployment_name}" - _WORKFLOWSERVICE.methods_by_name["ListDeployments"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "DescribeWorkerDeploymentVersion" + ]._serialized_options = b"\212\235\314\033G\n\024temporal-resource-id\022/deployment:{deployment_version.deployment_name}\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}" + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "ListDeployments" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "ListDeployments" ]._serialized_options = b"\202\323\344\223\002S\022#/namespaces/{namespace}/deploymentsZ,\022*/api/v1/namespaces/{namespace}/deployments" - _WORKFLOWSERVICE.methods_by_name["GetDeploymentReachability"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "GetDeploymentReachability" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetDeploymentReachability" ]._serialized_options = b"\202\323\344\223\002\313\001\022_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\022f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability" - _WORKFLOWSERVICE.methods_by_name["GetCurrentDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "GetCurrentDeployment" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "GetCurrentDeployment" ]._serialized_options = b"\202\323\344\223\002}\0228/namespaces/{namespace}/current-deployment/{series_name}ZA\022?/api/v1/namespaces/{namespace}/current-deployment/{series_name}" - _WORKFLOWSERVICE.methods_by_name["SetCurrentDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "SetCurrentDeployment" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "SetCurrentDeployment" ]._serialized_options = b'\202\323\344\223\002\231\001"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*' - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ "SetWorkerDeploymentCurrentVersion" - ]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "SetWorkerDeploymentCurrentVersion" - ]._serialized_options = b'\202\323\344\223\002\263\001"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*\212\235\314\0334\n\024temporal-resource-id\022\034deployment:{deployment_name}' - _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeployment"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\0334\n\024temporal-resource-id\022\034deployment:{deployment_name}\202\323\344\223\002\263\001"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DescribeWorkerDeployment" - ]._serialized_options = b"\202\323\344\223\002\205\001\022/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*\212\235\314\033.\n\024temporal-resource-id\022\026taskqueue:{task_queue}' - _WORKFLOWSERVICE.methods_by_name["FetchWorkerConfig"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "UpdateTaskQueueConfig" + ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026taskqueue:{task_queue}\202\323\344\223\002\217\001">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "FetchWorkerConfig" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "FetchWorkerConfig" - ]._serialized_options = b'\202\323\344\223\002k",/namespaces/{namespace}/workers/fetch-config:\001*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["UpdateWorkerConfig"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002k",/namespaces/{namespace}/workers/fetch-config:\001*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ "UpdateWorkerConfig" - ]._serialized_options = b'\202\323\344\223\002m"-/namespaces/{namespace}/workers/update-config:\001*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["DescribeWorker"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "UpdateWorkerConfig" + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002m"-/namespaces/{namespace}/workers/update-config:\001*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "DescribeWorker" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DescribeWorker" - ]._serialized_options = b"\202\323\344\223\002\211\001\022>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\022E/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\212\235\314\0334\n\024temporal-resource-id\022\034worker:{worker_instance_key}" - _WORKFLOWSERVICE.methods_by_name["PauseWorkflowExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b"\212\235\314\0334\n\024temporal-resource-id\022\034worker:{worker_instance_key}\202\323\344\223\002\211\001\022>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\022E/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}" + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "PauseWorkflowExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "PauseWorkflowExecution" - ]._serialized_options = b'\202\323\344\223\002}"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\001*ZA"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\001*\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}' - _WORKFLOWSERVICE.methods_by_name["StartActivityExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "UnpauseWorkflowExecution" + ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}\202\323\344\223\002\201\001"7/namespaces/{namespace}/workflows/{workflow_id}/unpause:\001*ZC">/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "StartActivityExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "StartActivityExecution" - ]._serialized_options = b'\202\323\344\223\002s"0/namespaces/{namespace}/activities/{activity_id}:\001*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\001*\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}' - _WORKFLOWSERVICE.methods_by_name["StartNexusOperationExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002s"0/namespaces/{namespace}/activities/{activity_id}:\001*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "StartNexusOperationExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "StartNexusOperationExecution" ]._serialized_options = b'\202\323\344\223\002\201\001"7/namespaces/{namespace}/nexus-operations/{operation_id}:\001*ZC">/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}:\001*' - _WORKFLOWSERVICE.methods_by_name["DescribeActivityExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DescribeActivityExecution" - ]._serialized_options = b"\202\323\344\223\002m\0220/namespaces/{namespace}/activities/{activity_id}Z9\0227/api/v1/namespaces/{namespace}/activities/{activity_id}\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}" - _WORKFLOWSERVICE.methods_by_name["DescribeNexusOperationExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "DescribeActivityExecution" + ]._serialized_options = b"\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002m\0220/namespaces/{namespace}/activities/{activity_id}Z9\0227/api/v1/namespaces/{namespace}/activities/{activity_id}" + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "DescribeNexusOperationExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "DescribeNexusOperationExecution" ]._serialized_options = b"\202\323\344\223\002{\0227/namespaces/{namespace}/nexus-operations/{operation_id}Z@\022>/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}" - _WORKFLOWSERVICE.methods_by_name["PollActivityExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "PollActivityExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "PollActivityExecution" - ]._serialized_options = b"\202\323\344\223\002}\0228/namespaces/{namespace}/activities/{activity_id}/outcomeZA\022?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}" - _WORKFLOWSERVICE.methods_by_name["PollNexusOperationExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b"\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002}\0228/namespaces/{namespace}/activities/{activity_id}/outcomeZA\022?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome" + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "PollNexusOperationExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "PollNexusOperationExecution" ]._serialized_options = b"\202\323\344\223\002\205\001\022/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\001*\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}' - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002\201\001"7/namespaces/{namespace}/activities/{activity_id}/cancel:\001*ZC">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RequestCancelNexusOperationExecution" - ]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "RequestCancelNexusOperationExecution" ]._serialized_options = b'\202\323\344\223\002\217\001">/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\001*ZJ"E/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\001*' - _WORKFLOWSERVICE.methods_by_name["TerminateActivityExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + _globals["_WORKFLOWSERVICE"].methods_by_name[ "TerminateActivityExecution" - ]._serialized_options = b'\202\323\344\223\002\207\001":/namespaces/{namespace}/activities/{activity_id}/terminate:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\001*\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}' - _WORKFLOWSERVICE.methods_by_name["PauseActivityExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "TerminateActivityExecution" + ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002\207\001":/namespaces/{namespace}/activities/{activity_id}/terminate:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "PauseActivityExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "PauseActivityExecution" - ]._serialized_options = b'\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["ResetActivityExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "ResetActivityExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "ResetActivityExecution" - ]._serialized_options = b'\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["UnpauseActivityExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ "UnpauseActivityExecution" - ]._serialized_options = b'\202\323\344\223\002\270\002"8/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["UpdateActivityExecutionOptions"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "UnpauseActivityExecution" + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\270\002"8/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "UpdateActivityExecutionOptions" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "UpdateActivityExecutionOptions" - ]._serialized_options = b'\202\323\344\223\002\324\002"?/namespaces/{namespace}/activities/{activity_id}/update-options:\001*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\001*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' - _WORKFLOWSERVICE.methods_by_name["TerminateNexusOperationExecution"]._options = None - _WORKFLOWSERVICE.methods_by_name[ + ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\324\002"?/namespaces/{namespace}/activities/{activity_id}/update-options:\001*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\001*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*' + _globals["_WORKFLOWSERVICE"].methods_by_name[ + "TerminateNexusOperationExecution" + ]._loaded_options = None + _globals["_WORKFLOWSERVICE"].methods_by_name[ "TerminateNexusOperationExecution" ]._serialized_options = b'\202\323\344\223\002\225\001"A/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\001*ZM"H/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\001*' - _WORKFLOWSERVICE._serialized_start = 250 - _WORKFLOWSERVICE._serialized_end = 38839 + _globals["_WORKFLOWSERVICE"]._serialized_start = 250 + _globals["_WORKFLOWSERVICE"]._serialized_end = 39058 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.py b/temporalio/api/workflowservice/v1/service_pb2_grpc.py index f0fcc6730..b8ca1350c 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.py @@ -1,14 +1,38 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" +import warnings + import grpc from temporalio.api.workflowservice.v1 import ( request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, ) +GRPC_GENERATED_VERSION = "1.81.1" +GRPC_VERSION = grpc.__version__ +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + + _version_not_supported = first_version_is_lower( + GRPC_VERSION, GRPC_GENERATED_VERSION + ) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + raise RuntimeError( + f"The grpc package installed is at version {GRPC_VERSION}," + + " but the generated code in temporal/api/workflowservice/v1/service_pb2_grpc.py depends on" + + f" grpcio>={GRPC_GENERATED_VERSION}." + + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" + + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." + ) + -class WorkflowServiceStub(object): +class WorkflowServiceStub: """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -32,610 +56,737 @@ def __init__(self, channel): "/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, + _registered_method=True, ) self.DescribeNamespace = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, + _registered_method=True, ) self.ListNamespaces = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, + _registered_method=True, ) self.UpdateNamespace = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, + _registered_method=True, ) self.DeprecateNamespace = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, + _registered_method=True, ) self.StartWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.ExecuteMultiOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, + _registered_method=True, ) self.GetWorkflowExecutionHistory = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, + _registered_method=True, ) self.GetWorkflowExecutionHistoryReverse = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, + _registered_method=True, ) self.PollWorkflowTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, + _registered_method=True, ) self.RespondWorkflowTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, + _registered_method=True, ) self.RespondWorkflowTaskFailed = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, + _registered_method=True, ) self.PollActivityTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, + _registered_method=True, ) self.RecordActivityTaskHeartbeat = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, + _registered_method=True, ) self.RecordActivityTaskHeartbeatById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, + _registered_method=True, ) self.RespondActivityTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, + _registered_method=True, ) self.RespondActivityTaskCompletedById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, + _registered_method=True, ) self.RespondActivityTaskFailed = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, + _registered_method=True, ) self.RespondActivityTaskFailedById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, + _registered_method=True, ) self.RespondActivityTaskCanceled = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, + _registered_method=True, ) self.RespondActivityTaskCanceledById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, + _registered_method=True, ) self.RequestCancelWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.SignalWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.SignalWithStartWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.ResetWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.TerminateWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.DeleteWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.ListOpenWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, + _registered_method=True, ) self.ListClosedWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, + _registered_method=True, ) self.ListWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, + _registered_method=True, ) self.ListArchivedWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, + _registered_method=True, ) self.ScanWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, + _registered_method=True, ) self.CountWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, + _registered_method=True, ) self.GetSearchAttributes = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, + _registered_method=True, ) self.RespondQueryTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, + _registered_method=True, ) self.ResetStickyTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, + _registered_method=True, ) self.ShutdownWorker = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, + _registered_method=True, ) self.QueryWorkflow = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, + _registered_method=True, ) self.DescribeWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.DescribeTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, + _registered_method=True, ) self.GetClusterInfo = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, + _registered_method=True, ) self.GetSystemInfo = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, + _registered_method=True, ) self.ListTaskQueuePartitions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, + _registered_method=True, ) self.CreateSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, + _registered_method=True, ) self.DescribeSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, + _registered_method=True, ) self.UpdateSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, + _registered_method=True, ) self.PatchSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, + _registered_method=True, ) self.ListScheduleMatchingTimes = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, + _registered_method=True, ) self.DeleteSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, + _registered_method=True, ) self.ListSchedules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListSchedules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, + _registered_method=True, ) self.CountSchedules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountSchedules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountSchedulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountSchedulesResponse.FromString, + _registered_method=True, ) self.UpdateWorkerBuildIdCompatibility = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, + _registered_method=True, ) self.GetWorkerBuildIdCompatibility = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, + _registered_method=True, ) self.UpdateWorkerVersioningRules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, + _registered_method=True, ) self.GetWorkerVersioningRules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, + _registered_method=True, ) self.GetWorkerTaskReachability = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, + _registered_method=True, ) self.DescribeDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, + _registered_method=True, ) self.DescribeWorkerDeploymentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, + _registered_method=True, ) self.ListDeployments = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListDeployments", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, + _registered_method=True, ) self.GetDeploymentReachability = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, + _registered_method=True, ) self.GetCurrentDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, + _registered_method=True, ) self.SetCurrentDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, + _registered_method=True, ) self.SetWorkerDeploymentCurrentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, + _registered_method=True, ) self.DescribeWorkerDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, + _registered_method=True, ) self.DeleteWorkerDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, + _registered_method=True, ) self.DeleteWorkerDeploymentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, + _registered_method=True, ) self.SetWorkerDeploymentRampingVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, + _registered_method=True, ) self.ListWorkerDeployments = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, + _registered_method=True, ) self.CreateWorkerDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentResponse.FromString, + _registered_method=True, ) self.CreateWorkerDeploymentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeploymentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentVersionResponse.FromString, + _registered_method=True, ) self.UpdateWorkerDeploymentVersionComputeConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionComputeConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionComputeConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionComputeConfigResponse.FromString, + _registered_method=True, ) self.ValidateWorkerDeploymentVersionComputeConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ValidateWorkerDeploymentVersionComputeConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ValidateWorkerDeploymentVersionComputeConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ValidateWorkerDeploymentVersionComputeConfigResponse.FromString, + _registered_method=True, ) self.UpdateWorkerDeploymentVersionMetadata = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, + _registered_method=True, ) self.SetWorkerDeploymentManager = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentManager", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentManagerRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentManagerResponse.FromString, + _registered_method=True, ) self.UpdateWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.PollWorkflowExecutionUpdate = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, + _registered_method=True, ) self.StartBatchOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, + _registered_method=True, ) self.StopBatchOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, + _registered_method=True, ) self.DescribeBatchOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, + _registered_method=True, ) self.ListBatchOperations = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, + _registered_method=True, ) self.PollNexusTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, + _registered_method=True, ) self.RespondNexusTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, + _registered_method=True, ) self.RespondNexusTaskFailed = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, + _registered_method=True, ) self.UpdateActivityOptions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, + _registered_method=True, ) self.UpdateWorkflowExecutionOptions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, + _registered_method=True, ) self.PauseActivity = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PauseActivity", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, + _registered_method=True, ) self.UnpauseActivity = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, + _registered_method=True, ) self.ResetActivity = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetActivity", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, + _registered_method=True, ) self.CreateWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, + _registered_method=True, ) self.DescribeWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, + _registered_method=True, ) self.DeleteWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, + _registered_method=True, ) self.ListWorkflowRules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, + _registered_method=True, ) self.TriggerWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, + _registered_method=True, ) self.RecordWorkerHeartbeat = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, + _registered_method=True, ) self.ListWorkers = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkers", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, + _registered_method=True, + ) + self.CountWorkers = channel.unary_unary( + "/temporal.api.workflowservice.v1.WorkflowService/CountWorkers", + request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersRequest.SerializeToString, + response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersResponse.FromString, + _registered_method=True, ) self.UpdateTaskQueueConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, + _registered_method=True, ) self.FetchWorkerConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, + _registered_method=True, ) self.UpdateWorkerConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, + _registered_method=True, ) self.DescribeWorker = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorker", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerResponse.FromString, + _registered_method=True, ) self.PauseWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PauseWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.UnpauseWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UnpauseWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseWorkflowExecutionResponse.FromString, + _registered_method=True, ) self.StartActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartActivityExecutionResponse.FromString, + _registered_method=True, ) self.StartNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartNexusOperationExecutionResponse.FromString, + _registered_method=True, ) self.DescribeActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeActivityExecutionResponse.FromString, + _registered_method=True, ) self.DescribeNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNexusOperationExecutionResponse.FromString, + _registered_method=True, ) self.PollActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityExecutionResponse.FromString, + _registered_method=True, ) self.PollNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusOperationExecutionResponse.FromString, + _registered_method=True, ) self.ListActivityExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListActivityExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListActivityExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListActivityExecutionsResponse.FromString, + _registered_method=True, ) self.ListNexusOperationExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListNexusOperationExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNexusOperationExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNexusOperationExecutionsResponse.FromString, + _registered_method=True, ) self.CountActivityExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountActivityExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountActivityExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountActivityExecutionsResponse.FromString, + _registered_method=True, ) self.CountNexusOperationExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountNexusOperationExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountNexusOperationExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountNexusOperationExecutionsResponse.FromString, + _registered_method=True, ) self.RequestCancelActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelActivityExecutionResponse.FromString, + _registered_method=True, ) self.RequestCancelNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelNexusOperationExecutionResponse.FromString, + _registered_method=True, ) self.TerminateActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TerminateActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateActivityExecutionResponse.FromString, + _registered_method=True, ) self.DeleteActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteActivityExecutionResponse.FromString, + _registered_method=True, ) self.PauseActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PauseActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityExecutionResponse.FromString, + _registered_method=True, ) self.ResetActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityExecutionResponse.FromString, + _registered_method=True, ) self.UnpauseActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityExecutionResponse.FromString, + _registered_method=True, ) self.UpdateActivityExecutionOptions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityExecutionOptions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityExecutionOptionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityExecutionOptionsResponse.FromString, + _registered_method=True, ) self.TerminateNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TerminateNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateNexusOperationExecutionResponse.FromString, + _registered_method=True, ) self.DeleteNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteNexusOperationExecutionResponse.FromString, + _registered_method=True, ) -class WorkflowServiceServicer(object): +class WorkflowServiceServicer: """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -1650,6 +1801,12 @@ def ListWorkers(self, request, context): context.set_details("Method not implemented!") raise NotImplementedError("Method not implemented!") + def CountWorkers(self, request, context): + """CountWorkers counts the number of workers in a specific namespace.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details("Method not implemented!") + raise NotImplementedError("Method not implemented!") + def UpdateTaskQueueConfig(self, request, context): """Updates task queue configuration. For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, @@ -2393,6 +2550,11 @@ def add_WorkflowServiceServicer_to_server(servicer, server): request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.FromString, response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.SerializeToString, ), + "CountWorkers": grpc.unary_unary_rpc_method_handler( + servicer.CountWorkers, + request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersRequest.FromString, + response_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersResponse.SerializeToString, + ), "UpdateTaskQueueConfig": grpc.unary_unary_rpc_method_handler( servicer.UpdateTaskQueueConfig, request_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.FromString, @@ -2528,10 +2690,13 @@ def add_WorkflowServiceServicer_to_server(servicer, server): "temporal.api.workflowservice.v1.WorkflowService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers( + "temporal.api.workflowservice.v1.WorkflowService", rpc_method_handlers + ) # This class is part of an EXPERIMENTAL API. -class WorkflowService(object): +class WorkflowService: """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -2572,6 +2737,7 @@ def RegisterNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2601,6 +2767,7 @@ def DescribeNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2630,6 +2797,7 @@ def ListNamespaces( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2659,6 +2827,7 @@ def UpdateNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2688,6 +2857,7 @@ def DeprecateNamespace( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2717,6 +2887,7 @@ def StartWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2746,6 +2917,7 @@ def ExecuteMultiOperation( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2775,6 +2947,7 @@ def GetWorkflowExecutionHistory( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2804,6 +2977,7 @@ def GetWorkflowExecutionHistoryReverse( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2833,6 +3007,7 @@ def PollWorkflowTaskQueue( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2862,6 +3037,7 @@ def RespondWorkflowTaskCompleted( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2891,6 +3067,7 @@ def RespondWorkflowTaskFailed( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2920,6 +3097,7 @@ def PollActivityTaskQueue( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2949,6 +3127,7 @@ def RecordActivityTaskHeartbeat( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -2978,6 +3157,7 @@ def RecordActivityTaskHeartbeatById( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3007,6 +3187,7 @@ def RespondActivityTaskCompleted( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3036,6 +3217,7 @@ def RespondActivityTaskCompletedById( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3065,6 +3247,7 @@ def RespondActivityTaskFailed( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3094,6 +3277,7 @@ def RespondActivityTaskFailedById( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3123,6 +3307,7 @@ def RespondActivityTaskCanceled( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3152,6 +3337,7 @@ def RespondActivityTaskCanceledById( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3181,6 +3367,7 @@ def RequestCancelWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3210,6 +3397,7 @@ def SignalWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3239,6 +3427,7 @@ def SignalWithStartWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3268,6 +3457,7 @@ def ResetWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3297,6 +3487,7 @@ def TerminateWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3326,6 +3517,7 @@ def DeleteWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3355,6 +3547,7 @@ def ListOpenWorkflowExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3384,6 +3577,7 @@ def ListClosedWorkflowExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3413,6 +3607,7 @@ def ListWorkflowExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3442,6 +3637,7 @@ def ListArchivedWorkflowExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3471,6 +3667,7 @@ def ScanWorkflowExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3500,6 +3697,7 @@ def CountWorkflowExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3529,6 +3727,7 @@ def GetSearchAttributes( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3558,6 +3757,7 @@ def RespondQueryTaskCompleted( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3587,6 +3787,7 @@ def ResetStickyTaskQueue( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3616,6 +3817,7 @@ def ShutdownWorker( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3645,6 +3847,7 @@ def QueryWorkflow( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3674,6 +3877,7 @@ def DescribeWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3703,6 +3907,7 @@ def DescribeTaskQueue( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3732,6 +3937,7 @@ def GetClusterInfo( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3761,6 +3967,7 @@ def GetSystemInfo( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3790,6 +3997,7 @@ def ListTaskQueuePartitions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3819,6 +4027,7 @@ def CreateSchedule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3848,6 +4057,7 @@ def DescribeSchedule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3877,6 +4087,7 @@ def UpdateSchedule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3906,6 +4117,7 @@ def PatchSchedule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3935,6 +4147,7 @@ def ListScheduleMatchingTimes( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3964,6 +4177,7 @@ def DeleteSchedule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -3993,6 +4207,7 @@ def ListSchedules( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4022,6 +4237,7 @@ def CountSchedules( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4051,6 +4267,7 @@ def UpdateWorkerBuildIdCompatibility( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4080,6 +4297,7 @@ def GetWorkerBuildIdCompatibility( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4109,6 +4327,7 @@ def UpdateWorkerVersioningRules( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4138,6 +4357,7 @@ def GetWorkerVersioningRules( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4167,6 +4387,7 @@ def GetWorkerTaskReachability( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4196,6 +4417,7 @@ def DescribeDeployment( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4225,6 +4447,7 @@ def DescribeWorkerDeploymentVersion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4254,6 +4477,7 @@ def ListDeployments( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4283,6 +4507,7 @@ def GetDeploymentReachability( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4312,6 +4537,7 @@ def GetCurrentDeployment( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4341,6 +4567,7 @@ def SetCurrentDeployment( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4370,6 +4597,7 @@ def SetWorkerDeploymentCurrentVersion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4399,6 +4627,7 @@ def DescribeWorkerDeployment( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4428,6 +4657,7 @@ def DeleteWorkerDeployment( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4457,6 +4687,7 @@ def DeleteWorkerDeploymentVersion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4486,6 +4717,7 @@ def SetWorkerDeploymentRampingVersion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4515,6 +4747,7 @@ def ListWorkerDeployments( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4544,6 +4777,7 @@ def CreateWorkerDeployment( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4573,6 +4807,7 @@ def CreateWorkerDeploymentVersion( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4602,6 +4837,7 @@ def UpdateWorkerDeploymentVersionComputeConfig( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4631,6 +4867,7 @@ def ValidateWorkerDeploymentVersionComputeConfig( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4660,6 +4897,7 @@ def UpdateWorkerDeploymentVersionMetadata( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4689,6 +4927,7 @@ def SetWorkerDeploymentManager( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4718,6 +4957,7 @@ def UpdateWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4747,6 +4987,7 @@ def PollWorkflowExecutionUpdate( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4776,6 +5017,7 @@ def StartBatchOperation( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4805,6 +5047,7 @@ def StopBatchOperation( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4834,6 +5077,7 @@ def DescribeBatchOperation( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4863,6 +5107,7 @@ def ListBatchOperations( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4892,6 +5137,7 @@ def PollNexusTaskQueue( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4921,6 +5167,7 @@ def RespondNexusTaskCompleted( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4950,6 +5197,7 @@ def RespondNexusTaskFailed( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -4979,6 +5227,7 @@ def UpdateActivityOptions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5008,6 +5257,7 @@ def UpdateWorkflowExecutionOptions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5037,6 +5287,7 @@ def PauseActivity( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5066,6 +5317,7 @@ def UnpauseActivity( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5095,6 +5347,7 @@ def ResetActivity( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5124,6 +5377,7 @@ def CreateWorkflowRule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5153,6 +5407,7 @@ def DescribeWorkflowRule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5182,6 +5437,7 @@ def DeleteWorkflowRule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5211,6 +5467,7 @@ def ListWorkflowRules( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5240,6 +5497,7 @@ def TriggerWorkflowRule( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5269,6 +5527,7 @@ def RecordWorkerHeartbeat( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5298,6 +5557,37 @@ def ListWorkers( wait_for_ready, timeout, metadata, + _registered_method=True, + ) + + @staticmethod + def CountWorkers( + request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None, + ): + return grpc.experimental.unary_unary( + request, + target, + "/temporal.api.workflowservice.v1.WorkflowService/CountWorkers", + temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersRequest.SerializeToString, + temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True, ) @staticmethod @@ -5327,6 +5617,7 @@ def UpdateTaskQueueConfig( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5356,6 +5647,7 @@ def FetchWorkerConfig( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5385,6 +5677,7 @@ def UpdateWorkerConfig( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5414,6 +5707,7 @@ def DescribeWorker( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5443,6 +5737,7 @@ def PauseWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5472,6 +5767,7 @@ def UnpauseWorkflowExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5501,6 +5797,7 @@ def StartActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5530,6 +5827,7 @@ def StartNexusOperationExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5559,6 +5857,7 @@ def DescribeActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5588,6 +5887,7 @@ def DescribeNexusOperationExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5617,6 +5917,7 @@ def PollActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5646,6 +5947,7 @@ def PollNexusOperationExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5675,6 +5977,7 @@ def ListActivityExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5704,6 +6007,7 @@ def ListNexusOperationExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5733,6 +6037,7 @@ def CountActivityExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5762,6 +6067,7 @@ def CountNexusOperationExecutions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5791,6 +6097,7 @@ def RequestCancelActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5820,6 +6127,7 @@ def RequestCancelNexusOperationExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5849,6 +6157,7 @@ def TerminateActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5878,6 +6187,7 @@ def DeleteActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5907,6 +6217,7 @@ def PauseActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5936,6 +6247,7 @@ def ResetActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5965,6 +6277,7 @@ def UnpauseActivityExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -5994,6 +6307,7 @@ def UpdateActivityExecutionOptions( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -6023,6 +6337,7 @@ def TerminateNexusOperationExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) @staticmethod @@ -6052,4 +6367,5 @@ def DeleteNexusOperationExecution( wait_for_ready, timeout, metadata, + _registered_method=True, ) diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi index d6d94abb3..8cb7c91c8 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi @@ -4,1171 +4,4530 @@ isort:skip_file """ import abc +import collections.abc +import sys +import typing import grpc +import grpc.aio import temporalio.api.workflowservice.v1.request_response_pb2 -class WorkflowServiceStub: - """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server - to create and interact with workflows and activities. - - Users are expected to call `StartWorkflowExecution` to create a new workflow execution. - - To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow - and activity tasks from the service. For each workflow task, the sdk must process the - (incremental or complete) event history and respond back with any newly generated commands. - - For each activity task, the worker is expected to execute the user's code which implements that - activity, responding with completion or failure. - """ - - def __init__(self, channel: grpc.Channel) -> None: ... - RegisterNamespace: grpc.UnaryUnaryMultiCallable[ +if sys.version_info >= (3, 13): + import typing as typing_extensions +else: + import typing_extensions + +_T = typing.TypeVar("_T") + +class _MaybeAsyncIterator( + collections.abc.AsyncIterator[_T], + collections.abc.Iterator[_T], + metaclass=abc.ABCMeta, +): ... +class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] + ... + +GRPC_GENERATED_VERSION: str +GRPC_VERSION: str +_WorkflowServiceRegisterNamespaceType = typing_extensions.TypeVar( + "_WorkflowServiceRegisterNamespaceType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - ] - """RegisterNamespace creates a new namespace which can be used as a container for all resources. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, + ], +) - A Namespace is a top level entity within Temporal, and is used as a container for resources - like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides - isolation for all resources within the namespace. All resources belongs to exactly one - namespace. - """ - DescribeNamespace: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceDescribeNamespaceType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeNamespaceType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - ] - """DescribeNamespace returns the information and configuration for a registered namespace.""" - ListNamespaces: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, + ], +) + +_WorkflowServiceListNamespacesType = typing_extensions.TypeVar( + "_WorkflowServiceListNamespacesType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - ] - """ListNamespaces returns the information and configuration for all namespaces.""" - UpdateNamespace: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, + ], +) + +_WorkflowServiceUpdateNamespaceType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateNamespaceType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - ] - """UpdateNamespace is used to update the information and configuration of a registered - namespace. - """ - DeprecateNamespace: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], +) + +_WorkflowServiceDeprecateNamespaceType = typing_extensions.TypeVar( + "_WorkflowServiceDeprecateNamespaceType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - ] - """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. - - Once the namespace is deprecated it cannot be used to start new workflow executions. Existing - workflow executions will continue to run on deprecated namespaces. - Deprecated. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Deprecated --) - """ - StartWorkflowExecution: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceStartWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceStartWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - ] - """StartWorkflowExecution starts a new workflow execution. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, + ], +) - It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and - also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an - instance already exists with same workflow id. - """ - ExecuteMultiOperation: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceExecuteMultiOperationType = typing_extensions.TypeVar( + "_WorkflowServiceExecuteMultiOperationType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - ] - """ExecuteMultiOperation executes multiple operations within a single workflow. - - Operations are started atomically, meaning if *any* operation fails to be started, none are, - and the request fails. Upon start, the API returns only when *all* operations have a response. - - Upon failure, it returns `MultiOperationExecutionFailure` where the status code - equals the status code of the *first* operation that failed to be started. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: To be exposed over HTTP in the future. --) - """ - GetWorkflowExecutionHistory: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceGetWorkflowExecutionHistoryType = typing_extensions.TypeVar( + "_WorkflowServiceGetWorkflowExecutionHistoryType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - ] - """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with - `NotFound` if the specified workflow execution is unknown to the service. - """ - GetWorkflowExecutionHistoryReverse: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, + ], +) + +_WorkflowServiceGetWorkflowExecutionHistoryReverseType = typing_extensions.TypeVar( + "_WorkflowServiceGetWorkflowExecutionHistoryReverseType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - ] - """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - order (starting from last event). Fails with`NotFound` if the specified workflow execution is - unknown to the service. - """ - PollWorkflowTaskQueue: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, + ], +) + +_WorkflowServicePollWorkflowTaskQueueType = typing_extensions.TypeVar( + "_WorkflowServicePollWorkflowTaskQueueType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - ] - """PollWorkflowTaskQueue is called by workers to make progress on workflows. - - A WorkflowTask is dispatched to callers for active workflow executions with pending workflow - tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done - processing the task. The service will create a `WorkflowTaskStarted` event in the history for - this task before handing it to the worker. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - RespondWorkflowTaskCompleted: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondWorkflowTaskCompletedType = typing_extensions.TypeVar( + "_WorkflowServiceRespondWorkflowTaskCompletedType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - ] - """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks - they received from `PollWorkflowTaskQueue`. - - Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's - history, along with events corresponding to whatever commands the SDK generated while - executing the task (ex timer started, activity task scheduled, etc). + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - RespondWorkflowTaskFailed: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondWorkflowTaskFailedType = typing_extensions.TypeVar( + "_WorkflowServiceRespondWorkflowTaskFailedType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - ] - """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task - failed. - - This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow - task will be scheduled. This API can be used to report unhandled failures resulting from - applying the workflow task. - - Temporal will only append first WorkflowTaskFailed event to the history of workflow execution - for consecutive failures. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - PollActivityTaskQueue: grpc.UnaryUnaryMultiCallable[ +_WorkflowServicePollActivityTaskQueueType = typing_extensions.TypeVar( + "_WorkflowServicePollActivityTaskQueueType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - ] - """PollActivityTaskQueue is called by workers to process activity tasks from a specific task - queue. - - The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done - processing the task. - - An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during - workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state - before the task is dispatched to the worker. The started event, and the final event - (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be - written permanently to Workflow execution history when Activity is finished. This is done to - avoid writing many events in the case of a failure/retry loop. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - RecordActivityTaskHeartbeat: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRecordActivityTaskHeartbeatType = typing_extensions.TypeVar( + "_WorkflowServiceRecordActivityTaskHeartbeatType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - ] - """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. - - If a worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, - then the current attempt times out. Depending on RetryPolicy, this may trigger a retry or - time out the activity. - - For workflow activities, an `ACTIVITY_TASK_TIMED_OUT` event will be written to the workflow - history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in such situations, - in that event, the SDK should request cancellation of the activity. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, + ], +) - The request may contain response `details` which will be persisted by the server and may be - used by the activity to checkpoint progress. The `cancel_requested` field in the response - indicates whether cancellation has been requested for the activity. - """ - RecordActivityTaskHeartbeatById: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRecordActivityTaskHeartbeatByIdType = typing_extensions.TypeVar( + "_WorkflowServiceRecordActivityTaskHeartbeatByIdType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - ] - """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by - namespace/workflow id/activity id instead of task token. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, + ], +) - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - RespondActivityTaskCompleted: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondActivityTaskCompletedType = typing_extensions.TypeVar( + "_WorkflowServiceRespondActivityTaskCompletedType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - ] - """RespondActivityTaskCompleted is called by workers when they successfully complete an activity - task. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, + ], +) - For workflow activities, this results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history - and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - no longer valid due to activity timeout, already being completed, or never having existed. - """ - RespondActivityTaskCompletedById: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondActivityTaskCompletedByIdType = typing_extensions.TypeVar( + "_WorkflowServiceRespondActivityTaskCompletedByIdType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - ] - """See `RespondActivityTaskCompleted`. This version allows clients to record completions by - namespace/workflow id/activity id instead of task token. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, + ], +) - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - RespondActivityTaskFailed: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondActivityTaskFailedType = typing_extensions.TypeVar( + "_WorkflowServiceRespondActivityTaskFailedType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - ] - """RespondActivityTaskFailed is called by workers when processing an activity task fails. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, + ], +) - This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and - a new workflow task created for the workflow. Fails with `NotFound` if the task token is no - longer valid due to activity timeout, already being completed, or never having existed. - """ - RespondActivityTaskFailedById: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondActivityTaskFailedByIdType = typing_extensions.TypeVar( + "_WorkflowServiceRespondActivityTaskFailedByIdType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - ] - """See `RecordActivityTaskFailed`. This version allows clients to record failures by - namespace/workflow id/activity id instead of task token. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, + ], +) - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - RespondActivityTaskCanceled: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondActivityTaskCanceledType = typing_extensions.TypeVar( + "_WorkflowServiceRespondActivityTaskCanceledType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - ] - """RespondActivityTaskFailed is called by workers when processing an activity task fails. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, + ], +) - For workflow activities, this results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history - and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - no longer valid due to activity timeout, already being completed, or never having existed. - """ - RespondActivityTaskCanceledById: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondActivityTaskCanceledByIdType = typing_extensions.TypeVar( + "_WorkflowServiceRespondActivityTaskCanceledByIdType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - ] - """See `RespondActivityTaskCanceled`. This version allows clients to record failures by - namespace/workflow id/activity id instead of task token. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, + ], +) - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - RequestCancelWorkflowExecution: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRequestCancelWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceRequestCancelWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - ] - """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of - a workflow execution. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, + ], +) - This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the - workflow history and a new workflow task created for the workflow. It returns success if the requested - workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. - """ - SignalWorkflowExecution: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceSignalWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceSignalWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - ] - """SignalWorkflowExecution is used to send a signal to a running workflow execution. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, + ], +) - This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow - task being created for the execution. - """ - SignalWithStartWorkflowExecution: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceSignalWithStartWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceSignalWithStartWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - ] - """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if - it isn't yet started. - - If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history - and a workflow task is generated. - - If the workflow is not running or not found, then the workflow is created with - `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a - workflow task is generated. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, + ], +) - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "With" is used to indicate combined operation. --) - """ - ResetWorkflowExecution: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceResetWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceResetWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - ] - """ResetWorkflowExecution will reset an existing workflow execution to a specified - `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current - execution instance. "Exclusive" means the identified completed event itself is not replayed - in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed - immediately, and a new workflow task will be scheduled to retry it. - """ - TerminateWorkflowExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, + ], +) + +_WorkflowServiceTerminateWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceTerminateWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - ] - """TerminateWorkflowExecution terminates an existing workflow execution by recording a - `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the - execution instance. - """ - DeleteWorkflowExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, + ], +) + +_WorkflowServiceDeleteWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceDeleteWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - ] - """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when - WorkflowExecution.run_id is provided) or the latest Workflow Execution (when - WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be - terminated before deletion. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) - """ - ListOpenWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceListOpenWorkflowExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceListOpenWorkflowExecutionsType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - ] - """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - """ - ListClosedWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceListClosedWorkflowExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceListClosedWorkflowExecutionsType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - ] - """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - """ - ListWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceListWorkflowExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceListWorkflowExecutionsType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - ] - """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" - ListArchivedWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, + ], +) + +_WorkflowServiceListArchivedWorkflowExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceListArchivedWorkflowExecutionsType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - ] - """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" - ScanWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, + ], +) + +_WorkflowServiceScanWorkflowExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceScanWorkflowExecutionsType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - ] - """ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. - It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, + ], +) - Deprecated: Replaced with `ListWorkflowExecutions`. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - """ - CountWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceCountWorkflowExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceCountWorkflowExecutionsType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - ] - """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" - GetSearchAttributes: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, + ], +) + +_WorkflowServiceGetSearchAttributesType = typing_extensions.TypeVar( + "_WorkflowServiceGetSearchAttributesType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - ] - """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) - """ - RespondQueryTaskCompleted: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceRespondQueryTaskCompletedType = typing_extensions.TypeVar( + "_WorkflowServiceRespondQueryTaskCompletedType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - ] - """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on - the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. - - Completing the query will unblock the corresponding client call to `QueryWorkflow` and return - the query result a response. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - ResetStickyTaskQueue: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceResetStickyTaskQueueType = typing_extensions.TypeVar( + "_WorkflowServiceResetStickyTaskQueueType", + grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - ] - """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of - a given workflow. This is prudent for workers to perform if a workflow has been paged out of - their cache. + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, + ], +) - Things cleared are: - 1. StickyTaskQueue - 2. StickyScheduleToStartTimeout +_WorkflowServiceShutdownWorkerType = typing_extensions.TypeVar( + "_WorkflowServiceShutdownWorkerType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, + ], +) - When possible, ShutdownWorker should be preferred over - ResetStickyTaskQueue (particularly when a worker is shutting down or - cycling). +_WorkflowServiceQueryWorkflowType = typing_extensions.TypeVar( + "_WorkflowServiceQueryWorkflowType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, + ], +) - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - ShutdownWorker: grpc.UnaryUnaryMultiCallable[ +_WorkflowServiceDescribeWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, + ], +) + +_WorkflowServiceDescribeTaskQueueType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeTaskQueueType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, + ], +) + +_WorkflowServiceGetClusterInfoType = typing_extensions.TypeVar( + "_WorkflowServiceGetClusterInfoType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, + ], +) + +_WorkflowServiceGetSystemInfoType = typing_extensions.TypeVar( + "_WorkflowServiceGetSystemInfoType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, + ], +) + +_WorkflowServiceListTaskQueuePartitionsType = typing_extensions.TypeVar( + "_WorkflowServiceListTaskQueuePartitionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, + ], +) + +_WorkflowServiceCreateScheduleType = typing_extensions.TypeVar( + "_WorkflowServiceCreateScheduleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, + ], +) + +_WorkflowServiceDescribeScheduleType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeScheduleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, + ], +) + +_WorkflowServiceUpdateScheduleType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateScheduleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, + ], +) + +_WorkflowServicePatchScheduleType = typing_extensions.TypeVar( + "_WorkflowServicePatchScheduleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, + ], +) + +_WorkflowServiceListScheduleMatchingTimesType = typing_extensions.TypeVar( + "_WorkflowServiceListScheduleMatchingTimesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, + ], +) + +_WorkflowServiceDeleteScheduleType = typing_extensions.TypeVar( + "_WorkflowServiceDeleteScheduleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, + ], +) + +_WorkflowServiceListSchedulesType = typing_extensions.TypeVar( + "_WorkflowServiceListSchedulesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, + ], +) + +_WorkflowServiceCountSchedulesType = typing_extensions.TypeVar( + "_WorkflowServiceCountSchedulesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, + ], +) + +_WorkflowServiceUpdateWorkerBuildIdCompatibilityType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateWorkerBuildIdCompatibilityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, + ], +) + +_WorkflowServiceGetWorkerBuildIdCompatibilityType = typing_extensions.TypeVar( + "_WorkflowServiceGetWorkerBuildIdCompatibilityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, + ], +) + +_WorkflowServiceUpdateWorkerVersioningRulesType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateWorkerVersioningRulesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, + ], +) + +_WorkflowServiceGetWorkerVersioningRulesType = typing_extensions.TypeVar( + "_WorkflowServiceGetWorkerVersioningRulesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, + ], +) + +_WorkflowServiceGetWorkerTaskReachabilityType = typing_extensions.TypeVar( + "_WorkflowServiceGetWorkerTaskReachabilityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, + ], +) + +_WorkflowServiceDescribeDeploymentType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeDeploymentType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, + ], +) + +_WorkflowServiceDescribeWorkerDeploymentVersionType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeWorkerDeploymentVersionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, + ], +) + +_WorkflowServiceListDeploymentsType = typing_extensions.TypeVar( + "_WorkflowServiceListDeploymentsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, + ], +) + +_WorkflowServiceGetDeploymentReachabilityType = typing_extensions.TypeVar( + "_WorkflowServiceGetDeploymentReachabilityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, + ], +) + +_WorkflowServiceGetCurrentDeploymentType = typing_extensions.TypeVar( + "_WorkflowServiceGetCurrentDeploymentType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, + ], +) + +_WorkflowServiceSetCurrentDeploymentType = typing_extensions.TypeVar( + "_WorkflowServiceSetCurrentDeploymentType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, + ], +) + +_WorkflowServiceSetWorkerDeploymentCurrentVersionType = typing_extensions.TypeVar( + "_WorkflowServiceSetWorkerDeploymentCurrentVersionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, + ], +) + +_WorkflowServiceDescribeWorkerDeploymentType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeWorkerDeploymentType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, + ], +) + +_WorkflowServiceDeleteWorkerDeploymentType = typing_extensions.TypeVar( + "_WorkflowServiceDeleteWorkerDeploymentType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, + ], +) + +_WorkflowServiceDeleteWorkerDeploymentVersionType = typing_extensions.TypeVar( + "_WorkflowServiceDeleteWorkerDeploymentVersionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, + ], +) + +_WorkflowServiceSetWorkerDeploymentRampingVersionType = typing_extensions.TypeVar( + "_WorkflowServiceSetWorkerDeploymentRampingVersionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, + ], +) + +_WorkflowServiceListWorkerDeploymentsType = typing_extensions.TypeVar( + "_WorkflowServiceListWorkerDeploymentsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, + ], +) + +_WorkflowServiceCreateWorkerDeploymentType = typing_extensions.TypeVar( + "_WorkflowServiceCreateWorkerDeploymentType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, + ], +) + +_WorkflowServiceCreateWorkerDeploymentVersionType = typing_extensions.TypeVar( + "_WorkflowServiceCreateWorkerDeploymentVersionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, + ], +) + +_WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, + ], +) + +_WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType = typing_extensions.TypeVar( + "_WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, + ], +) + +_WorkflowServiceUpdateWorkerDeploymentVersionMetadataType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateWorkerDeploymentVersionMetadataType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, + ], +) + +_WorkflowServiceSetWorkerDeploymentManagerType = typing_extensions.TypeVar( + "_WorkflowServiceSetWorkerDeploymentManagerType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, + ], +) + +_WorkflowServiceUpdateWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, + ], +) + +_WorkflowServicePollWorkflowExecutionUpdateType = typing_extensions.TypeVar( + "_WorkflowServicePollWorkflowExecutionUpdateType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, + ], +) + +_WorkflowServiceStartBatchOperationType = typing_extensions.TypeVar( + "_WorkflowServiceStartBatchOperationType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, + ], +) + +_WorkflowServiceStopBatchOperationType = typing_extensions.TypeVar( + "_WorkflowServiceStopBatchOperationType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, + ], +) + +_WorkflowServiceDescribeBatchOperationType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeBatchOperationType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, + ], +) + +_WorkflowServiceListBatchOperationsType = typing_extensions.TypeVar( + "_WorkflowServiceListBatchOperationsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, + ], +) + +_WorkflowServicePollNexusTaskQueueType = typing_extensions.TypeVar( + "_WorkflowServicePollNexusTaskQueueType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, + ], +) + +_WorkflowServiceRespondNexusTaskCompletedType = typing_extensions.TypeVar( + "_WorkflowServiceRespondNexusTaskCompletedType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, + ], +) + +_WorkflowServiceRespondNexusTaskFailedType = typing_extensions.TypeVar( + "_WorkflowServiceRespondNexusTaskFailedType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, + ], +) + +_WorkflowServiceUpdateActivityOptionsType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateActivityOptionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, + ], +) + +_WorkflowServiceUpdateWorkflowExecutionOptionsType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateWorkflowExecutionOptionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, + ], +) + +_WorkflowServicePauseActivityType = typing_extensions.TypeVar( + "_WorkflowServicePauseActivityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, + ], +) + +_WorkflowServiceUnpauseActivityType = typing_extensions.TypeVar( + "_WorkflowServiceUnpauseActivityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, + ], +) + +_WorkflowServiceResetActivityType = typing_extensions.TypeVar( + "_WorkflowServiceResetActivityType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, + ], +) + +_WorkflowServiceCreateWorkflowRuleType = typing_extensions.TypeVar( + "_WorkflowServiceCreateWorkflowRuleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, + ], +) + +_WorkflowServiceDescribeWorkflowRuleType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeWorkflowRuleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, + ], +) + +_WorkflowServiceDeleteWorkflowRuleType = typing_extensions.TypeVar( + "_WorkflowServiceDeleteWorkflowRuleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, + ], +) + +_WorkflowServiceListWorkflowRulesType = typing_extensions.TypeVar( + "_WorkflowServiceListWorkflowRulesType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, + ], +) + +_WorkflowServiceTriggerWorkflowRuleType = typing_extensions.TypeVar( + "_WorkflowServiceTriggerWorkflowRuleType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, + ], +) + +_WorkflowServiceRecordWorkerHeartbeatType = typing_extensions.TypeVar( + "_WorkflowServiceRecordWorkerHeartbeatType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, + ], +) + +_WorkflowServiceListWorkersType = typing_extensions.TypeVar( + "_WorkflowServiceListWorkersType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, + ], +) + +_WorkflowServiceCountWorkersType = typing_extensions.TypeVar( + "_WorkflowServiceCountWorkersType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, + ], +) + +_WorkflowServiceUpdateTaskQueueConfigType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateTaskQueueConfigType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, + ], +) + +_WorkflowServiceFetchWorkerConfigType = typing_extensions.TypeVar( + "_WorkflowServiceFetchWorkerConfigType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, + ], +) + +_WorkflowServiceUpdateWorkerConfigType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateWorkerConfigType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, + ], +) + +_WorkflowServiceDescribeWorkerType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeWorkerType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, + ], +) + +_WorkflowServicePauseWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServicePauseWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, + ], +) + +_WorkflowServiceUnpauseWorkflowExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceUnpauseWorkflowExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, + ], +) + +_WorkflowServiceStartActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceStartActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, + ], +) + +_WorkflowServiceStartNexusOperationExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceStartNexusOperationExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, + ], +) + +_WorkflowServiceDescribeActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, + ], +) + +_WorkflowServiceDescribeNexusOperationExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceDescribeNexusOperationExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, + ], +) + +_WorkflowServicePollActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServicePollActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, + ], +) + +_WorkflowServicePollNexusOperationExecutionType = typing_extensions.TypeVar( + "_WorkflowServicePollNexusOperationExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, + ], +) + +_WorkflowServiceListActivityExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceListActivityExecutionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, + ], +) + +_WorkflowServiceListNexusOperationExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceListNexusOperationExecutionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, + ], +) + +_WorkflowServiceCountActivityExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceCountActivityExecutionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, + ], +) + +_WorkflowServiceCountNexusOperationExecutionsType = typing_extensions.TypeVar( + "_WorkflowServiceCountNexusOperationExecutionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, + ], +) + +_WorkflowServiceRequestCancelActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceRequestCancelActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, + ], +) + +_WorkflowServiceRequestCancelNexusOperationExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceRequestCancelNexusOperationExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, + ], +) + +_WorkflowServiceTerminateActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceTerminateActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, + ], +) + +_WorkflowServiceDeleteActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceDeleteActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, + ], +) + +_WorkflowServicePauseActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServicePauseActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, + ], +) + +_WorkflowServiceResetActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceResetActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, + ], +) + +_WorkflowServiceUnpauseActivityExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceUnpauseActivityExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, + ], +) + +_WorkflowServiceUpdateActivityExecutionOptionsType = typing_extensions.TypeVar( + "_WorkflowServiceUpdateActivityExecutionOptionsType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, + ], +) + +_WorkflowServiceTerminateNexusOperationExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceTerminateNexusOperationExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, + ], +) + +_WorkflowServiceDeleteNexusOperationExecutionType = typing_extensions.TypeVar( + "_WorkflowServiceDeleteNexusOperationExecutionType", + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, + ], + default=grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, + ], +) + +class WorkflowServiceStub( + typing.Generic[ + _WorkflowServiceRegisterNamespaceType, + _WorkflowServiceDescribeNamespaceType, + _WorkflowServiceListNamespacesType, + _WorkflowServiceUpdateNamespaceType, + _WorkflowServiceDeprecateNamespaceType, + _WorkflowServiceStartWorkflowExecutionType, + _WorkflowServiceExecuteMultiOperationType, + _WorkflowServiceGetWorkflowExecutionHistoryType, + _WorkflowServiceGetWorkflowExecutionHistoryReverseType, + _WorkflowServicePollWorkflowTaskQueueType, + _WorkflowServiceRespondWorkflowTaskCompletedType, + _WorkflowServiceRespondWorkflowTaskFailedType, + _WorkflowServicePollActivityTaskQueueType, + _WorkflowServiceRecordActivityTaskHeartbeatType, + _WorkflowServiceRecordActivityTaskHeartbeatByIdType, + _WorkflowServiceRespondActivityTaskCompletedType, + _WorkflowServiceRespondActivityTaskCompletedByIdType, + _WorkflowServiceRespondActivityTaskFailedType, + _WorkflowServiceRespondActivityTaskFailedByIdType, + _WorkflowServiceRespondActivityTaskCanceledType, + _WorkflowServiceRespondActivityTaskCanceledByIdType, + _WorkflowServiceRequestCancelWorkflowExecutionType, + _WorkflowServiceSignalWorkflowExecutionType, + _WorkflowServiceSignalWithStartWorkflowExecutionType, + _WorkflowServiceResetWorkflowExecutionType, + _WorkflowServiceTerminateWorkflowExecutionType, + _WorkflowServiceDeleteWorkflowExecutionType, + _WorkflowServiceListOpenWorkflowExecutionsType, + _WorkflowServiceListClosedWorkflowExecutionsType, + _WorkflowServiceListWorkflowExecutionsType, + _WorkflowServiceListArchivedWorkflowExecutionsType, + _WorkflowServiceScanWorkflowExecutionsType, + _WorkflowServiceCountWorkflowExecutionsType, + _WorkflowServiceGetSearchAttributesType, + _WorkflowServiceRespondQueryTaskCompletedType, + _WorkflowServiceResetStickyTaskQueueType, + _WorkflowServiceShutdownWorkerType, + _WorkflowServiceQueryWorkflowType, + _WorkflowServiceDescribeWorkflowExecutionType, + _WorkflowServiceDescribeTaskQueueType, + _WorkflowServiceGetClusterInfoType, + _WorkflowServiceGetSystemInfoType, + _WorkflowServiceListTaskQueuePartitionsType, + _WorkflowServiceCreateScheduleType, + _WorkflowServiceDescribeScheduleType, + _WorkflowServiceUpdateScheduleType, + _WorkflowServicePatchScheduleType, + _WorkflowServiceListScheduleMatchingTimesType, + _WorkflowServiceDeleteScheduleType, + _WorkflowServiceListSchedulesType, + _WorkflowServiceCountSchedulesType, + _WorkflowServiceUpdateWorkerBuildIdCompatibilityType, + _WorkflowServiceGetWorkerBuildIdCompatibilityType, + _WorkflowServiceUpdateWorkerVersioningRulesType, + _WorkflowServiceGetWorkerVersioningRulesType, + _WorkflowServiceGetWorkerTaskReachabilityType, + _WorkflowServiceDescribeDeploymentType, + _WorkflowServiceDescribeWorkerDeploymentVersionType, + _WorkflowServiceListDeploymentsType, + _WorkflowServiceGetDeploymentReachabilityType, + _WorkflowServiceGetCurrentDeploymentType, + _WorkflowServiceSetCurrentDeploymentType, + _WorkflowServiceSetWorkerDeploymentCurrentVersionType, + _WorkflowServiceDescribeWorkerDeploymentType, + _WorkflowServiceDeleteWorkerDeploymentType, + _WorkflowServiceDeleteWorkerDeploymentVersionType, + _WorkflowServiceSetWorkerDeploymentRampingVersionType, + _WorkflowServiceListWorkerDeploymentsType, + _WorkflowServiceCreateWorkerDeploymentType, + _WorkflowServiceCreateWorkerDeploymentVersionType, + _WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType, + _WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType, + _WorkflowServiceUpdateWorkerDeploymentVersionMetadataType, + _WorkflowServiceSetWorkerDeploymentManagerType, + _WorkflowServiceUpdateWorkflowExecutionType, + _WorkflowServicePollWorkflowExecutionUpdateType, + _WorkflowServiceStartBatchOperationType, + _WorkflowServiceStopBatchOperationType, + _WorkflowServiceDescribeBatchOperationType, + _WorkflowServiceListBatchOperationsType, + _WorkflowServicePollNexusTaskQueueType, + _WorkflowServiceRespondNexusTaskCompletedType, + _WorkflowServiceRespondNexusTaskFailedType, + _WorkflowServiceUpdateActivityOptionsType, + _WorkflowServiceUpdateWorkflowExecutionOptionsType, + _WorkflowServicePauseActivityType, + _WorkflowServiceUnpauseActivityType, + _WorkflowServiceResetActivityType, + _WorkflowServiceCreateWorkflowRuleType, + _WorkflowServiceDescribeWorkflowRuleType, + _WorkflowServiceDeleteWorkflowRuleType, + _WorkflowServiceListWorkflowRulesType, + _WorkflowServiceTriggerWorkflowRuleType, + _WorkflowServiceRecordWorkerHeartbeatType, + _WorkflowServiceListWorkersType, + _WorkflowServiceCountWorkersType, + _WorkflowServiceUpdateTaskQueueConfigType, + _WorkflowServiceFetchWorkerConfigType, + _WorkflowServiceUpdateWorkerConfigType, + _WorkflowServiceDescribeWorkerType, + _WorkflowServicePauseWorkflowExecutionType, + _WorkflowServiceUnpauseWorkflowExecutionType, + _WorkflowServiceStartActivityExecutionType, + _WorkflowServiceStartNexusOperationExecutionType, + _WorkflowServiceDescribeActivityExecutionType, + _WorkflowServiceDescribeNexusOperationExecutionType, + _WorkflowServicePollActivityExecutionType, + _WorkflowServicePollNexusOperationExecutionType, + _WorkflowServiceListActivityExecutionsType, + _WorkflowServiceListNexusOperationExecutionsType, + _WorkflowServiceCountActivityExecutionsType, + _WorkflowServiceCountNexusOperationExecutionsType, + _WorkflowServiceRequestCancelActivityExecutionType, + _WorkflowServiceRequestCancelNexusOperationExecutionType, + _WorkflowServiceTerminateActivityExecutionType, + _WorkflowServiceDeleteActivityExecutionType, + _WorkflowServicePauseActivityExecutionType, + _WorkflowServiceResetActivityExecutionType, + _WorkflowServiceUnpauseActivityExecutionType, + _WorkflowServiceUpdateActivityExecutionOptionsType, + _WorkflowServiceTerminateNexusOperationExecutionType, + _WorkflowServiceDeleteNexusOperationExecutionType, + ] +): + """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server + to create and interact with workflows and activities. + + Users are expected to call `StartWorkflowExecution` to create a new workflow execution. + + To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow + and activity tasks from the service. For each workflow task, the sdk must process the + (incremental or complete) event history and respond back with any newly generated commands. + + For each activity task, the worker is expected to execute the user's code which implements that + activity, responding with completion or failure. + """ + + @typing.overload + def __init__( + self: WorkflowServiceStub[ + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, + ], + grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, + ], + ], + channel: grpc.Channel, + ) -> None: ... + @typing.overload + def __init__( + self: WorkflowServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, + ], + ], + channel: grpc.aio.Channel, + ) -> None: ... + + RegisterNamespace: _WorkflowServiceRegisterNamespaceType + """RegisterNamespace creates a new namespace which can be used as a container for all resources. + + A Namespace is a top level entity within Temporal, and is used as a container for resources + like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides + isolation for all resources within the namespace. All resources belongs to exactly one + namespace. + """ + + DescribeNamespace: _WorkflowServiceDescribeNamespaceType + """DescribeNamespace returns the information and configuration for a registered namespace.""" + + ListNamespaces: _WorkflowServiceListNamespacesType + """ListNamespaces returns the information and configuration for all namespaces.""" + + UpdateNamespace: _WorkflowServiceUpdateNamespaceType + """UpdateNamespace is used to update the information and configuration of a registered + namespace. + """ + + DeprecateNamespace: _WorkflowServiceDeprecateNamespaceType + """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. + + Once the namespace is deprecated it cannot be used to start new workflow executions. Existing + workflow executions will continue to run on deprecated namespaces. + Deprecated. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Deprecated --) + """ + + StartWorkflowExecution: _WorkflowServiceStartWorkflowExecutionType + """StartWorkflowExecution starts a new workflow execution. + + It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and + also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an + instance already exists with same workflow id. + """ + + ExecuteMultiOperation: _WorkflowServiceExecuteMultiOperationType + """ExecuteMultiOperation executes multiple operations within a single workflow. + + Operations are started atomically, meaning if *any* operation fails to be started, none are, + and the request fails. Upon start, the API returns only when *all* operations have a response. + + Upon failure, it returns `MultiOperationExecutionFailure` where the status code + equals the status code of the *first* operation that failed to be started. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: To be exposed over HTTP in the future. --) + """ + + GetWorkflowExecutionHistory: _WorkflowServiceGetWorkflowExecutionHistoryType + """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with + `NotFound` if the specified workflow execution is unknown to the service. + """ + + GetWorkflowExecutionHistoryReverse: ( + _WorkflowServiceGetWorkflowExecutionHistoryReverseType + ) + """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse + order (starting from last event). Fails with`NotFound` if the specified workflow execution is + unknown to the service. + """ + + PollWorkflowTaskQueue: _WorkflowServicePollWorkflowTaskQueueType + """PollWorkflowTaskQueue is called by workers to make progress on workflows. + + A WorkflowTask is dispatched to callers for active workflow executions with pending workflow + tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done + processing the task. The service will create a `WorkflowTaskStarted` event in the history for + this task before handing it to the worker. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + RespondWorkflowTaskCompleted: _WorkflowServiceRespondWorkflowTaskCompletedType + """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks + they received from `PollWorkflowTaskQueue`. + + Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's + history, along with events corresponding to whatever commands the SDK generated while + executing the task (ex timer started, activity task scheduled, etc). + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + RespondWorkflowTaskFailed: _WorkflowServiceRespondWorkflowTaskFailedType + """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task + failed. + + This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow + task will be scheduled. This API can be used to report unhandled failures resulting from + applying the workflow task. + + Temporal will only append first WorkflowTaskFailed event to the history of workflow execution + for consecutive failures. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + PollActivityTaskQueue: _WorkflowServicePollActivityTaskQueueType + """PollActivityTaskQueue is called by workers to process activity tasks from a specific task + queue. + + The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done + processing the task. + + An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during + workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state + before the task is dispatched to the worker. The started event, and the final event + (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be + written permanently to Workflow execution history when Activity is finished. This is done to + avoid writing many events in the case of a failure/retry loop. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + RecordActivityTaskHeartbeat: _WorkflowServiceRecordActivityTaskHeartbeatType + """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. + + If a worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, + then the current attempt times out. Depending on RetryPolicy, this may trigger a retry or + time out the activity. + + For workflow activities, an `ACTIVITY_TASK_TIMED_OUT` event will be written to the workflow + history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in such situations, + in that event, the SDK should request cancellation of the activity. + + The request may contain response `details` which will be persisted by the server and may be + used by the activity to checkpoint progress. The `cancel_requested` field in the response + indicates whether cancellation has been requested for the activity. + """ + + RecordActivityTaskHeartbeatById: _WorkflowServiceRecordActivityTaskHeartbeatByIdType + """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + + RespondActivityTaskCompleted: _WorkflowServiceRespondActivityTaskCompletedType + """RespondActivityTaskCompleted is called by workers when they successfully complete an activity + task. + + For workflow activities, this results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history + and a new workflow task created for the workflow. Fails with `NotFound` if the task token is + no longer valid due to activity timeout, already being completed, or never having existed. + """ + + RespondActivityTaskCompletedById: ( + _WorkflowServiceRespondActivityTaskCompletedByIdType + ) + """See `RespondActivityTaskCompleted`. This version allows clients to record completions by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + + RespondActivityTaskFailed: _WorkflowServiceRespondActivityTaskFailedType + """RespondActivityTaskFailed is called by workers when processing an activity task fails. + + This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and + a new workflow task created for the workflow. Fails with `NotFound` if the task token is no + longer valid due to activity timeout, already being completed, or never having existed. + """ + + RespondActivityTaskFailedById: _WorkflowServiceRespondActivityTaskFailedByIdType + """See `RecordActivityTaskFailed`. This version allows clients to record failures by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + + RespondActivityTaskCanceled: _WorkflowServiceRespondActivityTaskCanceledType + """RespondActivityTaskFailed is called by workers when processing an activity task fails. + + For workflow activities, this results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history + and a new workflow task created for the workflow. Fails with `NotFound` if the task token is + no longer valid due to activity timeout, already being completed, or never having existed. + """ + + RespondActivityTaskCanceledById: _WorkflowServiceRespondActivityTaskCanceledByIdType + """See `RespondActivityTaskCanceled`. This version allows clients to record failures by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + + RequestCancelWorkflowExecution: _WorkflowServiceRequestCancelWorkflowExecutionType + """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of + a workflow execution. + + This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the + workflow history and a new workflow task created for the workflow. It returns success if the requested + workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. + """ + + SignalWorkflowExecution: _WorkflowServiceSignalWorkflowExecutionType + """SignalWorkflowExecution is used to send a signal to a running workflow execution. + + This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow + task being created for the execution. + """ + + SignalWithStartWorkflowExecution: ( + _WorkflowServiceSignalWithStartWorkflowExecutionType + ) + """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if + it isn't yet started. + + If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history + and a workflow task is generated. + + If the workflow is not running or not found, then the workflow is created with + `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a + workflow task is generated. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "With" is used to indicate combined operation. --) + """ + + ResetWorkflowExecution: _WorkflowServiceResetWorkflowExecutionType + """ResetWorkflowExecution will reset an existing workflow execution to a specified + `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current + execution instance. "Exclusive" means the identified completed event itself is not replayed + in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed + immediately, and a new workflow task will be scheduled to retry it. + """ + + TerminateWorkflowExecution: _WorkflowServiceTerminateWorkflowExecutionType + """TerminateWorkflowExecution terminates an existing workflow execution by recording a + `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the + execution instance. + """ + + DeleteWorkflowExecution: _WorkflowServiceDeleteWorkflowExecutionType + """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when + WorkflowExecution.run_id is provided) or the latest Workflow Execution (when + WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be + terminated before deletion. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) + """ + + ListOpenWorkflowExecutions: _WorkflowServiceListOpenWorkflowExecutionsType + """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) + """ + + ListClosedWorkflowExecutions: _WorkflowServiceListClosedWorkflowExecutionsType + """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) + """ + + ListWorkflowExecutions: _WorkflowServiceListWorkflowExecutionsType + """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" + + ListArchivedWorkflowExecutions: _WorkflowServiceListArchivedWorkflowExecutionsType + """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" + + ScanWorkflowExecutions: _WorkflowServiceScanWorkflowExecutionsType + """ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. + It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. + + Deprecated: Replaced with `ListWorkflowExecutions`. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) + """ + + CountWorkflowExecutions: _WorkflowServiceCountWorkflowExecutionsType + """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" + + GetSearchAttributes: _WorkflowServiceGetSearchAttributesType + """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) + """ + + RespondQueryTaskCompleted: _WorkflowServiceRespondQueryTaskCompletedType + """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on + the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. + + Completing the query will unblock the corresponding client call to `QueryWorkflow` and return + the query result a response. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + ResetStickyTaskQueue: _WorkflowServiceResetStickyTaskQueueType + """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of + a given workflow. This is prudent for workers to perform if a workflow has been paged out of + their cache. + + Things cleared are: + 1. StickyTaskQueue + 2. StickyScheduleToStartTimeout + + When possible, ShutdownWorker should be preferred over + ResetStickyTaskQueue (particularly when a worker is shutting down or + cycling). + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + ShutdownWorker: _WorkflowServiceShutdownWorkerType + """ShutdownWorker is used to indicate that the given sticky task + queue is no longer being polled by its worker. Following the completion of + ShutdownWorker, newly-added workflow tasks will instead be placed + in the normal task queue, eligible for any worker to pick up. + + ShutdownWorker should be called by workers while shutting down, + after they've shut down their pollers. If another sticky poll + request is issued, the sticky task queue will be revived. + + As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + QueryWorkflow: _WorkflowServiceQueryWorkflowType + """QueryWorkflow requests a query be executed for a specified workflow execution.""" + + DescribeWorkflowExecution: _WorkflowServiceDescribeWorkflowExecutionType + """DescribeWorkflowExecution returns information about the specified workflow execution.""" + + DescribeTaskQueue: _WorkflowServiceDescribeTaskQueueType + """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: + - List of pollers + - Workflow Reachability status + - Backlog info for Workflow and/or Activity tasks + """ + + GetClusterInfo: _WorkflowServiceGetClusterInfoType + """GetClusterInfo returns information about temporal cluster""" + + GetSystemInfo: _WorkflowServiceGetSystemInfoType + """GetSystemInfo returns information about the system.""" + + ListTaskQueuePartitions: _WorkflowServiceListTaskQueuePartitionsType + """(-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) + """ + + CreateSchedule: _WorkflowServiceCreateScheduleType + """Creates a new schedule.""" + + DescribeSchedule: _WorkflowServiceDescribeScheduleType + """Returns the schedule description and current state of an existing schedule.""" + + UpdateSchedule: _WorkflowServiceUpdateScheduleType + """Changes the configuration or state of an existing schedule.""" + + PatchSchedule: _WorkflowServicePatchScheduleType + """Makes a specific change to a schedule or triggers an immediate action.""" + + ListScheduleMatchingTimes: _WorkflowServiceListScheduleMatchingTimesType + """Lists matching times within a range.""" + + DeleteSchedule: _WorkflowServiceDeleteScheduleType + """Deletes a schedule, removing it from the system.""" + + ListSchedules: _WorkflowServiceListSchedulesType + """List all schedules in a namespace.""" + + CountSchedules: _WorkflowServiceCountSchedulesType + """CountSchedules is a visibility API to count schedules in a specific namespace.""" + + UpdateWorkerBuildIdCompatibility: ( + _WorkflowServiceUpdateWorkerBuildIdCompatibilityType + ) + """Deprecated. Use `UpdateWorkerVersioningRules`. + Will be removed in server version v1.32.0. + + Allows users to specify sets of worker build id versions on a per task queue basis. Versions + are ordered, and may be either compatible with some extant version, or a new incompatible + version, forming sets of ids which are incompatible with each other, but whose contained + members are compatible with one another. + + A single build id may be mapped to multiple task queues using this API for cases where a single process hosts + multiple workers. + + To query which workers can be retired, use the `GetWorkerTaskReachability` API. + + NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId` + (default is 20), if this limit is exceeded this API will error with a FailedPrecondition. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) + """ + + GetWorkerBuildIdCompatibility: _WorkflowServiceGetWorkerBuildIdCompatibilityType + """Deprecated. Use `GetWorkerVersioningRules`. + Will be removed in server version v1.32.0. + Fetches the worker build id versioning sets for a task queue. + """ + + UpdateWorkerVersioningRules: _WorkflowServiceUpdateWorkerVersioningRulesType + """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of + rules: Build ID Assignment rules and Compatible Build ID Redirect rules. + + Assignment rules determine how to assign new executions to a Build IDs. Their primary + use case is to specify the latest Build ID but they have powerful features for gradual rollout + of a new Build ID. + + Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, + the workflow stays on the assigned Build ID regardless of changes in assignment rules. This + eliminates the need for compatibility between versions when you only care about using the new + version for new workflows and let existing workflows finish in their own version. + + Activities, Child Workflows and Continue-as-New executions have the option to inherit the + Build ID of their parent/previous workflow or use the latest assignment rules to independently + select a Build ID. + + Redirect rules should only be used when you want to move workflows and activities assigned to + one Build ID (source) to another compatible Build ID (target). You are responsible to make sure + the target Build ID of a redirect rule is able to process event histories made by the source + Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. + + Will be removed in server version v1.32.0. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) + """ + + GetWorkerVersioningRules: _WorkflowServiceGetWorkerVersioningRulesType + """Fetches the Build ID assignment and redirect rules for a Task Queue. + Will be removed in server version v1.32.0. + """ + + GetWorkerTaskReachability: _WorkflowServiceGetWorkerTaskReachabilityType + """Deprecated. Use `DescribeTaskQueue`. + Will be removed in server version v1.32.0. + + Fetches task reachability to determine whether a worker may be retired. + The request may specify task queues to query for or let the server fetch all task queues mapped to the given + build IDs. + + When requesting a large number of task queues or all task queues associated with the given build ids in a + namespace, all task queues will be listed in the response but some of them may not contain reachability + information due to a server enforced limit. When reaching the limit, task queues that reachability information + could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue + another call to get the reachability for those task queues. + + Open source users can adjust this limit by setting the server's dynamic config value for + `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. + """ + + DescribeDeployment: _WorkflowServiceDescribeDeploymentType + """Describes a worker deployment. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. + """ + + DescribeWorkerDeploymentVersion: _WorkflowServiceDescribeWorkerDeploymentVersionType + """Describes a worker deployment version. + Experimental. This API might significantly change or be removed in a future release. + """ + + ListDeployments: _WorkflowServiceListDeploymentsType + """Lists worker deployments in the namespace. Optionally can filter based on deployment series + name. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced with `ListWorkerDeployments`. + """ + + GetDeploymentReachability: _WorkflowServiceGetDeploymentReachabilityType + """Returns the reachability level of a worker deployment to help users decide when it is time + to decommission a deployment. Reachability level is calculated based on the deployment's + `status` and existing workflows that depend on the given deployment for their execution. + Calculating reachability is relatively expensive. Therefore, server might return a recently + cached value. In such a case, the `last_update_time` will inform you about the actual + reachability calculation time. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. + """ + + GetCurrentDeployment: _WorkflowServiceGetCurrentDeploymentType + """Returns the current deployment (and its info) for a given deployment series. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. + """ + + SetCurrentDeployment: _WorkflowServiceSetCurrentDeploymentType + """Sets a deployment as the current deployment for its deployment series. Can optionally update + the metadata of the deployment as well. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. + """ + + SetWorkerDeploymentCurrentVersion: ( + _WorkflowServiceSetWorkerDeploymentCurrentVersionType + ) + """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping + Version if it is the Version being set as Current. + Experimental. This API might significantly change or be removed in a future release. + """ + + DescribeWorkerDeployment: _WorkflowServiceDescribeWorkerDeploymentType + """Describes a Worker Deployment. + Experimental. This API might significantly change or be removed in a future release. + """ + + DeleteWorkerDeployment: _WorkflowServiceDeleteWorkerDeploymentType + """Deletes records of (an old) Deployment. A deployment can only be deleted if + it has no Version in it. + Experimental. This API might significantly change or be removed in a future release. + """ + + DeleteWorkerDeploymentVersion: _WorkflowServiceDeleteWorkerDeploymentVersionType + """Used for manual deletion of Versions. User can delete a Version only when all the + following conditions are met: + - It is not the Current or Ramping Version of its Deployment. + - It has no active pollers (none of the task queues in the Version have pollers) + - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition + can be skipped by passing `skip-drainage=true`. + Experimental. This API might significantly change or be removed in a future release. + """ + + SetWorkerDeploymentRampingVersion: ( + _WorkflowServiceSetWorkerDeploymentRampingVersionType + ) + """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for + gradual ramp to unversioned workers too. + Experimental. This API might significantly change or be removed in a future release. + """ + + ListWorkerDeployments: _WorkflowServiceListWorkerDeploymentsType + """Lists all Worker Deployments that are tracked in the Namespace. + Experimental. This API might significantly change or be removed in a future release. + """ + + CreateWorkerDeployment: _WorkflowServiceCreateWorkerDeploymentType + """Creates a new Worker Deployment. + + Experimental. This API might significantly change or be removed in a + future release. + """ + + CreateWorkerDeploymentVersion: _WorkflowServiceCreateWorkerDeploymentVersionType + """Creates a new Worker Deployment Version. + + Experimental. This API might significantly change or be removed in a + future release. + """ + + UpdateWorkerDeploymentVersionComputeConfig: ( + _WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType + ) + """Updates the compute config attached to a Worker Deployment Version. + Experimental. This API might significantly change or be removed in a future release. + """ + + ValidateWorkerDeploymentVersionComputeConfig: ( + _WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType + ) + """Validates the compute config without attaching it to a Worker Deployment Version. + Experimental. This API might significantly change or be removed in a future release. + """ + + UpdateWorkerDeploymentVersionMetadata: ( + _WorkflowServiceUpdateWorkerDeploymentVersionMetadataType + ) + """Updates the user-given metadata attached to a Worker Deployment Version. + Experimental. This API might significantly change or be removed in a future release. + """ + + SetWorkerDeploymentManager: _WorkflowServiceSetWorkerDeploymentManagerType + """Set/unset the ManagerIdentity of a Worker Deployment. + Experimental. This API might significantly change or be removed in a future release. + """ + + UpdateWorkflowExecution: _WorkflowServiceUpdateWorkflowExecutionType + """Invokes the specified Update function on user Workflow code.""" + + PollWorkflowExecutionUpdate: _WorkflowServicePollWorkflowExecutionUpdateType + """Polls a Workflow Execution for the outcome of a Workflow Update + previously issued through the UpdateWorkflowExecution RPC. The effective + timeout on this call will be shorter of the the caller-supplied gRPC + timeout and the server's configured long-poll timeout. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) + """ + + StartBatchOperation: _WorkflowServiceStartBatchOperationType + """StartBatchOperation starts a new batch operation""" + + StopBatchOperation: _WorkflowServiceStopBatchOperationType + """StopBatchOperation stops a batch operation""" + + DescribeBatchOperation: _WorkflowServiceDescribeBatchOperationType + """DescribeBatchOperation returns the information about a batch operation""" + + ListBatchOperations: _WorkflowServiceListBatchOperationsType + """ListBatchOperations returns a list of batch operations""" + + PollNexusTaskQueue: _WorkflowServicePollNexusTaskQueueType + """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + RespondNexusTaskCompleted: _WorkflowServiceRespondNexusTaskCompletedType + """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + RespondNexusTaskFailed: _WorkflowServiceRespondNexusTaskFailedType + """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + + UpdateActivityOptions: _WorkflowServiceUpdateActivityOptionsType + """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. + If there are multiple pending activities of the provided type - all of them will be updated. + This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and + structured to work well for standalone activities. + """ + + UpdateWorkflowExecutionOptions: _WorkflowServiceUpdateWorkflowExecutionOptionsType + """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" + + PauseActivity: _WorkflowServicePauseActivityType + """PauseActivity pauses the execution of an activity specified by its ID or type. + If there are multiple pending activities of the provided type - all of them will be paused + + Pausing an activity means: + - If the activity is currently waiting for a retry or is running and subsequently fails, + it will not be rescheduled until it is unpaused. + - If the activity is already paused, calling this method will have no effect. + - If the activity is running and finishes successfully, the activity will be completed. + - If the activity is running and finishes with failure: + * if there is no retry left - the activity will be completed. + * if there are more retries left - the activity will be paused. + For long-running activities: + - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. + - The activity should respond to the cancellation accordingly. + + Returns a `NotFound` error if there is no pending activity with the provided ID or type + This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and + structured to work well for standalone activities. + """ + + UnpauseActivity: _WorkflowServiceUnpauseActivityType + """UnpauseActivity unpauses the execution of an activity specified by its ID or type. + If there are multiple pending activities of the provided type - all of them will be unpaused. + + If activity is not paused, this call will have no effect. + If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). + Once the activity is unpaused, all timeout timers will be regenerated. + + Flags: + 'jitter': the activity will be scheduled at a random time within the jitter duration. + 'reset_attempts': the number of attempts will be reset. + 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset. + + Returns a `NotFound` error if there is no pending activity with the provided ID or type + This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and + structured to work well for standalone activities. + """ + + ResetActivity: _WorkflowServiceResetActivityType + """ResetActivity resets the execution of an activity specified by its ID or type. + If there are multiple pending activities of the provided type - all of them will be reset. + + Resetting an activity means: + * number of attempts will be reset to 0. + * activity timeouts will be reset. + * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: + it will be scheduled immediately (* see 'jitter' flag), + + Flags: + + 'jitter': the activity will be scheduled at a random time within the jitter duration. + If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. + 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. + 'keep_paused': if the activity is paused, it will remain paused. + + Returns a `NotFound` error if there is no pending activity with the provided ID or type. + This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and + structured to work well for standalone activities. + """ + + CreateWorkflowRule: _WorkflowServiceCreateWorkflowRuleType + """Create a new workflow rule. The rules are used to control the workflow execution. + The rule will be applied to all running and new workflows in the namespace. + If the rule with such ID already exist this call will fail + Note: the rules are part of namespace configuration and will be stored in the namespace config. + Namespace config is eventually consistent. + """ + + DescribeWorkflowRule: _WorkflowServiceDescribeWorkflowRuleType + """DescribeWorkflowRule return the rule specification for existing rule id. + If there is no rule with such id - NOT FOUND error will be returned. + """ + + DeleteWorkflowRule: _WorkflowServiceDeleteWorkflowRuleType + """Delete rule by rule id""" + + ListWorkflowRules: _WorkflowServiceListWorkflowRulesType + """Return all namespace workflow rules""" + + TriggerWorkflowRule: _WorkflowServiceTriggerWorkflowRuleType + """TriggerWorkflowRule allows to: + * trigger existing rule for a specific workflow execution; + * trigger rule for a specific workflow execution without creating a rule; + This is useful for one-off operations. + """ + + RecordWorkerHeartbeat: _WorkflowServiceRecordWorkerHeartbeatType + """WorkerHeartbeat receive heartbeat request from the worker.""" + + ListWorkers: _WorkflowServiceListWorkersType + """ListWorkers is a visibility API to list worker status information in a specific namespace.""" + + CountWorkers: _WorkflowServiceCountWorkersType + """CountWorkers counts the number of workers in a specific namespace.""" + + UpdateTaskQueueConfig: _WorkflowServiceUpdateTaskQueueConfigType + """Updates task queue configuration. + For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, + which uncouples the rate limit from the worker lifecycle. + If the overall queue rate limit is unset, the worker-set rate limit takes effect. + """ + + FetchWorkerConfig: _WorkflowServiceFetchWorkerConfigType + """FetchWorkerConfig returns the worker configuration for a specific worker.""" + + UpdateWorkerConfig: _WorkflowServiceUpdateWorkerConfigType + """UpdateWorkerConfig updates the worker configuration of one or more workers. + Can be used to partially update the worker configuration. + Can be used to update the configuration of multiple workers. + """ + + DescribeWorker: _WorkflowServiceDescribeWorkerType + """DescribeWorker returns information about the specified worker.""" + + PauseWorkflowExecution: _WorkflowServicePauseWorkflowExecutionType + """Note: This is an experimental API and the behavior may change in a future release. + PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in + - The workflow execution status changes to `PAUSED` and a new WORKFLOW_EXECUTION_PAUSED event is added to the history + - No new workflow tasks or activity tasks are dispatched. + - Any workflow task currently executing on the worker will be allowed to complete. + - Any activity task currently executing will be paused. + - All server-side events will continue to be processed by the server. + - Queries & Updates on a paused workflow will be rejected. + """ + + UnpauseWorkflowExecution: _WorkflowServiceUnpauseWorkflowExecutionType + """Note: This is an experimental API and the behavior may change in a future release. + UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. + Unpausing a workflow execution results in + - The workflow execution status changes to `RUNNING` and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history + - Workflow tasks and activity tasks are resumed. + """ + + StartActivityExecution: _WorkflowServiceStartActivityExecutionType + """StartActivityExecution starts a new activity execution. + + Returns an `ActivityExecutionAlreadyStarted` error if an instance already exists with same activity ID in this namespace + unless permitted by the specified ID conflict policy. + """ + + StartNexusOperationExecution: _WorkflowServiceStartNexusOperationExecutionType + """StartNexusOperationExecution starts a new Nexus operation. + + Returns a `NexusOperationExecutionAlreadyStarted` error if an instance already exists with same operation ID in this + namespace unless permitted by the specified ID conflict policy. + """ + + DescribeActivityExecution: _WorkflowServiceDescribeActivityExecutionType + """DescribeActivityExecution returns information about an activity execution. + It can be used to: + - Get current activity info without waiting + - Long-poll for next state change and return new activity info + Response can optionally include activity input or outcome (if the activity has completed). + """ + + DescribeNexusOperationExecution: _WorkflowServiceDescribeNexusOperationExecutionType + """DescribeNexusOperationExecution returns information about a Nexus operation. + Supported use cases include: + - Get current operation info without waiting + - Long-poll for next state change and return new operation info + Response can optionally include operation input or outcome (if the operation has completed). + """ + + PollActivityExecution: _WorkflowServicePollActivityExecutionType + """PollActivityExecution long-polls for an activity execution to complete and returns the + outcome (result or failure). + """ + + PollNexusOperationExecution: _WorkflowServicePollNexusOperationExecutionType + """PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns + the outcome (result or failure). + """ + + ListActivityExecutions: _WorkflowServiceListActivityExecutionsType + """ListActivityExecutions is a visibility API to list activity executions in a specific namespace.""" + + ListNexusOperationExecutions: _WorkflowServiceListNexusOperationExecutionsType + """ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.""" + + CountActivityExecutions: _WorkflowServiceCountActivityExecutionsType + """CountActivityExecutions is a visibility API to count activity executions in a specific namespace.""" + + CountNexusOperationExecutions: _WorkflowServiceCountNexusOperationExecutionsType + """CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.""" + + RequestCancelActivityExecution: _WorkflowServiceRequestCancelActivityExecutionType + """RequestCancelActivityExecution requests cancellation of an activity execution. + + Cancellation is cooperative: this call records the request, but the activity must detect and + acknowledge it for the activity to reach CANCELED status. The cancellation signal is + delivered via `cancel_requested` in the heartbeat response; SDKs surface this via + language-idiomatic mechanisms (context cancellation, exceptions, abort signals). + """ + + RequestCancelNexusOperationExecution: ( + _WorkflowServiceRequestCancelNexusOperationExecutionType + ) + """RequestCancelNexusOperationExecution requests cancellation of a Nexus operation. + + Requesting to cancel an operation does not automatically transition the operation to canceled status. + The operation will only transition to canceled status if it supports cancellation and the handler + processes the cancellation request. + """ + + TerminateActivityExecution: _WorkflowServiceTerminateActivityExecutionType + """TerminateActivityExecution terminates an existing activity execution immediately. + + Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a + running attempt. + """ + + DeleteActivityExecution: _WorkflowServiceDeleteActivityExecutionType + """DeleteActivityExecution asynchronously deletes a specific activity execution (when + ActivityExecution.run_id is provided) or the latest activity execution (when + ActivityExecution.run_id is not provided). If the activity Execution is running, it will be + terminated before deletion. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --) + """ + + PauseActivityExecution: _WorkflowServicePauseActivityExecutionType + """PauseActivityExecution pauses the execution of an activity specified by its ID. + This API can be used to target a workflow activity or a standalone activity + + Pausing an activity means: + - If the activity is currently waiting for a retry or is running and subsequently fails, + it will not be rescheduled until it is unpaused. + - If the activity is already paused, calling this method will have no effect. + - If the activity is running and finishes successfully, the activity will be completed. + - If the activity is running and finishes with failure: + * if there is no retry left - the activity will be completed. + * if there are more retries left - the activity will be paused. + For long-running activities: + - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. + + Returns a `NotFound` error if there is no pending activity with the provided ID + """ + + ResetActivityExecution: _WorkflowServiceResetActivityExecutionType + """ResetActivityExecution resets the execution of an activity specified by its ID. + This API can be used to target a workflow activity or a standalone activity. + + Resetting an activity means: + * number of attempts will be reset to 0. + * activity timeouts will be reset. + * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: + it will be scheduled immediately (* see 'jitter' flag) + + Returns a `NotFound` error if there is no pending activity with the provided ID or type. + """ + + UnpauseActivityExecution: _WorkflowServiceUnpauseActivityExecutionType + """UnpauseActivityExecution unpauses the execution of an activity specified by its ID. + This API can be used to target a workflow activity or a standalone activity. + + If activity is not paused, this call will have no effect. + If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). + Once the activity is unpaused, all timeout timers will be regenerated. + + Returns a `NotFound` error if there is no pending activity with the provided ID + """ + + UpdateActivityExecutionOptions: _WorkflowServiceUpdateActivityExecutionOptionsType + """UpdateActivityExecutionOptions is called by the client to update the options of an activity by its ID. + This API can be used to target a workflow activity or a standalone activity. + """ + + TerminateNexusOperationExecution: ( + _WorkflowServiceTerminateNexusOperationExecutionType + ) + """TerminateNexusOperationExecution terminates an existing Nexus operation immediately. + + Termination happens immediately and the operation handler cannot react to it. A terminated operation will have + its outcome set to a failure with a termination reason. + """ + + DeleteNexusOperationExecution: _WorkflowServiceDeleteNexusOperationExecutionType + """DeleteNexusOperationExecution asynchronously deletes a specific Nexus operation run (when + run_id is provided) or the latest run (when run_id is not provided). If the operation + is running, it will be terminated before deletion. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Nexus operation deletion not exposed to HTTP, users should use cancel or terminate. --) + """ + +WorkflowServiceAsyncStub: typing_extensions.TypeAlias = WorkflowServiceStub[ + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - ] - """ShutdownWorker is used to indicate that the given sticky task - queue is no longer being polled by its worker. Following the completion of - ShutdownWorker, newly-added workflow tasks will instead be placed - in the normal task queue, eligible for any worker to pick up. - - ShutdownWorker should be called by workers while shutting down, - after they've shut down their pollers. If another sticky poll - request is issued, the sticky task queue will be revived. - - As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - QueryWorkflow: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - ] - """QueryWorkflow requests a query be executed for a specified workflow execution.""" - DescribeWorkflowExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - ] - """DescribeWorkflowExecution returns information about the specified workflow execution.""" - DescribeTaskQueue: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - ] - """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - - List of pollers - - Workflow Reachability status - - Backlog info for Workflow and/or Activity tasks - """ - GetClusterInfo: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - ] - """GetClusterInfo returns information about temporal cluster""" - GetSystemInfo: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - ] - """GetSystemInfo returns information about the system.""" - ListTaskQueuePartitions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - ] - """(-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) - """ - CreateSchedule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - ] - """Creates a new schedule.""" - DescribeSchedule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - ] - """Returns the schedule description and current state of an existing schedule.""" - UpdateSchedule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - ] - """Changes the configuration or state of an existing schedule.""" - PatchSchedule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - ] - """Makes a specific change to a schedule or triggers an immediate action.""" - ListScheduleMatchingTimes: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - ] - """Lists matching times within a range.""" - DeleteSchedule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - ] - """Deletes a schedule, removing it from the system.""" - ListSchedules: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - ] - """List all schedules in a namespace.""" - CountSchedules: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - ] - """CountSchedules is a visibility API to count schedules in a specific namespace.""" - UpdateWorkerBuildIdCompatibility: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - ] - """Deprecated. Use `UpdateWorkerVersioningRules`. - Will be removed in server version v1.32.0. - - Allows users to specify sets of worker build id versions on a per task queue basis. Versions - are ordered, and may be either compatible with some extant version, or a new incompatible - version, forming sets of ids which are incompatible with each other, but whose contained - members are compatible with one another. - - A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - multiple workers. - - To query which workers can be retired, use the `GetWorkerTaskReachability` API. - - NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId` - (default is 20), if this limit is exceeded this API will error with a FailedPrecondition. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - """ - GetWorkerBuildIdCompatibility: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - ] - """Deprecated. Use `GetWorkerVersioningRules`. - Will be removed in server version v1.32.0. - Fetches the worker build id versioning sets for a task queue. - """ - UpdateWorkerVersioningRules: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - ] - """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of - rules: Build ID Assignment rules and Compatible Build ID Redirect rules. - - Assignment rules determine how to assign new executions to a Build IDs. Their primary - use case is to specify the latest Build ID but they have powerful features for gradual rollout - of a new Build ID. - - Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, - the workflow stays on the assigned Build ID regardless of changes in assignment rules. This - eliminates the need for compatibility between versions when you only care about using the new - version for new workflows and let existing workflows finish in their own version. - - Activities, Child Workflows and Continue-as-New executions have the option to inherit the - Build ID of their parent/previous workflow or use the latest assignment rules to independently - select a Build ID. - - Redirect rules should only be used when you want to move workflows and activities assigned to - one Build ID (source) to another compatible Build ID (target). You are responsible to make sure - the target Build ID of a redirect rule is able to process event histories made by the source - Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. - - Will be removed in server version v1.32.0. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - """ - GetWorkerVersioningRules: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - ] - """Fetches the Build ID assignment and redirect rules for a Task Queue. - Will be removed in server version v1.32.0. - """ - GetWorkerTaskReachability: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - ] - """Deprecated. Use `DescribeTaskQueue`. - Will be removed in server version v1.32.0. - - Fetches task reachability to determine whether a worker may be retired. - The request may specify task queues to query for or let the server fetch all task queues mapped to the given - build IDs. - - When requesting a large number of task queues or all task queues associated with the given build ids in a - namespace, all task queues will be listed in the response but some of them may not contain reachability - information due to a server enforced limit. When reaching the limit, task queues that reachability information - could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue - another call to get the reachability for those task queues. - - Open source users can adjust this limit by setting the server's dynamic config value for - `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. - """ - DescribeDeployment: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - ] - """Describes a worker deployment. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. - """ - DescribeWorkerDeploymentVersion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - ] - """Describes a worker deployment version. - Experimental. This API might significantly change or be removed in a future release. - """ - ListDeployments: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - ] - """Lists worker deployments in the namespace. Optionally can filter based on deployment series - name. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced with `ListWorkerDeployments`. - """ - GetDeploymentReachability: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - ] - """Returns the reachability level of a worker deployment to help users decide when it is time - to decommission a deployment. Reachability level is calculated based on the deployment's - `status` and existing workflows that depend on the given deployment for their execution. - Calculating reachability is relatively expensive. Therefore, server might return a recently - cached value. In such a case, the `last_update_time` will inform you about the actual - reachability calculation time. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. - """ - GetCurrentDeployment: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - ] - """Returns the current deployment (and its info) for a given deployment series. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. - """ - SetCurrentDeployment: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - ] - """Sets a deployment as the current deployment for its deployment series. Can optionally update - the metadata of the deployment as well. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. - """ - SetWorkerDeploymentCurrentVersion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - ] - """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping - Version if it is the Version being set as Current. - Experimental. This API might significantly change or be removed in a future release. - """ - DescribeWorkerDeployment: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - ] - """Describes a Worker Deployment. - Experimental. This API might significantly change or be removed in a future release. - """ - DeleteWorkerDeployment: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - ] - """Deletes records of (an old) Deployment. A deployment can only be deleted if - it has no Version in it. - Experimental. This API might significantly change or be removed in a future release. - """ - DeleteWorkerDeploymentVersion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - ] - """Used for manual deletion of Versions. User can delete a Version only when all the - following conditions are met: - - It is not the Current or Ramping Version of its Deployment. - - It has no active pollers (none of the task queues in the Version have pollers) - - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition - can be skipped by passing `skip-drainage=true`. - Experimental. This API might significantly change or be removed in a future release. - """ - SetWorkerDeploymentRampingVersion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - ] - """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for - gradual ramp to unversioned workers too. - Experimental. This API might significantly change or be removed in a future release. - """ - ListWorkerDeployments: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - ] - """Lists all Worker Deployments that are tracked in the Namespace. - Experimental. This API might significantly change or be removed in a future release. - """ - CreateWorkerDeployment: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - ] - """Creates a new Worker Deployment. - - Experimental. This API might significantly change or be removed in a - future release. - """ - CreateWorkerDeploymentVersion: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - ] - """Creates a new Worker Deployment Version. - - Experimental. This API might significantly change or be removed in a - future release. - """ - UpdateWorkerDeploymentVersionComputeConfig: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - ] - """Updates the compute config attached to a Worker Deployment Version. - Experimental. This API might significantly change or be removed in a future release. - """ - ValidateWorkerDeploymentVersionComputeConfig: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - ] - """Validates the compute config without attaching it to a Worker Deployment Version. - Experimental. This API might significantly change or be removed in a future release. - """ - UpdateWorkerDeploymentVersionMetadata: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - ] - """Updates the user-given metadata attached to a Worker Deployment Version. - Experimental. This API might significantly change or be removed in a future release. - """ - SetWorkerDeploymentManager: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - ] - """Set/unset the ManagerIdentity of a Worker Deployment. - Experimental. This API might significantly change or be removed in a future release. - """ - UpdateWorkflowExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - ] - """Invokes the specified Update function on user Workflow code.""" - PollWorkflowExecutionUpdate: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - ] - """Polls a Workflow Execution for the outcome of a Workflow Update - previously issued through the UpdateWorkflowExecution RPC. The effective - timeout on this call will be shorter of the the caller-supplied gRPC - timeout and the server's configured long-poll timeout. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) - """ - StartBatchOperation: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - ] - """StartBatchOperation starts a new batch operation""" - StopBatchOperation: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - ] - """StopBatchOperation stops a batch operation""" - DescribeBatchOperation: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - ] - """DescribeBatchOperation returns the information about a batch operation""" - ListBatchOperations: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - ] - """ListBatchOperations returns a list of batch operations""" - PollNexusTaskQueue: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - ] - """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - RespondNexusTaskCompleted: grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - ] - """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - RespondNexusTaskFailed: grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - ] - """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - UpdateActivityOptions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - ] - """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. - If there are multiple pending activities of the provided type - all of them will be updated. - This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and - structured to work well for standalone activities. - """ - UpdateWorkflowExecutionOptions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - ] - """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" - PauseActivity: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - ] - """PauseActivity pauses the execution of an activity specified by its ID or type. - If there are multiple pending activities of the provided type - all of them will be paused - - Pausing an activity means: - - If the activity is currently waiting for a retry or is running and subsequently fails, - it will not be rescheduled until it is unpaused. - - If the activity is already paused, calling this method will have no effect. - - If the activity is running and finishes successfully, the activity will be completed. - - If the activity is running and finishes with failure: - * if there is no retry left - the activity will be completed. - * if there are more retries left - the activity will be paused. - For long-running activities: - - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. - - The activity should respond to the cancellation accordingly. - - Returns a `NotFound` error if there is no pending activity with the provided ID or type - This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and - structured to work well for standalone activities. - """ - UnpauseActivity: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - ] - """UnpauseActivity unpauses the execution of an activity specified by its ID or type. - If there are multiple pending activities of the provided type - all of them will be unpaused. - - If activity is not paused, this call will have no effect. - If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). - Once the activity is unpaused, all timeout timers will be regenerated. - - Flags: - 'jitter': the activity will be scheduled at a random time within the jitter duration. - 'reset_attempts': the number of attempts will be reset. - 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset. - - Returns a `NotFound` error if there is no pending activity with the provided ID or type - This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and - structured to work well for standalone activities. - """ - ResetActivity: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - ] - """ResetActivity resets the execution of an activity specified by its ID or type. - If there are multiple pending activities of the provided type - all of them will be reset. - - Resetting an activity means: - * number of attempts will be reset to 0. - * activity timeouts will be reset. - * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: - it will be scheduled immediately (* see 'jitter' flag), - - Flags: - - 'jitter': the activity will be scheduled at a random time within the jitter duration. - If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. - 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. - 'keep_paused': if the activity is paused, it will remain paused. - - Returns a `NotFound` error if there is no pending activity with the provided ID or type. - This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and - structured to work well for standalone activities. - """ - CreateWorkflowRule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - ] - """Create a new workflow rule. The rules are used to control the workflow execution. - The rule will be applied to all running and new workflows in the namespace. - If the rule with such ID already exist this call will fail - Note: the rules are part of namespace configuration and will be stored in the namespace config. - Namespace config is eventually consistent. - """ - DescribeWorkflowRule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - ] - """DescribeWorkflowRule return the rule specification for existing rule id. - If there is no rule with such id - NOT FOUND error will be returned. - """ - DeleteWorkflowRule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - ] - """Delete rule by rule id""" - ListWorkflowRules: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - ] - """Return all namespace workflow rules""" - TriggerWorkflowRule: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - ] - """TriggerWorkflowRule allows to: - * trigger existing rule for a specific workflow execution; - * trigger rule for a specific workflow execution without creating a rule; - This is useful for one-off operations. - """ - RecordWorkerHeartbeat: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - ] - """WorkerHeartbeat receive heartbeat request from the worker.""" - ListWorkers: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - ] - """ListWorkers is a visibility API to list worker status information in a specific namespace.""" - UpdateTaskQueueConfig: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - ] - """Updates task queue configuration. - For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, - which uncouples the rate limit from the worker lifecycle. - If the overall queue rate limit is unset, the worker-set rate limit takes effect. - """ - FetchWorkerConfig: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - ] - """FetchWorkerConfig returns the worker configuration for a specific worker.""" - UpdateWorkerConfig: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - ] - """UpdateWorkerConfig updates the worker configuration of one or more workers. - Can be used to partially update the worker configuration. - Can be used to update the configuration of multiple workers. - """ - DescribeWorker: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - ] - """DescribeWorker returns information about the specified worker.""" - PauseWorkflowExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - ] - """Note: This is an experimental API and the behavior may change in a future release. - PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in - - The workflow execution status changes to `PAUSED` and a new WORKFLOW_EXECUTION_PAUSED event is added to the history - - No new workflow tasks or activity tasks are dispatched. - - Any workflow task currently executing on the worker will be allowed to complete. - - Any activity task currently executing will be paused. - - All server-side events will continue to be processed by the server. - - Queries & Updates on a paused workflow will be rejected. - """ - UnpauseWorkflowExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - ] - """Note: This is an experimental API and the behavior may change in a future release. - UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. - Unpausing a workflow execution results in - - The workflow execution status changes to `RUNNING` and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history - - Workflow tasks and activity tasks are resumed. - """ - StartActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - ] - """StartActivityExecution starts a new activity execution. - - Returns an `ActivityExecutionAlreadyStarted` error if an instance already exists with same activity ID in this namespace - unless permitted by the specified ID conflict policy. - """ - StartNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - ] - """StartNexusOperationExecution starts a new Nexus operation. - - Returns a `NexusOperationExecutionAlreadyStarted` error if an instance already exists with same operation ID in this - namespace unless permitted by the specified ID conflict policy. - """ - DescribeActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - ] - """DescribeActivityExecution returns information about an activity execution. - It can be used to: - - Get current activity info without waiting - - Long-poll for next state change and return new activity info - Response can optionally include activity input or outcome (if the activity has completed). - """ - DescribeNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - ] - """DescribeNexusOperationExecution returns information about a Nexus operation. - Supported use cases include: - - Get current operation info without waiting - - Long-poll for next state change and return new operation info - Response can optionally include operation input or outcome (if the operation has completed). - """ - PollActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - ] - """PollActivityExecution long-polls for an activity execution to complete and returns the - outcome (result or failure). - """ - PollNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - ] - """PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns - the outcome (result or failure). - """ - ListActivityExecutions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - ] - """ListActivityExecutions is a visibility API to list activity executions in a specific namespace.""" - ListNexusOperationExecutions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - ] - """ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.""" - CountActivityExecutions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - ] - """CountActivityExecutions is a visibility API to count activity executions in a specific namespace.""" - CountNexusOperationExecutions: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - ] - """CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.""" - RequestCancelActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - ] - """RequestCancelActivityExecution requests cancellation of an activity execution. - - Cancellation is cooperative: this call records the request, but the activity must detect and - acknowledge it for the activity to reach CANCELED status. The cancellation signal is - delivered via `cancel_requested` in the heartbeat response; SDKs surface this via - language-idiomatic mechanisms (context cancellation, exceptions, abort signals). - """ - RequestCancelNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - ] - """RequestCancelNexusOperationExecution requests cancellation of a Nexus operation. - - Requesting to cancel an operation does not automatically transition the operation to canceled status. - The operation will only transition to canceled status if it supports cancellation and the handler - processes the cancellation request. - """ - TerminateActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - ] - """TerminateActivityExecution terminates an existing activity execution immediately. - - Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a - running attempt. - """ - DeleteActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - ] - """DeleteActivityExecution asynchronously deletes a specific activity execution (when - ActivityExecution.run_id is provided) or the latest activity execution (when - ActivityExecution.run_id is not provided). If the activity Execution is running, it will be - terminated before deletion. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --) - """ - PauseActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - ] - """PauseActivityExecution pauses the execution of an activity specified by its ID. - This API can be used to target a workflow activity or a standalone activity - - Pausing an activity means: - - If the activity is currently waiting for a retry or is running and subsequently fails, - it will not be rescheduled until it is unpaused. - - If the activity is already paused, calling this method will have no effect. - - If the activity is running and finishes successfully, the activity will be completed. - - If the activity is running and finishes with failure: - * if there is no retry left - the activity will be completed. - * if there are more retries left - the activity will be paused. - For long-running activities: - - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. - - Returns a `NotFound` error if there is no pending activity with the provided ID - """ - ResetActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - ] - """ResetActivityExecution resets the execution of an activity specified by its ID. - This API can be used to target a workflow activity or a standalone activity. - - Resetting an activity means: - * number of attempts will be reset to 0. - * activity timeouts will be reset. - * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: - it will be scheduled immediately (* see 'jitter' flag) - - Returns a `NotFound` error if there is no pending activity with the provided ID or type. - """ - UnpauseActivityExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - ] - """UnpauseActivityExecution unpauses the execution of an activity specified by its ID. - This API can be used to target a workflow activity or a standalone activity. - - If activity is not paused, this call will have no effect. - If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). - Once the activity is unpaused, all timeout timers will be regenerated. - - Returns a `NotFound` error if there is no pending activity with the provided ID - """ - UpdateActivityExecutionOptions: grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - ] - """UpdateActivityExecutionOptions is called by the client to update the options of an activity by its ID. - This API can be used to target a workflow activity or a standalone activity. - """ - TerminateNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - ] - """TerminateNexusOperationExecution terminates an existing Nexus operation immediately. - - Termination happens immediately and the operation handler cannot react to it. A terminated operation will have - its outcome set to a failure with a termination reason. - """ - DeleteNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, + ], + grpc.aio.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - ] - """DeleteNexusOperationExecution asynchronously deletes a specific Nexus operation run (when - run_id is provided) or the latest run (when run_id is not provided). If the operation - is running, it will be terminated before deletion. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Nexus operation deletion not exposed to HTTP, users should use cancel or terminate. --) - """ + ], +] class WorkflowServiceServicer(metaclass=abc.ABCMeta): """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server @@ -1188,10 +4547,13 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): def RegisterNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse + ], + ]: """RegisterNamespace creates a new namespace which can be used as a container for all resources. A Namespace is a top level entity within Temporal, and is used as a container for resources @@ -1199,37 +4561,59 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): isolation for all resources within the namespace. All resources belongs to exactly one namespace. """ + @abc.abstractmethod def DescribeNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse + ], + ]: """DescribeNamespace returns the information and configuration for a registered namespace.""" + @abc.abstractmethod def ListNamespaces( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse + ], + ]: """ListNamespaces returns the information and configuration for all namespaces.""" + @abc.abstractmethod def UpdateNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse + ], + ]: """UpdateNamespace is used to update the information and configuration of a registered namespace. """ + @abc.abstractmethod def DeprecateNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse + ], + ]: """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. Once the namespace is deprecated it cannot be used to start new workflow executions. Existing @@ -1239,24 +4623,36 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Deprecated --) """ + @abc.abstractmethod def StartWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse + ], + ]: """StartWorkflowExecution starts a new workflow execution. It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an instance already exists with same workflow id. """ + @abc.abstractmethod def ExecuteMultiOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse + ], + ]: """ExecuteMultiOperation executes multiple operations within a single workflow. Operations are started atomically, meaning if *any* operation fails to be started, none are, @@ -1268,31 +4664,49 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: To be exposed over HTTP in the future. --) """ + @abc.abstractmethod def GetWorkflowExecutionHistory( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse + ], + ]: """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with `NotFound` if the specified workflow execution is unknown to the service. """ + @abc.abstractmethod def GetWorkflowExecutionHistoryReverse( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse + ], + ]: """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse order (starting from last event). Fails with`NotFound` if the specified workflow execution is unknown to the service. """ + @abc.abstractmethod def PollWorkflowTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse + ], + ]: """PollWorkflowTaskQueue is called by workers to make progress on workflows. A WorkflowTask is dispatched to callers for active workflow executions with pending workflow @@ -1303,12 +4717,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def RespondWorkflowTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse + ], + ]: """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks they received from `PollWorkflowTaskQueue`. @@ -1319,12 +4739,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def RespondWorkflowTaskFailed( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse + ], + ]: """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task failed. @@ -1338,12 +4764,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def PollActivityTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse + ], + ]: """PollActivityTaskQueue is called by workers to process activity tasks from a specific task queue. @@ -1360,12 +4792,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def RecordActivityTaskHeartbeat( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse + ], + ]: """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. If a worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, @@ -1380,24 +4818,36 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): used by the activity to checkpoint progress. The `cancel_requested` field in the response indicates whether cancellation has been requested for the activity. """ + @abc.abstractmethod def RecordActivityTaskHeartbeatById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse + ], + ]: """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ + @abc.abstractmethod def RespondActivityTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse + ], + ]: """RespondActivityTaskCompleted is called by workers when they successfully complete an activity task. @@ -1405,72 +4855,108 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): and a new workflow task created for the workflow. Fails with `NotFound` if the task token is no longer valid due to activity timeout, already being completed, or never having existed. """ + @abc.abstractmethod def RespondActivityTaskCompletedById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse + ], + ]: """See `RespondActivityTaskCompleted`. This version allows clients to record completions by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ + @abc.abstractmethod def RespondActivityTaskFailed( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse + ], + ]: """RespondActivityTaskFailed is called by workers when processing an activity task fails. This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and a new workflow task created for the workflow. Fails with `NotFound` if the task token is no longer valid due to activity timeout, already being completed, or never having existed. """ + @abc.abstractmethod def RespondActivityTaskFailedById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse + ], + ]: """See `RecordActivityTaskFailed`. This version allows clients to record failures by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ + @abc.abstractmethod def RespondActivityTaskCanceled( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse + ], + ]: """RespondActivityTaskFailed is called by workers when processing an activity task fails. For workflow activities, this results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history and a new workflow task created for the workflow. Fails with `NotFound` if the task token is no longer valid due to activity timeout, already being completed, or never having existed. """ + @abc.abstractmethod def RespondActivityTaskCanceledById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse + ], + ]: """See `RespondActivityTaskCanceled`. This version allows clients to record failures by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ + @abc.abstractmethod def RequestCancelWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse + ], + ]: """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of a workflow execution. @@ -1478,23 +4964,35 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): workflow history and a new workflow task created for the workflow. It returns success if the requested workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. """ + @abc.abstractmethod def SignalWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse + ], + ]: """SignalWorkflowExecution is used to send a signal to a running workflow execution. This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow task being created for the execution. """ + @abc.abstractmethod def SignalWithStartWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse + ], + ]: """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if it isn't yet started. @@ -1508,34 +5006,52 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "With" is used to indicate combined operation. --) """ + @abc.abstractmethod def ResetWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse + ], + ]: """ResetWorkflowExecution will reset an existing workflow execution to a specified `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current execution instance. "Exclusive" means the identified completed event itself is not replayed in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed immediately, and a new workflow task will be scheduled to retry it. """ + @abc.abstractmethod def TerminateWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse + ], + ]: """TerminateWorkflowExecution terminates an existing workflow execution by recording a `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the execution instance. """ + @abc.abstractmethod def DeleteWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse + ], + ]: """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when WorkflowExecution.run_id is provided) or the latest Workflow Execution (when WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be @@ -1544,48 +5060,78 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) """ + @abc.abstractmethod def ListOpenWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse + ], + ]: """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ + @abc.abstractmethod def ListClosedWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse + ], + ]: """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ + @abc.abstractmethod def ListWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse + ], + ]: """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" + @abc.abstractmethod def ListArchivedWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse + ], + ]: """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" + @abc.abstractmethod def ScanWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse + ], + ]: """ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. @@ -1593,30 +5139,48 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ + @abc.abstractmethod def CountWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse + ], + ]: """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" + @abc.abstractmethod def GetSearchAttributes( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse + ], + ]: """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) """ + @abc.abstractmethod def RespondQueryTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse + ], + ]: """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. @@ -1626,12 +5190,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def ResetStickyTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse + ], + ]: """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of a given workflow. This is prudent for workers to perform if a workflow has been paged out of their cache. @@ -1647,12 +5217,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def ShutdownWorker( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse + ], + ]: """ShutdownWorker is used to indicate that the given sticky task queue is no longer being polled by its worker. Following the completion of ShutdownWorker, newly-added workflow tasks will instead be placed @@ -1667,120 +5243,206 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def QueryWorkflow( self, request: temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse + ], + ]: """QueryWorkflow requests a query be executed for a specified workflow execution.""" + @abc.abstractmethod def DescribeWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse + ], + ]: """DescribeWorkflowExecution returns information about the specified workflow execution.""" + @abc.abstractmethod def DescribeTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse + ], + ]: """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - List of pollers - Workflow Reachability status - Backlog info for Workflow and/or Activity tasks """ + @abc.abstractmethod def GetClusterInfo( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse + ], + ]: """GetClusterInfo returns information about temporal cluster""" + @abc.abstractmethod def GetSystemInfo( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse + ], + ]: """GetSystemInfo returns information about the system.""" + @abc.abstractmethod def ListTaskQueuePartitions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse + ], + ]: """(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) """ + @abc.abstractmethod def CreateSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse + ], + ]: """Creates a new schedule.""" + @abc.abstractmethod def DescribeSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse + ], + ]: """Returns the schedule description and current state of an existing schedule.""" + @abc.abstractmethod def UpdateSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse + ], + ]: """Changes the configuration or state of an existing schedule.""" + @abc.abstractmethod def PatchSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse + ], + ]: """Makes a specific change to a schedule or triggers an immediate action.""" + @abc.abstractmethod def ListScheduleMatchingTimes( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse + ], + ]: """Lists matching times within a range.""" + @abc.abstractmethod def DeleteSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse + ], + ]: """Deletes a schedule, removing it from the system.""" + @abc.abstractmethod def ListSchedules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse + ], + ]: """List all schedules in a namespace.""" + @abc.abstractmethod def CountSchedules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse + ], + ]: """CountSchedules is a visibility API to count schedules in a specific namespace.""" + @abc.abstractmethod def UpdateWorkerBuildIdCompatibility( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse + ], + ]: """Deprecated. Use `UpdateWorkerVersioningRules`. Will be removed in server version v1.32.0. @@ -1800,22 +5462,34 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ + @abc.abstractmethod def GetWorkerBuildIdCompatibility( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse + ], + ]: """Deprecated. Use `GetWorkerVersioningRules`. Will be removed in server version v1.32.0. Fetches the worker build id versioning sets for a task queue. """ + @abc.abstractmethod def UpdateWorkerVersioningRules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse + ], + ]: """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of rules: Build ID Assignment rules and Compatible Build ID Redirect rules. @@ -1841,21 +5515,33 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ + @abc.abstractmethod def GetWorkerVersioningRules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse + ], + ]: """Fetches the Build ID assignment and redirect rules for a Task Queue. Will be removed in server version v1.32.0. """ + @abc.abstractmethod def GetWorkerTaskReachability( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse + ], + ]: """Deprecated. Use `DescribeTaskQueue`. Will be removed in server version v1.32.0. @@ -1872,42 +5558,66 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. """ + @abc.abstractmethod def DescribeDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse + ], + ]: """Describes a worker deployment. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. """ + @abc.abstractmethod def DescribeWorkerDeploymentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse + ], + ]: """Describes a worker deployment version. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def ListDeployments( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse + ], + ]: """Lists worker deployments in the namespace. Optionally can filter based on deployment series name. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with `ListWorkerDeployments`. """ + @abc.abstractmethod def GetDeploymentReachability( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse + ], + ]: """Returns the reachability level of a worker deployment to help users decide when it is time to decommission a deployment. Reachability level is calculated based on the deployment's `status` and existing workflows that depend on the given deployment for their execution. @@ -1917,62 +5627,98 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. """ + @abc.abstractmethod def GetCurrentDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse + ], + ]: """Returns the current deployment (and its info) for a given deployment series. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. """ + @abc.abstractmethod def SetCurrentDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse + ], + ]: """Sets a deployment as the current deployment for its deployment series. Can optionally update the metadata of the deployment as well. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. """ + @abc.abstractmethod def SetWorkerDeploymentCurrentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse + ], + ]: """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping Version if it is the Version being set as Current. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def DescribeWorkerDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse + ], + ]: """Describes a Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def DeleteWorkerDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse + ], + ]: """Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def DeleteWorkerDeploymentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse + ], + ]: """Used for manual deletion of Versions. User can delete a Version only when all the following conditions are met: - It is not the Current or Ramping Version of its Deployment. @@ -1981,96 +5727,156 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): can be skipped by passing `skip-drainage=true`. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def SetWorkerDeploymentRampingVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse + ], + ]: """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for gradual ramp to unversioned workers too. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def ListWorkerDeployments( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse + ], + ]: """Lists all Worker Deployments that are tracked in the Namespace. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def CreateWorkerDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse + ], + ]: """Creates a new Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def CreateWorkerDeploymentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse + ], + ]: """Creates a new Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def UpdateWorkerDeploymentVersionComputeConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse + ], + ]: """Updates the compute config attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def ValidateWorkerDeploymentVersionComputeConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse + ], + ]: """Validates the compute config without attaching it to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def UpdateWorkerDeploymentVersionMetadata( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse + ], + ]: """Updates the user-given metadata attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def SetWorkerDeploymentManager( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse + ], + ]: """Set/unset the ManagerIdentity of a Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ + @abc.abstractmethod def UpdateWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse + ], + ]: """Invokes the specified Update function on user Workflow code.""" + @abc.abstractmethod def PollWorkflowExecutionUpdate( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse + ], + ]: """Polls a Workflow Execution for the outcome of a Workflow Update previously issued through the UpdateWorkflowExecution RPC. The effective timeout on this call will be shorter of the the caller-supplied gRPC @@ -2079,88 +5885,148 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) """ + @abc.abstractmethod def StartBatchOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse + ], + ]: """StartBatchOperation starts a new batch operation""" + @abc.abstractmethod def StopBatchOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse + ], + ]: """StopBatchOperation stops a batch operation""" + @abc.abstractmethod def DescribeBatchOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse + ], + ]: """DescribeBatchOperation returns the information about a batch operation""" + @abc.abstractmethod def ListBatchOperations( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse + ], + ]: """ListBatchOperations returns a list of batch operations""" + @abc.abstractmethod def PollNexusTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse + ], + ]: """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def RespondNexusTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse + ], + ]: """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def RespondNexusTaskFailed( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse + ], + ]: """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ + @abc.abstractmethod def UpdateActivityOptions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse + ], + ]: """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. If there are multiple pending activities of the provided type - all of them will be updated. This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and structured to work well for standalone activities. """ + @abc.abstractmethod def UpdateWorkflowExecutionOptions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse + ], + ]: """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" + @abc.abstractmethod def PauseActivity( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse + ], + ]: """PauseActivity pauses the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be paused @@ -2180,12 +6046,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and structured to work well for standalone activities. """ + @abc.abstractmethod def UnpauseActivity( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse + ], + ]: """UnpauseActivity unpauses the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be unpaused. @@ -2202,12 +6074,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and structured to work well for standalone activities. """ + @abc.abstractmethod def ResetActivity( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse + ], + ]: """ResetActivity resets the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be reset. @@ -2228,111 +6106,192 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and structured to work well for standalone activities. """ + @abc.abstractmethod def CreateWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse + ], + ]: """Create a new workflow rule. The rules are used to control the workflow execution. The rule will be applied to all running and new workflows in the namespace. If the rule with such ID already exist this call will fail Note: the rules are part of namespace configuration and will be stored in the namespace config. Namespace config is eventually consistent. """ + @abc.abstractmethod def DescribeWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse + ], + ]: """DescribeWorkflowRule return the rule specification for existing rule id. If there is no rule with such id - NOT FOUND error will be returned. """ + @abc.abstractmethod def DeleteWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse + ], + ]: """Delete rule by rule id""" + @abc.abstractmethod def ListWorkflowRules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse + ], + ]: """Return all namespace workflow rules""" + @abc.abstractmethod def TriggerWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse + ], + ]: """TriggerWorkflowRule allows to: * trigger existing rule for a specific workflow execution; * trigger rule for a specific workflow execution without creating a rule; This is useful for one-off operations. """ + @abc.abstractmethod def RecordWorkerHeartbeat( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse + ], + ]: """WorkerHeartbeat receive heartbeat request from the worker.""" + @abc.abstractmethod def ListWorkers( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse + ], + ]: """ListWorkers is a visibility API to list worker status information in a specific namespace.""" + + @abc.abstractmethod + def CountWorkers( + self, + request: temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse + ], + ]: + """CountWorkers counts the number of workers in a specific namespace.""" + @abc.abstractmethod def UpdateTaskQueueConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse + ], + ]: """Updates task queue configuration. For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, which uncouples the rate limit from the worker lifecycle. If the overall queue rate limit is unset, the worker-set rate limit takes effect. """ + @abc.abstractmethod def FetchWorkerConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, - context: grpc.ServicerContext, - ) -> ( - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse - ): + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse + ], + ]: """FetchWorkerConfig returns the worker configuration for a specific worker.""" + @abc.abstractmethod def UpdateWorkerConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse + ], + ]: """UpdateWorkerConfig updates the worker configuration of one or more workers. Can be used to partially update the worker configuration. Can be used to update the configuration of multiple workers. """ + @abc.abstractmethod def DescribeWorker( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse + ], + ]: """DescribeWorker returns information about the specified worker.""" + @abc.abstractmethod def PauseWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse + ], + ]: """Note: This is an experimental API and the behavior may change in a future release. PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in - The workflow execution status changes to `PAUSED` and a new WORKFLOW_EXECUTION_PAUSED event is added to the history @@ -2342,116 +6301,188 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): - All server-side events will continue to be processed by the server. - Queries & Updates on a paused workflow will be rejected. """ + @abc.abstractmethod def UnpauseWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse + ], + ]: """Note: This is an experimental API and the behavior may change in a future release. UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. Unpausing a workflow execution results in - The workflow execution status changes to `RUNNING` and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history - Workflow tasks and activity tasks are resumed. """ + @abc.abstractmethod def StartActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse + ], + ]: """StartActivityExecution starts a new activity execution. Returns an `ActivityExecutionAlreadyStarted` error if an instance already exists with same activity ID in this namespace unless permitted by the specified ID conflict policy. """ + @abc.abstractmethod def StartNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse + ], + ]: """StartNexusOperationExecution starts a new Nexus operation. Returns a `NexusOperationExecutionAlreadyStarted` error if an instance already exists with same operation ID in this namespace unless permitted by the specified ID conflict policy. """ + @abc.abstractmethod def DescribeActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse + ], + ]: """DescribeActivityExecution returns information about an activity execution. It can be used to: - Get current activity info without waiting - Long-poll for next state change and return new activity info Response can optionally include activity input or outcome (if the activity has completed). """ + @abc.abstractmethod def DescribeNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse + ], + ]: """DescribeNexusOperationExecution returns information about a Nexus operation. Supported use cases include: - Get current operation info without waiting - Long-poll for next state change and return new operation info Response can optionally include operation input or outcome (if the operation has completed). """ + @abc.abstractmethod def PollActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse + ], + ]: """PollActivityExecution long-polls for an activity execution to complete and returns the outcome (result or failure). """ + @abc.abstractmethod def PollNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse + ], + ]: """PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns the outcome (result or failure). """ + @abc.abstractmethod def ListActivityExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse + ], + ]: """ListActivityExecutions is a visibility API to list activity executions in a specific namespace.""" + @abc.abstractmethod def ListNexusOperationExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse + ], + ]: """ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.""" + @abc.abstractmethod def CountActivityExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse + ], + ]: """CountActivityExecutions is a visibility API to count activity executions in a specific namespace.""" + @abc.abstractmethod def CountNexusOperationExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse + ], + ]: """CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.""" + @abc.abstractmethod def RequestCancelActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse + ], + ]: """RequestCancelActivityExecution requests cancellation of an activity execution. Cancellation is cooperative: this call records the request, but the activity must detect and @@ -2459,35 +6490,53 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): delivered via `cancel_requested` in the heartbeat response; SDKs surface this via language-idiomatic mechanisms (context cancellation, exceptions, abort signals). """ + @abc.abstractmethod def RequestCancelNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse + ], + ]: """RequestCancelNexusOperationExecution requests cancellation of a Nexus operation. Requesting to cancel an operation does not automatically transition the operation to canceled status. The operation will only transition to canceled status if it supports cancellation and the handler processes the cancellation request. """ + @abc.abstractmethod def TerminateActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse + ], + ]: """TerminateActivityExecution terminates an existing activity execution immediately. Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a running attempt. """ + @abc.abstractmethod def DeleteActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse + ], + ]: """DeleteActivityExecution asynchronously deletes a specific activity execution (when ActivityExecution.run_id is provided) or the latest activity execution (when ActivityExecution.run_id is not provided). If the activity Execution is running, it will be @@ -2496,12 +6545,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --) """ + @abc.abstractmethod def PauseActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse + ], + ]: """PauseActivityExecution pauses the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity @@ -2518,12 +6573,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Returns a `NotFound` error if there is no pending activity with the provided ID """ + @abc.abstractmethod def ResetActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse + ], + ]: """ResetActivityExecution resets the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity. @@ -2535,12 +6596,18 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Returns a `NotFound` error if there is no pending activity with the provided ID or type. """ + @abc.abstractmethod def UnpauseActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse + ], + ]: """UnpauseActivityExecution unpauses the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity. @@ -2550,32 +6617,50 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Returns a `NotFound` error if there is no pending activity with the provided ID """ + @abc.abstractmethod def UpdateActivityExecutionOptions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse + ], + ]: """UpdateActivityExecutionOptions is called by the client to update the options of an activity by its ID. This API can be used to target a workflow activity or a standalone activity. """ + @abc.abstractmethod def TerminateNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse + ], + ]: """TerminateNexusOperationExecution terminates an existing Nexus operation immediately. Termination happens immediately and the operation handler cannot react to it. A terminated operation will have its outcome set to a failure with a termination reason. """ + @abc.abstractmethod def DeleteNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, - context: grpc.ServicerContext, - ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse: + context: _ServicerContext, + ) -> typing.Union[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, + collections.abc.Awaitable[ + temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse + ], + ]: """DeleteNexusOperationExecution asynchronously deletes a specific Nexus operation run (when run_id is provided) or the latest run (when run_id is not provided). If the operation is running, it will be terminated before deletion. @@ -2585,5 +6670,6 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): """ def add_WorkflowServiceServicer_to_server( - servicer: WorkflowServiceServicer, server: grpc.Server + servicer: WorkflowServiceServicer, + server: typing.Union[grpc.Server, grpc.aio.Server], ) -> None: ... diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.py b/temporalio/bridge/proto/activity_result/activity_result_pb2.py index 77029baca..3a847e694 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.py +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/activity_result/activity_result.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/activity_result/activity_result.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,108 +38,30 @@ b'\n7temporal/sdk/core/activity_result/activity_result.proto\x12\x17\x63oresdk.activity_result\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x95\x02\n\x17\x41\x63tivityExecutionResult\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12I\n\x13will_complete_async\x18\x04 \x01(\x0b\x32*.coresdk.activity_result.WillCompleteAsyncH\x00\x42\x08\n\x06status"\xfc\x01\n\x12\x41\x63tivityResolution\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12\x35\n\x07\x62\x61\x63koff\x18\x04 \x01(\x0b\x32".coresdk.activity_result.DoBackoffH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x13\n\x11WillCompleteAsync"\x8d\x01\n\tDoBackoff\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x33\n\x10\x62\x61\x63koff_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB4\xea\x02\x31Temporalio::Internal::Bridge::Api::ActivityResultb\x06proto3' ) - -_ACTIVITYEXECUTIONRESULT = DESCRIPTOR.message_types_by_name["ActivityExecutionResult"] -_ACTIVITYRESOLUTION = DESCRIPTOR.message_types_by_name["ActivityResolution"] -_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] -_WILLCOMPLETEASYNC = DESCRIPTOR.message_types_by_name["WillCompleteAsync"] -_DOBACKOFF = DESCRIPTOR.message_types_by_name["DoBackoff"] -ActivityExecutionResult = _reflection.GeneratedProtocolMessageType( - "ActivityExecutionResult", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYEXECUTIONRESULT, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityExecutionResult) - }, -) -_sym_db.RegisterMessage(ActivityExecutionResult) - -ActivityResolution = _reflection.GeneratedProtocolMessageType( - "ActivityResolution", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYRESOLUTION, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityResolution) - }, -) -_sym_db.RegisterMessage(ActivityResolution) - -Success = _reflection.GeneratedProtocolMessageType( - "Success", - (_message.Message,), - { - "DESCRIPTOR": _SUCCESS, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Success) - }, -) -_sym_db.RegisterMessage(Success) - -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Failure) - }, -) -_sym_db.RegisterMessage(Failure) - -Cancellation = _reflection.GeneratedProtocolMessageType( - "Cancellation", - (_message.Message,), - { - "DESCRIPTOR": _CANCELLATION, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.Cancellation) - }, -) -_sym_db.RegisterMessage(Cancellation) - -WillCompleteAsync = _reflection.GeneratedProtocolMessageType( - "WillCompleteAsync", - (_message.Message,), - { - "DESCRIPTOR": _WILLCOMPLETEASYNC, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.WillCompleteAsync) - }, -) -_sym_db.RegisterMessage(WillCompleteAsync) - -DoBackoff = _reflection.GeneratedProtocolMessageType( - "DoBackoff", - (_message.Message,), - { - "DESCRIPTOR": _DOBACKOFF, - "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_result.DoBackoff) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.activity_result.activity_result_pb2", _globals ) -_sym_db.RegisterMessage(DoBackoff) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = ( b"\352\0021Temporalio::Internal::Bridge::Api::ActivityResult" ) - _ACTIVITYEXECUTIONRESULT._serialized_start = 227 - _ACTIVITYEXECUTIONRESULT._serialized_end = 504 - _ACTIVITYRESOLUTION._serialized_start = 507 - _ACTIVITYRESOLUTION._serialized_end = 759 - _SUCCESS._serialized_start = 761 - _SUCCESS._serialized_end = 819 - _FAILURE._serialized_start = 821 - _FAILURE._serialized_end = 881 - _CANCELLATION._serialized_start = 883 - _CANCELLATION._serialized_end = 948 - _WILLCOMPLETEASYNC._serialized_start = 950 - _WILLCOMPLETEASYNC._serialized_end = 969 - _DOBACKOFF._serialized_start = 972 - _DOBACKOFF._serialized_end = 1113 + _globals["_ACTIVITYEXECUTIONRESULT"]._serialized_start = 227 + _globals["_ACTIVITYEXECUTIONRESULT"]._serialized_end = 504 + _globals["_ACTIVITYRESOLUTION"]._serialized_start = 507 + _globals["_ACTIVITYRESOLUTION"]._serialized_end = 759 + _globals["_SUCCESS"]._serialized_start = 761 + _globals["_SUCCESS"]._serialized_end = 819 + _globals["_FAILURE"]._serialized_start = 821 + _globals["_FAILURE"]._serialized_end = 881 + _globals["_CANCELLATION"]._serialized_start = 883 + _globals["_CANCELLATION"]._serialized_end = 948 + _globals["_WILLCOMPLETEASYNC"]._serialized_start = 950 + _globals["_WILLCOMPLETEASYNC"]._serialized_end = 969 + _globals["_DOBACKOFF"]._serialized_start = 972 + _globals["_DOBACKOFF"]._serialized_end = 1113 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi index bae35a91d..886285dee 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi @@ -5,6 +5,7 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -14,13 +15,14 @@ import google.protobuf.timestamp_pb2 import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ActivityExecutionResult(google.protobuf.message.Message): """Used to report activity completions to core""" @@ -31,24 +33,24 @@ class ActivityExecutionResult(google.protobuf.message.Message): CANCELLED_FIELD_NUMBER: builtins.int WILL_COMPLETE_ASYNC_FIELD_NUMBER: builtins.int @property - def completed(self) -> global___Success: ... + def completed(self) -> Global___Success: ... @property - def failed(self) -> global___Failure: ... + def failed(self) -> Global___Failure: ... @property - def cancelled(self) -> global___Cancellation: ... + def cancelled(self) -> Global___Cancellation: ... @property - def will_complete_async(self) -> global___WillCompleteAsync: ... + def will_complete_async(self) -> Global___WillCompleteAsync: ... def __init__( self, *, - completed: global___Success | None = ..., - failed: global___Failure | None = ..., - cancelled: global___Cancellation | None = ..., - will_complete_async: global___WillCompleteAsync | None = ..., + completed: Global___Success | None = ..., + failed: Global___Failure | None = ..., + cancelled: Global___Cancellation | None = ..., + will_complete_async: Global___WillCompleteAsync | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "completed", @@ -63,7 +65,7 @@ class ActivityExecutionResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "completed", @@ -77,16 +79,14 @@ class ActivityExecutionResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] + self, oneof_group: typing.Literal["status", b"status"] ) -> ( - typing_extensions.Literal[ - "completed", "failed", "cancelled", "will_complete_async" - ] - | None + typing.Literal["completed", "failed", "cancelled", "will_complete_async"] | None ): ... -global___ActivityExecutionResult = ActivityExecutionResult +Global___ActivityExecutionResult: typing_extensions.TypeAlias = ActivityExecutionResult +@typing.final class ActivityResolution(google.protobuf.message.Message): """Used to report activity resolutions to lang. IE: This is what the activities are resolved with in the workflow. @@ -99,24 +99,24 @@ class ActivityResolution(google.protobuf.message.Message): CANCELLED_FIELD_NUMBER: builtins.int BACKOFF_FIELD_NUMBER: builtins.int @property - def completed(self) -> global___Success: ... + def completed(self) -> Global___Success: ... @property - def failed(self) -> global___Failure: ... + def failed(self) -> Global___Failure: ... @property - def cancelled(self) -> global___Cancellation: ... + def cancelled(self) -> Global___Cancellation: ... @property - def backoff(self) -> global___DoBackoff: ... + def backoff(self) -> Global___DoBackoff: ... def __init__( self, *, - completed: global___Success | None = ..., - failed: global___Failure | None = ..., - cancelled: global___Cancellation | None = ..., - backoff: global___DoBackoff | None = ..., + completed: Global___Success | None = ..., + failed: Global___Failure | None = ..., + cancelled: Global___Cancellation | None = ..., + backoff: Global___DoBackoff | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff", b"backoff", "cancelled", @@ -131,7 +131,7 @@ class ActivityResolution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff", b"backoff", "cancelled", @@ -145,13 +145,12 @@ class ActivityResolution(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal["completed", "failed", "cancelled", "backoff"] | None - ): ... + self, oneof_group: typing.Literal["status", b"status"] + ) -> typing.Literal["completed", "failed", "cancelled", "backoff"] | None: ... -global___ActivityResolution = ActivityResolution +Global___ActivityResolution: typing_extensions.TypeAlias = ActivityResolution +@typing.final class Success(google.protobuf.message.Message): """Used to report successful completion either when executing or resolving""" @@ -166,14 +165,13 @@ class Success(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... -global___Success = Success +Global___Success: typing_extensions.TypeAlias = Success +@typing.final class Failure(google.protobuf.message.Message): """Used to report activity failure either when executing or resolving""" @@ -188,14 +186,13 @@ class Failure(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___Failure = Failure +Global___Failure: typing_extensions.TypeAlias = Failure +@typing.final class Cancellation(google.protobuf.message.Message): """ Used to report cancellation from both Core and Lang. @@ -215,14 +212,13 @@ class Cancellation(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___Cancellation = Cancellation +Global___Cancellation: typing_extensions.TypeAlias = Cancellation +@typing.final class WillCompleteAsync(google.protobuf.message.Message): """ Used in ActivityExecutionResult to notify Core that this Activity will complete asynchronously. @@ -235,8 +231,9 @@ class WillCompleteAsync(google.protobuf.message.Message): self, ) -> None: ... -global___WillCompleteAsync = WillCompleteAsync +Global___WillCompleteAsync: typing_extensions.TypeAlias = WillCompleteAsync +@typing.final class DoBackoff(google.protobuf.message.Message): """ Issued when a local activity needs to retry but also wants to back off more than would be @@ -264,6 +261,7 @@ class DoBackoff(google.protobuf.message.Message): """The time the first attempt of this local activity was scheduled. Must be passed with attempt to the retry LA. """ + def __init__( self, *, @@ -273,7 +271,7 @@ class DoBackoff(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff_duration", b"backoff_duration", "original_schedule_time", @@ -282,7 +280,7 @@ class DoBackoff(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempt", b"attempt", "backoff_duration", @@ -292,4 +290,4 @@ class DoBackoff(google.protobuf.message.Message): ], ) -> None: ... -global___DoBackoff = DoBackoff +Global___DoBackoff: typing_extensions.TypeAlias = DoBackoff diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.py b/temporalio/bridge/proto/activity_task/activity_task_pb2.py index 0e09839dc..7bee8d7c2 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.py +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/activity_task/activity_task.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/activity_task/activity_task.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,94 +38,28 @@ b'\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant"\xb1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x12\x0e\n\x06run_id\x18\x13 \x01(\t\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3' ) -_ACTIVITYCANCELREASON = DESCRIPTOR.enum_types_by_name["ActivityCancelReason"] -ActivityCancelReason = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELREASON) -NOT_FOUND = 0 -CANCELLED = 1 -TIMED_OUT = 2 -WORKER_SHUTDOWN = 3 -PAUSED = 4 -RESET = 5 - - -_ACTIVITYTASK = DESCRIPTOR.message_types_by_name["ActivityTask"] -_START = DESCRIPTOR.message_types_by_name["Start"] -_START_HEADERFIELDSENTRY = _START.nested_types_by_name["HeaderFieldsEntry"] -_CANCEL = DESCRIPTOR.message_types_by_name["Cancel"] -_ACTIVITYCANCELLATIONDETAILS = DESCRIPTOR.message_types_by_name[ - "ActivityCancellationDetails" -] -ActivityTask = _reflection.GeneratedProtocolMessageType( - "ActivityTask", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASK, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityTask) - }, -) -_sym_db.RegisterMessage(ActivityTask) - -Start = _reflection.GeneratedProtocolMessageType( - "Start", - (_message.Message,), - { - "HeaderFieldsEntry": _reflection.GeneratedProtocolMessageType( - "HeaderFieldsEntry", - (_message.Message,), - { - "DESCRIPTOR": _START_HEADERFIELDSENTRY, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start.HeaderFieldsEntry) - }, - ), - "DESCRIPTOR": _START, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.activity_task.activity_task_pb2", _globals ) -_sym_db.RegisterMessage(Start) -_sym_db.RegisterMessage(Start.HeaderFieldsEntry) - -Cancel = _reflection.GeneratedProtocolMessageType( - "Cancel", - (_message.Message,), - { - "DESCRIPTOR": _CANCEL, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.Cancel) - }, -) -_sym_db.RegisterMessage(Cancel) - -ActivityCancellationDetails = _reflection.GeneratedProtocolMessageType( - "ActivityCancellationDetails", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYCANCELLATIONDETAILS, - "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", - # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityCancellationDetails) - }, -) -_sym_db.RegisterMessage(ActivityCancellationDetails) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002/Temporalio::Internal::Bridge::Api::ActivityTask" - ) - _START_HEADERFIELDSENTRY._options = None - _START_HEADERFIELDSENTRY._serialized_options = b"8\001" - _ACTIVITYCANCELREASON._serialized_start = 1616 - _ACTIVITYCANCELREASON._serialized_end = 1727 - _ACTIVITYTASK._serialized_start = 221 - _ACTIVITYTASK._serialized_end = 362 - _START._serialized_start = 365 - _START._serialized_end = 1310 - _START_HEADERFIELDSENTRY._serialized_start = 1226 - _START_HEADERFIELDSENTRY._serialized_end = 1310 - _CANCEL._serialized_start = 1313 - _CANCEL._serialized_end = 1451 - _ACTIVITYCANCELLATIONDETAILS._serialized_start = 1454 - _ACTIVITYCANCELLATIONDETAILS._serialized_end = 1614 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\352\002/Temporalio::Internal::Bridge::Api::ActivityTask" + _globals["_START_HEADERFIELDSENTRY"]._loaded_options = None + _globals["_START_HEADERFIELDSENTRY"]._serialized_options = b"8\001" + _globals["_ACTIVITYCANCELREASON"]._serialized_start = 1616 + _globals["_ACTIVITYCANCELREASON"]._serialized_end = 1727 + _globals["_ACTIVITYTASK"]._serialized_start = 221 + _globals["_ACTIVITYTASK"]._serialized_end = 362 + _globals["_START"]._serialized_start = 365 + _globals["_START"]._serialized_end = 1310 + _globals["_START_HEADERFIELDSENTRY"]._serialized_start = 1226 + _globals["_START_HEADERFIELDSENTRY"]._serialized_end = 1310 + _globals["_CANCEL"]._serialized_start = 1313 + _globals["_CANCEL"]._serialized_end = 1451 + _globals["_ACTIVITYCANCELLATIONDETAILS"]._serialized_start = 1454 + _globals["_ACTIVITYCANCELLATIONDETAILS"]._serialized_end = 1614 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi index 1a2f8c7d2..dd3d9c661 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi @@ -35,7 +35,7 @@ class _ActivityCancelReasonEnumTypeWrapper( _ActivityCancelReason.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NOT_FOUND: _ActivityCancelReason.ValueType # 0 """The activity no longer exists according to server (may be already completed)""" @@ -66,8 +66,9 @@ PAUSED: ActivityCancelReason.ValueType # 4 """Activity was paused""" RESET: ActivityCancelReason.ValueType # 5 """Activity was reset""" -global___ActivityCancelReason = ActivityCancelReason +Global___ActivityCancelReason: typing_extensions.TypeAlias = ActivityCancelReason +@typing.final class ActivityTask(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -77,27 +78,29 @@ class ActivityTask(google.protobuf.message.Message): task_token: builtins.bytes """A unique identifier for this task""" @property - def start(self) -> global___Start: + def start(self) -> Global___Start: """Start activity execution.""" + @property - def cancel(self) -> global___Cancel: + def cancel(self) -> Global___Cancel: """Attempt to cancel activity execution.""" + def __init__( self, *, task_token: builtins.bytes = ..., - start: global___Start | None = ..., - cancel: global___Cancel | None = ..., + start: Global___Start | None = ..., + cancel: Global___Cancel | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel", b"cancel", "start", b"start", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel", b"cancel", "start", @@ -109,16 +112,18 @@ class ActivityTask(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["start", "cancel"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["start", "cancel"] | None: ... -global___ActivityTask = ActivityTask +Global___ActivityTask: typing_extensions.TypeAlias = ActivityTask +@typing.final class Start(google.protobuf.message.Message): """Begin executing an activity""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeaderFieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -134,11 +139,10 @@ class Start(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... WORKFLOW_NAMESPACE_FIELD_NUMBER: builtins.int @@ -164,15 +168,23 @@ class Start(google.protobuf.message.Message): """The namespace the workflow lives in""" workflow_type: builtins.str """The workflow's type name or function identifier""" + activity_id: builtins.str + """The activity's ID""" + activity_type: builtins.str + """The activity's type name or function identifier""" + attempt: builtins.int + is_local: builtins.bool + """Set to true if this is a local activity. Note that heartbeating does not apply to local + activities. + """ + run_id: builtins.str + """Run ID of this activity execution. Only set for standalone activities.""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The workflow execution which requested this activity""" - activity_id: builtins.str - """The activity's ID""" - activity_type: builtins.str - """The activity's type name or function identifier""" + @property def header_fields( self, @@ -186,6 +198,7 @@ class Start(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments to the activity""" + @property def heartbeat_details( self, @@ -193,40 +206,42 @@ class Start(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """The last details that were recorded by a heartbeat when this task was generated""" + @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the task was *first* scheduled""" + @property def current_attempt_scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When this current attempt at the task was scheduled""" + @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When this attempt was started, which is to say when core received it by polling.""" - attempt: builtins.int + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout from the first schedule time to completion""" + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout from starting an attempt to reporting its result""" + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """If set a heartbeat must be reported within this interval""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """This is an actual retry policy the service uses. It can be different from the one provided (or not) during activity scheduling as the service can override the provided one in case its values are not specified or exceed configured system limits. """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority of this activity. Local activities will always have this field set to the default.""" - is_local: builtins.bool - """Set to true if this is a local activity. Note that heartbeating does not apply to local - activities. - """ - run_id: builtins.str - """Run ID of this activity execution. Only set for standalone activities.""" + def __init__( self, *, @@ -261,7 +276,7 @@ class Start(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "heartbeat_timeout", @@ -284,7 +299,7 @@ class Start(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -326,8 +341,9 @@ class Start(google.protobuf.message.Message): ], ) -> None: ... -global___Start = Start +Global___Start: typing_extensions.TypeAlias = Start +@typing.final class Cancel(google.protobuf.message.Message): """Attempt to cancel a running activity""" @@ -335,29 +351,28 @@ class Cancel(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int - reason: global___ActivityCancelReason.ValueType + reason: Global___ActivityCancelReason.ValueType """Primary cancellation reason""" @property - def details(self) -> global___ActivityCancellationDetails: + def details(self) -> Global___ActivityCancellationDetails: """Activity cancellation details, surfaces all cancellation reasons.""" + def __init__( self, *, - reason: global___ActivityCancelReason.ValueType = ..., - details: global___ActivityCancellationDetails | None = ..., + reason: Global___ActivityCancelReason.ValueType = ..., + details: Global___ActivityCancellationDetails | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "details", b"details", "reason", b"reason" - ], + self, field_name: typing.Literal["details", b"details", "reason", b"reason"] ) -> None: ... -global___Cancel = Cancel +Global___Cancel: typing_extensions.TypeAlias = Cancel +@typing.final class ActivityCancellationDetails(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -385,7 +400,7 @@ class ActivityCancellationDetails(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "is_cancelled", b"is_cancelled", "is_not_found", @@ -401,4 +416,6 @@ class ActivityCancellationDetails(google.protobuf.message.Message): ], ) -> None: ... -global___ActivityCancellationDetails = ActivityCancellationDetails +Global___ActivityCancellationDetails: typing_extensions.TypeAlias = ( + ActivityCancellationDetails +) diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py index e8e485e02..ed477da13 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/child_workflow/child_workflow.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/child_workflow/child_workflow.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,97 +38,28 @@ b'\n5temporal/sdk/core/child_workflow/child_workflow.proto\x12\x16\x63oresdk.child_workflow\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\xc3\x01\n\x13\x43hildWorkflowResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.coresdk.child_workflow.SuccessH\x00\x12\x31\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32\x1f.coresdk.child_workflow.FailureH\x00\x12\x39\n\tcancelled\x18\x03 \x01(\x0b\x32$.coresdk.child_workflow.CancellationH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xae\x01\n&StartChildWorkflowExecutionFailedCause\x12;\n7START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12G\nCSTART_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS\x10\x01*~\n\x1d\x43hildWorkflowCancellationType\x12\x0b\n\x07\x41\x42\x41NDON\x10\x00\x12\x0e\n\nTRY_CANCEL\x10\x01\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::ChildWorkflowb\x06proto3' ) -_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name["ParentClosePolicy"] -ParentClosePolicy = enum_type_wrapper.EnumTypeWrapper(_PARENTCLOSEPOLICY) -_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE = DESCRIPTOR.enum_types_by_name[ - "StartChildWorkflowExecutionFailedCause" -] -StartChildWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper( - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE -) -_CHILDWORKFLOWCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ - "ChildWorkflowCancellationType" -] -ChildWorkflowCancellationType = enum_type_wrapper.EnumTypeWrapper( - _CHILDWORKFLOWCANCELLATIONTYPE -) -PARENT_CLOSE_POLICY_UNSPECIFIED = 0 -PARENT_CLOSE_POLICY_TERMINATE = 1 -PARENT_CLOSE_POLICY_ABANDON = 2 -PARENT_CLOSE_POLICY_REQUEST_CANCEL = 3 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED = 0 -START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS = 1 -ABANDON = 0 -TRY_CANCEL = 1 -WAIT_CANCELLATION_COMPLETED = 2 -WAIT_CANCELLATION_REQUESTED = 3 - - -_CHILDWORKFLOWRESULT = DESCRIPTOR.message_types_by_name["ChildWorkflowResult"] -_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] -ChildWorkflowResult = _reflection.GeneratedProtocolMessageType( - "ChildWorkflowResult", - (_message.Message,), - { - "DESCRIPTOR": _CHILDWORKFLOWRESULT, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.ChildWorkflowResult) - }, -) -_sym_db.RegisterMessage(ChildWorkflowResult) - -Success = _reflection.GeneratedProtocolMessageType( - "Success", - (_message.Message,), - { - "DESCRIPTOR": _SUCCESS, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Success) - }, -) -_sym_db.RegisterMessage(Success) - -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Failure) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.child_workflow.child_workflow_pb2", _globals ) -_sym_db.RegisterMessage(Failure) - -Cancellation = _reflection.GeneratedProtocolMessageType( - "Cancellation", - (_message.Message,), - { - "DESCRIPTOR": _CANCELLATION, - "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", - # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Cancellation) - }, -) -_sym_db.RegisterMessage(Cancellation) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow" - ) - _PARENTCLOSEPOLICY._serialized_start = 585 - _PARENTCLOSEPOLICY._serialized_end = 749 - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_start = 752 - _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_end = 926 - _CHILDWORKFLOWCANCELLATIONTYPE._serialized_start = 928 - _CHILDWORKFLOWCANCELLATIONTYPE._serialized_end = 1054 - _CHILDWORKFLOWRESULT._serialized_start = 198 - _CHILDWORKFLOWRESULT._serialized_end = 393 - _SUCCESS._serialized_start = 395 - _SUCCESS._serialized_end = 453 - _FAILURE._serialized_start = 455 - _FAILURE._serialized_end = 515 - _CANCELLATION._serialized_start = 517 - _CANCELLATION._serialized_end = 582 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow" + _globals["_PARENTCLOSEPOLICY"]._serialized_start = 585 + _globals["_PARENTCLOSEPOLICY"]._serialized_end = 749 + _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE"]._serialized_start = 752 + _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE"]._serialized_end = 926 + _globals["_CHILDWORKFLOWCANCELLATIONTYPE"]._serialized_start = 928 + _globals["_CHILDWORKFLOWCANCELLATIONTYPE"]._serialized_end = 1054 + _globals["_CHILDWORKFLOWRESULT"]._serialized_start = 198 + _globals["_CHILDWORKFLOWRESULT"]._serialized_end = 393 + _globals["_SUCCESS"]._serialized_start = 395 + _globals["_SUCCESS"]._serialized_end = 453 + _globals["_FAILURE"]._serialized_start = 455 + _globals["_FAILURE"]._serialized_end = 515 + _globals["_CANCELLATION"]._serialized_start = 517 + _globals["_CANCELLATION"]._serialized_end = 582 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi index a41c5b2be..3d9acbb7a 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi @@ -30,7 +30,7 @@ class _ParentClosePolicyEnumTypeWrapper( _ParentClosePolicy.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PARENT_CLOSE_POLICY_UNSPECIFIED: _ParentClosePolicy.ValueType # 0 """Let's the server set the default.""" @@ -56,7 +56,7 @@ PARENT_CLOSE_POLICY_ABANDON: ParentClosePolicy.ValueType # 2 """Abandon means not doing anything on the child workflow.""" PARENT_CLOSE_POLICY_REQUEST_CANCEL: ParentClosePolicy.ValueType # 3 """Cancel means requesting cancellation on the child workflow.""" -global___ParentClosePolicy = ParentClosePolicy +Global___ParentClosePolicy: typing_extensions.TypeAlias = ParentClosePolicy class _StartChildWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) @@ -67,7 +67,7 @@ class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper( _StartChildWorkflowExecutionFailedCause.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( _StartChildWorkflowExecutionFailedCause.ValueType @@ -88,7 +88,9 @@ START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( StartChildWorkflowExecutionFailedCause.ValueType ) # 1 -global___StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause +Global___StartChildWorkflowExecutionFailedCause: typing_extensions.TypeAlias = ( + StartChildWorkflowExecutionFailedCause +) class _ChildWorkflowCancellationType: ValueType = typing.NewType("ValueType", builtins.int) @@ -99,7 +101,7 @@ class _ChildWorkflowCancellationTypeEnumTypeWrapper( _ChildWorkflowCancellationType.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ABANDON: _ChildWorkflowCancellationType.ValueType # 0 """Do not request cancellation of the child workflow if already scheduled""" @@ -124,8 +126,11 @@ WAIT_CANCELLATION_COMPLETED: ChildWorkflowCancellationType.ValueType # 2 """Wait for child cancellation completion.""" WAIT_CANCELLATION_REQUESTED: ChildWorkflowCancellationType.ValueType # 3 """Request cancellation of the child and wait for confirmation that the request was received.""" -global___ChildWorkflowCancellationType = ChildWorkflowCancellationType +Global___ChildWorkflowCancellationType: typing_extensions.TypeAlias = ( + ChildWorkflowCancellationType +) +@typing.final class ChildWorkflowResult(google.protobuf.message.Message): """Used by core to resolve child workflow executions.""" @@ -135,21 +140,21 @@ class ChildWorkflowResult(google.protobuf.message.Message): FAILED_FIELD_NUMBER: builtins.int CANCELLED_FIELD_NUMBER: builtins.int @property - def completed(self) -> global___Success: ... + def completed(self) -> Global___Success: ... @property - def failed(self) -> global___Failure: ... + def failed(self) -> Global___Failure: ... @property - def cancelled(self) -> global___Cancellation: ... + def cancelled(self) -> Global___Cancellation: ... def __init__( self, *, - completed: global___Success | None = ..., - failed: global___Failure | None = ..., - cancelled: global___Cancellation | None = ..., + completed: Global___Success | None = ..., + failed: Global___Failure | None = ..., + cancelled: Global___Cancellation | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "completed", @@ -162,7 +167,7 @@ class ChildWorkflowResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "completed", @@ -174,11 +179,12 @@ class ChildWorkflowResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> typing_extensions.Literal["completed", "failed", "cancelled"] | None: ... + self, oneof_group: typing.Literal["status", b"status"] + ) -> typing.Literal["completed", "failed", "cancelled"] | None: ... -global___ChildWorkflowResult = ChildWorkflowResult +Global___ChildWorkflowResult: typing_extensions.TypeAlias = ChildWorkflowResult +@typing.final class Success(google.protobuf.message.Message): """Used in ChildWorkflowResult to report successful completion.""" @@ -193,14 +199,13 @@ class Success(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... -global___Success = Success +Global___Success: typing_extensions.TypeAlias = Success +@typing.final class Failure(google.protobuf.message.Message): """Used in ChildWorkflowResult to report non successful outcomes such as application failures, timeouts, terminations, and cancellations. @@ -217,14 +222,13 @@ class Failure(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___Failure = Failure +Global___Failure: typing_extensions.TypeAlias = Failure +@typing.final class Cancellation(google.protobuf.message.Message): """Used in ChildWorkflowResult to report cancellation. Failure should be ChildWorkflowFailure with a CanceledFailure cause. @@ -241,10 +245,8 @@ class Cancellation(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___Cancellation = Cancellation +Global___Cancellation: typing_extensions.TypeAlias = Cancellation diff --git a/temporalio/bridge/proto/common/common_pb2.py b/temporalio/bridge/proto/common/common_pb2.py index c56456fce..820f98021 100644 --- a/temporalio/bridge/proto/common/common_pb2.py +++ b/temporalio/bridge/proto/common/common_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/common/common.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/common/common.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,48 +30,20 @@ b'\n%temporal/sdk/core/common/common.proto\x12\x0e\x63oresdk.common\x1a\x1egoogle/protobuf/duration.proto"U\n\x1bNamespacedWorkflowExecution\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"D\n\x17WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t*@\n\x10VersioningIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x42,\xea\x02)Temporalio::Internal::Bridge::Api::Commonb\x06proto3' ) -_VERSIONINGINTENT = DESCRIPTOR.enum_types_by_name["VersioningIntent"] -VersioningIntent = enum_type_wrapper.EnumTypeWrapper(_VERSIONINGINTENT) -UNSPECIFIED = 0 -COMPATIBLE = 1 -DEFAULT = 2 - - -_NAMESPACEDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "NamespacedWorkflowExecution" -] -_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] -NamespacedWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "NamespacedWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.common.common_pb2", - # @@protoc_insertion_point(class_scope:coresdk.common.NamespacedWorkflowExecution) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.common.common_pb2", _globals ) -_sym_db.RegisterMessage(NamespacedWorkflowExecution) - -WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( - "WorkerDeploymentVersion", - (_message.Message,), - { - "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, - "__module__": "temporal.sdk.core.common.common_pb2", - # @@protoc_insertion_point(class_scope:coresdk.common.WorkerDeploymentVersion) - }, -) -_sym_db.RegisterMessage(WorkerDeploymentVersion) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002)Temporalio::Internal::Bridge::Api::Common" - ) - _VERSIONINGINTENT._serialized_start = 246 - _VERSIONINGINTENT._serialized_end = 310 - _NAMESPACEDWORKFLOWEXECUTION._serialized_start = 89 - _NAMESPACEDWORKFLOWEXECUTION._serialized_end = 174 - _WORKERDEPLOYMENTVERSION._serialized_start = 176 - _WORKERDEPLOYMENTVERSION._serialized_end = 244 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\352\002)Temporalio::Internal::Bridge::Api::Common" + _globals["_VERSIONINGINTENT"]._serialized_start = 246 + _globals["_VERSIONINGINTENT"]._serialized_end = 310 + _globals["_NAMESPACEDWORKFLOWEXECUTION"]._serialized_start = 89 + _globals["_NAMESPACEDWORKFLOWEXECUTION"]._serialized_end = 174 + _globals["_WORKERDEPLOYMENTVERSION"]._serialized_start = 176 + _globals["_WORKERDEPLOYMENTVERSION"]._serialized_end = 244 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/common/common_pb2.pyi b/temporalio/bridge/proto/common/common_pb2.pyi index 739a129e1..69bcb6f07 100644 --- a/temporalio/bridge/proto/common/common_pb2.pyi +++ b/temporalio/bridge/proto/common/common_pb2.pyi @@ -27,7 +27,7 @@ class _VersioningIntentEnumTypeWrapper( _VersioningIntent.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: _VersioningIntent.ValueType # 0 """Indicates that core should choose the most sensible default behavior for the type of @@ -63,8 +63,9 @@ DEFAULT: VersioningIntent.ValueType # 2 """Indicates that the command should run on the target task queue's current overall-default build ID. """ -global___VersioningIntent = VersioningIntent +Global___VersioningIntent: typing_extensions.TypeAlias = VersioningIntent +@typing.final class NamespacedWorkflowExecution(google.protobuf.message.Message): """Identifying information about a particular workflow execution, including namespace""" @@ -88,7 +89,7 @@ class NamespacedWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "namespace", b"namespace", "run_id", @@ -98,8 +99,11 @@ class NamespacedWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -global___NamespacedWorkflowExecution = NamespacedWorkflowExecution +Global___NamespacedWorkflowExecution: typing_extensions.TypeAlias = ( + NamespacedWorkflowExecution +) +@typing.final class WorkerDeploymentVersion(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -115,9 +119,9 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "build_id", b"build_id", "deployment_name", b"deployment_name" ], ) -> None: ... -global___WorkerDeploymentVersion = WorkerDeploymentVersion +Global___WorkerDeploymentVersion: typing_extensions.TypeAlias = WorkerDeploymentVersion diff --git a/temporalio/bridge/proto/core_interface_pb2.py b/temporalio/bridge/proto/core_interface_pb2.py index 19f330433..12d8977cb 100644 --- a/temporalio/bridge/proto/core_interface_pb2.py +++ b/temporalio/bridge/proto/core_interface_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/core_interface.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/core_interface.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -47,121 +57,30 @@ b'\n&temporal/sdk/core/core_interface.proto\x12\x07\x63oresdk\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x33temporal/sdk/core/activity_task/activity_task.proto\x1a%temporal/sdk/core/common/common.proto\x1a\x33temporal/sdk/core/external_data/external_data.proto\x1a?temporal/sdk/core/workflow_activation/workflow_activation.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\x1a?temporal/sdk/core/workflow_completion/workflow_completion.proto"Y\n\x11\x41\x63tivityHeartbeat\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"n\n\x16\x41\x63tivityTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12@\n\x06result\x18\x02 \x01(\x0b\x32\x30.coresdk.activity_result.ActivityExecutionResult"<\n\x10WorkflowSlotInfo\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x11\n\tis_sticky\x18\x02 \x01(\x08")\n\x10\x41\x63tivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t".\n\x15LocalActivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t"3\n\rNexusSlotInfo\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t"\x86\x01\n\rNamespaceInfo\x12-\n\x06limits\x18\x01 \x01(\x0b\x32\x1d.coresdk.NamespaceInfo.Limits\x1a\x46\n\x06Limits\x12\x1d\n\x15\x62lob_size_limit_error\x18\x01 \x01(\x03\x12\x1d\n\x15memo_size_limit_error\x18\x02 \x01(\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::CoreInterfaceb\x06proto3' ) - -_ACTIVITYHEARTBEAT = DESCRIPTOR.message_types_by_name["ActivityHeartbeat"] -_ACTIVITYTASKCOMPLETION = DESCRIPTOR.message_types_by_name["ActivityTaskCompletion"] -_WORKFLOWSLOTINFO = DESCRIPTOR.message_types_by_name["WorkflowSlotInfo"] -_ACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["ActivitySlotInfo"] -_LOCALACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["LocalActivitySlotInfo"] -_NEXUSSLOTINFO = DESCRIPTOR.message_types_by_name["NexusSlotInfo"] -_NAMESPACEINFO = DESCRIPTOR.message_types_by_name["NamespaceInfo"] -_NAMESPACEINFO_LIMITS = _NAMESPACEINFO.nested_types_by_name["Limits"] -ActivityHeartbeat = _reflection.GeneratedProtocolMessageType( - "ActivityHeartbeat", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYHEARTBEAT, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.ActivityHeartbeat) - }, -) -_sym_db.RegisterMessage(ActivityHeartbeat) - -ActivityTaskCompletion = _reflection.GeneratedProtocolMessageType( - "ActivityTaskCompletion", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYTASKCOMPLETION, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.ActivityTaskCompletion) - }, -) -_sym_db.RegisterMessage(ActivityTaskCompletion) - -WorkflowSlotInfo = _reflection.GeneratedProtocolMessageType( - "WorkflowSlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.WorkflowSlotInfo) - }, -) -_sym_db.RegisterMessage(WorkflowSlotInfo) - -ActivitySlotInfo = _reflection.GeneratedProtocolMessageType( - "ActivitySlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _ACTIVITYSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.ActivitySlotInfo) - }, -) -_sym_db.RegisterMessage(ActivitySlotInfo) - -LocalActivitySlotInfo = _reflection.GeneratedProtocolMessageType( - "LocalActivitySlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _LOCALACTIVITYSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.LocalActivitySlotInfo) - }, -) -_sym_db.RegisterMessage(LocalActivitySlotInfo) - -NexusSlotInfo = _reflection.GeneratedProtocolMessageType( - "NexusSlotInfo", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSSLOTINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.NexusSlotInfo) - }, -) -_sym_db.RegisterMessage(NexusSlotInfo) - -NamespaceInfo = _reflection.GeneratedProtocolMessageType( - "NamespaceInfo", - (_message.Message,), - { - "Limits": _reflection.GeneratedProtocolMessageType( - "Limits", - (_message.Message,), - { - "DESCRIPTOR": _NAMESPACEINFO_LIMITS, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.NamespaceInfo.Limits) - }, - ), - "DESCRIPTOR": _NAMESPACEINFO, - "__module__": "temporal.sdk.core.core_interface_pb2", - # @@protoc_insertion_point(class_scope:coresdk.NamespaceInfo) - }, -) -_sym_db.RegisterMessage(NamespaceInfo) -_sym_db.RegisterMessage(NamespaceInfo.Limits) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\0020Temporalio::Internal::Bridge::Api::CoreInterface" - ) - _ACTIVITYHEARTBEAT._serialized_start = 576 - _ACTIVITYHEARTBEAT._serialized_end = 665 - _ACTIVITYTASKCOMPLETION._serialized_start = 667 - _ACTIVITYTASKCOMPLETION._serialized_end = 777 - _WORKFLOWSLOTINFO._serialized_start = 779 - _WORKFLOWSLOTINFO._serialized_end = 839 - _ACTIVITYSLOTINFO._serialized_start = 841 - _ACTIVITYSLOTINFO._serialized_end = 882 - _LOCALACTIVITYSLOTINFO._serialized_start = 884 - _LOCALACTIVITYSLOTINFO._serialized_end = 930 - _NEXUSSLOTINFO._serialized_start = 932 - _NEXUSSLOTINFO._serialized_end = 983 - _NAMESPACEINFO._serialized_start = 986 - _NAMESPACEINFO._serialized_end = 1120 - _NAMESPACEINFO_LIMITS._serialized_start = 1050 - _NAMESPACEINFO_LIMITS._serialized_end = 1120 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.core_interface_pb2", _globals +) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\352\0020Temporalio::Internal::Bridge::Api::CoreInterface" + _globals["_ACTIVITYHEARTBEAT"]._serialized_start = 576 + _globals["_ACTIVITYHEARTBEAT"]._serialized_end = 665 + _globals["_ACTIVITYTASKCOMPLETION"]._serialized_start = 667 + _globals["_ACTIVITYTASKCOMPLETION"]._serialized_end = 777 + _globals["_WORKFLOWSLOTINFO"]._serialized_start = 779 + _globals["_WORKFLOWSLOTINFO"]._serialized_end = 839 + _globals["_ACTIVITYSLOTINFO"]._serialized_start = 841 + _globals["_ACTIVITYSLOTINFO"]._serialized_end = 882 + _globals["_LOCALACTIVITYSLOTINFO"]._serialized_start = 884 + _globals["_LOCALACTIVITYSLOTINFO"]._serialized_end = 930 + _globals["_NEXUSSLOTINFO"]._serialized_start = 932 + _globals["_NEXUSSLOTINFO"]._serialized_end = 983 + _globals["_NAMESPACEINFO"]._serialized_start = 986 + _globals["_NAMESPACEINFO"]._serialized_end = 1120 + _globals["_NAMESPACEINFO_LIMITS"]._serialized_start = 1050 + _globals["_NAMESPACEINFO_LIMITS"]._serialized_end = 1120 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/core_interface_pb2.pyi b/temporalio/bridge/proto/core_interface_pb2.pyi index 46fa4eccd..c25fcce3a 100644 --- a/temporalio/bridge/proto/core_interface_pb2.pyi +++ b/temporalio/bridge/proto/core_interface_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -14,13 +15,14 @@ import google.protobuf.message import temporalio.api.common.v1.message_pb2 import temporalio.bridge.proto.activity_result.activity_result_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class ActivityHeartbeat(google.protobuf.message.Message): """A request as given to `record_activity_heartbeat`""" @@ -44,13 +46,12 @@ class ActivityHeartbeat(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "details", b"details", "task_token", b"task_token" - ], + field_name: typing.Literal["details", b"details", "task_token", b"task_token"], ) -> None: ... -global___ActivityHeartbeat = ActivityHeartbeat +Global___ActivityHeartbeat: typing_extensions.TypeAlias = ActivityHeartbeat +@typing.final class ActivityTaskCompletion(google.protobuf.message.Message): """A request as given to `complete_activity_task`""" @@ -71,17 +72,16 @@ class ActivityTaskCompletion(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "result", b"result", "task_token", b"task_token" - ], + field_name: typing.Literal["result", b"result", "task_token", b"task_token"], ) -> None: ... -global___ActivityTaskCompletion = ActivityTaskCompletion +Global___ActivityTaskCompletion: typing_extensions.TypeAlias = ActivityTaskCompletion +@typing.final class WorkflowSlotInfo(google.protobuf.message.Message): """Info about workflow task slot usage""" @@ -99,13 +99,14 @@ class WorkflowSlotInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "is_sticky", b"is_sticky", "workflow_type", b"workflow_type" ], ) -> None: ... -global___WorkflowSlotInfo = WorkflowSlotInfo +Global___WorkflowSlotInfo: typing_extensions.TypeAlias = WorkflowSlotInfo +@typing.final class ActivitySlotInfo(google.protobuf.message.Message): """Info about activity task slot usage""" @@ -119,11 +120,12 @@ class ActivitySlotInfo(google.protobuf.message.Message): activity_type: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] + self, field_name: typing.Literal["activity_type", b"activity_type"] ) -> None: ... -global___ActivitySlotInfo = ActivitySlotInfo +Global___ActivitySlotInfo: typing_extensions.TypeAlias = ActivitySlotInfo +@typing.final class LocalActivitySlotInfo(google.protobuf.message.Message): """Info about local activity slot usage""" @@ -137,11 +139,12 @@ class LocalActivitySlotInfo(google.protobuf.message.Message): activity_type: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] + self, field_name: typing.Literal["activity_type", b"activity_type"] ) -> None: ... -global___LocalActivitySlotInfo = LocalActivitySlotInfo +Global___LocalActivitySlotInfo: typing_extensions.TypeAlias = LocalActivitySlotInfo +@typing.final class NexusSlotInfo(google.protobuf.message.Message): """Info about nexus task slot usage""" @@ -159,18 +162,18 @@ class NexusSlotInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "operation", b"operation", "service", b"service" - ], + field_name: typing.Literal["operation", b"operation", "service", b"service"], ) -> None: ... -global___NexusSlotInfo = NexusSlotInfo +Global___NexusSlotInfo: typing_extensions.TypeAlias = NexusSlotInfo +@typing.final class NamespaceInfo(google.protobuf.message.Message): """Info about a namespace""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class Limits(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -191,7 +194,7 @@ class NamespaceInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "blob_size_limit_error", b"blob_size_limit_error", "memo_size_limit_error", @@ -201,18 +204,17 @@ class NamespaceInfo(google.protobuf.message.Message): LIMITS_FIELD_NUMBER: builtins.int @property - def limits(self) -> global___NamespaceInfo.Limits: + def limits(self) -> Global___NamespaceInfo.Limits: """Namespace configured limits""" + def __init__( self, *, - limits: global___NamespaceInfo.Limits | None = ..., + limits: Global___NamespaceInfo.Limits | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["limits", b"limits"] + self, field_name: typing.Literal["limits", b"limits"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["limits", b"limits"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["limits", b"limits"]) -> None: ... -global___NamespaceInfo = NamespaceInfo +Global___NamespaceInfo: typing_extensions.TypeAlias = NamespaceInfo diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.py b/temporalio/bridge/proto/external_data/external_data_pb2.py index e8070efa7..1909159c4 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.py +++ b/temporalio/bridge/proto/external_data/external_data_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/external_data/external_data.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/external_data/external_data.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,38 +31,18 @@ b'\n3temporal/sdk/core/external_data/external_data.proto\x12\x15\x63oresdk.external_data\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfe\x01\n\x17LocalActivityMarkerData\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x15\n\ractivity_type\x18\x04 \x01(\t\x12\x31\n\rcomplete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07\x62\x61\x63koff\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"3\n\x11PatchedMarkerData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ExternalDatab\x06proto3' ) - -_LOCALACTIVITYMARKERDATA = DESCRIPTOR.message_types_by_name["LocalActivityMarkerData"] -_PATCHEDMARKERDATA = DESCRIPTOR.message_types_by_name["PatchedMarkerData"] -LocalActivityMarkerData = _reflection.GeneratedProtocolMessageType( - "LocalActivityMarkerData", - (_message.Message,), - { - "DESCRIPTOR": _LOCALACTIVITYMARKERDATA, - "__module__": "temporal.sdk.core.external_data.external_data_pb2", - # @@protoc_insertion_point(class_scope:coresdk.external_data.LocalActivityMarkerData) - }, -) -_sym_db.RegisterMessage(LocalActivityMarkerData) - -PatchedMarkerData = _reflection.GeneratedProtocolMessageType( - "PatchedMarkerData", - (_message.Message,), - { - "DESCRIPTOR": _PATCHEDMARKERDATA, - "__module__": "temporal.sdk.core.external_data.external_data_pb2", - # @@protoc_insertion_point(class_scope:coresdk.external_data.PatchedMarkerData) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.external_data.external_data_pb2", _globals ) -_sym_db.RegisterMessage(PatchedMarkerData) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002/Temporalio::Internal::Bridge::Api::ExternalData" - ) - _LOCALACTIVITYMARKERDATA._serialized_start = 144 - _LOCALACTIVITYMARKERDATA._serialized_end = 398 - _PATCHEDMARKERDATA._serialized_start = 400 - _PATCHEDMARKERDATA._serialized_end = 451 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\352\002/Temporalio::Internal::Bridge::Api::ExternalData" + _globals["_LOCALACTIVITYMARKERDATA"]._serialized_start = 144 + _globals["_LOCALACTIVITYMARKERDATA"]._serialized_end = 398 + _globals["_PATCHEDMARKERDATA"]._serialized_start = 400 + _globals["_PATCHEDMARKERDATA"]._serialized_end = 451 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.pyi b/temporalio/bridge/proto/external_data/external_data_pb2.pyi index a1d29e39d..9662a6bf4 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.pyi +++ b/temporalio/bridge/proto/external_data/external_data_pb2.pyi @@ -5,19 +5,21 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class LocalActivityMarkerData(google.protobuf.message.Message): """This file defines data that Core might write externally. The first motivating case being storing data in markers in event history. Defining such data as protos provides an easy way @@ -46,17 +48,20 @@ class LocalActivityMarkerData(google.protobuf.message.Message): it was when it completed. Which could be different from wall-clock time because of workflow replay. It's the WFT start time + the LA's runtime """ + @property def backoff(self) -> google.protobuf.duration_pb2.Duration: """If set, this local activity conceptually is retrying after the specified backoff. Implementation wise, they are really two different LA machines, but with the same type & input. The retry starts with an attempt number > 1. """ + @property def original_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time the LA was originally scheduled (wall clock time). This is used to track schedule-to-close timeouts when timer-based backoffs are used """ + def __init__( self, *, @@ -70,7 +75,7 @@ class LocalActivityMarkerData(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff", b"backoff", "complete_time", @@ -81,7 +86,7 @@ class LocalActivityMarkerData(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -99,8 +104,9 @@ class LocalActivityMarkerData(google.protobuf.message.Message): ], ) -> None: ... -global___LocalActivityMarkerData = LocalActivityMarkerData +Global___LocalActivityMarkerData: typing_extensions.TypeAlias = LocalActivityMarkerData +@typing.final class PatchedMarkerData(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -117,8 +123,7 @@ class PatchedMarkerData(google.protobuf.message.Message): deprecated: builtins.bool = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["deprecated", b"deprecated", "id", b"id"], + self, field_name: typing.Literal["deprecated", b"deprecated", "id", b"id"] ) -> None: ... -global___PatchedMarkerData = PatchedMarkerData +Global___PatchedMarkerData: typing_extensions.TypeAlias = PatchedMarkerData diff --git a/temporalio/bridge/proto/health/v1/health_pb2.py b/temporalio/bridge/proto/health/v1/health_pb2.py index 8e31dcecb..cd1645a16 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.py +++ b/temporalio/bridge/proto/health/v1/health_pb2.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: health/v1/health.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "health/v1/health.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,44 +23,20 @@ b'\n\x16health/v1/health.proto\x12\x17temporal.grpc.health.v1"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t"\xb2\x01\n\x13HealthCheckResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.temporal.grpc.health.v1.HealthCheckResponse.ServingStatus"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xd2\x01\n\x06Health\x12\x62\n\x05\x43heck\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse\x12\x64\n\x05Watch\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse0\x01\x42\x61\n\x11io.grpc.health.v1B\x0bHealthProtoP\x01Z,google.golang.org/grpc/health/grpc_health_v1\xaa\x02\x0eGrpc.Health.V1b\x06proto3' ) - -_HEALTHCHECKREQUEST = DESCRIPTOR.message_types_by_name["HealthCheckRequest"] -_HEALTHCHECKRESPONSE = DESCRIPTOR.message_types_by_name["HealthCheckResponse"] -_HEALTHCHECKRESPONSE_SERVINGSTATUS = _HEALTHCHECKRESPONSE.enum_types_by_name[ - "ServingStatus" -] -HealthCheckRequest = _reflection.GeneratedProtocolMessageType( - "HealthCheckRequest", - (_message.Message,), - { - "DESCRIPTOR": _HEALTHCHECKREQUEST, - "__module__": "health.v1.health_pb2", - # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckRequest) - }, -) -_sym_db.RegisterMessage(HealthCheckRequest) - -HealthCheckResponse = _reflection.GeneratedProtocolMessageType( - "HealthCheckResponse", - (_message.Message,), - { - "DESCRIPTOR": _HEALTHCHECKRESPONSE, - "__module__": "health.v1.health_pb2", - # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckResponse) - }, -) -_sym_db.RegisterMessage(HealthCheckResponse) - -_HEALTH = DESCRIPTOR.services_by_name["Health"] -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b"\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1" - _HEALTHCHECKREQUEST._serialized_start = 51 - _HEALTHCHECKREQUEST._serialized_end = 88 - _HEALTHCHECKRESPONSE._serialized_start = 91 - _HEALTHCHECKRESPONSE._serialized_end = 269 - _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_start = 190 - _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_end = 269 - _HEALTH._serialized_start = 272 - _HEALTH._serialized_end = 482 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "health.v1.health_pb2", _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1" + _globals["_HEALTHCHECKREQUEST"]._serialized_start = 51 + _globals["_HEALTHCHECKREQUEST"]._serialized_end = 88 + _globals["_HEALTHCHECKRESPONSE"]._serialized_start = 91 + _globals["_HEALTHCHECKRESPONSE"]._serialized_end = 269 + _globals["_HEALTHCHECKRESPONSE_SERVINGSTATUS"]._serialized_start = 190 + _globals["_HEALTHCHECKRESPONSE_SERVINGSTATUS"]._serialized_end = 269 + _globals["_HEALTH"]._serialized_start = 272 + _globals["_HEALTH"]._serialized_end = 482 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/health/v1/health_pb2.pyi b/temporalio/bridge/proto/health/v1/health_pb2.pyi index 2e1121e3c..ee6ff00d8 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.pyi +++ b/temporalio/bridge/proto/health/v1/health_pb2.pyi @@ -18,6 +18,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class HealthCheckRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -28,12 +29,11 @@ class HealthCheckRequest(google.protobuf.message.Message): *, service: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["service", b"service"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["service", b"service"]) -> None: ... -global___HealthCheckRequest = HealthCheckRequest +Global___HealthCheckRequest: typing_extensions.TypeAlias = HealthCheckRequest +@typing.final class HealthCheckResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -46,7 +46,7 @@ class HealthCheckResponse(google.protobuf.message.Message): HealthCheckResponse._ServingStatus.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: HealthCheckResponse._ServingStatus.ValueType # 0 SERVING: HealthCheckResponse._ServingStatus.ValueType # 1 @@ -62,14 +62,12 @@ class HealthCheckResponse(google.protobuf.message.Message): """Used only by the Watch method.""" STATUS_FIELD_NUMBER: builtins.int - status: global___HealthCheckResponse.ServingStatus.ValueType + status: Global___HealthCheckResponse.ServingStatus.ValueType def __init__( self, *, - status: global___HealthCheckResponse.ServingStatus.ValueType = ..., - ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["status", b"status"] + status: Global___HealthCheckResponse.ServingStatus.ValueType = ..., ) -> None: ... + def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... -global___HealthCheckResponse = HealthCheckResponse +Global___HealthCheckResponse: typing_extensions.TypeAlias = HealthCheckResponse diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.py b/temporalio/bridge/proto/nexus/nexus_pb2.py index d932c3571..c026db017 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.py +++ b/temporalio/bridge/proto/nexus/nexus_pb2.py @@ -1,15 +1,19 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/nexus/nexus.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/sdk/core/nexus/nexus.proto" +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,87 +41,30 @@ b'\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"\xee\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x38\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01H\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"\xe2\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x12\x34\n\x10request_deadline\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x65ndpoint\x18\x04 \x01(\tB\t\n\x07variant"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3' ) -_NEXUSTASKCANCELREASON = DESCRIPTOR.enum_types_by_name["NexusTaskCancelReason"] -NexusTaskCancelReason = enum_type_wrapper.EnumTypeWrapper(_NEXUSTASKCANCELREASON) -_NEXUSOPERATIONCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ - "NexusOperationCancellationType" -] -NexusOperationCancellationType = enum_type_wrapper.EnumTypeWrapper( - _NEXUSOPERATIONCANCELLATIONTYPE -) -TIMED_OUT = 0 -WORKER_SHUTDOWN = 1 -WAIT_CANCELLATION_COMPLETED = 0 -ABANDON = 1 -TRY_CANCEL = 2 -WAIT_CANCELLATION_REQUESTED = 3 - - -_NEXUSOPERATIONRESULT = DESCRIPTOR.message_types_by_name["NexusOperationResult"] -_NEXUSTASKCOMPLETION = DESCRIPTOR.message_types_by_name["NexusTaskCompletion"] -_NEXUSTASK = DESCRIPTOR.message_types_by_name["NexusTask"] -_CANCELNEXUSTASK = DESCRIPTOR.message_types_by_name["CancelNexusTask"] -NexusOperationResult = _reflection.GeneratedProtocolMessageType( - "NexusOperationResult", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSOPERATIONRESULT, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusOperationResult) - }, -) -_sym_db.RegisterMessage(NexusOperationResult) - -NexusTaskCompletion = _reflection.GeneratedProtocolMessageType( - "NexusTaskCompletion", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSTASKCOMPLETION, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTaskCompletion) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.nexus.nexus_pb2", _globals ) -_sym_db.RegisterMessage(NexusTaskCompletion) - -NexusTask = _reflection.GeneratedProtocolMessageType( - "NexusTask", - (_message.Message,), - { - "DESCRIPTOR": _NEXUSTASK, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTask) - }, -) -_sym_db.RegisterMessage(NexusTask) - -CancelNexusTask = _reflection.GeneratedProtocolMessageType( - "CancelNexusTask", - (_message.Message,), - { - "DESCRIPTOR": _CANCELNEXUSTASK, - "__module__": "temporal.sdk.core.nexus.nexus_pb2", - # @@protoc_insertion_point(class_scope:coresdk.nexus.CancelNexusTask) - }, -) -_sym_db.RegisterMessage(CancelNexusTask) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( - b"\352\002(Temporalio::Internal::Bridge::Api::Nexus" - ) - _NEXUSTASKCOMPLETION.fields_by_name["error"]._options = None - _NEXUSTASKCOMPLETION.fields_by_name["error"]._serialized_options = b"\030\001" - _NEXUSTASKCANCELREASON._serialized_start = 1110 - _NEXUSTASKCANCELREASON._serialized_end = 1169 - _NEXUSOPERATIONCANCELLATIONTYPE._serialized_start = 1171 - _NEXUSOPERATIONCANCELLATIONTYPE._serialized_end = 1298 - _NEXUSOPERATIONRESULT._serialized_start = 297 - _NEXUSOPERATIONRESULT._serialized_end = 545 - _NEXUSTASKCOMPLETION._serialized_start = 548 - _NEXUSTASKCOMPLETION._serialized_end = 786 - _NEXUSTASK._serialized_start = 789 - _NEXUSTASK._serialized_end = 1015 - _CANCELNEXUSTASK._serialized_start = 1017 - _CANCELNEXUSTASK._serialized_end = 1108 +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = b"\352\002(Temporalio::Internal::Bridge::Api::Nexus" + _globals["_NEXUSTASKCOMPLETION"].fields_by_name["error"]._loaded_options = None + _globals["_NEXUSTASKCOMPLETION"].fields_by_name[ + "error" + ]._serialized_options = b"\030\001" + _globals["_NEXUSTASKCANCELREASON"]._serialized_start = 1110 + _globals["_NEXUSTASKCANCELREASON"]._serialized_end = 1169 + _globals["_NEXUSOPERATIONCANCELLATIONTYPE"]._serialized_start = 1171 + _globals["_NEXUSOPERATIONCANCELLATIONTYPE"]._serialized_end = 1298 + _globals["_NEXUSOPERATIONRESULT"]._serialized_start = 297 + _globals["_NEXUSOPERATIONRESULT"]._serialized_end = 545 + _globals["_NEXUSTASKCOMPLETION"]._serialized_start = 548 + _globals["_NEXUSTASKCOMPLETION"]._serialized_end = 786 + _globals["_NEXUSTASK"]._serialized_start = 789 + _globals["_NEXUSTASK"]._serialized_end = 1015 + _globals["_CANCELNEXUSTASK"]._serialized_start = 1017 + _globals["_CANCELNEXUSTASK"]._serialized_end = 1108 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.pyi b/temporalio/bridge/proto/nexus/nexus_pb2.pyi index 3cfafac26..47a4f3163 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.pyi +++ b/temporalio/bridge/proto/nexus/nexus_pb2.pyi @@ -33,7 +33,7 @@ class _NexusTaskCancelReasonEnumTypeWrapper( _NexusTaskCancelReason.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TIMED_OUT: _NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" @@ -48,7 +48,7 @@ TIMED_OUT: NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" WORKER_SHUTDOWN: NexusTaskCancelReason.ValueType # 1 """The worker is shutting down""" -global___NexusTaskCancelReason = NexusTaskCancelReason +Global___NexusTaskCancelReason: typing_extensions.TypeAlias = NexusTaskCancelReason class _NexusOperationCancellationType: ValueType = typing.NewType("ValueType", builtins.int) @@ -59,7 +59,7 @@ class _NexusOperationCancellationTypeEnumTypeWrapper( _NexusOperationCancellationType.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WAIT_CANCELLATION_COMPLETED: _NexusOperationCancellationType.ValueType # 0 """Wait for operation cancellation completion. Default.""" @@ -90,8 +90,11 @@ If you want to ensure that cancellation is delivered to the operation, use WAIT_ """ WAIT_CANCELLATION_REQUESTED: NexusOperationCancellationType.ValueType # 3 """Request cancellation of the operation and wait for confirmation that the request was received.""" -global___NexusOperationCancellationType = NexusOperationCancellationType +Global___NexusOperationCancellationType: typing_extensions.TypeAlias = ( + NexusOperationCancellationType +) +@typing.final class NexusOperationResult(google.protobuf.message.Message): """Used by core to resolve nexus operations.""" @@ -119,7 +122,7 @@ class NexusOperationResult(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "completed", @@ -134,7 +137,7 @@ class NexusOperationResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "completed", @@ -148,14 +151,12 @@ class NexusOperationResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal["completed", "failed", "cancelled", "timed_out"] - | None - ): ... + self, oneof_group: typing.Literal["status", b"status"] + ) -> typing.Literal["completed", "failed", "cancelled", "timed_out"] | None: ... -global___NexusOperationResult = NexusOperationResult +Global___NexusOperationResult: typing_extensions.TypeAlias = NexusOperationResult +@typing.final class NexusTaskCompletion(google.protobuf.message.Message): """A response to a Nexus task""" @@ -168,23 +169,26 @@ class NexusTaskCompletion(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The unique identifier for this task provided in the poll response""" + ack_cancel: builtins.bool + """The lang SDK acknowledges that it is responding to a `CancelNexusTask` and thus the + response is irrelevant. This is not the only way to respond to a cancel, the other + variants can still be used, but this variant should be used when the handler was aborted + by cancellation. + """ @property def completed(self) -> temporalio.api.nexus.v1.message_pb2.Response: """The handler completed (successfully or not). Note that the response kind must match the request kind (start or cancel). """ + @property def error(self) -> temporalio.api.nexus.v1.message_pb2.HandlerError: """The handler could not complete the request for some reason. Deprecated, use failure.""" - ack_cancel: builtins.bool - """The lang SDK acknowledges that it is responding to a `CancelNexusTask` and thus the - response is irrelevant. This is not the only way to respond to a cancel, the other - variants can still be used, but this variant should be used when the handler was aborted - by cancellation. - """ + @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The handler could not complete the request for some reason.""" + def __init__( self, *, @@ -196,7 +200,7 @@ class NexusTaskCompletion(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "ack_cancel", b"ack_cancel", "completed", @@ -211,7 +215,7 @@ class NexusTaskCompletion(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "ack_cancel", b"ack_cancel", "completed", @@ -227,13 +231,12 @@ class NexusTaskCompletion(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal["completed", "error", "ack_cancel", "failure"] | None - ): ... + self, oneof_group: typing.Literal["status", b"status"] + ) -> typing.Literal["completed", "error", "ack_cancel", "failure"] | None: ... -global___NexusTaskCompletion = NexusTaskCompletion +Global___NexusTaskCompletion: typing_extensions.TypeAlias = NexusTaskCompletion +@typing.final class NexusTask(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -241,13 +244,18 @@ class NexusTask(google.protobuf.message.Message): CANCEL_TASK_FIELD_NUMBER: builtins.int REQUEST_DEADLINE_FIELD_NUMBER: builtins.int ENDPOINT_FIELD_NUMBER: builtins.int + endpoint: builtins.str + """The endpoint this request was addressed to. Extracted from the request for convenient access. + Only set when variant is `task`. + """ @property def task( self, ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: """A nexus task from server""" + @property - def cancel_task(self) -> global___CancelNexusTask: + def cancel_task(self) -> Global___CancelNexusTask: """A request by Core to notify an in-progress operation handler that it should cancel. This is distinct from a `CancelOperationRequest` from the server, which results from the user requesting the cancellation of an operation. Handling this variant should result in @@ -260,28 +268,26 @@ class NexusTask(google.protobuf.message.Message): EX: Core knows the nexus operation has timed out, and it does not make sense for the user's operation handler to continue doing work. """ + @property def request_deadline(self) -> google.protobuf.timestamp_pb2.Timestamp: """The deadline for this request, parsed from the "Request-Timeout" header. Only set when variant is `task` and the header was present with a valid value. Represented as an absolute timestamp. """ - endpoint: builtins.str - """The endpoint this request was addressed to. Extracted from the request for convenient access. - Only set when variant is `task`. - """ + def __init__( self, *, task: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse | None = ..., - cancel_task: global___CancelNexusTask | None = ..., + cancel_task: Global___CancelNexusTask | None = ..., request_deadline: google.protobuf.timestamp_pb2.Timestamp | None = ..., endpoint: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_task", b"cancel_task", "request_deadline", @@ -294,7 +300,7 @@ class NexusTask(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_task", b"cancel_task", "endpoint", @@ -308,11 +314,12 @@ class NexusTask(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["task", "cancel_task"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["task", "cancel_task"] | None: ... -global___NexusTask = NexusTask +Global___NexusTask: typing_extensions.TypeAlias = NexusTask +@typing.final class CancelNexusTask(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -320,19 +327,17 @@ class CancelNexusTask(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token from the PollNexusTaskQueueResponse""" - reason: global___NexusTaskCancelReason.ValueType + reason: Global___NexusTaskCancelReason.ValueType """Why Core is asking for this operation to be cancelled""" def __init__( self, *, task_token: builtins.bytes = ..., - reason: global___NexusTaskCancelReason.ValueType = ..., + reason: Global___NexusTaskCancelReason.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "reason", b"reason", "task_token", b"task_token" - ], + field_name: typing.Literal["reason", b"reason", "task_token", b"task_token"], ) -> None: ... -global___CancelNexusTask = CancelNexusTask +Global___CancelNexusTask: typing_extensions.TypeAlias = CancelNexusTask diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py index dbece6b3e..c0407c81f 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/workflow_activation/workflow_activation.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/workflow_activation/workflow_activation.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -47,385 +57,78 @@ b'\n?temporal/sdk/core/workflow_activation/workflow_activation.proto\x12\x1b\x63oresdk.workflow_activation\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a#temporal/sdk/core/nexus/nexus.proto"\xa2\x04\n\x12WorkflowActivation\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cis_replaying\x18\x03 \x01(\x08\x12\x16\n\x0ehistory_length\x18\x04 \x01(\r\x12@\n\x04jobs\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.WorkflowActivationJob\x12 \n\x18\x61vailable_internal_flags\x18\x06 \x03(\r\x12\x1a\n\x12history_size_bytes\x18\x07 \x01(\x04\x12!\n\x19\x63ontinue_as_new_suggested\x18\x08 \x01(\x08\x12T\n#deployment_version_for_current_task\x18\t \x01(\x0b\x32\'.coresdk.common.WorkerDeploymentVersion\x12\x18\n\x10last_sdk_version\x18\n \x01(\t\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x0b \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\x0c \x01(\x08"\xe0\n\n\x15WorkflowActivationJob\x12N\n\x13initialize_workflow\x18\x01 \x01(\x0b\x32/.coresdk.workflow_activation.InitializeWorkflowH\x00\x12<\n\nfire_timer\x18\x02 \x01(\x0b\x32&.coresdk.workflow_activation.FireTimerH\x00\x12K\n\x12update_random_seed\x18\x04 \x01(\x0b\x32-.coresdk.workflow_activation.UpdateRandomSeedH\x00\x12\x44\n\x0equery_workflow\x18\x05 \x01(\x0b\x32*.coresdk.workflow_activation.QueryWorkflowH\x00\x12\x46\n\x0f\x63\x61ncel_workflow\x18\x06 \x01(\x0b\x32+.coresdk.workflow_activation.CancelWorkflowH\x00\x12\x46\n\x0fsignal_workflow\x18\x07 \x01(\x0b\x32+.coresdk.workflow_activation.SignalWorkflowH\x00\x12H\n\x10resolve_activity\x18\x08 \x01(\x0b\x32,.coresdk.workflow_activation.ResolveActivityH\x00\x12G\n\x10notify_has_patch\x18\t \x01(\x0b\x32+.coresdk.workflow_activation.NotifyHasPatchH\x00\x12q\n&resolve_child_workflow_execution_start\x18\n \x01(\x0b\x32?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\x00\x12\x66\n resolve_child_workflow_execution\x18\x0b \x01(\x0b\x32:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\x00\x12\x66\n resolve_signal_external_workflow\x18\x0c \x01(\x0b\x32:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\x00\x12u\n(resolve_request_cancel_external_workflow\x18\r \x01(\x0b\x32\x41.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\x00\x12:\n\tdo_update\x18\x0e \x01(\x0b\x32%.coresdk.workflow_activation.DoUpdateH\x00\x12`\n\x1dresolve_nexus_operation_start\x18\x0f \x01(\x0b\x32\x37.coresdk.workflow_activation.ResolveNexusOperationStartH\x00\x12U\n\x17resolve_nexus_operation\x18\x10 \x01(\x0b\x32\x32.coresdk.workflow_activation.ResolveNexusOperationH\x00\x12I\n\x11remove_from_cache\x18\x32 \x01(\x0b\x32,.coresdk.workflow_activation.RemoveFromCacheH\x00\x42\t\n\x07variant"\xd9\n\n\x12InitializeWorkflow\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x17\n\x0frandomness_seed\x18\x04 \x01(\x04\x12M\n\x07headers\x18\x05 \x03(\x0b\x32<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntry\x12\x10\n\x08identity\x18\x06 \x01(\t\x12I\n\x14parent_workflow_info\x18\x07 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12=\n\x1aworkflow_execution_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x1f\x63ontinued_from_execution_run_id\x18\x0b \x01(\t\x12J\n\x13\x63ontinued_initiator\x18\x0c \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\r \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1e\n\x16\x66irst_execution_run_id\x18\x0f \x01(\t\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x11 \x01(\x05\x12\x15\n\rcron_schedule\x18\x12 \x01(\t\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n"cron_schedule_to_schedule_interval\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x15 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x16 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\nstart_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\rroot_workflow\x18\x18 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x08priority\x18\x19 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x18\n\tFireTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"m\n\x0fResolveActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.activity_result.ActivityResolution\x12\x10\n\x08is_local\x18\x03 \x01(\x08"\xd1\x02\n"ResolveChildWorkflowExecutionStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12[\n\tsucceeded\x18\x02 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\x00\x12X\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\x00\x12]\n\tcancelled\x18\x04 \x01(\x0b\x32H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\x00\x42\x08\n\x06status";\n)ResolveChildWorkflowExecutionStartSuccess\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\xa6\x01\n)ResolveChildWorkflowExecutionStartFailure\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12M\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCause"`\n+ResolveChildWorkflowExecutionStartCancelled\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"i\n\x1dResolveChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.child_workflow.ChildWorkflowResult"+\n\x10UpdateRandomSeed\x12\x17\n\x0frandomness_seed\x18\x01 \x01(\x04"\x84\x02\n\rQueryWorkflow\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x12\n\nquery_type\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12H\n\x07headers\x18\x05 \x03(\x0b\x32\x37.coresdk.workflow_activation.QueryWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01" \n\x0e\x43\x61ncelWorkflow\x12\x0e\n\x06reason\x18\x01 \x01(\t"\x83\x02\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12.\n\x05input\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.coresdk.workflow_activation.SignalWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01""\n\x0eNotifyHasPatch\x12\x10\n\x08patch_id\x18\x01 \x01(\t"_\n\x1dResolveSignalExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"f\n$ResolveRequestCancelExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xcb\x02\n\x08\x44oUpdate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x43\n\x07headers\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.DoUpdate.HeadersEntry\x12*\n\x04meta\x18\x06 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x15\n\rrun_validator\x18\x07 \x01(\x08\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x9a\x01\n\x1aResolveNexusOperationStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x19\n\x0foperation_token\x18\x02 \x01(\tH\x00\x12\x16\n\x0cstarted_sync\x18\x03 \x01(\x08H\x00\x12\x32\n\x06\x66\x61iled\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"Y\n\x15ResolveNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x33\n\x06result\x18\x02 \x01(\x0b\x32#.coresdk.nexus.NexusOperationResult"\xe0\x02\n\x0fRemoveFromCache\x12\x0f\n\x07message\x18\x01 \x01(\t\x12K\n\x06reason\x18\x02 \x01(\x0e\x32;.coresdk.workflow_activation.RemoveFromCache.EvictionReason"\xee\x01\n\x0e\x45victionReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCACHE_FULL\x10\x01\x12\x0e\n\nCACHE_MISS\x10\x02\x12\x12\n\x0eNONDETERMINISM\x10\x03\x12\r\n\tLANG_FAIL\x10\x04\x12\x12\n\x0eLANG_REQUESTED\x10\x05\x12\x12\n\x0eTASK_NOT_FOUND\x10\x06\x12\x15\n\x11UNHANDLED_COMMAND\x10\x07\x12\t\n\x05\x46\x41TAL\x10\x08\x12\x1f\n\x1bPAGINATION_OR_HISTORY_FETCH\x10\t\x12\x1d\n\x19WORKFLOW_EXECUTION_ENDING\x10\nB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowActivationb\x06proto3' ) - -_WORKFLOWACTIVATION = DESCRIPTOR.message_types_by_name["WorkflowActivation"] -_WORKFLOWACTIVATIONJOB = DESCRIPTOR.message_types_by_name["WorkflowActivationJob"] -_INITIALIZEWORKFLOW = DESCRIPTOR.message_types_by_name["InitializeWorkflow"] -_INITIALIZEWORKFLOW_HEADERSENTRY = _INITIALIZEWORKFLOW.nested_types_by_name[ - "HeadersEntry" -] -_FIRETIMER = DESCRIPTOR.message_types_by_name["FireTimer"] -_RESOLVEACTIVITY = DESCRIPTOR.message_types_by_name["ResolveActivity"] -_RESOLVECHILDWORKFLOWEXECUTIONSTART = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStart" -] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStartSuccess" -] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStartFailure" -] -_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecutionStartCancelled" -] -_RESOLVECHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "ResolveChildWorkflowExecution" -] -_UPDATERANDOMSEED = DESCRIPTOR.message_types_by_name["UpdateRandomSeed"] -_QUERYWORKFLOW = DESCRIPTOR.message_types_by_name["QueryWorkflow"] -_QUERYWORKFLOW_HEADERSENTRY = _QUERYWORKFLOW.nested_types_by_name["HeadersEntry"] -_CANCELWORKFLOW = DESCRIPTOR.message_types_by_name["CancelWorkflow"] -_SIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["SignalWorkflow"] -_SIGNALWORKFLOW_HEADERSENTRY = _SIGNALWORKFLOW.nested_types_by_name["HeadersEntry"] -_NOTIFYHASPATCH = DESCRIPTOR.message_types_by_name["NotifyHasPatch"] -_RESOLVESIGNALEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ - "ResolveSignalExternalWorkflow" -] -_RESOLVEREQUESTCANCELEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ - "ResolveRequestCancelExternalWorkflow" -] -_DOUPDATE = DESCRIPTOR.message_types_by_name["DoUpdate"] -_DOUPDATE_HEADERSENTRY = _DOUPDATE.nested_types_by_name["HeadersEntry"] -_RESOLVENEXUSOPERATIONSTART = DESCRIPTOR.message_types_by_name[ - "ResolveNexusOperationStart" -] -_RESOLVENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ResolveNexusOperation"] -_REMOVEFROMCACHE = DESCRIPTOR.message_types_by_name["RemoveFromCache"] -_REMOVEFROMCACHE_EVICTIONREASON = _REMOVEFROMCACHE.enum_types_by_name["EvictionReason"] -WorkflowActivation = _reflection.GeneratedProtocolMessageType( - "WorkflowActivation", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWACTIVATION, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivation) - }, -) -_sym_db.RegisterMessage(WorkflowActivation) - -WorkflowActivationJob = _reflection.GeneratedProtocolMessageType( - "WorkflowActivationJob", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWACTIVATIONJOB, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivationJob) - }, -) -_sym_db.RegisterMessage(WorkflowActivationJob) - -InitializeWorkflow = _reflection.GeneratedProtocolMessageType( - "InitializeWorkflow", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _INITIALIZEWORKFLOW_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow.HeadersEntry) - }, - ), - "DESCRIPTOR": _INITIALIZEWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow) - }, -) -_sym_db.RegisterMessage(InitializeWorkflow) -_sym_db.RegisterMessage(InitializeWorkflow.HeadersEntry) - -FireTimer = _reflection.GeneratedProtocolMessageType( - "FireTimer", - (_message.Message,), - { - "DESCRIPTOR": _FIRETIMER, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.FireTimer) - }, -) -_sym_db.RegisterMessage(FireTimer) - -ResolveActivity = _reflection.GeneratedProtocolMessageType( - "ResolveActivity", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVEACTIVITY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveActivity) - }, -) -_sym_db.RegisterMessage(ResolveActivity) - -ResolveChildWorkflowExecutionStart = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStart", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTART, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStart) - }, -) -_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStart) - -ResolveChildWorkflowExecutionStartSuccess = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStartSuccess", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccess) - }, -) -_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartSuccess) - -ResolveChildWorkflowExecutionStartFailure = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStartFailure", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure) - }, -) -_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartFailure) - -ResolveChildWorkflowExecutionStartCancelled = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecutionStartCancelled", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled) - }, -) -_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartCancelled) - -ResolveChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "ResolveChildWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecution) - }, -) -_sym_db.RegisterMessage(ResolveChildWorkflowExecution) - -UpdateRandomSeed = _reflection.GeneratedProtocolMessageType( - "UpdateRandomSeed", - (_message.Message,), - { - "DESCRIPTOR": _UPDATERANDOMSEED, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.UpdateRandomSeed) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, + "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + _globals, ) -_sym_db.RegisterMessage(UpdateRandomSeed) - -QueryWorkflow = _reflection.GeneratedProtocolMessageType( - "QueryWorkflow", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _QUERYWORKFLOW_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow.HeadersEntry) - }, - ), - "DESCRIPTOR": _QUERYWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow) - }, -) -_sym_db.RegisterMessage(QueryWorkflow) -_sym_db.RegisterMessage(QueryWorkflow.HeadersEntry) - -CancelWorkflow = _reflection.GeneratedProtocolMessageType( - "CancelWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _CANCELWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.CancelWorkflow) - }, -) -_sym_db.RegisterMessage(CancelWorkflow) - -SignalWorkflow = _reflection.GeneratedProtocolMessageType( - "SignalWorkflow", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALWORKFLOW_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow.HeadersEntry) - }, - ), - "DESCRIPTOR": _SIGNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow) - }, -) -_sym_db.RegisterMessage(SignalWorkflow) -_sym_db.RegisterMessage(SignalWorkflow.HeadersEntry) - -NotifyHasPatch = _reflection.GeneratedProtocolMessageType( - "NotifyHasPatch", - (_message.Message,), - { - "DESCRIPTOR": _NOTIFYHASPATCH, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.NotifyHasPatch) - }, -) -_sym_db.RegisterMessage(NotifyHasPatch) - -ResolveSignalExternalWorkflow = _reflection.GeneratedProtocolMessageType( - "ResolveSignalExternalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVESIGNALEXTERNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveSignalExternalWorkflow) - }, -) -_sym_db.RegisterMessage(ResolveSignalExternalWorkflow) - -ResolveRequestCancelExternalWorkflow = _reflection.GeneratedProtocolMessageType( - "ResolveRequestCancelExternalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVEREQUESTCANCELEXTERNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow) - }, -) -_sym_db.RegisterMessage(ResolveRequestCancelExternalWorkflow) - -DoUpdate = _reflection.GeneratedProtocolMessageType( - "DoUpdate", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _DOUPDATE_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate.HeadersEntry) - }, - ), - "DESCRIPTOR": _DOUPDATE, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate) - }, -) -_sym_db.RegisterMessage(DoUpdate) -_sym_db.RegisterMessage(DoUpdate.HeadersEntry) - -ResolveNexusOperationStart = _reflection.GeneratedProtocolMessageType( - "ResolveNexusOperationStart", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVENEXUSOPERATIONSTART, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperationStart) - }, -) -_sym_db.RegisterMessage(ResolveNexusOperationStart) - -ResolveNexusOperation = _reflection.GeneratedProtocolMessageType( - "ResolveNexusOperation", - (_message.Message,), - { - "DESCRIPTOR": _RESOLVENEXUSOPERATION, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperation) - }, -) -_sym_db.RegisterMessage(ResolveNexusOperation) - -RemoveFromCache = _reflection.GeneratedProtocolMessageType( - "RemoveFromCache", - (_message.Message,), - { - "DESCRIPTOR": _REMOVEFROMCACHE, - "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.RemoveFromCache) - }, -) -_sym_db.RegisterMessage(RemoveFromCache) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = ( b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowActivation" ) - _INITIALIZEWORKFLOW_HEADERSENTRY._options = None - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" - _QUERYWORKFLOW_HEADERSENTRY._options = None - _QUERYWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" - _SIGNALWORKFLOW_HEADERSENTRY._options = None - _SIGNALWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" - _DOUPDATE_HEADERSENTRY._options = None - _DOUPDATE_HEADERSENTRY._serialized_options = b"8\001" - _WORKFLOWACTIVATION._serialized_start = 532 - _WORKFLOWACTIVATION._serialized_end = 1078 - _WORKFLOWACTIVATIONJOB._serialized_start = 1081 - _WORKFLOWACTIVATIONJOB._serialized_end = 2457 - _INITIALIZEWORKFLOW._serialized_start = 2460 - _INITIALIZEWORKFLOW._serialized_end = 3829 - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_start = 3750 - _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_end = 3829 - _FIRETIMER._serialized_start = 3831 - _FIRETIMER._serialized_end = 3855 - _RESOLVEACTIVITY._serialized_start = 3857 - _RESOLVEACTIVITY._serialized_end = 3966 - _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_start = 3969 - _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_end = 4306 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_start = 4308 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_end = 4367 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_start = 4370 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_end = 4536 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_start = 4538 - _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_end = 4634 - _RESOLVECHILDWORKFLOWEXECUTION._serialized_start = 4636 - _RESOLVECHILDWORKFLOWEXECUTION._serialized_end = 4741 - _UPDATERANDOMSEED._serialized_start = 4743 - _UPDATERANDOMSEED._serialized_end = 4786 - _QUERYWORKFLOW._serialized_start = 4789 - _QUERYWORKFLOW._serialized_end = 5049 - _QUERYWORKFLOW_HEADERSENTRY._serialized_start = 3750 - _QUERYWORKFLOW_HEADERSENTRY._serialized_end = 3829 - _CANCELWORKFLOW._serialized_start = 5051 - _CANCELWORKFLOW._serialized_end = 5083 - _SIGNALWORKFLOW._serialized_start = 5086 - _SIGNALWORKFLOW._serialized_end = 5345 - _SIGNALWORKFLOW_HEADERSENTRY._serialized_start = 3750 - _SIGNALWORKFLOW_HEADERSENTRY._serialized_end = 3829 - _NOTIFYHASPATCH._serialized_start = 5347 - _NOTIFYHASPATCH._serialized_end = 5381 - _RESOLVESIGNALEXTERNALWORKFLOW._serialized_start = 5383 - _RESOLVESIGNALEXTERNALWORKFLOW._serialized_end = 5478 - _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_start = 5480 - _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_end = 5582 - _DOUPDATE._serialized_start = 5585 - _DOUPDATE._serialized_end = 5916 - _DOUPDATE_HEADERSENTRY._serialized_start = 3750 - _DOUPDATE_HEADERSENTRY._serialized_end = 3829 - _RESOLVENEXUSOPERATIONSTART._serialized_start = 5919 - _RESOLVENEXUSOPERATIONSTART._serialized_end = 6073 - _RESOLVENEXUSOPERATION._serialized_start = 6075 - _RESOLVENEXUSOPERATION._serialized_end = 6164 - _REMOVEFROMCACHE._serialized_start = 6167 - _REMOVEFROMCACHE._serialized_end = 6519 - _REMOVEFROMCACHE_EVICTIONREASON._serialized_start = 6281 - _REMOVEFROMCACHE_EVICTIONREASON._serialized_end = 6519 + _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._loaded_options = None + _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_QUERYWORKFLOW_HEADERSENTRY"]._loaded_options = None + _globals["_QUERYWORKFLOW_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._loaded_options = None + _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_DOUPDATE_HEADERSENTRY"]._loaded_options = None + _globals["_DOUPDATE_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_WORKFLOWACTIVATION"]._serialized_start = 532 + _globals["_WORKFLOWACTIVATION"]._serialized_end = 1078 + _globals["_WORKFLOWACTIVATIONJOB"]._serialized_start = 1081 + _globals["_WORKFLOWACTIVATIONJOB"]._serialized_end = 2457 + _globals["_INITIALIZEWORKFLOW"]._serialized_start = 2460 + _globals["_INITIALIZEWORKFLOW"]._serialized_end = 3829 + _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._serialized_start = 3750 + _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._serialized_end = 3829 + _globals["_FIRETIMER"]._serialized_start = 3831 + _globals["_FIRETIMER"]._serialized_end = 3855 + _globals["_RESOLVEACTIVITY"]._serialized_start = 3857 + _globals["_RESOLVEACTIVITY"]._serialized_end = 3966 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTART"]._serialized_start = 3969 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTART"]._serialized_end = 4306 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS"]._serialized_start = 4308 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS"]._serialized_end = 4367 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE"]._serialized_start = 4370 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE"]._serialized_end = 4536 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED"]._serialized_start = 4538 + _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED"]._serialized_end = 4634 + _globals["_RESOLVECHILDWORKFLOWEXECUTION"]._serialized_start = 4636 + _globals["_RESOLVECHILDWORKFLOWEXECUTION"]._serialized_end = 4741 + _globals["_UPDATERANDOMSEED"]._serialized_start = 4743 + _globals["_UPDATERANDOMSEED"]._serialized_end = 4786 + _globals["_QUERYWORKFLOW"]._serialized_start = 4789 + _globals["_QUERYWORKFLOW"]._serialized_end = 5049 + _globals["_QUERYWORKFLOW_HEADERSENTRY"]._serialized_start = 3750 + _globals["_QUERYWORKFLOW_HEADERSENTRY"]._serialized_end = 3829 + _globals["_CANCELWORKFLOW"]._serialized_start = 5051 + _globals["_CANCELWORKFLOW"]._serialized_end = 5083 + _globals["_SIGNALWORKFLOW"]._serialized_start = 5086 + _globals["_SIGNALWORKFLOW"]._serialized_end = 5345 + _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._serialized_start = 3750 + _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._serialized_end = 3829 + _globals["_NOTIFYHASPATCH"]._serialized_start = 5347 + _globals["_NOTIFYHASPATCH"]._serialized_end = 5381 + _globals["_RESOLVESIGNALEXTERNALWORKFLOW"]._serialized_start = 5383 + _globals["_RESOLVESIGNALEXTERNALWORKFLOW"]._serialized_end = 5478 + _globals["_RESOLVEREQUESTCANCELEXTERNALWORKFLOW"]._serialized_start = 5480 + _globals["_RESOLVEREQUESTCANCELEXTERNALWORKFLOW"]._serialized_end = 5582 + _globals["_DOUPDATE"]._serialized_start = 5585 + _globals["_DOUPDATE"]._serialized_end = 5916 + _globals["_DOUPDATE_HEADERSENTRY"]._serialized_start = 3750 + _globals["_DOUPDATE_HEADERSENTRY"]._serialized_end = 3829 + _globals["_RESOLVENEXUSOPERATIONSTART"]._serialized_start = 5919 + _globals["_RESOLVENEXUSOPERATIONSTART"]._serialized_end = 6073 + _globals["_RESOLVENEXUSOPERATION"]._serialized_start = 6075 + _globals["_RESOLVENEXUSOPERATION"]._serialized_end = 6164 + _globals["_REMOVEFROMCACHE"]._serialized_start = 6167 + _globals["_REMOVEFROMCACHE"]._serialized_end = 6519 + _globals["_REMOVEFROMCACHE_EVICTIONREASON"]._serialized_start = 6281 + _globals["_REMOVEFROMCACHE_EVICTIONREASON"]._serialized_end = 6519 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi index a4162e7a4..dbf181eef 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi @@ -34,6 +34,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowActivation(google.protobuf.message.Message): """An instruction to the lang sdk to run some workflow code, whether for the first time or from a cached state. @@ -99,22 +100,35 @@ class WorkflowActivation(google.protobuf.message.Message): """The id of the currently active run of the workflow. Also used as a cache key. There may only ever be one active workflow task (and hence activation) of a run at one time. """ - @property - def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The current time as understood by the workflow, which is set by workflow task started events""" is_replaying: builtins.bool """Whether or not the activation is replaying past events""" history_length: builtins.int """Current history length as determined by the event id of the most recently processed event. This ensures that the number is always deterministic """ + history_size_bytes: builtins.int + """The history size in bytes as of the last WFT started event""" + continue_as_new_suggested: builtins.bool + """Set true if the most recent WFT started event had this suggestion""" + last_sdk_version: builtins.str + """The last seen SDK version from the most recent WFT completed event""" + target_worker_deployment_version_changed: builtins.bool + """True if Workflow's Target Worker Deployment Version is different from its Pinned Version and + the workflow is Pinned. + Experimental. + """ + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The current time as understood by the workflow, which is set by workflow task started events""" + @property def jobs( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___WorkflowActivationJob + Global___WorkflowActivationJob ]: """The things to do upon activating the workflow""" + @property def available_internal_flags( self, @@ -123,10 +137,7 @@ class WorkflowActivation(google.protobuf.message.Message): internal flags may be used. This is not a delta - all previously used flags always appear since this representation is cheap. """ - history_size_bytes: builtins.int - """The history size in bytes as of the last WFT started event""" - continue_as_new_suggested: builtins.bool - """Set true if the most recent WFT started event had this suggestion""" + @property def deployment_version_for_current_task( self, @@ -139,8 +150,7 @@ class WorkflowActivation(google.protobuf.message.Message): build id, if this worker was using the deprecated Build ID-only feature(s). """ - last_sdk_version: builtins.str - """The last seen SDK version from the most recent WFT completed event""" + @property def suggest_continue_as_new_reasons( self, @@ -151,11 +161,7 @@ class WorkflowActivation(google.protobuf.message.Message): For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run. """ - target_worker_deployment_version_changed: builtins.bool - """True if Workflow's Target Worker Deployment Version is different from its Pinned Version and - the workflow is Pinned. - Experimental. - """ + def __init__( self, *, @@ -163,7 +169,7 @@ class WorkflowActivation(google.protobuf.message.Message): timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_replaying: builtins.bool = ..., history_length: builtins.int = ..., - jobs: collections.abc.Iterable[global___WorkflowActivationJob] | None = ..., + jobs: collections.abc.Iterable[Global___WorkflowActivationJob] | None = ..., available_internal_flags: collections.abc.Iterable[builtins.int] | None = ..., history_size_bytes: builtins.int = ..., continue_as_new_suggested: builtins.bool = ..., @@ -178,7 +184,7 @@ class WorkflowActivation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deployment_version_for_current_task", b"deployment_version_for_current_task", "timestamp", @@ -187,7 +193,7 @@ class WorkflowActivation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "available_internal_flags", b"available_internal_flags", "continue_as_new_suggested", @@ -215,8 +221,9 @@ class WorkflowActivation(google.protobuf.message.Message): ], ) -> None: ... -global___WorkflowActivation = WorkflowActivation +Global___WorkflowActivation: typing_extensions.TypeAlias = WorkflowActivation +@typing.final class WorkflowActivationJob(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -237,96 +244,112 @@ class WorkflowActivationJob(google.protobuf.message.Message): RESOLVE_NEXUS_OPERATION_FIELD_NUMBER: builtins.int REMOVE_FROM_CACHE_FIELD_NUMBER: builtins.int @property - def initialize_workflow(self) -> global___InitializeWorkflow: + def initialize_workflow(self) -> Global___InitializeWorkflow: """A workflow is starting, record all of the information from its start event""" + @property - def fire_timer(self) -> global___FireTimer: + def fire_timer(self) -> Global___FireTimer: """A timer has fired, allowing whatever was waiting on it (if anything) to proceed""" + @property - def update_random_seed(self) -> global___UpdateRandomSeed: + def update_random_seed(self) -> Global___UpdateRandomSeed: """Workflow was reset. The randomness seed must be updated.""" + @property - def query_workflow(self) -> global___QueryWorkflow: + def query_workflow(self) -> Global___QueryWorkflow: """A request to query the workflow was received. It is guaranteed that queries (one or more) always come in their own activation after other mutating jobs. """ + @property - def cancel_workflow(self) -> global___CancelWorkflow: + def cancel_workflow(self) -> Global___CancelWorkflow: """A request to cancel the workflow was received.""" + @property - def signal_workflow(self) -> global___SignalWorkflow: + def signal_workflow(self) -> Global___SignalWorkflow: """A request to signal the workflow was received.""" + @property - def resolve_activity(self) -> global___ResolveActivity: + def resolve_activity(self) -> Global___ResolveActivity: """An activity was resolved, result could be completed, failed or cancelled""" + @property - def notify_has_patch(self) -> global___NotifyHasPatch: + def notify_has_patch(self) -> Global___NotifyHasPatch: """A patch marker has been detected and lang is being told that change exists. This job is strange in that it is sent pre-emptively to lang without any corresponding command being sent first. """ + @property def resolve_child_workflow_execution_start( self, - ) -> global___ResolveChildWorkflowExecutionStart: + ) -> Global___ResolveChildWorkflowExecutionStart: """A child workflow execution has started or failed to start""" + @property def resolve_child_workflow_execution( self, - ) -> global___ResolveChildWorkflowExecution: + ) -> Global___ResolveChildWorkflowExecution: """A child workflow was resolved, result could be completed or failed""" + @property def resolve_signal_external_workflow( self, - ) -> global___ResolveSignalExternalWorkflow: + ) -> Global___ResolveSignalExternalWorkflow: """An attempt to signal an external workflow resolved""" + @property def resolve_request_cancel_external_workflow( self, - ) -> global___ResolveRequestCancelExternalWorkflow: + ) -> Global___ResolveRequestCancelExternalWorkflow: """An attempt to cancel an external workflow resolved""" + @property - def do_update(self) -> global___DoUpdate: + def do_update(self) -> Global___DoUpdate: """A request to handle a workflow update.""" + @property - def resolve_nexus_operation_start(self) -> global___ResolveNexusOperationStart: + def resolve_nexus_operation_start(self) -> Global___ResolveNexusOperationStart: """A nexus operation started.""" + @property - def resolve_nexus_operation(self) -> global___ResolveNexusOperation: + def resolve_nexus_operation(self) -> Global___ResolveNexusOperation: """A nexus operation resolved.""" + @property - def remove_from_cache(self) -> global___RemoveFromCache: + def remove_from_cache(self) -> Global___RemoveFromCache: """Remove the workflow identified by the [WorkflowActivation] containing this job from the cache after performing the activation. It is guaranteed that this will be the only job in the activation if present. """ + def __init__( self, *, - initialize_workflow: global___InitializeWorkflow | None = ..., - fire_timer: global___FireTimer | None = ..., - update_random_seed: global___UpdateRandomSeed | None = ..., - query_workflow: global___QueryWorkflow | None = ..., - cancel_workflow: global___CancelWorkflow | None = ..., - signal_workflow: global___SignalWorkflow | None = ..., - resolve_activity: global___ResolveActivity | None = ..., - notify_has_patch: global___NotifyHasPatch | None = ..., - resolve_child_workflow_execution_start: global___ResolveChildWorkflowExecutionStart + initialize_workflow: Global___InitializeWorkflow | None = ..., + fire_timer: Global___FireTimer | None = ..., + update_random_seed: Global___UpdateRandomSeed | None = ..., + query_workflow: Global___QueryWorkflow | None = ..., + cancel_workflow: Global___CancelWorkflow | None = ..., + signal_workflow: Global___SignalWorkflow | None = ..., + resolve_activity: Global___ResolveActivity | None = ..., + notify_has_patch: Global___NotifyHasPatch | None = ..., + resolve_child_workflow_execution_start: Global___ResolveChildWorkflowExecutionStart | None = ..., - resolve_child_workflow_execution: global___ResolveChildWorkflowExecution + resolve_child_workflow_execution: Global___ResolveChildWorkflowExecution | None = ..., - resolve_signal_external_workflow: global___ResolveSignalExternalWorkflow + resolve_signal_external_workflow: Global___ResolveSignalExternalWorkflow | None = ..., - resolve_request_cancel_external_workflow: global___ResolveRequestCancelExternalWorkflow + resolve_request_cancel_external_workflow: Global___ResolveRequestCancelExternalWorkflow | None = ..., - do_update: global___DoUpdate | None = ..., - resolve_nexus_operation_start: global___ResolveNexusOperationStart | None = ..., - resolve_nexus_operation: global___ResolveNexusOperation | None = ..., - remove_from_cache: global___RemoveFromCache | None = ..., + do_update: Global___DoUpdate | None = ..., + resolve_nexus_operation_start: Global___ResolveNexusOperationStart | None = ..., + resolve_nexus_operation: Global___ResolveNexusOperation | None = ..., + remove_from_cache: Global___RemoveFromCache | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_workflow", b"cancel_workflow", "do_update", @@ -365,7 +388,7 @@ class WorkflowActivationJob(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_workflow", b"cancel_workflow", "do_update", @@ -403,9 +426,9 @@ class WorkflowActivationJob(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] + self, oneof_group: typing.Literal["variant", b"variant"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "initialize_workflow", "fire_timer", "update_random_seed", @@ -426,13 +449,15 @@ class WorkflowActivationJob(google.protobuf.message.Message): | None ): ... -global___WorkflowActivationJob = WorkflowActivationJob +Global___WorkflowActivationJob: typing_extensions.TypeAlias = WorkflowActivationJob +@typing.final class InitializeWorkflow(google.protobuf.message.Message): """Initialize a new workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -448,11 +473,10 @@ class InitializeWorkflow(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int @@ -484,6 +508,26 @@ class InitializeWorkflow(google.protobuf.message.Message): """The identifier the lang-specific sdk uses to execute workflow code""" workflow_id: builtins.str """The workflow id used on the temporal server""" + randomness_seed: builtins.int + """The seed must be used to initialize the random generator used by SDK. + RandomSeedUpdatedAttributes are used to deliver seed updates. + """ + identity: builtins.str + """Identity of the client who requested this execution""" + continued_from_execution_run_id: builtins.str + """Run id of the previous workflow which continued-as-new or retired or cron executed into this + workflow, if any. + """ + continued_initiator: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + ) + """If this workflow was a continuation, indicates the type of continuation.""" + first_execution_run_id: builtins.str + """This is the very first run id the workflow ever had, following continuation chains.""" + attempt: builtins.int + """Starting at 1, the number of times we have tried to execute this workflow""" + cron_schedule: builtins.str + """If this workflow runs on a cron schedule, it will appear here""" @property def arguments( self, @@ -491,10 +535,7 @@ class InitializeWorkflow(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Inputs to the workflow code""" - randomness_seed: builtins.int - """The seed must be used to initialize the random generator used by SDK. - RandomSeedUpdatedAttributes are used to deliver seed updates. - """ + @property def headers( self, @@ -502,45 +543,37 @@ class InitializeWorkflow(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.""" - identity: builtins.str - """Identity of the client who requested this execution""" + @property def parent_workflow_info( self, ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """If this workflow is a child, information about the parent""" + @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" + @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - continued_from_execution_run_id: builtins.str - """Run id of the previous workflow which continued-as-new or retired or cron executed into this - workflow, if any. - """ - continued_initiator: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType - ) - """If this workflow was a continuation, indicates the type of continuation.""" + @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """If this workflow was a continuation and that continuation failed, the details of that.""" + @property def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """If this workflow was a continuation and that continuation completed, the details of that.""" - first_execution_run_id: builtins.str - """This is the very first run id the workflow ever had, following continuation chains.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """This workflow's retry policy""" - attempt: builtins.int - """Starting at 1, the number of times we have tried to execute this workflow""" - cron_schedule: builtins.str - """If this workflow runs on a cron schedule, it will appear here""" + @property def workflow_execution_expiration_time( self, @@ -548,6 +581,7 @@ class InitializeWorkflow(google.protobuf.message.Message): """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ + @property def cron_schedule_to_schedule_interval( self, @@ -555,17 +589,21 @@ class InitializeWorkflow(google.protobuf.message.Message): """For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule. """ + @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """User-defined memo""" + @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes created/updated when this workflow was started""" + @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the workflow execution started event was first written""" + @property def root_workflow(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about the root workflow execution. It is possible for the namespace to @@ -579,9 +617,11 @@ class InitializeWorkflow(google.protobuf.message.Message): See field in WorkflowExecutionStarted for more detail. """ + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority of this workflow execution""" + def __init__( self, *, @@ -625,7 +665,7 @@ class InitializeWorkflow(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "continued_failure", b"continued_failure", "cron_schedule_to_schedule_interval", @@ -658,7 +698,7 @@ class InitializeWorkflow(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "arguments", b"arguments", "attempt", @@ -712,8 +752,9 @@ class InitializeWorkflow(google.protobuf.message.Message): ], ) -> None: ... -global___InitializeWorkflow = InitializeWorkflow +Global___InitializeWorkflow: typing_extensions.TypeAlias = InitializeWorkflow +@typing.final class FireTimer(google.protobuf.message.Message): """Notify a workflow that a timer has fired""" @@ -727,12 +768,11 @@ class FireTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... -global___FireTimer = FireTimer +Global___FireTimer: typing_extensions.TypeAlias = FireTimer +@typing.final class ResolveActivity(google.protobuf.message.Message): """Notify a workflow that an activity has been resolved""" @@ -743,16 +783,16 @@ class ResolveActivity(google.protobuf.message.Message): IS_LOCAL_FIELD_NUMBER: builtins.int seq: builtins.int """Sequence number as provided by lang in the corresponding ScheduleActivity command""" + is_local: builtins.bool + """Set to true if the resolution is for a local activity. This is used internally by Core and + lang does not need to care about it. + """ @property def result( self, ) -> ( temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution ): ... - is_local: builtins.bool - """Set to true if the resolution is for a local activity. This is used internally by Core and - lang does not need to care about it. - """ def __init__( self, *, @@ -762,17 +802,18 @@ class ResolveActivity(google.protobuf.message.Message): is_local: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "is_local", b"is_local", "result", b"result", "seq", b"seq" ], ) -> None: ... -global___ResolveActivity = ResolveActivity +Global___ResolveActivity: typing_extensions.TypeAlias = ResolveActivity +@typing.final class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): """Notify a workflow that a start child workflow execution request has succeeded, failed or was cancelled. @@ -787,22 +828,22 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command""" @property - def succeeded(self) -> global___ResolveChildWorkflowExecutionStartSuccess: ... + def succeeded(self) -> Global___ResolveChildWorkflowExecutionStartSuccess: ... @property - def failed(self) -> global___ResolveChildWorkflowExecutionStartFailure: ... + def failed(self) -> Global___ResolveChildWorkflowExecutionStartFailure: ... @property - def cancelled(self) -> global___ResolveChildWorkflowExecutionStartCancelled: ... + def cancelled(self) -> Global___ResolveChildWorkflowExecutionStartCancelled: ... def __init__( self, *, seq: builtins.int = ..., - succeeded: global___ResolveChildWorkflowExecutionStartSuccess | None = ..., - failed: global___ResolveChildWorkflowExecutionStartFailure | None = ..., - cancelled: global___ResolveChildWorkflowExecutionStartCancelled | None = ..., + succeeded: Global___ResolveChildWorkflowExecutionStartSuccess | None = ..., + failed: Global___ResolveChildWorkflowExecutionStartFailure | None = ..., + cancelled: Global___ResolveChildWorkflowExecutionStartCancelled | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "failed", @@ -815,7 +856,7 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancelled", b"cancelled", "failed", @@ -829,11 +870,14 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> typing_extensions.Literal["succeeded", "failed", "cancelled"] | None: ... + self, oneof_group: typing.Literal["status", b"status"] + ) -> typing.Literal["succeeded", "failed", "cancelled"] | None: ... -global___ResolveChildWorkflowExecutionStart = ResolveChildWorkflowExecutionStart +Global___ResolveChildWorkflowExecutionStart: typing_extensions.TypeAlias = ( + ResolveChildWorkflowExecutionStart +) +@typing.final class ResolveChildWorkflowExecutionStartSuccess(google.protobuf.message.Message): """Simply pass the run_id to lang""" @@ -846,14 +890,13 @@ class ResolveChildWorkflowExecutionStartSuccess(google.protobuf.message.Message) *, run_id: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["run_id", b"run_id"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["run_id", b"run_id"]) -> None: ... -global___ResolveChildWorkflowExecutionStartSuccess = ( +Global___ResolveChildWorkflowExecutionStartSuccess: typing_extensions.TypeAlias = ( ResolveChildWorkflowExecutionStartSuccess ) +@typing.final class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message): """Provide lang the cause of failure""" @@ -877,7 +920,7 @@ class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message) ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cause", b"cause", "workflow_id", @@ -887,10 +930,11 @@ class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message) ], ) -> None: ... -global___ResolveChildWorkflowExecutionStartFailure = ( +Global___ResolveChildWorkflowExecutionStartFailure: typing_extensions.TypeAlias = ( ResolveChildWorkflowExecutionStartFailure ) +@typing.final class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Message): """`failure` should be ChildWorkflowFailure with cause set to CancelledFailure. The failure is constructed in core for lang's convenience. @@ -907,16 +951,15 @@ class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Messag failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___ResolveChildWorkflowExecutionStartCancelled = ( +Global___ResolveChildWorkflowExecutionStartCancelled: typing_extensions.TypeAlias = ( ResolveChildWorkflowExecutionStartCancelled ) +@typing.final class ResolveChildWorkflowExecution(google.protobuf.message.Message): """Notify a workflow that a child workflow execution has been resolved""" @@ -940,14 +983,17 @@ class ResolveChildWorkflowExecution(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] + self, field_name: typing.Literal["result", b"result", "seq", b"seq"] ) -> None: ... -global___ResolveChildWorkflowExecution = ResolveChildWorkflowExecution +Global___ResolveChildWorkflowExecution: typing_extensions.TypeAlias = ( + ResolveChildWorkflowExecution +) +@typing.final class UpdateRandomSeed(google.protobuf.message.Message): """Update the workflow's random seed""" @@ -961,17 +1007,18 @@ class UpdateRandomSeed(google.protobuf.message.Message): randomness_seed: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["randomness_seed", b"randomness_seed"], + self, field_name: typing.Literal["randomness_seed", b"randomness_seed"] ) -> None: ... -global___UpdateRandomSeed = UpdateRandomSeed +Global___UpdateRandomSeed: typing_extensions.TypeAlias = UpdateRandomSeed +@typing.final class QueryWorkflow(google.protobuf.message.Message): """Query a workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -987,11 +1034,10 @@ class QueryWorkflow(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... QUERY_ID_FIELD_NUMBER: builtins.int @@ -1018,6 +1064,7 @@ class QueryWorkflow(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers attached to the query""" + def __init__( self, *, @@ -1034,7 +1081,7 @@ class QueryWorkflow(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "arguments", b"arguments", "headers", @@ -1046,8 +1093,9 @@ class QueryWorkflow(google.protobuf.message.Message): ], ) -> None: ... -global___QueryWorkflow = QueryWorkflow +Global___QueryWorkflow: typing_extensions.TypeAlias = QueryWorkflow +@typing.final class CancelWorkflow(google.protobuf.message.Message): """Cancel a running workflow""" @@ -1061,17 +1109,17 @@ class CancelWorkflow(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["reason", b"reason"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["reason", b"reason"]) -> None: ... -global___CancelWorkflow = CancelWorkflow +Global___CancelWorkflow: typing_extensions.TypeAlias = CancelWorkflow +@typing.final class SignalWorkflow(google.protobuf.message.Message): """Send a signal to a workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1087,11 +1135,10 @@ class SignalWorkflow(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SIGNAL_NAME_FIELD_NUMBER: builtins.int @@ -1099,14 +1146,14 @@ class SignalWorkflow(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int HEADERS_FIELD_NUMBER: builtins.int signal_name: builtins.str + identity: builtins.str + """Identity of the sender of the signal""" @property def input( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... - identity: builtins.str - """Identity of the sender of the signal""" @property def headers( self, @@ -1114,6 +1161,7 @@ class SignalWorkflow(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers attached to the signal""" + def __init__( self, *, @@ -1128,7 +1176,7 @@ class SignalWorkflow(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "headers", b"headers", "identity", @@ -1140,8 +1188,9 @@ class SignalWorkflow(google.protobuf.message.Message): ], ) -> None: ... -global___SignalWorkflow = SignalWorkflow +Global___SignalWorkflow: typing_extensions.TypeAlias = SignalWorkflow +@typing.final class NotifyHasPatch(google.protobuf.message.Message): """Inform lang what the result of a call to `patched` or similar API should be -- this is always sent pre-emptively, so any time it is sent the change is present @@ -1157,11 +1206,12 @@ class NotifyHasPatch(google.protobuf.message.Message): patch_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["patch_id", b"patch_id"] + self, field_name: typing.Literal["patch_id", b"patch_id"] ) -> None: ... -global___NotifyHasPatch = NotifyHasPatch +Global___NotifyHasPatch: typing_extensions.TypeAlias = NotifyHasPatch +@typing.final class ResolveSignalExternalWorkflow(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1176,6 +1226,7 @@ class ResolveSignalExternalWorkflow(google.protobuf.message.Message): """If populated, this signal either failed to be sent or was cancelled depending on failure type / info. """ + def __init__( self, *, @@ -1183,15 +1234,17 @@ class ResolveSignalExternalWorkflow(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], + self, field_name: typing.Literal["failure", b"failure", "seq", b"seq"] ) -> None: ... -global___ResolveSignalExternalWorkflow = ResolveSignalExternalWorkflow +Global___ResolveSignalExternalWorkflow: typing_extensions.TypeAlias = ( + ResolveSignalExternalWorkflow +) +@typing.final class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1206,6 +1259,7 @@ class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): """If populated, this signal either failed to be sent or was cancelled depending on failure type / info. """ + def __init__( self, *, @@ -1213,15 +1267,17 @@ class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], + self, field_name: typing.Literal["failure", b"failure", "seq", b"seq"] ) -> None: ... -global___ResolveRequestCancelExternalWorkflow = ResolveRequestCancelExternalWorkflow +Global___ResolveRequestCancelExternalWorkflow: typing_extensions.TypeAlias = ( + ResolveRequestCancelExternalWorkflow +) +@typing.final class DoUpdate(google.protobuf.message.Message): """Lang is requested to invoke an update handler on the workflow. Lang should invoke the update validator first (if requested). If it accepts the update, immediately invoke the update handler. @@ -1230,6 +1286,7 @@ class DoUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1245,11 +1302,10 @@ class DoUpdate(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ID_FIELD_NUMBER: builtins.int @@ -1267,6 +1323,10 @@ class DoUpdate(google.protobuf.message.Message): """ name: builtins.str """The name of the update handler""" + run_validator: builtins.bool + """If set true, lang must run the update's validator before running the handler. This will be + set false during replay, since validation is not re-run during replay. + """ @property def input( self, @@ -1274,6 +1334,7 @@ class DoUpdate(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """The input to the update""" + @property def headers( self, @@ -1281,15 +1342,13 @@ class DoUpdate(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers attached to the update""" + @property def meta(self) -> temporalio.api.update.v1.message_pb2.Meta: """Remaining metadata associated with the update. The `update_id` field is stripped from here and moved to `id`, since it is guaranteed to be present. """ - run_validator: builtins.bool - """If set true, lang must run the update's validator before running the handler. This will be - set false during replay, since validation is not re-run during replay. - """ + def __init__( self, *, @@ -1306,11 +1365,11 @@ class DoUpdate(google.protobuf.message.Message): run_validator: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["meta", b"meta"] + self, field_name: typing.Literal["meta", b"meta"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "headers", b"headers", "id", @@ -1328,8 +1387,9 @@ class DoUpdate(google.protobuf.message.Message): ], ) -> None: ... -global___DoUpdate = DoUpdate +Global___DoUpdate: typing_extensions.TypeAlias = DoUpdate +@typing.final class ResolveNexusOperationStart(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1354,6 +1414,7 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): failed synchronously. Details are included inside the message. In this case, the subsequent ResolveNexusOperation will never be sent. """ + def __init__( self, *, @@ -1364,7 +1425,7 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failed", b"failed", "operation_token", @@ -1377,7 +1438,7 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failed", b"failed", "operation_token", @@ -1391,13 +1452,14 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> ( - typing_extensions.Literal["operation_token", "started_sync", "failed"] | None - ): ... + self, oneof_group: typing.Literal["status", b"status"] + ) -> typing.Literal["operation_token", "started_sync", "failed"] | None: ... -global___ResolveNexusOperationStart = ResolveNexusOperationStart +Global___ResolveNexusOperationStart: typing_extensions.TypeAlias = ( + ResolveNexusOperationStart +) +@typing.final class ResolveNexusOperation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1417,14 +1479,15 @@ class ResolveNexusOperation(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] + self, field_name: typing.Literal["result", b"result", "seq", b"seq"] ) -> None: ... -global___ResolveNexusOperation = ResolveNexusOperation +Global___ResolveNexusOperation: typing_extensions.TypeAlias = ResolveNexusOperation +@typing.final class RemoveFromCache(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1437,7 +1500,7 @@ class RemoveFromCache(google.protobuf.message.Message): RemoveFromCache._EvictionReason.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: RemoveFromCache._EvictionReason.ValueType # 0 CACHE_FULL: RemoveFromCache._EvictionReason.ValueType # 1 @@ -1507,18 +1570,15 @@ class RemoveFromCache(google.protobuf.message.Message): MESSAGE_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int message: builtins.str - reason: global___RemoveFromCache.EvictionReason.ValueType + reason: Global___RemoveFromCache.EvictionReason.ValueType def __init__( self, *, message: builtins.str = ..., - reason: global___RemoveFromCache.EvictionReason.ValueType = ..., + reason: Global___RemoveFromCache.EvictionReason.ValueType = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "message", b"message", "reason", b"reason" - ], + self, field_name: typing.Literal["message", b"message", "reason", b"reason"] ) -> None: ... -global___RemoveFromCache = RemoveFromCache +Global___RemoveFromCache: typing_extensions.TypeAlias = RemoveFromCache diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py index a82430744..6ee79dfdc 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py @@ -1,15 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/workflow_commands/workflow_commands.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/workflow_commands/workflow_commands.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -45,506 +54,102 @@ b'\n;temporal/sdk/core/workflow_commands/workflow_commands.proto\x12\x19\x63oresdk.workflow_commands\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a#temporal/sdk/core/nexus/nexus.proto\x1a%temporal/sdk/core/common/common.proto"\xe5\x0f\n\x0fWorkflowCommand\x12\x38\n\ruser_metadata\x18\x64 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12<\n\x0bstart_timer\x18\x01 \x01(\x0b\x32%.coresdk.workflow_commands.StartTimerH\x00\x12H\n\x11schedule_activity\x18\x02 \x01(\x0b\x32+.coresdk.workflow_commands.ScheduleActivityH\x00\x12\x42\n\x10respond_to_query\x18\x03 \x01(\x0b\x32&.coresdk.workflow_commands.QueryResultH\x00\x12S\n\x17request_cancel_activity\x18\x04 \x01(\x0b\x32\x30.coresdk.workflow_commands.RequestCancelActivityH\x00\x12>\n\x0c\x63\x61ncel_timer\x18\x05 \x01(\x0b\x32&.coresdk.workflow_commands.CancelTimerH\x00\x12[\n\x1b\x63omplete_workflow_execution\x18\x06 \x01(\x0b\x32\x34.coresdk.workflow_commands.CompleteWorkflowExecutionH\x00\x12S\n\x17\x66\x61il_workflow_execution\x18\x07 \x01(\x0b\x32\x30.coresdk.workflow_commands.FailWorkflowExecutionH\x00\x12g\n"continue_as_new_workflow_execution\x18\x08 \x01(\x0b\x32\x39.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\x00\x12W\n\x19\x63\x61ncel_workflow_execution\x18\t \x01(\x0b\x32\x32.coresdk.workflow_commands.CancelWorkflowExecutionH\x00\x12\x45\n\x10set_patch_marker\x18\n \x01(\x0b\x32).coresdk.workflow_commands.SetPatchMarkerH\x00\x12`\n\x1estart_child_workflow_execution\x18\x0b \x01(\x0b\x32\x36.coresdk.workflow_commands.StartChildWorkflowExecutionH\x00\x12\x62\n\x1f\x63\x61ncel_child_workflow_execution\x18\x0c \x01(\x0b\x32\x37.coresdk.workflow_commands.CancelChildWorkflowExecutionH\x00\x12w\n*request_cancel_external_workflow_execution\x18\r \x01(\x0b\x32\x41.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\x00\x12h\n"signal_external_workflow_execution\x18\x0e \x01(\x0b\x32:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\x00\x12Q\n\x16\x63\x61ncel_signal_workflow\x18\x0f \x01(\x0b\x32/.coresdk.workflow_commands.CancelSignalWorkflowH\x00\x12S\n\x17schedule_local_activity\x18\x10 \x01(\x0b\x32\x30.coresdk.workflow_commands.ScheduleLocalActivityH\x00\x12^\n\x1drequest_cancel_local_activity\x18\x11 \x01(\x0b\x32\x35.coresdk.workflow_commands.RequestCancelLocalActivityH\x00\x12\x66\n!upsert_workflow_search_attributes\x18\x12 \x01(\x0b\x32\x39.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\x00\x12Y\n\x1amodify_workflow_properties\x18\x13 \x01(\x0b\x32\x33.coresdk.workflow_commands.ModifyWorkflowPropertiesH\x00\x12\x44\n\x0fupdate_response\x18\x14 \x01(\x0b\x32).coresdk.workflow_commands.UpdateResponseH\x00\x12U\n\x18schedule_nexus_operation\x18\x15 \x01(\x0b\x32\x31.coresdk.workflow_commands.ScheduleNexusOperationH\x00\x12`\n\x1erequest_cancel_nexus_operation\x18\x16 \x01(\x0b\x32\x36.coresdk.workflow_commands.RequestCancelNexusOperationH\x00\x42\t\n\x07variant"S\n\nStartTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\x1a\n\x0b\x43\x61ncelTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"\xb8\x06\n\x10ScheduleActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12I\n\x07headers\x18\x06 \x03(\x0b\x32\x38.coresdk.workflow_commands.ScheduleActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x12\x1e\n\x16\x64o_not_eagerly_execute\x18\x0e \x01(\x08\x12;\n\x11versioning_intent\x18\x0f \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\xee\x05\n\x15ScheduleLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\r\x12:\n\x16original_schedule_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x07headers\x18\x06 \x03(\x0b\x32=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x38\n\x15local_retry_threshold\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"$\n\x15RequestCancelActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r")\n\x1aRequestCancelLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r"\x9c\x01\n\x0bQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12<\n\tsucceeded\x18\x02 \x01(\x0b\x32\'.coresdk.workflow_commands.QuerySuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07variant"A\n\x0cQuerySuccess\x12\x31\n\x08response\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"L\n\x19\x43ompleteWorkflowExecution\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"J\n\x15\x46\x61ilWorkflowExecution\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x92\x07\n\x1e\x43ontinueAsNewWorkflowExecution\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Q\n\x04memo\x18\x06 \x03(\x0b\x32\x43.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry\x12W\n\x07headers\x18\x07 \x03(\x0b\x32\x46.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11versioning_intent\x18\n \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12[\n\x1binitial_versioning_behavior\x18\x0b \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x19\n\x17\x43\x61ncelWorkflowExecution"6\n\x0eSetPatchMarker\x12\x10\n\x08patch_id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08"\x96\t\n\x1bStartChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x03 \x01(\t\x12\x15\n\rworkflow_type\x18\x04 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12.\n\x05input\x18\x06 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x13parent_close_policy\x18\n \x01(\x0e\x32).coresdk.child_workflow.ParentClosePolicy\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12T\n\x07headers\x18\x0f \x03(\x0b\x32\x43.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry\x12N\n\x04memo\x18\x10 \x03(\x0b\x32@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12P\n\x11\x63\x61ncellation_type\x18\x12 \x01(\x0e\x32\x35.coresdk.child_workflow.ChildWorkflowCancellationType\x12;\n\x11versioning_intent\x18\x13 \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"J\n\x1c\x43\x61ncelChildWorkflowExecution\x12\x1a\n\x12\x63hild_workflow_seq\x18\x01 \x01(\r\x12\x0e\n\x06reason\x18\x02 \x01(\t"\x8e\x01\n&RequestCancelExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12G\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t"\x8f\x03\n\x1fSignalExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12I\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecutionH\x00\x12\x1b\n\x11\x63hild_workflow_id\x18\x03 \x01(\tH\x00\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12-\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12X\n\x07headers\x18\x06 \x03(\x0b\x32G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x42\x08\n\x06target"#\n\x14\x43\x61ncelSignalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r"e\n\x1eUpsertWorkflowSearchAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"O\n\x18ModifyWorkflowProperties\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xd2\x01\n\x0eUpdateResponse\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12*\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x08rejected\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x34\n\tcompleted\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x42\n\n\x08response"\x9a\x04\n\x16ScheduleNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12.\n\x05input\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12X\n\x0cnexus_header\x18\x07 \x03(\x0b\x32\x42.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry\x12H\n\x11\x63\x61ncellation_type\x18\x08 \x01(\x0e\x32-.coresdk.nexus.NexusOperationCancellationType\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x1bRequestCancelNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r*X\n\x18\x41\x63tivityCancellationType\x12\x0e\n\nTRY_CANCEL\x10\x00\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\x42\x36\xea\x02\x33Temporalio::Internal::Bridge::Api::WorkflowCommandsb\x06proto3' ) -_ACTIVITYCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name["ActivityCancellationType"] -ActivityCancellationType = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELLATIONTYPE) -TRY_CANCEL = 0 -WAIT_CANCELLATION_COMPLETED = 1 -ABANDON = 2 - - -_WORKFLOWCOMMAND = DESCRIPTOR.message_types_by_name["WorkflowCommand"] -_STARTTIMER = DESCRIPTOR.message_types_by_name["StartTimer"] -_CANCELTIMER = DESCRIPTOR.message_types_by_name["CancelTimer"] -_SCHEDULEACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleActivity"] -_SCHEDULEACTIVITY_HEADERSENTRY = _SCHEDULEACTIVITY.nested_types_by_name["HeadersEntry"] -_SCHEDULELOCALACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleLocalActivity"] -_SCHEDULELOCALACTIVITY_HEADERSENTRY = _SCHEDULELOCALACTIVITY.nested_types_by_name[ - "HeadersEntry" -] -_REQUESTCANCELACTIVITY = DESCRIPTOR.message_types_by_name["RequestCancelActivity"] -_REQUESTCANCELLOCALACTIVITY = DESCRIPTOR.message_types_by_name[ - "RequestCancelLocalActivity" -] -_QUERYRESULT = DESCRIPTOR.message_types_by_name["QueryResult"] -_QUERYSUCCESS = DESCRIPTOR.message_types_by_name["QuerySuccess"] -_COMPLETEWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "CompleteWorkflowExecution" -] -_FAILWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["FailWorkflowExecution"] -_CONTINUEASNEWWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "ContinueAsNewWorkflowExecution" -] -_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY = ( - _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] -) -_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY = ( - _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] -) -_CANCELWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["CancelWorkflowExecution"] -_SETPATCHMARKER = DESCRIPTOR.message_types_by_name["SetPatchMarker"] -_STARTCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "StartChildWorkflowExecution" -] -_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY = ( - _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] -) -_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY = ( - _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] -) -_CANCELCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "CancelChildWorkflowExecution" -] -_REQUESTCANCELEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "RequestCancelExternalWorkflowExecution" -] -_SIGNALEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ - "SignalExternalWorkflowExecution" -] -_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY = ( - _SIGNALEXTERNALWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] -) -_CANCELSIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["CancelSignalWorkflow"] -_UPSERTWORKFLOWSEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name[ - "UpsertWorkflowSearchAttributes" -] -_MODIFYWORKFLOWPROPERTIES = DESCRIPTOR.message_types_by_name["ModifyWorkflowProperties"] -_UPDATERESPONSE = DESCRIPTOR.message_types_by_name["UpdateResponse"] -_SCHEDULENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ScheduleNexusOperation"] -_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATION.nested_types_by_name[ - "NexusHeaderEntry" -] -_REQUESTCANCELNEXUSOPERATION = DESCRIPTOR.message_types_by_name[ - "RequestCancelNexusOperation" -] -WorkflowCommand = _reflection.GeneratedProtocolMessageType( - "WorkflowCommand", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWCOMMAND, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.WorkflowCommand) - }, -) -_sym_db.RegisterMessage(WorkflowCommand) - -StartTimer = _reflection.GeneratedProtocolMessageType( - "StartTimer", - (_message.Message,), - { - "DESCRIPTOR": _STARTTIMER, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartTimer) - }, -) -_sym_db.RegisterMessage(StartTimer) - -CancelTimer = _reflection.GeneratedProtocolMessageType( - "CancelTimer", - (_message.Message,), - { - "DESCRIPTOR": _CANCELTIMER, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelTimer) - }, -) -_sym_db.RegisterMessage(CancelTimer) - -ScheduleActivity = _reflection.GeneratedProtocolMessageType( - "ScheduleActivity", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULEACTIVITY_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity.HeadersEntry) - }, - ), - "DESCRIPTOR": _SCHEDULEACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity) - }, -) -_sym_db.RegisterMessage(ScheduleActivity) -_sym_db.RegisterMessage(ScheduleActivity.HeadersEntry) - -ScheduleLocalActivity = _reflection.GeneratedProtocolMessageType( - "ScheduleLocalActivity", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULELOCALACTIVITY_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry) - }, - ), - "DESCRIPTOR": _SCHEDULELOCALACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity) - }, -) -_sym_db.RegisterMessage(ScheduleLocalActivity) -_sym_db.RegisterMessage(ScheduleLocalActivity.HeadersEntry) - -RequestCancelActivity = _reflection.GeneratedProtocolMessageType( - "RequestCancelActivity", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelActivity) - }, -) -_sym_db.RegisterMessage(RequestCancelActivity) - -RequestCancelLocalActivity = _reflection.GeneratedProtocolMessageType( - "RequestCancelLocalActivity", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELLOCALACTIVITY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelLocalActivity) - }, -) -_sym_db.RegisterMessage(RequestCancelLocalActivity) - -QueryResult = _reflection.GeneratedProtocolMessageType( - "QueryResult", - (_message.Message,), - { - "DESCRIPTOR": _QUERYRESULT, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QueryResult) - }, -) -_sym_db.RegisterMessage(QueryResult) - -QuerySuccess = _reflection.GeneratedProtocolMessageType( - "QuerySuccess", - (_message.Message,), - { - "DESCRIPTOR": _QUERYSUCCESS, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QuerySuccess) - }, -) -_sym_db.RegisterMessage(QuerySuccess) - -CompleteWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "CompleteWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CompleteWorkflowExecution) - }, -) -_sym_db.RegisterMessage(CompleteWorkflowExecution) - -FailWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "FailWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _FAILWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.FailWorkflowExecution) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "temporal.sdk.core.workflow_commands.workflow_commands_pb2", _globals ) -_sym_db.RegisterMessage(FailWorkflowExecution) - -ContinueAsNewWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "ContinueAsNewWorkflowExecution", - (_message.Message,), - { - "MemoEntry": _reflection.GeneratedProtocolMessageType( - "MemoEntry", - (_message.Message,), - { - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry) - }, - ), - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry) - }, - ), - "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution) - }, -) -_sym_db.RegisterMessage(ContinueAsNewWorkflowExecution) -_sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.MemoEntry) -_sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.HeadersEntry) - -CancelWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "CancelWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _CANCELWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelWorkflowExecution) - }, -) -_sym_db.RegisterMessage(CancelWorkflowExecution) - -SetPatchMarker = _reflection.GeneratedProtocolMessageType( - "SetPatchMarker", - (_message.Message,), - { - "DESCRIPTOR": _SETPATCHMARKER, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SetPatchMarker) - }, -) -_sym_db.RegisterMessage(SetPatchMarker) - -StartChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "StartChildWorkflowExecution", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry) - }, - ), - "MemoEntry": _reflection.GeneratedProtocolMessageType( - "MemoEntry", - (_message.Message,), - { - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry) - }, - ), - "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution) - }, -) -_sym_db.RegisterMessage(StartChildWorkflowExecution) -_sym_db.RegisterMessage(StartChildWorkflowExecution.HeadersEntry) -_sym_db.RegisterMessage(StartChildWorkflowExecution.MemoEntry) - -CancelChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "CancelChildWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _CANCELCHILDWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelChildWorkflowExecution) - }, -) -_sym_db.RegisterMessage(CancelChildWorkflowExecution) - -RequestCancelExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "RequestCancelExternalWorkflowExecution", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelExternalWorkflowExecution) - }, -) -_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecution) - -SignalExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( - "SignalExternalWorkflowExecution", - (_message.Message,), - { - "HeadersEntry": _reflection.GeneratedProtocolMessageType( - "HeadersEntry", - (_message.Message,), - { - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry) - }, - ), - "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution) - }, -) -_sym_db.RegisterMessage(SignalExternalWorkflowExecution) -_sym_db.RegisterMessage(SignalExternalWorkflowExecution.HeadersEntry) - -CancelSignalWorkflow = _reflection.GeneratedProtocolMessageType( - "CancelSignalWorkflow", - (_message.Message,), - { - "DESCRIPTOR": _CANCELSIGNALWORKFLOW, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelSignalWorkflow) - }, -) -_sym_db.RegisterMessage(CancelSignalWorkflow) - -UpsertWorkflowSearchAttributes = _reflection.GeneratedProtocolMessageType( - "UpsertWorkflowSearchAttributes", - (_message.Message,), - { - "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTES, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes) - }, -) -_sym_db.RegisterMessage(UpsertWorkflowSearchAttributes) - -ModifyWorkflowProperties = _reflection.GeneratedProtocolMessageType( - "ModifyWorkflowProperties", - (_message.Message,), - { - "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIES, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ModifyWorkflowProperties) - }, -) -_sym_db.RegisterMessage(ModifyWorkflowProperties) - -UpdateResponse = _reflection.GeneratedProtocolMessageType( - "UpdateResponse", - (_message.Message,), - { - "DESCRIPTOR": _UPDATERESPONSE, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpdateResponse) - }, -) -_sym_db.RegisterMessage(UpdateResponse) - -ScheduleNexusOperation = _reflection.GeneratedProtocolMessageType( - "ScheduleNexusOperation", - (_message.Message,), - { - "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( - "NexusHeaderEntry", - (_message.Message,), - { - "DESCRIPTOR": _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry) - }, - ), - "DESCRIPTOR": _SCHEDULENEXUSOPERATION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation) - }, -) -_sym_db.RegisterMessage(ScheduleNexusOperation) -_sym_db.RegisterMessage(ScheduleNexusOperation.NexusHeaderEntry) - -RequestCancelNexusOperation = _reflection.GeneratedProtocolMessageType( - "RequestCancelNexusOperation", - (_message.Message,), - { - "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATION, - "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelNexusOperation) - }, -) -_sym_db.RegisterMessage(RequestCancelNexusOperation) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = ( b"\352\0023Temporalio::Internal::Bridge::Api::WorkflowCommands" ) - _SCHEDULEACTIVITY_HEADERSENTRY._options = None - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_options = b"8\001" - _SCHEDULELOCALACTIVITY_HEADERSENTRY._options = None - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_options = b"8\001" - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._options = None - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._options = None - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._options = None - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._options = None - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_options = b"8\001" - _ACTIVITYCANCELLATIONTYPE._serialized_start = 8468 - _ACTIVITYCANCELLATIONTYPE._serialized_end = 8556 - _WORKFLOWCOMMAND._serialized_start = 472 - _WORKFLOWCOMMAND._serialized_end = 2493 - _STARTTIMER._serialized_start = 2495 - _STARTTIMER._serialized_end = 2578 - _CANCELTIMER._serialized_start = 2580 - _CANCELTIMER._serialized_end = 2606 - _SCHEDULEACTIVITY._serialized_start = 2609 - _SCHEDULEACTIVITY._serialized_end = 3433 - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_start = 3354 - _SCHEDULEACTIVITY_HEADERSENTRY._serialized_end = 3433 - _SCHEDULELOCALACTIVITY._serialized_start = 3436 - _SCHEDULELOCALACTIVITY._serialized_end = 4186 - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_start = 3354 - _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_end = 3433 - _REQUESTCANCELACTIVITY._serialized_start = 4188 - _REQUESTCANCELACTIVITY._serialized_end = 4224 - _REQUESTCANCELLOCALACTIVITY._serialized_start = 4226 - _REQUESTCANCELLOCALACTIVITY._serialized_end = 4267 - _QUERYRESULT._serialized_start = 4270 - _QUERYRESULT._serialized_end = 4426 - _QUERYSUCCESS._serialized_start = 4428 - _QUERYSUCCESS._serialized_end = 4493 - _COMPLETEWORKFLOWEXECUTION._serialized_start = 4495 - _COMPLETEWORKFLOWEXECUTION._serialized_end = 4571 - _FAILWORKFLOWEXECUTION._serialized_start = 4573 - _FAILWORKFLOWEXECUTION._serialized_end = 4647 - _CONTINUEASNEWWORKFLOWEXECUTION._serialized_start = 4650 - _CONTINUEASNEWWORKFLOWEXECUTION._serialized_end = 5564 - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5407 - _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5483 - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 - _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 - _CANCELWORKFLOWEXECUTION._serialized_start = 5566 - _CANCELWORKFLOWEXECUTION._serialized_end = 5591 - _SETPATCHMARKER._serialized_start = 5593 - _SETPATCHMARKER._serialized_end = 5647 - _STARTCHILDWORKFLOWEXECUTION._serialized_start = 5650 - _STARTCHILDWORKFLOWEXECUTION._serialized_end = 6824 - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 - _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5407 - _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5483 - _CANCELCHILDWORKFLOWEXECUTION._serialized_start = 6826 - _CANCELCHILDWORKFLOWEXECUTION._serialized_end = 6900 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_start = 6903 - _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_end = 7045 - _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_start = 7048 - _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_end = 7447 - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 - _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 - _CANCELSIGNALWORKFLOW._serialized_start = 7449 - _CANCELSIGNALWORKFLOW._serialized_end = 7484 - _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_start = 7486 - _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_end = 7587 - _MODIFYWORKFLOWPROPERTIES._serialized_start = 7589 - _MODIFYWORKFLOWPROPERTIES._serialized_end = 7668 - _UPDATERESPONSE._serialized_start = 7671 - _UPDATERESPONSE._serialized_end = 7881 - _SCHEDULENEXUSOPERATION._serialized_start = 7884 - _SCHEDULENEXUSOPERATION._serialized_end = 8422 - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_start = 8372 - _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_end = 8422 - _REQUESTCANCELNEXUSOPERATION._serialized_start = 8424 - _REQUESTCANCELNEXUSOPERATION._serialized_end = 8466 + _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._loaded_options = None + _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._loaded_options = None + _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._loaded_options = None + _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._serialized_options = b"8\001" + _globals["_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY"]._loaded_options = None + _globals[ + "_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY" + ]._serialized_options = b"8\001" + _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._loaded_options = None + _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_options = b"8\001" + _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._loaded_options = None + _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._serialized_options = b"8\001" + _globals["_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY"]._loaded_options = None + _globals[ + "_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY" + ]._serialized_options = b"8\001" + _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._loaded_options = None + _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._serialized_options = b"8\001" + _globals["_ACTIVITYCANCELLATIONTYPE"]._serialized_start = 8468 + _globals["_ACTIVITYCANCELLATIONTYPE"]._serialized_end = 8556 + _globals["_WORKFLOWCOMMAND"]._serialized_start = 472 + _globals["_WORKFLOWCOMMAND"]._serialized_end = 2493 + _globals["_STARTTIMER"]._serialized_start = 2495 + _globals["_STARTTIMER"]._serialized_end = 2578 + _globals["_CANCELTIMER"]._serialized_start = 2580 + _globals["_CANCELTIMER"]._serialized_end = 2606 + _globals["_SCHEDULEACTIVITY"]._serialized_start = 2609 + _globals["_SCHEDULEACTIVITY"]._serialized_end = 3433 + _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._serialized_start = 3354 + _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._serialized_end = 3433 + _globals["_SCHEDULELOCALACTIVITY"]._serialized_start = 3436 + _globals["_SCHEDULELOCALACTIVITY"]._serialized_end = 4186 + _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._serialized_start = 3354 + _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._serialized_end = 3433 + _globals["_REQUESTCANCELACTIVITY"]._serialized_start = 4188 + _globals["_REQUESTCANCELACTIVITY"]._serialized_end = 4224 + _globals["_REQUESTCANCELLOCALACTIVITY"]._serialized_start = 4226 + _globals["_REQUESTCANCELLOCALACTIVITY"]._serialized_end = 4267 + _globals["_QUERYRESULT"]._serialized_start = 4270 + _globals["_QUERYRESULT"]._serialized_end = 4426 + _globals["_QUERYSUCCESS"]._serialized_start = 4428 + _globals["_QUERYSUCCESS"]._serialized_end = 4493 + _globals["_COMPLETEWORKFLOWEXECUTION"]._serialized_start = 4495 + _globals["_COMPLETEWORKFLOWEXECUTION"]._serialized_end = 4571 + _globals["_FAILWORKFLOWEXECUTION"]._serialized_start = 4573 + _globals["_FAILWORKFLOWEXECUTION"]._serialized_end = 4647 + _globals["_CONTINUEASNEWWORKFLOWEXECUTION"]._serialized_start = 4650 + _globals["_CONTINUEASNEWWORKFLOWEXECUTION"]._serialized_end = 5564 + _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._serialized_start = 5407 + _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._serialized_end = 5483 + _globals["_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_start = 3354 + _globals["_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_end = 3433 + _globals["_CANCELWORKFLOWEXECUTION"]._serialized_start = 5566 + _globals["_CANCELWORKFLOWEXECUTION"]._serialized_end = 5591 + _globals["_SETPATCHMARKER"]._serialized_start = 5593 + _globals["_SETPATCHMARKER"]._serialized_end = 5647 + _globals["_STARTCHILDWORKFLOWEXECUTION"]._serialized_start = 5650 + _globals["_STARTCHILDWORKFLOWEXECUTION"]._serialized_end = 6824 + _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_start = 3354 + _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_end = 3433 + _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._serialized_start = 5407 + _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._serialized_end = 5483 + _globals["_CANCELCHILDWORKFLOWEXECUTION"]._serialized_start = 6826 + _globals["_CANCELCHILDWORKFLOWEXECUTION"]._serialized_end = 6900 + _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTION"]._serialized_start = 6903 + _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTION"]._serialized_end = 7045 + _globals["_SIGNALEXTERNALWORKFLOWEXECUTION"]._serialized_start = 7048 + _globals["_SIGNALEXTERNALWORKFLOWEXECUTION"]._serialized_end = 7447 + _globals["_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_start = 3354 + _globals["_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_end = 3433 + _globals["_CANCELSIGNALWORKFLOW"]._serialized_start = 7449 + _globals["_CANCELSIGNALWORKFLOW"]._serialized_end = 7484 + _globals["_UPSERTWORKFLOWSEARCHATTRIBUTES"]._serialized_start = 7486 + _globals["_UPSERTWORKFLOWSEARCHATTRIBUTES"]._serialized_end = 7587 + _globals["_MODIFYWORKFLOWPROPERTIES"]._serialized_start = 7589 + _globals["_MODIFYWORKFLOWPROPERTIES"]._serialized_end = 7668 + _globals["_UPDATERESPONSE"]._serialized_start = 7671 + _globals["_UPDATERESPONSE"]._serialized_end = 7881 + _globals["_SCHEDULENEXUSOPERATION"]._serialized_start = 7884 + _globals["_SCHEDULENEXUSOPERATION"]._serialized_end = 8422 + _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._serialized_start = 8372 + _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._serialized_end = 8422 + _globals["_REQUESTCANCELNEXUSOPERATION"]._serialized_start = 8424 + _globals["_REQUESTCANCELNEXUSOPERATION"]._serialized_end = 8466 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi index 3860809b9..5c33943e9 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi @@ -44,7 +44,7 @@ class _ActivityCancellationTypeEnumTypeWrapper( _ActivityCancellationType.ValueType ], builtins.type, -): # noqa: F821 +): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TRY_CANCEL: _ActivityCancellationType.ValueType # 0 """Initiate a cancellation request and immediately report cancellation to the workflow.""" @@ -73,8 +73,11 @@ ABANDON: ActivityCancellationType.ValueType # 2 """Do not request cancellation of the activity and immediately report cancellation to the workflow """ -global___ActivityCancellationType = ActivityCancellationType +Global___ActivityCancellationType: typing_extensions.TypeAlias = ( + ActivityCancellationType +) +@typing.final class WorkflowCommand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -107,102 +110,103 @@ class WorkflowCommand(google.protobuf.message.Message): Lang layers are expected to expose the setting of the internals of this metadata on a per-command basis where applicable. """ + @property - def start_timer(self) -> global___StartTimer: ... + def start_timer(self) -> Global___StartTimer: ... @property - def schedule_activity(self) -> global___ScheduleActivity: ... + def schedule_activity(self) -> Global___ScheduleActivity: ... @property - def respond_to_query(self) -> global___QueryResult: ... + def respond_to_query(self) -> Global___QueryResult: ... @property - def request_cancel_activity(self) -> global___RequestCancelActivity: ... + def request_cancel_activity(self) -> Global___RequestCancelActivity: ... @property - def cancel_timer(self) -> global___CancelTimer: ... + def cancel_timer(self) -> Global___CancelTimer: ... @property - def complete_workflow_execution(self) -> global___CompleteWorkflowExecution: ... + def complete_workflow_execution(self) -> Global___CompleteWorkflowExecution: ... @property - def fail_workflow_execution(self) -> global___FailWorkflowExecution: ... + def fail_workflow_execution(self) -> Global___FailWorkflowExecution: ... @property def continue_as_new_workflow_execution( self, - ) -> global___ContinueAsNewWorkflowExecution: ... + ) -> Global___ContinueAsNewWorkflowExecution: ... @property - def cancel_workflow_execution(self) -> global___CancelWorkflowExecution: ... + def cancel_workflow_execution(self) -> Global___CancelWorkflowExecution: ... @property - def set_patch_marker(self) -> global___SetPatchMarker: ... + def set_patch_marker(self) -> Global___SetPatchMarker: ... @property def start_child_workflow_execution( self, - ) -> global___StartChildWorkflowExecution: ... + ) -> Global___StartChildWorkflowExecution: ... @property def cancel_child_workflow_execution( self, - ) -> global___CancelChildWorkflowExecution: ... + ) -> Global___CancelChildWorkflowExecution: ... @property def request_cancel_external_workflow_execution( self, - ) -> global___RequestCancelExternalWorkflowExecution: ... + ) -> Global___RequestCancelExternalWorkflowExecution: ... @property def signal_external_workflow_execution( self, - ) -> global___SignalExternalWorkflowExecution: ... + ) -> Global___SignalExternalWorkflowExecution: ... @property - def cancel_signal_workflow(self) -> global___CancelSignalWorkflow: ... + def cancel_signal_workflow(self) -> Global___CancelSignalWorkflow: ... @property - def schedule_local_activity(self) -> global___ScheduleLocalActivity: ... + def schedule_local_activity(self) -> Global___ScheduleLocalActivity: ... @property - def request_cancel_local_activity(self) -> global___RequestCancelLocalActivity: ... + def request_cancel_local_activity(self) -> Global___RequestCancelLocalActivity: ... @property def upsert_workflow_search_attributes( self, - ) -> global___UpsertWorkflowSearchAttributes: ... + ) -> Global___UpsertWorkflowSearchAttributes: ... @property - def modify_workflow_properties(self) -> global___ModifyWorkflowProperties: ... + def modify_workflow_properties(self) -> Global___ModifyWorkflowProperties: ... @property - def update_response(self) -> global___UpdateResponse: ... + def update_response(self) -> Global___UpdateResponse: ... @property - def schedule_nexus_operation(self) -> global___ScheduleNexusOperation: ... + def schedule_nexus_operation(self) -> Global___ScheduleNexusOperation: ... @property def request_cancel_nexus_operation( self, - ) -> global___RequestCancelNexusOperation: ... + ) -> Global___RequestCancelNexusOperation: ... def __init__( self, *, user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - start_timer: global___StartTimer | None = ..., - schedule_activity: global___ScheduleActivity | None = ..., - respond_to_query: global___QueryResult | None = ..., - request_cancel_activity: global___RequestCancelActivity | None = ..., - cancel_timer: global___CancelTimer | None = ..., - complete_workflow_execution: global___CompleteWorkflowExecution | None = ..., - fail_workflow_execution: global___FailWorkflowExecution | None = ..., - continue_as_new_workflow_execution: global___ContinueAsNewWorkflowExecution + start_timer: Global___StartTimer | None = ..., + schedule_activity: Global___ScheduleActivity | None = ..., + respond_to_query: Global___QueryResult | None = ..., + request_cancel_activity: Global___RequestCancelActivity | None = ..., + cancel_timer: Global___CancelTimer | None = ..., + complete_workflow_execution: Global___CompleteWorkflowExecution | None = ..., + fail_workflow_execution: Global___FailWorkflowExecution | None = ..., + continue_as_new_workflow_execution: Global___ContinueAsNewWorkflowExecution | None = ..., - cancel_workflow_execution: global___CancelWorkflowExecution | None = ..., - set_patch_marker: global___SetPatchMarker | None = ..., - start_child_workflow_execution: global___StartChildWorkflowExecution + cancel_workflow_execution: Global___CancelWorkflowExecution | None = ..., + set_patch_marker: Global___SetPatchMarker | None = ..., + start_child_workflow_execution: Global___StartChildWorkflowExecution | None = ..., - cancel_child_workflow_execution: global___CancelChildWorkflowExecution + cancel_child_workflow_execution: Global___CancelChildWorkflowExecution | None = ..., - request_cancel_external_workflow_execution: global___RequestCancelExternalWorkflowExecution + request_cancel_external_workflow_execution: Global___RequestCancelExternalWorkflowExecution | None = ..., - signal_external_workflow_execution: global___SignalExternalWorkflowExecution + signal_external_workflow_execution: Global___SignalExternalWorkflowExecution | None = ..., - cancel_signal_workflow: global___CancelSignalWorkflow | None = ..., - schedule_local_activity: global___ScheduleLocalActivity | None = ..., - request_cancel_local_activity: global___RequestCancelLocalActivity | None = ..., - upsert_workflow_search_attributes: global___UpsertWorkflowSearchAttributes + cancel_signal_workflow: Global___CancelSignalWorkflow | None = ..., + schedule_local_activity: Global___ScheduleLocalActivity | None = ..., + request_cancel_local_activity: Global___RequestCancelLocalActivity | None = ..., + upsert_workflow_search_attributes: Global___UpsertWorkflowSearchAttributes | None = ..., - modify_workflow_properties: global___ModifyWorkflowProperties | None = ..., - update_response: global___UpdateResponse | None = ..., - schedule_nexus_operation: global___ScheduleNexusOperation | None = ..., - request_cancel_nexus_operation: global___RequestCancelNexusOperation + modify_workflow_properties: Global___ModifyWorkflowProperties | None = ..., + update_response: Global___UpdateResponse | None = ..., + schedule_nexus_operation: Global___ScheduleNexusOperation | None = ..., + request_cancel_nexus_operation: Global___RequestCancelNexusOperation | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", @@ -255,7 +259,7 @@ class WorkflowCommand(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", @@ -307,9 +311,9 @@ class WorkflowCommand(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] + self, oneof_group: typing.Literal["variant", b"variant"] ) -> ( - typing_extensions.Literal[ + typing.Literal[ "start_timer", "schedule_activity", "respond_to_query", @@ -336,8 +340,9 @@ class WorkflowCommand(google.protobuf.message.Message): | None ): ... -global___WorkflowCommand = WorkflowCommand +Global___WorkflowCommand: typing_extensions.TypeAlias = WorkflowCommand +@typing.final class StartTimer(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -355,19 +360,18 @@ class StartTimer(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ - "start_to_fire_timeout", b"start_to_fire_timeout" - ], + field_name: typing.Literal["start_to_fire_timeout", b"start_to_fire_timeout"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "seq", b"seq", "start_to_fire_timeout", b"start_to_fire_timeout" ], ) -> None: ... -global___StartTimer = StartTimer +Global___StartTimer: typing_extensions.TypeAlias = StartTimer +@typing.final class CancelTimer(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -379,15 +383,15 @@ class CancelTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... -global___CancelTimer = CancelTimer +Global___CancelTimer: typing_extensions.TypeAlias = CancelTimer +@typing.final class ScheduleActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -403,11 +407,10 @@ class ScheduleActivity(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -431,6 +434,17 @@ class ScheduleActivity(google.protobuf.message.Message): activity_type: builtins.str task_queue: builtins.str """The name of the task queue to place this activity request in""" + cancellation_type: Global___ActivityCancellationType.ValueType + """Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed""" + do_not_eagerly_execute: builtins.bool + """If set, the worker will not tell the service that it can immediately start executing this + activity. When unset/default, workers will always attempt to do so if activity execution + slots are available. + """ + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) + """Whether this activity should run on a worker with a compatible build id or not.""" @property def headers( self, @@ -444,46 +458,42 @@ class ScheduleActivity(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments/input to the activity. Called "input" upstream.""" + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or start_to_close_timeout_seconds must be specified. When not specified defaults to the workflow execution timeout. """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable as all a retry would achieve is to put it back into the same queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified. """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after a pick up by a worker. This timeout is always retryable. Either this or schedule_to_close_timeout must be specified. """ + @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time allowed between successful worker heartbeats.""" + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Activities are provided by a default retry policy controlled through the service dynamic configuration. Retries are happening up to schedule_to_close_timeout. To disable retries set retry_policy.maximum_attempts to 1. """ - cancellation_type: global___ActivityCancellationType.ValueType - """Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed""" - do_not_eagerly_execute: builtins.bool - """If set, the worker will not tell the service that it can immediately start executing this - activity. When unset/default, workers will always attempt to do so if activity execution - slots are available. - """ - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) - """Whether this activity should run on a worker with a compatible build id or not.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """The Priority to use for this activity""" + def __init__( self, *, @@ -504,14 +514,14 @@ class ScheduleActivity(google.protobuf.message.Message): start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., heartbeat_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., - cancellation_type: global___ActivityCancellationType.ValueType = ..., + cancellation_type: Global___ActivityCancellationType.ValueType = ..., do_not_eagerly_execute: builtins.bool = ..., versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "heartbeat_timeout", b"heartbeat_timeout", "priority", @@ -528,7 +538,7 @@ class ScheduleActivity(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -562,11 +572,13 @@ class ScheduleActivity(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleActivity = ScheduleActivity +Global___ScheduleActivity: typing_extensions.TypeAlias = ScheduleActivity +@typing.final class ScheduleLocalActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -582,11 +594,10 @@ class ScheduleLocalActivity(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -611,11 +622,17 @@ class ScheduleLocalActivity(google.protobuf.message.Message): a timer before retrying. It should pass the attempt number from a `DoBackoff` activity resolution. """ + cancellation_type: Global___ActivityCancellationType.ValueType + """Defines how the workflow will wait (or not) for cancellation of the activity to be + confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto + will default to `TRY_CANCEL` automatically. + """ @property def original_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If this local activity is a retry (as per the attempt field) this needs to be the original scheduling time (as provided in `DoBackoff`) """ + @property def headers( self, @@ -629,12 +646,14 @@ class ScheduleLocalActivity(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments/input to the activity.""" + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for local activity completion. Limits how long retries will be attempted. When not specified defaults to the workflow execution timeout (which may be unset). """ + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time the local activity can idle internally before being executed. That can happen if @@ -643,6 +662,7 @@ class ScheduleLocalActivity(google.protobuf.message.Message): to `schedule_to_close_timeout` if not specified and that is set. Must be <= `schedule_to_close_timeout` when set, otherwise, it will be clamped down. """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time the local activity is allowed to execute after the task is dispatched. This @@ -650,22 +670,20 @@ class ScheduleLocalActivity(google.protobuf.message.Message): specified. If set, this must be <= `schedule_to_close_timeout`, otherwise, it will be clamped down. """ + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Specify a retry policy for the local activity. By default local activities will be retried indefinitely. """ + @property def local_retry_threshold(self) -> google.protobuf.duration_pb2.Duration: """If the activity is retrying and backoff would exceed this value, lang will be told to schedule a timer and retry the activity after. Otherwise, backoff will happen internally in core. Defaults to 1 minute. """ - cancellation_type: global___ActivityCancellationType.ValueType - """Defines how the workflow will wait (or not) for cancellation of the activity to be - confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto - will default to `TRY_CANCEL` automatically. - """ + def __init__( self, *, @@ -687,11 +705,11 @@ class ScheduleLocalActivity(google.protobuf.message.Message): start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., local_retry_threshold: google.protobuf.duration_pb2.Duration | None = ..., - cancellation_type: global___ActivityCancellationType.ValueType = ..., + cancellation_type: Global___ActivityCancellationType.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "local_retry_threshold", b"local_retry_threshold", "original_schedule_time", @@ -708,7 +726,7 @@ class ScheduleLocalActivity(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "activity_id", b"activity_id", "activity_type", @@ -738,8 +756,9 @@ class ScheduleLocalActivity(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleLocalActivity = ScheduleLocalActivity +Global___ScheduleLocalActivity: typing_extensions.TypeAlias = ScheduleLocalActivity +@typing.final class RequestCancelActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -751,12 +770,11 @@ class RequestCancelActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... -global___RequestCancelActivity = RequestCancelActivity +Global___RequestCancelActivity: typing_extensions.TypeAlias = RequestCancelActivity +@typing.final class RequestCancelLocalActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -768,12 +786,13 @@ class RequestCancelLocalActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... -global___RequestCancelLocalActivity = RequestCancelLocalActivity +Global___RequestCancelLocalActivity: typing_extensions.TypeAlias = ( + RequestCancelLocalActivity +) +@typing.final class QueryResult(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -783,25 +802,25 @@ class QueryResult(google.protobuf.message.Message): query_id: builtins.str """Corresponds to the id provided in the activation job""" @property - def succeeded(self) -> global___QuerySuccess: ... + def succeeded(self) -> Global___QuerySuccess: ... @property def failed(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... def __init__( self, *, query_id: builtins.str = ..., - succeeded: global___QuerySuccess | None = ..., + succeeded: Global___QuerySuccess | None = ..., failed: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failed", b"failed", "succeeded", b"succeeded", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failed", b"failed", "query_id", @@ -813,11 +832,12 @@ class QueryResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["variant", b"variant"] - ) -> typing_extensions.Literal["succeeded", "failed"] | None: ... + self, oneof_group: typing.Literal["variant", b"variant"] + ) -> typing.Literal["succeeded", "failed"] | None: ... -global___QueryResult = QueryResult +Global___QueryResult: typing_extensions.TypeAlias = QueryResult +@typing.final class QuerySuccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -830,14 +850,15 @@ class QuerySuccess(google.protobuf.message.Message): response: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["response", b"response"] + self, field_name: typing.Literal["response", b"response"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["response", b"response"] + self, field_name: typing.Literal["response", b"response"] ) -> None: ... -global___QuerySuccess = QuerySuccess +Global___QuerySuccess: typing_extensions.TypeAlias = QuerySuccess +@typing.final class CompleteWorkflowExecution(google.protobuf.message.Message): """Issued when the workflow completes successfully""" @@ -852,14 +873,15 @@ class CompleteWorkflowExecution(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... -global___CompleteWorkflowExecution = CompleteWorkflowExecution +Global___CompleteWorkflowExecution: typing_extensions.TypeAlias = ( + CompleteWorkflowExecution +) +@typing.final class FailWorkflowExecution(google.protobuf.message.Message): """Issued when the workflow errors out""" @@ -874,19 +896,19 @@ class FailWorkflowExecution(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["failure", b"failure"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... -global___FailWorkflowExecution = FailWorkflowExecution +Global___FailWorkflowExecution: typing_extensions.TypeAlias = FailWorkflowExecution +@typing.final class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """Continue the workflow as a new execution""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class MemoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -902,13 +924,13 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -924,11 +946,10 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int @@ -947,6 +968,17 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """The identifier the lang-specific sdk uses to execute workflow code""" task_queue: builtins.str """Task queue for the new workflow execution""" + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) + """Whether the continued workflow should run on a worker with a compatible build id or not.""" + initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. + For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version + of the previous run. + """ @property def arguments( self, @@ -956,12 +988,15 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that typically wouldn't make any sense. """ + @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout for a single run of the new workflow. Will not re-use current workflow's value.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task. Will not re-use current workflow's value.""" + @property def memo( self, @@ -969,6 +1004,7 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo""" + @property def headers( self, @@ -978,6 +1014,7 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """If set, the new workflow will have these headers. Will *not* re-use current workflow's headers otherwise. """ + @property def search_attributes( self, @@ -985,25 +1022,17 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """If set, the new workflow will have these search attributes. If unset, re-uses the current workflow's search attributes. """ + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """If set, the new workflow will have this retry policy. If unset, re-uses the current workflow's retry policy. """ - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) - """Whether the continued workflow should run on a worker with a compatible build id or not.""" - initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. - For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version - of the previous run. - """ + @property def backoff_start_interval(self) -> google.protobuf.duration_pb2.Duration: """Delay before the first workflow task of the continued run is scheduled.""" + def __init__( self, *, @@ -1032,7 +1061,7 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "backoff_start_interval", b"backoff_start_interval", "retry_policy", @@ -1047,7 +1076,7 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "arguments", b"arguments", "backoff_start_interval", @@ -1075,8 +1104,11 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -global___ContinueAsNewWorkflowExecution = ContinueAsNewWorkflowExecution +Global___ContinueAsNewWorkflowExecution: typing_extensions.TypeAlias = ( + ContinueAsNewWorkflowExecution +) +@typing.final class CancelWorkflowExecution(google.protobuf.message.Message): """Indicate a workflow has completed as cancelled. Generally sent as a response to an activation containing a cancellation job. @@ -1088,8 +1120,9 @@ class CancelWorkflowExecution(google.protobuf.message.Message): self, ) -> None: ... -global___CancelWorkflowExecution = CancelWorkflowExecution +Global___CancelWorkflowExecution: typing_extensions.TypeAlias = CancelWorkflowExecution +@typing.final class SetPatchMarker(google.protobuf.message.Message): """A request to set/check if a certain patch is present or not""" @@ -1114,18 +1147,20 @@ class SetPatchMarker(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "deprecated", b"deprecated", "patch_id", b"patch_id" ], ) -> None: ... -global___SetPatchMarker = SetPatchMarker +Global___SetPatchMarker: typing_extensions.TypeAlias = SetPatchMarker +@typing.final class StartChildWorkflowExecution(google.protobuf.message.Message): """Start a child workflow execution""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1141,13 +1176,13 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... + @typing.final class MemoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1163,11 +1198,10 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -1195,6 +1229,21 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str workflow_type: builtins.str task_queue: builtins.str + parent_close_policy: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ParentClosePolicy.ValueType + """Default: PARENT_CLOSE_POLICY_TERMINATE.""" + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes) + Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. + """ + cron_schedule: builtins.str + cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType + """Defines behaviour of the underlying workflow when child workflow cancellation has been requested.""" + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) + """Whether this child should run on a worker with a compatible build id or not.""" @property def input( self, @@ -1204,23 +1253,17 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" + @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" + @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - parent_close_policy: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ParentClosePolicy.ValueType - """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes) - Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. - """ + @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... - cron_schedule: builtins.str @property def headers( self, @@ -1228,6 +1271,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Header fields""" + @property def memo( self, @@ -1235,20 +1279,17 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Memo fields""" + @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes""" - cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType - """Defines behaviour of the underlying workflow when child workflow cancellation has been requested.""" - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) - """Whether this child should run on a worker with a compatible build id or not.""" + @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """The Priority to use for this activity""" + def __init__( self, *, @@ -1282,7 +1323,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "priority", b"priority", "retry_policy", @@ -1299,7 +1340,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancellation_type", b"cancellation_type", "cron_schedule", @@ -1341,8 +1382,11 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -global___StartChildWorkflowExecution = StartChildWorkflowExecution +Global___StartChildWorkflowExecution: typing_extensions.TypeAlias = ( + StartChildWorkflowExecution +) +@typing.final class CancelChildWorkflowExecution(google.protobuf.message.Message): """Cancel a child workflow""" @@ -1362,13 +1406,16 @@ class CancelChildWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "child_workflow_seq", b"child_workflow_seq", "reason", b"reason" ], ) -> None: ... -global___CancelChildWorkflowExecution = CancelChildWorkflowExecution +Global___CancelChildWorkflowExecution: typing_extensions.TypeAlias = ( + CancelChildWorkflowExecution +) +@typing.final class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): """Request cancellation of an external workflow execution. For cancellation of a child workflow, prefer `CancelChildWorkflowExecution` instead, as it guards against cancel-before-start issues. @@ -1381,13 +1428,14 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" + reason: builtins.str + """A reason for the cancellation""" @property def workflow_execution( self, ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """The workflow instance being targeted""" - reason: builtins.str - """A reason for the cancellation""" + def __init__( self, *, @@ -1397,14 +1445,11 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): reason: builtins.str = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "workflow_execution", b"workflow_execution" - ], + self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "reason", b"reason", "seq", @@ -1414,13 +1459,17 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -global___RequestCancelExternalWorkflowExecution = RequestCancelExternalWorkflowExecution +Global___RequestCancelExternalWorkflowExecution: typing_extensions.TypeAlias = ( + RequestCancelExternalWorkflowExecution +) +@typing.final class SignalExternalWorkflowExecution(google.protobuf.message.Message): """Send a signal to an external or child workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1436,11 +1485,10 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["value", b"value"] + self, field_name: typing.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -1451,15 +1499,16 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): HEADERS_FIELD_NUMBER: builtins.int seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" + child_workflow_id: builtins.str + """The desired target must be a child of the issuing workflow, and this is its workflow id""" + signal_name: builtins.str + """Name of the signal handler""" @property def workflow_execution( self, ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """A specific workflow instance""" - child_workflow_id: builtins.str - """The desired target must be a child of the issuing workflow, and this is its workflow id""" - signal_name: builtins.str - """Name of the signal handler""" + @property def args( self, @@ -1467,6 +1516,7 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments for the handler""" + @property def headers( self, @@ -1474,6 +1524,7 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers to attach to the signal""" + def __init__( self, *, @@ -1491,7 +1542,7 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "child_workflow_id", b"child_workflow_id", "target", @@ -1502,7 +1553,7 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "args", b"args", "child_workflow_id", @@ -1520,13 +1571,14 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["target", b"target"] - ) -> ( - typing_extensions.Literal["workflow_execution", "child_workflow_id"] | None - ): ... + self, oneof_group: typing.Literal["target", b"target"] + ) -> typing.Literal["workflow_execution", "child_workflow_id"] | None: ... -global___SignalExternalWorkflowExecution = SignalExternalWorkflowExecution +Global___SignalExternalWorkflowExecution: typing_extensions.TypeAlias = ( + SignalExternalWorkflowExecution +) +@typing.final class CancelSignalWorkflow(google.protobuf.message.Message): """Can be used to cancel not-already-sent `SignalExternalWorkflowExecution` commands""" @@ -1540,12 +1592,11 @@ class CancelSignalWorkflow(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... -global___CancelSignalWorkflow = CancelSignalWorkflow +Global___CancelSignalWorkflow: typing_extensions.TypeAlias = CancelSignalWorkflow +@typing.final class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1557,6 +1608,7 @@ class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): """SearchAttributes to upsert. The indexed_fields map will be merged with existing search attributes, with these values taking precedence. """ + def __init__( self, *, @@ -1564,20 +1616,17 @@ class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], + self, field_name: typing.Literal["search_attributes", b"search_attributes"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "search_attributes", b"search_attributes" - ], + self, field_name: typing.Literal["search_attributes", b"search_attributes"] ) -> None: ... -global___UpsertWorkflowSearchAttributes = UpsertWorkflowSearchAttributes +Global___UpsertWorkflowSearchAttributes: typing_extensions.TypeAlias = ( + UpsertWorkflowSearchAttributes +) +@typing.final class ModifyWorkflowProperties(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1588,20 +1637,24 @@ class ModifyWorkflowProperties(google.protobuf.message.Message): the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted. """ + def __init__( self, *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] ) -> None: ... -global___ModifyWorkflowProperties = ModifyWorkflowProperties +Global___ModifyWorkflowProperties: typing_extensions.TypeAlias = ( + ModifyWorkflowProperties +) +@typing.final class UpdateResponse(google.protobuf.message.Message): """A reply to a `DoUpdate` job - lang must run the update's validator if told to, and then immediately run the handler, if the update was accepted. @@ -1628,14 +1681,17 @@ class UpdateResponse(google.protobuf.message.Message): thus should be considered already-accepted, allowing lang to always send the same sequence on replay). """ + @property def rejected(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Must be sent if the update's validator does not pass, or after acceptance if the update handler fails. """ + @property def completed(self) -> temporalio.api.common.v1.message_pb2.Payload: """Must be sent once the update handler completes successfully.""" + def __init__( self, *, @@ -1646,7 +1702,7 @@ class UpdateResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "accepted", b"accepted", "completed", @@ -1659,7 +1715,7 @@ class UpdateResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "accepted", b"accepted", "completed", @@ -1673,16 +1729,18 @@ class UpdateResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["response", b"response"] - ) -> typing_extensions.Literal["accepted", "rejected", "completed"] | None: ... + self, oneof_group: typing.Literal["response", b"response"] + ) -> typing.Literal["accepted", "rejected", "completed"] | None: ... -global___UpdateResponse = UpdateResponse +Global___UpdateResponse: typing_extensions.TypeAlias = UpdateResponse +@typing.final class ScheduleNexusOperation(google.protobuf.message.Message): """A request to begin a Nexus operation""" DESCRIPTOR: google.protobuf.descriptor.Descriptor + @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1697,8 +1755,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -1719,6 +1776,10 @@ class ScheduleNexusOperation(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" + cancellation_type: ( + temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType + ) + """Defines behaviour of the underlying nexus operation when operation cancellation has been requested.""" @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Input for the operation. The server converts this into Nexus request content and the @@ -1726,12 +1787,14 @@ class ScheduleNexusOperation(google.protobuf.message.Message): handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command. """ + @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. """ + @property def nexus_header( self, @@ -1743,10 +1806,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - cancellation_type: ( - temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType - ) - """Defines behaviour of the underlying nexus operation when operation cancellation has been requested.""" + @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -1755,6 +1815,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): TIMEOUT_TYPE_SCHEDULE_TO_START. If not set or zero, no schedule-to-start timeout is enforced. """ + @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -1764,6 +1825,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): Only applies to asynchronous operations. Synchronous operations ignore this timeout. If not set or zero, no start-to-close timeout is enforced. """ + def __init__( self, *, @@ -1780,7 +1842,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -1793,7 +1855,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cancellation_type", b"cancellation_type", "endpoint", @@ -1817,8 +1879,9 @@ class ScheduleNexusOperation(google.protobuf.message.Message): ], ) -> None: ... -global___ScheduleNexusOperation = ScheduleNexusOperation +Global___ScheduleNexusOperation: typing_extensions.TypeAlias = ScheduleNexusOperation +@typing.final class RequestCancelNexusOperation(google.protobuf.message.Message): """Request cancellation of a nexus operation started via `ScheduleNexusOperation`""" @@ -1832,8 +1895,8 @@ class RequestCancelNexusOperation(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["seq", b"seq"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... -global___RequestCancelNexusOperation = RequestCancelNexusOperation +Global___RequestCancelNexusOperation: typing_extensions.TypeAlias = ( + RequestCancelNexusOperation +) diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py index ce26b220d..e664c8217 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/workflow_completion/workflow_completion.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "temporal/sdk/core/workflow_completion/workflow_completion.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,54 +44,24 @@ b'\n?temporal/sdk/core/workflow_completion/workflow_completion.proto\x12\x1b\x63oresdk.workflow_completion\x1a%temporal/api/failure/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto"\xac\x01\n\x1cWorkflowActivationCompletion\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12:\n\nsuccessful\x18\x02 \x01(\x0b\x32$.coresdk.workflow_completion.SuccessH\x00\x12\x36\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32$.coresdk.workflow_completion.FailureH\x00\x42\x08\n\x06status"\xac\x01\n\x07Success\x12<\n\x08\x63ommands\x18\x01 \x03(\x0b\x32*.coresdk.workflow_commands.WorkflowCommand\x12\x1b\n\x13used_internal_flags\x18\x06 \x03(\r\x12\x46\n\x13versioning_behavior\x18\x07 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior"\x81\x01\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x43\n\x0b\x66orce_cause\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowCompletionb\x06proto3' ) - -_WORKFLOWACTIVATIONCOMPLETION = DESCRIPTOR.message_types_by_name[ - "WorkflowActivationCompletion" -] -_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] -_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] -WorkflowActivationCompletion = _reflection.GeneratedProtocolMessageType( - "WorkflowActivationCompletion", - (_message.Message,), - { - "DESCRIPTOR": _WORKFLOWACTIVATIONCOMPLETION, - "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.WorkflowActivationCompletion) - }, -) -_sym_db.RegisterMessage(WorkflowActivationCompletion) - -Success = _reflection.GeneratedProtocolMessageType( - "Success", - (_message.Message,), - { - "DESCRIPTOR": _SUCCESS, - "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Success) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, + "temporal.sdk.core.workflow_completion.workflow_completion_pb2", + _globals, ) -_sym_db.RegisterMessage(Success) - -Failure = _reflection.GeneratedProtocolMessageType( - "Failure", - (_message.Message,), - { - "DESCRIPTOR": _FAILURE, - "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", - # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Failure) - }, -) -_sym_db.RegisterMessage(Failure) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = ( +if not _descriptor._USE_C_DESCRIPTORS: + _globals["DESCRIPTOR"]._loaded_options = None + _globals[ + "DESCRIPTOR" + ]._serialized_options = ( b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowCompletion" ) - _WORKFLOWACTIVATIONCOMPLETION._serialized_start = 316 - _WORKFLOWACTIVATIONCOMPLETION._serialized_end = 488 - _SUCCESS._serialized_start = 491 - _SUCCESS._serialized_end = 663 - _FAILURE._serialized_start = 666 - _FAILURE._serialized_end = 795 + _globals["_WORKFLOWACTIVATIONCOMPLETION"]._serialized_start = 316 + _globals["_WORKFLOWACTIVATIONCOMPLETION"]._serialized_end = 488 + _globals["_SUCCESS"]._serialized_start = 491 + _globals["_SUCCESS"]._serialized_end = 663 + _globals["_FAILURE"]._serialized_start = 666 + _globals["_FAILURE"]._serialized_end = 795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi index 5b438f360..bad7f16ae 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi @@ -6,6 +6,7 @@ isort:skip_file import builtins import collections.abc import sys +import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -16,13 +17,14 @@ import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.bridge.proto.workflow_commands.workflow_commands_pb2 -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class WorkflowActivationCompletion(google.protobuf.message.Message): """Result of a single workflow activation, reported from lang to core""" @@ -34,25 +36,25 @@ class WorkflowActivationCompletion(google.protobuf.message.Message): run_id: builtins.str """The run id from the workflow activation you are completing""" @property - def successful(self) -> global___Success: ... + def successful(self) -> Global___Success: ... @property - def failed(self) -> global___Failure: ... + def failed(self) -> Global___Failure: ... def __init__( self, *, run_id: builtins.str = ..., - successful: global___Success | None = ..., - failed: global___Failure | None = ..., + successful: Global___Success | None = ..., + failed: Global___Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failed", b"failed", "status", b"status", "successful", b"successful" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failed", b"failed", "run_id", @@ -64,11 +66,14 @@ class WorkflowActivationCompletion(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["status", b"status"] - ) -> typing_extensions.Literal["successful", "failed"] | None: ... + self, oneof_group: typing.Literal["status", b"status"] + ) -> typing.Literal["successful", "failed"] | None: ... -global___WorkflowActivationCompletion = WorkflowActivationCompletion +Global___WorkflowActivationCompletion: typing_extensions.TypeAlias = ( + WorkflowActivationCompletion +) +@typing.final class Success(google.protobuf.message.Message): """Successful workflow activation with a list of commands generated by the workflow execution""" @@ -77,6 +82,10 @@ class Success(google.protobuf.message.Message): COMMANDS_FIELD_NUMBER: builtins.int USED_INTERNAL_FLAGS_FIELD_NUMBER: builtins.int VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) + """The versioning behavior this workflow is currently using""" @property def commands( self, @@ -84,15 +93,13 @@ class Success(google.protobuf.message.Message): temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand ]: """A list of commands to send back to the temporal server""" + @property def used_internal_flags( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Any internal flags which the lang SDK used in the processing of this activation""" - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) - """The versioning behavior this workflow is currently using""" + def __init__( self, *, @@ -105,7 +112,7 @@ class Success(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commands", b"commands", "used_internal_flags", @@ -115,8 +122,9 @@ class Success(google.protobuf.message.Message): ], ) -> None: ... -global___Success = Success +Global___Success: typing_extensions.TypeAlias = Success +@typing.final class Failure(google.protobuf.message.Message): """Failure to activate or execute a workflow""" @@ -124,12 +132,12 @@ class Failure(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int FORCE_CAUSE_FIELD_NUMBER: builtins.int - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... force_cause: ( temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType ) """Forces overriding the WFT failure cause""" + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... def __init__( self, *, @@ -137,13 +145,13 @@ class Failure(google.protobuf.message.Message): force_cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["failure", b"failure"] + self, field_name: typing.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "failure", b"failure", "force_cause", b"force_cause" ], ) -> None: ... -global___Failure = Failure +Global___Failure: typing_extensions.TypeAlias = Failure diff --git a/temporalio/bridge/sdk-core b/temporalio/bridge/sdk-core index 9f83b7e30..467e871aa 160000 --- a/temporalio/bridge/sdk-core +++ b/temporalio/bridge/sdk-core @@ -1 +1 @@ -Subproject commit 9f83b7e307dc032b31ff3bd3811ef3438106f77a +Subproject commit 467e871aa922ecfeeba8a778b7b9b9de19849acc diff --git a/temporalio/bridge/services_generated.py b/temporalio/bridge/services_generated.py index 301c218cf..2f0fef8ac 100644 --- a/temporalio/bridge/services_generated.py +++ b/temporalio/bridge/services_generated.py @@ -81,6 +81,24 @@ async def count_schedules( timeout=timeout, ) + async def count_workers( + self, + req: temporalio.api.workflowservice.v1.CountWorkersRequest, + retry: bool = False, + metadata: Mapping[str, str | bytes] = {}, + timeout: timedelta | None = None, + ) -> temporalio.api.workflowservice.v1.CountWorkersResponse: + """Invokes the WorkflowService.count_workers rpc method.""" + return await self._client._rpc_call( + rpc="count_workers", + req=req, + service=self._service, + resp_type=temporalio.api.workflowservice.v1.CountWorkersResponse, + retry=retry, + metadata=metadata, + timeout=timeout, + ) + async def count_workflow_executions( self, req: temporalio.api.workflowservice.v1.CountWorkflowExecutionsRequest, diff --git a/temporalio/bridge/src/client_rpc_generated.rs b/temporalio/bridge/src/client_rpc_generated.rs index 931b77a32..a6f95b124 100644 --- a/temporalio/bridge/src/client_rpc_generated.rs +++ b/temporalio/bridge/src/client_rpc_generated.rs @@ -47,6 +47,15 @@ impl ClientRef { count_schedules ) } + "count_workers" => { + rpc_call!( + connection, + call, + WorkflowService, + workflow_service, + count_workers + ) + } "count_workflow_executions" => { rpc_call!( connection, diff --git a/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.py b/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.py index 19a1c69b2..73e1d2b1e 100644 --- a/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.py +++ b/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.py @@ -1,14 +1,24 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: worker/workflow_sandbox/testmodules/proto/proto_message.proto +# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database - +from google.protobuf.internal import builder as _builder + +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 6, + 33, + 5, + "", + "worker/workflow_sandbox/testmodules/proto/proto_message.proto", +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,21 +30,13 @@ b'\n=worker/workflow_sandbox/testmodules/proto/proto_message.proto\x12)worker.workflow_sandbox.testmodules.proto\x1a\x1egoogle/protobuf/duration.proto"?\n\x0bSomeMessage\x12\x30\n\rsome_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Durationb\x06proto3' ) - -_SOMEMESSAGE = DESCRIPTOR.message_types_by_name["SomeMessage"] -SomeMessage = _reflection.GeneratedProtocolMessageType( - "SomeMessage", - (_message.Message,), - { - "DESCRIPTOR": _SOMEMESSAGE, - "__module__": "worker.workflow_sandbox.testmodules.proto.proto_message_pb2", - # @@protoc_insertion_point(class_scope:worker.workflow_sandbox.testmodules.proto.SomeMessage) - }, +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages( + DESCRIPTOR, "worker.workflow_sandbox.testmodules.proto.proto_message_pb2", _globals ) -_sym_db.RegisterMessage(SomeMessage) - -if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None - _SOMEMESSAGE._serialized_start = 140 - _SOMEMESSAGE._serialized_end = 203 +if not _descriptor._USE_C_DESCRIPTORS: + DESCRIPTOR._loaded_options = None + _globals["_SOMEMESSAGE"]._serialized_start = 140 + _globals["_SOMEMESSAGE"]._serialized_end = 203 # @@protoc_insertion_point(module_scope) diff --git a/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.pyi b/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.pyi index db5f796b3..b2c6f24a9 100644 --- a/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.pyi +++ b/tests/worker/workflow_sandbox/testmodules/proto/proto_message_pb2.pyi @@ -5,18 +5,20 @@ isort:skip_file import builtins import sys +import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message -if sys.version_info >= (3, 8): +if sys.version_info >= (3, 10): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +@typing.final class SomeMessage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -29,10 +31,10 @@ class SomeMessage(google.protobuf.message.Message): some_duration: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["some_duration", b"some_duration"] + self, field_name: typing.Literal["some_duration", b"some_duration"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing_extensions.Literal["some_duration", b"some_duration"] + self, field_name: typing.Literal["some_duration", b"some_duration"] ) -> None: ... -global___SomeMessage = SomeMessage +Global___SomeMessage: typing_extensions.TypeAlias = SomeMessage From e51a9a8b9e15476983cc5d879d29d26d3875354f Mon Sep 17 00:00:00 2001 From: Thomas Hardy Date: Tue, 7 Jul 2026 08:06:59 -0400 Subject: [PATCH 2/2] gen dem protos --- temporalio/api/activity/v1/message_pb2.py | 138 +- temporalio/api/activity/v1/message_pb2.pyi | 167 +- temporalio/api/batch/v1/message_pb2.py | 223 +- temporalio/api/batch/v1/message_pb2.pyi | 163 +- temporalio/api/callback/v1/message_pb2.py | 44 +- temporalio/api/callback/v1/message_pb2.pyi | 31 +- .../api/cloud/account/v1/message_pb2.py | 127 +- .../api/cloud/account/v1/message_pb2.pyi | 91 +- .../api/cloud/auditlog/v1/message_pb2.py | 60 +- .../api/cloud/auditlog/v1/message_pb2.pyi | 36 +- .../api/cloud/billing/v1/message_pb2.py | 96 +- .../api/cloud/billing/v1/message_pb2.pyi | 81 +- .../cloudservice/v1/request_response_pb2.py | 2710 ++++++- .../cloudservice/v1/request_response_pb2.pyi | 1596 ++-- .../v1/request_response_pb2_grpc.py | 24 - .../v1/request_response_pb2_grpc.pyi | 20 - .../api/cloud/cloudservice/v1/service_pb2.py | 577 +- .../cloud/cloudservice/v1/service_pb2_grpc.py | 185 +- .../cloudservice/v1/service_pb2_grpc.pyi | 3340 ++------- .../cloud/connectivityrule/v1/message_pb2.py | 92 +- .../cloud/connectivityrule/v1/message_pb2.pyi | 57 +- .../api/cloud/identity/v1/message_pb2.py | 518 +- .../api/cloud/identity/v1/message_pb2.pyi | 382 +- .../api/cloud/namespace/v1/message_pb2.py | 707 +- .../api/cloud/namespace/v1/message_pb2.pyi | 465 +- temporalio/api/cloud/nexus/v1/message_pb2.py | 130 +- temporalio/api/cloud/nexus/v1/message_pb2.pyi | 91 +- .../api/cloud/operation/v1/message_pb2.py | 57 +- .../api/cloud/operation/v1/message_pb2.pyi | 25 +- temporalio/api/cloud/region/v1/message_pb2.py | 55 +- .../api/cloud/region/v1/message_pb2.pyi | 11 +- .../api/cloud/resource/v1/message_pb2.py | 49 +- .../api/cloud/resource/v1/message_pb2.pyi | 4 +- temporalio/api/cloud/sink/v1/message_pb2.py | 92 +- temporalio/api/cloud/sink/v1/message_pb2.pyi | 23 +- temporalio/api/cloud/usage/v1/message_pb2.py | 121 +- temporalio/api/cloud/usage/v1/message_pb2.pyi | 74 +- temporalio/api/command/v1/message_pb2.py | 464 +- temporalio/api/command/v1/message_pb2.pyi | 361 +- temporalio/api/common/v1/grpc_status_pb2.py | 40 +- temporalio/api/common/v1/grpc_status_pb2.pyi | 8 +- temporalio/api/common/v1/message_pb2.py | 640 +- temporalio/api/common/v1/message_pb2.pyi | 344 +- temporalio/api/compute/v1/config_pb2.py | 149 +- temporalio/api/compute/v1/config_pb2.pyi | 80 +- temporalio/api/compute/v1/provider_pb2.py | 44 +- temporalio/api/compute/v1/provider_pb2.pyi | 19 +- temporalio/api/compute/v1/scaler_pb2.py | 37 +- temporalio/api/compute/v1/scaler_pb2.pyi | 12 +- .../nexusannotations/v1/options_pb2.py | 61 +- .../nexusannotations/v1/options_pb2.pyi | 19 +- .../options/annotations_pb2.py | 62 +- .../options/openapiv2_pb2.py | 679 +- .../options/openapiv2_pb2.pyi | 469 +- temporalio/api/deployment/v1/message_pb2.py | 395 +- temporalio/api/deployment/v1/message_pb2.pyi | 342 +- temporalio/api/enums/v1/activity_pb2.py | 57 +- temporalio/api/enums/v1/activity_pb2.pyi | 14 +- .../api/enums/v1/batch_operation_pb2.py | 58 +- .../api/enums/v1/batch_operation_pb2.pyi | 8 +- temporalio/api/enums/v1/command_type_pb2.py | 56 +- temporalio/api/enums/v1/command_type_pb2.pyi | 4 +- temporalio/api/enums/v1/common_pb2.py | 128 +- temporalio/api/enums/v1/common_pb2.pyi | 42 +- temporalio/api/enums/v1/deployment_pb2.py | 75 +- temporalio/api/enums/v1/deployment_pb2.pyi | 18 +- temporalio/api/enums/v1/event_type_pb2.py | 99 +- temporalio/api/enums/v1/event_type_pb2.pyi | 4 +- temporalio/api/enums/v1/failed_cause_pb2.py | 142 +- temporalio/api/enums/v1/failed_cause_pb2.pyi | 26 +- temporalio/api/enums/v1/namespace_pb2.py | 60 +- temporalio/api/enums/v1/namespace_pb2.pyi | 12 +- temporalio/api/enums/v1/nexus_pb2.py | 89 +- temporalio/api/enums/v1/nexus_pb2.pyi | 28 +- temporalio/api/enums/v1/query_pb2.py | 44 +- temporalio/api/enums/v1/query_pb2.pyi | 8 +- temporalio/api/enums/v1/reset_pb2.py | 61 +- temporalio/api/enums/v1/reset_pb2.pyi | 12 +- temporalio/api/enums/v1/schedule_pb2.py | 38 +- temporalio/api/enums/v1/schedule_pb2.pyi | 4 +- temporalio/api/enums/v1/task_queue_pb2.py | 100 +- temporalio/api/enums/v1/task_queue_pb2.pyi | 30 +- temporalio/api/enums/v1/update_pb2.py | 47 +- temporalio/api/enums/v1/update_pb2.pyi | 12 +- temporalio/api/enums/v1/workflow_pb2.py | 176 +- temporalio/api/enums/v1/workflow_pb2.pyi | 60 +- temporalio/api/errordetails/v1/message_pb2.py | 371 +- .../api/errordetails/v1/message_pb2.pyi | 144 +- temporalio/api/export/v1/message_pb2.py | 53 +- temporalio/api/export/v1/message_pb2.pyi | 23 +- temporalio/api/failure/v1/message_pb2.py | 230 +- temporalio/api/failure/v1/message_pb2.pyi | 158 +- temporalio/api/filter/v1/message_pb2.py | 85 +- temporalio/api/filter/v1/message_pb2.pyi | 31 +- temporalio/api/history/v1/message_pb2.py | 1551 +++- temporalio/api/history/v1/message_pb2.pyi | 1422 ++-- temporalio/api/namespace/v1/message_pb2.py | 238 +- temporalio/api/namespace/v1/message_pb2.pyi | 123 +- temporalio/api/nexus/v1/message_pb2.py | 464 +- temporalio/api/nexus/v1/message_pb2.pyi | 374 +- .../workerservice/v1/request_response_pb2.py | 62 +- .../workerservice/v1/request_response_pb2.pyi | 15 +- .../v1/request_response_pb2_grpc.py | 24 - .../v1/request_response_pb2_grpc.pyi | 20 - .../v1/request_response_pb2.py | 572 +- .../v1/request_response_pb2.pyi | 215 +- .../v1/request_response_pb2_grpc.py | 24 - .../v1/request_response_pb2_grpc.pyi | 20 - .../api/operatorservice/v1/service_pb2.py | 69 +- .../operatorservice/v1/service_pb2_grpc.py | 57 +- .../operatorservice/v1/service_pb2_grpc.pyi | 586 +- temporalio/api/protocol/v1/message_pb2.py | 44 +- temporalio/api/protocol/v1/message_pb2.pyi | 15 +- .../api/protometa/v1/annotations_pb2.py | 51 +- .../api/protometa/v1/annotations_pb2.pyi | 11 +- temporalio/api/query/v1/message_pb2.py | 71 +- temporalio/api/query/v1/message_pb2.pyi | 41 +- temporalio/api/replication/v1/message_pb2.py | 78 +- temporalio/api/replication/v1/message_pb2.pyi | 33 +- temporalio/api/rules/v1/message_pb2.py | 103 +- temporalio/api/rules/v1/message_pb2.pyi | 71 +- temporalio/api/schedule/v1/message_pb2.py | 296 +- temporalio/api/schedule/v1/message_pb2.pyi | 357 +- .../api/sdk/v1/enhanced_stack_trace_pb2.py | 129 +- .../api/sdk/v1/enhanced_stack_trace_pb2.pyi | 63 +- .../api/sdk/v1/event_group_marker_pb2.py | 91 +- .../api/sdk/v1/event_group_marker_pb2.pyi | 46 +- temporalio/api/sdk/v1/external_storage_pb2.py | 65 +- .../api/sdk/v1/external_storage_pb2.pyi | 15 +- .../api/sdk/v1/task_complete_metadata_pb2.py | 46 +- .../api/sdk/v1/task_complete_metadata_pb2.pyi | 36 +- temporalio/api/sdk/v1/user_metadata_pb2.py | 44 +- temporalio/api/sdk/v1/user_metadata_pb2.pyi | 18 +- temporalio/api/sdk/v1/worker_config_pb2.py | 78 +- temporalio/api/sdk/v1/worker_config_pb2.pyi | 32 +- .../api/sdk/v1/workflow_metadata_pb2.py | 78 +- .../api/sdk/v1/workflow_metadata_pb2.pyi | 49 +- temporalio/api/taskqueue/v1/message_pb2.py | 516 +- temporalio/api/taskqueue/v1/message_pb2.pyi | 346 +- .../testservice/v1/request_response_pb2.py | 160 +- .../testservice/v1/request_response_pb2.pyi | 47 +- .../v1/request_response_pb2_grpc.py | 24 - .../v1/request_response_pb2_grpc.pyi | 20 - temporalio/api/testservice/v1/service_pb2.py | 35 +- .../api/testservice/v1/service_pb2_grpc.py | 45 +- .../api/testservice/v1/service_pb2_grpc.pyi | 313 +- temporalio/api/update/v1/message_pb2.py | 165 +- temporalio/api/update/v1/message_pb2.pyi | 114 +- temporalio/api/version/v1/message_pb2.py | 76 +- temporalio/api/version/v1/message_pb2.pyi | 41 +- temporalio/api/worker/v1/message_pb2.py | 213 +- temporalio/api/worker/v1/message_pb2.pyi | 205 +- temporalio/api/workflow/v1/message_pb2.py | 678 +- temporalio/api/workflow/v1/message_pb2.pyi | 668 +- .../v1/request_response_pb2.py | 5558 +++++++++++--- .../v1/request_response_pb2.pyi | 3385 ++++----- .../v1/request_response_pb2_grpc.py | 24 - .../v1/request_response_pb2_grpc.pyi | 20 - .../api/workflowservice/v1/service_pb2.py | 809 +-- .../workflowservice/v1/service_pb2_grpc.py | 277 +- .../workflowservice/v1/service_pb2_grpc.pyi | 6420 +++-------------- .../activity_result/activity_result_pb2.py | 140 +- .../activity_result/activity_result_pb2.pyi | 100 +- .../proto/activity_task/activity_task_pb2.py | 127 +- .../proto/activity_task/activity_task_pb2.pyi | 97 +- .../child_workflow/child_workflow_pb2.py | 130 +- .../child_workflow/child_workflow_pb2.pyi | 66 +- temporalio/bridge/proto/common/common_pb2.py | 75 +- temporalio/bridge/proto/common/common_pb2.pyi | 16 +- temporalio/bridge/proto/core_interface_pb2.py | 157 +- .../bridge/proto/core_interface_pb2.pyi | 58 +- .../proto/external_data/external_data_pb2.py | 62 +- .../proto/external_data/external_data_pb2.pyi | 19 +- .../bridge/proto/health/v1/health_pb2.py | 65 +- .../bridge/proto/health/v1/health_pb2.pyi | 20 +- temporalio/bridge/proto/nexus/nexus_pb2.py | 117 +- temporalio/bridge/proto/nexus/nexus_pb2.pyi | 89 +- .../workflow_activation_pb2.py | 463 +- .../workflow_activation_pb2.pyi | 410 +- .../workflow_commands_pb2.py | 609 +- .../workflow_commands_pb2.pyi | 509 +- .../workflow_completion_pb2.py | 78 +- .../workflow_completion_pb2.pyi | 50 +- 183 files changed, 26686 insertions(+), 24221 deletions(-) diff --git a/temporalio/api/activity/v1/message_pb2.py b/temporalio/api/activity/v1/message_pb2.py index 04448611d..4f0a4b164 100644 --- a/temporalio/api/activity/v1/message_pb2.py +++ b/temporalio/api/activity/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/activity/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/activity/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -56,28 +46,106 @@ b'\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a$temporal/api/enums/v1/activity.proto\x1a&temporal/api/callback/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\x8c\x01\n\x18\x41\x63tivityExecutionOutcome\x12\x32\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value"\xa7\x03\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x82\x0e\n\x15\x41\x63tivityExecutionInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12>\n\x06status\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12>\n\trun_state\x18\x05 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12\x12\n\ntask_queue\x18\x06 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11heartbeat_details\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0f \x01(\x05\x12\x35\n\x12\x65xecution_duration\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x14 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x15 \x01(\t\x12\x39\n\x16\x63urrent_retry_interval\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x1e\n\x16state_transition_count\x18\x1b \x01(\x03\x12\x18\n\x10state_size_bytes\x18\x1c \x01(\x03\x12\x43\n\x11search_attributes\x18\x1d \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x1e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x1f \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x17\n\x0f\x63\x61nceled_reason\x18 \x01(\t\x12+\n\x05links\x18! \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x1d\n\x15total_heartbeat_count\x18" \x01(\x03\x12\x10\n\x08sdk_name\x18# \x01(\t\x12\x13\n\x0bsdk_version\x18$ \x01(\t\x12.\n\x0bstart_delay\x18% \x01(\x0b\x32\x19.google.protobuf.Duration"\xea\x03\n\x19\x41\x63tivityExecutionListInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x31\n\rschedule_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x06 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x12\n\ntask_queue\x18\x08 \x01(\t\x12\x1e\n\x16state_transition_count\x18\t \x01(\x03\x12\x18\n\x10state_size_bytes\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration"\xff\x01\n\x0c\x43\x61llbackInfo\x12?\n\x07trigger\x18\x01 \x01(\x0b\x32..temporal.api.activity.v1.CallbackInfo.Trigger\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.callback.v1.CallbackInfo\x1a\x10\n\x0e\x41\x63tivityClosed\x1a\x66\n\x07Trigger\x12P\n\x0f\x61\x63tivity_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.activity.v1.CallbackInfo.ActivityClosedH\x00\x42\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.activity.v1.message_pb2", _globals + +_ACTIVITYEXECUTIONOUTCOME = DESCRIPTOR.message_types_by_name["ActivityExecutionOutcome"] +_ACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name["ActivityOptions"] +_ACTIVITYEXECUTIONINFO = DESCRIPTOR.message_types_by_name["ActivityExecutionInfo"] +_ACTIVITYEXECUTIONLISTINFO = DESCRIPTOR.message_types_by_name[ + "ActivityExecutionListInfo" +] +_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] +_CALLBACKINFO_ACTIVITYCLOSED = _CALLBACKINFO.nested_types_by_name["ActivityClosed"] +_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name["Trigger"] +ActivityExecutionOutcome = _reflection.GeneratedProtocolMessageType( + "ActivityExecutionOutcome", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYEXECUTIONOUTCOME, + "__module__": "temporalio.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityExecutionOutcome) + }, +) +_sym_db.RegisterMessage(ActivityExecutionOutcome) + +ActivityOptions = _reflection.GeneratedProtocolMessageType( + "ActivityOptions", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYOPTIONS, + "__module__": "temporalio.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityOptions) + }, +) +_sym_db.RegisterMessage(ActivityOptions) + +ActivityExecutionInfo = _reflection.GeneratedProtocolMessageType( + "ActivityExecutionInfo", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYEXECUTIONINFO, + "__module__": "temporalio.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityExecutionInfo) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1" - _globals["_ACTIVITYEXECUTIONOUTCOME"]._serialized_start = 451 - _globals["_ACTIVITYEXECUTIONOUTCOME"]._serialized_end = 591 - _globals["_ACTIVITYOPTIONS"]._serialized_start = 594 - _globals["_ACTIVITYOPTIONS"]._serialized_end = 1017 - _globals["_ACTIVITYEXECUTIONINFO"]._serialized_start = 1020 - _globals["_ACTIVITYEXECUTIONINFO"]._serialized_end = 2814 - _globals["_ACTIVITYEXECUTIONLISTINFO"]._serialized_start = 2817 - _globals["_ACTIVITYEXECUTIONLISTINFO"]._serialized_end = 3307 - _globals["_CALLBACKINFO"]._serialized_start = 3310 - _globals["_CALLBACKINFO"]._serialized_end = 3565 - _globals["_CALLBACKINFO_ACTIVITYCLOSED"]._serialized_start = 3445 - _globals["_CALLBACKINFO_ACTIVITYCLOSED"]._serialized_end = 3461 - _globals["_CALLBACKINFO_TRIGGER"]._serialized_start = 3463 - _globals["_CALLBACKINFO_TRIGGER"]._serialized_end = 3565 +_sym_db.RegisterMessage(ActivityExecutionInfo) + +ActivityExecutionListInfo = _reflection.GeneratedProtocolMessageType( + "ActivityExecutionListInfo", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYEXECUTIONLISTINFO, + "__module__": "temporalio.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.ActivityExecutionListInfo) + }, +) +_sym_db.RegisterMessage(ActivityExecutionListInfo) + +CallbackInfo = _reflection.GeneratedProtocolMessageType( + "CallbackInfo", + (_message.Message,), + { + "ActivityClosed": _reflection.GeneratedProtocolMessageType( + "ActivityClosed", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO_ACTIVITYCLOSED, + "__module__": "temporalio.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.CallbackInfo.ActivityClosed) + }, + ), + "Trigger": _reflection.GeneratedProtocolMessageType( + "Trigger", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO_TRIGGER, + "__module__": "temporalio.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.CallbackInfo.Trigger) + }, + ), + "DESCRIPTOR": _CALLBACKINFO, + "__module__": "temporalio.api.activity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.activity.v1.CallbackInfo) + }, +) +_sym_db.RegisterMessage(CallbackInfo) +_sym_db.RegisterMessage(CallbackInfo.ActivityClosed) +_sym_db.RegisterMessage(CallbackInfo.Trigger) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.activity.v1B\014MessageProtoP\001Z'go.temporal.io/api/activity/v1;activity\252\002\032Temporalio.Api.Activity.V1\352\002\035Temporalio::Api::Activity::V1" + _ACTIVITYEXECUTIONOUTCOME._serialized_start = 451 + _ACTIVITYEXECUTIONOUTCOME._serialized_end = 591 + _ACTIVITYOPTIONS._serialized_start = 594 + _ACTIVITYOPTIONS._serialized_end = 1017 + _ACTIVITYEXECUTIONINFO._serialized_start = 1020 + _ACTIVITYEXECUTIONINFO._serialized_end = 2814 + _ACTIVITYEXECUTIONLISTINFO._serialized_start = 2817 + _ACTIVITYEXECUTIONLISTINFO._serialized_end = 3307 + _CALLBACKINFO._serialized_start = 3310 + _CALLBACKINFO._serialized_end = 3565 + _CALLBACKINFO_ACTIVITYCLOSED._serialized_start = 3445 + _CALLBACKINFO_ACTIVITYCLOSED._serialized_end = 3461 + _CALLBACKINFO_TRIGGER._serialized_start = 3463 + _CALLBACKINFO_TRIGGER._serialized_end = 3565 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/activity/v1/message_pb2.pyi b/temporalio/api/activity/v1/message_pb2.pyi index 422895886..e57f3860c 100644 --- a/temporalio/api/activity/v1/message_pb2.pyi +++ b/temporalio/api/activity/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -23,14 +22,13 @@ import temporalio.api.failure.v1.message_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.api.taskqueue.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ActivityExecutionOutcome(google.protobuf.message.Message): """The outcome of a completed activity execution: either a successful result or a failure.""" @@ -41,11 +39,9 @@ class ActivityExecutionOutcome(google.protobuf.message.Message): @property def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """The result if the activity completed successfully.""" - @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The failure if the activity completed unsuccessfully.""" - def __init__( self, *, @@ -54,25 +50,22 @@ class ActivityExecutionOutcome(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "result", b"result", "value", b"value" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "result", b"result", "value", b"value" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["value", b"value"] - ) -> typing.Literal["result", "failure"] | None: ... + self, oneof_group: typing_extensions.Literal["value", b"value"] + ) -> typing_extensions.Literal["result", "failure"] | None: ... -Global___ActivityExecutionOutcome: typing_extensions.TypeAlias = ( - ActivityExecutionOutcome -) +global___ActivityExecutionOutcome = ActivityExecutionOutcome -@typing.final class ActivityOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -93,7 +86,6 @@ class ActivityOptions(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -104,7 +96,6 @@ class ActivityOptions(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -114,21 +105,17 @@ class ActivityOptions(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.""" - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ - def __init__( self, *, @@ -142,7 +129,7 @@ class ActivityOptions(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "heartbeat_timeout", b"heartbeat_timeout", "priority", @@ -161,7 +148,7 @@ class ActivityOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "heartbeat_timeout", b"heartbeat_timeout", "priority", @@ -179,9 +166,8 @@ class ActivityOptions(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityOptions: typing_extensions.TypeAlias = ActivityOptions +global___ActivityOptions = ActivityOptions -@typing.final class ActivityExecutionInfo(google.protobuf.message.Message): """Information about a standalone activity.""" @@ -227,34 +213,14 @@ class ActivityExecutionInfo(google.protobuf.message.Message): activity_id: builtins.str """Unique identifier of this activity within its namespace along with run ID (below).""" run_id: builtins.str + @property + def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: + """The type of the activity, a string that maps to a registered activity on a worker.""" status: temporalio.api.enums.v1.activity_pb2.ActivityExecutionStatus.ValueType """A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.""" run_state: temporalio.api.enums.v1.workflow_pb2.PendingActivityState.ValueType """More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.""" task_queue: builtins.str - attempt: builtins.int - """The attempt this activity is currently on. Incremented each time a new attempt is scheduled.""" - last_worker_identity: builtins.str - state_transition_count: builtins.int - """Incremented each time the activity's state is mutated in persistence.""" - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" - canceled_reason: builtins.str - """Set if activity cancelation was requested.""" - total_heartbeat_count: builtins.int - """Total number of heartbeats recorded across all attempts of this activity, including retries.""" - sdk_name: builtins.str - """The name of the SDK of the worker that most recently picked up an attempt of this activity. - Overwritten on each new attempt. Empty if unknown. - """ - sdk_version: builtins.str - """The version of the SDK of the worker that most recently picked up an attempt of this activity. - Overwritten on each new attempt. Empty if unknown. - """ - @property - def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: - """The type of the activity, a string that maps to a registered activity on a worker.""" - @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for an activity completion. Limits how long @@ -263,7 +229,6 @@ class ActivityExecutionInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -273,7 +238,6 @@ class ActivityExecutionInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This @@ -282,51 +246,43 @@ class ActivityExecutionInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.""" - @property def heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request. """ - @property def last_heartbeat_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the last heartbeat was recorded.""" - @property def last_started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the last attempt was started.""" - + attempt: builtins.int + """The attempt this activity is currently on. Incremented each time a new attempt is scheduled.""" @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """How long this activity has been running for, including all attempts and backoff between attempts.""" - @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the activity was originally scheduled via a StartActivityExecution request.""" - @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Scheduled time + schedule to close timeout.""" - @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time when the activity transitioned to a closed state.""" - @property def last_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request. """ - + last_worker_identity: builtins.str @property def current_retry_interval(self) -> google.protobuf.duration_pb2.Duration: """Time from the last attempt failure to the next activity retry. @@ -336,17 +292,14 @@ class ActivityExecutionInfo(google.protobuf.message.Message): This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay. """ - @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last activity attempt completed. If activity has not been completed yet, it will be null.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null. """ - @property def last_deployment_version( self, @@ -354,11 +307,13 @@ class ActivityExecutionInfo(google.protobuf.message.Message): """The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker. """ - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata.""" - + state_transition_count: builtins.int + """Incremented each time the activity's state is mutated in persistence.""" + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" @property def search_attributes( self, @@ -368,7 +323,8 @@ class ActivityExecutionInfo(google.protobuf.message.Message): @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.""" - + canceled_reason: builtins.str + """Set if activity cancelation was requested.""" @property def links( self, @@ -376,11 +332,19 @@ class ActivityExecutionInfo(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to related entities, such as the entity that started this activity.""" - + total_heartbeat_count: builtins.int + """Total number of heartbeats recorded across all attempts of this activity, including retries.""" + sdk_name: builtins.str + """The name of the SDK of the worker that most recently picked up an attempt of this activity. + Overwritten on each new attempt. Empty if unknown. + """ + sdk_version: builtins.str + """The version of the SDK of the worker that most recently picked up an attempt of this activity. + Overwritten on each new attempt. Empty if unknown. + """ @property def start_delay(self) -> google.protobuf.duration_pb2.Duration: """Time to wait before dispatching the first activity task. This delay is not applied to retry attempts.""" - def __init__( self, *, @@ -430,7 +394,7 @@ class ActivityExecutionInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_type", b"activity_type", "close_time", @@ -481,7 +445,7 @@ class ActivityExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -559,9 +523,8 @@ class ActivityExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityExecutionInfo: typing_extensions.TypeAlias = ActivityExecutionInfo +global___ActivityExecutionInfo = ActivityExecutionInfo -@typing.final class ActivityExecutionListInfo(google.protobuf.message.Message): """Limited activity information returned in the list response. When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it @@ -585,40 +548,35 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): """A unique identifier of this activity within its namespace along with run ID (below).""" run_id: builtins.str """The run ID of the standalone activity.""" - status: temporalio.api.enums.v1.activity_pb2.ActivityExecutionStatus.ValueType - """Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not - available in the list response. - """ - task_queue: builtins.str - """The task queue this activity was scheduled on when it was originally started, updated on activity options update.""" - state_transition_count: builtins.int - """Updated on terminal status.""" - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: """The type of the activity, a string that maps to a registered activity on a worker.""" - @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the activity was originally scheduled via a StartActivityExecution request.""" - @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If the activity is in a terminal status, this field represents the time the activity transitioned to that status.""" - + status: temporalio.api.enums.v1.activity_pb2.ActivityExecutionStatus.ValueType + """Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not + available in the list response. + """ @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes from the start request.""" - + task_queue: builtins.str + """The task queue this activity was scheduled on when it was originally started, updated on activity options update.""" + state_transition_count: builtins.int + """Updated on terminal status.""" + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """The difference between close time and scheduled time. This field is only populated if the activity is closed. """ - def __init__( self, *, @@ -637,7 +595,7 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_type", b"activity_type", "close_time", @@ -652,7 +610,7 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -678,17 +636,13 @@ class ActivityExecutionListInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityExecutionListInfo: typing_extensions.TypeAlias = ( - ActivityExecutionListInfo -) +global___ActivityExecutionListInfo = ActivityExecutionListInfo -@typing.final class CallbackInfo(google.protobuf.message.Message): """CallbackInfo contains the state of an attached activity callback.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ActivityClosed(google.protobuf.message.Message): """Trigger for when the activity is closed.""" @@ -698,55 +652,54 @@ class CallbackInfo(google.protobuf.message.Message): self, ) -> None: ... - @typing.final class Trigger(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor ACTIVITY_CLOSED_FIELD_NUMBER: builtins.int @property - def activity_closed(self) -> Global___CallbackInfo.ActivityClosed: ... + def activity_closed(self) -> global___CallbackInfo.ActivityClosed: ... def __init__( self, *, - activity_closed: Global___CallbackInfo.ActivityClosed | None = ..., + activity_closed: global___CallbackInfo.ActivityClosed | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_closed", b"activity_closed", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_closed", b"activity_closed", "variant", b"variant" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["activity_closed"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["activity_closed"] | None: ... TRIGGER_FIELD_NUMBER: builtins.int INFO_FIELD_NUMBER: builtins.int @property - def trigger(self) -> Global___CallbackInfo.Trigger: + def trigger(self) -> global___CallbackInfo.Trigger: """Trigger for this callback.""" - @property def info(self) -> temporalio.api.callback.v1.message_pb2.CallbackInfo: """Common callback info.""" - def __init__( self, *, - trigger: Global___CallbackInfo.Trigger | None = ..., + trigger: global___CallbackInfo.Trigger | None = ..., info: temporalio.api.callback.v1.message_pb2.CallbackInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["info", b"info", "trigger", b"trigger"] + self, + field_name: typing_extensions.Literal["info", b"info", "trigger", b"trigger"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["info", b"info", "trigger", b"trigger"] + self, + field_name: typing_extensions.Literal["info", b"info", "trigger", b"trigger"], ) -> None: ... -Global___CallbackInfo: typing_extensions.TypeAlias = CallbackInfo +global___CallbackInfo = CallbackInfo diff --git a/temporalio/api/batch/v1/message_pb2.py b/temporalio/api/batch/v1/message_pb2.py index e01ecbf4b..cb1e39b73 100644 --- a/temporalio/api/batch/v1/message_pb2.py +++ b/temporalio/api/batch/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/batch/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/batch/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -46,46 +41,182 @@ b'\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\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"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t"\xae\x02\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x38\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01\x12G\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12K\n\x15post_reset_operations\x18\x05 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation"\xc9\x01\n,BatchOperationUpdateWorkflowExecutionOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12V\n\x1aworkflow_execution_options\x18\x02 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xc0\x01\n\x1f\x42\x61tchOperationUnpauseActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x84\x01\n!BatchOperationTriggerWorkflowRule\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x42\x06\n\x04rule"\xf5\x01\n\x1d\x42\x61tchOperationResetActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x06 \x01(\x08\x12)\n\x06jitter\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xf8\x01\n#BatchOperationUpdateActivityOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x06 \x01(\x08\x42\n\n\x08\x61\x63tivityB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.batch.v1.message_pb2", _globals + +_BATCHOPERATIONINFO = DESCRIPTOR.message_types_by_name["BatchOperationInfo"] +_BATCHOPERATIONTERMINATION = DESCRIPTOR.message_types_by_name[ + "BatchOperationTermination" +] +_BATCHOPERATIONSIGNAL = DESCRIPTOR.message_types_by_name["BatchOperationSignal"] +_BATCHOPERATIONCANCELLATION = DESCRIPTOR.message_types_by_name[ + "BatchOperationCancellation" +] +_BATCHOPERATIONDELETION = DESCRIPTOR.message_types_by_name["BatchOperationDeletion"] +_BATCHOPERATIONRESET = DESCRIPTOR.message_types_by_name["BatchOperationReset"] +_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name[ + "BatchOperationUpdateWorkflowExecutionOptions" +] +_BATCHOPERATIONUNPAUSEACTIVITIES = DESCRIPTOR.message_types_by_name[ + "BatchOperationUnpauseActivities" +] +_BATCHOPERATIONTRIGGERWORKFLOWRULE = DESCRIPTOR.message_types_by_name[ + "BatchOperationTriggerWorkflowRule" +] +_BATCHOPERATIONRESETACTIVITIES = DESCRIPTOR.message_types_by_name[ + "BatchOperationResetActivities" +] +_BATCHOPERATIONUPDATEACTIVITYOPTIONS = DESCRIPTOR.message_types_by_name[ + "BatchOperationUpdateActivityOptions" +] +BatchOperationInfo = _reflection.GeneratedProtocolMessageType( + "BatchOperationInfo", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONINFO, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationInfo) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1" - _globals["_BATCHOPERATIONRESET"].fields_by_name["reset_type"]._loaded_options = None - _globals["_BATCHOPERATIONRESET"].fields_by_name[ - "reset_type" - ]._serialized_options = b"\030\001" - _globals["_BATCHOPERATIONRESET"].fields_by_name[ - "reset_reapply_type" - ]._loaded_options = None - _globals["_BATCHOPERATIONRESET"].fields_by_name[ +_sym_db.RegisterMessage(BatchOperationInfo) + +BatchOperationTermination = _reflection.GeneratedProtocolMessageType( + "BatchOperationTermination", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONTERMINATION, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTermination) + }, +) +_sym_db.RegisterMessage(BatchOperationTermination) + +BatchOperationSignal = _reflection.GeneratedProtocolMessageType( + "BatchOperationSignal", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONSIGNAL, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationSignal) + }, +) +_sym_db.RegisterMessage(BatchOperationSignal) + +BatchOperationCancellation = _reflection.GeneratedProtocolMessageType( + "BatchOperationCancellation", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONCANCELLATION, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationCancellation) + }, +) +_sym_db.RegisterMessage(BatchOperationCancellation) + +BatchOperationDeletion = _reflection.GeneratedProtocolMessageType( + "BatchOperationDeletion", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONDELETION, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationDeletion) + }, +) +_sym_db.RegisterMessage(BatchOperationDeletion) + +BatchOperationReset = _reflection.GeneratedProtocolMessageType( + "BatchOperationReset", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONRESET, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationReset) + }, +) +_sym_db.RegisterMessage(BatchOperationReset) + +BatchOperationUpdateWorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( + "BatchOperationUpdateWorkflowExecutionOptions", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions) + }, +) +_sym_db.RegisterMessage(BatchOperationUpdateWorkflowExecutionOptions) + +BatchOperationUnpauseActivities = _reflection.GeneratedProtocolMessageType( + "BatchOperationUnpauseActivities", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONUNPAUSEACTIVITIES, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUnpauseActivities) + }, +) +_sym_db.RegisterMessage(BatchOperationUnpauseActivities) + +BatchOperationTriggerWorkflowRule = _reflection.GeneratedProtocolMessageType( + "BatchOperationTriggerWorkflowRule", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONTRIGGERWORKFLOWRULE, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTriggerWorkflowRule) + }, +) +_sym_db.RegisterMessage(BatchOperationTriggerWorkflowRule) + +BatchOperationResetActivities = _reflection.GeneratedProtocolMessageType( + "BatchOperationResetActivities", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONRESETACTIVITIES, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationResetActivities) + }, +) +_sym_db.RegisterMessage(BatchOperationResetActivities) + +BatchOperationUpdateActivityOptions = _reflection.GeneratedProtocolMessageType( + "BatchOperationUpdateActivityOptions", + (_message.Message,), + { + "DESCRIPTOR": _BATCHOPERATIONUPDATEACTIVITYOPTIONS, + "__module__": "temporalio.api.batch.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationUpdateActivityOptions) + }, +) +_sym_db.RegisterMessage(BatchOperationUpdateActivityOptions) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1" + _BATCHOPERATIONRESET.fields_by_name["reset_type"]._options = None + _BATCHOPERATIONRESET.fields_by_name["reset_type"]._serialized_options = b"\030\001" + _BATCHOPERATIONRESET.fields_by_name["reset_reapply_type"]._options = None + _BATCHOPERATIONRESET.fields_by_name[ "reset_reapply_type" ]._serialized_options = b"\030\001" - _globals["_BATCHOPERATIONINFO"]._serialized_start = 397 - _globals["_BATCHOPERATIONINFO"]._serialized_end = 588 - _globals["_BATCHOPERATIONTERMINATION"]._serialized_start = 590 - _globals["_BATCHOPERATIONTERMINATION"]._serialized_end = 686 - _globals["_BATCHOPERATIONSIGNAL"]._serialized_start = 689 - _globals["_BATCHOPERATIONSIGNAL"]._serialized_end = 842 - _globals["_BATCHOPERATIONCANCELLATION"]._serialized_start = 844 - _globals["_BATCHOPERATIONCANCELLATION"]._serialized_end = 890 - _globals["_BATCHOPERATIONDELETION"]._serialized_start = 892 - _globals["_BATCHOPERATIONDELETION"]._serialized_end = 934 - _globals["_BATCHOPERATIONRESET"]._serialized_start = 937 - _globals["_BATCHOPERATIONRESET"]._serialized_end = 1239 - _globals["_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS"]._serialized_start = 1242 - _globals["_BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS"]._serialized_end = 1443 - _globals["_BATCHOPERATIONUNPAUSEACTIVITIES"]._serialized_start = 1446 - _globals["_BATCHOPERATIONUNPAUSEACTIVITIES"]._serialized_end = 1638 - _globals["_BATCHOPERATIONTRIGGERWORKFLOWRULE"]._serialized_start = 1641 - _globals["_BATCHOPERATIONTRIGGERWORKFLOWRULE"]._serialized_end = 1773 - _globals["_BATCHOPERATIONRESETACTIVITIES"]._serialized_start = 1776 - _globals["_BATCHOPERATIONRESETACTIVITIES"]._serialized_end = 2021 - _globals["_BATCHOPERATIONUPDATEACTIVITYOPTIONS"]._serialized_start = 2024 - _globals["_BATCHOPERATIONUPDATEACTIVITYOPTIONS"]._serialized_end = 2272 + _BATCHOPERATIONINFO._serialized_start = 397 + _BATCHOPERATIONINFO._serialized_end = 588 + _BATCHOPERATIONTERMINATION._serialized_start = 590 + _BATCHOPERATIONTERMINATION._serialized_end = 686 + _BATCHOPERATIONSIGNAL._serialized_start = 689 + _BATCHOPERATIONSIGNAL._serialized_end = 842 + _BATCHOPERATIONCANCELLATION._serialized_start = 844 + _BATCHOPERATIONCANCELLATION._serialized_end = 890 + _BATCHOPERATIONDELETION._serialized_start = 892 + _BATCHOPERATIONDELETION._serialized_end = 934 + _BATCHOPERATIONRESET._serialized_start = 937 + _BATCHOPERATIONRESET._serialized_end = 1239 + _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_start = 1242 + _BATCHOPERATIONUPDATEWORKFLOWEXECUTIONOPTIONS._serialized_end = 1443 + _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_start = 1446 + _BATCHOPERATIONUNPAUSEACTIVITIES._serialized_end = 1638 + _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_start = 1641 + _BATCHOPERATIONTRIGGERWORKFLOWRULE._serialized_end = 1773 + _BATCHOPERATIONRESETACTIVITIES._serialized_start = 1776 + _BATCHOPERATIONRESETACTIVITIES._serialized_end = 2021 + _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_start = 2024 + _BATCHOPERATIONUPDATEACTIVITYOPTIONS._serialized_end = 2272 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/batch/v1/message_pb2.pyi b/temporalio/api/batch/v1/message_pb2.pyi index 0c875cd64..0f7e87da0 100644 --- a/temporalio/api/batch/v1/message_pb2.pyi +++ b/temporalio/api/batch/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -22,14 +21,13 @@ import temporalio.api.enums.v1.reset_pb2 import temporalio.api.rules.v1.message_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class BatchOperationInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -44,11 +42,9 @@ class BatchOperationInfo(google.protobuf.message.Message): @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Batch operation start time""" - @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Batch operation close time""" - def __init__( self, *, @@ -59,13 +55,13 @@ class BatchOperationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "close_time", b"close_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "close_time", b"close_time", "job_id", @@ -77,9 +73,8 @@ class BatchOperationInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___BatchOperationInfo: typing_extensions.TypeAlias = BatchOperationInfo +global___BatchOperationInfo = BatchOperationInfo -@typing.final class BatchOperationTermination(google.protobuf.message.Message): """BatchOperationTermination sends terminate requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.TerminateWorkflowExecutionRequest. @@ -90,12 +85,11 @@ class BatchOperationTermination(google.protobuf.message.Message): DETAILS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int - identity: builtins.str - """The identity of the worker/client""" @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide to the termination event""" - + identity: builtins.str + """The identity of the worker/client""" def __init__( self, *, @@ -103,17 +97,17 @@ class BatchOperationTermination(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["details", b"details", "identity", b"identity"] + self, + field_name: typing_extensions.Literal[ + "details", b"details", "identity", b"identity" + ], ) -> None: ... -Global___BatchOperationTermination: typing_extensions.TypeAlias = ( - BatchOperationTermination -) +global___BatchOperationTermination = BatchOperationTermination -@typing.final class BatchOperationSignal(google.protobuf.message.Message): """BatchOperationSignal sends signals to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.SignalWorkflowExecutionRequest. @@ -127,18 +121,16 @@ class BatchOperationSignal(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int signal: builtins.str """The workflow author-defined name of the signal to send to the workflow""" - identity: builtins.str - """The identity of the worker/client""" @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide with the signal""" - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow. These can include things like auth or tracing tokens. """ - + identity: builtins.str + """The identity of the worker/client""" def __init__( self, *, @@ -148,11 +140,12 @@ class BatchOperationSignal(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["header", b"header", "input", b"input"] + self, + field_name: typing_extensions.Literal["header", b"header", "input", b"input"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "identity", @@ -164,9 +157,8 @@ class BatchOperationSignal(google.protobuf.message.Message): ], ) -> None: ... -Global___BatchOperationSignal: typing_extensions.TypeAlias = BatchOperationSignal +global___BatchOperationSignal = BatchOperationSignal -@typing.final class BatchOperationCancellation(google.protobuf.message.Message): """BatchOperationCancellation sends cancel requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest. @@ -184,14 +176,11 @@ class BatchOperationCancellation(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["identity", b"identity"] + self, field_name: typing_extensions.Literal["identity", b"identity"] ) -> None: ... -Global___BatchOperationCancellation: typing_extensions.TypeAlias = ( - BatchOperationCancellation -) +global___BatchOperationCancellation = BatchOperationCancellation -@typing.final class BatchOperationDeletion(google.protobuf.message.Message): """BatchOperationDeletion sends deletion requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.DeleteWorkflowExecutionRequest. @@ -208,12 +197,11 @@ class BatchOperationDeletion(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["identity", b"identity"] + self, field_name: typing_extensions.Literal["identity", b"identity"] ) -> None: ... -Global___BatchOperationDeletion: typing_extensions.TypeAlias = BatchOperationDeletion +global___BatchOperationDeletion = BatchOperationDeletion -@typing.final class BatchOperationReset(google.protobuf.message.Message): """BatchOperationReset sends reset requests to batch workflows. Keep the parameter in sync with temporalio.api.workflowservice.v1.ResetWorkflowExecutionRequest. @@ -228,14 +216,13 @@ class BatchOperationReset(google.protobuf.message.Message): POST_RESET_OPERATIONS_FIELD_NUMBER: builtins.int identity: builtins.str """The identity of the worker/client.""" + @property + def options(self) -> temporalio.api.common.v1.message_pb2.ResetOptions: + """Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.""" reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType """Deprecated. Use `options`.""" reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType """Deprecated. Use `options`.""" - @property - def options(self) -> temporalio.api.common.v1.message_pb2.ResetOptions: - """Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.""" - @property def post_reset_operations( self, @@ -246,7 +233,6 @@ class BatchOperationReset(google.protobuf.message.Message): to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated """ - def __init__( self, *, @@ -260,11 +246,11 @@ class BatchOperationReset(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["options", b"options"] + self, field_name: typing_extensions.Literal["options", b"options"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "options", @@ -278,9 +264,8 @@ class BatchOperationReset(google.protobuf.message.Message): ], ) -> None: ... -Global___BatchOperationReset: typing_extensions.TypeAlias = BatchOperationReset +global___BatchOperationReset = BatchOperationReset -@typing.final class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Message): """BatchOperationUpdateWorkflowExecutionOptions sends UpdateWorkflowExecutionOptions requests to batch workflows. Keep the parameters in sync with temporalio.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. @@ -298,13 +283,11 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa self, ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.""" - @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. """ - def __init__( self, *, @@ -315,7 +298,7 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_mask", b"update_mask", "workflow_execution_options", @@ -324,7 +307,7 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "update_mask", @@ -334,11 +317,10 @@ class BatchOperationUpdateWorkflowExecutionOptions(google.protobuf.message.Messa ], ) -> None: ... -Global___BatchOperationUpdateWorkflowExecutionOptions: typing_extensions.TypeAlias = ( +global___BatchOperationUpdateWorkflowExecutionOptions = ( BatchOperationUpdateWorkflowExecutionOptions ) -@typing.final class BatchOperationUnpauseActivities(google.protobuf.message.Message): """BatchOperationUnpauseActivities sends unpause requests to batch workflows.""" @@ -363,7 +345,6 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): """If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time. """ - def __init__( self, *, @@ -376,7 +357,7 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "jitter", @@ -389,7 +370,7 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "identity", @@ -407,14 +388,11 @@ class BatchOperationUnpauseActivities(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["activity", b"activity"] - ) -> typing.Literal["type", "match_all"] | None: ... + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["type", "match_all"] | None: ... -Global___BatchOperationUnpauseActivities: typing_extensions.TypeAlias = ( - BatchOperationUnpauseActivities -) +global___BatchOperationUnpauseActivities = BatchOperationUnpauseActivities -@typing.final class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): """BatchOperationTriggerWorkflowRule sends TriggerWorkflowRule requests to batch workflows.""" @@ -430,7 +408,6 @@ class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: """Rule specification to be applied to the workflow without creating a new rule.""" - def __init__( self, *, @@ -439,23 +416,23 @@ class BatchOperationTriggerWorkflowRule(google.protobuf.message.Message): spec: temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["id", b"id", "rule", b"rule", "spec", b"spec"] + self, + field_name: typing_extensions.Literal[ + "id", b"id", "rule", b"rule", "spec", b"spec" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "id", b"id", "identity", b"identity", "rule", b"rule", "spec", b"spec" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["rule", b"rule"] - ) -> typing.Literal["id", "spec"] | None: ... + self, oneof_group: typing_extensions.Literal["rule", b"rule"] + ) -> typing_extensions.Literal["id", "spec"] | None: ... -Global___BatchOperationTriggerWorkflowRule: typing_extensions.TypeAlias = ( - BatchOperationTriggerWorkflowRule -) +global___BatchOperationTriggerWorkflowRule = BatchOperationTriggerWorkflowRule -@typing.final class BatchOperationResetActivities(google.protobuf.message.Message): """BatchOperationResetActivities sends activity reset requests in a batch. NOTE: keep in sync with temporalio.api.workflowservice.v1.ResetActivityRequest @@ -481,17 +458,16 @@ class BatchOperationResetActivities(google.protobuf.message.Message): """Setting this flag will also reset the heartbeat details.""" keep_paused: builtins.bool """If activity is paused, it will remain paused after reset""" - restore_original_options: builtins.bool - """If set, the activity options will be restored to the defaults. - Default options are then options activity was created with. - They are part of the first ActivityTaskScheduled event. - """ @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time. """ - + restore_original_options: builtins.bool + """If set, the activity options will be restored to the defaults. + Default options are then options activity was created with. + They are part of the first ActivityTaskScheduled event. + """ def __init__( self, *, @@ -506,7 +482,7 @@ class BatchOperationResetActivities(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "jitter", @@ -519,7 +495,7 @@ class BatchOperationResetActivities(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "identity", @@ -541,14 +517,11 @@ class BatchOperationResetActivities(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["activity", b"activity"] - ) -> typing.Literal["type", "match_all"] | None: ... + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["type", "match_all"] | None: ... -Global___BatchOperationResetActivities: typing_extensions.TypeAlias = ( - BatchOperationResetActivities -) +global___BatchOperationResetActivities = BatchOperationResetActivities -@typing.final class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): """BatchOperationUpdateActivityOptions sends an update-activity-options requests in a batch. NOTE: keep in sync with temporalio.api.workflowservice.v1.UpdateActivityRequest @@ -566,23 +539,21 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): """The identity of the worker/client.""" type: builtins.str match_all: builtins.bool - restore_original: builtins.bool - """If set, the activity options will be restored to the default. - Default options are then options activity was created with. - They are part of the first ActivityTaskScheduled event. - This flag cannot be combined with any other option; if you supply - restore_original together with other options, the request will be rejected. - """ @property def activity_options( self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Update Activity options. Partial updates are accepted and controlled by update_mask.""" - @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `activity_options` will be applied""" - + restore_original: builtins.bool + """If set, the activity options will be restored to the default. + Default options are then options activity was created with. + They are part of the first ActivityTaskScheduled event. + This flag cannot be combined with any other option; if you supply + restore_original together with other options, the request will be rejected. + """ def __init__( self, *, @@ -596,7 +567,7 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "activity_options", @@ -611,7 +582,7 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "activity_options", @@ -629,9 +600,7 @@ class BatchOperationUpdateActivityOptions(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["activity", b"activity"] - ) -> typing.Literal["type", "match_all"] | None: ... + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["type", "match_all"] | None: ... -Global___BatchOperationUpdateActivityOptions: typing_extensions.TypeAlias = ( - BatchOperationUpdateActivityOptions -) +global___BatchOperationUpdateActivityOptions = BatchOperationUpdateActivityOptions diff --git a/temporalio/api/callback/v1/message_pb2.py b/temporalio/api/callback/v1/message_pb2.py index ae1d6cd4b..5d4ccb917 100644 --- a/temporalio/api/callback/v1/message_pb2.py +++ b/temporalio/api/callback/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/callback/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/callback/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -40,16 +30,22 @@ b'\n&temporal/api/callback/v1/message.proto\x12\x18temporal.api.callback.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a%temporal/api/failure/v1/message.proto"\x97\x03\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12\x35\n\x11registration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x06 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x08 \x01(\tB\x93\x01\n\x1bio.temporal.api.callback.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/callback/v1;callback\xaa\x02\x1aTemporalio.Api.Callback.V1\xea\x02\x1dTemporalio::Api::Callback::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.callback.v1.message_pb2", _globals + +_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] +CallbackInfo = _reflection.GeneratedProtocolMessageType( + "CallbackInfo", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO, + "__module__": "temporalio.api.callback.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.callback.v1.CallbackInfo) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\033io.temporal.api.callback.v1B\014MessageProtoP\001Z'go.temporal.io/api/callback/v1;callback\252\002\032Temporalio.Api.Callback.V1\352\002\035Temporalio::Api::Callback::V1" - _globals["_CALLBACKINFO"]._serialized_start = 215 - _globals["_CALLBACKINFO"]._serialized_end = 622 +_sym_db.RegisterMessage(CallbackInfo) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.callback.v1B\014MessageProtoP\001Z'go.temporal.io/api/callback/v1;callback\252\002\032Temporalio.Api.Callback.V1\352\002\035Temporalio::Api::Callback::V1" + _CALLBACKINFO._serialized_start = 215 + _CALLBACKINFO._serialized_end = 622 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/callback/v1/message_pb2.pyi b/temporalio/api/callback/v1/message_pb2.pyi index 61e942016..ea7d6444b 100644 --- a/temporalio/api/callback/v1/message_pb2.pyi +++ b/temporalio/api/callback/v1/message_pb2.pyi @@ -5,7 +5,6 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message @@ -15,14 +14,13 @@ import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class CallbackInfo(google.protobuf.message.Message): """Common callback information. Specific CallbackInfo messages should embed this and may include additional fields.""" @@ -36,34 +34,29 @@ class CallbackInfo(google.protobuf.message.Message): LAST_ATTEMPT_FAILURE_FIELD_NUMBER: builtins.int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int - state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType - """The current state of the callback.""" - attempt: builtins.int - """The number of attempts made to deliver the callback. - This number represents a minimum bound since the attempt is incremented after the callback request completes. - """ - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" @property def callback(self) -> temporalio.api.common.v1.message_pb2.Callback: """Information on how this callback should be invoked (e.g. its URL and type).""" - @property def registration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the callback was registered.""" - + state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType + """The current state of the callback.""" + attempt: builtins.int + """The number of attempts made to deliver the callback. + This number represents a minimum bound since the attempt is incremented after the callback request completes. + """ @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" - @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" def __init__( self, *, @@ -81,7 +74,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "callback", b"callback", "last_attempt_complete_time", @@ -96,7 +89,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "blocked_reason", @@ -116,4 +109,4 @@ class CallbackInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___CallbackInfo: typing_extensions.TypeAlias = CallbackInfo +global___CallbackInfo = CallbackInfo diff --git a/temporalio/api/cloud/account/v1/message_pb2.py b/temporalio/api/cloud/account/v1/message_pb2.py index d6c361c97..c31a2d3e7 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.py +++ b/temporalio/api/cloud/account/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/account/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/account/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,28 +27,95 @@ b'\n+temporal/api/cloud/account/v1/message.proto\x12\x1dtemporal.api.cloud.account.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto")\n\x0bMetricsSpec\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x02 \x01(\x0c"J\n\x0b\x41\x63\x63ountSpec\x12;\n\x07metrics\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.MetricsSpec"\x16\n\x07Metrics\x12\x0b\n\x03uri\x18\x01 \x01(\t"\xfc\x01\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x37\n\x07metrics\x18\x06 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Metrics"\xbf\x01\n\x10\x41uditLogSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x0ckinesis_sink\x18\x02 \x01(\x0b\x32\'.temporal.api.cloud.sink.v1.KinesisSpecH\x00\x12>\n\x0cpub_sub_sink\x18\x03 \x01(\x0b\x32&.temporal.api.cloud.sink.v1.PubSubSpecH\x00\x12\x0f\n\x07\x65nabled\x18\x04 \x01(\x08\x42\x0b\n\tsink_type"\xb8\x03\n\x0c\x41uditLogSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.account.v1.AuditLogSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12\x37\n\x13last_succeeded_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03\x42\xa7\x01\n io.temporal.api.cloud.account.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/account/v1;account\xaa\x02\x1fTemporalio.Api.Cloud.Account.V1\xea\x02#Temporalio::Api::Cloud::Account::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.account.v1.message_pb2", _globals + +_METRICSSPEC = DESCRIPTOR.message_types_by_name["MetricsSpec"] +_ACCOUNTSPEC = DESCRIPTOR.message_types_by_name["AccountSpec"] +_METRICS = DESCRIPTOR.message_types_by_name["Metrics"] +_ACCOUNT = DESCRIPTOR.message_types_by_name["Account"] +_AUDITLOGSINKSPEC = DESCRIPTOR.message_types_by_name["AuditLogSinkSpec"] +_AUDITLOGSINK = DESCRIPTOR.message_types_by_name["AuditLogSink"] +_AUDITLOGSINK_HEALTH = _AUDITLOGSINK.enum_types_by_name["Health"] +MetricsSpec = _reflection.GeneratedProtocolMessageType( + "MetricsSpec", + (_message.Message,), + { + "DESCRIPTOR": _METRICSSPEC, + "__module__": "temporalio.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.MetricsSpec) + }, +) +_sym_db.RegisterMessage(MetricsSpec) + +AccountSpec = _reflection.GeneratedProtocolMessageType( + "AccountSpec", + (_message.Message,), + { + "DESCRIPTOR": _ACCOUNTSPEC, + "__module__": "temporalio.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AccountSpec) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1" - _globals["_METRICSSPEC"]._serialized_start = 199 - _globals["_METRICSSPEC"]._serialized_end = 240 - _globals["_ACCOUNTSPEC"]._serialized_start = 242 - _globals["_ACCOUNTSPEC"]._serialized_end = 316 - _globals["_METRICS"]._serialized_start = 318 - _globals["_METRICS"]._serialized_end = 340 - _globals["_ACCOUNT"]._serialized_start = 343 - _globals["_ACCOUNT"]._serialized_end = 595 - _globals["_AUDITLOGSINKSPEC"]._serialized_start = 598 - _globals["_AUDITLOGSINKSPEC"]._serialized_end = 789 - _globals["_AUDITLOGSINK"]._serialized_start = 792 - _globals["_AUDITLOGSINK"]._serialized_end = 1232 - _globals["_AUDITLOGSINK_HEALTH"]._serialized_start = 1121 - _globals["_AUDITLOGSINK_HEALTH"]._serialized_end = 1232 +_sym_db.RegisterMessage(AccountSpec) + +Metrics = _reflection.GeneratedProtocolMessageType( + "Metrics", + (_message.Message,), + { + "DESCRIPTOR": _METRICS, + "__module__": "temporalio.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Metrics) + }, +) +_sym_db.RegisterMessage(Metrics) + +Account = _reflection.GeneratedProtocolMessageType( + "Account", + (_message.Message,), + { + "DESCRIPTOR": _ACCOUNT, + "__module__": "temporalio.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.Account) + }, +) +_sym_db.RegisterMessage(Account) + +AuditLogSinkSpec = _reflection.GeneratedProtocolMessageType( + "AuditLogSinkSpec", + (_message.Message,), + { + "DESCRIPTOR": _AUDITLOGSINKSPEC, + "__module__": "temporalio.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AuditLogSinkSpec) + }, +) +_sym_db.RegisterMessage(AuditLogSinkSpec) + +AuditLogSink = _reflection.GeneratedProtocolMessageType( + "AuditLogSink", + (_message.Message,), + { + "DESCRIPTOR": _AUDITLOGSINK, + "__module__": "temporalio.api.cloud.account.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.account.v1.AuditLogSink) + }, +) +_sym_db.RegisterMessage(AuditLogSink) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n io.temporal.api.cloud.account.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/account/v1;account\252\002\037Temporalio.Api.Cloud.Account.V1\352\002#Temporalio::Api::Cloud::Account::V1" + _METRICSSPEC._serialized_start = 199 + _METRICSSPEC._serialized_end = 240 + _ACCOUNTSPEC._serialized_start = 242 + _ACCOUNTSPEC._serialized_end = 316 + _METRICS._serialized_start = 318 + _METRICS._serialized_end = 340 + _ACCOUNT._serialized_start = 343 + _ACCOUNT._serialized_end = 595 + _AUDITLOGSINKSPEC._serialized_start = 598 + _AUDITLOGSINKSPEC._serialized_end = 789 + _AUDITLOGSINK._serialized_start = 792 + _AUDITLOGSINK._serialized_end = 1232 + _AUDITLOGSINK_HEALTH._serialized_start = 1121 + _AUDITLOGSINK_HEALTH._serialized_end = 1232 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/account/v1/message_pb2.pyi b/temporalio/api/cloud/account/v1/message_pb2.pyi index 757882a74..859cd6bd5 100644 --- a/temporalio/api/cloud/account/v1/message_pb2.pyi +++ b/temporalio/api/cloud/account/v1/message_pb2.pyi @@ -22,7 +22,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class MetricsSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -37,35 +36,37 @@ class MetricsSpec(google.protobuf.message.Message): accepted_client_ca: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["accepted_client_ca", b"accepted_client_ca"] + self, + field_name: typing_extensions.Literal[ + "accepted_client_ca", b"accepted_client_ca" + ], ) -> None: ... -Global___MetricsSpec: typing_extensions.TypeAlias = MetricsSpec +global___MetricsSpec = MetricsSpec -@typing.final class AccountSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor METRICS_FIELD_NUMBER: builtins.int @property - def metrics(self) -> Global___MetricsSpec: + def metrics(self) -> global___MetricsSpec: """The metrics specification for this account. If not specified, metrics will not be enabled. """ - def __init__( self, *, - metrics: Global___MetricsSpec | None = ..., + metrics: global___MetricsSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["metrics", b"metrics"] + self, field_name: typing_extensions.Literal["metrics", b"metrics"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["metrics", b"metrics"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["metrics", b"metrics"] + ) -> None: ... -Global___AccountSpec: typing_extensions.TypeAlias = AccountSpec +global___AccountSpec = AccountSpec -@typing.final class Metrics(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -79,11 +80,12 @@ class Metrics(google.protobuf.message.Message): *, uri: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["uri", b"uri"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["uri", b"uri"] + ) -> None: ... -Global___Metrics: typing_extensions.TypeAlias = Metrics +global___Metrics = Metrics -@typing.final class Account(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -95,6 +97,9 @@ class Account(google.protobuf.message.Message): METRICS_FIELD_NUMBER: builtins.int id: builtins.str """The id of the account.""" + @property + def spec(self) -> global___AccountSpec: + """The account specification.""" resource_version: builtins.str """The current version of the account specification. The next update operation will have to include this version. @@ -104,29 +109,25 @@ class Account(google.protobuf.message.Message): async_operation_id: builtins.str """The id of the async operation that is updating the account, if any.""" @property - def spec(self) -> Global___AccountSpec: - """The account specification.""" - - @property - def metrics(self) -> Global___Metrics: + def metrics(self) -> global___Metrics: """Information related to metrics.""" - def __init__( self, *, id: builtins.str = ..., - spec: Global___AccountSpec | None = ..., + spec: global___AccountSpec | None = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., - metrics: Global___Metrics | None = ..., + metrics: global___Metrics | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["metrics", b"metrics", "spec", b"spec"] + self, + field_name: typing_extensions.Literal["metrics", b"metrics", "spec", b"spec"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "id", @@ -142,9 +143,8 @@ class Account(google.protobuf.message.Message): ], ) -> None: ... -Global___Account: typing_extensions.TypeAlias = Account +global___Account = Account -@typing.final class AuditLogSinkSpec(google.protobuf.message.Message): """AuditLogSinkSpec is only used by Audit Log""" @@ -156,16 +156,14 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ENABLED_FIELD_NUMBER: builtins.int name: builtins.str """Name of the sink e.g. "audit_log_01" """ - enabled: builtins.bool - """Enabled indicates whether the sink is enabled or not.""" @property def kinesis_sink(self) -> temporalio.api.cloud.sink.v1.message_pb2.KinesisSpec: """The KinesisSpec when destination_type is Kinesis""" - @property def pub_sub_sink(self) -> temporalio.api.cloud.sink.v1.message_pb2.PubSubSpec: """The PubSubSpec when destination_type is PubSub""" - + enabled: builtins.bool + """Enabled indicates whether the sink is enabled or not.""" def __init__( self, *, @@ -176,7 +174,7 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "kinesis_sink", b"kinesis_sink", "pub_sub_sink", @@ -187,7 +185,7 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "enabled", b"enabled", "kinesis_sink", @@ -201,12 +199,11 @@ class AuditLogSinkSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["sink_type", b"sink_type"] - ) -> typing.Literal["kinesis_sink", "pub_sub_sink"] | None: ... + self, oneof_group: typing_extensions.Literal["sink_type", b"sink_type"] + ) -> typing_extensions.Literal["kinesis_sink", "pub_sub_sink"] | None: ... -Global___AuditLogSinkSpec: typing_extensions.TypeAlias = AuditLogSinkSpec +global___AuditLogSinkSpec = AuditLogSinkSpec -@typing.final class AuditLogSink(google.protobuf.message.Message): """AuditLogSink is only used by Audit Log""" @@ -221,7 +218,7 @@ class AuditLogSink(google.protobuf.message.Message): AuditLogSink._Health.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HEALTH_UNSPECIFIED: AuditLogSink._Health.ValueType # 0 HEALTH_OK: AuditLogSink._Health.ValueType # 1 @@ -255,38 +252,36 @@ class AuditLogSink(google.protobuf.message.Message): """The version of the audit log sink resource.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the audit log sink.""" - health: Global___AuditLogSink.Health.ValueType + @property + def spec(self) -> global___AuditLogSinkSpec: + """The specification details of the audit log sink.""" + health: global___AuditLogSink.Health.ValueType """The health status of the audit log sink.""" error_message: builtins.str """An error message describing any issues with the audit log sink, if applicable.""" - @property - def spec(self) -> Global___AuditLogSinkSpec: - """The specification details of the audit log sink.""" - @property def last_succeeded_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The last succeeded timestamp for the internal workflow responsible for adding data to the sink.""" - def __init__( self, *, name: builtins.str = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., - spec: Global___AuditLogSinkSpec | None = ..., - health: Global___AuditLogSink.Health.ValueType = ..., + spec: global___AuditLogSinkSpec | None = ..., + health: global___AuditLogSink.Health.ValueType = ..., error_message: builtins.str = ..., last_succeeded_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_succeeded_time", b"last_succeeded_time", "spec", b"spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "error_message", b"error_message", "health", @@ -304,4 +299,4 @@ class AuditLogSink(google.protobuf.message.Message): ], ) -> None: ... -Global___AuditLogSink: typing_extensions.TypeAlias = AuditLogSink +global___AuditLogSink = AuditLogSink diff --git a/temporalio/api/cloud/auditlog/v1/message_pb2.py b/temporalio/api/cloud/auditlog/v1/message_pb2.py index 06aefae39..5714d3d23 100644 --- a/temporalio/api/cloud/auditlog/v1/message_pb2.py +++ b/temporalio/api/cloud/auditlog/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/auditlog/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/auditlog/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,18 +21,36 @@ b'\n,temporal/api/cloud/auditlog/v1/message.proto\x12\x1etemporal.api.cloud.auditlog.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto"\x9f\x02\n\tLogRecord\x12-\n\temit_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x0e\n\x06status\x18\x07 \x01(\t\x12\x0f\n\x07version\x18\t \x01(\x05\x12\x0e\n\x06log_id\x18\n \x01(\t\x12<\n\tprincipal\x18\x0c \x01(\x0b\x32).temporal.api.cloud.auditlog.v1.Principal\x12,\n\x0braw_details\x18\r \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x17\n\x0fx_forwarded_for\x18\x0e \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x0f \x01(\t"G\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x12\n\napi_key_id\x18\x04 \x01(\tB\xac\x01\n!io.temporal.api.cloud.auditlog.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/auditlog/v1;auditlog\xaa\x02 Temporalio.Api.Cloud.AuditLog.V1\xea\x02$Temporalio::Api::Cloud::AuditLog::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.auditlog.v1.message_pb2", _globals + +_LOGRECORD = DESCRIPTOR.message_types_by_name["LogRecord"] +_PRINCIPAL = DESCRIPTOR.message_types_by_name["Principal"] +LogRecord = _reflection.GeneratedProtocolMessageType( + "LogRecord", + (_message.Message,), + { + "DESCRIPTOR": _LOGRECORD, + "__module__": "temporalio.api.cloud.auditlog.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.auditlog.v1.LogRecord) + }, +) +_sym_db.RegisterMessage(LogRecord) + +Principal = _reflection.GeneratedProtocolMessageType( + "Principal", + (_message.Message,), + { + "DESCRIPTOR": _PRINCIPAL, + "__module__": "temporalio.api.cloud.auditlog.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.auditlog.v1.Principal) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n!io.temporal.api.cloud.auditlog.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/auditlog/v1;auditlog\252\002 Temporalio.Api.Cloud.AuditLog.V1\352\002$Temporalio::Api::Cloud::AuditLog::V1" - _globals["_LOGRECORD"]._serialized_start = 144 - _globals["_LOGRECORD"]._serialized_end = 431 - _globals["_PRINCIPAL"]._serialized_start = 433 - _globals["_PRINCIPAL"]._serialized_end = 504 +_sym_db.RegisterMessage(Principal) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.auditlog.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/auditlog/v1;auditlog\252\002 Temporalio.Api.Cloud.AuditLog.V1\352\002$Temporalio::Api::Cloud::AuditLog::V1" + _LOGRECORD._serialized_start = 144 + _LOGRECORD._serialized_end = 431 + _PRINCIPAL._serialized_start = 433 + _PRINCIPAL._serialized_end = 504 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/auditlog/v1/message_pb2.pyi b/temporalio/api/cloud/auditlog/v1/message_pb2.pyi index ba930c8b4..4145313c2 100644 --- a/temporalio/api/cloud/auditlog/v1/message_pb2.pyi +++ b/temporalio/api/cloud/auditlog/v1/message_pb2.pyi @@ -5,21 +5,19 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message import google.protobuf.struct_pb2 import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class LogRecord(google.protobuf.message.Message): """LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis.""" @@ -34,6 +32,9 @@ class LogRecord(google.protobuf.message.Message): RAW_DETAILS_FIELD_NUMBER: builtins.int X_FORWARDED_FOR_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + @property + def emit_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Time when the log was emitted.""" operation: builtins.str """The operation performed.""" status: builtins.str @@ -42,22 +43,16 @@ class LogRecord(google.protobuf.message.Message): """The internal version of the log message. Can be used in deduplication if needed.""" log_id: builtins.str """Unique ID for the log record.""" - x_forwarded_for: builtins.str - """The originating IP address of the request.""" - async_operation_id: builtins.str - """The ID of the async operation.""" @property - def emit_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Time when the log was emitted.""" - - @property - def principal(self) -> Global___Principal: + def principal(self) -> global___Principal: """The principal that performed the operation.""" - @property def raw_details(self) -> google.protobuf.struct_pb2.Struct: """The raw details of the operation.""" - + x_forwarded_for: builtins.str + """The originating IP address of the request.""" + async_operation_id: builtins.str + """The ID of the async operation.""" def __init__( self, *, @@ -66,14 +61,14 @@ class LogRecord(google.protobuf.message.Message): status: builtins.str = ..., version: builtins.int = ..., log_id: builtins.str = ..., - principal: Global___Principal | None = ..., + principal: global___Principal | None = ..., raw_details: google.protobuf.struct_pb2.Struct | None = ..., x_forwarded_for: builtins.str = ..., async_operation_id: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "emit_time", b"emit_time", "principal", @@ -84,7 +79,7 @@ class LogRecord(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "emit_time", @@ -106,9 +101,8 @@ class LogRecord(google.protobuf.message.Message): ], ) -> None: ... -Global___LogRecord: typing_extensions.TypeAlias = LogRecord +global___LogRecord = LogRecord -@typing.final class Principal(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -136,9 +130,9 @@ class Principal(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "api_key_id", b"api_key_id", "id", b"id", "name", b"name", "type", b"type" ], ) -> None: ... -Global___Principal: typing_extensions.TypeAlias = Principal +global___Principal = Principal diff --git a/temporalio/api/cloud/billing/v1/message_pb2.py b/temporalio/api/cloud/billing/v1/message_pb2.py index fec258506..4cbf846f5 100644 --- a/temporalio/api/cloud/billing/v1/message_pb2.py +++ b/temporalio/api/cloud/billing/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/billing/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/billing/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,26 +21,64 @@ b'\n+temporal/api/cloud/billing/v1/message.proto\x12\x1dtemporal.api.cloud.billing.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfd\x03\n\x11\x42illingReportSpec\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n download_url_expiration_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12^\n\x0bgranularity\x18\x05 \x01(\x0e\x32I.temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity"\xbb\x01\n\x18\x42illingReportGranularity\x12*\n&BILLING_REPORT_GRANULARITY_UNSPECIFIED\x10\x00\x12%\n!BILLING_REPORT_GRANULARITY_HOURLY\x10\x01\x12$\n BILLING_REPORT_GRANULARITY_DAILY\x10\x02\x12&\n"BILLING_REPORT_GRANULARITY_MONTHLY\x10\x03"\xa8\x06\n\rBillingReport\x12\n\n\x02id\x18\x01 \x01(\t\x12N\n\x05state\x18\x02 \x01(\x0e\x32?.temporal.api.cloud.billing.v1.BillingReport.BillingReportState\x12>\n\x04spec\x18\x03 \x01(\x0b\x32\x30.temporal.api.cloud.billing.v1.BillingReportSpec\x12L\n\rdownload_info\x18\x04 \x03(\x0b\x32\x35.temporal.api.cloud.billing.v1.BillingReport.Download\x12\x32\n\x0erequested_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0egenerated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x61sync_operation_id\x18\x07 \x01(\t\x1a\x80\x02\n\x08\x44ownload\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x37\n\x13url_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x0b\x66ile_format\x18\x03 \x01(\x0e\x32@.temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat\x12\x17\n\x0f\x66ile_size_bytes\x18\x04 \x01(\x03">\n\nFileFormat\x12\x1b\n\x17\x46ILE_FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46ILE_FORMAT_CSV\x10\x01"\xa5\x01\n\x12\x42illingReportState\x12$\n BILLING_REPORT_STATE_UNSPECIFIED\x10\x00\x12$\n BILLING_REPORT_STATE_IN_PROGRESS\x10\x01\x12"\n\x1e\x42ILLING_REPORT_STATE_GENERATED\x10\x02\x12\x1f\n\x1b\x42ILLING_REPORT_STATE_FAILED\x10\x03\x42\xa7\x01\n io.temporal.api.cloud.billing.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/cloud/billing/v1;billing\xaa\x02\x1fTemporalio.Api.Cloud.Billing.V1\xea\x02#Temporalio::Api::Cloud::Billing::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.billing.v1.message_pb2", _globals + +_BILLINGREPORTSPEC = DESCRIPTOR.message_types_by_name["BillingReportSpec"] +_BILLINGREPORT = DESCRIPTOR.message_types_by_name["BillingReport"] +_BILLINGREPORT_DOWNLOAD = _BILLINGREPORT.nested_types_by_name["Download"] +_BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY = _BILLINGREPORTSPEC.enum_types_by_name[ + "BillingReportGranularity" +] +_BILLINGREPORT_DOWNLOAD_FILEFORMAT = _BILLINGREPORT_DOWNLOAD.enum_types_by_name[ + "FileFormat" +] +_BILLINGREPORT_BILLINGREPORTSTATE = _BILLINGREPORT.enum_types_by_name[ + "BillingReportState" +] +BillingReportSpec = _reflection.GeneratedProtocolMessageType( + "BillingReportSpec", + (_message.Message,), + { + "DESCRIPTOR": _BILLINGREPORTSPEC, + "__module__": "temporalio.api.cloud.billing.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.billing.v1.BillingReportSpec) + }, +) +_sym_db.RegisterMessage(BillingReportSpec) + +BillingReport = _reflection.GeneratedProtocolMessageType( + "BillingReport", + (_message.Message,), + { + "Download": _reflection.GeneratedProtocolMessageType( + "Download", + (_message.Message,), + { + "DESCRIPTOR": _BILLINGREPORT_DOWNLOAD, + "__module__": "temporalio.api.cloud.billing.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.billing.v1.BillingReport.Download) + }, + ), + "DESCRIPTOR": _BILLINGREPORT, + "__module__": "temporalio.api.cloud.billing.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.billing.v1.BillingReport) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n io.temporal.api.cloud.billing.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/billing/v1;billing\252\002\037Temporalio.Api.Cloud.Billing.V1\352\002#Temporalio::Api::Cloud::Billing::V1" - _globals["_BILLINGREPORTSPEC"]._serialized_start = 144 - _globals["_BILLINGREPORTSPEC"]._serialized_end = 653 - _globals["_BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY"]._serialized_start = 466 - _globals["_BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY"]._serialized_end = 653 - _globals["_BILLINGREPORT"]._serialized_start = 656 - _globals["_BILLINGREPORT"]._serialized_end = 1464 - _globals["_BILLINGREPORT_DOWNLOAD"]._serialized_start = 1040 - _globals["_BILLINGREPORT_DOWNLOAD"]._serialized_end = 1296 - _globals["_BILLINGREPORT_DOWNLOAD_FILEFORMAT"]._serialized_start = 1234 - _globals["_BILLINGREPORT_DOWNLOAD_FILEFORMAT"]._serialized_end = 1296 - _globals["_BILLINGREPORT_BILLINGREPORTSTATE"]._serialized_start = 1299 - _globals["_BILLINGREPORT_BILLINGREPORTSTATE"]._serialized_end = 1464 +_sym_db.RegisterMessage(BillingReport) +_sym_db.RegisterMessage(BillingReport.Download) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n io.temporal.api.cloud.billing.v1B\014MessageProtoP\001Z+go.temporal.io/api/cloud/billing/v1;billing\252\002\037Temporalio.Api.Cloud.Billing.V1\352\002#Temporalio::Api::Cloud::Billing::V1" + _BILLINGREPORTSPEC._serialized_start = 144 + _BILLINGREPORTSPEC._serialized_end = 653 + _BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY._serialized_start = 466 + _BILLINGREPORTSPEC_BILLINGREPORTGRANULARITY._serialized_end = 653 + _BILLINGREPORT._serialized_start = 656 + _BILLINGREPORT._serialized_end = 1464 + _BILLINGREPORT_DOWNLOAD._serialized_start = 1040 + _BILLINGREPORT_DOWNLOAD._serialized_end = 1296 + _BILLINGREPORT_DOWNLOAD_FILEFORMAT._serialized_start = 1234 + _BILLINGREPORT_DOWNLOAD_FILEFORMAT._serialized_end = 1296 + _BILLINGREPORT_BILLINGREPORTSTATE._serialized_start = 1299 + _BILLINGREPORT_BILLINGREPORTSTATE._serialized_end = 1464 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/billing/v1/message_pb2.pyi b/temporalio/api/cloud/billing/v1/message_pb2.pyi index c8c4e8ab4..7828afffa 100644 --- a/temporalio/api/cloud/billing/v1/message_pb2.pyi +++ b/temporalio/api/cloud/billing/v1/message_pb2.pyi @@ -22,7 +22,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class BillingReportSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -35,7 +34,7 @@ class BillingReportSpec(google.protobuf.message.Message): BillingReportSpec._BillingReportGranularity.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BILLING_REPORT_GRANULARITY_UNSPECIFIED: ( BillingReportSpec._BillingReportGranularity.ValueType @@ -71,29 +70,26 @@ class BillingReportSpec(google.protobuf.message.Message): DOWNLOAD_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int GRANULARITY_FIELD_NUMBER: builtins.int - description: builtins.str - """The description for the billing report. - Optional, default is empty. - """ - granularity: Global___BillingReportSpec.BillingReportGranularity.ValueType - """The data granularity of the billing report. - Optional, default is hourly. - temporal:versioning:min_version=v0.16.0 - """ @property def start_time_inclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """The start time of the billing report (in UTC).""" - @property def end_time_exclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """The end time of the billing report (in UTC).""" - @property def download_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration: """The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour. """ - + description: builtins.str + """The description for the billing report. + Optional, default is empty. + """ + granularity: global___BillingReportSpec.BillingReportGranularity.ValueType + """The data granularity of the billing report. + Optional, default is hourly. + temporal:versioning:min_version=v0.16.0 + """ def __init__( self, *, @@ -102,11 +98,11 @@ class BillingReportSpec(google.protobuf.message.Message): download_url_expiration_duration: google.protobuf.duration_pb2.Duration | None = ..., description: builtins.str = ..., - granularity: Global___BillingReportSpec.BillingReportGranularity.ValueType = ..., + granularity: global___BillingReportSpec.BillingReportGranularity.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "download_url_expiration_duration", b"download_url_expiration_duration", "end_time_exclusive", @@ -117,7 +113,7 @@ class BillingReportSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "download_url_expiration_duration", @@ -131,9 +127,8 @@ class BillingReportSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___BillingReportSpec: typing_extensions.TypeAlias = BillingReportSpec +global___BillingReportSpec = BillingReportSpec -@typing.final class BillingReport(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -146,7 +141,7 @@ class BillingReport(google.protobuf.message.Message): BillingReport._BillingReportState.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BILLING_REPORT_STATE_UNSPECIFIED: ( BillingReport._BillingReportState.ValueType @@ -165,7 +160,6 @@ class BillingReport(google.protobuf.message.Message): BILLING_REPORT_STATE_GENERATED: BillingReport.BillingReportState.ValueType # 2 BILLING_REPORT_STATE_FAILED: BillingReport.BillingReportState.ValueType # 3 - @typing.final class Download(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -178,7 +172,7 @@ class BillingReport(google.protobuf.message.Message): BillingReport.Download._FileFormat.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor FILE_FORMAT_UNSPECIFIED: BillingReport.Download._FileFormat.ValueType # 0 FILE_FORMAT_CSV: BillingReport.Download._FileFormat.ValueType # 1 @@ -193,29 +187,30 @@ class BillingReport(google.protobuf.message.Message): FILE_SIZE_BYTES_FIELD_NUMBER: builtins.int url: builtins.str """The download url.""" - file_format: Global___BillingReport.Download.FileFormat.ValueType - """The file format of the billing report""" - file_size_bytes: builtins.int - """The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc.""" @property def url_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the download url will expire.""" - + file_format: global___BillingReport.Download.FileFormat.ValueType + """The file format of the billing report""" + file_size_bytes: builtins.int + """The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc.""" def __init__( self, *, url: builtins.str = ..., url_expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - file_format: Global___BillingReport.Download.FileFormat.ValueType = ..., + file_format: global___BillingReport.Download.FileFormat.ValueType = ..., file_size_bytes: builtins.int = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal["url_expiration_time", b"url_expiration_time"], + field_name: typing_extensions.Literal[ + "url_expiration_time", b"url_expiration_time" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "file_format", b"file_format", "file_size_bytes", @@ -236,39 +231,35 @@ class BillingReport(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int id: builtins.str """The id of the billing report.""" - state: Global___BillingReport.BillingReportState.ValueType + state: global___BillingReport.BillingReportState.ValueType """The current state of the billing report.""" - async_operation_id: builtins.str - """The async operation id associated with the billing report generation.""" @property - def spec(self) -> Global___BillingReportSpec: + def spec(self) -> global___BillingReportSpec: """The spec used to generate this billing report.""" - @property def download_info( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___BillingReport.Download + global___BillingReport.Download ]: """The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.) """ - @property def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the billing report was requested.""" - @property def generated_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the billing report generation completed.""" - + async_operation_id: builtins.str + """The async operation id associated with the billing report generation.""" def __init__( self, *, id: builtins.str = ..., - state: Global___BillingReport.BillingReportState.ValueType = ..., - spec: Global___BillingReportSpec | None = ..., - download_info: collections.abc.Iterable[Global___BillingReport.Download] + state: global___BillingReport.BillingReportState.ValueType = ..., + spec: global___BillingReportSpec | None = ..., + download_info: collections.abc.Iterable[global___BillingReport.Download] | None = ..., requested_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., generated_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -276,7 +267,7 @@ class BillingReport(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "generated_time", b"generated_time", "requested_time", @@ -287,7 +278,7 @@ class BillingReport(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "download_info", @@ -305,4 +296,4 @@ class BillingReport(google.protobuf.message.Message): ], ) -> None: ... -Global___BillingReport: typing_extensions.TypeAlias = BillingReport +global___BillingReport = BillingReport diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py index 83d622c43..5d7a6a28a 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/cloudservice/v1/request_response.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/cloudservice/v1/request_response.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -61,338 +51,2372 @@ b'\n9temporal/api/cloud/cloudservice/v1/request_response.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a-temporal/api/cloud/operation/v1/message.proto\x1a,temporal/api/cloud/identity/v1/message.proto\x1a-temporal/api/cloud/namespace/v1/message.proto\x1a)temporal/api/cloud/nexus/v1/message.proto\x1a*temporal/api/cloud/region/v1/message.proto\x1a+temporal/api/cloud/account/v1/message.proto\x1a)temporal/api/cloud/usage/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto\x1a,temporal/api/cloud/auditlog/v1/message.proto\x1a+temporal/api/cloud/billing/v1/message.proto"\x1b\n\x19GetCurrentIdentityRequest"\xed\x01\n\x1aGetCurrentIdentityResponse\x12\x34\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.UserH\x00\x12I\n\x0fservice_account\x18\x02 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccountH\x00\x12\x41\n\x11principal_api_key\x18\x03 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKeyB\x0b\n\tprincipal"Z\n\x0fGetUsersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t"`\n\x10GetUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.identity.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"!\n\x0eGetUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.identity.v1.User"g\n\x11\x43reateUserRequest\x12\x36\n\x04spec\x18\x01 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"o\n\x12\x43reateUserResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x11UpdateUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x36\n\x04spec\x18\x02 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"^\n\x12UpdateUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"Z\n\x11\x44\x65leteUserRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"^\n\x12\x44\x65leteUserResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xba\x01\n\x1dSetUserNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"j\n\x1eSetUserNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetAsyncOperationRequest\x12\x1a\n\x12\x61sync_operation_id\x18\x01 \x01(\t"e\n\x19GetAsyncOperationResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf3\x01\n\x16\x43reateNamespaceRequest\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t\x12R\n\x04tags\x18\x04 \x03(\x0b\x32\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"v\n\x17\x43reateNamespaceResponse\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"K\n\x14GetNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t"p\n\x15GetNamespacesResponse\x12>\n\nnamespaces\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"(\n\x13GetNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"U\n\x14GetNamespaceResponse\x12=\n\tnamespace\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Namespace"\x9f\x01\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc6\x01\n"RenameCustomSearchAttributeRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12-\n%existing_custom_search_attribute_name\x18\x02 \x01(\t\x12(\n new_custom_search_attribute_name\x18\x03 \x01(\t\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#RenameCustomSearchAttributeResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"a\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteNamespaceResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"_\n\x1e\x46\x61iloverNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"k\n\x1f\x46\x61iloverNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"t\n\x19\x41\x64\x64NamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"f\n\x1a\x41\x64\x64NamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"w\n\x1c\x44\x65leteNamespaceRegionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"i\n\x1d\x44\x65leteNamespaceRegionResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x13\n\x11GetRegionsRequest"K\n\x12GetRegionsResponse\x12\x35\n\x07regions\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.region.v1.Region""\n\x10GetRegionRequest\x12\x0e\n\x06region\x18\x01 \x01(\t"I\n\x11GetRegionResponse\x12\x34\n\x06region\x18\x01 \x01(\x0b\x32$.temporal.api.cloud.region.v1.Region"\xae\x01\n\x11GetApiKeysRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08owner_id\x18\x03 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x05 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType"g\n\x12GetApiKeysResponse\x12\x38\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t""\n\x10GetApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t"L\n\x11GetApiKeyResponse\x12\x37\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.ApiKey"k\n\x13\x43reateApiKeyRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x7f\n\x14\x43reateApiKeyResponse\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x95\x01\n\x13UpdateApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x38\n\x04spec\x18\x02 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"`\n\x14UpdateApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"[\n\x13\x44\x65leteApiKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"`\n\x14\x44\x65leteApiKeyResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x18GetNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x1b\n\x13target_namespace_id\x18\x03 \x01(\t\x12\x19\n\x11target_task_queue\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x05 \x01(\t"n\n\x19GetNexusEndpointsResponse\x12\x38\n\tendpoints\x18\x01 \x03(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t".\n\x17GetNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t"S\n\x18GetNexusEndpointResponse\x12\x37\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32%.temporal.api.cloud.nexus.v1.Endpoint"q\n\x1a\x43reateNexusEndpointRequest\x12\x37\n\x04spec\x18\x01 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"|\n\x1b\x43reateNexusEndpointResponse\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xa0\x01\n\x1aUpdateNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x37\n\x04spec\x18\x02 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"g\n\x1bUpdateNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"g\n\x1a\x44\x65leteNexusEndpointRequest\x12\x13\n\x0b\x65ndpoint_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"g\n\x1b\x44\x65leteNexusEndpointResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xf5\x02\n\x14GetUserGroupsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12`\n\x0cgoogle_group\x18\x05 \x01(\x0b\x32J.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter\x12\\\n\nscim_group\x18\x06 \x01(\x0b\x32H.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter\x1a*\n\x11GoogleGroupFilter\x12\x15\n\remail_address\x18\x01 \x01(\t\x1a!\n\x0fSCIMGroupFilter\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"k\n\x15GetUserGroupsResponse\x12\x39\n\x06groups\x18\x01 \x03(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\'\n\x13GetUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t"P\n\x14GetUserGroupResponse\x12\x38\n\x05group\x18\x01 \x01(\x0b\x32).temporal.api.cloud.identity.v1.UserGroup"q\n\x16\x43reateUserGroupRequest\x12;\n\x04spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"u\n\x17\x43reateUserGroupResponse\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x9d\x01\n\x16UpdateUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12;\n\x04spec\x18\x02 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"c\n\x17UpdateUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"`\n\x16\x44\x65leteUserGroupRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"c\n\x17\x44\x65leteUserGroupResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xc0\x01\n"SetUserGroupNamespaceAccessRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"o\n#SetUserGroupNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x8f\x01\n\x19\x41\x64\x64UserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"f\n\x1a\x41\x64\x64UserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x92\x01\n\x1cRemoveUserGroupMemberRequest\x12\x10\n\x08group_id\x18\x01 \x01(\t\x12\x44\n\tmember_id\x18\x02 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"i\n\x1dRemoveUserGroupMemberResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"U\n\x1aGetUserGroupMembersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x10\n\x08group_id\x18\x03 \x01(\t"x\n\x1bGetUserGroupMembersResponse\x12@\n\x07members\x18\x01 \x03(\x0b\x32/.temporal.api.cloud.identity.v1.UserGroupMember\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"{\n\x1b\x43reateServiceAccountRequest\x12@\n\x04spec\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x84\x01\n\x1c\x43reateServiceAccountResponse\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"6\n\x18GetServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t"d\n\x19GetServiceAccountResponse\x12G\n\x0fservice_account\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount"B\n\x19GetServiceAccountsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"~\n\x1aGetServiceAccountsResponse\x12G\n\x0fservice_account\x18\x01 \x03(\x0b\x32..temporal.api.cloud.identity.v1.ServiceAccount\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xb1\x01\n\x1bUpdateServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12@\n\x04spec\x18\x02 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"h\n\x1cUpdateServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xcf\x01\n\'SetServiceAccountNamespaceAccessRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t"t\n(SetServiceAccountNamespaceAccessResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"o\n\x1b\x44\x65leteServiceAccountRequest\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"h\n\x1c\x44\x65leteServiceAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xaa\x01\n\x0fGetUsageRequest\x12\x38\n\x14start_time_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"d\n\x10GetUsageResponse\x12\x37\n\tsummaries\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.Summary\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x13\n\x11GetAccountRequest"M\n\x12GetAccountResponse\x12\x37\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32&.temporal.api.cloud.account.v1.Account"\x86\x01\n\x14UpdateAccountRequest\x12\x38\n\x04spec\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.account.v1.AccountSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"a\n\x15UpdateAccountResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x90\x01\n CreateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!CreateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"@\n\x1dGetNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t"[\n\x1eGetNamespaceExportSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink"Z\n\x1eGetNamespaceExportSinksRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"v\n\x1fGetNamespaceExportSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.namespace.v1.ExportSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xaa\x01\n UpdateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!UpdateNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"y\n DeleteNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"m\n!DeleteNamespaceExportSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"v\n"ValidateNamespaceExportSinkRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12=\n\x04spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec"%\n#ValidateNamespaceExportSinkResponse"\x82\x02\n\x1aUpdateNamespaceTagsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12h\n\x0etags_to_upsert\x18\x02 \x03(\x0b\x32P.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry\x12\x16\n\x0etags_to_remove\x18\x03 \x03(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x1a\x33\n\x11TagsToUpsertEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"g\n\x1bUpdateNamespaceTagsResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x87\x01\n\x1d\x43reateConnectivityRuleRequest\x12J\n\x04spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x88\x01\n\x1e\x43reateConnectivityRuleResponse\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation":\n\x1aGetConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t"r\n\x1bGetConnectivityRuleResponse\x12S\n\x11\x63onnectivity_rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule"W\n\x1bGetConnectivityRulesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t"\x8d\x01\n\x1cGetConnectivityRulesResponse\x12T\n\x12\x63onnectivity_rules\x18\x01 \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"s\n\x1d\x44\x65leteConnectivityRuleRequest\x12\x1c\n\x14\x63onnectivity_rule_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"j\n\x1e\x44\x65leteConnectivityRuleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\xae\x01\n\x13GetAuditLogsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x38\n\x14start_time_inclusive\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x65nd_time_exclusive\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"h\n\x14GetAuditLogsResponse\x12\x37\n\x04logs\x18\x01 \x03(\x0b\x32).temporal.api.cloud.auditlog.v1.LogRecord\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"c\n"ValidateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec"%\n#ValidateAccountAuditLogSinkResponse"}\n CreateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"m\n!CreateAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"-\n\x1dGetAccountAuditLogSinkRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"[\n\x1eGetAccountAuditLogSinkResponse\x12\x39\n\x04sink\x18\x01 \x01(\x0b\x32+.temporal.api.cloud.account.v1.AuditLogSink"G\n\x1eGetAccountAuditLogSinksRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"v\n\x1fGetAccountAuditLogSinksResponse\x12:\n\x05sinks\x18\x01 \x03(\x0b\x32+.temporal.api.cloud.account.v1.AuditLogSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x97\x01\n UpdateAccountAuditLogSinkRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.account.v1.AuditLogSinkSpec\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!UpdateAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"f\n DeleteAccountAuditLogSinkRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"m\n!DeleteAccountAuditLogSinkResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"4\n\x1fGetNamespaceCapacityInfoRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"q\n GetNamespaceCapacityInfoResponse\x12M\n\rcapacity_info\x18\x01 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo"x\n\x1a\x43reateBillingReportRequest\x12>\n\x04spec\x18\x01 \x01(\x0b\x32\x30.temporal.api.cloud.billing.v1.BillingReportSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"\x82\x01\n\x1b\x43reateBillingReportResponse\x12\x19\n\x11\x62illing_report_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"4\n\x17GetBillingReportRequest\x12\x19\n\x11\x62illing_report_id\x18\x01 \x01(\t"`\n\x18GetBillingReportResponse\x12\x44\n\x0e\x62illing_report\x18\x01 \x01(\x0b\x32,.temporal.api.cloud.billing.v1.BillingReport">\n\x15GetCustomRolesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"s\n\x16GetCustomRolesResponse\x12@\n\x0c\x63ustom_roles\x18\x01 \x03(\x0b\x32*.temporal.api.cloud.identity.v1.CustomRole\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\'\n\x14GetCustomRoleRequest\x12\x0f\n\x07role_id\x18\x01 \x01(\t"X\n\x15GetCustomRoleResponse\x12?\n\x0b\x63ustom_role\x18\x01 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.CustomRole"s\n\x17\x43reateCustomRoleRequest\x12<\n\x04spec\x18\x01 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CustomRoleSpec\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"u\n\x18\x43reateCustomRoleResponse\x12\x0f\n\x07role_id\x18\x01 \x01(\t\x12H\n\x0f\x61sync_operation\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"\x9e\x01\n\x17UpdateCustomRoleRequest\x12\x0f\n\x07role_id\x18\x01 \x01(\t\x12<\n\x04spec\x18\x02 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CustomRoleSpec\x12\x18\n\x10resource_version\x18\x03 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t"d\n\x18UpdateCustomRoleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"`\n\x17\x44\x65leteCustomRoleRequest\x12\x0f\n\x07role_id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x1a\n\x12\x61sync_operation_id\x18\x03 \x01(\t"d\n\x18\x44\x65leteCustomRoleResponse\x12H\n\x0f\x61sync_operation\x18\x01 \x01(\x0b\x32/.temporal.api.cloud.operation.v1.AsyncOperation"^\n"GetUserNamespaceAssignmentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"\x86\x01\n#GetUserNamespaceAssignmentsResponse\x12\x46\n\x05users\x18\x01 \x03(\x0b\x32\x37.temporal.api.cloud.identity.v1.UserNamespaceAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"h\n,GetServiceAccountNamespaceAssignmentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"\xa5\x01\n-GetServiceAccountNamespaceAssignmentsResponse\x12[\n\x10service_accounts\x18\x01 \x03(\x0b\x32\x41.temporal.api.cloud.identity.v1.ServiceAccountNamespaceAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"c\n\'GetUserGroupNamespaceAssignmentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"\x91\x01\n(GetUserGroupNamespaceAssignmentsResponse\x12L\n\x06groups\x18\x01 \x03(\x0b\x32<.temporal.api.cloud.identity.v1.UserGroupNamespaceAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\xc8\x01\n%io.temporal.api.cloud.cloudservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.cloudservice.v1.request_response_pb2", _globals + +_GETCURRENTIDENTITYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetCurrentIdentityRequest" +] +_GETCURRENTIDENTITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetCurrentIdentityResponse" +] +_GETUSERSREQUEST = DESCRIPTOR.message_types_by_name["GetUsersRequest"] +_GETUSERSRESPONSE = DESCRIPTOR.message_types_by_name["GetUsersResponse"] +_GETUSERREQUEST = DESCRIPTOR.message_types_by_name["GetUserRequest"] +_GETUSERRESPONSE = DESCRIPTOR.message_types_by_name["GetUserResponse"] +_CREATEUSERREQUEST = DESCRIPTOR.message_types_by_name["CreateUserRequest"] +_CREATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserResponse"] +_UPDATEUSERREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserRequest"] +_UPDATEUSERRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserResponse"] +_DELETEUSERREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserRequest"] +_DELETEUSERRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserResponse"] +_SETUSERNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ + "SetUserNamespaceAccessRequest" +] +_SETUSERNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetUserNamespaceAccessResponse" +] +_GETASYNCOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["GetAsyncOperationRequest"] +_GETASYNCOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetAsyncOperationResponse" +] +_CREATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["CreateNamespaceRequest"] +_CREATENAMESPACEREQUEST_TAGSENTRY = _CREATENAMESPACEREQUEST.nested_types_by_name[ + "TagsEntry" +] +_CREATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["CreateNamespaceResponse"] +_GETNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["GetNamespacesRequest"] +_GETNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["GetNamespacesResponse"] +_GETNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["GetNamespaceRequest"] +_GETNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["GetNamespaceResponse"] +_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] +_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] +_RENAMECUSTOMSEARCHATTRIBUTEREQUEST = DESCRIPTOR.message_types_by_name[ + "RenameCustomSearchAttributeRequest" +] +_RENAMECUSTOMSEARCHATTRIBUTERESPONSE = DESCRIPTOR.message_types_by_name[ + "RenameCustomSearchAttributeResponse" +] +_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] +_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] +_FAILOVERNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ + "FailoverNamespaceRegionRequest" +] +_FAILOVERNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "FailoverNamespaceRegionResponse" +] +_ADDNAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ + "AddNamespaceRegionRequest" +] +_ADDNAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddNamespaceRegionResponse" +] +_DELETENAMESPACEREGIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceRegionRequest" +] +_DELETENAMESPACEREGIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceRegionResponse" +] +_GETREGIONSREQUEST = DESCRIPTOR.message_types_by_name["GetRegionsRequest"] +_GETREGIONSRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionsResponse"] +_GETREGIONREQUEST = DESCRIPTOR.message_types_by_name["GetRegionRequest"] +_GETREGIONRESPONSE = DESCRIPTOR.message_types_by_name["GetRegionResponse"] +_GETAPIKEYSREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeysRequest"] +_GETAPIKEYSRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeysResponse"] +_GETAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["GetApiKeyRequest"] +_GETAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["GetApiKeyResponse"] +_CREATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["CreateApiKeyRequest"] +_CREATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["CreateApiKeyResponse"] +_UPDATEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["UpdateApiKeyRequest"] +_UPDATEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["UpdateApiKeyResponse"] +_DELETEAPIKEYREQUEST = DESCRIPTOR.message_types_by_name["DeleteApiKeyRequest"] +_DELETEAPIKEYRESPONSE = DESCRIPTOR.message_types_by_name["DeleteApiKeyResponse"] +_GETNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointsRequest"] +_GETNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetNexusEndpointsResponse" +] +_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] +_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] +_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointRequest" +] +_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointResponse" +] +_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointRequest" +] +_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointResponse" +] +_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointRequest" +] +_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointResponse" +] +_GETUSERGROUPSREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupsRequest"] +_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ + "GoogleGroupFilter" +] +_GETUSERGROUPSREQUEST_SCIMGROUPFILTER = _GETUSERGROUPSREQUEST.nested_types_by_name[ + "SCIMGroupFilter" +] +_GETUSERGROUPSRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupsResponse"] +_GETUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["GetUserGroupRequest"] +_GETUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["GetUserGroupResponse"] +_CREATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["CreateUserGroupRequest"] +_CREATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["CreateUserGroupResponse"] +_UPDATEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["UpdateUserGroupRequest"] +_UPDATEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["UpdateUserGroupResponse"] +_DELETEUSERGROUPREQUEST = DESCRIPTOR.message_types_by_name["DeleteUserGroupRequest"] +_DELETEUSERGROUPRESPONSE = DESCRIPTOR.message_types_by_name["DeleteUserGroupResponse"] +_SETUSERGROUPNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ + "SetUserGroupNamespaceAccessRequest" +] +_SETUSERGROUPNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetUserGroupNamespaceAccessResponse" +] +_ADDUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ + "AddUserGroupMemberRequest" +] +_ADDUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddUserGroupMemberResponse" +] +_REMOVEUSERGROUPMEMBERREQUEST = DESCRIPTOR.message_types_by_name[ + "RemoveUserGroupMemberRequest" +] +_REMOVEUSERGROUPMEMBERRESPONSE = DESCRIPTOR.message_types_by_name[ + "RemoveUserGroupMemberResponse" +] +_GETUSERGROUPMEMBERSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetUserGroupMembersRequest" +] +_GETUSERGROUPMEMBERSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetUserGroupMembersResponse" +] +_CREATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateServiceAccountRequest" +] +_CREATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateServiceAccountResponse" +] +_GETSERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetServiceAccountRequest"] +_GETSERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountResponse" +] +_GETSERVICEACCOUNTSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountsRequest" +] +_GETSERVICEACCOUNTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountsResponse" +] +_UPDATESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateServiceAccountRequest" +] +_UPDATESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateServiceAccountResponse" +] +_SETSERVICEACCOUNTNAMESPACEACCESSREQUEST = DESCRIPTOR.message_types_by_name[ + "SetServiceAccountNamespaceAccessRequest" +] +_SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetServiceAccountNamespaceAccessResponse" +] +_DELETESERVICEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteServiceAccountRequest" +] +_DELETESERVICEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteServiceAccountResponse" +] +_GETUSAGEREQUEST = DESCRIPTOR.message_types_by_name["GetUsageRequest"] +_GETUSAGERESPONSE = DESCRIPTOR.message_types_by_name["GetUsageResponse"] +_GETACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["GetAccountRequest"] +_GETACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["GetAccountResponse"] +_UPDATEACCOUNTREQUEST = DESCRIPTOR.message_types_by_name["UpdateAccountRequest"] +_UPDATEACCOUNTRESPONSE = DESCRIPTOR.message_types_by_name["UpdateAccountResponse"] +_CREATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateNamespaceExportSinkRequest" +] +_CREATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateNamespaceExportSinkResponse" +] +_GETNAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinkRequest" +] +_GETNAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinkResponse" +] +_GETNAMESPACEEXPORTSINKSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinksRequest" +] +_GETNAMESPACEEXPORTSINKSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetNamespaceExportSinksResponse" +] +_UPDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceExportSinkRequest" +] +_UPDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceExportSinkResponse" +] +_DELETENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceExportSinkRequest" +] +_DELETENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNamespaceExportSinkResponse" +] +_VALIDATENAMESPACEEXPORTSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "ValidateNamespaceExportSinkRequest" +] +_VALIDATENAMESPACEEXPORTSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "ValidateNamespaceExportSinkResponse" +] +_UPDATENAMESPACETAGSREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceTagsRequest" +] +_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY = ( + _UPDATENAMESPACETAGSREQUEST.nested_types_by_name["TagsToUpsertEntry"] ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1" - _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._loaded_options = None - _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._serialized_options = b"8\001" - _globals["_GETAPIKEYSREQUEST"].fields_by_name[ - "owner_type_deprecated" - ]._loaded_options = None - _globals["_GETAPIKEYSREQUEST"].fields_by_name[ +_UPDATENAMESPACETAGSRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNamespaceTagsResponse" +] +_CREATECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateConnectivityRuleRequest" +] +_CREATECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateConnectivityRuleResponse" +] +_GETCONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRuleRequest" +] +_GETCONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRuleResponse" +] +_GETCONNECTIVITYRULESREQUEST = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRulesRequest" +] +_GETCONNECTIVITYRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetConnectivityRulesResponse" +] +_DELETECONNECTIVITYRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteConnectivityRuleRequest" +] +_DELETECONNECTIVITYRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteConnectivityRuleResponse" +] +_GETAUDITLOGSREQUEST = DESCRIPTOR.message_types_by_name["GetAuditLogsRequest"] +_GETAUDITLOGSRESPONSE = DESCRIPTOR.message_types_by_name["GetAuditLogsResponse"] +_VALIDATEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "ValidateAccountAuditLogSinkRequest" +] +_VALIDATEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "ValidateAccountAuditLogSinkResponse" +] +_CREATEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateAccountAuditLogSinkRequest" +] +_CREATEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateAccountAuditLogSinkResponse" +] +_GETACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "GetAccountAuditLogSinkRequest" +] +_GETACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetAccountAuditLogSinkResponse" +] +_GETACCOUNTAUDITLOGSINKSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetAccountAuditLogSinksRequest" +] +_GETACCOUNTAUDITLOGSINKSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetAccountAuditLogSinksResponse" +] +_UPDATEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateAccountAuditLogSinkRequest" +] +_UPDATEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateAccountAuditLogSinkResponse" +] +_DELETEACCOUNTAUDITLOGSINKREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteAccountAuditLogSinkRequest" +] +_DELETEACCOUNTAUDITLOGSINKRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteAccountAuditLogSinkResponse" +] +_GETNAMESPACECAPACITYINFOREQUEST = DESCRIPTOR.message_types_by_name[ + "GetNamespaceCapacityInfoRequest" +] +_GETNAMESPACECAPACITYINFORESPONSE = DESCRIPTOR.message_types_by_name[ + "GetNamespaceCapacityInfoResponse" +] +_CREATEBILLINGREPORTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateBillingReportRequest" +] +_CREATEBILLINGREPORTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateBillingReportResponse" +] +_GETBILLINGREPORTREQUEST = DESCRIPTOR.message_types_by_name["GetBillingReportRequest"] +_GETBILLINGREPORTRESPONSE = DESCRIPTOR.message_types_by_name["GetBillingReportResponse"] +_GETCUSTOMROLESREQUEST = DESCRIPTOR.message_types_by_name["GetCustomRolesRequest"] +_GETCUSTOMROLESRESPONSE = DESCRIPTOR.message_types_by_name["GetCustomRolesResponse"] +_GETCUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["GetCustomRoleRequest"] +_GETCUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["GetCustomRoleResponse"] +_CREATECUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["CreateCustomRoleRequest"] +_CREATECUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["CreateCustomRoleResponse"] +_UPDATECUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["UpdateCustomRoleRequest"] +_UPDATECUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["UpdateCustomRoleResponse"] +_DELETECUSTOMROLEREQUEST = DESCRIPTOR.message_types_by_name["DeleteCustomRoleRequest"] +_DELETECUSTOMROLERESPONSE = DESCRIPTOR.message_types_by_name["DeleteCustomRoleResponse"] +_GETUSERNAMESPACEASSIGNMENTSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetUserNamespaceAssignmentsRequest" +] +_GETUSERNAMESPACEASSIGNMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetUserNamespaceAssignmentsResponse" +] +_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountNamespaceAssignmentsRequest" +] +_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetServiceAccountNamespaceAssignmentsResponse" +] +_GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST = DESCRIPTOR.message_types_by_name[ + "GetUserGroupNamespaceAssignmentsRequest" +] +_GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetUserGroupNamespaceAssignmentsResponse" +] +GetCurrentIdentityRequest = _reflection.GeneratedProtocolMessageType( + "GetCurrentIdentityRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTIDENTITYREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest) + }, +) +_sym_db.RegisterMessage(GetCurrentIdentityRequest) + +GetCurrentIdentityResponse = _reflection.GeneratedProtocolMessageType( + "GetCurrentIdentityResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTIDENTITYRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse) + }, +) +_sym_db.RegisterMessage(GetCurrentIdentityResponse) + +GetUsersRequest = _reflection.GeneratedProtocolMessageType( + "GetUsersRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersRequest) + }, +) +_sym_db.RegisterMessage(GetUsersRequest) + +GetUsersResponse = _reflection.GeneratedProtocolMessageType( + "GetUsersResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsersResponse) + }, +) +_sym_db.RegisterMessage(GetUsersResponse) + +GetUserRequest = _reflection.GeneratedProtocolMessageType( + "GetUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserRequest) + }, +) +_sym_db.RegisterMessage(GetUserRequest) + +GetUserResponse = _reflection.GeneratedProtocolMessageType( + "GetUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserResponse) + }, +) +_sym_db.RegisterMessage(GetUserResponse) + +CreateUserRequest = _reflection.GeneratedProtocolMessageType( + "CreateUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserRequest) + }, +) +_sym_db.RegisterMessage(CreateUserRequest) + +CreateUserResponse = _reflection.GeneratedProtocolMessageType( + "CreateUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserResponse) + }, +) +_sym_db.RegisterMessage(CreateUserResponse) + +UpdateUserRequest = _reflection.GeneratedProtocolMessageType( + "UpdateUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserRequest) + }, +) +_sym_db.RegisterMessage(UpdateUserRequest) + +UpdateUserResponse = _reflection.GeneratedProtocolMessageType( + "UpdateUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserResponse) + }, +) +_sym_db.RegisterMessage(UpdateUserResponse) + +DeleteUserRequest = _reflection.GeneratedProtocolMessageType( + "DeleteUserRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserRequest) + }, +) +_sym_db.RegisterMessage(DeleteUserRequest) + +DeleteUserResponse = _reflection.GeneratedProtocolMessageType( + "DeleteUserResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserResponse) + }, +) +_sym_db.RegisterMessage(DeleteUserResponse) + +SetUserNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( + "SetUserNamespaceAccessRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERNAMESPACEACCESSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest) + }, +) +_sym_db.RegisterMessage(SetUserNamespaceAccessRequest) + +SetUserNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( + "SetUserNamespaceAccessResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERNAMESPACEACCESSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse) + }, +) +_sym_db.RegisterMessage(SetUserNamespaceAccessResponse) + +GetAsyncOperationRequest = _reflection.GeneratedProtocolMessageType( + "GetAsyncOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETASYNCOPERATIONREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest) + }, +) +_sym_db.RegisterMessage(GetAsyncOperationRequest) + +GetAsyncOperationResponse = _reflection.GeneratedProtocolMessageType( + "GetAsyncOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETASYNCOPERATIONRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse) + }, +) +_sym_db.RegisterMessage(GetAsyncOperationResponse) + +CreateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceRequest", + (_message.Message,), + { + "TagsEntry": _reflection.GeneratedProtocolMessageType( + "TagsEntry", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACEREQUEST_TAGSENTRY, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry) + }, + ), + "DESCRIPTOR": _CREATENAMESPACEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest) + }, +) +_sym_db.RegisterMessage(CreateNamespaceRequest) +_sym_db.RegisterMessage(CreateNamespaceRequest.TagsEntry) + +CreateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse) + }, +) +_sym_db.RegisterMessage(CreateNamespaceResponse) + +GetNamespacesRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespacesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACESREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesRequest) + }, +) +_sym_db.RegisterMessage(GetNamespacesRequest) + +GetNamespacesResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespacesResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACESRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespacesResponse) + }, +) +_sym_db.RegisterMessage(GetNamespacesResponse) + +GetNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceRequest) + }, +) +_sym_db.RegisterMessage(GetNamespaceRequest) + +GetNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceResponse) + }, +) +_sym_db.RegisterMessage(GetNamespaceResponse) + +UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceRequest) + +UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceResponse) + +RenameCustomSearchAttributeRequest = _reflection.GeneratedProtocolMessageType( + "RenameCustomSearchAttributeRequest", + (_message.Message,), + { + "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest) + }, +) +_sym_db.RegisterMessage(RenameCustomSearchAttributeRequest) + +RenameCustomSearchAttributeResponse = _reflection.GeneratedProtocolMessageType( + "RenameCustomSearchAttributeResponse", + (_message.Message,), + { + "DESCRIPTOR": _RENAMECUSTOMSEARCHATTRIBUTERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse) + }, +) +_sym_db.RegisterMessage(RenameCustomSearchAttributeResponse) + +DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceRequest) + +DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceResponse) + +FailoverNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( + "FailoverNamespaceRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _FAILOVERNAMESPACEREGIONREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest) + }, +) +_sym_db.RegisterMessage(FailoverNamespaceRegionRequest) + +FailoverNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( + "FailoverNamespaceRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _FAILOVERNAMESPACEREGIONRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse) + }, +) +_sym_db.RegisterMessage(FailoverNamespaceRegionResponse) + +AddNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( + "AddNamespaceRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _ADDNAMESPACEREGIONREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest) + }, +) +_sym_db.RegisterMessage(AddNamespaceRegionRequest) + +AddNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( + "AddNamespaceRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDNAMESPACEREGIONRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse) + }, +) +_sym_db.RegisterMessage(AddNamespaceRegionResponse) + +DeleteNamespaceRegionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREGIONREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceRegionRequest) + +DeleteNamespaceRegionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREGIONRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceRegionResponse) + +GetRegionsRequest = _reflection.GeneratedProtocolMessageType( + "GetRegionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsRequest) + }, +) +_sym_db.RegisterMessage(GetRegionsRequest) + +GetRegionsResponse = _reflection.GeneratedProtocolMessageType( + "GetRegionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionsResponse) + }, +) +_sym_db.RegisterMessage(GetRegionsResponse) + +GetRegionRequest = _reflection.GeneratedProtocolMessageType( + "GetRegionRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionRequest) + }, +) +_sym_db.RegisterMessage(GetRegionRequest) + +GetRegionResponse = _reflection.GeneratedProtocolMessageType( + "GetRegionResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETREGIONRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetRegionResponse) + }, +) +_sym_db.RegisterMessage(GetRegionResponse) + +GetApiKeysRequest = _reflection.GeneratedProtocolMessageType( + "GetApiKeysRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysRequest) + }, +) +_sym_db.RegisterMessage(GetApiKeysRequest) + +GetApiKeysResponse = _reflection.GeneratedProtocolMessageType( + "GetApiKeysResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeysResponse) + }, +) +_sym_db.RegisterMessage(GetApiKeysResponse) + +GetApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "GetApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyRequest) + }, +) +_sym_db.RegisterMessage(GetApiKeyRequest) + +GetApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "GetApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETAPIKEYRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetApiKeyResponse) + }, +) +_sym_db.RegisterMessage(GetApiKeyResponse) + +CreateApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "CreateApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEAPIKEYREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest) + }, +) +_sym_db.RegisterMessage(CreateApiKeyRequest) + +CreateApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "CreateApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEAPIKEYRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse) + }, +) +_sym_db.RegisterMessage(CreateApiKeyResponse) + +UpdateApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "UpdateApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEAPIKEYREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest) + }, +) +_sym_db.RegisterMessage(UpdateApiKeyRequest) + +UpdateApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "UpdateApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEAPIKEYRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse) + }, +) +_sym_db.RegisterMessage(UpdateApiKeyResponse) + +DeleteApiKeyRequest = _reflection.GeneratedProtocolMessageType( + "DeleteApiKeyRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEAPIKEYREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest) + }, +) +_sym_db.RegisterMessage(DeleteApiKeyRequest) + +DeleteApiKeyResponse = _reflection.GeneratedProtocolMessageType( + "DeleteApiKeyResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEAPIKEYRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse) + }, +) +_sym_db.RegisterMessage(DeleteApiKeyResponse) + +GetNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest) + }, +) +_sym_db.RegisterMessage(GetNexusEndpointsRequest) + +GetNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse) + }, +) +_sym_db.RegisterMessage(GetNexusEndpointsResponse) + +GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(GetNexusEndpointRequest) + +GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(GetNexusEndpointResponse) + +CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(CreateNexusEndpointRequest) + +CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(CreateNexusEndpointResponse) + +UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(UpdateNexusEndpointRequest) + +UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(UpdateNexusEndpointResponse) + +DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(DeleteNexusEndpointRequest) + +DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(DeleteNexusEndpointResponse) + +GetUserGroupsRequest = _reflection.GeneratedProtocolMessageType( + "GetUserGroupsRequest", + (_message.Message,), + { + "GoogleGroupFilter": _reflection.GeneratedProtocolMessageType( + "GoogleGroupFilter", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter) + }, + ), + "SCIMGroupFilter": _reflection.GeneratedProtocolMessageType( + "SCIMGroupFilter", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPSREQUEST_SCIMGROUPFILTER, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter) + }, + ), + "DESCRIPTOR": _GETUSERGROUPSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest) + }, +) +_sym_db.RegisterMessage(GetUserGroupsRequest) +_sym_db.RegisterMessage(GetUserGroupsRequest.GoogleGroupFilter) +_sym_db.RegisterMessage(GetUserGroupsRequest.SCIMGroupFilter) + +GetUserGroupsResponse = _reflection.GeneratedProtocolMessageType( + "GetUserGroupsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse) + }, +) +_sym_db.RegisterMessage(GetUserGroupsResponse) + +GetUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "GetUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupRequest) + }, +) +_sym_db.RegisterMessage(GetUserGroupRequest) + +GetUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "GetUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupResponse) + }, +) +_sym_db.RegisterMessage(GetUserGroupResponse) + +CreateUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "CreateUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERGROUPREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest) + }, +) +_sym_db.RegisterMessage(CreateUserGroupRequest) + +CreateUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "CreateUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEUSERGROUPRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse) + }, +) +_sym_db.RegisterMessage(CreateUserGroupResponse) + +UpdateUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "UpdateUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERGROUPREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest) + }, +) +_sym_db.RegisterMessage(UpdateUserGroupRequest) + +UpdateUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "UpdateUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEUSERGROUPRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse) + }, +) +_sym_db.RegisterMessage(UpdateUserGroupResponse) + +DeleteUserGroupRequest = _reflection.GeneratedProtocolMessageType( + "DeleteUserGroupRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERGROUPREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest) + }, +) +_sym_db.RegisterMessage(DeleteUserGroupRequest) + +DeleteUserGroupResponse = _reflection.GeneratedProtocolMessageType( + "DeleteUserGroupResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEUSERGROUPRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse) + }, +) +_sym_db.RegisterMessage(DeleteUserGroupResponse) + +SetUserGroupNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( + "SetUserGroupNamespaceAccessRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest) + }, +) +_sym_db.RegisterMessage(SetUserGroupNamespaceAccessRequest) + +SetUserGroupNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( + "SetUserGroupNamespaceAccessResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETUSERGROUPNAMESPACEACCESSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse) + }, +) +_sym_db.RegisterMessage(SetUserGroupNamespaceAccessResponse) + +AddUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( + "AddUserGroupMemberRequest", + (_message.Message,), + { + "DESCRIPTOR": _ADDUSERGROUPMEMBERREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest) + }, +) +_sym_db.RegisterMessage(AddUserGroupMemberRequest) + +AddUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( + "AddUserGroupMemberResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDUSERGROUPMEMBERRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse) + }, +) +_sym_db.RegisterMessage(AddUserGroupMemberResponse) + +RemoveUserGroupMemberRequest = _reflection.GeneratedProtocolMessageType( + "RemoveUserGroupMemberRequest", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEUSERGROUPMEMBERREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest) + }, +) +_sym_db.RegisterMessage(RemoveUserGroupMemberRequest) + +RemoveUserGroupMemberResponse = _reflection.GeneratedProtocolMessageType( + "RemoveUserGroupMemberResponse", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEUSERGROUPMEMBERRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse) + }, +) +_sym_db.RegisterMessage(RemoveUserGroupMemberResponse) + +GetUserGroupMembersRequest = _reflection.GeneratedProtocolMessageType( + "GetUserGroupMembersRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPMEMBERSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest) + }, +) +_sym_db.RegisterMessage(GetUserGroupMembersRequest) + +GetUserGroupMembersResponse = _reflection.GeneratedProtocolMessageType( + "GetUserGroupMembersResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPMEMBERSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse) + }, +) +_sym_db.RegisterMessage(GetUserGroupMembersResponse) + +CreateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "CreateServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATESERVICEACCOUNTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest) + }, +) +_sym_db.RegisterMessage(CreateServiceAccountRequest) + +CreateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "CreateServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATESERVICEACCOUNTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse) + }, +) +_sym_db.RegisterMessage(CreateServiceAccountResponse) + +GetServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest) + }, +) +_sym_db.RegisterMessage(GetServiceAccountRequest) + +GetServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse) + }, +) +_sym_db.RegisterMessage(GetServiceAccountResponse) + +GetServiceAccountsRequest = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest) + }, +) +_sym_db.RegisterMessage(GetServiceAccountsRequest) + +GetServiceAccountsResponse = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse) + }, +) +_sym_db.RegisterMessage(GetServiceAccountsResponse) + +UpdateServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "UpdateServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESERVICEACCOUNTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest) + }, +) +_sym_db.RegisterMessage(UpdateServiceAccountRequest) + +UpdateServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "UpdateServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESERVICEACCOUNTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) + }, +) +_sym_db.RegisterMessage(UpdateServiceAccountResponse) + +SetServiceAccountNamespaceAccessRequest = _reflection.GeneratedProtocolMessageType( + "SetServiceAccountNamespaceAccessRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETSERVICEACCOUNTNAMESPACEACCESSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest) + }, +) +_sym_db.RegisterMessage(SetServiceAccountNamespaceAccessRequest) + +SetServiceAccountNamespaceAccessResponse = _reflection.GeneratedProtocolMessageType( + "SetServiceAccountNamespaceAccessResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse) + }, +) +_sym_db.RegisterMessage(SetServiceAccountNamespaceAccessResponse) + +DeleteServiceAccountRequest = _reflection.GeneratedProtocolMessageType( + "DeleteServiceAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETESERVICEACCOUNTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest) + }, +) +_sym_db.RegisterMessage(DeleteServiceAccountRequest) + +DeleteServiceAccountResponse = _reflection.GeneratedProtocolMessageType( + "DeleteServiceAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETESERVICEACCOUNTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse) + }, +) +_sym_db.RegisterMessage(DeleteServiceAccountResponse) + +GetUsageRequest = _reflection.GeneratedProtocolMessageType( + "GetUsageRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSAGEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageRequest) + }, +) +_sym_db.RegisterMessage(GetUsageRequest) + +GetUsageResponse = _reflection.GeneratedProtocolMessageType( + "GetUsageResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSAGERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUsageResponse) + }, +) +_sym_db.RegisterMessage(GetUsageResponse) + +GetAccountRequest = _reflection.GeneratedProtocolMessageType( + "GetAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountRequest) + }, +) +_sym_db.RegisterMessage(GetAccountRequest) + +GetAccountResponse = _reflection.GeneratedProtocolMessageType( + "GetAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountResponse) + }, +) +_sym_db.RegisterMessage(GetAccountResponse) + +UpdateAccountRequest = _reflection.GeneratedProtocolMessageType( + "UpdateAccountRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACCOUNTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountRequest) + }, +) +_sym_db.RegisterMessage(UpdateAccountRequest) + +UpdateAccountResponse = _reflection.GeneratedProtocolMessageType( + "UpdateAccountResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACCOUNTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountResponse) + }, +) +_sym_db.RegisterMessage(UpdateAccountResponse) + +CreateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest) + }, +) +_sym_db.RegisterMessage(CreateNamespaceExportSinkRequest) + +CreateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "CreateNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse) + }, +) +_sym_db.RegisterMessage(CreateNamespaceExportSinkResponse) + +GetNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest) + }, +) +_sym_db.RegisterMessage(GetNamespaceExportSinkRequest) + +GetNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse) + }, +) +_sym_db.RegisterMessage(GetNamespaceExportSinkResponse) + +GetNamespaceExportSinksRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinksRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest) + }, +) +_sym_db.RegisterMessage(GetNamespaceExportSinksRequest) + +GetNamespaceExportSinksResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespaceExportSinksResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACEEXPORTSINKSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse) + }, +) +_sym_db.RegisterMessage(GetNamespaceExportSinksResponse) + +UpdateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceExportSinkRequest) + +UpdateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceExportSinkResponse) + +DeleteNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceExportSinkRequest) + +DeleteNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceExportSinkResponse) + +ValidateNamespaceExportSinkRequest = _reflection.GeneratedProtocolMessageType( + "ValidateNamespaceExportSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest) + }, +) +_sym_db.RegisterMessage(ValidateNamespaceExportSinkRequest) + +ValidateNamespaceExportSinkResponse = _reflection.GeneratedProtocolMessageType( + "ValidateNamespaceExportSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATENAMESPACEEXPORTSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse) + }, +) +_sym_db.RegisterMessage(ValidateNamespaceExportSinkResponse) + +UpdateNamespaceTagsRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceTagsRequest", + (_message.Message,), + { + "TagsToUpsertEntry": _reflection.GeneratedProtocolMessageType( + "TagsToUpsertEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry) + }, + ), + "DESCRIPTOR": _UPDATENAMESPACETAGSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceTagsRequest) +_sym_db.RegisterMessage(UpdateNamespaceTagsRequest.TagsToUpsertEntry) + +UpdateNamespaceTagsResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceTagsResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACETAGSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceTagsResponse) + +CreateConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( + "CreateConnectivityRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATECONNECTIVITYRULEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest) + }, +) +_sym_db.RegisterMessage(CreateConnectivityRuleRequest) + +CreateConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( + "CreateConnectivityRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATECONNECTIVITYRULERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse) + }, +) +_sym_db.RegisterMessage(CreateConnectivityRuleResponse) + +GetConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest) + }, +) +_sym_db.RegisterMessage(GetConnectivityRuleRequest) + +GetConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse) + }, +) +_sym_db.RegisterMessage(GetConnectivityRuleResponse) + +GetConnectivityRulesRequest = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULESREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest) + }, +) +_sym_db.RegisterMessage(GetConnectivityRulesRequest) + +GetConnectivityRulesResponse = _reflection.GeneratedProtocolMessageType( + "GetConnectivityRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCONNECTIVITYRULESRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse) + }, +) +_sym_db.RegisterMessage(GetConnectivityRulesResponse) + +DeleteConnectivityRuleRequest = _reflection.GeneratedProtocolMessageType( + "DeleteConnectivityRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETECONNECTIVITYRULEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest) + }, +) +_sym_db.RegisterMessage(DeleteConnectivityRuleRequest) + +DeleteConnectivityRuleResponse = _reflection.GeneratedProtocolMessageType( + "DeleteConnectivityRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETECONNECTIVITYRULERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) + }, +) +_sym_db.RegisterMessage(DeleteConnectivityRuleResponse) + +GetAuditLogsRequest = _reflection.GeneratedProtocolMessageType( + "GetAuditLogsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETAUDITLOGSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest) + }, +) +_sym_db.RegisterMessage(GetAuditLogsRequest) + +GetAuditLogsResponse = _reflection.GeneratedProtocolMessageType( + "GetAuditLogsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETAUDITLOGSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse) + }, +) +_sym_db.RegisterMessage(GetAuditLogsResponse) + +ValidateAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( + "ValidateAccountAuditLogSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATEACCOUNTAUDITLOGSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest) + }, +) +_sym_db.RegisterMessage(ValidateAccountAuditLogSinkRequest) + +ValidateAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( + "ValidateAccountAuditLogSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATEACCOUNTAUDITLOGSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse) + }, +) +_sym_db.RegisterMessage(ValidateAccountAuditLogSinkResponse) + +CreateAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( + "CreateAccountAuditLogSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEACCOUNTAUDITLOGSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest) + }, +) +_sym_db.RegisterMessage(CreateAccountAuditLogSinkRequest) + +CreateAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( + "CreateAccountAuditLogSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEACCOUNTAUDITLOGSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse) + }, +) +_sym_db.RegisterMessage(CreateAccountAuditLogSinkResponse) + +GetAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( + "GetAccountAuditLogSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest) + }, +) +_sym_db.RegisterMessage(GetAccountAuditLogSinkRequest) + +GetAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( + "GetAccountAuditLogSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse) + }, +) +_sym_db.RegisterMessage(GetAccountAuditLogSinkResponse) + +GetAccountAuditLogSinksRequest = _reflection.GeneratedProtocolMessageType( + "GetAccountAuditLogSinksRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest) + }, +) +_sym_db.RegisterMessage(GetAccountAuditLogSinksRequest) + +GetAccountAuditLogSinksResponse = _reflection.GeneratedProtocolMessageType( + "GetAccountAuditLogSinksResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETACCOUNTAUDITLOGSINKSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse) + }, +) +_sym_db.RegisterMessage(GetAccountAuditLogSinksResponse) + +UpdateAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( + "UpdateAccountAuditLogSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACCOUNTAUDITLOGSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest) + }, +) +_sym_db.RegisterMessage(UpdateAccountAuditLogSinkRequest) + +UpdateAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( + "UpdateAccountAuditLogSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACCOUNTAUDITLOGSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse) + }, +) +_sym_db.RegisterMessage(UpdateAccountAuditLogSinkResponse) + +DeleteAccountAuditLogSinkRequest = _reflection.GeneratedProtocolMessageType( + "DeleteAccountAuditLogSinkRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEACCOUNTAUDITLOGSINKREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest) + }, +) +_sym_db.RegisterMessage(DeleteAccountAuditLogSinkRequest) + +DeleteAccountAuditLogSinkResponse = _reflection.GeneratedProtocolMessageType( + "DeleteAccountAuditLogSinkResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEACCOUNTAUDITLOGSINKRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse) + }, +) +_sym_db.RegisterMessage(DeleteAccountAuditLogSinkResponse) + +GetNamespaceCapacityInfoRequest = _reflection.GeneratedProtocolMessageType( + "GetNamespaceCapacityInfoRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACECAPACITYINFOREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoRequest) + }, +) +_sym_db.RegisterMessage(GetNamespaceCapacityInfoRequest) + +GetNamespaceCapacityInfoResponse = _reflection.GeneratedProtocolMessageType( + "GetNamespaceCapacityInfoResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNAMESPACECAPACITYINFORESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse) + }, +) +_sym_db.RegisterMessage(GetNamespaceCapacityInfoResponse) + +CreateBillingReportRequest = _reflection.GeneratedProtocolMessageType( + "CreateBillingReportRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEBILLINGREPORTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest) + }, +) +_sym_db.RegisterMessage(CreateBillingReportRequest) + +CreateBillingReportResponse = _reflection.GeneratedProtocolMessageType( + "CreateBillingReportResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEBILLINGREPORTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse) + }, +) +_sym_db.RegisterMessage(CreateBillingReportResponse) + +GetBillingReportRequest = _reflection.GeneratedProtocolMessageType( + "GetBillingReportRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETBILLINGREPORTREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetBillingReportRequest) + }, +) +_sym_db.RegisterMessage(GetBillingReportRequest) + +GetBillingReportResponse = _reflection.GeneratedProtocolMessageType( + "GetBillingReportResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETBILLINGREPORTRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetBillingReportResponse) + }, +) +_sym_db.RegisterMessage(GetBillingReportResponse) + +GetCustomRolesRequest = _reflection.GeneratedProtocolMessageType( + "GetCustomRolesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCUSTOMROLESREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest) + }, +) +_sym_db.RegisterMessage(GetCustomRolesRequest) + +GetCustomRolesResponse = _reflection.GeneratedProtocolMessageType( + "GetCustomRolesResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCUSTOMROLESRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse) + }, +) +_sym_db.RegisterMessage(GetCustomRolesResponse) + +GetCustomRoleRequest = _reflection.GeneratedProtocolMessageType( + "GetCustomRoleRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCUSTOMROLEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest) + }, +) +_sym_db.RegisterMessage(GetCustomRoleRequest) + +GetCustomRoleResponse = _reflection.GeneratedProtocolMessageType( + "GetCustomRoleResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCUSTOMROLERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse) + }, +) +_sym_db.RegisterMessage(GetCustomRoleResponse) + +CreateCustomRoleRequest = _reflection.GeneratedProtocolMessageType( + "CreateCustomRoleRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATECUSTOMROLEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest) + }, +) +_sym_db.RegisterMessage(CreateCustomRoleRequest) + +CreateCustomRoleResponse = _reflection.GeneratedProtocolMessageType( + "CreateCustomRoleResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATECUSTOMROLERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse) + }, +) +_sym_db.RegisterMessage(CreateCustomRoleResponse) + +UpdateCustomRoleRequest = _reflection.GeneratedProtocolMessageType( + "UpdateCustomRoleRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATECUSTOMROLEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest) + }, +) +_sym_db.RegisterMessage(UpdateCustomRoleRequest) + +UpdateCustomRoleResponse = _reflection.GeneratedProtocolMessageType( + "UpdateCustomRoleResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATECUSTOMROLERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse) + }, +) +_sym_db.RegisterMessage(UpdateCustomRoleResponse) + +DeleteCustomRoleRequest = _reflection.GeneratedProtocolMessageType( + "DeleteCustomRoleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETECUSTOMROLEREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest) + }, +) +_sym_db.RegisterMessage(DeleteCustomRoleRequest) + +DeleteCustomRoleResponse = _reflection.GeneratedProtocolMessageType( + "DeleteCustomRoleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETECUSTOMROLERESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse) + }, +) +_sym_db.RegisterMessage(DeleteCustomRoleResponse) + +GetUserNamespaceAssignmentsRequest = _reflection.GeneratedProtocolMessageType( + "GetUserNamespaceAssignmentsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERNAMESPACEASSIGNMENTSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsRequest) + }, +) +_sym_db.RegisterMessage(GetUserNamespaceAssignmentsRequest) + +GetUserNamespaceAssignmentsResponse = _reflection.GeneratedProtocolMessageType( + "GetUserNamespaceAssignmentsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERNAMESPACEASSIGNMENTSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsResponse) + }, +) +_sym_db.RegisterMessage(GetUserNamespaceAssignmentsResponse) + +GetServiceAccountNamespaceAssignmentsRequest = _reflection.GeneratedProtocolMessageType( + "GetServiceAccountNamespaceAssignmentsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsRequest) + }, +) +_sym_db.RegisterMessage(GetServiceAccountNamespaceAssignmentsRequest) + +GetServiceAccountNamespaceAssignmentsResponse = ( + _reflection.GeneratedProtocolMessageType( + "GetServiceAccountNamespaceAssignmentsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsResponse) + }, + ) +) +_sym_db.RegisterMessage(GetServiceAccountNamespaceAssignmentsResponse) + +GetUserGroupNamespaceAssignmentsRequest = _reflection.GeneratedProtocolMessageType( + "GetUserGroupNamespaceAssignmentsRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsRequest) + }, +) +_sym_db.RegisterMessage(GetUserGroupNamespaceAssignmentsRequest) + +GetUserGroupNamespaceAssignmentsResponse = _reflection.GeneratedProtocolMessageType( + "GetUserGroupNamespaceAssignmentsResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE, + "__module__": "temporalio.api.cloud.cloudservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsResponse) + }, +) +_sym_db.RegisterMessage(GetUserGroupNamespaceAssignmentsResponse) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1" + _CREATENAMESPACEREQUEST_TAGSENTRY._options = None + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_options = b"8\001" + _GETAPIKEYSREQUEST.fields_by_name["owner_type_deprecated"]._options = None + _GETAPIKEYSREQUEST.fields_by_name[ "owner_type_deprecated" ]._serialized_options = b"\030\001" - _globals["_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY"]._loaded_options = None - _globals[ - "_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY" - ]._serialized_options = b"8\001" - _globals["_GETCURRENTIDENTITYREQUEST"]._serialized_start = 590 - _globals["_GETCURRENTIDENTITYREQUEST"]._serialized_end = 617 - _globals["_GETCURRENTIDENTITYRESPONSE"]._serialized_start = 620 - _globals["_GETCURRENTIDENTITYRESPONSE"]._serialized_end = 857 - _globals["_GETUSERSREQUEST"]._serialized_start = 859 - _globals["_GETUSERSREQUEST"]._serialized_end = 949 - _globals["_GETUSERSRESPONSE"]._serialized_start = 951 - _globals["_GETUSERSRESPONSE"]._serialized_end = 1047 - _globals["_GETUSERREQUEST"]._serialized_start = 1049 - _globals["_GETUSERREQUEST"]._serialized_end = 1082 - _globals["_GETUSERRESPONSE"]._serialized_start = 1084 - _globals["_GETUSERRESPONSE"]._serialized_end = 1153 - _globals["_CREATEUSERREQUEST"]._serialized_start = 1155 - _globals["_CREATEUSERREQUEST"]._serialized_end = 1258 - _globals["_CREATEUSERRESPONSE"]._serialized_start = 1260 - _globals["_CREATEUSERRESPONSE"]._serialized_end = 1371 - _globals["_UPDATEUSERREQUEST"]._serialized_start = 1374 - _globals["_UPDATEUSERREQUEST"]._serialized_end = 1520 - _globals["_UPDATEUSERRESPONSE"]._serialized_start = 1522 - _globals["_UPDATEUSERRESPONSE"]._serialized_end = 1616 - _globals["_DELETEUSERREQUEST"]._serialized_start = 1618 - _globals["_DELETEUSERREQUEST"]._serialized_end = 1708 - _globals["_DELETEUSERRESPONSE"]._serialized_start = 1710 - _globals["_DELETEUSERRESPONSE"]._serialized_end = 1804 - _globals["_SETUSERNAMESPACEACCESSREQUEST"]._serialized_start = 1807 - _globals["_SETUSERNAMESPACEACCESSREQUEST"]._serialized_end = 1993 - _globals["_SETUSERNAMESPACEACCESSRESPONSE"]._serialized_start = 1995 - _globals["_SETUSERNAMESPACEACCESSRESPONSE"]._serialized_end = 2101 - _globals["_GETASYNCOPERATIONREQUEST"]._serialized_start = 2103 - _globals["_GETASYNCOPERATIONREQUEST"]._serialized_end = 2157 - _globals["_GETASYNCOPERATIONRESPONSE"]._serialized_start = 2159 - _globals["_GETASYNCOPERATIONRESPONSE"]._serialized_end = 2260 - _globals["_CREATENAMESPACEREQUEST"]._serialized_start = 2263 - _globals["_CREATENAMESPACEREQUEST"]._serialized_end = 2506 - _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._serialized_start = 2463 - _globals["_CREATENAMESPACEREQUEST_TAGSENTRY"]._serialized_end = 2506 - _globals["_CREATENAMESPACERESPONSE"]._serialized_start = 2508 - _globals["_CREATENAMESPACERESPONSE"]._serialized_end = 2626 - _globals["_GETNAMESPACESREQUEST"]._serialized_start = 2628 - _globals["_GETNAMESPACESREQUEST"]._serialized_end = 2703 - _globals["_GETNAMESPACESRESPONSE"]._serialized_start = 2705 - _globals["_GETNAMESPACESRESPONSE"]._serialized_end = 2817 - _globals["_GETNAMESPACEREQUEST"]._serialized_start = 2819 - _globals["_GETNAMESPACEREQUEST"]._serialized_end = 2859 - _globals["_GETNAMESPACERESPONSE"]._serialized_start = 2861 - _globals["_GETNAMESPACERESPONSE"]._serialized_end = 2946 - _globals["_UPDATENAMESPACEREQUEST"]._serialized_start = 2949 - _globals["_UPDATENAMESPACEREQUEST"]._serialized_end = 3108 - _globals["_UPDATENAMESPACERESPONSE"]._serialized_start = 3110 - _globals["_UPDATENAMESPACERESPONSE"]._serialized_end = 3209 - _globals["_RENAMECUSTOMSEARCHATTRIBUTEREQUEST"]._serialized_start = 3212 - _globals["_RENAMECUSTOMSEARCHATTRIBUTEREQUEST"]._serialized_end = 3410 - _globals["_RENAMECUSTOMSEARCHATTRIBUTERESPONSE"]._serialized_start = 3412 - _globals["_RENAMECUSTOMSEARCHATTRIBUTERESPONSE"]._serialized_end = 3523 - _globals["_DELETENAMESPACEREQUEST"]._serialized_start = 3525 - _globals["_DELETENAMESPACEREQUEST"]._serialized_end = 3622 - _globals["_DELETENAMESPACERESPONSE"]._serialized_start = 3624 - _globals["_DELETENAMESPACERESPONSE"]._serialized_end = 3723 - _globals["_FAILOVERNAMESPACEREGIONREQUEST"]._serialized_start = 3725 - _globals["_FAILOVERNAMESPACEREGIONREQUEST"]._serialized_end = 3820 - _globals["_FAILOVERNAMESPACEREGIONRESPONSE"]._serialized_start = 3822 - _globals["_FAILOVERNAMESPACEREGIONRESPONSE"]._serialized_end = 3929 - _globals["_ADDNAMESPACEREGIONREQUEST"]._serialized_start = 3931 - _globals["_ADDNAMESPACEREGIONREQUEST"]._serialized_end = 4047 - _globals["_ADDNAMESPACEREGIONRESPONSE"]._serialized_start = 4049 - _globals["_ADDNAMESPACEREGIONRESPONSE"]._serialized_end = 4151 - _globals["_DELETENAMESPACEREGIONREQUEST"]._serialized_start = 4153 - _globals["_DELETENAMESPACEREGIONREQUEST"]._serialized_end = 4272 - _globals["_DELETENAMESPACEREGIONRESPONSE"]._serialized_start = 4274 - _globals["_DELETENAMESPACEREGIONRESPONSE"]._serialized_end = 4379 - _globals["_GETREGIONSREQUEST"]._serialized_start = 4381 - _globals["_GETREGIONSREQUEST"]._serialized_end = 4400 - _globals["_GETREGIONSRESPONSE"]._serialized_start = 4402 - _globals["_GETREGIONSRESPONSE"]._serialized_end = 4477 - _globals["_GETREGIONREQUEST"]._serialized_start = 4479 - _globals["_GETREGIONREQUEST"]._serialized_end = 4513 - _globals["_GETREGIONRESPONSE"]._serialized_start = 4515 - _globals["_GETREGIONRESPONSE"]._serialized_end = 4588 - _globals["_GETAPIKEYSREQUEST"]._serialized_start = 4591 - _globals["_GETAPIKEYSREQUEST"]._serialized_end = 4765 - _globals["_GETAPIKEYSRESPONSE"]._serialized_start = 4767 - _globals["_GETAPIKEYSRESPONSE"]._serialized_end = 4870 - _globals["_GETAPIKEYREQUEST"]._serialized_start = 4872 - _globals["_GETAPIKEYREQUEST"]._serialized_end = 4906 - _globals["_GETAPIKEYRESPONSE"]._serialized_start = 4908 - _globals["_GETAPIKEYRESPONSE"]._serialized_end = 4984 - _globals["_CREATEAPIKEYREQUEST"]._serialized_start = 4986 - _globals["_CREATEAPIKEYREQUEST"]._serialized_end = 5093 - _globals["_CREATEAPIKEYRESPONSE"]._serialized_start = 5095 - _globals["_CREATEAPIKEYRESPONSE"]._serialized_end = 5222 - _globals["_UPDATEAPIKEYREQUEST"]._serialized_start = 5225 - _globals["_UPDATEAPIKEYREQUEST"]._serialized_end = 5374 - _globals["_UPDATEAPIKEYRESPONSE"]._serialized_start = 5376 - _globals["_UPDATEAPIKEYRESPONSE"]._serialized_end = 5472 - _globals["_DELETEAPIKEYREQUEST"]._serialized_start = 5474 - _globals["_DELETEAPIKEYREQUEST"]._serialized_end = 5565 - _globals["_DELETEAPIKEYRESPONSE"]._serialized_start = 5567 - _globals["_DELETEAPIKEYRESPONSE"]._serialized_end = 5663 - _globals["_GETNEXUSENDPOINTSREQUEST"]._serialized_start = 5666 - _globals["_GETNEXUSENDPOINTSREQUEST"]._serialized_end = 5801 - _globals["_GETNEXUSENDPOINTSRESPONSE"]._serialized_start = 5803 - _globals["_GETNEXUSENDPOINTSRESPONSE"]._serialized_end = 5913 - _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_start = 5915 - _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_end = 5961 - _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_start = 5963 - _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_end = 6046 - _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_start = 6048 - _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_end = 6161 - _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_start = 6163 - _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_end = 6287 - _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_start = 6290 - _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_end = 6450 - _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_start = 6452 - _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_end = 6555 - _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_start = 6557 - _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_end = 6660 - _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_start = 6662 - _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_end = 6765 - _globals["_GETUSERGROUPSREQUEST"]._serialized_start = 6768 - _globals["_GETUSERGROUPSREQUEST"]._serialized_end = 7141 - _globals["_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER"]._serialized_start = 7064 - _globals["_GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER"]._serialized_end = 7106 - _globals["_GETUSERGROUPSREQUEST_SCIMGROUPFILTER"]._serialized_start = 7108 - _globals["_GETUSERGROUPSREQUEST_SCIMGROUPFILTER"]._serialized_end = 7141 - _globals["_GETUSERGROUPSRESPONSE"]._serialized_start = 7143 - _globals["_GETUSERGROUPSRESPONSE"]._serialized_end = 7250 - _globals["_GETUSERGROUPREQUEST"]._serialized_start = 7252 - _globals["_GETUSERGROUPREQUEST"]._serialized_end = 7291 - _globals["_GETUSERGROUPRESPONSE"]._serialized_start = 7293 - _globals["_GETUSERGROUPRESPONSE"]._serialized_end = 7373 - _globals["_CREATEUSERGROUPREQUEST"]._serialized_start = 7375 - _globals["_CREATEUSERGROUPREQUEST"]._serialized_end = 7488 - _globals["_CREATEUSERGROUPRESPONSE"]._serialized_start = 7490 - _globals["_CREATEUSERGROUPRESPONSE"]._serialized_end = 7607 - _globals["_UPDATEUSERGROUPREQUEST"]._serialized_start = 7610 - _globals["_UPDATEUSERGROUPREQUEST"]._serialized_end = 7767 - _globals["_UPDATEUSERGROUPRESPONSE"]._serialized_start = 7769 - _globals["_UPDATEUSERGROUPRESPONSE"]._serialized_end = 7868 - _globals["_DELETEUSERGROUPREQUEST"]._serialized_start = 7870 - _globals["_DELETEUSERGROUPREQUEST"]._serialized_end = 7966 - _globals["_DELETEUSERGROUPRESPONSE"]._serialized_start = 7968 - _globals["_DELETEUSERGROUPRESPONSE"]._serialized_end = 8067 - _globals["_SETUSERGROUPNAMESPACEACCESSREQUEST"]._serialized_start = 8070 - _globals["_SETUSERGROUPNAMESPACEACCESSREQUEST"]._serialized_end = 8262 - _globals["_SETUSERGROUPNAMESPACEACCESSRESPONSE"]._serialized_start = 8264 - _globals["_SETUSERGROUPNAMESPACEACCESSRESPONSE"]._serialized_end = 8375 - _globals["_ADDUSERGROUPMEMBERREQUEST"]._serialized_start = 8378 - _globals["_ADDUSERGROUPMEMBERREQUEST"]._serialized_end = 8521 - _globals["_ADDUSERGROUPMEMBERRESPONSE"]._serialized_start = 8523 - _globals["_ADDUSERGROUPMEMBERRESPONSE"]._serialized_end = 8625 - _globals["_REMOVEUSERGROUPMEMBERREQUEST"]._serialized_start = 8628 - _globals["_REMOVEUSERGROUPMEMBERREQUEST"]._serialized_end = 8774 - _globals["_REMOVEUSERGROUPMEMBERRESPONSE"]._serialized_start = 8776 - _globals["_REMOVEUSERGROUPMEMBERRESPONSE"]._serialized_end = 8881 - _globals["_GETUSERGROUPMEMBERSREQUEST"]._serialized_start = 8883 - _globals["_GETUSERGROUPMEMBERSREQUEST"]._serialized_end = 8968 - _globals["_GETUSERGROUPMEMBERSRESPONSE"]._serialized_start = 8970 - _globals["_GETUSERGROUPMEMBERSRESPONSE"]._serialized_end = 9090 - _globals["_CREATESERVICEACCOUNTREQUEST"]._serialized_start = 9092 - _globals["_CREATESERVICEACCOUNTREQUEST"]._serialized_end = 9215 - _globals["_CREATESERVICEACCOUNTRESPONSE"]._serialized_start = 9218 - _globals["_CREATESERVICEACCOUNTRESPONSE"]._serialized_end = 9350 - _globals["_GETSERVICEACCOUNTREQUEST"]._serialized_start = 9352 - _globals["_GETSERVICEACCOUNTREQUEST"]._serialized_end = 9406 - _globals["_GETSERVICEACCOUNTRESPONSE"]._serialized_start = 9408 - _globals["_GETSERVICEACCOUNTRESPONSE"]._serialized_end = 9508 - _globals["_GETSERVICEACCOUNTSREQUEST"]._serialized_start = 9510 - _globals["_GETSERVICEACCOUNTSREQUEST"]._serialized_end = 9576 - _globals["_GETSERVICEACCOUNTSRESPONSE"]._serialized_start = 9578 - _globals["_GETSERVICEACCOUNTSRESPONSE"]._serialized_end = 9704 - _globals["_UPDATESERVICEACCOUNTREQUEST"]._serialized_start = 9707 - _globals["_UPDATESERVICEACCOUNTREQUEST"]._serialized_end = 9884 - _globals["_UPDATESERVICEACCOUNTRESPONSE"]._serialized_start = 9886 - _globals["_UPDATESERVICEACCOUNTRESPONSE"]._serialized_end = 9990 - _globals["_SETSERVICEACCOUNTNAMESPACEACCESSREQUEST"]._serialized_start = 9993 - _globals["_SETSERVICEACCOUNTNAMESPACEACCESSREQUEST"]._serialized_end = 10200 - _globals["_SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE"]._serialized_start = 10202 - _globals["_SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE"]._serialized_end = 10318 - _globals["_DELETESERVICEACCOUNTREQUEST"]._serialized_start = 10320 - _globals["_DELETESERVICEACCOUNTREQUEST"]._serialized_end = 10431 - _globals["_DELETESERVICEACCOUNTRESPONSE"]._serialized_start = 10433 - _globals["_DELETESERVICEACCOUNTRESPONSE"]._serialized_end = 10537 - _globals["_GETUSAGEREQUEST"]._serialized_start = 10540 - _globals["_GETUSAGEREQUEST"]._serialized_end = 10710 - _globals["_GETUSAGERESPONSE"]._serialized_start = 10712 - _globals["_GETUSAGERESPONSE"]._serialized_end = 10812 - _globals["_GETACCOUNTREQUEST"]._serialized_start = 10814 - _globals["_GETACCOUNTREQUEST"]._serialized_end = 10833 - _globals["_GETACCOUNTRESPONSE"]._serialized_start = 10835 - _globals["_GETACCOUNTRESPONSE"]._serialized_end = 10912 - _globals["_UPDATEACCOUNTREQUEST"]._serialized_start = 10915 - _globals["_UPDATEACCOUNTREQUEST"]._serialized_end = 11049 - _globals["_UPDATEACCOUNTRESPONSE"]._serialized_start = 11051 - _globals["_UPDATEACCOUNTRESPONSE"]._serialized_end = 11148 - _globals["_CREATENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 11151 - _globals["_CREATENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 11295 - _globals["_CREATENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 11297 - _globals["_CREATENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 11406 - _globals["_GETNAMESPACEEXPORTSINKREQUEST"]._serialized_start = 11408 - _globals["_GETNAMESPACEEXPORTSINKREQUEST"]._serialized_end = 11472 - _globals["_GETNAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 11474 - _globals["_GETNAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 11565 - _globals["_GETNAMESPACEEXPORTSINKSREQUEST"]._serialized_start = 11567 - _globals["_GETNAMESPACEEXPORTSINKSREQUEST"]._serialized_end = 11657 - _globals["_GETNAMESPACEEXPORTSINKSRESPONSE"]._serialized_start = 11659 - _globals["_GETNAMESPACEEXPORTSINKSRESPONSE"]._serialized_end = 11777 - _globals["_UPDATENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 11780 - _globals["_UPDATENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 11950 - _globals["_UPDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 11952 - _globals["_UPDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 12061 - _globals["_DELETENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 12063 - _globals["_DELETENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 12184 - _globals["_DELETENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 12186 - _globals["_DELETENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 12295 - _globals["_VALIDATENAMESPACEEXPORTSINKREQUEST"]._serialized_start = 12297 - _globals["_VALIDATENAMESPACEEXPORTSINKREQUEST"]._serialized_end = 12415 - _globals["_VALIDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_start = 12417 - _globals["_VALIDATENAMESPACEEXPORTSINKRESPONSE"]._serialized_end = 12454 - _globals["_UPDATENAMESPACETAGSREQUEST"]._serialized_start = 12457 - _globals["_UPDATENAMESPACETAGSREQUEST"]._serialized_end = 12715 - _globals["_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY"]._serialized_start = 12664 - _globals["_UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY"]._serialized_end = 12715 - _globals["_UPDATENAMESPACETAGSRESPONSE"]._serialized_start = 12717 - _globals["_UPDATENAMESPACETAGSRESPONSE"]._serialized_end = 12820 - _globals["_CREATECONNECTIVITYRULEREQUEST"]._serialized_start = 12823 - _globals["_CREATECONNECTIVITYRULEREQUEST"]._serialized_end = 12958 - _globals["_CREATECONNECTIVITYRULERESPONSE"]._serialized_start = 12961 - _globals["_CREATECONNECTIVITYRULERESPONSE"]._serialized_end = 13097 - _globals["_GETCONNECTIVITYRULEREQUEST"]._serialized_start = 13099 - _globals["_GETCONNECTIVITYRULEREQUEST"]._serialized_end = 13157 - _globals["_GETCONNECTIVITYRULERESPONSE"]._serialized_start = 13159 - _globals["_GETCONNECTIVITYRULERESPONSE"]._serialized_end = 13273 - _globals["_GETCONNECTIVITYRULESREQUEST"]._serialized_start = 13275 - _globals["_GETCONNECTIVITYRULESREQUEST"]._serialized_end = 13362 - _globals["_GETCONNECTIVITYRULESRESPONSE"]._serialized_start = 13365 - _globals["_GETCONNECTIVITYRULESRESPONSE"]._serialized_end = 13506 - _globals["_DELETECONNECTIVITYRULEREQUEST"]._serialized_start = 13508 - _globals["_DELETECONNECTIVITYRULEREQUEST"]._serialized_end = 13623 - _globals["_DELETECONNECTIVITYRULERESPONSE"]._serialized_start = 13625 - _globals["_DELETECONNECTIVITYRULERESPONSE"]._serialized_end = 13731 - _globals["_GETAUDITLOGSREQUEST"]._serialized_start = 13734 - _globals["_GETAUDITLOGSREQUEST"]._serialized_end = 13908 - _globals["_GETAUDITLOGSRESPONSE"]._serialized_start = 13910 - _globals["_GETAUDITLOGSRESPONSE"]._serialized_end = 14014 - _globals["_VALIDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14016 - _globals["_VALIDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14115 - _globals["_VALIDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14117 - _globals["_VALIDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14154 - _globals["_CREATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14156 - _globals["_CREATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14281 - _globals["_CREATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14283 - _globals["_CREATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14392 - _globals["_GETACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14394 - _globals["_GETACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14439 - _globals["_GETACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14441 - _globals["_GETACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14532 - _globals["_GETACCOUNTAUDITLOGSINKSREQUEST"]._serialized_start = 14534 - _globals["_GETACCOUNTAUDITLOGSINKSREQUEST"]._serialized_end = 14605 - _globals["_GETACCOUNTAUDITLOGSINKSRESPONSE"]._serialized_start = 14607 - _globals["_GETACCOUNTAUDITLOGSINKSRESPONSE"]._serialized_end = 14725 - _globals["_UPDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14728 - _globals["_UPDATEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 14879 - _globals["_UPDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 14881 - _globals["_UPDATEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 14990 - _globals["_DELETEACCOUNTAUDITLOGSINKREQUEST"]._serialized_start = 14992 - _globals["_DELETEACCOUNTAUDITLOGSINKREQUEST"]._serialized_end = 15094 - _globals["_DELETEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_start = 15096 - _globals["_DELETEACCOUNTAUDITLOGSINKRESPONSE"]._serialized_end = 15205 - _globals["_GETNAMESPACECAPACITYINFOREQUEST"]._serialized_start = 15207 - _globals["_GETNAMESPACECAPACITYINFOREQUEST"]._serialized_end = 15259 - _globals["_GETNAMESPACECAPACITYINFORESPONSE"]._serialized_start = 15261 - _globals["_GETNAMESPACECAPACITYINFORESPONSE"]._serialized_end = 15374 - _globals["_CREATEBILLINGREPORTREQUEST"]._serialized_start = 15376 - _globals["_CREATEBILLINGREPORTREQUEST"]._serialized_end = 15496 - _globals["_CREATEBILLINGREPORTRESPONSE"]._serialized_start = 15499 - _globals["_CREATEBILLINGREPORTRESPONSE"]._serialized_end = 15629 - _globals["_GETBILLINGREPORTREQUEST"]._serialized_start = 15631 - _globals["_GETBILLINGREPORTREQUEST"]._serialized_end = 15683 - _globals["_GETBILLINGREPORTRESPONSE"]._serialized_start = 15685 - _globals["_GETBILLINGREPORTRESPONSE"]._serialized_end = 15781 - _globals["_GETCUSTOMROLESREQUEST"]._serialized_start = 15783 - _globals["_GETCUSTOMROLESREQUEST"]._serialized_end = 15845 - _globals["_GETCUSTOMROLESRESPONSE"]._serialized_start = 15847 - _globals["_GETCUSTOMROLESRESPONSE"]._serialized_end = 15962 - _globals["_GETCUSTOMROLEREQUEST"]._serialized_start = 15964 - _globals["_GETCUSTOMROLEREQUEST"]._serialized_end = 16003 - _globals["_GETCUSTOMROLERESPONSE"]._serialized_start = 16005 - _globals["_GETCUSTOMROLERESPONSE"]._serialized_end = 16093 - _globals["_CREATECUSTOMROLEREQUEST"]._serialized_start = 16095 - _globals["_CREATECUSTOMROLEREQUEST"]._serialized_end = 16210 - _globals["_CREATECUSTOMROLERESPONSE"]._serialized_start = 16212 - _globals["_CREATECUSTOMROLERESPONSE"]._serialized_end = 16329 - _globals["_UPDATECUSTOMROLEREQUEST"]._serialized_start = 16332 - _globals["_UPDATECUSTOMROLEREQUEST"]._serialized_end = 16490 - _globals["_UPDATECUSTOMROLERESPONSE"]._serialized_start = 16492 - _globals["_UPDATECUSTOMROLERESPONSE"]._serialized_end = 16592 - _globals["_DELETECUSTOMROLEREQUEST"]._serialized_start = 16594 - _globals["_DELETECUSTOMROLEREQUEST"]._serialized_end = 16690 - _globals["_DELETECUSTOMROLERESPONSE"]._serialized_start = 16692 - _globals["_DELETECUSTOMROLERESPONSE"]._serialized_end = 16792 - _globals["_GETUSERNAMESPACEASSIGNMENTSREQUEST"]._serialized_start = 16794 - _globals["_GETUSERNAMESPACEASSIGNMENTSREQUEST"]._serialized_end = 16888 - _globals["_GETUSERNAMESPACEASSIGNMENTSRESPONSE"]._serialized_start = 16891 - _globals["_GETUSERNAMESPACEASSIGNMENTSRESPONSE"]._serialized_end = 17025 - _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST"]._serialized_start = 17027 - _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST"]._serialized_end = 17131 - _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE"]._serialized_start = 17134 - _globals["_GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE"]._serialized_end = 17299 - _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST"]._serialized_start = 17301 - _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST"]._serialized_end = 17400 - _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE"]._serialized_start = 17403 - _globals["_GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE"]._serialized_end = 17548 + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._options = None + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_options = b"8\001" + _GETCURRENTIDENTITYREQUEST._serialized_start = 590 + _GETCURRENTIDENTITYREQUEST._serialized_end = 617 + _GETCURRENTIDENTITYRESPONSE._serialized_start = 620 + _GETCURRENTIDENTITYRESPONSE._serialized_end = 857 + _GETUSERSREQUEST._serialized_start = 859 + _GETUSERSREQUEST._serialized_end = 949 + _GETUSERSRESPONSE._serialized_start = 951 + _GETUSERSRESPONSE._serialized_end = 1047 + _GETUSERREQUEST._serialized_start = 1049 + _GETUSERREQUEST._serialized_end = 1082 + _GETUSERRESPONSE._serialized_start = 1084 + _GETUSERRESPONSE._serialized_end = 1153 + _CREATEUSERREQUEST._serialized_start = 1155 + _CREATEUSERREQUEST._serialized_end = 1258 + _CREATEUSERRESPONSE._serialized_start = 1260 + _CREATEUSERRESPONSE._serialized_end = 1371 + _UPDATEUSERREQUEST._serialized_start = 1374 + _UPDATEUSERREQUEST._serialized_end = 1520 + _UPDATEUSERRESPONSE._serialized_start = 1522 + _UPDATEUSERRESPONSE._serialized_end = 1616 + _DELETEUSERREQUEST._serialized_start = 1618 + _DELETEUSERREQUEST._serialized_end = 1708 + _DELETEUSERRESPONSE._serialized_start = 1710 + _DELETEUSERRESPONSE._serialized_end = 1804 + _SETUSERNAMESPACEACCESSREQUEST._serialized_start = 1807 + _SETUSERNAMESPACEACCESSREQUEST._serialized_end = 1993 + _SETUSERNAMESPACEACCESSRESPONSE._serialized_start = 1995 + _SETUSERNAMESPACEACCESSRESPONSE._serialized_end = 2101 + _GETASYNCOPERATIONREQUEST._serialized_start = 2103 + _GETASYNCOPERATIONREQUEST._serialized_end = 2157 + _GETASYNCOPERATIONRESPONSE._serialized_start = 2159 + _GETASYNCOPERATIONRESPONSE._serialized_end = 2260 + _CREATENAMESPACEREQUEST._serialized_start = 2263 + _CREATENAMESPACEREQUEST._serialized_end = 2506 + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_start = 2463 + _CREATENAMESPACEREQUEST_TAGSENTRY._serialized_end = 2506 + _CREATENAMESPACERESPONSE._serialized_start = 2508 + _CREATENAMESPACERESPONSE._serialized_end = 2626 + _GETNAMESPACESREQUEST._serialized_start = 2628 + _GETNAMESPACESREQUEST._serialized_end = 2703 + _GETNAMESPACESRESPONSE._serialized_start = 2705 + _GETNAMESPACESRESPONSE._serialized_end = 2817 + _GETNAMESPACEREQUEST._serialized_start = 2819 + _GETNAMESPACEREQUEST._serialized_end = 2859 + _GETNAMESPACERESPONSE._serialized_start = 2861 + _GETNAMESPACERESPONSE._serialized_end = 2946 + _UPDATENAMESPACEREQUEST._serialized_start = 2949 + _UPDATENAMESPACEREQUEST._serialized_end = 3108 + _UPDATENAMESPACERESPONSE._serialized_start = 3110 + _UPDATENAMESPACERESPONSE._serialized_end = 3209 + _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_start = 3212 + _RENAMECUSTOMSEARCHATTRIBUTEREQUEST._serialized_end = 3410 + _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_start = 3412 + _RENAMECUSTOMSEARCHATTRIBUTERESPONSE._serialized_end = 3523 + _DELETENAMESPACEREQUEST._serialized_start = 3525 + _DELETENAMESPACEREQUEST._serialized_end = 3622 + _DELETENAMESPACERESPONSE._serialized_start = 3624 + _DELETENAMESPACERESPONSE._serialized_end = 3723 + _FAILOVERNAMESPACEREGIONREQUEST._serialized_start = 3725 + _FAILOVERNAMESPACEREGIONREQUEST._serialized_end = 3820 + _FAILOVERNAMESPACEREGIONRESPONSE._serialized_start = 3822 + _FAILOVERNAMESPACEREGIONRESPONSE._serialized_end = 3929 + _ADDNAMESPACEREGIONREQUEST._serialized_start = 3931 + _ADDNAMESPACEREGIONREQUEST._serialized_end = 4047 + _ADDNAMESPACEREGIONRESPONSE._serialized_start = 4049 + _ADDNAMESPACEREGIONRESPONSE._serialized_end = 4151 + _DELETENAMESPACEREGIONREQUEST._serialized_start = 4153 + _DELETENAMESPACEREGIONREQUEST._serialized_end = 4272 + _DELETENAMESPACEREGIONRESPONSE._serialized_start = 4274 + _DELETENAMESPACEREGIONRESPONSE._serialized_end = 4379 + _GETREGIONSREQUEST._serialized_start = 4381 + _GETREGIONSREQUEST._serialized_end = 4400 + _GETREGIONSRESPONSE._serialized_start = 4402 + _GETREGIONSRESPONSE._serialized_end = 4477 + _GETREGIONREQUEST._serialized_start = 4479 + _GETREGIONREQUEST._serialized_end = 4513 + _GETREGIONRESPONSE._serialized_start = 4515 + _GETREGIONRESPONSE._serialized_end = 4588 + _GETAPIKEYSREQUEST._serialized_start = 4591 + _GETAPIKEYSREQUEST._serialized_end = 4765 + _GETAPIKEYSRESPONSE._serialized_start = 4767 + _GETAPIKEYSRESPONSE._serialized_end = 4870 + _GETAPIKEYREQUEST._serialized_start = 4872 + _GETAPIKEYREQUEST._serialized_end = 4906 + _GETAPIKEYRESPONSE._serialized_start = 4908 + _GETAPIKEYRESPONSE._serialized_end = 4984 + _CREATEAPIKEYREQUEST._serialized_start = 4986 + _CREATEAPIKEYREQUEST._serialized_end = 5093 + _CREATEAPIKEYRESPONSE._serialized_start = 5095 + _CREATEAPIKEYRESPONSE._serialized_end = 5222 + _UPDATEAPIKEYREQUEST._serialized_start = 5225 + _UPDATEAPIKEYREQUEST._serialized_end = 5374 + _UPDATEAPIKEYRESPONSE._serialized_start = 5376 + _UPDATEAPIKEYRESPONSE._serialized_end = 5472 + _DELETEAPIKEYREQUEST._serialized_start = 5474 + _DELETEAPIKEYREQUEST._serialized_end = 5565 + _DELETEAPIKEYRESPONSE._serialized_start = 5567 + _DELETEAPIKEYRESPONSE._serialized_end = 5663 + _GETNEXUSENDPOINTSREQUEST._serialized_start = 5666 + _GETNEXUSENDPOINTSREQUEST._serialized_end = 5801 + _GETNEXUSENDPOINTSRESPONSE._serialized_start = 5803 + _GETNEXUSENDPOINTSRESPONSE._serialized_end = 5913 + _GETNEXUSENDPOINTREQUEST._serialized_start = 5915 + _GETNEXUSENDPOINTREQUEST._serialized_end = 5961 + _GETNEXUSENDPOINTRESPONSE._serialized_start = 5963 + _GETNEXUSENDPOINTRESPONSE._serialized_end = 6046 + _CREATENEXUSENDPOINTREQUEST._serialized_start = 6048 + _CREATENEXUSENDPOINTREQUEST._serialized_end = 6161 + _CREATENEXUSENDPOINTRESPONSE._serialized_start = 6163 + _CREATENEXUSENDPOINTRESPONSE._serialized_end = 6287 + _UPDATENEXUSENDPOINTREQUEST._serialized_start = 6290 + _UPDATENEXUSENDPOINTREQUEST._serialized_end = 6450 + _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 6452 + _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 6555 + _DELETENEXUSENDPOINTREQUEST._serialized_start = 6557 + _DELETENEXUSENDPOINTREQUEST._serialized_end = 6660 + _DELETENEXUSENDPOINTRESPONSE._serialized_start = 6662 + _DELETENEXUSENDPOINTRESPONSE._serialized_end = 6765 + _GETUSERGROUPSREQUEST._serialized_start = 6768 + _GETUSERGROUPSREQUEST._serialized_end = 7141 + _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_start = 7064 + _GETUSERGROUPSREQUEST_GOOGLEGROUPFILTER._serialized_end = 7106 + _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_start = 7108 + _GETUSERGROUPSREQUEST_SCIMGROUPFILTER._serialized_end = 7141 + _GETUSERGROUPSRESPONSE._serialized_start = 7143 + _GETUSERGROUPSRESPONSE._serialized_end = 7250 + _GETUSERGROUPREQUEST._serialized_start = 7252 + _GETUSERGROUPREQUEST._serialized_end = 7291 + _GETUSERGROUPRESPONSE._serialized_start = 7293 + _GETUSERGROUPRESPONSE._serialized_end = 7373 + _CREATEUSERGROUPREQUEST._serialized_start = 7375 + _CREATEUSERGROUPREQUEST._serialized_end = 7488 + _CREATEUSERGROUPRESPONSE._serialized_start = 7490 + _CREATEUSERGROUPRESPONSE._serialized_end = 7607 + _UPDATEUSERGROUPREQUEST._serialized_start = 7610 + _UPDATEUSERGROUPREQUEST._serialized_end = 7767 + _UPDATEUSERGROUPRESPONSE._serialized_start = 7769 + _UPDATEUSERGROUPRESPONSE._serialized_end = 7868 + _DELETEUSERGROUPREQUEST._serialized_start = 7870 + _DELETEUSERGROUPREQUEST._serialized_end = 7966 + _DELETEUSERGROUPRESPONSE._serialized_start = 7968 + _DELETEUSERGROUPRESPONSE._serialized_end = 8067 + _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_start = 8070 + _SETUSERGROUPNAMESPACEACCESSREQUEST._serialized_end = 8262 + _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_start = 8264 + _SETUSERGROUPNAMESPACEACCESSRESPONSE._serialized_end = 8375 + _ADDUSERGROUPMEMBERREQUEST._serialized_start = 8378 + _ADDUSERGROUPMEMBERREQUEST._serialized_end = 8521 + _ADDUSERGROUPMEMBERRESPONSE._serialized_start = 8523 + _ADDUSERGROUPMEMBERRESPONSE._serialized_end = 8625 + _REMOVEUSERGROUPMEMBERREQUEST._serialized_start = 8628 + _REMOVEUSERGROUPMEMBERREQUEST._serialized_end = 8774 + _REMOVEUSERGROUPMEMBERRESPONSE._serialized_start = 8776 + _REMOVEUSERGROUPMEMBERRESPONSE._serialized_end = 8881 + _GETUSERGROUPMEMBERSREQUEST._serialized_start = 8883 + _GETUSERGROUPMEMBERSREQUEST._serialized_end = 8968 + _GETUSERGROUPMEMBERSRESPONSE._serialized_start = 8970 + _GETUSERGROUPMEMBERSRESPONSE._serialized_end = 9090 + _CREATESERVICEACCOUNTREQUEST._serialized_start = 9092 + _CREATESERVICEACCOUNTREQUEST._serialized_end = 9215 + _CREATESERVICEACCOUNTRESPONSE._serialized_start = 9218 + _CREATESERVICEACCOUNTRESPONSE._serialized_end = 9350 + _GETSERVICEACCOUNTREQUEST._serialized_start = 9352 + _GETSERVICEACCOUNTREQUEST._serialized_end = 9406 + _GETSERVICEACCOUNTRESPONSE._serialized_start = 9408 + _GETSERVICEACCOUNTRESPONSE._serialized_end = 9508 + _GETSERVICEACCOUNTSREQUEST._serialized_start = 9510 + _GETSERVICEACCOUNTSREQUEST._serialized_end = 9576 + _GETSERVICEACCOUNTSRESPONSE._serialized_start = 9578 + _GETSERVICEACCOUNTSRESPONSE._serialized_end = 9704 + _UPDATESERVICEACCOUNTREQUEST._serialized_start = 9707 + _UPDATESERVICEACCOUNTREQUEST._serialized_end = 9884 + _UPDATESERVICEACCOUNTRESPONSE._serialized_start = 9886 + _UPDATESERVICEACCOUNTRESPONSE._serialized_end = 9990 + _SETSERVICEACCOUNTNAMESPACEACCESSREQUEST._serialized_start = 9993 + _SETSERVICEACCOUNTNAMESPACEACCESSREQUEST._serialized_end = 10200 + _SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE._serialized_start = 10202 + _SETSERVICEACCOUNTNAMESPACEACCESSRESPONSE._serialized_end = 10318 + _DELETESERVICEACCOUNTREQUEST._serialized_start = 10320 + _DELETESERVICEACCOUNTREQUEST._serialized_end = 10431 + _DELETESERVICEACCOUNTRESPONSE._serialized_start = 10433 + _DELETESERVICEACCOUNTRESPONSE._serialized_end = 10537 + _GETUSAGEREQUEST._serialized_start = 10540 + _GETUSAGEREQUEST._serialized_end = 10710 + _GETUSAGERESPONSE._serialized_start = 10712 + _GETUSAGERESPONSE._serialized_end = 10812 + _GETACCOUNTREQUEST._serialized_start = 10814 + _GETACCOUNTREQUEST._serialized_end = 10833 + _GETACCOUNTRESPONSE._serialized_start = 10835 + _GETACCOUNTRESPONSE._serialized_end = 10912 + _UPDATEACCOUNTREQUEST._serialized_start = 10915 + _UPDATEACCOUNTREQUEST._serialized_end = 11049 + _UPDATEACCOUNTRESPONSE._serialized_start = 11051 + _UPDATEACCOUNTRESPONSE._serialized_end = 11148 + _CREATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11151 + _CREATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11295 + _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11297 + _CREATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 11406 + _GETNAMESPACEEXPORTSINKREQUEST._serialized_start = 11408 + _GETNAMESPACEEXPORTSINKREQUEST._serialized_end = 11472 + _GETNAMESPACEEXPORTSINKRESPONSE._serialized_start = 11474 + _GETNAMESPACEEXPORTSINKRESPONSE._serialized_end = 11565 + _GETNAMESPACEEXPORTSINKSREQUEST._serialized_start = 11567 + _GETNAMESPACEEXPORTSINKSREQUEST._serialized_end = 11657 + _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_start = 11659 + _GETNAMESPACEEXPORTSINKSRESPONSE._serialized_end = 11777 + _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 11780 + _UPDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 11950 + _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 11952 + _UPDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 12061 + _DELETENAMESPACEEXPORTSINKREQUEST._serialized_start = 12063 + _DELETENAMESPACEEXPORTSINKREQUEST._serialized_end = 12184 + _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_start = 12186 + _DELETENAMESPACEEXPORTSINKRESPONSE._serialized_end = 12295 + _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_start = 12297 + _VALIDATENAMESPACEEXPORTSINKREQUEST._serialized_end = 12415 + _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_start = 12417 + _VALIDATENAMESPACEEXPORTSINKRESPONSE._serialized_end = 12454 + _UPDATENAMESPACETAGSREQUEST._serialized_start = 12457 + _UPDATENAMESPACETAGSREQUEST._serialized_end = 12715 + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_start = 12664 + _UPDATENAMESPACETAGSREQUEST_TAGSTOUPSERTENTRY._serialized_end = 12715 + _UPDATENAMESPACETAGSRESPONSE._serialized_start = 12717 + _UPDATENAMESPACETAGSRESPONSE._serialized_end = 12820 + _CREATECONNECTIVITYRULEREQUEST._serialized_start = 12823 + _CREATECONNECTIVITYRULEREQUEST._serialized_end = 12958 + _CREATECONNECTIVITYRULERESPONSE._serialized_start = 12961 + _CREATECONNECTIVITYRULERESPONSE._serialized_end = 13097 + _GETCONNECTIVITYRULEREQUEST._serialized_start = 13099 + _GETCONNECTIVITYRULEREQUEST._serialized_end = 13157 + _GETCONNECTIVITYRULERESPONSE._serialized_start = 13159 + _GETCONNECTIVITYRULERESPONSE._serialized_end = 13273 + _GETCONNECTIVITYRULESREQUEST._serialized_start = 13275 + _GETCONNECTIVITYRULESREQUEST._serialized_end = 13362 + _GETCONNECTIVITYRULESRESPONSE._serialized_start = 13365 + _GETCONNECTIVITYRULESRESPONSE._serialized_end = 13506 + _DELETECONNECTIVITYRULEREQUEST._serialized_start = 13508 + _DELETECONNECTIVITYRULEREQUEST._serialized_end = 13623 + _DELETECONNECTIVITYRULERESPONSE._serialized_start = 13625 + _DELETECONNECTIVITYRULERESPONSE._serialized_end = 13731 + _GETAUDITLOGSREQUEST._serialized_start = 13734 + _GETAUDITLOGSREQUEST._serialized_end = 13908 + _GETAUDITLOGSRESPONSE._serialized_start = 13910 + _GETAUDITLOGSRESPONSE._serialized_end = 14014 + _VALIDATEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14016 + _VALIDATEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14115 + _VALIDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14117 + _VALIDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14154 + _CREATEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14156 + _CREATEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14281 + _CREATEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14283 + _CREATEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14392 + _GETACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14394 + _GETACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14439 + _GETACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14441 + _GETACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14532 + _GETACCOUNTAUDITLOGSINKSREQUEST._serialized_start = 14534 + _GETACCOUNTAUDITLOGSINKSREQUEST._serialized_end = 14605 + _GETACCOUNTAUDITLOGSINKSRESPONSE._serialized_start = 14607 + _GETACCOUNTAUDITLOGSINKSRESPONSE._serialized_end = 14725 + _UPDATEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14728 + _UPDATEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 14879 + _UPDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 14881 + _UPDATEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 14990 + _DELETEACCOUNTAUDITLOGSINKREQUEST._serialized_start = 14992 + _DELETEACCOUNTAUDITLOGSINKREQUEST._serialized_end = 15094 + _DELETEACCOUNTAUDITLOGSINKRESPONSE._serialized_start = 15096 + _DELETEACCOUNTAUDITLOGSINKRESPONSE._serialized_end = 15205 + _GETNAMESPACECAPACITYINFOREQUEST._serialized_start = 15207 + _GETNAMESPACECAPACITYINFOREQUEST._serialized_end = 15259 + _GETNAMESPACECAPACITYINFORESPONSE._serialized_start = 15261 + _GETNAMESPACECAPACITYINFORESPONSE._serialized_end = 15374 + _CREATEBILLINGREPORTREQUEST._serialized_start = 15376 + _CREATEBILLINGREPORTREQUEST._serialized_end = 15496 + _CREATEBILLINGREPORTRESPONSE._serialized_start = 15499 + _CREATEBILLINGREPORTRESPONSE._serialized_end = 15629 + _GETBILLINGREPORTREQUEST._serialized_start = 15631 + _GETBILLINGREPORTREQUEST._serialized_end = 15683 + _GETBILLINGREPORTRESPONSE._serialized_start = 15685 + _GETBILLINGREPORTRESPONSE._serialized_end = 15781 + _GETCUSTOMROLESREQUEST._serialized_start = 15783 + _GETCUSTOMROLESREQUEST._serialized_end = 15845 + _GETCUSTOMROLESRESPONSE._serialized_start = 15847 + _GETCUSTOMROLESRESPONSE._serialized_end = 15962 + _GETCUSTOMROLEREQUEST._serialized_start = 15964 + _GETCUSTOMROLEREQUEST._serialized_end = 16003 + _GETCUSTOMROLERESPONSE._serialized_start = 16005 + _GETCUSTOMROLERESPONSE._serialized_end = 16093 + _CREATECUSTOMROLEREQUEST._serialized_start = 16095 + _CREATECUSTOMROLEREQUEST._serialized_end = 16210 + _CREATECUSTOMROLERESPONSE._serialized_start = 16212 + _CREATECUSTOMROLERESPONSE._serialized_end = 16329 + _UPDATECUSTOMROLEREQUEST._serialized_start = 16332 + _UPDATECUSTOMROLEREQUEST._serialized_end = 16490 + _UPDATECUSTOMROLERESPONSE._serialized_start = 16492 + _UPDATECUSTOMROLERESPONSE._serialized_end = 16592 + _DELETECUSTOMROLEREQUEST._serialized_start = 16594 + _DELETECUSTOMROLEREQUEST._serialized_end = 16690 + _DELETECUSTOMROLERESPONSE._serialized_start = 16692 + _DELETECUSTOMROLERESPONSE._serialized_end = 16792 + _GETUSERNAMESPACEASSIGNMENTSREQUEST._serialized_start = 16794 + _GETUSERNAMESPACEASSIGNMENTSREQUEST._serialized_end = 16888 + _GETUSERNAMESPACEASSIGNMENTSRESPONSE._serialized_start = 16891 + _GETUSERNAMESPACEASSIGNMENTSRESPONSE._serialized_end = 17025 + _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST._serialized_start = 17027 + _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSREQUEST._serialized_end = 17131 + _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE._serialized_start = 17134 + _GETSERVICEACCOUNTNAMESPACEASSIGNMENTSRESPONSE._serialized_end = 17299 + _GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST._serialized_start = 17301 + _GETUSERGROUPNAMESPACEASSIGNMENTSREQUEST._serialized_end = 17400 + _GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE._serialized_start = 17403 + _GETUSERGROUPNAMESPACEASSIGNMENTSRESPONSE._serialized_end = 17548 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi index 48993a300..149020039 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -24,14 +23,13 @@ import temporalio.api.cloud.operation.v1.message_pb2 import temporalio.api.cloud.region.v1.message_pb2 import temporalio.api.cloud.usage.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class GetCurrentIdentityRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -39,11 +37,8 @@ class GetCurrentIdentityRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___GetCurrentIdentityRequest: typing_extensions.TypeAlias = ( - GetCurrentIdentityRequest -) +global___GetCurrentIdentityRequest = GetCurrentIdentityRequest -@typing.final class GetCurrentIdentityResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -53,17 +48,14 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): @property def user(self) -> temporalio.api.cloud.identity.v1.message_pb2.User: """The user is a regular user""" - @property def service_account( self, ) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: """The user is a service account""" - @property def principal_api_key(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKey: """The API key info used to authenticate the request, if any""" - def __init__( self, *, @@ -75,7 +67,7 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "principal", b"principal", "principal_api_key", @@ -88,7 +80,7 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "principal", b"principal", "principal_api_key", @@ -100,14 +92,11 @@ class GetCurrentIdentityResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["principal", b"principal"] - ) -> typing.Literal["user", "service_account"] | None: ... + self, oneof_group: typing_extensions.Literal["principal", b"principal"] + ) -> typing_extensions.Literal["user", "service_account"] | None: ... -Global___GetCurrentIdentityResponse: typing_extensions.TypeAlias = ( - GetCurrentIdentityResponse -) +global___GetCurrentIdentityResponse = GetCurrentIdentityResponse -@typing.final class GetUsersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -135,7 +124,7 @@ class GetUsersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "email", b"email", "namespace", @@ -147,16 +136,13 @@ class GetUsersRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetUsersRequest: typing_extensions.TypeAlias = GetUsersRequest +global___GetUsersRequest = GetUsersRequest -@typing.final class GetUsersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor USERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token""" @property def users( self, @@ -164,7 +150,8 @@ class GetUsersResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.User ]: """The list of users in ascending ids order""" - + next_page_token: builtins.str + """The next page's token""" def __init__( self, *, @@ -176,14 +163,13 @@ class GetUsersResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "users", b"users" ], ) -> None: ... -Global___GetUsersResponse: typing_extensions.TypeAlias = GetUsersResponse +global___GetUsersResponse = GetUsersResponse -@typing.final class GetUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -195,11 +181,12 @@ class GetUserRequest(google.protobuf.message.Message): *, user_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["user_id", b"user_id"] + ) -> None: ... -Global___GetUserRequest: typing_extensions.TypeAlias = GetUserRequest +global___GetUserRequest = GetUserRequest -@typing.final class GetUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -207,31 +194,30 @@ class GetUserResponse(google.protobuf.message.Message): @property def user(self) -> temporalio.api.cloud.identity.v1.message_pb2.User: """The user""" - def __init__( self, *, user: temporalio.api.cloud.identity.v1.message_pb2.User | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["user", b"user"] + self, field_name: typing_extensions.Literal["user", b"user"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["user", b"user"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["user", b"user"] + ) -> None: ... -Global___GetUserResponse: typing_extensions.TypeAlias = GetUserResponse +global___GetUserResponse = GetUserResponse -@typing.final class CreateUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - async_operation_id: builtins.str - """The id to use for this async operation - optional""" @property def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserSpec: """The spec for the user to invite""" - + async_operation_id: builtins.str + """The id to use for this async operation - optional""" def __init__( self, *, @@ -239,18 +225,17 @@ class CreateUserRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateUserRequest: typing_extensions.TypeAlias = CreateUserRequest +global___CreateUserRequest = CreateUserRequest -@typing.final class CreateUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -263,7 +248,6 @@ class CreateUserResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -272,18 +256,18 @@ class CreateUserResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "user_id", b"user_id" ], ) -> None: ... -Global___CreateUserResponse: typing_extensions.TypeAlias = CreateUserResponse +global___CreateUserResponse = CreateUserResponse -@typing.final class UpdateUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -293,16 +277,15 @@ class UpdateUserRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int user_id: builtins.str """The id of the user to update""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserSpec: + """The new user specification""" resource_version: builtins.str """The version of the user for which this update is intended for The latest version can be found in the GetUser operation response """ async_operation_id: builtins.str """The id to use for this async operation - optional""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserSpec: - """The new user specification""" - def __init__( self, *, @@ -312,11 +295,11 @@ class UpdateUserRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -328,9 +311,8 @@ class UpdateUserRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateUserRequest: typing_extensions.TypeAlias = UpdateUserRequest +global___UpdateUserRequest = UpdateUserRequest -@typing.final class UpdateUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -340,7 +322,6 @@ class UpdateUserResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -348,15 +329,16 @@ class UpdateUserResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateUserResponse: typing_extensions.TypeAlias = UpdateUserResponse +global___UpdateUserResponse = UpdateUserResponse -@typing.final class DeleteUserRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -380,7 +362,7 @@ class DeleteUserRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -390,9 +372,8 @@ class DeleteUserRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteUserRequest: typing_extensions.TypeAlias = DeleteUserRequest +global___DeleteUserRequest = DeleteUserRequest -@typing.final class DeleteUserResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -402,7 +383,6 @@ class DeleteUserResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -410,15 +390,16 @@ class DeleteUserResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteUserResponse: typing_extensions.TypeAlias = DeleteUserResponse +global___DeleteUserResponse = DeleteUserResponse -@typing.final class SetUserNamespaceAccessRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -431,16 +412,15 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): """The namespace to set permissions for""" user_id: builtins.str """The id of the user to set permissions for""" + @property + def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: + """The namespace access to assign the user""" resource_version: builtins.str """The version of the user for which this update is intended for The latest version can be found in the GetUser operation response """ async_operation_id: builtins.str """The id to use for this async operation - optional""" - @property - def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: - """The namespace access to assign the user""" - def __init__( self, *, @@ -452,11 +432,11 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["access", b"access"] + self, field_name: typing_extensions.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "access", b"access", "async_operation_id", @@ -470,11 +450,8 @@ class SetUserNamespaceAccessRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SetUserNamespaceAccessRequest: typing_extensions.TypeAlias = ( - SetUserNamespaceAccessRequest -) +global___SetUserNamespaceAccessRequest = SetUserNamespaceAccessRequest -@typing.final class SetUserNamespaceAccessResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -484,7 +461,6 @@ class SetUserNamespaceAccessResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -492,17 +468,16 @@ class SetUserNamespaceAccessResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___SetUserNamespaceAccessResponse: typing_extensions.TypeAlias = ( - SetUserNamespaceAccessResponse -) +global___SetUserNamespaceAccessResponse = SetUserNamespaceAccessResponse -@typing.final class GetAsyncOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -515,14 +490,14 @@ class GetAsyncOperationRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["async_operation_id", b"async_operation_id"] + self, + field_name: typing_extensions.Literal[ + "async_operation_id", b"async_operation_id" + ], ) -> None: ... -Global___GetAsyncOperationRequest: typing_extensions.TypeAlias = ( - GetAsyncOperationRequest -) +global___GetAsyncOperationRequest = GetAsyncOperationRequest -@typing.final class GetAsyncOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -532,7 +507,6 @@ class GetAsyncOperationResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -540,21 +514,19 @@ class GetAsyncOperationResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___GetAsyncOperationResponse: typing_extensions.TypeAlias = ( - GetAsyncOperationResponse -) +global___GetAsyncOperationResponse = GetAsyncOperationResponse -@typing.final class CreateNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class TagsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -569,20 +541,20 @@ class CreateNamespaceRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int TAGS_FIELD_NUMBER: builtins.int + @property + def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: + """The namespace specification.""" async_operation_id: builtins.str """The id to use for this async operation. Optional, if not provided a random id will be generated. """ - @property - def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: - """The namespace specification.""" - @property def tags( self, @@ -590,7 +562,6 @@ class CreateNamespaceRequest(google.protobuf.message.Message): """The tags to add to the namespace. Note: This field can be set by global admins or account owners only. """ - def __init__( self, *, @@ -599,11 +570,11 @@ class CreateNamespaceRequest(google.protobuf.message.Message): tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", @@ -613,9 +584,8 @@ class CreateNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateNamespaceRequest: typing_extensions.TypeAlias = CreateNamespaceRequest +global___CreateNamespaceRequest = CreateNamespaceRequest -@typing.final class CreateNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -628,7 +598,6 @@ class CreateNamespaceResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -637,18 +606,18 @@ class CreateNamespaceResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "namespace", b"namespace" ], ) -> None: ... -Global___CreateNamespaceResponse: typing_extensions.TypeAlias = CreateNamespaceResponse +global___CreateNamespaceResponse = CreateNamespaceResponse -@typing.final class GetNamespacesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -677,21 +646,18 @@ class GetNamespacesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "name", b"name", "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -Global___GetNamespacesRequest: typing_extensions.TypeAlias = GetNamespacesRequest +global___GetNamespacesRequest = GetNamespacesRequest -@typing.final class GetNamespacesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def namespaces( self, @@ -699,7 +665,8 @@ class GetNamespacesResponse(google.protobuf.message.Message): temporalio.api.cloud.namespace.v1.message_pb2.Namespace ]: """The list of namespaces in ascending name order.""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -711,14 +678,13 @@ class GetNamespacesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespaces", b"namespaces", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetNamespacesResponse: typing_extensions.TypeAlias = GetNamespacesResponse +global___GetNamespacesResponse = GetNamespacesResponse -@typing.final class GetNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -731,12 +697,11 @@ class GetNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace"] + self, field_name: typing_extensions.Literal["namespace", b"namespace"] ) -> None: ... -Global___GetNamespaceRequest: typing_extensions.TypeAlias = GetNamespaceRequest +global___GetNamespaceRequest = GetNamespaceRequest -@typing.final class GetNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -744,22 +709,20 @@ class GetNamespaceResponse(google.protobuf.message.Message): @property def namespace(self) -> temporalio.api.cloud.namespace.v1.message_pb2.Namespace: """The namespace.""" - def __init__( self, *, namespace: temporalio.api.cloud.namespace.v1.message_pb2.Namespace | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["namespace", b"namespace"] + self, field_name: typing_extensions.Literal["namespace", b"namespace"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace"] + self, field_name: typing_extensions.Literal["namespace", b"namespace"] ) -> None: ... -Global___GetNamespaceResponse: typing_extensions.TypeAlias = GetNamespaceResponse +global___GetNamespaceResponse = GetNamespaceResponse -@typing.final class UpdateNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -769,6 +732,9 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace to update.""" + @property + def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: + """The new namespace specification.""" resource_version: builtins.str """The version of the namespace for which this update is intended for. The latest version can be found in the namespace status. @@ -777,10 +743,6 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): """The id to use for this async operation. Optional, if not provided a random id will be generated. """ - @property - def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceSpec: - """The new namespace specification.""" - def __init__( self, *, @@ -790,11 +752,11 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -806,9 +768,8 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateNamespaceRequest: typing_extensions.TypeAlias = UpdateNamespaceRequest +global___UpdateNamespaceRequest = UpdateNamespaceRequest -@typing.final class UpdateNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -818,7 +779,6 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -826,15 +786,16 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateNamespaceResponse: typing_extensions.TypeAlias = UpdateNamespaceResponse +global___UpdateNamespaceResponse = UpdateNamespaceResponse -@typing.final class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -868,7 +829,7 @@ class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "existing_custom_search_attribute_name", @@ -882,11 +843,8 @@ class RenameCustomSearchAttributeRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RenameCustomSearchAttributeRequest: typing_extensions.TypeAlias = ( - RenameCustomSearchAttributeRequest -) +global___RenameCustomSearchAttributeRequest = RenameCustomSearchAttributeRequest -@typing.final class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -896,7 +854,6 @@ class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -904,17 +861,16 @@ class RenameCustomSearchAttributeResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___RenameCustomSearchAttributeResponse: typing_extensions.TypeAlias = ( - RenameCustomSearchAttributeResponse -) +global___RenameCustomSearchAttributeResponse = RenameCustomSearchAttributeResponse -@typing.final class DeleteNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -940,7 +896,7 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -950,9 +906,8 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteNamespaceRequest: typing_extensions.TypeAlias = DeleteNamespaceRequest +global___DeleteNamespaceRequest = DeleteNamespaceRequest -@typing.final class DeleteNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -962,7 +917,6 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -970,15 +924,16 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteNamespaceResponse: typing_extensions.TypeAlias = DeleteNamespaceResponse +global___DeleteNamespaceResponse = DeleteNamespaceResponse -@typing.final class FailoverNamespaceRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1002,7 +957,7 @@ class FailoverNamespaceRegionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -1012,11 +967,8 @@ class FailoverNamespaceRegionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___FailoverNamespaceRegionRequest: typing_extensions.TypeAlias = ( - FailoverNamespaceRegionRequest -) +global___FailoverNamespaceRegionRequest = FailoverNamespaceRegionRequest -@typing.final class FailoverNamespaceRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1026,7 +978,6 @@ class FailoverNamespaceRegionResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1034,17 +985,16 @@ class FailoverNamespaceRegionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___FailoverNamespaceRegionResponse: typing_extensions.TypeAlias = ( - FailoverNamespaceRegionResponse -) +global___FailoverNamespaceRegionResponse = FailoverNamespaceRegionResponse -@typing.final class AddNamespaceRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1075,7 +1025,7 @@ class AddNamespaceRegionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -1087,11 +1037,8 @@ class AddNamespaceRegionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___AddNamespaceRegionRequest: typing_extensions.TypeAlias = ( - AddNamespaceRegionRequest -) +global___AddNamespaceRegionRequest = AddNamespaceRegionRequest -@typing.final class AddNamespaceRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1101,7 +1048,6 @@ class AddNamespaceRegionResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1109,17 +1055,16 @@ class AddNamespaceRegionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___AddNamespaceRegionResponse: typing_extensions.TypeAlias = ( - AddNamespaceRegionResponse -) +global___AddNamespaceRegionResponse = AddNamespaceRegionResponse -@typing.final class DeleteNamespaceRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1150,7 +1095,7 @@ class DeleteNamespaceRegionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -1162,11 +1107,8 @@ class DeleteNamespaceRegionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteNamespaceRegionRequest: typing_extensions.TypeAlias = ( - DeleteNamespaceRegionRequest -) +global___DeleteNamespaceRegionRequest = DeleteNamespaceRegionRequest -@typing.final class DeleteNamespaceRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1176,7 +1118,6 @@ class DeleteNamespaceRegionResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1184,17 +1125,16 @@ class DeleteNamespaceRegionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteNamespaceRegionResponse: typing_extensions.TypeAlias = ( - DeleteNamespaceRegionResponse -) +global___DeleteNamespaceRegionResponse = DeleteNamespaceRegionResponse -@typing.final class GetRegionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1202,9 +1142,8 @@ class GetRegionsRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___GetRegionsRequest: typing_extensions.TypeAlias = GetRegionsRequest +global___GetRegionsRequest = GetRegionsRequest -@typing.final class GetRegionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1216,7 +1155,6 @@ class GetRegionsResponse(google.protobuf.message.Message): temporalio.api.cloud.region.v1.message_pb2.Region ]: """The temporal cloud regions.""" - def __init__( self, *, @@ -1225,11 +1163,12 @@ class GetRegionsResponse(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["regions", b"regions"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["regions", b"regions"] + ) -> None: ... -Global___GetRegionsResponse: typing_extensions.TypeAlias = GetRegionsResponse +global___GetRegionsResponse = GetRegionsResponse -@typing.final class GetRegionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1241,11 +1180,12 @@ class GetRegionRequest(google.protobuf.message.Message): *, region: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["region", b"region"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["region", b"region"] + ) -> None: ... -Global___GetRegionRequest: typing_extensions.TypeAlias = GetRegionRequest +global___GetRegionRequest = GetRegionRequest -@typing.final class GetRegionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1253,20 +1193,20 @@ class GetRegionResponse(google.protobuf.message.Message): @property def region(self) -> temporalio.api.cloud.region.v1.message_pb2.Region: """The temporal cloud region.""" - def __init__( self, *, region: temporalio.api.cloud.region.v1.message_pb2.Region | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["region", b"region"] + self, field_name: typing_extensions.Literal["region", b"region"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["region", b"region"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["region", b"region"] + ) -> None: ... -Global___GetRegionResponse: typing_extensions.TypeAlias = GetRegionResponse +global___GetRegionResponse = GetRegionResponse -@typing.final class GetApiKeysRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1303,7 +1243,7 @@ class GetApiKeysRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "owner_id", b"owner_id", "owner_type", @@ -1317,16 +1257,13 @@ class GetApiKeysRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetApiKeysRequest: typing_extensions.TypeAlias = GetApiKeysRequest +global___GetApiKeysRequest = GetApiKeysRequest -@typing.final class GetApiKeysResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor API_KEYS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def api_keys( self, @@ -1334,7 +1271,8 @@ class GetApiKeysResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.ApiKey ]: """The list of api keys in ascending id order.""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -1346,14 +1284,13 @@ class GetApiKeysResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "api_keys", b"api_keys", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetApiKeysResponse: typing_extensions.TypeAlias = GetApiKeysResponse +global___GetApiKeysResponse = GetApiKeysResponse -@typing.final class GetApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1365,11 +1302,12 @@ class GetApiKeyRequest(google.protobuf.message.Message): *, key_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["key_id", b"key_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["key_id", b"key_id"] + ) -> None: ... -Global___GetApiKeyRequest: typing_extensions.TypeAlias = GetApiKeyRequest +global___GetApiKeyRequest = GetApiKeyRequest -@typing.final class GetApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1377,33 +1315,32 @@ class GetApiKeyResponse(google.protobuf.message.Message): @property def api_key(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKey: """The api key.""" - def __init__( self, *, api_key: temporalio.api.cloud.identity.v1.message_pb2.ApiKey | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["api_key", b"api_key"] + self, field_name: typing_extensions.Literal["api_key", b"api_key"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["api_key", b"api_key"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["api_key", b"api_key"] + ) -> None: ... -Global___GetApiKeyResponse: typing_extensions.TypeAlias = GetApiKeyResponse +global___GetApiKeyResponse = GetApiKeyResponse -@typing.final class CreateApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - async_operation_id: builtins.str - """The id to use for this async operation - optional.""" @property def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec: """The spec for the api key to create. Create api key only supports service-account owner type for now. """ - + async_operation_id: builtins.str + """The id to use for this async operation - optional.""" def __init__( self, *, @@ -1411,18 +1348,17 @@ class CreateApiKeyRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateApiKeyRequest: typing_extensions.TypeAlias = CreateApiKeyRequest +global___CreateApiKeyRequest = CreateApiKeyRequest -@typing.final class CreateApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1441,7 +1377,6 @@ class CreateApiKeyResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1451,11 +1386,12 @@ class CreateApiKeyResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "key_id", @@ -1465,9 +1401,8 @@ class CreateApiKeyResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateApiKeyResponse: typing_extensions.TypeAlias = CreateApiKeyResponse +global___CreateApiKeyResponse = CreateApiKeyResponse -@typing.final class UpdateApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1477,16 +1412,15 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int key_id: builtins.str """The id of the api key to update.""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec: + """The new api key specification.""" resource_version: builtins.str """The version of the api key for which this update is intended for. The latest version can be found in the GetApiKey operation response. """ async_operation_id: builtins.str """The id to use for this async operation - optional.""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ApiKeySpec: - """The new api key specification.""" - def __init__( self, *, @@ -1496,11 +1430,11 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "key_id", @@ -1512,9 +1446,8 @@ class UpdateApiKeyRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateApiKeyRequest: typing_extensions.TypeAlias = UpdateApiKeyRequest +global___UpdateApiKeyRequest = UpdateApiKeyRequest -@typing.final class UpdateApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1524,7 +1457,6 @@ class UpdateApiKeyResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1532,15 +1464,16 @@ class UpdateApiKeyResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateApiKeyResponse: typing_extensions.TypeAlias = UpdateApiKeyResponse +global___UpdateApiKeyResponse = UpdateApiKeyResponse -@typing.final class DeleteApiKeyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1564,7 +1497,7 @@ class DeleteApiKeyRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "key_id", @@ -1574,9 +1507,8 @@ class DeleteApiKeyRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteApiKeyRequest: typing_extensions.TypeAlias = DeleteApiKeyRequest +global___DeleteApiKeyRequest = DeleteApiKeyRequest -@typing.final class DeleteApiKeyResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1586,7 +1518,6 @@ class DeleteApiKeyResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1594,15 +1525,16 @@ class DeleteApiKeyResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteApiKeyResponse: typing_extensions.TypeAlias = DeleteApiKeyResponse +global___DeleteApiKeyResponse = DeleteApiKeyResponse -@typing.final class GetNexusEndpointsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1634,7 +1566,7 @@ class GetNexusEndpointsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "name", b"name", "page_size", @@ -1648,18 +1580,13 @@ class GetNexusEndpointsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetNexusEndpointsRequest: typing_extensions.TypeAlias = ( - GetNexusEndpointsRequest -) +global___GetNexusEndpointsRequest = GetNexusEndpointsRequest -@typing.final class GetNexusEndpointsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor ENDPOINTS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def endpoints( self, @@ -1667,7 +1594,8 @@ class GetNexusEndpointsResponse(google.protobuf.message.Message): temporalio.api.cloud.nexus.v1.message_pb2.Endpoint ]: """The list of endpoints in ascending id order.""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -1679,16 +1607,13 @@ class GetNexusEndpointsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "endpoints", b"endpoints", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetNexusEndpointsResponse: typing_extensions.TypeAlias = ( - GetNexusEndpointsResponse -) +global___GetNexusEndpointsResponse = GetNexusEndpointsResponse -@typing.final class GetNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1701,12 +1626,11 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): endpoint_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["endpoint_id", b"endpoint_id"] + self, field_name: typing_extensions.Literal["endpoint_id", b"endpoint_id"] ) -> None: ... -Global___GetNexusEndpointRequest: typing_extensions.TypeAlias = GetNexusEndpointRequest +global___GetNexusEndpointRequest = GetNexusEndpointRequest -@typing.final class GetNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1714,35 +1638,30 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): @property def endpoint(self) -> temporalio.api.cloud.nexus.v1.message_pb2.Endpoint: """The nexus endpoint.""" - def __init__( self, *, endpoint: temporalio.api.cloud.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> None: ... -Global___GetNexusEndpointResponse: typing_extensions.TypeAlias = ( - GetNexusEndpointResponse -) +global___GetNexusEndpointResponse = GetNexusEndpointResponse -@typing.final class CreateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - async_operation_id: builtins.str - """The id to use for this async operation - optional.""" @property def spec(self) -> temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec: """The spec for the nexus endpoint.""" - + async_operation_id: builtins.str + """The id to use for this async operation - optional.""" def __init__( self, *, @@ -1750,20 +1669,17 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateNexusEndpointRequest: typing_extensions.TypeAlias = ( - CreateNexusEndpointRequest -) +global___CreateNexusEndpointRequest = CreateNexusEndpointRequest -@typing.final class CreateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1776,7 +1692,6 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1785,20 +1700,18 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "endpoint_id", b"endpoint_id" ], ) -> None: ... -Global___CreateNexusEndpointResponse: typing_extensions.TypeAlias = ( - CreateNexusEndpointResponse -) +global___CreateNexusEndpointResponse = CreateNexusEndpointResponse -@typing.final class UpdateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1808,16 +1721,15 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int endpoint_id: builtins.str """The id of the nexus endpoint to update.""" + @property + def spec(self) -> temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec: + """The updated nexus endpoint specification.""" resource_version: builtins.str """The version of the nexus endpoint for which this update is intended for. The latest version can be found in the GetNexusEndpoint operation response. """ async_operation_id: builtins.str """The id to use for this async operation - optional.""" - @property - def spec(self) -> temporalio.api.cloud.nexus.v1.message_pb2.EndpointSpec: - """The updated nexus endpoint specification.""" - def __init__( self, *, @@ -1827,11 +1739,11 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "endpoint_id", @@ -1843,11 +1755,8 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateNexusEndpointRequest: typing_extensions.TypeAlias = ( - UpdateNexusEndpointRequest -) +global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest -@typing.final class UpdateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1857,7 +1766,6 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -1865,17 +1773,16 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateNexusEndpointResponse: typing_extensions.TypeAlias = ( - UpdateNexusEndpointResponse -) +global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse -@typing.final class DeleteNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1899,7 +1806,7 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "endpoint_id", @@ -1909,11 +1816,8 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteNexusEndpointRequest: typing_extensions.TypeAlias = ( - DeleteNexusEndpointRequest -) +global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest -@typing.final class DeleteNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1923,7 +1827,6 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -1931,21 +1834,19 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteNexusEndpointResponse: typing_extensions.TypeAlias = ( - DeleteNexusEndpointResponse -) +global___DeleteNexusEndpointResponse = DeleteNexusEndpointResponse -@typing.final class GetUserGroupsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class GoogleGroupFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1958,10 +1859,10 @@ class GetUserGroupsRequest(google.protobuf.message.Message): email_address: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["email_address", b"email_address"] + self, + field_name: typing_extensions.Literal["email_address", b"email_address"], ) -> None: ... - @typing.final class SCIMGroupFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1974,7 +1875,7 @@ class GetUserGroupsRequest(google.protobuf.message.Message): idp_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["idp_id", b"idp_id"] + self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] ) -> None: ... PAGE_SIZE_FIELD_NUMBER: builtins.int @@ -1994,13 +1895,11 @@ class GetUserGroupsRequest(google.protobuf.message.Message): display_name: builtins.str """Filter groups by the display name - optional.""" @property - def google_group(self) -> Global___GetUserGroupsRequest.GoogleGroupFilter: + def google_group(self) -> global___GetUserGroupsRequest.GoogleGroupFilter: """Filter groups by the google group specification - optional.""" - @property - def scim_group(self) -> Global___GetUserGroupsRequest.SCIMGroupFilter: + def scim_group(self) -> global___GetUserGroupsRequest.SCIMGroupFilter: """Filter groups by the SCIM group specification - optional.""" - def __init__( self, *, @@ -2008,18 +1907,18 @@ class GetUserGroupsRequest(google.protobuf.message.Message): page_token: builtins.str = ..., namespace: builtins.str = ..., display_name: builtins.str = ..., - google_group: Global___GetUserGroupsRequest.GoogleGroupFilter | None = ..., - scim_group: Global___GetUserGroupsRequest.SCIMGroupFilter | None = ..., + google_group: global___GetUserGroupsRequest.GoogleGroupFilter | None = ..., + scim_group: global___GetUserGroupsRequest.SCIMGroupFilter | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "google_group", b"google_group", "scim_group", b"scim_group" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "display_name", b"display_name", "google_group", @@ -2035,16 +1934,13 @@ class GetUserGroupsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetUserGroupsRequest: typing_extensions.TypeAlias = GetUserGroupsRequest +global___GetUserGroupsRequest = GetUserGroupsRequest -@typing.final class GetUserGroupsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUPS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def groups( self, @@ -2052,7 +1948,8 @@ class GetUserGroupsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserGroup ]: """The list of groups in ascending name order.""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -2064,14 +1961,13 @@ class GetUserGroupsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "groups", b"groups", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetUserGroupsResponse: typing_extensions.TypeAlias = GetUserGroupsResponse +global___GetUserGroupsResponse = GetUserGroupsResponse -@typing.final class GetUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2084,12 +1980,11 @@ class GetUserGroupRequest(google.protobuf.message.Message): group_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["group_id", b"group_id"] + self, field_name: typing_extensions.Literal["group_id", b"group_id"] ) -> None: ... -Global___GetUserGroupRequest: typing_extensions.TypeAlias = GetUserGroupRequest +global___GetUserGroupRequest = GetUserGroupRequest -@typing.final class GetUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2097,33 +1992,32 @@ class GetUserGroupResponse(google.protobuf.message.Message): @property def group(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroup: """The group.""" - def __init__( self, *, group: temporalio.api.cloud.identity.v1.message_pb2.UserGroup | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["group", b"group"] + self, field_name: typing_extensions.Literal["group", b"group"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["group", b"group"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["group", b"group"] + ) -> None: ... -Global___GetUserGroupResponse: typing_extensions.TypeAlias = GetUserGroupResponse +global___GetUserGroupResponse = GetUserGroupResponse -@typing.final class CreateUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: + """The spec for the group to create.""" async_operation_id: builtins.str """The id to use for this async operation. Optional, if not provided a random id will be generated. """ - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: - """The spec for the group to create.""" - def __init__( self, *, @@ -2131,18 +2025,17 @@ class CreateUserGroupRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateUserGroupRequest: typing_extensions.TypeAlias = CreateUserGroupRequest +global___CreateUserGroupRequest = CreateUserGroupRequest -@typing.final class CreateUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2155,7 +2048,6 @@ class CreateUserGroupResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2164,18 +2056,18 @@ class CreateUserGroupResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "group_id", b"group_id" ], ) -> None: ... -Global___CreateUserGroupResponse: typing_extensions.TypeAlias = CreateUserGroupResponse +global___CreateUserGroupResponse = CreateUserGroupResponse -@typing.final class UpdateUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2185,6 +2077,9 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int group_id: builtins.str """The id of the group to update.""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: + """The new group specification.""" resource_version: builtins.str """The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response. @@ -2193,10 +2088,6 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): """The id to use for this async operation. Optional, if not provided a random id will be generated. """ - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupSpec: - """The new group specification.""" - def __init__( self, *, @@ -2206,11 +2097,11 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2222,9 +2113,8 @@ class UpdateUserGroupRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateUserGroupRequest: typing_extensions.TypeAlias = UpdateUserGroupRequest +global___UpdateUserGroupRequest = UpdateUserGroupRequest -@typing.final class UpdateUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2234,7 +2124,6 @@ class UpdateUserGroupResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2242,15 +2131,16 @@ class UpdateUserGroupResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateUserGroupResponse: typing_extensions.TypeAlias = UpdateUserGroupResponse +global___UpdateUserGroupResponse = UpdateUserGroupResponse -@typing.final class DeleteUserGroupRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2276,7 +2166,7 @@ class DeleteUserGroupRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2286,9 +2176,8 @@ class DeleteUserGroupRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteUserGroupRequest: typing_extensions.TypeAlias = DeleteUserGroupRequest +global___DeleteUserGroupRequest = DeleteUserGroupRequest -@typing.final class DeleteUserGroupResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2298,7 +2187,6 @@ class DeleteUserGroupResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2306,15 +2194,16 @@ class DeleteUserGroupResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteUserGroupResponse: typing_extensions.TypeAlias = DeleteUserGroupResponse +global___DeleteUserGroupResponse = DeleteUserGroupResponse -@typing.final class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2327,16 +2216,15 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): """The namespace to set permissions for.""" group_id: builtins.str """The id of the group to set permissions for.""" + @property + def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: + """The namespace access to assign the group. If left empty, the group will be removed from the namespace access.""" resource_version: builtins.str """The version of the group for which this update is intended for. The latest version can be found in the GetGroup operation response. """ async_operation_id: builtins.str """The id to use for this async operation - optional.""" - @property - def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: - """The namespace access to assign the group. If left empty, the group will be removed from the namespace access.""" - def __init__( self, *, @@ -2348,11 +2236,11 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["access", b"access"] + self, field_name: typing_extensions.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "access", b"access", "async_operation_id", @@ -2366,11 +2254,8 @@ class SetUserGroupNamespaceAccessRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SetUserGroupNamespaceAccessRequest: typing_extensions.TypeAlias = ( - SetUserGroupNamespaceAccessRequest -) +global___SetUserGroupNamespaceAccessRequest = SetUserGroupNamespaceAccessRequest -@typing.final class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2380,7 +2265,6 @@ class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2388,17 +2272,16 @@ class SetUserGroupNamespaceAccessResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___SetUserGroupNamespaceAccessResponse: typing_extensions.TypeAlias = ( - SetUserGroupNamespaceAccessResponse -) +global___SetUserGroupNamespaceAccessResponse = SetUserGroupNamespaceAccessResponse -@typing.final class AddUserGroupMemberRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2407,16 +2290,15 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int group_id: builtins.str """The id of the group to add the member for.""" - async_operation_id: builtins.str - """The id to use for this async operation. - Optional, if not provided a random id will be generated. - """ @property def member_id( self, ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" - + async_operation_id: builtins.str + """The id to use for this async operation. + Optional, if not provided a random id will be generated. + """ def __init__( self, *, @@ -2426,11 +2308,11 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["member_id", b"member_id"] + self, field_name: typing_extensions.Literal["member_id", b"member_id"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2440,11 +2322,8 @@ class AddUserGroupMemberRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___AddUserGroupMemberRequest: typing_extensions.TypeAlias = ( - AddUserGroupMemberRequest -) +global___AddUserGroupMemberRequest = AddUserGroupMemberRequest -@typing.final class AddUserGroupMemberResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2454,7 +2333,6 @@ class AddUserGroupMemberResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2462,17 +2340,16 @@ class AddUserGroupMemberResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___AddUserGroupMemberResponse: typing_extensions.TypeAlias = ( - AddUserGroupMemberResponse -) +global___AddUserGroupMemberResponse = AddUserGroupMemberResponse -@typing.final class RemoveUserGroupMemberRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2481,16 +2358,15 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int group_id: builtins.str """The id of the group to add the member for.""" - async_operation_id: builtins.str - """The id to use for this async operation. - Optional, if not provided a random id will be generated. - """ @property def member_id( self, ) -> temporalio.api.cloud.identity.v1.message_pb2.UserGroupMemberId: """The member id to add to the group.""" - + async_operation_id: builtins.str + """The id to use for this async operation. + Optional, if not provided a random id will be generated. + """ def __init__( self, *, @@ -2500,11 +2376,11 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["member_id", b"member_id"] + self, field_name: typing_extensions.Literal["member_id", b"member_id"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "group_id", @@ -2514,11 +2390,8 @@ class RemoveUserGroupMemberRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RemoveUserGroupMemberRequest: typing_extensions.TypeAlias = ( - RemoveUserGroupMemberRequest -) +global___RemoveUserGroupMemberRequest = RemoveUserGroupMemberRequest -@typing.final class RemoveUserGroupMemberResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2528,7 +2401,6 @@ class RemoveUserGroupMemberResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2536,17 +2408,16 @@ class RemoveUserGroupMemberResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___RemoveUserGroupMemberResponse: typing_extensions.TypeAlias = ( - RemoveUserGroupMemberResponse -) +global___RemoveUserGroupMemberResponse = RemoveUserGroupMemberResponse -@typing.final class GetUserGroupMembersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2570,7 +2441,7 @@ class GetUserGroupMembersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "group_id", b"group_id", "page_size", @@ -2580,18 +2451,13 @@ class GetUserGroupMembersRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetUserGroupMembersRequest: typing_extensions.TypeAlias = ( - GetUserGroupMembersRequest -) +global___GetUserGroupMembersRequest = GetUserGroupMembersRequest -@typing.final class GetUserGroupMembersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor MEMBERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def members( self, @@ -2599,7 +2465,8 @@ class GetUserGroupMembersResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserGroupMember ]: """The list of group members""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -2611,27 +2478,23 @@ class GetUserGroupMembersResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "members", b"members", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetUserGroupMembersResponse: typing_extensions.TypeAlias = ( - GetUserGroupMembersResponse -) +global___GetUserGroupMembersResponse = GetUserGroupMembersResponse -@typing.final class CreateServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - async_operation_id: builtins.str - """The ID to use for this async operation - optional.""" @property def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec: """The spec of the service account to create.""" - + async_operation_id: builtins.str + """The ID to use for this async operation - optional.""" def __init__( self, *, @@ -2640,20 +2503,17 @@ class CreateServiceAccountRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateServiceAccountRequest: typing_extensions.TypeAlias = ( - CreateServiceAccountRequest -) +global___CreateServiceAccountRequest = CreateServiceAccountRequest -@typing.final class CreateServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2666,7 +2526,6 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2675,11 +2534,12 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "service_account_id", @@ -2687,11 +2547,8 @@ class CreateServiceAccountResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateServiceAccountResponse: typing_extensions.TypeAlias = ( - CreateServiceAccountResponse -) +global___CreateServiceAccountResponse = CreateServiceAccountResponse -@typing.final class GetServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2704,14 +2561,14 @@ class GetServiceAccountRequest(google.protobuf.message.Message): service_account_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["service_account_id", b"service_account_id"] + self, + field_name: typing_extensions.Literal[ + "service_account_id", b"service_account_id" + ], ) -> None: ... -Global___GetServiceAccountRequest: typing_extensions.TypeAlias = ( - GetServiceAccountRequest -) +global___GetServiceAccountRequest = GetServiceAccountRequest -@typing.final class GetServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2721,7 +2578,6 @@ class GetServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount: """The service account retrieved.""" - def __init__( self, *, @@ -2729,17 +2585,16 @@ class GetServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["service_account", b"service_account"] + self, + field_name: typing_extensions.Literal["service_account", b"service_account"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["service_account", b"service_account"] + self, + field_name: typing_extensions.Literal["service_account", b"service_account"], ) -> None: ... -Global___GetServiceAccountResponse: typing_extensions.TypeAlias = ( - GetServiceAccountResponse -) +global___GetServiceAccountResponse = GetServiceAccountResponse -@typing.final class GetServiceAccountsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2759,23 +2614,18 @@ class GetServiceAccountsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -Global___GetServiceAccountsRequest: typing_extensions.TypeAlias = ( - GetServiceAccountsRequest -) +global___GetServiceAccountsRequest = GetServiceAccountsRequest -@typing.final class GetServiceAccountsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page token, set if there is another page.""" @property def service_account( self, @@ -2783,7 +2633,8 @@ class GetServiceAccountsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.ServiceAccount ]: """The list of service accounts in ascending ID order.""" - + next_page_token: builtins.str + """The next page token, set if there is another page.""" def __init__( self, *, @@ -2795,16 +2646,13 @@ class GetServiceAccountsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "service_account", b"service_account" ], ) -> None: ... -Global___GetServiceAccountsResponse: typing_extensions.TypeAlias = ( - GetServiceAccountsResponse -) +global___GetServiceAccountsResponse = GetServiceAccountsResponse -@typing.final class UpdateServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2814,16 +2662,15 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int service_account_id: builtins.str """The ID of the service account to update.""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec: + """The new service account specification.""" resource_version: builtins.str """The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountSpec: - """The new service account specification.""" - def __init__( self, *, @@ -2834,11 +2681,11 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -2850,11 +2697,8 @@ class UpdateServiceAccountRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateServiceAccountRequest: typing_extensions.TypeAlias = ( - UpdateServiceAccountRequest -) +global___UpdateServiceAccountRequest = UpdateServiceAccountRequest -@typing.final class UpdateServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2864,7 +2708,6 @@ class UpdateServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2872,17 +2715,16 @@ class UpdateServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateServiceAccountResponse: typing_extensions.TypeAlias = ( - UpdateServiceAccountResponse -) +global___UpdateServiceAccountResponse = UpdateServiceAccountResponse -@typing.final class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2895,16 +2737,15 @@ class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): """The ID of the service account to update.""" namespace: builtins.str """The namespace to set permissions for.""" + @property + def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: + """The namespace access to assign the service account.""" resource_version: builtins.str """The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" - @property - def access(self) -> temporalio.api.cloud.identity.v1.message_pb2.NamespaceAccess: - """The namespace access to assign the service account.""" - def __init__( self, *, @@ -2916,11 +2757,11 @@ class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["access", b"access"] + self, field_name: typing_extensions.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "access", b"access", "async_operation_id", @@ -2934,11 +2775,10 @@ class SetServiceAccountNamespaceAccessRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SetServiceAccountNamespaceAccessRequest: typing_extensions.TypeAlias = ( +global___SetServiceAccountNamespaceAccessRequest = ( SetServiceAccountNamespaceAccessRequest ) -@typing.final class SetServiceAccountNamespaceAccessResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2948,7 +2788,6 @@ class SetServiceAccountNamespaceAccessResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -2956,17 +2795,18 @@ class SetServiceAccountNamespaceAccessResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___SetServiceAccountNamespaceAccessResponse: typing_extensions.TypeAlias = ( +global___SetServiceAccountNamespaceAccessResponse = ( SetServiceAccountNamespaceAccessResponse ) -@typing.final class DeleteServiceAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2990,7 +2830,7 @@ class DeleteServiceAccountRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -3000,11 +2840,8 @@ class DeleteServiceAccountRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteServiceAccountRequest: typing_extensions.TypeAlias = ( - DeleteServiceAccountRequest -) +global___DeleteServiceAccountRequest = DeleteServiceAccountRequest -@typing.final class DeleteServiceAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3014,7 +2851,6 @@ class DeleteServiceAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -3022,17 +2858,16 @@ class DeleteServiceAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteServiceAccountResponse: typing_extensions.TypeAlias = ( - DeleteServiceAccountResponse -) +global___DeleteServiceAccountResponse = DeleteServiceAccountResponse -@typing.final class GetUsageRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3040,13 +2875,6 @@ class GetUsageRequest(google.protobuf.message.Message): END_TIME_EXCLUSIVE_FIELD_NUMBER: builtins.int PAGE_SIZE_FIELD_NUMBER: builtins.int PAGE_TOKEN_FIELD_NUMBER: builtins.int - page_size: builtins.int - """The requested size of the page to retrieve - optional. - Each count corresponds to a single object - per day per namespace - Cannot exceed 1000. Defaults to 100. - """ - page_token: builtins.str - """The page token if this is continuing from another response - optional.""" @property def start_time_inclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time >= - optional. @@ -3054,7 +2882,6 @@ class GetUsageRequest(google.protobuf.message.Message): Must be: within the last 90 days from the current date. Must be: midnight UTC time. """ - @property def end_time_exclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time < - optional. @@ -3062,7 +2889,13 @@ class GetUsageRequest(google.protobuf.message.Message): Must be: within the last 90 days from the current date. Must be: midnight UTC time. """ - + page_size: builtins.int + """The requested size of the page to retrieve - optional. + Each count corresponds to a single object - per day per namespace + Cannot exceed 1000. Defaults to 100. + """ + page_token: builtins.str + """The page token if this is continuing from another response - optional.""" def __init__( self, *, @@ -3073,7 +2906,7 @@ class GetUsageRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time_exclusive", b"end_time_exclusive", "start_time_inclusive", @@ -3082,7 +2915,7 @@ class GetUsageRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time_exclusive", b"end_time_exclusive", "page_size", @@ -3094,16 +2927,13 @@ class GetUsageRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetUsageRequest: typing_extensions.TypeAlias = GetUsageRequest +global___GetUsageRequest = GetUsageRequest -@typing.final class GetUsageResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SUMMARIES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def summaries( self, @@ -3113,7 +2943,8 @@ class GetUsageResponse(google.protobuf.message.Message): """The list of data based on granularity (per Day for now) Ordered by: time range in ascending order """ - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -3125,14 +2956,13 @@ class GetUsageResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "summaries", b"summaries" ], ) -> None: ... -Global___GetUsageResponse: typing_extensions.TypeAlias = GetUsageResponse +global___GetUsageResponse = GetUsageResponse -@typing.final class GetAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3140,9 +2970,8 @@ class GetAccountRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___GetAccountRequest: typing_extensions.TypeAlias = GetAccountRequest +global___GetAccountRequest = GetAccountRequest -@typing.final class GetAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3150,26 +2979,29 @@ class GetAccountResponse(google.protobuf.message.Message): @property def account(self) -> temporalio.api.cloud.account.v1.message_pb2.Account: """The account.""" - def __init__( self, *, account: temporalio.api.cloud.account.v1.message_pb2.Account | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["account", b"account"] + self, field_name: typing_extensions.Literal["account", b"account"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["account", b"account"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["account", b"account"] + ) -> None: ... -Global___GetAccountResponse: typing_extensions.TypeAlias = GetAccountResponse +global___GetAccountResponse = GetAccountResponse -@typing.final class UpdateAccountRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int RESOURCE_VERSION_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + @property + def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AccountSpec: + """The updated account specification to apply.""" resource_version: builtins.str """The version of the account for which this update is intended for. The latest version can be found in the GetAccount operation response. @@ -3178,10 +3010,6 @@ class UpdateAccountRequest(google.protobuf.message.Message): """The id to use for this async operation. Optional, if not provided a random id will be generated. """ - @property - def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AccountSpec: - """The updated account specification to apply.""" - def __init__( self, *, @@ -3190,11 +3018,11 @@ class UpdateAccountRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -3204,9 +3032,8 @@ class UpdateAccountRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateAccountRequest: typing_extensions.TypeAlias = UpdateAccountRequest +global___UpdateAccountRequest = UpdateAccountRequest -@typing.final class UpdateAccountResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3216,7 +3043,6 @@ class UpdateAccountResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -3224,15 +3050,16 @@ class UpdateAccountResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateAccountResponse: typing_extensions.TypeAlias = UpdateAccountResponse +global___UpdateAccountResponse = UpdateAccountResponse -@typing.final class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3241,12 +3068,11 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace under which the sink is configured.""" - async_operation_id: builtins.str - """Optional. The ID to use for this async operation.""" @property def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: """The specification for the export sink.""" - + async_operation_id: builtins.str + """Optional. The ID to use for this async operation.""" def __init__( self, *, @@ -3255,11 +3081,11 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -3269,11 +3095,8 @@ class CreateNamespaceExportSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( - CreateNamespaceExportSinkRequest -) +global___CreateNamespaceExportSinkRequest = CreateNamespaceExportSinkRequest -@typing.final class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3283,7 +3106,6 @@ class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -3291,17 +3113,16 @@ class CreateNamespaceExportSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___CreateNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( - CreateNamespaceExportSinkResponse -) +global___CreateNamespaceExportSinkResponse = CreateNamespaceExportSinkResponse -@typing.final class GetNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3318,14 +3139,14 @@ class GetNamespaceExportSinkRequest(google.protobuf.message.Message): name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "namespace", b"namespace"] + self, + field_name: typing_extensions.Literal[ + "name", b"name", "namespace", b"namespace" + ], ) -> None: ... -Global___GetNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( - GetNamespaceExportSinkRequest -) +global___GetNamespaceExportSinkRequest = GetNamespaceExportSinkRequest -@typing.final class GetNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3333,22 +3154,20 @@ class GetNamespaceExportSinkResponse(google.protobuf.message.Message): @property def sink(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSink: """The export sink retrieved.""" - def __init__( self, *, sink: temporalio.api.cloud.namespace.v1.message_pb2.ExportSink | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["sink", b"sink"] + self, field_name: typing_extensions.Literal["sink", b"sink"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["sink", b"sink"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["sink", b"sink"] + ) -> None: ... -Global___GetNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( - GetNamespaceExportSinkResponse -) +global___GetNamespaceExportSinkResponse = GetNamespaceExportSinkResponse -@typing.final class GetNamespaceExportSinksRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3372,7 +3191,7 @@ class GetNamespaceExportSinksRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "page_size", @@ -3382,18 +3201,13 @@ class GetNamespaceExportSinksRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetNamespaceExportSinksRequest: typing_extensions.TypeAlias = ( - GetNamespaceExportSinksRequest -) +global___GetNamespaceExportSinksRequest = GetNamespaceExportSinksRequest -@typing.final class GetNamespaceExportSinksResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SINKS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page token, set if there is another page.""" @property def sinks( self, @@ -3401,7 +3215,8 @@ class GetNamespaceExportSinksResponse(google.protobuf.message.Message): temporalio.api.cloud.namespace.v1.message_pb2.ExportSink ]: """The list of export sinks retrieved.""" - + next_page_token: builtins.str + """The next page token, set if there is another page.""" def __init__( self, *, @@ -3413,16 +3228,13 @@ class GetNamespaceExportSinksResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "sinks", b"sinks" ], ) -> None: ... -Global___GetNamespaceExportSinksResponse: typing_extensions.TypeAlias = ( - GetNamespaceExportSinksResponse -) +global___GetNamespaceExportSinksResponse = GetNamespaceExportSinksResponse -@typing.final class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3432,16 +3244,15 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace to which the sink belongs.""" + @property + def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: + """The updated export sink specification.""" resource_version: builtins.str """The version of the sink to update. The latest version can be retrieved using the GetNamespaceExportSink call. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" - @property - def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: - """The updated export sink specification.""" - def __init__( self, *, @@ -3451,11 +3262,11 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -3467,11 +3278,8 @@ class UpdateNamespaceExportSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( - UpdateNamespaceExportSinkRequest -) +global___UpdateNamespaceExportSinkRequest = UpdateNamespaceExportSinkRequest -@typing.final class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3481,7 +3289,6 @@ class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -3489,17 +3296,16 @@ class UpdateNamespaceExportSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( - UpdateNamespaceExportSinkResponse -) +global___UpdateNamespaceExportSinkResponse = UpdateNamespaceExportSinkResponse -@typing.final class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3527,7 +3333,7 @@ class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "name", @@ -3539,11 +3345,8 @@ class DeleteNamespaceExportSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( - DeleteNamespaceExportSinkRequest -) +global___DeleteNamespaceExportSinkRequest = DeleteNamespaceExportSinkRequest -@typing.final class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3553,7 +3356,6 @@ class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -3561,17 +3363,16 @@ class DeleteNamespaceExportSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( - DeleteNamespaceExportSinkResponse -) +global___DeleteNamespaceExportSinkResponse = DeleteNamespaceExportSinkResponse -@typing.final class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3582,7 +3383,6 @@ class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec: """The export sink specification to validate.""" - def __init__( self, *, @@ -3590,17 +3390,17 @@ class ValidateNamespaceExportSinkRequest(google.protobuf.message.Message): spec: temporalio.api.cloud.namespace.v1.message_pb2.ExportSinkSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace", "spec", b"spec"] + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "spec", b"spec" + ], ) -> None: ... -Global___ValidateNamespaceExportSinkRequest: typing_extensions.TypeAlias = ( - ValidateNamespaceExportSinkRequest -) +global___ValidateNamespaceExportSinkRequest = ValidateNamespaceExportSinkRequest -@typing.final class ValidateNamespaceExportSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3608,15 +3408,11 @@ class ValidateNamespaceExportSinkResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ValidateNamespaceExportSinkResponse: typing_extensions.TypeAlias = ( - ValidateNamespaceExportSinkResponse -) +global___ValidateNamespaceExportSinkResponse = ValidateNamespaceExportSinkResponse -@typing.final class UpdateNamespaceTagsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class TagsToUpsertEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3631,7 +3427,8 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -3640,8 +3437,6 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace to set tags for.""" - async_operation_id: builtins.str - """The id to use for this async operation - optional.""" @property def tags_to_upsert( self, @@ -3650,7 +3445,6 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified. """ - @property def tags_to_remove( self, @@ -3659,7 +3453,8 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified. """ - + async_operation_id: builtins.str + """The id to use for this async operation - optional.""" def __init__( self, *, @@ -3671,7 +3466,7 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "namespace", @@ -3683,11 +3478,8 @@ class UpdateNamespaceTagsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateNamespaceTagsRequest: typing_extensions.TypeAlias = ( - UpdateNamespaceTagsRequest -) +global___UpdateNamespaceTagsRequest = UpdateNamespaceTagsRequest -@typing.final class UpdateNamespaceTagsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3697,7 +3489,6 @@ class UpdateNamespaceTagsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -3705,32 +3496,30 @@ class UpdateNamespaceTagsResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateNamespaceTagsResponse: typing_extensions.TypeAlias = ( - UpdateNamespaceTagsResponse -) +global___UpdateNamespaceTagsResponse = UpdateNamespaceTagsResponse -@typing.final class CreateConnectivityRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - async_operation_id: builtins.str - """The id to use for this async operation. - Optional, if not provided a random id will be generated. - """ @property def spec( self, ) -> temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRuleSpec: """The connectivity rule specification.""" - + async_operation_id: builtins.str + """The id to use for this async operation. + Optional, if not provided a random id will be generated. + """ def __init__( self, *, @@ -3739,20 +3528,17 @@ class CreateConnectivityRuleRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateConnectivityRuleRequest: typing_extensions.TypeAlias = ( - CreateConnectivityRuleRequest -) +global___CreateConnectivityRuleRequest = CreateConnectivityRuleRequest -@typing.final class CreateConnectivityRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3765,7 +3551,6 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -3774,11 +3559,12 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "connectivity_rule_id", @@ -3786,11 +3572,8 @@ class CreateConnectivityRuleResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateConnectivityRuleResponse: typing_extensions.TypeAlias = ( - CreateConnectivityRuleResponse -) +global___CreateConnectivityRuleResponse = CreateConnectivityRuleResponse -@typing.final class GetConnectivityRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3804,14 +3587,13 @@ class GetConnectivityRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["connectivity_rule_id", b"connectivity_rule_id"], + field_name: typing_extensions.Literal[ + "connectivity_rule_id", b"connectivity_rule_id" + ], ) -> None: ... -Global___GetConnectivityRuleRequest: typing_extensions.TypeAlias = ( - GetConnectivityRuleRequest -) +global___GetConnectivityRuleRequest = GetConnectivityRuleRequest -@typing.final class GetConnectivityRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3827,17 +3609,20 @@ class GetConnectivityRuleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["connectivity_rule", b"connectivity_rule"] + self, + field_name: typing_extensions.Literal[ + "connectivity_rule", b"connectivity_rule" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["connectivity_rule", b"connectivity_rule"] + self, + field_name: typing_extensions.Literal[ + "connectivity_rule", b"connectivity_rule" + ], ) -> None: ... -Global___GetConnectivityRuleResponse: typing_extensions.TypeAlias = ( - GetConnectivityRuleResponse -) +global___GetConnectivityRuleResponse = GetConnectivityRuleResponse -@typing.final class GetConnectivityRulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3863,7 +3648,7 @@ class GetConnectivityRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "page_size", @@ -3873,18 +3658,13 @@ class GetConnectivityRulesRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetConnectivityRulesRequest: typing_extensions.TypeAlias = ( - GetConnectivityRulesRequest -) +global___GetConnectivityRulesRequest = GetConnectivityRulesRequest -@typing.final class GetConnectivityRulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CONNECTIVITY_RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page token""" @property def connectivity_rules( self, @@ -3892,7 +3672,8 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule ]: """connectivity_rules returned""" - + next_page_token: builtins.str + """The next page token""" def __init__( self, *, @@ -3904,7 +3685,7 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "connectivity_rules", b"connectivity_rules", "next_page_token", @@ -3912,11 +3693,8 @@ class GetConnectivityRulesResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___GetConnectivityRulesResponse: typing_extensions.TypeAlias = ( - GetConnectivityRulesResponse -) +global___GetConnectivityRulesResponse = GetConnectivityRulesResponse -@typing.final class DeleteConnectivityRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3942,7 +3720,7 @@ class DeleteConnectivityRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "connectivity_rule_id", @@ -3952,11 +3730,8 @@ class DeleteConnectivityRuleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteConnectivityRuleRequest: typing_extensions.TypeAlias = ( - DeleteConnectivityRuleRequest -) +global___DeleteConnectivityRuleRequest = DeleteConnectivityRuleRequest -@typing.final class DeleteConnectivityRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3966,7 +3741,6 @@ class DeleteConnectivityRuleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation""" - def __init__( self, *, @@ -3974,17 +3748,16 @@ class DeleteConnectivityRuleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteConnectivityRuleResponse: typing_extensions.TypeAlias = ( - DeleteConnectivityRuleResponse -) +global___DeleteConnectivityRuleResponse = DeleteConnectivityRuleResponse -@typing.final class GetAuditLogsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4001,11 +3774,9 @@ class GetAuditLogsRequest(google.protobuf.message.Message): @property def start_time_inclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time >= (defaults to 30 days ago) - optional.""" - @property def end_time_exclusive(self) -> google.protobuf.timestamp_pb2.Timestamp: """Filter for UTC time < (defaults to current time) - optional.""" - def __init__( self, *, @@ -4016,7 +3787,7 @@ class GetAuditLogsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time_exclusive", b"end_time_exclusive", "start_time_inclusive", @@ -4025,7 +3796,7 @@ class GetAuditLogsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time_exclusive", b"end_time_exclusive", "page_size", @@ -4037,16 +3808,13 @@ class GetAuditLogsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetAuditLogsRequest: typing_extensions.TypeAlias = GetAuditLogsRequest +global___GetAuditLogsRequest = GetAuditLogsRequest -@typing.final class GetAuditLogsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor LOGS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def logs( self, @@ -4054,7 +3822,8 @@ class GetAuditLogsResponse(google.protobuf.message.Message): temporalio.api.cloud.auditlog.v1.message_pb2.LogRecord ]: """The list of audit logs ordered by emit time, log_id""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -4066,14 +3835,13 @@ class GetAuditLogsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "logs", b"logs", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetAuditLogsResponse: typing_extensions.TypeAlias = GetAuditLogsResponse +global___GetAuditLogsResponse = GetAuditLogsResponse -@typing.final class ValidateAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4081,22 +3849,20 @@ class ValidateAccountAuditLogSinkRequest(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: """The audit log sink spec that will be validated""" - def __init__( self, *, spec: temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["spec", b"spec"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> None: ... -Global___ValidateAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( - ValidateAccountAuditLogSinkRequest -) +global___ValidateAccountAuditLogSinkRequest = ValidateAccountAuditLogSinkRequest -@typing.final class ValidateAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4104,22 +3870,18 @@ class ValidateAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ValidateAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( - ValidateAccountAuditLogSinkResponse -) +global___ValidateAccountAuditLogSinkResponse = ValidateAccountAuditLogSinkResponse -@typing.final class CreateAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - async_operation_id: builtins.str - """Optional. The ID to use for this async operation.""" @property def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: """The specification for the audit log sink.""" - + async_operation_id: builtins.str + """Optional. The ID to use for this async operation.""" def __init__( self, *, @@ -4127,20 +3889,17 @@ class CreateAccountAuditLogSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( - CreateAccountAuditLogSinkRequest -) +global___CreateAccountAuditLogSinkRequest = CreateAccountAuditLogSinkRequest -@typing.final class CreateAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4150,7 +3909,6 @@ class CreateAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -4158,17 +3916,16 @@ class CreateAccountAuditLogSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___CreateAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( - CreateAccountAuditLogSinkResponse -) +global___CreateAccountAuditLogSinkResponse = CreateAccountAuditLogSinkResponse -@typing.final class GetAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4180,13 +3937,12 @@ class GetAccountAuditLogSinkRequest(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["name", b"name"] + ) -> None: ... -Global___GetAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( - GetAccountAuditLogSinkRequest -) +global___GetAccountAuditLogSinkRequest = GetAccountAuditLogSinkRequest -@typing.final class GetAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4194,22 +3950,20 @@ class GetAccountAuditLogSinkResponse(google.protobuf.message.Message): @property def sink(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSink: """The audit log sink retrieved.""" - def __init__( self, *, sink: temporalio.api.cloud.account.v1.message_pb2.AuditLogSink | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["sink", b"sink"] + self, field_name: typing_extensions.Literal["sink", b"sink"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["sink", b"sink"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["sink", b"sink"] + ) -> None: ... -Global___GetAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( - GetAccountAuditLogSinkResponse -) +global___GetAccountAuditLogSinkResponse = GetAccountAuditLogSinkResponse -@typing.final class GetAccountAuditLogSinksRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4229,23 +3983,18 @@ class GetAccountAuditLogSinksRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -Global___GetAccountAuditLogSinksRequest: typing_extensions.TypeAlias = ( - GetAccountAuditLogSinksRequest -) +global___GetAccountAuditLogSinksRequest = GetAccountAuditLogSinksRequest -@typing.final class GetAccountAuditLogSinksResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SINKS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page token, set if there is another page.""" @property def sinks( self, @@ -4253,7 +4002,8 @@ class GetAccountAuditLogSinksResponse(google.protobuf.message.Message): temporalio.api.cloud.account.v1.message_pb2.AuditLogSink ]: """The list of audit log sinks retrieved.""" - + next_page_token: builtins.str + """The next page token, set if there is another page.""" def __init__( self, *, @@ -4265,32 +4015,28 @@ class GetAccountAuditLogSinksResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "sinks", b"sinks" ], ) -> None: ... -Global___GetAccountAuditLogSinksResponse: typing_extensions.TypeAlias = ( - GetAccountAuditLogSinksResponse -) +global___GetAccountAuditLogSinksResponse = GetAccountAuditLogSinksResponse -@typing.final class UpdateAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int RESOURCE_VERSION_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + @property + def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: + """The updated audit log sink specification.""" resource_version: builtins.str """The version of the audit log sink to update. The latest version can be retrieved using the GetAuditLogSink call. """ async_operation_id: builtins.str """The ID to use for this async operation - optional.""" - @property - def spec(self) -> temporalio.api.cloud.account.v1.message_pb2.AuditLogSinkSpec: - """The updated audit log sink specification.""" - def __init__( self, *, @@ -4299,11 +4045,11 @@ class UpdateAccountAuditLogSinkRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -4313,11 +4059,8 @@ class UpdateAccountAuditLogSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( - UpdateAccountAuditLogSinkRequest -) +global___UpdateAccountAuditLogSinkRequest = UpdateAccountAuditLogSinkRequest -@typing.final class UpdateAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4327,7 +4070,6 @@ class UpdateAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -4335,17 +4077,16 @@ class UpdateAccountAuditLogSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( - UpdateAccountAuditLogSinkResponse -) +global___UpdateAccountAuditLogSinkResponse = UpdateAccountAuditLogSinkResponse -@typing.final class DeleteAccountAuditLogSinkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4369,7 +4110,7 @@ class DeleteAccountAuditLogSinkRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "name", @@ -4379,11 +4120,8 @@ class DeleteAccountAuditLogSinkRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteAccountAuditLogSinkRequest: typing_extensions.TypeAlias = ( - DeleteAccountAuditLogSinkRequest -) +global___DeleteAccountAuditLogSinkRequest = DeleteAccountAuditLogSinkRequest -@typing.final class DeleteAccountAuditLogSinkResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4393,7 +4131,6 @@ class DeleteAccountAuditLogSinkResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -4401,17 +4138,16 @@ class DeleteAccountAuditLogSinkResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteAccountAuditLogSinkResponse: typing_extensions.TypeAlias = ( - DeleteAccountAuditLogSinkResponse -) +global___DeleteAccountAuditLogSinkResponse = DeleteAccountAuditLogSinkResponse -@typing.final class GetNamespaceCapacityInfoRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4426,14 +4162,11 @@ class GetNamespaceCapacityInfoRequest(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace"] + self, field_name: typing_extensions.Literal["namespace", b"namespace"] ) -> None: ... -Global___GetNamespaceCapacityInfoRequest: typing_extensions.TypeAlias = ( - GetNamespaceCapacityInfoRequest -) +global___GetNamespaceCapacityInfoRequest = GetNamespaceCapacityInfoRequest -@typing.final class GetNamespaceCapacityInfoResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4443,7 +4176,6 @@ class GetNamespaceCapacityInfoResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.namespace.v1.message_pb2.NamespaceCapacityInfo: """Capacity information for the namespace.""" - def __init__( self, *, @@ -4451,28 +4183,24 @@ class GetNamespaceCapacityInfoResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["capacity_info", b"capacity_info"] + self, field_name: typing_extensions.Literal["capacity_info", b"capacity_info"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["capacity_info", b"capacity_info"] + self, field_name: typing_extensions.Literal["capacity_info", b"capacity_info"] ) -> None: ... -Global___GetNamespaceCapacityInfoResponse: typing_extensions.TypeAlias = ( - GetNamespaceCapacityInfoResponse -) +global___GetNamespaceCapacityInfoResponse = GetNamespaceCapacityInfoResponse -@typing.final class CreateBillingReportRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int - async_operation_id: builtins.str - """Optional, if not provided a random id will be generated.""" @property def spec(self) -> temporalio.api.cloud.billing.v1.message_pb2.BillingReportSpec: """The specification for the billing report.""" - + async_operation_id: builtins.str + """Optional, if not provided a random id will be generated.""" def __init__( self, *, @@ -4481,20 +4209,17 @@ class CreateBillingReportRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateBillingReportRequest: typing_extensions.TypeAlias = ( - CreateBillingReportRequest -) +global___CreateBillingReportRequest = CreateBillingReportRequest -@typing.final class CreateBillingReportResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4507,7 +4232,6 @@ class CreateBillingReportResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -4516,11 +4240,12 @@ class CreateBillingReportResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "billing_report_id", @@ -4528,11 +4253,8 @@ class CreateBillingReportResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateBillingReportResponse: typing_extensions.TypeAlias = ( - CreateBillingReportResponse -) +global___CreateBillingReportResponse = CreateBillingReportResponse -@typing.final class GetBillingReportRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4545,12 +4267,14 @@ class GetBillingReportRequest(google.protobuf.message.Message): billing_report_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["billing_report_id", b"billing_report_id"] + self, + field_name: typing_extensions.Literal[ + "billing_report_id", b"billing_report_id" + ], ) -> None: ... -Global___GetBillingReportRequest: typing_extensions.TypeAlias = GetBillingReportRequest +global___GetBillingReportRequest = GetBillingReportRequest -@typing.final class GetBillingReportResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4560,7 +4284,6 @@ class GetBillingReportResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.billing.v1.message_pb2.BillingReport: """The billing report retrieved.""" - def __init__( self, *, @@ -4568,17 +4291,14 @@ class GetBillingReportResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["billing_report", b"billing_report"] + self, field_name: typing_extensions.Literal["billing_report", b"billing_report"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["billing_report", b"billing_report"] + self, field_name: typing_extensions.Literal["billing_report", b"billing_report"] ) -> None: ... -Global___GetBillingReportResponse: typing_extensions.TypeAlias = ( - GetBillingReportResponse -) +global___GetBillingReportResponse = GetBillingReportResponse -@typing.final class GetCustomRolesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4598,21 +4318,18 @@ class GetCustomRolesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "page_size", b"page_size", "page_token", b"page_token" ], ) -> None: ... -Global___GetCustomRolesRequest: typing_extensions.TypeAlias = GetCustomRolesRequest +global___GetCustomRolesRequest = GetCustomRolesRequest -@typing.final class GetCustomRolesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CUSTOM_ROLES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page token.""" @property def custom_roles( self, @@ -4620,7 +4337,8 @@ class GetCustomRolesResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.CustomRole ]: """The list of custom roles in ascending ID order.""" - + next_page_token: builtins.str + """The next page token.""" def __init__( self, *, @@ -4632,14 +4350,13 @@ class GetCustomRolesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "custom_roles", b"custom_roles", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetCustomRolesResponse: typing_extensions.TypeAlias = GetCustomRolesResponse +global___GetCustomRolesResponse = GetCustomRolesResponse -@typing.final class GetCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4651,11 +4368,12 @@ class GetCustomRoleRequest(google.protobuf.message.Message): *, role_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["role_id", b"role_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["role_id", b"role_id"] + ) -> None: ... -Global___GetCustomRoleRequest: typing_extensions.TypeAlias = GetCustomRoleRequest +global___GetCustomRoleRequest = GetCustomRoleRequest -@typing.final class GetCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4663,7 +4381,6 @@ class GetCustomRoleResponse(google.protobuf.message.Message): @property def custom_role(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRole: """The custom role retrieved.""" - def __init__( self, *, @@ -4671,28 +4388,26 @@ class GetCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["custom_role", b"custom_role"] + self, field_name: typing_extensions.Literal["custom_role", b"custom_role"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["custom_role", b"custom_role"] + self, field_name: typing_extensions.Literal["custom_role", b"custom_role"] ) -> None: ... -Global___GetCustomRoleResponse: typing_extensions.TypeAlias = GetCustomRoleResponse +global___GetCustomRoleResponse = GetCustomRoleResponse -@typing.final class CreateCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SPEC_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: + """The specification for the custom role to create.""" async_operation_id: builtins.str """The ID to use for this async operation. Optional, if not provided a random ID will be generated. """ - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: - """The specification for the custom role to create.""" - def __init__( self, *, @@ -4700,18 +4415,17 @@ class CreateCustomRoleRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "spec", b"spec" ], ) -> None: ... -Global___CreateCustomRoleRequest: typing_extensions.TypeAlias = CreateCustomRoleRequest +global___CreateCustomRoleRequest = CreateCustomRoleRequest -@typing.final class CreateCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4724,7 +4438,6 @@ class CreateCustomRoleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -4733,20 +4446,18 @@ class CreateCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation", b"async_operation", "role_id", b"role_id" ], ) -> None: ... -Global___CreateCustomRoleResponse: typing_extensions.TypeAlias = ( - CreateCustomRoleResponse -) +global___CreateCustomRoleResponse = CreateCustomRoleResponse -@typing.final class UpdateCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4756,6 +4467,9 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int role_id: builtins.str """The ID of the custom role to update.""" + @property + def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: + """The new custom role specification.""" resource_version: builtins.str """The version of the custom role for which this update is intended. The latest version can be found in the GetCustomRole operation response. @@ -4764,10 +4478,6 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): """The ID to use for this async operation. Optional, if not provided a random ID will be generated. """ - @property - def spec(self) -> temporalio.api.cloud.identity.v1.message_pb2.CustomRoleSpec: - """The new custom role specification.""" - def __init__( self, *, @@ -4777,11 +4487,11 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): async_operation_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -4793,9 +4503,8 @@ class UpdateCustomRoleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateCustomRoleRequest: typing_extensions.TypeAlias = UpdateCustomRoleRequest +global___UpdateCustomRoleRequest = UpdateCustomRoleRequest -@typing.final class UpdateCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4805,7 +4514,6 @@ class UpdateCustomRoleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -4813,17 +4521,16 @@ class UpdateCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___UpdateCustomRoleResponse: typing_extensions.TypeAlias = ( - UpdateCustomRoleResponse -) +global___UpdateCustomRoleResponse = UpdateCustomRoleResponse -@typing.final class DeleteCustomRoleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4849,7 +4556,7 @@ class DeleteCustomRoleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "resource_version", @@ -4859,9 +4566,8 @@ class DeleteCustomRoleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteCustomRoleRequest: typing_extensions.TypeAlias = DeleteCustomRoleRequest +global___DeleteCustomRoleRequest = DeleteCustomRoleRequest -@typing.final class DeleteCustomRoleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4871,7 +4577,6 @@ class DeleteCustomRoleResponse(google.protobuf.message.Message): self, ) -> temporalio.api.cloud.operation.v1.message_pb2.AsyncOperation: """The async operation.""" - def __init__( self, *, @@ -4879,17 +4584,16 @@ class DeleteCustomRoleResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["async_operation", b"async_operation"] + self, + field_name: typing_extensions.Literal["async_operation", b"async_operation"], ) -> None: ... -Global___DeleteCustomRoleResponse: typing_extensions.TypeAlias = ( - DeleteCustomRoleResponse -) +global___DeleteCustomRoleResponse = DeleteCustomRoleResponse -@typing.final class GetUserNamespaceAssignmentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4913,7 +4617,7 @@ class GetUserNamespaceAssignmentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "page_size", @@ -4923,18 +4627,13 @@ class GetUserNamespaceAssignmentsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetUserNamespaceAssignmentsRequest: typing_extensions.TypeAlias = ( - GetUserNamespaceAssignmentsRequest -) +global___GetUserNamespaceAssignmentsRequest = GetUserNamespaceAssignmentsRequest -@typing.final class GetUserNamespaceAssignmentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor USERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def users( self, @@ -4942,7 +4641,8 @@ class GetUserNamespaceAssignmentsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserNamespaceAssignment ]: """The list of users with access to the namespace.""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -4954,16 +4654,13 @@ class GetUserNamespaceAssignmentsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "users", b"users" ], ) -> None: ... -Global___GetUserNamespaceAssignmentsResponse: typing_extensions.TypeAlias = ( - GetUserNamespaceAssignmentsResponse -) +global___GetUserNamespaceAssignmentsResponse = GetUserNamespaceAssignmentsResponse -@typing.final class GetServiceAccountNamespaceAssignmentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4987,7 +4684,7 @@ class GetServiceAccountNamespaceAssignmentsRequest(google.protobuf.message.Messa ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "page_size", @@ -4997,18 +4694,15 @@ class GetServiceAccountNamespaceAssignmentsRequest(google.protobuf.message.Messa ], ) -> None: ... -Global___GetServiceAccountNamespaceAssignmentsRequest: typing_extensions.TypeAlias = ( +global___GetServiceAccountNamespaceAssignmentsRequest = ( GetServiceAccountNamespaceAssignmentsRequest ) -@typing.final class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SERVICE_ACCOUNTS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def service_accounts( self, @@ -5016,7 +4710,8 @@ class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Mess temporalio.api.cloud.identity.v1.message_pb2.ServiceAccountNamespaceAssignment ]: """The list of service accounts with access to the namespace.""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -5028,7 +4723,7 @@ class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Mess ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "service_accounts", @@ -5036,11 +4731,10 @@ class GetServiceAccountNamespaceAssignmentsResponse(google.protobuf.message.Mess ], ) -> None: ... -Global___GetServiceAccountNamespaceAssignmentsResponse: typing_extensions.TypeAlias = ( +global___GetServiceAccountNamespaceAssignmentsResponse = ( GetServiceAccountNamespaceAssignmentsResponse ) -@typing.final class GetUserGroupNamespaceAssignmentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5064,7 +4758,7 @@ class GetUserGroupNamespaceAssignmentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "page_size", @@ -5074,18 +4768,15 @@ class GetUserGroupNamespaceAssignmentsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetUserGroupNamespaceAssignmentsRequest: typing_extensions.TypeAlias = ( +global___GetUserGroupNamespaceAssignmentsRequest = ( GetUserGroupNamespaceAssignmentsRequest ) -@typing.final class GetUserGroupNamespaceAssignmentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUPS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.str - """The next page's token.""" @property def groups( self, @@ -5093,7 +4784,8 @@ class GetUserGroupNamespaceAssignmentsResponse(google.protobuf.message.Message): temporalio.api.cloud.identity.v1.message_pb2.UserGroupNamespaceAssignment ]: """The list of user groups with access to the namespace.""" - + next_page_token: builtins.str + """The next page's token.""" def __init__( self, *, @@ -5105,11 +4797,11 @@ class GetUserGroupNamespaceAssignmentsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "groups", b"groups", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetUserGroupNamespaceAssignmentsResponse: typing_extensions.TypeAlias = ( +global___GetUserGroupNamespaceAssignmentsResponse = ( GetUserGroupNamespaceAssignmentsResponse ) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py index 6ca49f7d5..bf947056a 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.py @@ -1,28 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc - -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/cloud/cloudservice/v1/request_response_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) diff --git a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi index 56d3cebc2..f3a5a087e 100644 --- a/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/cloud/cloudservice/v1/request_response_pb2_grpc.pyi @@ -2,23 +2,3 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -import abc -import collections.abc -import typing - -import grpc -import grpc.aio - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str diff --git a/temporalio/api/cloud/cloudservice/v1/service_pb2.py b/temporalio/api/cloud/cloudservice/v1/service_pb2.py index b094174a3..aca6662c2 100644 --- a/temporalio/api/cloud/cloudservice/v1/service_pb2.py +++ b/temporalio/api/cloud/cloudservice/v1/service_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/cloudservice/v1/service.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/cloudservice/v1/service.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,409 +24,320 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\x92\xd7\x01\n\x0c\x43loudService\x12\xb0\x02\n\x12GetCurrentIdentity\x12=.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse"\x9a\x01\x92\x41x\n\x07\x41\x63\x63ount\x12\x14Get current identity\x1aWReturns information about the currently authenticated user or service account principal\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/current-identity\x12\xa5\x02\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse"\xad\x01\x92\x41\x95\x01\n\x05Users\x12\x0eList all users\x1a*Returns a list of all users in the account"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users*\tlistUsers\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x12\x9c\x02\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse"\xa7\x01\x92\x41\x85\x01\n\x05Users\x12\x0eGet user by ID\x1a%Takes a user ID, returns user details"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x12\xd0\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse"S\x92\x41\x39\n\x05Users\x12\rCreate a user\x1a!Creates a new user in the account\x82\xd3\xe4\x93\x02\x11"\x0c/cloud/users:\x01*\x12\xdb\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse"^\x92\x41:\n\x05Users\x12\rUpdate a user\x1a"Updates an existing user\'s details\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/users/{user_id}:\x01*\x12\xd5\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse"X\x92\x41\x37\n\x05Users\x12\rDelete a user\x1a\x1fRemoves a user from the account\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x12\xaa\x03\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse"\x88\x02\x92\x41\xc5\x01\n\x05Users\x12\x19Set user namespace access\x1a\x38\x43onfigures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\x12@https://docs.temporal.io/cloud/users-namespace-level-permissions\x82\xd3\xe4\x93\x02\x39"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x12\xb1\x02\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse"\x9e\x01\x92\x41m\n\nOperations\x12\x1aGet async operation status\x1a\x43Returns the current status and details of an asynchronous operation\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x12\xc6\x02\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse"\xb9\x01\x92\x41\x99\x01\n\nNamespaces\x12\x12\x43reate a namespace\x1a&Creates a new namespace in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x16"\x11/cloud/namespaces:\x01*\x12\xc7\x02\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse"\xc0\x01\x92\x41\xa3\x01\n\nNamespaces\x12\x13List all namespaces\x1a/Returns a list of all namespaces in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x12\xda\x02\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse"\xd6\x01\x92\x41\xad\x01\n\nNamespaces\x12\x15Get namespace details\x1a\x37Returns detailed information about a specific namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x12\xdb\x02\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse"\xce\x01\x92\x41\xa2\x01\n\nNamespaces\x12\x12Update a namespace\x1a/Updates configuration for an existing namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x82\xd3\xe4\x93\x02""\x1d/cloud/namespaces/{namespace}:\x01*\x12\xc7\x03\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse"\x96\x02\x92\x41\xcb\x01\n\nNamespaces\x12\x1eRename custom search attribute\x1a\x30Renames a custom search attribute in a namespace"k\n&Custom Search Attributes documentation\x12\x41https://docs.temporal.io/search-attribute#custom-search-attribute\x82\xd3\xe4\x93\x02\x41".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse"\xf0\x01\x88\x02\x01\x92\x41\xb6\x01\n\x11High Availability\x12\x15\x41\x64\x64 namespace replica\x1a+Adds a new replica to an existing namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x82\xd3\xe4\x93\x02-"(/cloud/namespaces/{namespace}/add-region:\x01*\x12\x9e\x03\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse"\xff\x01\x88\x02\x01\x92\x41\xc2\x01\n\x11High Availability\x12\x18Remove namespace replica\x1a\x34Removes a replica from a high availability namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x12\xa3\x02\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse"\xa5\x01\x92\x41\x8b\x01\n\x07Regions\x12\x10List all regions\x1a-Returns a list of all available cloud regions"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x12\xb2\x02\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse"\xb7\x01\x92\x41\x94\x01\n\x07Regions\x12\x12Get region details\x1a\x34Returns detailed information about a specific region"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x12\xa8\x02\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse"\xaa\x01\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11List all API keys\x1a-Returns a list of all API keys in the account"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x12\xb8\x02\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse"\xbd\x01\x92\x41\x99\x01\n\x08\x41PI Keys\x12\x13Get API key details\x1a\x35Returns detailed information about a specific API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x12\xb1\x02\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse"\xad\x01\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11\x43reate an API key\x1a-Creates a new API key for programmatic access"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x14"\x0f/cloud/api-keys:\x01*\x12\xb5\x02\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse"\xb1\x01\x92\x41\x8a\x01\n\x08\x41PI Keys\x12\x11Update an API key\x1a(Updates an existing API key\'s properties"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1d"\x18/cloud/api-keys/{key_id}:\x01*\x12\xa8\x02\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse"\xa4\x01\x92\x41\x80\x01\n\x08\x41PI Keys\x12\x11\x44\x65lete an API key\x1a\x1eRevokes and deletes an API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x12\xc3\x02\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse"\xb0\x01\x92\x41\x8e\x01\n\x05Nexus\x12\x18List all Nexus endpoints\x1a\x34Returns a list of all Nexus endpoints in the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x12\xd8\x02\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse"\xc8\x01\x92\x41\x98\x01\n\x05Nexus\x12\x1aGet Nexus endpoint details\x1a.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse"\xbc\x01\x92\x41\x97\x01\n\x05Nexus\x12\x17\x43reate a Nexus endpoint\x1a>Creates a new Nexus endpoint for cross-namespace communication"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/nexus/endpoints:\x01*\x12\xd7\x02\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse"\xbe\x01\x92\x41\x8b\x01\n\x05Nexus\x12\x17Update a Nexus endpoint\x1a\x32Updates an existing Nexus endpoint\'s configuration"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02)"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x12\xcb\x02\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse"\xb2\x01\x92\x41\x82\x01\n\x05Nexus\x12\x17\x44\x65lete a Nexus endpoint\x1a)Removes a Nexus endpoint from the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x12\xcc\x02\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse"\xc5\x01\x92\x41\xa7\x01\n\x06Groups\x12\x14List all user groups\x1a\x30Returns a list of all user groups in the account"U\n\x19User groups documentation\x12\x38https://docs.temporal.io/cloud/users-account-level-roles\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x12\xd0\x02\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse"\xcc\x01\x92\x41\xa3\x01\n\x06Groups\x12\x16Get user group details\x1a\x38Returns detailed information about a specific user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x12\xc7\x02\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse"\xba\x01\x92\x41\x99\x01\n\x06Groups\x12\x13\x43reate a user group\x1a\x31\x43reates a new user group for managing permissions"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x17"\x12/cloud/user-groups:\x01*\x12\xcc\x02\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse"\xbf\x01\x92\x41\x93\x01\n\x06Groups\x12\x13Update a user group\x1a+Updates an existing user group\'s properties"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02""\x1d/cloud/user-groups/{group_id}:\x01*\x12\xc3\x02\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse"\xb6\x01\x92\x41\x8d\x01\n\x06Groups\x12\x13\x44\x65lete a user group\x1a%Removes a user group from the account"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x12\xad\x03\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse"\xfc\x01\x92\x41\xb2\x01\n\x06Groups\x12\x1fSet user group namespace access\x1a>Configures a user group\'s permissions for a specific namespace"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x12\xdf\x02\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse"\xc9\x01\x92\x41\x95\x01\n\x06Groups\x12\x11\x41\x64\x64 user to group\x1a/Adds a user to a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02*"%/cloud/user-groups/{group_id}/members:\x01*\x12\xf8\x02\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse"\xd9\x01\x92\x41\x9f\x01\n\x06Groups\x12\x16Remove user from group\x1a\x34Removes a user from a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x30"+/cloud/user-groups/{group_id}/remove-member:\x01*\x12\xdf\x02\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse"\xc6\x01\x92\x41\x95\x01\n\x06Groups\x12\x15List users in a group\x1a+Returns a list of all users in a user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x12\xf5\x02\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse"\xd9\x01\x92\x41\xb3\x01\n\x10Service Accounts\x12\x18\x43reate a service account\x1a\x32\x43reates a new service account for automated access"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x1c"\x17/cloud/service-accounts:\x01*\x12\x8c\x03\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse"\xf9\x01\x92\x41\xc1\x01\n\x10Service Accounts\x12\x1bGet service account details\x1a=Returns detailed information about a specific service account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x12\xf0\x02\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse"\xda\x01\x92\x41\xb7\x01\n\x10Service Accounts\x12\x19List all service accounts\x1a\x35Returns a list of all service accounts in the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x12\x88\x03\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse"\xec\x01\x92\x41\xb1\x01\n\x10Service Accounts\x12\x18Update a service account\x1a\x30Updates an existing service account\'s properties"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02\x31",/cloud/service-accounts/{service_account_id}:\x01*\x12\xe9\x03\n SetServiceAccountNamespaceAccess\x12K.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest\x1aL.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse"\xa9\x02\x92\x41\xd0\x01\n\x10Service Accounts\x12$Set service account namespace access\x1a\x43\x43onfigures a service account\'s permissions for a specific namespace"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\x01*\x12\xff\x02\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse"\xe3\x01\x92\x41\xab\x01\n\x10Service Accounts\x12\x18\x44\x65lete a service account\x1a*Removes a service account from the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x12\xcb\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse"T\x92\x41=\n\x07\x41\x63\x63ount\x12\x0eGet usage data\x1a Get usage data across namespacesX\x01\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x12\xb0\x02\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse"\xb2\x01\x92\x41\x98\x01\n\x07\x41\x63\x63ount\x12\x13Get account details\x1a.Returns detailed information about the account"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x12\xbb\x02\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse"\xb4\x01\x92\x41\x97\x01\n\x07\x41\x63\x63ount\x12\x16Update account details\x1a*Updates account configuration and settings"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x82\xd3\xe4\x93\x02\x13"\x0e/cloud/account:\x01*\x12\xf3\x02\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse"\xc8\x01\x92\x41\x8f\x01\n\x06\x45xport\x12\x1a\x43reate history export sink\x1a*Creates a new workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02/"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x12\x8c\x03\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse"\xea\x01\x92\x41\xad\x01\n\x06\x45xport\x12\x18Get history sink details\x1aJReturns detailed information about a specific workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x12\x82\x03\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse"\xdd\x01\x92\x41\xa7\x01\n\x06\x45xport\x12\x19List history export sinks\x1a\x43Returns a list of all workflow history export sinks for a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x12\x95\x03\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse"\xea\x01\x92\x41\xa5\x01\n\x06\x45xport\x12\x1aUpdate history export sink\x1a@Updates an existing workflow history export sink\'s configuration"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x12\x84\x03\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse"\xd9\x01\x92\x41\x9c\x01\n\x06\x45xport\x12\x1a\x44\x65lete history export sink\x1a\x37Removes a workflow history export sink from a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x12\xc9\x03\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse"\x98\x02\x92\x41\xd7\x01\n\x06\x45xport\x12*Validate history export sink configuration\x1a\x62Tests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x82\xd3\xe4\x93\x02\x37"2/cloud/namespaces/{namespace}/export-sink-validate:\x01*\x12\xfc\x02\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse"\xe3\x01\x92\x41\xab\x01\n\nNamespaces\x12\x15Update namespace tags\x1a,Updates the tags associated with a namespace"X\n\x1bNamespace tag documentation\x12\x39https://docs.temporal.io/cloud/namespaces#tag-a-namespace\x82\xd3\xe4\x93\x02.")/cloud/namespaces/{namespace}/update-tags:\x01*\x12\xff\x02\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse"\xdd\x01\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x18\x43reate connectivity rule\x1a:Creates a new connectivity rule for network access control"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x1e"\x19/cloud/connectivity-rules:\x01*\x12\x94\x03\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse"\xfb\x01\x92\x41\xbf\x01\n\x12\x43onnectivity Rules\x12\x1dGet connectivity rule details\x1a?Returns detailed information about a specific connectivity rule"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x12\xf6\x02\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse"\xda\x01\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x1bList all connectivity rules\x1a\x37Returns a list of all connectivity rules in the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x12\x85\x03\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse"\xe3\x01\x92\x41\xa7\x01\n\x12\x43onnectivity Rules\x12\x18\x44\x65lete connectivity rule\x1a,Removes a connectivity rule from the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}\x12\xe2\x02\n\x0cGetAuditLogs\x12\x37.temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse"\xde\x01\x92\x41\xc1\x01\n\x07\x41\x63\x63ount\x12\x0eGet audit logs\x1aYReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/audit-logs\x12\xb4\x04\n\x1bValidateAccountAuditLogSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse"\x83\x03\x92\x41\xd6\x02\n\x07\x41\x63\x63ount\x12\x17Validate audit log sink\x1a\xe4\x01Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02#"\x1e/cloud/audit-log-sink-validate:\x01*\x12\xf4\x02\n\x19\x43reateAccountAuditLogSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse"\xc9\x01\x92\x41\xa4\x01\n\x07\x41\x63\x63ount\x12\x15\x43reate audit log sink\x1a\x35\x43reates a new audit log sink for exporting audit logs"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/audit-log-sinks:\x01*\x12\xfb\x02\n\x16GetAccountAuditLogSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse"\xd9\x01\x92\x41\xb0\x01\n\x07\x41\x63\x63ount\x12\x1aGet audit log sink details\x1a.temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse"\xc1\x01\x92\x41\x9c\x01\n\x07\x42illing\x12\x17\x43reate a billing report\x1a(Creates a billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/billing-reports:\x01*\x12\xe6\x02\n\x10GetBillingReport\x12;.temporal.api.cloud.cloudservice.v1.GetBillingReportRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetBillingReportResponse"\xd6\x01\x92\x41\xa0\x01\n\x07\x42illing\x12\x14Get a billing report\x1a/Gets an existing billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x82\xd3\xe4\x93\x02,\x12*/cloud/billing-reports/{billing_report_id}\x12\xc4\x02\n\x0eGetCustomRoles\x12\x39.temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest\x1a:.temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse"\xba\x01\x92\x41\x9b\x01\n\x0c\x43ustom Roles\x12\x11List custom roles\x1a-Returns a list of custom roles in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x15\x12\x13/cloud/custom-roles\x12\xcc\x02\n\rGetCustomRole\x12\x38.temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse"\xc5\x01\x92\x41\x9c\x01\n\x0c\x43ustom Roles\x12\x15Get custom role by ID\x1a*Returns details for a specific custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/custom-roles/{role_id}\x12\xcb\x02\n\x10\x43reateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse"\xbb\x01\x92\x41\x99\x01\n\x0c\x43ustom Roles\x12\x14\x43reate a custom role\x1a(Creates a new custom role in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x18"\x13/cloud/custom-roles:\x01*\x12\xcc\x02\n\x10UpdateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse"\xbc\x01\x92\x41\x90\x01\n\x0c\x43ustom Roles\x12\x14Update a custom role\x1a\x1fUpdates an existing custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02""\x1d/cloud/custom-roles/{role_id}:\x01*\x12\xd0\x02\n\x10\x44\x65leteCustomRole\x12;.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse"\xc0\x01\x92\x41\x97\x01\n\x0c\x43ustom Roles\x12\x14\x44\x65lete a custom role\x1a&Deletes a custom role from the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/custom-roles/{role_id}\x12\xb9\x03\n\x1bGetUserNamespaceAssignments\x12\x46.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsRequest\x1aG.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsResponse"\x88\x02\x92\x41\xce\x01\n\x05Users\x12$Get users with access to a namespace\x1a\x62Returns the users that have access to the namespace, including each user\'s namespace-level access.";\n\x13Users documentation\x12$https://docs.temporal.io/cloud/users\x82\xd3\xe4\x93\x02\x30\x12./cloud/namespaces/{namespace}/user-assignments\x12\xa5\x04\n%GetServiceAccountNamespaceAssignments\x12P.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsRequest\x1aQ.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsResponse"\xd6\x02\x92\x41\x91\x02\n\x10Service Accounts\x12\x30List service accounts with access to a namespace\x1axReturns the service accounts that have access to the namespace, including each service account\'s namespace-level access."Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x82\xd3\xe4\x93\x02;\x12\x39/cloud/namespaces/{namespace}/service-account-assignments\x12\xe9\x03\n GetUserGroupNamespaceAssignments\x12K.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsRequest\x1aL.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsResponse"\xa9\x02\x92\x41\xe9\x01\n\x06Groups\x12+List user groups with access to a namespace\x1aiReturns the user groups that have access to the namespace, including each group\'s namespace-level access."G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x82\xd3\xe4\x93\x02\x36\x12\x34/cloud/namespaces/{namespace}/user-group-assignmentsB\xc1\x15\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1\x92\x41\xfd\x13\x12\xe0\r\n\x16Temporal Cloud Ops API\x12\x96\x0cProgrammatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\x03\x31.0:\xa7\x01\n\x06x-logo\x12\x9c\x01*\x99\x01\n\x96\x01\n\x03url\x12\x8e\x01\x1a\x8b\x01https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\x12 Manage Temporal Cloud namespacesj0\n\x05Users\x12\'Manage users and their namespace accessjF\n\x10Service Accounts\x12\x32Manage service accounts and their namespace accessj.\n\x08\x41PI Keys\x12"Manage API keys for authenticationj1\n\x06Groups\x12\'Manage user groups and group membershipj\x1f\n\x05Nexus\x12\x16Manage Nexus endpointsj\x7f\n\x11High Availability\x12jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\x06\x45xport\x12-Manage workflow history export configurationsj7\n\x12\x43onnectivity Rules\x12!Manage network connectivity rulesj"\n\x07Regions\x12\x17Query available regionsj,\n\x07\x41\x63\x63ount\x12!Manage account settings and usagej9\n\x0c\x43ustom Roles\x12)Manage custom roles and their permissionsj*\n\nOperations\x12\x1cQuery async operation statusr>\n\x1cTemporal Cloud Documentation\x12\x1ehttps://docs.temporal.io/cloudb\x06proto3' + b'\n0temporal/api/cloud/cloudservice/v1/service.proto\x12"temporal.api.cloud.cloudservice.v1\x1a\x39temporal/api/cloud/cloudservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\x92\xd7\x01\n\x0c\x43loudService\x12\xb0\x02\n\x12GetCurrentIdentity\x12=.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse"\x9a\x01\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/current-identity\x92\x41x\n\x07\x41\x63\x63ount\x12\x14Get current identity\x1aWReturns information about the currently authenticated user or service account principal\x12\xa5\x02\n\x08GetUsers\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsersRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsersResponse"\xad\x01\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/users\x92\x41\x95\x01\n\x05Users\x12\x0eList all users\x1a*Returns a list of all users in the account"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users*\tlistUsers\x12\x9c\x02\n\x07GetUser\x12\x32.temporal.api.cloud.cloudservice.v1.GetUserRequest\x1a\x33.temporal.api.cloud.cloudservice.v1.GetUserResponse"\xa7\x01\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/users/{user_id}\x92\x41\x85\x01\n\x05Users\x12\x0eGet user by ID\x1a%Takes a user ID, returns user details"E\n\x1dUser management documentation\x12$https://docs.temporal.io/cloud/users\x12\xd0\x01\n\nCreateUser\x12\x35.temporal.api.cloud.cloudservice.v1.CreateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.CreateUserResponse"S\x82\xd3\xe4\x93\x02\x11"\x0c/cloud/users:\x01*\x92\x41\x39\n\x05Users\x12\rCreate a user\x1a!Creates a new user in the account\x12\xdb\x01\n\nUpdateUser\x12\x35.temporal.api.cloud.cloudservice.v1.UpdateUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.UpdateUserResponse"^\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/users/{user_id}:\x01*\x92\x41:\n\x05Users\x12\rUpdate a user\x1a"Updates an existing user\'s details\x12\xd5\x01\n\nDeleteUser\x12\x35.temporal.api.cloud.cloudservice.v1.DeleteUserRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.DeleteUserResponse"X\x82\xd3\xe4\x93\x02\x18*\x16/cloud/users/{user_id}\x92\x41\x37\n\x05Users\x12\rDelete a user\x1a\x1fRemoves a user from the account\x12\xaa\x03\n\x16SetUserNamespaceAccess\x12\x41.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse"\x88\x02\x82\xd3\xe4\x93\x02\x39"4/cloud/namespaces/{namespace}/users/{user_id}/access:\x01*\x92\x41\xc5\x01\n\x05Users\x12\x19Set user namespace access\x1a\x38\x43onfigures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\x12@https://docs.temporal.io/cloud/users-namespace-level-permissions\x12\xb1\x02\n\x11GetAsyncOperation\x12<.temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse"\x9e\x01\x82\xd3\xe4\x93\x02(\x12&/cloud/operations/{async_operation_id}\x92\x41m\n\nOperations\x12\x1aGet async operation status\x1a\x43Returns the current status and details of an asynchronous operation\x12\xc6\x02\n\x0f\x43reateNamespace\x12:.temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse"\xb9\x01\x82\xd3\xe4\x93\x02\x16"\x11/cloud/namespaces:\x01*\x92\x41\x99\x01\n\nNamespaces\x12\x12\x43reate a namespace\x1a&Creates a new namespace in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xc7\x02\n\rGetNamespaces\x12\x38.temporal.api.cloud.cloudservice.v1.GetNamespacesRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetNamespacesResponse"\xc0\x01\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/namespaces\x92\x41\xa3\x01\n\nNamespaces\x12\x13List all namespaces\x1a/Returns a list of all namespaces in the account"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xda\x02\n\x0cGetNamespace\x12\x37.temporal.api.cloud.cloudservice.v1.GetNamespaceRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetNamespaceResponse"\xd6\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/namespaces/{namespace}\x92\x41\xad\x01\n\nNamespaces\x12\x15Get namespace details\x1a\x37Returns detailed information about a specific namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xdb\x02\n\x0fUpdateNamespace\x12:.temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse"\xce\x01\x82\xd3\xe4\x93\x02""\x1d/cloud/namespaces/{namespace}:\x01*\x92\x41\xa2\x01\n\nNamespaces\x12\x12Update a namespace\x1a/Updates configuration for an existing namespace"O\n"Namespace management documentation\x12)https://docs.temporal.io/cloud/namespaces\x12\xc7\x03\n\x1bRenameCustomSearchAttribute\x12\x46.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest\x1aG.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse"\x96\x02\x82\xd3\xe4\x93\x02\x41".temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse"\xf0\x01\x88\x02\x01\x82\xd3\xe4\x93\x02-"(/cloud/namespaces/{namespace}/add-region:\x01*\x92\x41\xb6\x01\n\x11High Availability\x12\x15\x41\x64\x64 namespace replica\x1a+Adds a new replica to an existing namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x12\x9e\x03\n\x15\x44\x65leteNamespaceRegion\x12@.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse"\xff\x01\x88\x02\x01\x82\xd3\xe4\x93\x02\x30*./cloud/namespaces/{namespace}/regions/{region}\x92\x41\xc2\x01\n\x11High Availability\x12\x18Remove namespace replica\x1a\x34Removes a replica from a high availability namespace"]\n)High availability namespace documentation\x12\x30https://docs.temporal.io/cloud/high-availability\x12\xa3\x02\n\nGetRegions\x12\x35.temporal.api.cloud.cloudservice.v1.GetRegionsRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetRegionsResponse"\xa5\x01\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/regions\x92\x41\x8b\x01\n\x07Regions\x12\x10List all regions\x1a-Returns a list of all available cloud regions"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x12\xb2\x02\n\tGetRegion\x12\x34.temporal.api.cloud.cloudservice.v1.GetRegionRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetRegionResponse"\xb7\x01\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/regions/{region}\x92\x41\x94\x01\n\x07Regions\x12\x12Get region details\x1a\x34Returns detailed information about a specific region"?\n\x15Regions documentation\x12&https://docs.temporal.io/cloud/regions\x12\xa8\x02\n\nGetApiKeys\x12\x35.temporal.api.cloud.cloudservice.v1.GetApiKeysRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetApiKeysResponse"\xaa\x01\x82\xd3\xe4\x93\x02\x11\x12\x0f/cloud/api-keys\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11List all API keys\x1a-Returns a list of all API keys in the account"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xb8\x02\n\tGetApiKey\x12\x34.temporal.api.cloud.cloudservice.v1.GetApiKeyRequest\x1a\x35.temporal.api.cloud.cloudservice.v1.GetApiKeyResponse"\xbd\x01\x82\xd3\xe4\x93\x02\x1a\x12\x18/cloud/api-keys/{key_id}\x92\x41\x99\x01\n\x08\x41PI Keys\x12\x13Get API key details\x1a\x35Returns detailed information about a specific API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xb1\x02\n\x0c\x43reateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse"\xad\x01\x82\xd3\xe4\x93\x02\x14"\x0f/cloud/api-keys:\x01*\x92\x41\x8f\x01\n\x08\x41PI Keys\x12\x11\x43reate an API key\x1a-Creates a new API key for programmatic access"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xb5\x02\n\x0cUpdateApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse"\xb1\x01\x82\xd3\xe4\x93\x02\x1d"\x18/cloud/api-keys/{key_id}:\x01*\x92\x41\x8a\x01\n\x08\x41PI Keys\x12\x11Update an API key\x1a(Updates an existing API key\'s properties"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xa8\x02\n\x0c\x44\x65leteApiKey\x12\x37.temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x1a*\x18/cloud/api-keys/{key_id}\x92\x41\x80\x01\n\x08\x41PI Keys\x12\x11\x44\x65lete an API key\x1a\x1eRevokes and deletes an API key"A\n\x16\x41PI Keys documentation\x12\'https://docs.temporal.io/cloud/api-keys\x12\xc3\x02\n\x11GetNexusEndpoints\x12<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse"\xb0\x01\x82\xd3\xe4\x93\x02\x18\x12\x16/cloud/nexus/endpoints\x92\x41\x8e\x01\n\x05Nexus\x12\x18List all Nexus endpoints\x1a\x34Returns a list of all Nexus endpoints in the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xd8\x02\n\x10GetNexusEndpoint\x12;.temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse"\xc8\x01\x82\xd3\xe4\x93\x02&\x12$/cloud/nexus/endpoints/{endpoint_id}\x92\x41\x98\x01\n\x05Nexus\x12\x1aGet Nexus endpoint details\x1a.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse"\xbc\x01\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/nexus/endpoints:\x01*\x92\x41\x97\x01\n\x05Nexus\x12\x17\x43reate a Nexus endpoint\x1a>Creates a new Nexus endpoint for cross-namespace communication"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xd7\x02\n\x13UpdateNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse"\xbe\x01\x82\xd3\xe4\x93\x02)"$/cloud/nexus/endpoints/{endpoint_id}:\x01*\x92\x41\x8b\x01\n\x05Nexus\x12\x17Update a Nexus endpoint\x1a\x32Updates an existing Nexus endpoint\'s configuration"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xcb\x02\n\x13\x44\x65leteNexusEndpoint\x12>.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest\x1a?.temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse"\xb2\x01\x82\xd3\xe4\x93\x02&*$/cloud/nexus/endpoints/{endpoint_id}\x92\x41\x82\x01\n\x05Nexus\x12\x17\x44\x65lete a Nexus endpoint\x1a)Removes a Nexus endpoint from the account"5\n\x13Nexus documentation\x12\x1ehttps://docs.temporal.io/nexus\x12\xcc\x02\n\rGetUserGroups\x12\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x14\x12\x12/cloud/user-groups\x92\x41\xa7\x01\n\x06Groups\x12\x14List all user groups\x1a\x30Returns a list of all user groups in the account"U\n\x19User groups documentation\x12\x38https://docs.temporal.io/cloud/users-account-level-roles\x12\xd0\x02\n\x0cGetUserGroup\x12\x37.temporal.api.cloud.cloudservice.v1.GetUserGroupRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetUserGroupResponse"\xcc\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/user-groups/{group_id}\x92\x41\xa3\x01\n\x06Groups\x12\x16Get user group details\x1a\x38Returns detailed information about a specific user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xc7\x02\n\x0f\x43reateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse"\xba\x01\x82\xd3\xe4\x93\x02\x17"\x12/cloud/user-groups:\x01*\x92\x41\x99\x01\n\x06Groups\x12\x13\x43reate a user group\x1a\x31\x43reates a new user group for managing permissions"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xcc\x02\n\x0fUpdateUserGroup\x12:.temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse"\xbf\x01\x82\xd3\xe4\x93\x02""\x1d/cloud/user-groups/{group_id}:\x01*\x92\x41\x93\x01\n\x06Groups\x12\x13Update a user group\x1a+Updates an existing user group\'s properties"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xc3\x02\n\x0f\x44\x65leteUserGroup\x12:.temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest\x1a;.temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse"\xb6\x01\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/user-groups/{group_id}\x92\x41\x8d\x01\n\x06Groups\x12\x13\x44\x65lete a user group\x1a%Removes a user group from the account"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xad\x03\n\x1bSetUserGroupNamespaceAccess\x12\x46.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest\x1aG.temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse"\xfc\x01\x82\xd3\xe4\x93\x02@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\x01*\x92\x41\xb2\x01\n\x06Groups\x12\x1fSet user group namespace access\x1a>Configures a user group\'s permissions for a specific namespace"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xdf\x02\n\x12\x41\x64\x64UserGroupMember\x12=.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest\x1a>.temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse"\xc9\x01\x82\xd3\xe4\x93\x02*"%/cloud/user-groups/{group_id}/members:\x01*\x92\x41\x95\x01\n\x06Groups\x12\x11\x41\x64\x64 user to group\x1a/Adds a user to a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xf8\x02\n\x15RemoveUserGroupMember\x12@.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest\x1a\x41.temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x30"+/cloud/user-groups/{group_id}/remove-member:\x01*\x92\x41\x9f\x01\n\x06Groups\x12\x16Remove user from group\x1a\x34Removes a user from a user group (Cloud groups only)"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xdf\x02\n\x13GetUserGroupMembers\x12>.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse"\xc6\x01\x82\xd3\xe4\x93\x02\'\x12%/cloud/user-groups/{group_id}/members\x92\x41\x95\x01\n\x06Groups\x12\x15List users in a group\x1a+Returns a list of all users in a user group"G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groups\x12\xf5\x02\n\x14\x43reateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x1c"\x17/cloud/service-accounts:\x01*\x92\x41\xb3\x01\n\x10Service Accounts\x12\x18\x43reate a service account\x1a\x32\x43reates a new service account for automated access"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\x8c\x03\n\x11GetServiceAccount\x12<.temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest\x1a=.temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse"\xf9\x01\x82\xd3\xe4\x93\x02.\x12,/cloud/service-accounts/{service_account_id}\x92\x41\xc1\x01\n\x10Service Accounts\x12\x1bGet service account details\x1a=Returns detailed information about a specific service account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xf0\x02\n\x12GetServiceAccounts\x12=.temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest\x1a>.temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse"\xda\x01\x82\xd3\xe4\x93\x02\x19\x12\x17/cloud/service-accounts\x92\x41\xb7\x01\n\x10Service Accounts\x12\x19List all service accounts\x1a\x35Returns a list of all service accounts in the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\x88\x03\n\x14UpdateServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse"\xec\x01\x82\xd3\xe4\x93\x02\x31",/cloud/service-accounts/{service_account_id}:\x01*\x92\x41\xb1\x01\n\x10Service Accounts\x12\x18Update a service account\x1a\x30Updates an existing service account\'s properties"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xe9\x03\n SetServiceAccountNamespaceAccess\x12K.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest\x1aL.temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse"\xa9\x02\x82\xd3\xe4\x93\x02O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\x01*\x92\x41\xd0\x01\n\x10Service Accounts\x12$Set service account namespace access\x1a\x43\x43onfigures a service account\'s permissions for a specific namespace"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xff\x02\n\x14\x44\x65leteServiceAccount\x12?.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest\x1a@.temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse"\xe3\x01\x82\xd3\xe4\x93\x02.*,/cloud/service-accounts/{service_account_id}\x92\x41\xab\x01\n\x10Service Accounts\x12\x18\x44\x65lete a service account\x1a*Removes a service account from the account"Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xcb\x01\n\x08GetUsage\x12\x33.temporal.api.cloud.cloudservice.v1.GetUsageRequest\x1a\x34.temporal.api.cloud.cloudservice.v1.GetUsageResponse"T\x82\xd3\xe4\x93\x02\x0e\x12\x0c/cloud/usage\x92\x41=\n\x07\x41\x63\x63ount\x12\x0eGet usage data\x1a Get usage data across namespacesX\x01\x12\xb0\x02\n\nGetAccount\x12\x35.temporal.api.cloud.cloudservice.v1.GetAccountRequest\x1a\x36.temporal.api.cloud.cloudservice.v1.GetAccountResponse"\xb2\x01\x82\xd3\xe4\x93\x02\x10\x12\x0e/cloud/account\x92\x41\x98\x01\n\x07\x41\x63\x63ount\x12\x13Get account details\x1a.Returns detailed information about the account"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x12\xbb\x02\n\rUpdateAccount\x12\x38.temporal.api.cloud.cloudservice.v1.UpdateAccountRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.UpdateAccountResponse"\xb4\x01\x82\xd3\xe4\x93\x02\x13"\x0e/cloud/account:\x01*\x92\x41\x97\x01\n\x07\x41\x63\x63ount\x12\x16Update account details\x1a*Updates account configuration and settings"H\n\x15\x42illing documentation\x12/https://docs.temporal.io/cloud/billing-and-cost\x12\xf3\x02\n\x19\x43reateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse"\xc8\x01\x82\xd3\xe4\x93\x02/"*/cloud/namespaces/{namespace}/export-sinks:\x01*\x92\x41\x8f\x01\n\x06\x45xport\x12\x1a\x43reate history export sink\x1a*Creates a new workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x8c\x03\n\x16GetNamespaceExportSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse"\xea\x01\x82\xd3\xe4\x93\x02\x33\x12\x31/cloud/namespaces/{namespace}/export-sinks/{name}\x92\x41\xad\x01\n\x06\x45xport\x12\x18Get history sink details\x1aJReturns detailed information about a specific workflow history export sink"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x82\x03\n\x17GetNamespaceExportSinks\x12\x42.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest\x1a\x43.temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse"\xdd\x01\x82\xd3\xe4\x93\x02,\x12*/cloud/namespaces/{namespace}/export-sinks\x92\x41\xa7\x01\n\x06\x45xport\x12\x19List history export sinks\x1a\x43Returns a list of all workflow history export sinks for a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x95\x03\n\x19UpdateNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse"\xea\x01\x82\xd3\xe4\x93\x02;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\x01*\x92\x41\xa5\x01\n\x06\x45xport\x12\x1aUpdate history export sink\x1a@Updates an existing workflow history export sink\'s configuration"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\x84\x03\n\x19\x44\x65leteNamespaceExportSink\x12\x44.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x33*1/cloud/namespaces/{namespace}/export-sinks/{name}\x92\x41\x9c\x01\n\x06\x45xport\x12\x1a\x44\x65lete history export sink\x1a\x37Removes a workflow history export sink from a namespace"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\xc9\x03\n\x1bValidateNamespaceExportSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse"\x98\x02\x82\xd3\xe4\x93\x02\x37"2/cloud/namespaces/{namespace}/export-sink-validate:\x01*\x92\x41\xd7\x01\n\x06\x45xport\x12*Validate history export sink configuration\x1a\x62Tests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\x14\x45xport documentation\x12%https://docs.temporal.io/cloud/export\x12\xfc\x02\n\x13UpdateNamespaceTags\x12>.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest\x1a?.temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse"\xe3\x01\x82\xd3\xe4\x93\x02.")/cloud/namespaces/{namespace}/update-tags:\x01*\x92\x41\xab\x01\n\nNamespaces\x12\x15Update namespace tags\x1a,Updates the tags associated with a namespace"X\n\x1bNamespace tag documentation\x12\x39https://docs.temporal.io/cloud/namespaces#tag-a-namespace\x12\xff\x02\n\x16\x43reateConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse"\xdd\x01\x82\xd3\xe4\x93\x02\x1e"\x19/cloud/connectivity-rules:\x01*\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x18\x43reate connectivity rule\x1a:Creates a new connectivity rule for network access control"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\x94\x03\n\x13GetConnectivityRule\x12>.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest\x1a?.temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse"\xfb\x01\x82\xd3\xe4\x93\x02\x32\x12\x30/cloud/connectivity-rules/{connectivity_rule_id}\x92\x41\xbf\x01\n\x12\x43onnectivity Rules\x12\x1dGet connectivity rule details\x1a?Returns detailed information about a specific connectivity rule"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\xf6\x02\n\x14GetConnectivityRules\x12?.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest\x1a@.temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse"\xda\x01\x82\xd3\xe4\x93\x02\x1b\x12\x19/cloud/connectivity-rules\x92\x41\xb5\x01\n\x12\x43onnectivity Rules\x12\x1bList all connectivity rules\x1a\x37Returns a list of all connectivity rules in the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\x85\x03\n\x16\x44\x65leteConnectivityRule\x12\x41.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse"\xe3\x01\x82\xd3\xe4\x93\x02\x32*0/cloud/connectivity-rules/{connectivity_rule_id}\x92\x41\xa7\x01\n\x12\x43onnectivity Rules\x12\x18\x44\x65lete connectivity rule\x1a,Removes a connectivity rule from the account"I\n\x1a\x43onnectivity documentation\x12+https://docs.temporal.io/cloud/connectivity\x12\xe2\x02\n\x0cGetAuditLogs\x12\x37.temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest\x1a\x38.temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse"\xde\x01\x82\xd3\xe4\x93\x02\x13\x12\x11/cloud/audit-logs\x92\x41\xc1\x01\n\x07\x41\x63\x63ount\x12\x0eGet audit logs\x1aYReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x12\xb4\x04\n\x1bValidateAccountAuditLogSink\x12\x46.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest\x1aG.temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse"\x83\x03\x82\xd3\xe4\x93\x02#"\x1e/cloud/audit-log-sink-validate:\x01*\x92\x41\xd6\x02\n\x07\x41\x63\x63ount\x12\x17Validate audit log sink\x1a\xe4\x01Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x12\xf4\x02\n\x19\x43reateAccountAuditLogSink\x12\x44.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest\x1a\x45.temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse"\xc9\x01\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/audit-log-sinks:\x01*\x92\x41\xa4\x01\n\x07\x41\x63\x63ount\x12\x15\x43reate audit log sink\x1a\x35\x43reates a new audit log sink for exporting audit logs"K\n\x1b\x41udit logging documentation\x12,https://docs.temporal.io/cloud/audit-logging\x12\xfb\x02\n\x16GetAccountAuditLogSink\x12\x41.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest\x1a\x42.temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse"\xd9\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/audit-log-sinks/{name}\x92\x41\xb0\x01\n\x07\x41\x63\x63ount\x12\x1aGet audit log sink details\x1a.temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest\x1a?.temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse"\xc1\x01\x82\xd3\xe4\x93\x02\x1b"\x16/cloud/billing-reports:\x01*\x92\x41\x9c\x01\n\x07\x42illing\x12\x17\x43reate a billing report\x1a(Creates a billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x12\xe6\x02\n\x10GetBillingReport\x12;.temporal.api.cloud.cloudservice.v1.GetBillingReportRequest\x1a<.temporal.api.cloud.cloudservice.v1.GetBillingReportResponse"\xd6\x01\x82\xd3\xe4\x93\x02,\x12*/cloud/billing-reports/{billing_report_id}\x92\x41\xa0\x01\n\x07\x42illing\x12\x14Get a billing report\x1a/Gets an existing billing report for the account"N\n\x1c\x42illing report documentation\x12.https://docs.temporal.io/cloud/billing-reports\x12\xc4\x02\n\x0eGetCustomRoles\x12\x39.temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest\x1a:.temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse"\xba\x01\x82\xd3\xe4\x93\x02\x15\x12\x13/cloud/custom-roles\x92\x41\x9b\x01\n\x0c\x43ustom Roles\x12\x11List custom roles\x1a-Returns a list of custom roles in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xcc\x02\n\rGetCustomRole\x12\x38.temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest\x1a\x39.temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cloud/custom-roles/{role_id}\x92\x41\x9c\x01\n\x0c\x43ustom Roles\x12\x15Get custom role by ID\x1a*Returns details for a specific custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xcb\x02\n\x10\x43reateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse"\xbb\x01\x82\xd3\xe4\x93\x02\x18"\x13/cloud/custom-roles:\x01*\x92\x41\x99\x01\n\x0c\x43ustom Roles\x12\x14\x43reate a custom role\x1a(Creates a new custom role in the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xcc\x02\n\x10UpdateCustomRole\x12;.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse"\xbc\x01\x82\xd3\xe4\x93\x02""\x1d/cloud/custom-roles/{role_id}:\x01*\x92\x41\x90\x01\n\x0c\x43ustom Roles\x12\x14Update a custom role\x1a\x1fUpdates an existing custom role"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xd0\x02\n\x10\x44\x65leteCustomRole\x12;.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest\x1a<.temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse"\xc0\x01\x82\xd3\xe4\x93\x02\x1f*\x1d/cloud/custom-roles/{role_id}\x92\x41\x97\x01\n\x0c\x43ustom Roles\x12\x14\x44\x65lete a custom role\x1a&Deletes a custom role from the account"I\n\x1a\x43ustom roles documentation\x12+https://docs.temporal.io/cloud/custom-roles\x12\xb9\x03\n\x1bGetUserNamespaceAssignments\x12\x46.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsRequest\x1aG.temporal.api.cloud.cloudservice.v1.GetUserNamespaceAssignmentsResponse"\x88\x02\x82\xd3\xe4\x93\x02\x30\x12./cloud/namespaces/{namespace}/user-assignments\x92\x41\xce\x01\n\x05Users\x12$Get users with access to a namespace\x1a\x62Returns the users that have access to the namespace, including each user\'s namespace-level access.";\n\x13Users documentation\x12$https://docs.temporal.io/cloud/users\x12\xa5\x04\n%GetServiceAccountNamespaceAssignments\x12P.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsRequest\x1aQ.temporal.api.cloud.cloudservice.v1.GetServiceAccountNamespaceAssignmentsResponse"\xd6\x02\x82\xd3\xe4\x93\x02;\x12\x39/cloud/namespaces/{namespace}/service-account-assignments\x92\x41\x91\x02\n\x10Service Accounts\x12\x30List service accounts with access to a namespace\x1axReturns the service accounts that have access to the namespace, including each service account\'s namespace-level access."Q\n\x1eService Accounts documentation\x12/https://docs.temporal.io/cloud/service-accounts\x12\xe9\x03\n GetUserGroupNamespaceAssignments\x12K.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsRequest\x1aL.temporal.api.cloud.cloudservice.v1.GetUserGroupNamespaceAssignmentsResponse"\xa9\x02\x82\xd3\xe4\x93\x02\x36\x12\x34/cloud/namespaces/{namespace}/user-group-assignments\x92\x41\xe9\x01\n\x06Groups\x12+List user groups with access to a namespace\x1aiReturns the user groups that have access to the namespace, including each group\'s namespace-level access."G\n\x19User groups documentation\x12*https://docs.temporal.io/cloud/user-groupsB\xc1\x15\n%io.temporal.api.cloud.cloudservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\xaa\x02$Temporalio.Api.Cloud.CloudService.V1\xea\x02(Temporalio::Api::Cloud::CloudService::V1\x92\x41\xfd\x13\x12\xe0\r\n\x16Temporal Cloud Ops API\x12\x96\x0cProgrammatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\x03\x31.0:\xa7\x01\n\x06x-logo\x12\x9c\x01*\x99\x01\n\x96\x01\n\x03url\x12\x8e\x01\x1a\x8b\x01https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\x12 Manage Temporal Cloud namespacesj0\n\x05Users\x12\'Manage users and their namespace accessjF\n\x10Service Accounts\x12\x32Manage service accounts and their namespace accessj.\n\x08\x41PI Keys\x12"Manage API keys for authenticationj1\n\x06Groups\x12\'Manage user groups and group membershipj\x1f\n\x05Nexus\x12\x16Manage Nexus endpointsj\x7f\n\x11High Availability\x12jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\x06\x45xport\x12-Manage workflow history export configurationsj7\n\x12\x43onnectivity Rules\x12!Manage network connectivity rulesj"\n\x07Regions\x12\x17Query available regionsj,\n\x07\x41\x63\x63ount\x12!Manage account settings and usagej9\n\x0c\x43ustom Roles\x12)Manage custom roles and their permissionsj*\n\nOperations\x12\x1cQuery async operation statusr>\n\x1cTemporal Cloud Documentation\x12\x1ehttps://docs.temporal.io/cloudb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.cloudservice.v1.service_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1\222A\375\023\022\340\r\n\026Temporal Cloud Ops API\022\226\014Programmatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\0031.0:\247\001\n\006x-logo\022\234\001*\231\001\n\226\001\n\003url\022\216\001\032\213\001https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\022 Manage Temporal Cloud namespacesj0\n\005Users\022'Manage users and their namespace accessjF\n\020Service Accounts\0222Manage service accounts and their namespace accessj.\n\010API Keys\022\"Manage API keys for authenticationj1\n\006Groups\022'Manage user groups and group membershipj\037\n\005Nexus\022\026Manage Nexus endpointsj\177\n\021High Availability\022jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\006Export\022-Manage workflow history export configurationsj7\n\022Connectivity Rules\022!Manage network connectivity rulesj\"\n\007Regions\022\027Query available regionsj,\n\007Account\022!Manage account settings and usagej9\n\014Custom Roles\022)Manage custom roles and their permissionsj*\n\nOperations\022\034Query async operation statusr>\n\034Temporal Cloud Documentation\022\036https://docs.temporal.io/cloud" - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetCurrentIdentity" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + +_CLOUDSERVICE = DESCRIPTOR.services_by_name["CloudService"] +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n%io.temporal.api.cloud.cloudservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/cloud/cloudservice/v1;cloudservice\252\002$Temporalio.Api.Cloud.CloudService.V1\352\002(Temporalio::Api::Cloud::CloudService::V1\222A\375\023\022\340\r\n\026Temporal Cloud Ops API\022\226\014Programmatic access to manage Temporal Cloud control plane resources including namespaces, users, service accounts, and more.\n\n## Authentication\n\nAll API requests require authentication using an API Key. Include your API key in the `Authorization` header using the Bearer scheme:\n\n```\nAuthorization: Bearer YOUR_API_KEY\n```\n\nAPI keys can be created and managed through the [API Keys endpoints](#tag/API-Keys) or via the Temporal Cloud UI. For more information, see [API Keys Documentation](https://docs.temporal.io/cloud/api-keys).\n\n## Authorization\n\nThe API uses Role-Based Access Control (RBAC) to manage permissions. Each operation requires specific role-based permissions in addition to a valid API key.\n\n### Account-Level Roles\n\n- **Account Owner** - Full account administration access\n- **Account Admin** - Manage namespaces, users, and service accounts \n- **Account Developer** - Create namespaces and manage Nexus endpoints\n- **Finance Admin** - View usage and billing information\n- **Account Read** - Read-only access to account resources\n\n### Namespace-Level Roles\n\n- **Namespace Admin** - Full access to namespace configuration and data\n- **Namespace Write** - Execute workflows and modify workflow data\n- **Namespace Read** - Read-only access to namespace data\n\nNamespace-level permissions are scoped to specific namespaces. A user or service account may have different permission levels across different namespaces.\n\nFor detailed information about roles and permissions, see [Access Control Documentation](https://docs.temporal.io/cloud/users).2\0031.0:\247\001\n\006x-logo\022\234\001*\231\001\n\226\001\n\003url\022\216\001\032\213\001https://images.ctfassets.net/0uuz8ydxyd9p/4YGUnEoCaH9SyoUDhlJkau/e1600205d17eeee3033d926ef06664a9/Temporal_LogoLockup_Horizontal_dark_1.svgj.\n\nNamespaces\022 Manage Temporal Cloud namespacesj0\n\005Users\022'Manage users and their namespace accessjF\n\020Service Accounts\0222Manage service accounts and their namespace accessj.\n\010API Keys\022\"Manage API keys for authenticationj1\n\006Groups\022'Manage user groups and group membershipj\037\n\005Nexus\022\026Manage Nexus endpointsj\177\n\021High Availability\022jManage high availability (multi-region, multi-cloud, and same-region replication) namespace configurationsj7\n\006Export\022-Manage workflow history export configurationsj7\n\022Connectivity Rules\022!Manage network connectivity rulesj\"\n\007Regions\022\027Query available regionsj,\n\007Account\022!Manage account settings and usagej9\n\014Custom Roles\022)Manage custom roles and their permissionsj*\n\nOperations\022\034Query async operation statusr>\n\034Temporal Cloud Documentation\022\036https://docs.temporal.io/cloud" + _CLOUDSERVICE.methods_by_name["GetCurrentIdentity"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetCurrentIdentity" - ]._serialized_options = b"\222Ax\n\007Account\022\024Get current identity\032WReturns information about the currently authenticated user or service account principal\202\323\344\223\002\031\022\027/cloud/current-identity" - _globals["_CLOUDSERVICE"].methods_by_name["GetUsers"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\031\022\027/cloud/current-identity\222Ax\n\007Account\022\024Get current identity\032WReturns information about the currently authenticated user or service account principal" + _CLOUDSERVICE.methods_by_name["GetUsers"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetUsers" - ]._serialized_options = b'\222A\225\001\n\005Users\022\016List all users\032*Returns a list of all users in the account"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users*\tlistUsers\202\323\344\223\002\016\022\014/cloud/users' - _globals["_CLOUDSERVICE"].methods_by_name["GetUser"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\016\022\014/cloud/users\222A\225\001\n\005Users\022\016List all users\032*Returns a list of all users in the account"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users*\tlistUsers' + _CLOUDSERVICE.methods_by_name["GetUser"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetUser" - ]._serialized_options = b'\222A\205\001\n\005Users\022\016Get user by ID\032%Takes a user ID, returns user details"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users\202\323\344\223\002\030\022\026/cloud/users/{user_id}' - _globals["_CLOUDSERVICE"].methods_by_name["CreateUser"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\030\022\026/cloud/users/{user_id}\222A\205\001\n\005Users\022\016Get user by ID\032%Takes a user ID, returns user details"E\n\035User management documentation\022$https://docs.temporal.io/cloud/users' + _CLOUDSERVICE.methods_by_name["CreateUser"]._options = None + _CLOUDSERVICE.methods_by_name[ "CreateUser" - ]._serialized_options = b'\222A9\n\005Users\022\rCreate a user\032!Creates a new user in the account\202\323\344\223\002\021"\014/cloud/users:\001*' - _globals["_CLOUDSERVICE"].methods_by_name["UpdateUser"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\021"\014/cloud/users:\001*\222A9\n\005Users\022\rCreate a user\032!Creates a new user in the account' + _CLOUDSERVICE.methods_by_name["UpdateUser"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateUser" - ]._serialized_options = b'\222A:\n\005Users\022\rUpdate a user\032"Updates an existing user\'s details\202\323\344\223\002\033"\026/cloud/users/{user_id}:\001*' - _globals["_CLOUDSERVICE"].methods_by_name["DeleteUser"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\033"\026/cloud/users/{user_id}:\001*\222A:\n\005Users\022\rUpdate a user\032"Updates an existing user\'s details' + _CLOUDSERVICE.methods_by_name["DeleteUser"]._options = None + _CLOUDSERVICE.methods_by_name[ "DeleteUser" - ]._serialized_options = b"\222A7\n\005Users\022\rDelete a user\032\037Removes a user from the account\202\323\344\223\002\030*\026/cloud/users/{user_id}" - _globals["_CLOUDSERVICE"].methods_by_name[ - "SetUserNamespaceAccess" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\030*\026/cloud/users/{user_id}\222A7\n\005Users\022\rDelete a user\032\037Removes a user from the account" + _CLOUDSERVICE.methods_by_name["SetUserNamespaceAccess"]._options = None + _CLOUDSERVICE.methods_by_name[ "SetUserNamespaceAccess" - ]._serialized_options = b'\222A\305\001\n\005Users\022\031Set user namespace access\0328Configures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\022@https://docs.temporal.io/cloud/users-namespace-level-permissions\202\323\344\223\0029"4/cloud/namespaces/{namespace}/users/{user_id}/access:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetAsyncOperation" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0029"4/cloud/namespaces/{namespace}/users/{user_id}/access:\001*\222A\305\001\n\005Users\022\031Set user namespace access\0328Configures a user\'s permissions for a specific namespace"g\n#Namespace permissions documentation\022@https://docs.temporal.io/cloud/users-namespace-level-permissions' + _CLOUDSERVICE.methods_by_name["GetAsyncOperation"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetAsyncOperation" - ]._serialized_options = b"\222Am\n\nOperations\022\032Get async operation status\032CReturns the current status and details of an asynchronous operation\202\323\344\223\002(\022&/cloud/operations/{async_operation_id}" - _globals["_CLOUDSERVICE"].methods_by_name["CreateNamespace"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002(\022&/cloud/operations/{async_operation_id}\222Am\n\nOperations\022\032Get async operation status\032CReturns the current status and details of an asynchronous operation" + _CLOUDSERVICE.methods_by_name["CreateNamespace"]._options = None + _CLOUDSERVICE.methods_by_name[ "CreateNamespace" - ]._serialized_options = b'\222A\231\001\n\nNamespaces\022\022Create a namespace\032&Creates a new namespace in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002\026"\021/cloud/namespaces:\001*' - _globals["_CLOUDSERVICE"].methods_by_name["GetNamespaces"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\026"\021/cloud/namespaces:\001*\222A\231\001\n\nNamespaces\022\022Create a namespace\032&Creates a new namespace in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' + _CLOUDSERVICE.methods_by_name["GetNamespaces"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetNamespaces" - ]._serialized_options = b'\222A\243\001\n\nNamespaces\022\023List all namespaces\032/Returns a list of all namespaces in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002\023\022\021/cloud/namespaces' - _globals["_CLOUDSERVICE"].methods_by_name["GetNamespace"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\023\022\021/cloud/namespaces\222A\243\001\n\nNamespaces\022\023List all namespaces\032/Returns a list of all namespaces in the account"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' + _CLOUDSERVICE.methods_by_name["GetNamespace"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetNamespace" - ]._serialized_options = b'\222A\255\001\n\nNamespaces\022\025Get namespace details\0327Returns detailed information about a specific namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002\037\022\035/cloud/namespaces/{namespace}' - _globals["_CLOUDSERVICE"].methods_by_name["UpdateNamespace"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\037\022\035/cloud/namespaces/{namespace}\222A\255\001\n\nNamespaces\022\025Get namespace details\0327Returns detailed information about a specific namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' + _CLOUDSERVICE.methods_by_name["UpdateNamespace"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateNamespace" - ]._serialized_options = b'\222A\242\001\n\nNamespaces\022\022Update a namespace\032/Updates configuration for an existing namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces\202\323\344\223\002""\035/cloud/namespaces/{namespace}:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002""\035/cloud/namespaces/{namespace}:\001*\222A\242\001\n\nNamespaces\022\022Update a namespace\032/Updates configuration for an existing namespace"O\n"Namespace management documentation\022)https://docs.temporal.io/cloud/namespaces' + _CLOUDSERVICE.methods_by_name["RenameCustomSearchAttribute"]._options = None + _CLOUDSERVICE.methods_by_name[ "RenameCustomSearchAttribute" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "RenameCustomSearchAttribute" - ]._serialized_options = b'\222A\313\001\n\nNamespaces\022\036Rename custom search attribute\0320Renames a custom search attribute in a namespace"k\n&Custom Search Attributes documentation\022Ahttps://docs.temporal.io/search-attribute#custom-search-attribute\202\323\344\223\002A"Creates a new Nexus endpoint for cross-namespace communication"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus\202\323\344\223\002\033"\026/cloud/nexus/endpoints:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\033"\026/cloud/nexus/endpoints:\001*\222A\227\001\n\005Nexus\022\027Create a Nexus endpoint\032>Creates a new Nexus endpoint for cross-namespace communication"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus' + _CLOUDSERVICE.methods_by_name["UpdateNexusEndpoint"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateNexusEndpoint" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "UpdateNexusEndpoint" - ]._serialized_options = b'\222A\213\001\n\005Nexus\022\027Update a Nexus endpoint\0322Updates an existing Nexus endpoint\'s configuration"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus\202\323\344\223\002)"$/cloud/nexus/endpoints/{endpoint_id}:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "DeleteNexusEndpoint" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002)"$/cloud/nexus/endpoints/{endpoint_id}:\001*\222A\213\001\n\005Nexus\022\027Update a Nexus endpoint\0322Updates an existing Nexus endpoint\'s configuration"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus' + _CLOUDSERVICE.methods_by_name["DeleteNexusEndpoint"]._options = None + _CLOUDSERVICE.methods_by_name[ "DeleteNexusEndpoint" - ]._serialized_options = b'\222A\202\001\n\005Nexus\022\027Delete a Nexus endpoint\032)Removes a Nexus endpoint from the account"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus\202\323\344\223\002&*$/cloud/nexus/endpoints/{endpoint_id}' - _globals["_CLOUDSERVICE"].methods_by_name["GetUserGroups"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002&*$/cloud/nexus/endpoints/{endpoint_id}\222A\202\001\n\005Nexus\022\027Delete a Nexus endpoint\032)Removes a Nexus endpoint from the account"5\n\023Nexus documentation\022\036https://docs.temporal.io/nexus' + _CLOUDSERVICE.methods_by_name["GetUserGroups"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetUserGroups" - ]._serialized_options = b'\222A\247\001\n\006Groups\022\024List all user groups\0320Returns a list of all user groups in the account"U\n\031User groups documentation\0228https://docs.temporal.io/cloud/users-account-level-roles\202\323\344\223\002\024\022\022/cloud/user-groups' - _globals["_CLOUDSERVICE"].methods_by_name["GetUserGroup"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\024\022\022/cloud/user-groups\222A\247\001\n\006Groups\022\024List all user groups\0320Returns a list of all user groups in the account"U\n\031User groups documentation\0228https://docs.temporal.io/cloud/users-account-level-roles' + _CLOUDSERVICE.methods_by_name["GetUserGroup"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetUserGroup" - ]._serialized_options = b'\222A\243\001\n\006Groups\022\026Get user group details\0328Returns detailed information about a specific user group"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002\037\022\035/cloud/user-groups/{group_id}' - _globals["_CLOUDSERVICE"].methods_by_name["CreateUserGroup"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\037\022\035/cloud/user-groups/{group_id}\222A\243\001\n\006Groups\022\026Get user group details\0328Returns detailed information about a specific user group"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' + _CLOUDSERVICE.methods_by_name["CreateUserGroup"]._options = None + _CLOUDSERVICE.methods_by_name[ "CreateUserGroup" - ]._serialized_options = b'\222A\231\001\n\006Groups\022\023Create a user group\0321Creates a new user group for managing permissions"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002\027"\022/cloud/user-groups:\001*' - _globals["_CLOUDSERVICE"].methods_by_name["UpdateUserGroup"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\027"\022/cloud/user-groups:\001*\222A\231\001\n\006Groups\022\023Create a user group\0321Creates a new user group for managing permissions"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' + _CLOUDSERVICE.methods_by_name["UpdateUserGroup"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateUserGroup" - ]._serialized_options = b'\222A\223\001\n\006Groups\022\023Update a user group\032+Updates an existing user group\'s properties"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002""\035/cloud/user-groups/{group_id}:\001*' - _globals["_CLOUDSERVICE"].methods_by_name["DeleteUserGroup"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002""\035/cloud/user-groups/{group_id}:\001*\222A\223\001\n\006Groups\022\023Update a user group\032+Updates an existing user group\'s properties"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' + _CLOUDSERVICE.methods_by_name["DeleteUserGroup"]._options = None + _CLOUDSERVICE.methods_by_name[ "DeleteUserGroup" - ]._serialized_options = b'\222A\215\001\n\006Groups\022\023Delete a user group\032%Removes a user group from the account"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002\037*\035/cloud/user-groups/{group_id}' - _globals["_CLOUDSERVICE"].methods_by_name[ - "SetUserGroupNamespaceAccess" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\037*\035/cloud/user-groups/{group_id}\222A\215\001\n\006Groups\022\023Delete a user group\032%Removes a user group from the account"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' + _CLOUDSERVICE.methods_by_name["SetUserGroupNamespaceAccess"]._options = None + _CLOUDSERVICE.methods_by_name[ "SetUserGroupNamespaceAccess" - ]._serialized_options = b'\222A\262\001\n\006Groups\022\037Set user group namespace access\032>Configures a user group\'s permissions for a specific namespace"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002@";/cloud/namespaces/{namespace}/user-groups/{group_id}/access:\001*\222A\262\001\n\006Groups\022\037Set user group namespace access\032>Configures a user group\'s permissions for a specific namespace"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' + _CLOUDSERVICE.methods_by_name["AddUserGroupMember"]._options = None + _CLOUDSERVICE.methods_by_name[ "AddUserGroupMember" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "AddUserGroupMember" - ]._serialized_options = b'\222A\225\001\n\006Groups\022\021Add user to group\032/Adds a user to a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002*"%/cloud/user-groups/{group_id}/members:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "RemoveUserGroupMember" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002*"%/cloud/user-groups/{group_id}/members:\001*\222A\225\001\n\006Groups\022\021Add user to group\032/Adds a user to a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' + _CLOUDSERVICE.methods_by_name["RemoveUserGroupMember"]._options = None + _CLOUDSERVICE.methods_by_name[ "RemoveUserGroupMember" - ]._serialized_options = b'\222A\237\001\n\006Groups\022\026Remove user from group\0324Removes a user from a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\0020"+/cloud/user-groups/{group_id}/remove-member:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetUserGroupMembers" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0020"+/cloud/user-groups/{group_id}/remove-member:\001*\222A\237\001\n\006Groups\022\026Remove user from group\0324Removes a user from a user group (Cloud groups only)"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups' + _CLOUDSERVICE.methods_by_name["GetUserGroupMembers"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetUserGroupMembers" - ]._serialized_options = b"\222A\225\001\n\006Groups\022\025List users in a group\032+Returns a list of all users in a user group\"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups\202\323\344\223\002'\022%/cloud/user-groups/{group_id}/members" - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002'\022%/cloud/user-groups/{group_id}/members\222A\225\001\n\006Groups\022\025List users in a group\032+Returns a list of all users in a user group\"G\n\031User groups documentation\022*https://docs.temporal.io/cloud/user-groups" + _CLOUDSERVICE.methods_by_name["CreateServiceAccount"]._options = None + _CLOUDSERVICE.methods_by_name[ "CreateServiceAccount" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "CreateServiceAccount" - ]._serialized_options = b'\222A\263\001\n\020Service Accounts\022\030Create a service account\0322Creates a new service account for automated access"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002\034"\027/cloud/service-accounts:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetServiceAccount" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\034"\027/cloud/service-accounts:\001*\222A\263\001\n\020Service Accounts\022\030Create a service account\0322Creates a new service account for automated access"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' + _CLOUDSERVICE.methods_by_name["GetServiceAccount"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetServiceAccount" - ]._serialized_options = b'\222A\301\001\n\020Service Accounts\022\033Get service account details\032=Returns detailed information about a specific service account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002.\022,/cloud/service-accounts/{service_account_id}' - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetServiceAccounts" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002.\022,/cloud/service-accounts/{service_account_id}\222A\301\001\n\020Service Accounts\022\033Get service account details\032=Returns detailed information about a specific service account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' + _CLOUDSERVICE.methods_by_name["GetServiceAccounts"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetServiceAccounts" - ]._serialized_options = b'\222A\267\001\n\020Service Accounts\022\031List all service accounts\0325Returns a list of all service accounts in the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002\031\022\027/cloud/service-accounts' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\031\022\027/cloud/service-accounts\222A\267\001\n\020Service Accounts\022\031List all service accounts\0325Returns a list of all service accounts in the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' + _CLOUDSERVICE.methods_by_name["UpdateServiceAccount"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateServiceAccount" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "UpdateServiceAccount" - ]._serialized_options = b'\222A\261\001\n\020Service Accounts\022\030Update a service account\0320Updates an existing service account\'s properties"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\0021",/cloud/service-accounts/{service_account_id}:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "SetServiceAccountNamespaceAccess" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0021",/cloud/service-accounts/{service_account_id}:\001*\222A\261\001\n\020Service Accounts\022\030Update a service account\0320Updates an existing service account\'s properties"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' + _CLOUDSERVICE.methods_by_name["SetServiceAccountNamespaceAccess"]._options = None + _CLOUDSERVICE.methods_by_name[ "SetServiceAccountNamespaceAccess" - ]._serialized_options = b'\222A\320\001\n\020Service Accounts\022$Set service account namespace access\032CConfigures a service account\'s permissions for a specific namespace"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002O"J/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access:\001*\222A\320\001\n\020Service Accounts\022$Set service account namespace access\032CConfigures a service account\'s permissions for a specific namespace"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' + _CLOUDSERVICE.methods_by_name["DeleteServiceAccount"]._options = None + _CLOUDSERVICE.methods_by_name[ "DeleteServiceAccount" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "DeleteServiceAccount" - ]._serialized_options = b'\222A\253\001\n\020Service Accounts\022\030Delete a service account\032*Removes a service account from the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts\202\323\344\223\002.*,/cloud/service-accounts/{service_account_id}' - _globals["_CLOUDSERVICE"].methods_by_name["GetUsage"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002.*,/cloud/service-accounts/{service_account_id}\222A\253\001\n\020Service Accounts\022\030Delete a service account\032*Removes a service account from the account"Q\n\036Service Accounts documentation\022/https://docs.temporal.io/cloud/service-accounts' + _CLOUDSERVICE.methods_by_name["GetUsage"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetUsage" - ]._serialized_options = b"\222A=\n\007Account\022\016Get usage data\032 Get usage data across namespacesX\001\202\323\344\223\002\016\022\014/cloud/usage" - _globals["_CLOUDSERVICE"].methods_by_name["GetAccount"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\016\022\014/cloud/usage\222A=\n\007Account\022\016Get usage data\032 Get usage data across namespacesX\001" + _CLOUDSERVICE.methods_by_name["GetAccount"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetAccount" - ]._serialized_options = b'\222A\230\001\n\007Account\022\023Get account details\032.Returns detailed information about the account"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost\202\323\344\223\002\020\022\016/cloud/account' - _globals["_CLOUDSERVICE"].methods_by_name["UpdateAccount"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\020\022\016/cloud/account\222A\230\001\n\007Account\022\023Get account details\032.Returns detailed information about the account"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost' + _CLOUDSERVICE.methods_by_name["UpdateAccount"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateAccount" - ]._serialized_options = b'\222A\227\001\n\007Account\022\026Update account details\032*Updates account configuration and settings"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost\202\323\344\223\002\023"\016/cloud/account:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "CreateNamespaceExportSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\023"\016/cloud/account:\001*\222A\227\001\n\007Account\022\026Update account details\032*Updates account configuration and settings"H\n\025Billing documentation\022/https://docs.temporal.io/cloud/billing-and-cost' + _CLOUDSERVICE.methods_by_name["CreateNamespaceExportSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "CreateNamespaceExportSink" - ]._serialized_options = b'\222A\217\001\n\006Export\022\032Create history export sink\032*Creates a new workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\002/"*/cloud/namespaces/{namespace}/export-sinks:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetNamespaceExportSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002/"*/cloud/namespaces/{namespace}/export-sinks:\001*\222A\217\001\n\006Export\022\032Create history export sink\032*Creates a new workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' + _CLOUDSERVICE.methods_by_name["GetNamespaceExportSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetNamespaceExportSink" - ]._serialized_options = b'\222A\255\001\n\006Export\022\030Get history sink details\032JReturns detailed information about a specific workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\0023\0221/cloud/namespaces/{namespace}/export-sinks/{name}' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0023\0221/cloud/namespaces/{namespace}/export-sinks/{name}\222A\255\001\n\006Export\022\030Get history sink details\032JReturns detailed information about a specific workflow history export sink"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' + _CLOUDSERVICE.methods_by_name["GetNamespaceExportSinks"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetNamespaceExportSinks" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetNamespaceExportSinks" - ]._serialized_options = b'\222A\247\001\n\006Export\022\031List history export sinks\032CReturns a list of all workflow history export sinks for a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\002,\022*/cloud/namespaces/{namespace}/export-sinks' - _globals["_CLOUDSERVICE"].methods_by_name[ - "UpdateNamespaceExportSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002,\022*/cloud/namespaces/{namespace}/export-sinks\222A\247\001\n\006Export\022\031List history export sinks\032CReturns a list of all workflow history export sinks for a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' + _CLOUDSERVICE.methods_by_name["UpdateNamespaceExportSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateNamespaceExportSink" - ]._serialized_options = b'\222A\245\001\n\006Export\022\032Update history export sink\032@Updates an existing workflow history export sink\'s configuration"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\002;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "DeleteNamespaceExportSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002;"6/cloud/namespaces/{namespace}/export-sinks/{spec.name}:\001*\222A\245\001\n\006Export\022\032Update history export sink\032@Updates an existing workflow history export sink\'s configuration"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' + _CLOUDSERVICE.methods_by_name["DeleteNamespaceExportSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "DeleteNamespaceExportSink" - ]._serialized_options = b'\222A\234\001\n\006Export\022\032Delete history export sink\0327Removes a workflow history export sink from a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\0023*1/cloud/namespaces/{namespace}/export-sinks/{name}' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0023*1/cloud/namespaces/{namespace}/export-sinks/{name}\222A\234\001\n\006Export\022\032Delete history export sink\0327Removes a workflow history export sink from a namespace"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' + _CLOUDSERVICE.methods_by_name["ValidateNamespaceExportSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "ValidateNamespaceExportSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "ValidateNamespaceExportSink" - ]._serialized_options = b'\222A\327\001\n\006Export\022*Validate history export sink configuration\032bTests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export\202\323\344\223\0027"2/cloud/namespaces/{namespace}/export-sink-validate:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "UpdateNamespaceTags" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0027"2/cloud/namespaces/{namespace}/export-sink-validate:\001*\222A\327\001\n\006Export\022*Validate history export sink configuration\032bTests workflow history export sink configuration by delivering a test file to verify accessibility"=\n\024Export documentation\022%https://docs.temporal.io/cloud/export' + _CLOUDSERVICE.methods_by_name["UpdateNamespaceTags"]._options = None + _CLOUDSERVICE.methods_by_name[ "UpdateNamespaceTags" - ]._serialized_options = b'\222A\253\001\n\nNamespaces\022\025Update namespace tags\032,Updates the tags associated with a namespace"X\n\033Namespace tag documentation\0229https://docs.temporal.io/cloud/namespaces#tag-a-namespace\202\323\344\223\002.")/cloud/namespaces/{namespace}/update-tags:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "CreateConnectivityRule" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002.")/cloud/namespaces/{namespace}/update-tags:\001*\222A\253\001\n\nNamespaces\022\025Update namespace tags\032,Updates the tags associated with a namespace"X\n\033Namespace tag documentation\0229https://docs.temporal.io/cloud/namespaces#tag-a-namespace' + _CLOUDSERVICE.methods_by_name["CreateConnectivityRule"]._options = None + _CLOUDSERVICE.methods_by_name[ "CreateConnectivityRule" - ]._serialized_options = b'\222A\265\001\n\022Connectivity Rules\022\030Create connectivity rule\032:Creates a new connectivity rule for network access control"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\002\036"\031/cloud/connectivity-rules:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\036"\031/cloud/connectivity-rules:\001*\222A\265\001\n\022Connectivity Rules\022\030Create connectivity rule\032:Creates a new connectivity rule for network access control"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' + _CLOUDSERVICE.methods_by_name["GetConnectivityRule"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetConnectivityRule" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetConnectivityRule" - ]._serialized_options = b'\222A\277\001\n\022Connectivity Rules\022\035Get connectivity rule details\032?Returns detailed information about a specific connectivity rule"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\0022\0220/cloud/connectivity-rules/{connectivity_rule_id}' - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetConnectivityRules" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0022\0220/cloud/connectivity-rules/{connectivity_rule_id}\222A\277\001\n\022Connectivity Rules\022\035Get connectivity rule details\032?Returns detailed information about a specific connectivity rule"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' + _CLOUDSERVICE.methods_by_name["GetConnectivityRules"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetConnectivityRules" - ]._serialized_options = b'\222A\265\001\n\022Connectivity Rules\022\033List all connectivity rules\0327Returns a list of all connectivity rules in the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\002\033\022\031/cloud/connectivity-rules' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\033\022\031/cloud/connectivity-rules\222A\265\001\n\022Connectivity Rules\022\033List all connectivity rules\0327Returns a list of all connectivity rules in the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' + _CLOUDSERVICE.methods_by_name["DeleteConnectivityRule"]._options = None + _CLOUDSERVICE.methods_by_name[ "DeleteConnectivityRule" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "DeleteConnectivityRule" - ]._serialized_options = b'\222A\247\001\n\022Connectivity Rules\022\030Delete connectivity rule\032,Removes a connectivity rule from the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity\202\323\344\223\0022*0/cloud/connectivity-rules/{connectivity_rule_id}' - _globals["_CLOUDSERVICE"].methods_by_name["GetAuditLogs"]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\0022*0/cloud/connectivity-rules/{connectivity_rule_id}\222A\247\001\n\022Connectivity Rules\022\030Delete connectivity rule\032,Removes a connectivity rule from the account"I\n\032Connectivity documentation\022+https://docs.temporal.io/cloud/connectivity' + _CLOUDSERVICE.methods_by_name["GetAuditLogs"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetAuditLogs" - ]._serialized_options = b'\222A\301\001\n\007Account\022\016Get audit logs\032YReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging\202\323\344\223\002\023\022\021/cloud/audit-logs' - _globals["_CLOUDSERVICE"].methods_by_name[ - "ValidateAccountAuditLogSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\023\022\021/cloud/audit-logs\222A\301\001\n\007Account\022\016Get audit logs\032YReturns a paginated list of audit logs for the account, optionally filtered by time range"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging' + _CLOUDSERVICE.methods_by_name["ValidateAccountAuditLogSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "ValidateAccountAuditLogSink" - ]._serialized_options = b'\222A\326\002\n\007Account\022\027Validate audit log sink\032\344\001Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging\202\323\344\223\002#"\036/cloud/audit-log-sink-validate:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ - "CreateAccountAuditLogSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002#"\036/cloud/audit-log-sink-validate:\001*\222A\326\002\n\007Account\022\027Validate audit log sink\032\344\001Validate customer audit log sink is accessible from Temporal\'s workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs."K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging' + _CLOUDSERVICE.methods_by_name["CreateAccountAuditLogSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "CreateAccountAuditLogSink" - ]._serialized_options = b'\222A\244\001\n\007Account\022\025Create audit log sink\0325Creates a new audit log sink for exporting audit logs"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging\202\323\344\223\002\033"\026/cloud/audit-log-sinks:\001*' - _globals["_CLOUDSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\033"\026/cloud/audit-log-sinks:\001*\222A\244\001\n\007Account\022\025Create audit log sink\0325Creates a new audit log sink for exporting audit logs"K\n\033Audit logging documentation\022,https://docs.temporal.io/cloud/audit-logging' + _CLOUDSERVICE.methods_by_name["GetAccountAuditLogSink"]._options = None + _CLOUDSERVICE.methods_by_name[ "GetAccountAuditLogSink" - ]._loaded_options = None - _globals["_CLOUDSERVICE"].methods_by_name[ - "GetAccountAuditLogSink" - ]._serialized_options = b'\222A\260\001\n\007Account\022\032Get audit log sink details\032={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) - -class CloudServiceStub: +class CloudServiceStub(object): """WARNING: This service is currently experimental and may change in incompatible ways. """ @@ -47,461 +23,385 @@ def __init__(self, channel): "/temporal.api.cloud.cloudservice.v1.CloudService/GetCurrentIdentity", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCurrentIdentityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCurrentIdentityResponse.FromString, - _registered_method=True, ) self.GetUsers = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsers", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsersResponse.FromString, - _registered_method=True, ) self.GetUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserResponse.FromString, - _registered_method=True, ) self.CreateUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserResponse.FromString, - _registered_method=True, ) self.UpdateUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserResponse.FromString, - _registered_method=True, ) self.DeleteUser = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUser", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserResponse.FromString, - _registered_method=True, ) self.SetUserNamespaceAccess = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserNamespaceAccess", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserNamespaceAccessRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserNamespaceAccessResponse.FromString, - _registered_method=True, ) self.GetAsyncOperation = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAsyncOperation", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAsyncOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAsyncOperationResponse.FromString, - _registered_method=True, ) self.CreateNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceResponse.FromString, - _registered_method=True, ) self.GetNamespaces = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaces", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespacesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespacesResponse.FromString, - _registered_method=True, ) self.GetNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceResponse.FromString, - _registered_method=True, ) self.UpdateNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, - _registered_method=True, ) self.RenameCustomSearchAttribute = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/RenameCustomSearchAttribute", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RenameCustomSearchAttributeRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RenameCustomSearchAttributeResponse.FromString, - _registered_method=True, ) self.DeleteNamespace = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespace", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, - _registered_method=True, ) self.FailoverNamespaceRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/FailoverNamespaceRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.FailoverNamespaceRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.FailoverNamespaceRegionResponse.FromString, - _registered_method=True, ) self.AddNamespaceRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/AddNamespaceRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddNamespaceRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddNamespaceRegionResponse.FromString, - _registered_method=True, ) self.DeleteNamespaceRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRegionResponse.FromString, - _registered_method=True, ) self.GetRegions = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegions", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionsResponse.FromString, - _registered_method=True, ) self.GetRegion = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegion", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetRegionResponse.FromString, - _registered_method=True, ) self.GetApiKeys = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKeys", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeysRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeysResponse.FromString, - _registered_method=True, ) self.GetApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetApiKeyResponse.FromString, - _registered_method=True, ) self.CreateApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateApiKeyResponse.FromString, - _registered_method=True, ) self.UpdateApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateApiKeyResponse.FromString, - _registered_method=True, ) self.DeleteApiKey = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteApiKey", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteApiKeyRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteApiKeyResponse.FromString, - _registered_method=True, ) self.GetNexusEndpoints = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoints", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointsResponse.FromString, - _registered_method=True, ) self.GetNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, - _registered_method=True, ) self.CreateNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, - _registered_method=True, ) self.UpdateNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, - _registered_method=True, ) self.DeleteNexusEndpoint = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNexusEndpoint", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, - _registered_method=True, ) self.GetUserGroups = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroups", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupsResponse.FromString, - _registered_method=True, ) self.GetUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupResponse.FromString, - _registered_method=True, ) self.CreateUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateUserGroupResponse.FromString, - _registered_method=True, ) self.UpdateUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateUserGroupResponse.FromString, - _registered_method=True, ) self.DeleteUserGroup = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUserGroup", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserGroupRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteUserGroupResponse.FromString, - _registered_method=True, ) self.SetUserGroupNamespaceAccess = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupNamespaceAccess", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserGroupNamespaceAccessRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetUserGroupNamespaceAccessResponse.FromString, - _registered_method=True, ) self.AddUserGroupMember = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/AddUserGroupMember", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddUserGroupMemberRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.AddUserGroupMemberResponse.FromString, - _registered_method=True, ) self.RemoveUserGroupMember = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/RemoveUserGroupMember", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RemoveUserGroupMemberRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.RemoveUserGroupMemberResponse.FromString, - _registered_method=True, ) self.GetUserGroupMembers = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupMembers", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupMembersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupMembersResponse.FromString, - _registered_method=True, ) self.CreateServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateServiceAccountResponse.FromString, - _registered_method=True, ) self.GetServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountResponse.FromString, - _registered_method=True, ) self.GetServiceAccounts = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccounts", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountsResponse.FromString, - _registered_method=True, ) self.UpdateServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateServiceAccountResponse.FromString, - _registered_method=True, ) self.SetServiceAccountNamespaceAccess = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountNamespaceAccess", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetServiceAccountNamespaceAccessRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.SetServiceAccountNamespaceAccessResponse.FromString, - _registered_method=True, ) self.DeleteServiceAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteServiceAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteServiceAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteServiceAccountResponse.FromString, - _registered_method=True, ) self.GetUsage = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsage", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsageRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUsageResponse.FromString, - _registered_method=True, ) self.GetAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountResponse.FromString, - _registered_method=True, ) self.UpdateAccount = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccount", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountResponse.FromString, - _registered_method=True, ) self.CreateNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateNamespaceExportSinkResponse.FromString, - _registered_method=True, ) self.GetNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinkResponse.FromString, - _registered_method=True, ) self.GetNamespaceExportSinks = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSinks", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinksRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceExportSinksResponse.FromString, - _registered_method=True, ) self.UpdateNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceExportSinkResponse.FromString, - _registered_method=True, ) self.DeleteNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteNamespaceExportSinkResponse.FromString, - _registered_method=True, ) self.ValidateNamespaceExportSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateNamespaceExportSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateNamespaceExportSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateNamespaceExportSinkResponse.FromString, - _registered_method=True, ) self.UpdateNamespaceTags = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceTags", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceTagsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateNamespaceTagsResponse.FromString, - _registered_method=True, ) self.CreateConnectivityRule = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateConnectivityRule", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateConnectivityRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateConnectivityRuleResponse.FromString, - _registered_method=True, ) self.GetConnectivityRule = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRule", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRuleResponse.FromString, - _registered_method=True, ) self.GetConnectivityRules = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRules", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetConnectivityRulesResponse.FromString, - _registered_method=True, ) self.DeleteConnectivityRule = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteConnectivityRule", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteConnectivityRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteConnectivityRuleResponse.FromString, - _registered_method=True, ) self.GetAuditLogs = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAuditLogs", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAuditLogsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAuditLogsResponse.FromString, - _registered_method=True, ) self.ValidateAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.ValidateAccountAuditLogSinkResponse.FromString, - _registered_method=True, ) self.CreateAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateAccountAuditLogSinkResponse.FromString, - _registered_method=True, ) self.GetAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinkResponse.FromString, - _registered_method=True, ) self.GetAccountAuditLogSinks = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSinks", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinksRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetAccountAuditLogSinksResponse.FromString, - _registered_method=True, ) self.UpdateAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateAccountAuditLogSinkResponse.FromString, - _registered_method=True, ) self.DeleteAccountAuditLogSink = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteAccountAuditLogSink", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteAccountAuditLogSinkRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteAccountAuditLogSinkResponse.FromString, - _registered_method=True, ) self.GetNamespaceCapacityInfo = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceCapacityInfo", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceCapacityInfoRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetNamespaceCapacityInfoResponse.FromString, - _registered_method=True, ) self.CreateBillingReport = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateBillingReport", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateBillingReportRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateBillingReportResponse.FromString, - _registered_method=True, ) self.GetBillingReport = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetBillingReport", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetBillingReportRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetBillingReportResponse.FromString, - _registered_method=True, ) self.GetCustomRoles = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRoles", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRolesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRolesResponse.FromString, - _registered_method=True, ) self.GetCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetCustomRoleResponse.FromString, - _registered_method=True, ) self.CreateCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/CreateCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.CreateCustomRoleResponse.FromString, - _registered_method=True, ) self.UpdateCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.UpdateCustomRoleResponse.FromString, - _registered_method=True, ) self.DeleteCustomRole = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteCustomRole", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteCustomRoleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.DeleteCustomRoleResponse.FromString, - _registered_method=True, ) self.GetUserNamespaceAssignments = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserNamespaceAssignments", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserNamespaceAssignmentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserNamespaceAssignmentsResponse.FromString, - _registered_method=True, ) self.GetServiceAccountNamespaceAssignments = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccountNamespaceAssignments", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountNamespaceAssignmentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetServiceAccountNamespaceAssignmentsResponse.FromString, - _registered_method=True, ) self.GetUserGroupNamespaceAssignments = channel.unary_unary( "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupNamespaceAssignments", request_serializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupNamespaceAssignmentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_cloud_dot_cloudservice_dot_v1_dot_request__response__pb2.GetUserGroupNamespaceAssignmentsResponse.FromString, - _registered_method=True, ) -class CloudServiceServicer: +class CloudServiceServicer(object): """WARNING: This service is currently experimental and may change in incompatible ways. """ @@ -1360,13 +1260,10 @@ def add_CloudServiceServicer_to_server(servicer, server): "temporal.api.cloud.cloudservice.v1.CloudService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers( - "temporal.api.cloud.cloudservice.v1.CloudService", rpc_method_handlers - ) # This class is part of an EXPERIMENTAL API. -class CloudService: +class CloudService(object): """WARNING: This service is currently experimental and may change in incompatible ways. """ @@ -1398,7 +1295,6 @@ def GetCurrentIdentity( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1428,7 +1324,6 @@ def GetUsers( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1458,7 +1353,6 @@ def GetUser( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1488,7 +1382,6 @@ def CreateUser( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1518,7 +1411,6 @@ def UpdateUser( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1548,7 +1440,6 @@ def DeleteUser( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1578,7 +1469,6 @@ def SetUserNamespaceAccess( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1608,7 +1498,6 @@ def GetAsyncOperation( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1638,7 +1527,6 @@ def CreateNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1668,7 +1556,6 @@ def GetNamespaces( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1698,7 +1585,6 @@ def GetNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1728,7 +1614,6 @@ def UpdateNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1758,7 +1643,6 @@ def RenameCustomSearchAttribute( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1788,7 +1672,6 @@ def DeleteNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1818,7 +1701,6 @@ def FailoverNamespaceRegion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1848,7 +1730,6 @@ def AddNamespaceRegion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1878,7 +1759,6 @@ def DeleteNamespaceRegion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1908,7 +1788,6 @@ def GetRegions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1938,7 +1817,6 @@ def GetRegion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1968,7 +1846,6 @@ def GetApiKeys( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -1998,7 +1875,6 @@ def GetApiKey( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2028,7 +1904,6 @@ def CreateApiKey( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2058,7 +1933,6 @@ def UpdateApiKey( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2088,7 +1962,6 @@ def DeleteApiKey( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2118,7 +1991,6 @@ def GetNexusEndpoints( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2148,7 +2020,6 @@ def GetNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2178,7 +2049,6 @@ def CreateNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2208,7 +2078,6 @@ def UpdateNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2238,7 +2107,6 @@ def DeleteNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2268,7 +2136,6 @@ def GetUserGroups( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2298,7 +2165,6 @@ def GetUserGroup( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2328,7 +2194,6 @@ def CreateUserGroup( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2358,7 +2223,6 @@ def UpdateUserGroup( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2388,7 +2252,6 @@ def DeleteUserGroup( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2418,7 +2281,6 @@ def SetUserGroupNamespaceAccess( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2448,7 +2310,6 @@ def AddUserGroupMember( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2478,7 +2339,6 @@ def RemoveUserGroupMember( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2508,7 +2368,6 @@ def GetUserGroupMembers( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2538,7 +2397,6 @@ def CreateServiceAccount( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2568,7 +2426,6 @@ def GetServiceAccount( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2598,7 +2455,6 @@ def GetServiceAccounts( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2628,7 +2484,6 @@ def UpdateServiceAccount( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2658,7 +2513,6 @@ def SetServiceAccountNamespaceAccess( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2688,7 +2542,6 @@ def DeleteServiceAccount( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2718,7 +2571,6 @@ def GetUsage( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2748,7 +2600,6 @@ def GetAccount( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2778,7 +2629,6 @@ def UpdateAccount( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2808,7 +2658,6 @@ def CreateNamespaceExportSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2838,7 +2687,6 @@ def GetNamespaceExportSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2868,7 +2716,6 @@ def GetNamespaceExportSinks( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2898,7 +2745,6 @@ def UpdateNamespaceExportSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2928,7 +2774,6 @@ def DeleteNamespaceExportSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2958,7 +2803,6 @@ def ValidateNamespaceExportSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2988,7 +2832,6 @@ def UpdateNamespaceTags( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3018,7 +2861,6 @@ def CreateConnectivityRule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3048,7 +2890,6 @@ def GetConnectivityRule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3078,7 +2919,6 @@ def GetConnectivityRules( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3108,7 +2948,6 @@ def DeleteConnectivityRule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3138,7 +2977,6 @@ def GetAuditLogs( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3168,7 +3006,6 @@ def ValidateAccountAuditLogSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3198,7 +3035,6 @@ def CreateAccountAuditLogSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3228,7 +3064,6 @@ def GetAccountAuditLogSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3258,7 +3093,6 @@ def GetAccountAuditLogSinks( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3288,7 +3122,6 @@ def UpdateAccountAuditLogSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3318,7 +3151,6 @@ def DeleteAccountAuditLogSink( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3348,7 +3180,6 @@ def GetNamespaceCapacityInfo( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3378,7 +3209,6 @@ def CreateBillingReport( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3408,7 +3238,6 @@ def GetBillingReport( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3438,7 +3267,6 @@ def GetCustomRoles( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3468,7 +3296,6 @@ def GetCustomRole( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3498,7 +3325,6 @@ def CreateCustomRole( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3528,7 +3354,6 @@ def UpdateCustomRole( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3558,7 +3383,6 @@ def DeleteCustomRole( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3588,7 +3412,6 @@ def GetUserNamespaceAssignments( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3618,7 +3441,6 @@ def GetServiceAccountNamespaceAssignments( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3648,5 +3470,4 @@ def GetUserGroupNamespaceAssignments( wait_for_ready, timeout, metadata, - _registered_method=True, ) diff --git a/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi b/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi index d96abcc26..a56b33db4 100644 --- a/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/cloud/cloudservice/v1/service_pb2_grpc.pyi @@ -4,2498 +4,406 @@ isort:skip_file """ import abc -import collections.abc -import sys -import typing import grpc -import grpc.aio import temporalio.api.cloud.cloudservice.v1.request_response_pb2 -if sys.version_info >= (3, 13): - import typing as typing_extensions -else: - import typing_extensions - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str -_CloudServiceGetCurrentIdentityType = typing_extensions.TypeVar( - "_CloudServiceGetCurrentIdentityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - ], -) - -_CloudServiceGetUsersType = typing_extensions.TypeVar( - "_CloudServiceGetUsersType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - ], -) - -_CloudServiceGetUserType = typing_extensions.TypeVar( - "_CloudServiceGetUserType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - ], -) - -_CloudServiceCreateUserType = typing_extensions.TypeVar( - "_CloudServiceCreateUserType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - ], -) - -_CloudServiceUpdateUserType = typing_extensions.TypeVar( - "_CloudServiceUpdateUserType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - ], -) - -_CloudServiceDeleteUserType = typing_extensions.TypeVar( - "_CloudServiceDeleteUserType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - ], -) - -_CloudServiceSetUserNamespaceAccessType = typing_extensions.TypeVar( - "_CloudServiceSetUserNamespaceAccessType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - ], -) - -_CloudServiceGetAsyncOperationType = typing_extensions.TypeVar( - "_CloudServiceGetAsyncOperationType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - ], -) - -_CloudServiceCreateNamespaceType = typing_extensions.TypeVar( - "_CloudServiceCreateNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - ], -) - -_CloudServiceGetNamespacesType = typing_extensions.TypeVar( - "_CloudServiceGetNamespacesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - ], -) - -_CloudServiceGetNamespaceType = typing_extensions.TypeVar( - "_CloudServiceGetNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - ], -) - -_CloudServiceUpdateNamespaceType = typing_extensions.TypeVar( - "_CloudServiceUpdateNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], -) - -_CloudServiceRenameCustomSearchAttributeType = typing_extensions.TypeVar( - "_CloudServiceRenameCustomSearchAttributeType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - ], -) - -_CloudServiceDeleteNamespaceType = typing_extensions.TypeVar( - "_CloudServiceDeleteNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], -) - -_CloudServiceFailoverNamespaceRegionType = typing_extensions.TypeVar( - "_CloudServiceFailoverNamespaceRegionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - ], -) - -_CloudServiceAddNamespaceRegionType = typing_extensions.TypeVar( - "_CloudServiceAddNamespaceRegionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - ], -) - -_CloudServiceDeleteNamespaceRegionType = typing_extensions.TypeVar( - "_CloudServiceDeleteNamespaceRegionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - ], -) - -_CloudServiceGetRegionsType = typing_extensions.TypeVar( - "_CloudServiceGetRegionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - ], -) - -_CloudServiceGetRegionType = typing_extensions.TypeVar( - "_CloudServiceGetRegionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - ], -) - -_CloudServiceGetApiKeysType = typing_extensions.TypeVar( - "_CloudServiceGetApiKeysType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - ], -) - -_CloudServiceGetApiKeyType = typing_extensions.TypeVar( - "_CloudServiceGetApiKeyType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - ], -) - -_CloudServiceCreateApiKeyType = typing_extensions.TypeVar( - "_CloudServiceCreateApiKeyType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - ], -) - -_CloudServiceUpdateApiKeyType = typing_extensions.TypeVar( - "_CloudServiceUpdateApiKeyType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - ], -) - -_CloudServiceDeleteApiKeyType = typing_extensions.TypeVar( - "_CloudServiceDeleteApiKeyType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - ], -) - -_CloudServiceGetNexusEndpointsType = typing_extensions.TypeVar( - "_CloudServiceGetNexusEndpointsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - ], -) - -_CloudServiceGetNexusEndpointType = typing_extensions.TypeVar( - "_CloudServiceGetNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], -) - -_CloudServiceCreateNexusEndpointType = typing_extensions.TypeVar( - "_CloudServiceCreateNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], -) - -_CloudServiceUpdateNexusEndpointType = typing_extensions.TypeVar( - "_CloudServiceUpdateNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], -) - -_CloudServiceDeleteNexusEndpointType = typing_extensions.TypeVar( - "_CloudServiceDeleteNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], -) - -_CloudServiceGetUserGroupsType = typing_extensions.TypeVar( - "_CloudServiceGetUserGroupsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - ], -) - -_CloudServiceGetUserGroupType = typing_extensions.TypeVar( - "_CloudServiceGetUserGroupType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - ], -) - -_CloudServiceCreateUserGroupType = typing_extensions.TypeVar( - "_CloudServiceCreateUserGroupType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - ], -) - -_CloudServiceUpdateUserGroupType = typing_extensions.TypeVar( - "_CloudServiceUpdateUserGroupType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - ], -) - -_CloudServiceDeleteUserGroupType = typing_extensions.TypeVar( - "_CloudServiceDeleteUserGroupType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - ], -) - -_CloudServiceSetUserGroupNamespaceAccessType = typing_extensions.TypeVar( - "_CloudServiceSetUserGroupNamespaceAccessType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - ], -) - -_CloudServiceAddUserGroupMemberType = typing_extensions.TypeVar( - "_CloudServiceAddUserGroupMemberType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - ], -) - -_CloudServiceRemoveUserGroupMemberType = typing_extensions.TypeVar( - "_CloudServiceRemoveUserGroupMemberType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - ], -) - -_CloudServiceGetUserGroupMembersType = typing_extensions.TypeVar( - "_CloudServiceGetUserGroupMembersType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - ], -) - -_CloudServiceCreateServiceAccountType = typing_extensions.TypeVar( - "_CloudServiceCreateServiceAccountType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - ], -) - -_CloudServiceGetServiceAccountType = typing_extensions.TypeVar( - "_CloudServiceGetServiceAccountType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - ], -) - -_CloudServiceGetServiceAccountsType = typing_extensions.TypeVar( - "_CloudServiceGetServiceAccountsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - ], -) - -_CloudServiceUpdateServiceAccountType = typing_extensions.TypeVar( - "_CloudServiceUpdateServiceAccountType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - ], -) - -_CloudServiceSetServiceAccountNamespaceAccessType = typing_extensions.TypeVar( - "_CloudServiceSetServiceAccountNamespaceAccessType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - ], -) - -_CloudServiceDeleteServiceAccountType = typing_extensions.TypeVar( - "_CloudServiceDeleteServiceAccountType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - ], -) - -_CloudServiceGetUsageType = typing_extensions.TypeVar( - "_CloudServiceGetUsageType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - ], -) - -_CloudServiceGetAccountType = typing_extensions.TypeVar( - "_CloudServiceGetAccountType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - ], -) - -_CloudServiceUpdateAccountType = typing_extensions.TypeVar( - "_CloudServiceUpdateAccountType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - ], -) - -_CloudServiceCreateNamespaceExportSinkType = typing_extensions.TypeVar( - "_CloudServiceCreateNamespaceExportSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - ], -) - -_CloudServiceGetNamespaceExportSinkType = typing_extensions.TypeVar( - "_CloudServiceGetNamespaceExportSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - ], -) - -_CloudServiceGetNamespaceExportSinksType = typing_extensions.TypeVar( - "_CloudServiceGetNamespaceExportSinksType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - ], -) - -_CloudServiceUpdateNamespaceExportSinkType = typing_extensions.TypeVar( - "_CloudServiceUpdateNamespaceExportSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - ], -) - -_CloudServiceDeleteNamespaceExportSinkType = typing_extensions.TypeVar( - "_CloudServiceDeleteNamespaceExportSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - ], -) - -_CloudServiceValidateNamespaceExportSinkType = typing_extensions.TypeVar( - "_CloudServiceValidateNamespaceExportSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - ], -) - -_CloudServiceUpdateNamespaceTagsType = typing_extensions.TypeVar( - "_CloudServiceUpdateNamespaceTagsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - ], -) - -_CloudServiceCreateConnectivityRuleType = typing_extensions.TypeVar( - "_CloudServiceCreateConnectivityRuleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - ], -) - -_CloudServiceGetConnectivityRuleType = typing_extensions.TypeVar( - "_CloudServiceGetConnectivityRuleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - ], -) - -_CloudServiceGetConnectivityRulesType = typing_extensions.TypeVar( - "_CloudServiceGetConnectivityRulesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - ], -) - -_CloudServiceDeleteConnectivityRuleType = typing_extensions.TypeVar( - "_CloudServiceDeleteConnectivityRuleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - ], -) - -_CloudServiceGetAuditLogsType = typing_extensions.TypeVar( - "_CloudServiceGetAuditLogsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - ], -) - -_CloudServiceValidateAccountAuditLogSinkType = typing_extensions.TypeVar( - "_CloudServiceValidateAccountAuditLogSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - ], -) - -_CloudServiceCreateAccountAuditLogSinkType = typing_extensions.TypeVar( - "_CloudServiceCreateAccountAuditLogSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - ], -) - -_CloudServiceGetAccountAuditLogSinkType = typing_extensions.TypeVar( - "_CloudServiceGetAccountAuditLogSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - ], -) - -_CloudServiceGetAccountAuditLogSinksType = typing_extensions.TypeVar( - "_CloudServiceGetAccountAuditLogSinksType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - ], -) - -_CloudServiceUpdateAccountAuditLogSinkType = typing_extensions.TypeVar( - "_CloudServiceUpdateAccountAuditLogSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - ], -) - -_CloudServiceDeleteAccountAuditLogSinkType = typing_extensions.TypeVar( - "_CloudServiceDeleteAccountAuditLogSinkType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - ], -) - -_CloudServiceGetNamespaceCapacityInfoType = typing_extensions.TypeVar( - "_CloudServiceGetNamespaceCapacityInfoType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - ], -) - -_CloudServiceCreateBillingReportType = typing_extensions.TypeVar( - "_CloudServiceCreateBillingReportType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - ], -) - -_CloudServiceGetBillingReportType = typing_extensions.TypeVar( - "_CloudServiceGetBillingReportType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - ], -) - -_CloudServiceGetCustomRolesType = typing_extensions.TypeVar( - "_CloudServiceGetCustomRolesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - ], -) - -_CloudServiceGetCustomRoleType = typing_extensions.TypeVar( - "_CloudServiceGetCustomRoleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - ], -) - -_CloudServiceCreateCustomRoleType = typing_extensions.TypeVar( - "_CloudServiceCreateCustomRoleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - ], -) - -_CloudServiceUpdateCustomRoleType = typing_extensions.TypeVar( - "_CloudServiceUpdateCustomRoleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - ], -) - -_CloudServiceDeleteCustomRoleType = typing_extensions.TypeVar( - "_CloudServiceDeleteCustomRoleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - ], -) - -_CloudServiceGetUserNamespaceAssignmentsType = typing_extensions.TypeVar( - "_CloudServiceGetUserNamespaceAssignmentsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - ], -) - -_CloudServiceGetServiceAccountNamespaceAssignmentsType = typing_extensions.TypeVar( - "_CloudServiceGetServiceAccountNamespaceAssignmentsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - ], -) - -_CloudServiceGetUserGroupNamespaceAssignmentsType = typing_extensions.TypeVar( - "_CloudServiceGetUserGroupNamespaceAssignmentsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - ], -) - -class CloudServiceStub( - typing.Generic[ - _CloudServiceGetCurrentIdentityType, - _CloudServiceGetUsersType, - _CloudServiceGetUserType, - _CloudServiceCreateUserType, - _CloudServiceUpdateUserType, - _CloudServiceDeleteUserType, - _CloudServiceSetUserNamespaceAccessType, - _CloudServiceGetAsyncOperationType, - _CloudServiceCreateNamespaceType, - _CloudServiceGetNamespacesType, - _CloudServiceGetNamespaceType, - _CloudServiceUpdateNamespaceType, - _CloudServiceRenameCustomSearchAttributeType, - _CloudServiceDeleteNamespaceType, - _CloudServiceFailoverNamespaceRegionType, - _CloudServiceAddNamespaceRegionType, - _CloudServiceDeleteNamespaceRegionType, - _CloudServiceGetRegionsType, - _CloudServiceGetRegionType, - _CloudServiceGetApiKeysType, - _CloudServiceGetApiKeyType, - _CloudServiceCreateApiKeyType, - _CloudServiceUpdateApiKeyType, - _CloudServiceDeleteApiKeyType, - _CloudServiceGetNexusEndpointsType, - _CloudServiceGetNexusEndpointType, - _CloudServiceCreateNexusEndpointType, - _CloudServiceUpdateNexusEndpointType, - _CloudServiceDeleteNexusEndpointType, - _CloudServiceGetUserGroupsType, - _CloudServiceGetUserGroupType, - _CloudServiceCreateUserGroupType, - _CloudServiceUpdateUserGroupType, - _CloudServiceDeleteUserGroupType, - _CloudServiceSetUserGroupNamespaceAccessType, - _CloudServiceAddUserGroupMemberType, - _CloudServiceRemoveUserGroupMemberType, - _CloudServiceGetUserGroupMembersType, - _CloudServiceCreateServiceAccountType, - _CloudServiceGetServiceAccountType, - _CloudServiceGetServiceAccountsType, - _CloudServiceUpdateServiceAccountType, - _CloudServiceSetServiceAccountNamespaceAccessType, - _CloudServiceDeleteServiceAccountType, - _CloudServiceGetUsageType, - _CloudServiceGetAccountType, - _CloudServiceUpdateAccountType, - _CloudServiceCreateNamespaceExportSinkType, - _CloudServiceGetNamespaceExportSinkType, - _CloudServiceGetNamespaceExportSinksType, - _CloudServiceUpdateNamespaceExportSinkType, - _CloudServiceDeleteNamespaceExportSinkType, - _CloudServiceValidateNamespaceExportSinkType, - _CloudServiceUpdateNamespaceTagsType, - _CloudServiceCreateConnectivityRuleType, - _CloudServiceGetConnectivityRuleType, - _CloudServiceGetConnectivityRulesType, - _CloudServiceDeleteConnectivityRuleType, - _CloudServiceGetAuditLogsType, - _CloudServiceValidateAccountAuditLogSinkType, - _CloudServiceCreateAccountAuditLogSinkType, - _CloudServiceGetAccountAuditLogSinkType, - _CloudServiceGetAccountAuditLogSinksType, - _CloudServiceUpdateAccountAuditLogSinkType, - _CloudServiceDeleteAccountAuditLogSinkType, - _CloudServiceGetNamespaceCapacityInfoType, - _CloudServiceCreateBillingReportType, - _CloudServiceGetBillingReportType, - _CloudServiceGetCustomRolesType, - _CloudServiceGetCustomRoleType, - _CloudServiceCreateCustomRoleType, - _CloudServiceUpdateCustomRoleType, - _CloudServiceDeleteCustomRoleType, - _CloudServiceGetUserNamespaceAssignmentsType, - _CloudServiceGetServiceAccountNamespaceAssignmentsType, - _CloudServiceGetUserGroupNamespaceAssignmentsType, - ] -): +class CloudServiceStub: """WARNING: This service is currently experimental and may change in incompatible ways. """ - @typing.overload - def __init__( - self: CloudServiceStub[ - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - ], - ], - channel: grpc.Channel, - ) -> None: ... - @typing.overload - def __init__( - self: CloudServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - ], - ], - channel: grpc.aio.Channel, - ) -> None: ... - - GetCurrentIdentity: _CloudServiceGetCurrentIdentityType - """Get information about the current authenticated user or service account principal""" - - GetUsers: _CloudServiceGetUsersType - """Gets all known users""" - - GetUser: _CloudServiceGetUserType - """Get a user""" - - CreateUser: _CloudServiceCreateUserType - """Create a user""" - - UpdateUser: _CloudServiceUpdateUserType - """Update a user""" - - DeleteUser: _CloudServiceDeleteUserType - """Delete a user""" - - SetUserNamespaceAccess: _CloudServiceSetUserNamespaceAccessType - """Set a user's access to a namespace""" - - GetAsyncOperation: _CloudServiceGetAsyncOperationType - """Get the latest information on an async operation""" - - CreateNamespace: _CloudServiceCreateNamespaceType - """Create a new namespace""" - - GetNamespaces: _CloudServiceGetNamespacesType - """Get all namespaces""" - - GetNamespace: _CloudServiceGetNamespaceType - """Get a namespace""" - - UpdateNamespace: _CloudServiceUpdateNamespaceType - """Update a namespace""" - - RenameCustomSearchAttribute: _CloudServiceRenameCustomSearchAttributeType - """Rename an existing customer search attribute""" - - DeleteNamespace: _CloudServiceDeleteNamespaceType - """Delete a namespace""" - - FailoverNamespaceRegion: _CloudServiceFailoverNamespaceRegionType - """Failover a multi-region namespace""" - - AddNamespaceRegion: _CloudServiceAddNamespaceRegionType - """Add a new region to a namespace - Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. - """ - - DeleteNamespaceRegion: _CloudServiceDeleteNamespaceRegionType - """Delete a region from a namespace - Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. - """ - - GetRegions: _CloudServiceGetRegionsType - """Get all regions""" - - GetRegion: _CloudServiceGetRegionType - """Get a region""" - - GetApiKeys: _CloudServiceGetApiKeysType - """Get all known API keys""" - - GetApiKey: _CloudServiceGetApiKeyType - """Get an API key""" - - CreateApiKey: _CloudServiceCreateApiKeyType - """Create an API key""" - - UpdateApiKey: _CloudServiceUpdateApiKeyType - """Update an API key""" - - DeleteApiKey: _CloudServiceDeleteApiKeyType - """Delete an API key""" - - GetNexusEndpoints: _CloudServiceGetNexusEndpointsType - """Gets nexus endpoints""" - - GetNexusEndpoint: _CloudServiceGetNexusEndpointType - """Get a nexus endpoint""" - - CreateNexusEndpoint: _CloudServiceCreateNexusEndpointType - """Create a nexus endpoint""" - - UpdateNexusEndpoint: _CloudServiceUpdateNexusEndpointType - """Update a nexus endpoint""" - - DeleteNexusEndpoint: _CloudServiceDeleteNexusEndpointType - """Delete a nexus endpoint""" - - GetUserGroups: _CloudServiceGetUserGroupsType - """Get all user groups""" - - GetUserGroup: _CloudServiceGetUserGroupType - """Get a user group""" - - CreateUserGroup: _CloudServiceCreateUserGroupType - """Create new a user group""" - - UpdateUserGroup: _CloudServiceUpdateUserGroupType - """Update a user group""" - - DeleteUserGroup: _CloudServiceDeleteUserGroupType - """Delete a user group""" - - SetUserGroupNamespaceAccess: _CloudServiceSetUserGroupNamespaceAccessType - """Set a user group's access to a namespace""" - - AddUserGroupMember: _CloudServiceAddUserGroupMemberType - """Add a member to the group, can only be used with Cloud group types.""" - - RemoveUserGroupMember: _CloudServiceRemoveUserGroupMemberType - """Remove a member from the group, can only be used with Cloud group types.""" - - GetUserGroupMembers: _CloudServiceGetUserGroupMembersType - - CreateServiceAccount: _CloudServiceCreateServiceAccountType - """Create a service account.""" - - GetServiceAccount: _CloudServiceGetServiceAccountType - """Get a service account.""" - - GetServiceAccounts: _CloudServiceGetServiceAccountsType - """Get service accounts.""" - - UpdateServiceAccount: _CloudServiceUpdateServiceAccountType - """Update a service account.""" - - SetServiceAccountNamespaceAccess: _CloudServiceSetServiceAccountNamespaceAccessType - """Set a service account's access to a namespace.""" - - DeleteServiceAccount: _CloudServiceDeleteServiceAccountType - """Delete a service account.""" - - GetUsage: _CloudServiceGetUsageType - """WARNING: Pre-Release Feature - Get usage data across namespaces - """ - - GetAccount: _CloudServiceGetAccountType - """Get account information.""" - - UpdateAccount: _CloudServiceUpdateAccountType - """Update account information.""" - - CreateNamespaceExportSink: _CloudServiceCreateNamespaceExportSinkType - """Create an export sink""" - - GetNamespaceExportSink: _CloudServiceGetNamespaceExportSinkType - """Get an export sink""" - - GetNamespaceExportSinks: _CloudServiceGetNamespaceExportSinksType - """Get export sinks""" - - UpdateNamespaceExportSink: _CloudServiceUpdateNamespaceExportSinkType - """Update an export sink""" - - DeleteNamespaceExportSink: _CloudServiceDeleteNamespaceExportSinkType - """Delete an export sink""" - - ValidateNamespaceExportSink: _CloudServiceValidateNamespaceExportSinkType - """Validates an export sink configuration by delivering an empty test file to the specified sink. - This operation verifies that the sink is correctly configured, accessible, and ready for data export. - """ - - UpdateNamespaceTags: _CloudServiceUpdateNamespaceTagsType - """Update the tags for a namespace""" - - CreateConnectivityRule: _CloudServiceCreateConnectivityRuleType - """Creates a connectivity rule""" - - GetConnectivityRule: _CloudServiceGetConnectivityRuleType - """Gets a connectivity rule by id""" - - GetConnectivityRules: _CloudServiceGetConnectivityRulesType - """Lists connectivity rules by account""" - - DeleteConnectivityRule: _CloudServiceDeleteConnectivityRuleType - """Deletes a connectivity rule by id""" - - GetAuditLogs: _CloudServiceGetAuditLogsType - """Get audit logs""" - - ValidateAccountAuditLogSink: _CloudServiceValidateAccountAuditLogSinkType - """Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. - The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. - """ - - CreateAccountAuditLogSink: _CloudServiceCreateAccountAuditLogSinkType - """Create an audit log sink""" - - GetAccountAuditLogSink: _CloudServiceGetAccountAuditLogSinkType - """Get an audit log sink""" - - GetAccountAuditLogSinks: _CloudServiceGetAccountAuditLogSinksType - """Get audit log sinks""" - - UpdateAccountAuditLogSink: _CloudServiceUpdateAccountAuditLogSinkType - """Update an audit log sink""" - - DeleteAccountAuditLogSink: _CloudServiceDeleteAccountAuditLogSinkType - """Delete an audit log sink""" - - GetNamespaceCapacityInfo: _CloudServiceGetNamespaceCapacityInfoType - """Get namespace capacity information""" - - CreateBillingReport: _CloudServiceCreateBillingReportType - """Create a billing report""" - - GetBillingReport: _CloudServiceGetBillingReportType - """Get a billing report""" - - GetCustomRoles: _CloudServiceGetCustomRolesType - """Get custom roles""" - - GetCustomRole: _CloudServiceGetCustomRoleType - """Get a custom role""" - - CreateCustomRole: _CloudServiceCreateCustomRoleType - """Create a custom role""" - - UpdateCustomRole: _CloudServiceUpdateCustomRoleType - """Update a custom role""" - - DeleteCustomRole: _CloudServiceDeleteCustomRoleType - """Delete a custom role""" - - GetUserNamespaceAssignments: _CloudServiceGetUserNamespaceAssignmentsType - """Get users with access to a namespace""" - - GetServiceAccountNamespaceAssignments: ( - _CloudServiceGetServiceAccountNamespaceAssignmentsType - ) - """Get service accounts with access to a namespace""" - - GetUserGroupNamespaceAssignments: _CloudServiceGetUserGroupNamespaceAssignmentsType - """Get user groups with access to a namespace""" - -CloudServiceAsyncStub: typing_extensions.TypeAlias = CloudServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ + def __init__(self, channel: grpc.Channel) -> None: ... + GetCurrentIdentity: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get information about the current authenticated user or service account principal""" + GetUsers: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Gets all known users""" + GetUser: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a user""" + CreateUser: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create a user""" + UpdateUser: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update a user""" + DeleteUser: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete a user""" + SetUserNamespaceAccess: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Set a user's access to a namespace""" + GetAsyncOperation: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get the latest information on an async operation""" + CreateNamespace: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create a new namespace""" + GetNamespaces: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get all namespaces""" + GetNamespace: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a namespace""" + UpdateNamespace: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update a namespace""" + RenameCustomSearchAttribute: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Rename an existing customer search attribute""" + DeleteNamespace: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete a namespace""" + FailoverNamespaceRegion: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Failover a multi-region namespace""" + AddNamespaceRegion: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Add a new region to a namespace + Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. + """ + DeleteNamespaceRegion: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete a region from a namespace + Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. + """ + GetRegions: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get all regions""" + GetRegion: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a region""" + GetApiKeys: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get all known API keys""" + GetApiKey: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get an API key""" + CreateApiKey: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create an API key""" + UpdateApiKey: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update an API key""" + DeleteApiKey: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete an API key""" + GetNexusEndpoints: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Gets nexus endpoints""" + GetNexusEndpoint: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a nexus endpoint""" + CreateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create a nexus endpoint""" + UpdateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update a nexus endpoint""" + DeleteNexusEndpoint: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete a nexus endpoint""" + GetUserGroups: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get all user groups""" + GetUserGroup: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a user group""" + CreateUserGroup: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create new a user group""" + UpdateUserGroup: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update a user group""" + DeleteUserGroup: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete a user group""" + SetUserGroupNamespaceAccess: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Set a user group's access to a namespace""" + AddUserGroupMember: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Add a member to the group, can only be used with Cloud group types.""" + RemoveUserGroupMember: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Remove a member from the group, can only be used with Cloud group types.""" + GetUserGroupMembers: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + CreateServiceAccount: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create a service account.""" + GetServiceAccount: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a service account.""" + GetServiceAccounts: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get service accounts.""" + UpdateServiceAccount: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update a service account.""" + SetServiceAccountNamespaceAccess: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Set a service account's access to a namespace.""" + DeleteServiceAccount: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete a service account.""" + GetUsage: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """WARNING: Pre-Release Feature + Get usage data across namespaces + """ + GetAccount: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get account information.""" + UpdateAccount: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update account information.""" + CreateNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create an export sink""" + GetNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get an export sink""" + GetNamespaceExportSinks: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get export sinks""" + UpdateNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update an export sink""" + DeleteNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete an export sink""" + ValidateNamespaceExportSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Validates an export sink configuration by delivering an empty test file to the specified sink. + This operation verifies that the sink is correctly configured, accessible, and ready for data export. + """ + UpdateNamespaceTags: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update the tags for a namespace""" + CreateConnectivityRule: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Creates a connectivity rule""" + GetConnectivityRule: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Gets a connectivity rule by id""" + GetConnectivityRules: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Lists connectivity rules by account""" + DeleteConnectivityRule: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Deletes a connectivity rule by id""" + GetAuditLogs: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get audit logs""" + ValidateAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. + The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. + """ + CreateAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create an audit log sink""" + GetAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get an audit log sink""" + GetAccountAuditLogSinks: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get audit log sinks""" + UpdateAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update an audit log sink""" + DeleteAccountAuditLogSink: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete an audit log sink""" + GetNamespaceCapacityInfo: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get namespace capacity information""" + CreateBillingReport: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create a billing report""" + GetBillingReport: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a billing report""" + GetCustomRoles: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get custom roles""" + GetCustomRole: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get a custom role""" + CreateCustomRole: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create a custom role""" + UpdateCustomRole: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Update a custom role""" + DeleteCustomRole: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete a custom role""" + GetUserNamespaceAssignments: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get users with access to a namespace""" + GetServiceAccountNamespaceAssignments: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Get service accounts with access to a namespace""" + GetUserGroupNamespaceAssignments: grpc.UnaryUnaryMultiCallable[ temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - ], -] + ] + """Get user groups with access to a namespace""" class CloudServiceServicer(metaclass=abc.ABCMeta): """WARNING: This service is currently experimental and may change in @@ -2506,998 +414,554 @@ class CloudServiceServicer(metaclass=abc.ABCMeta): def GetCurrentIdentity( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCurrentIdentityResponse: """Get information about the current authenticated user or service account principal""" - @abc.abstractmethod def GetUsers( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsersResponse: """Gets all known users""" - @abc.abstractmethod def GetUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserResponse: """Get a user""" - @abc.abstractmethod def CreateUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserResponse: """Create a user""" - @abc.abstractmethod def UpdateUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserResponse: """Update a user""" - @abc.abstractmethod def DeleteUser( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserResponse: """Delete a user""" - @abc.abstractmethod def SetUserNamespaceAccess( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserNamespaceAccessResponse: """Set a user's access to a namespace""" - @abc.abstractmethod def GetAsyncOperation( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAsyncOperationResponse: """Get the latest information on an async operation""" - @abc.abstractmethod def CreateNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceResponse: """Create a new namespace""" - @abc.abstractmethod def GetNamespaces( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespacesResponse + ): """Get all namespaces""" - @abc.abstractmethod def GetNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceResponse: """Get a namespace""" - @abc.abstractmethod def UpdateNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceResponse: """Update a namespace""" - @abc.abstractmethod def RenameCustomSearchAttribute( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.RenameCustomSearchAttributeResponse: """Rename an existing customer search attribute""" - @abc.abstractmethod def DeleteNamespace( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceResponse: """Delete a namespace""" - @abc.abstractmethod def FailoverNamespaceRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.FailoverNamespaceRegionResponse: """Failover a multi-region namespace""" - @abc.abstractmethod def AddNamespaceRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddNamespaceRegionResponse: """Add a new region to a namespace Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. """ - @abc.abstractmethod def DeleteNamespaceRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceRegionResponse: """Delete a region from a namespace Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. """ - @abc.abstractmethod def GetRegions( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionsResponse: """Get all regions""" - @abc.abstractmethod def GetRegion( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetRegionResponse: """Get a region""" - @abc.abstractmethod def GetApiKeys( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeysResponse: """Get all known API keys""" - @abc.abstractmethod def GetApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetApiKeyResponse: """Get an API key""" - @abc.abstractmethod def CreateApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateApiKeyResponse: """Create an API key""" - @abc.abstractmethod def UpdateApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateApiKeyResponse: """Update an API key""" - @abc.abstractmethod def DeleteApiKey( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteApiKeyResponse: """Delete an API key""" - @abc.abstractmethod def GetNexusEndpoints( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointsResponse: """Gets nexus endpoints""" - @abc.abstractmethod def GetNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNexusEndpointResponse: """Get a nexus endpoint""" - @abc.abstractmethod def CreateNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNexusEndpointResponse: """Create a nexus endpoint""" - @abc.abstractmethod def UpdateNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNexusEndpointResponse: """Update a nexus endpoint""" - @abc.abstractmethod def DeleteNexusEndpoint( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNexusEndpointResponse: """Delete a nexus endpoint""" - @abc.abstractmethod def GetUserGroups( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupsResponse + ): """Get all user groups""" - @abc.abstractmethod def GetUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupResponse: """Get a user group""" - @abc.abstractmethod def CreateUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateUserGroupResponse: """Create new a user group""" - @abc.abstractmethod def UpdateUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateUserGroupResponse: """Update a user group""" - @abc.abstractmethod def DeleteUserGroup( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteUserGroupResponse: """Delete a user group""" - @abc.abstractmethod def SetUserGroupNamespaceAccess( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetUserGroupNamespaceAccessResponse: """Set a user group's access to a namespace""" - @abc.abstractmethod def AddUserGroupMember( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.AddUserGroupMemberResponse: """Add a member to the group, can only be used with Cloud group types.""" - @abc.abstractmethod def RemoveUserGroupMember( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.RemoveUserGroupMemberResponse: """Remove a member from the group, can only be used with Cloud group types.""" - @abc.abstractmethod def GetUserGroupMembers( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse - ], - ]: ... + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupMembersResponse: ... @abc.abstractmethod def CreateServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateServiceAccountResponse: """Create a service account.""" - @abc.abstractmethod def GetServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountResponse: """Get a service account.""" - @abc.abstractmethod def GetServiceAccounts( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountsResponse: """Get service accounts.""" - @abc.abstractmethod def UpdateServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateServiceAccountResponse: """Update a service account.""" - @abc.abstractmethod def SetServiceAccountNamespaceAccess( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.SetServiceAccountNamespaceAccessResponse: """Set a service account's access to a namespace.""" - @abc.abstractmethod def DeleteServiceAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteServiceAccountResponse: """Delete a service account.""" - @abc.abstractmethod def GetUsage( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUsageResponse: """WARNING: Pre-Release Feature Get usage data across namespaces """ - @abc.abstractmethod def GetAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountResponse: """Get account information.""" - @abc.abstractmethod def UpdateAccount( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountResponse + ): """Update account information.""" - @abc.abstractmethod def CreateNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateNamespaceExportSinkResponse: """Create an export sink""" - @abc.abstractmethod def GetNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinkResponse: """Get an export sink""" - @abc.abstractmethod def GetNamespaceExportSinks( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceExportSinksResponse: """Get export sinks""" - @abc.abstractmethod def UpdateNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceExportSinkResponse: """Update an export sink""" - @abc.abstractmethod def DeleteNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteNamespaceExportSinkResponse: """Delete an export sink""" - @abc.abstractmethod def ValidateNamespaceExportSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateNamespaceExportSinkResponse: """Validates an export sink configuration by delivering an empty test file to the specified sink. This operation verifies that the sink is correctly configured, accessible, and ready for data export. """ - @abc.abstractmethod def UpdateNamespaceTags( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateNamespaceTagsResponse: """Update the tags for a namespace""" - @abc.abstractmethod def CreateConnectivityRule( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateConnectivityRuleResponse: """Creates a connectivity rule""" - @abc.abstractmethod def GetConnectivityRule( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRuleResponse: """Gets a connectivity rule by id""" - @abc.abstractmethod def GetConnectivityRules( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetConnectivityRulesResponse: """Lists connectivity rules by account""" - @abc.abstractmethod def DeleteConnectivityRule( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteConnectivityRuleResponse: """Deletes a connectivity rule by id""" - @abc.abstractmethod def GetAuditLogs( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAuditLogsResponse: """Get audit logs""" - @abc.abstractmethod def ValidateAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.ValidateAccountAuditLogSinkResponse: """Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. """ - @abc.abstractmethod def CreateAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateAccountAuditLogSinkResponse: """Create an audit log sink""" - @abc.abstractmethod def GetAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinkResponse: """Get an audit log sink""" - @abc.abstractmethod def GetAccountAuditLogSinks( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetAccountAuditLogSinksResponse: """Get audit log sinks""" - @abc.abstractmethod def UpdateAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateAccountAuditLogSinkResponse: """Update an audit log sink""" - @abc.abstractmethod def DeleteAccountAuditLogSink( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteAccountAuditLogSinkResponse: """Delete an audit log sink""" - @abc.abstractmethod def GetNamespaceCapacityInfo( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetNamespaceCapacityInfoResponse: """Get namespace capacity information""" - @abc.abstractmethod def CreateBillingReport( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateBillingReportResponse: """Create a billing report""" - @abc.abstractmethod def GetBillingReport( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetBillingReportResponse: """Get a billing report""" - @abc.abstractmethod def GetCustomRoles( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRolesResponse + ): """Get custom roles""" - @abc.abstractmethod def GetCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetCustomRoleResponse + ): """Get a custom role""" - @abc.abstractmethod def CreateCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.CreateCustomRoleResponse: """Create a custom role""" - @abc.abstractmethod def UpdateCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.UpdateCustomRoleResponse: """Update a custom role""" - @abc.abstractmethod def DeleteCustomRole( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.DeleteCustomRoleResponse: """Delete a custom role""" - @abc.abstractmethod def GetUserNamespaceAssignments( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserNamespaceAssignmentsResponse: """Get users with access to a namespace""" - @abc.abstractmethod def GetServiceAccountNamespaceAssignments( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetServiceAccountNamespaceAssignmentsResponse: """Get service accounts with access to a namespace""" - @abc.abstractmethod def GetUserGroupNamespaceAssignments( self, request: temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse, - collections.abc.Awaitable[ - temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.cloud.cloudservice.v1.request_response_pb2.GetUserGroupNamespaceAssignmentsResponse: """Get user groups with access to a namespace""" def add_CloudServiceServicer_to_server( - servicer: CloudServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server] + servicer: CloudServiceServicer, server: grpc.Server ) -> None: ... diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py index 0de89e18f..2d39aec83 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.py +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/connectivityrule/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/connectivityrule/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,22 +24,64 @@ b'\n4temporal/api/cloud/connectivityrule/v1/message.proto\x12&temporal.api.cloud.connectivityrule.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x96\x02\n\x10\x43onnectivityRule\x12\n\n\x02id\x18\x01 \x01(\t\x12J\n\x04spec\x18\x02 \x01(\x0b\x32<.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec\x12\x18\n\x10resource_version\x18\x04 \x01(\t\x12<\n\x05state\x18\x05 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x06 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x03\x10\x04"\xd9\x01\n\x14\x43onnectivityRuleSpec\x12U\n\x0bpublic_rule\x18\x01 \x01(\x0b\x32>.temporal.api.cloud.connectivityrule.v1.PublicConnectivityRuleH\x00\x12W\n\x0cprivate_rule\x18\x02 \x01(\x0b\x32?.temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRuleH\x00\x42\x11\n\x0f\x63onnection_type"3\n\x16PublicConnectivityRule\x12\x19\n\x11\x65nable_stable_ips\x18\x01 \x01(\x08"^\n\x17PrivateConnectivityRule\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\tJ\x04\x08\x04\x10\x05\x42\xd4\x01\n)io.temporal.api.cloud.connectivityrule.v1B\x0cMessageProtoP\x01Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\xaa\x02(Temporalio.Api.Cloud.ConnectivityRule.V1\xea\x02,Temporalio::Api::Cloud::ConnectivityRule::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.connectivityrule.v1.message_pb2", _globals + +_CONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["ConnectivityRule"] +_CONNECTIVITYRULESPEC = DESCRIPTOR.message_types_by_name["ConnectivityRuleSpec"] +_PUBLICCONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PublicConnectivityRule"] +_PRIVATECONNECTIVITYRULE = DESCRIPTOR.message_types_by_name["PrivateConnectivityRule"] +ConnectivityRule = _reflection.GeneratedProtocolMessageType( + "ConnectivityRule", + (_message.Message,), + { + "DESCRIPTOR": _CONNECTIVITYRULE, + "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRule) + }, +) +_sym_db.RegisterMessage(ConnectivityRule) + +ConnectivityRuleSpec = _reflection.GeneratedProtocolMessageType( + "ConnectivityRuleSpec", + (_message.Message,), + { + "DESCRIPTOR": _CONNECTIVITYRULESPEC, + "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1" - _globals["_CONNECTIVITYRULE"]._serialized_start = 176 - _globals["_CONNECTIVITYRULE"]._serialized_end = 454 - _globals["_CONNECTIVITYRULESPEC"]._serialized_start = 457 - _globals["_CONNECTIVITYRULESPEC"]._serialized_end = 674 - _globals["_PUBLICCONNECTIVITYRULE"]._serialized_start = 676 - _globals["_PUBLICCONNECTIVITYRULE"]._serialized_end = 727 - _globals["_PRIVATECONNECTIVITYRULE"]._serialized_start = 729 - _globals["_PRIVATECONNECTIVITYRULE"]._serialized_end = 823 +_sym_db.RegisterMessage(ConnectivityRuleSpec) + +PublicConnectivityRule = _reflection.GeneratedProtocolMessageType( + "PublicConnectivityRule", + (_message.Message,), + { + "DESCRIPTOR": _PUBLICCONNECTIVITYRULE, + "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule) + }, +) +_sym_db.RegisterMessage(PublicConnectivityRule) + +PrivateConnectivityRule = _reflection.GeneratedProtocolMessageType( + "PrivateConnectivityRule", + (_message.Message,), + { + "DESCRIPTOR": _PRIVATECONNECTIVITYRULE, + "__module__": "temporalio.api.cloud.connectivityrule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule) + }, +) +_sym_db.RegisterMessage(PrivateConnectivityRule) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n)io.temporal.api.cloud.connectivityrule.v1B\014MessageProtoP\001Z=go.temporal.io/api/cloud/connectivityrule/v1;connectivityrule\252\002(Temporalio.Api.Cloud.ConnectivityRule.V1\352\002,Temporalio::Api::Cloud::ConnectivityRule::V1" + _CONNECTIVITYRULE._serialized_start = 176 + _CONNECTIVITYRULE._serialized_end = 454 + _CONNECTIVITYRULESPEC._serialized_start = 457 + _CONNECTIVITYRULESPEC._serialized_end = 674 + _PUBLICCONNECTIVITYRULE._serialized_start = 676 + _PUBLICCONNECTIVITYRULE._serialized_end = 727 + _PRIVATECONNECTIVITYRULE._serialized_start = 729 + _PRIVATECONNECTIVITYRULE._serialized_end = 823 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi index 8a3353a81..629704d6f 100644 --- a/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi +++ b/temporalio/api/cloud/connectivityrule/v1/message_pb2.pyi @@ -5,7 +5,6 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message @@ -13,14 +12,13 @@ import google.protobuf.timestamp_pb2 import temporalio.api.cloud.resource.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ConnectivityRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -32,6 +30,9 @@ class ConnectivityRule(google.protobuf.message.Message): CREATED_TIME_FIELD_NUMBER: builtins.int id: builtins.str """The id of the private connectivity rule.""" + @property + def spec(self) -> global___ConnectivityRuleSpec: + """The connectivity rule specification.""" resource_version: builtins.str """The current version of the connectivity rule specification. The next update operation will have to include this version. @@ -39,19 +40,14 @@ class ConnectivityRule(google.protobuf.message.Message): state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the connectivity rule, if any.""" - @property - def spec(self) -> Global___ConnectivityRuleSpec: - """The connectivity rule specification.""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the connectivity rule was created.""" - def __init__( self, *, id: builtins.str = ..., - spec: Global___ConnectivityRuleSpec | None = ..., + spec: global___ConnectivityRuleSpec | None = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -59,11 +55,13 @@ class ConnectivityRule(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["created_time", b"created_time", "spec", b"spec"], + field_name: typing_extensions.Literal[ + "created_time", b"created_time", "spec", b"spec" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -79,9 +77,8 @@ class ConnectivityRule(google.protobuf.message.Message): ], ) -> None: ... -Global___ConnectivityRule: typing_extensions.TypeAlias = ConnectivityRule +global___ConnectivityRule = ConnectivityRule -@typing.final class ConnectivityRuleSpec(google.protobuf.message.Message): """The connectivity rule specification passed in on create/update operations.""" @@ -90,22 +87,20 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): PUBLIC_RULE_FIELD_NUMBER: builtins.int PRIVATE_RULE_FIELD_NUMBER: builtins.int @property - def public_rule(self) -> Global___PublicConnectivityRule: + def public_rule(self) -> global___PublicConnectivityRule: """This allows access via public internet.""" - @property - def private_rule(self) -> Global___PrivateConnectivityRule: + def private_rule(self) -> global___PrivateConnectivityRule: """This allows access via specific private vpc.""" - def __init__( self, *, - public_rule: Global___PublicConnectivityRule | None = ..., - private_rule: Global___PrivateConnectivityRule | None = ..., + public_rule: global___PublicConnectivityRule | None = ..., + private_rule: global___PrivateConnectivityRule | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "connection_type", b"connection_type", "private_rule", @@ -116,7 +111,7 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "connection_type", b"connection_type", "private_rule", @@ -126,12 +121,12 @@ class ConnectivityRuleSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["connection_type", b"connection_type"] - ) -> typing.Literal["public_rule", "private_rule"] | None: ... + self, + oneof_group: typing_extensions.Literal["connection_type", b"connection_type"], + ) -> typing_extensions.Literal["public_rule", "private_rule"] | None: ... -Global___ConnectivityRuleSpec: typing_extensions.TypeAlias = ConnectivityRuleSpec +global___ConnectivityRuleSpec = ConnectivityRuleSpec -@typing.final class PublicConnectivityRule(google.protobuf.message.Message): """A public connectivity rule allows access to the namespace via the public internet.""" @@ -148,12 +143,14 @@ class PublicConnectivityRule(google.protobuf.message.Message): enable_stable_ips: builtins.bool = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["enable_stable_ips", b"enable_stable_ips"] + self, + field_name: typing_extensions.Literal[ + "enable_stable_ips", b"enable_stable_ips" + ], ) -> None: ... -Global___PublicConnectivityRule: typing_extensions.TypeAlias = PublicConnectivityRule +global___PublicConnectivityRule = PublicConnectivityRule -@typing.final class PrivateConnectivityRule(google.protobuf.message.Message): """A private connectivity rule allows connections from a specific private vpc only.""" @@ -181,7 +178,7 @@ class PrivateConnectivityRule(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "connection_id", b"connection_id", "gcp_project_id", @@ -191,4 +188,4 @@ class PrivateConnectivityRule(google.protobuf.message.Message): ], ) -> None: ... -Global___PrivateConnectivityRule: typing_extensions.TypeAlias = PrivateConnectivityRule +global___PrivateConnectivityRule = PrivateConnectivityRule diff --git a/temporalio/api/cloud/identity/v1/message_pb2.py b/temporalio/api/cloud/identity/v1/message_pb2.py index e5d7807c3..439a22202 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.py +++ b/temporalio/api/cloud/identity/v1/message_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/identity/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/identity/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,112 +25,409 @@ b'\n,temporal/api/cloud/identity/v1/message.proto\x12\x1etemporal.api.cloud.identity.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x95\x02\n\rAccountAccess\x12\x1b\n\x0frole_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12@\n\x04role\x18\x02 \x01(\x0e\x32\x32.temporal.api.cloud.identity.v1.AccountAccess.Role\x12\x14\n\x0c\x63ustom_roles\x18\x03 \x03(\t"\x8e\x01\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0e\n\nROLE_OWNER\x10\x01\x12\x0e\n\nROLE_ADMIN\x10\x02\x12\x12\n\x0eROLE_DEVELOPER\x10\x03\x12\x16\n\x12ROLE_FINANCE_ADMIN\x10\x04\x12\r\n\tROLE_READ\x10\x05\x12\x15\n\x11ROLE_METRICS_READ\x10\x06"\xef\x01\n\x0fNamespaceAccess\x12!\n\x15permission_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12N\n\npermission\x18\x02 \x01(\x0e\x32:.temporal.api.cloud.identity.v1.NamespaceAccess.Permission"i\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x14\n\x10PERMISSION_ADMIN\x10\x01\x12\x14\n\x10PERMISSION_WRITE\x10\x02\x12\x13\n\x0fPERMISSION_READ\x10\x03"\xba\x02\n\x06\x41\x63\x63\x65ss\x12\x45\n\x0e\x61\x63\x63ount_access\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.AccountAccess\x12Y\n\x12namespace_accesses\x18\x02 \x03(\x0b\x32=.temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry\x12#\n\x17\x63ustom_roles_deprecated\x18\x04 \x03(\tB\x02\x18\x01\x1ai\n\x16NamespaceAccessesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess:\x02\x38\x01"k\n\x15NamespaceScopedAccess\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12?\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess"Q\n\x08UserSpec\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access"p\n\nInvitation\x12\x30\n\x0c\x63reated_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x65xpired_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x86\x03\n\x04User\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x36\n\x04spec\x18\x03 \x01(\x0b\x32(.temporal.api.cloud.identity.v1.UserSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\t \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12>\n\ninvitation\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.Invitation\x12\x30\n\x0c\x63reated_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"(\n\x0fGoogleGroupSpec\x12\x15\n\remail_address\x18\x01 \x01(\t"\x1f\n\rSCIMGroupSpec\x12\x0e\n\x06idp_id\x18\x01 \x01(\t"\x10\n\x0e\x43loudGroupSpec"\xc0\x02\n\rUserGroupSpec\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12G\n\x0cgoogle_group\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.GoogleGroupSpecH\x00\x12\x43\n\nscim_group\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.SCIMGroupSpecH\x00\x12\x45\n\x0b\x63loud_group\x18\x05 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CloudGroupSpecH\x00\x42\x0c\n\ngroup_type"\xd0\x02\n\tUserGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12;\n\x04spec\x18\x03 \x01(\x0b\x32-.temporal.api.cloud.identity.v1.UserGroupSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"5\n\x11UserGroupMemberId\x12\x11\n\x07user_id\x18\x01 \x01(\tH\x00\x42\r\n\x0bmember_type"\x89\x01\n\x0fUserGroupMember\x12\x44\n\tmember_id\x18\x01 \x01(\x0b\x32\x31.temporal.api.cloud.identity.v1.UserGroupMemberId\x12\x30\n\x0c\x63reated_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xda\x02\n\x0eServiceAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12@\n\x04spec\x18\x03 \x01(\x0b\x32\x32.temporal.api.cloud.identity.v1.ServiceAccountSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xc7\x01\n\x12ServiceAccountSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x02 \x01(\x0b\x32&.temporal.api.cloud.identity.v1.Access\x12V\n\x17namespace_scoped_access\x18\x04 \x01(\x0b\x32\x35.temporal.api.cloud.identity.v1.NamespaceScopedAccess\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t"\xca\x02\n\x06\x41piKey\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x38\n\x04spec\x18\x03 \x01(\x0b\x32*.temporal.api.cloud.identity.v1.ApiKeySpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xee\x01\n\nApiKeySpec\x12\x10\n\x08owner_id\x18\x01 \x01(\t\x12!\n\x15owner_type_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12=\n\nowner_type\x18\x07 \x01(\x0e\x32).temporal.api.cloud.identity.v1.OwnerType\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12/\n\x0b\x65xpiry_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08"\xbc\x02\n\x0e\x43ustomRoleSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12N\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x39.temporal.api.cloud.identity.v1.CustomRoleSpec.Permission\x1aK\n\tResources\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x14\n\x0cresource_ids\x18\x02 \x03(\t\x12\x11\n\tallow_all\x18\x03 \x01(\x08\x1aj\n\nPermission\x12K\n\tresources\x18\x01 \x01(\x0b\x32\x38.temporal.api.cloud.identity.v1.CustomRoleSpec.Resources\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t"\xb4\x02\n\nCustomRole\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.identity.v1.CustomRoleSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb3\x01\n\x17UserNamespaceAssignment\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12I\n\x10namespace_access\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10inherited_access\x18\x04 \x01(\x08\x12\x18\n\x10resource_version\x18\x05 \x01(\t"\xbc\x01\n!ServiceAccountNamespaceAssignment\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12I\n\x10namespace_access\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10inherited_access\x18\x04 \x01(\x08\x12\x18\n\x10resource_version\x18\x05 \x01(\t"\xbf\x01\n\x1cUserGroupNamespaceAssignment\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12I\n\x10namespace_access\x18\x03 \x01(\x0b\x32/.temporal.api.cloud.identity.v1.NamespaceAccess\x12\x18\n\x10inherited_access\x18\x04 \x01(\x08\x12\x18\n\x10resource_version\x18\x05 \x01(\t*\\\n\tOwnerType\x12\x1a\n\x16OWNER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fOWNER_TYPE_USER\x10\x01\x12\x1e\n\x1aOWNER_TYPE_SERVICE_ACCOUNT\x10\x02\x42\xac\x01\n!io.temporal.api.cloud.identity.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/identity/v1;identity\xaa\x02 Temporalio.Api.Cloud.Identity.V1\xea\x02$Temporalio::Api::Cloud::Identity::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.identity.v1.message_pb2", _globals +_OWNERTYPE = DESCRIPTOR.enum_types_by_name["OwnerType"] +OwnerType = enum_type_wrapper.EnumTypeWrapper(_OWNERTYPE) +OWNER_TYPE_UNSPECIFIED = 0 +OWNER_TYPE_USER = 1 +OWNER_TYPE_SERVICE_ACCOUNT = 2 + + +_ACCOUNTACCESS = DESCRIPTOR.message_types_by_name["AccountAccess"] +_NAMESPACEACCESS = DESCRIPTOR.message_types_by_name["NamespaceAccess"] +_ACCESS = DESCRIPTOR.message_types_by_name["Access"] +_ACCESS_NAMESPACEACCESSESENTRY = _ACCESS.nested_types_by_name["NamespaceAccessesEntry"] +_NAMESPACESCOPEDACCESS = DESCRIPTOR.message_types_by_name["NamespaceScopedAccess"] +_USERSPEC = DESCRIPTOR.message_types_by_name["UserSpec"] +_INVITATION = DESCRIPTOR.message_types_by_name["Invitation"] +_USER = DESCRIPTOR.message_types_by_name["User"] +_GOOGLEGROUPSPEC = DESCRIPTOR.message_types_by_name["GoogleGroupSpec"] +_SCIMGROUPSPEC = DESCRIPTOR.message_types_by_name["SCIMGroupSpec"] +_CLOUDGROUPSPEC = DESCRIPTOR.message_types_by_name["CloudGroupSpec"] +_USERGROUPSPEC = DESCRIPTOR.message_types_by_name["UserGroupSpec"] +_USERGROUP = DESCRIPTOR.message_types_by_name["UserGroup"] +_USERGROUPMEMBERID = DESCRIPTOR.message_types_by_name["UserGroupMemberId"] +_USERGROUPMEMBER = DESCRIPTOR.message_types_by_name["UserGroupMember"] +_SERVICEACCOUNT = DESCRIPTOR.message_types_by_name["ServiceAccount"] +_SERVICEACCOUNTSPEC = DESCRIPTOR.message_types_by_name["ServiceAccountSpec"] +_APIKEY = DESCRIPTOR.message_types_by_name["ApiKey"] +_APIKEYSPEC = DESCRIPTOR.message_types_by_name["ApiKeySpec"] +_CUSTOMROLESPEC = DESCRIPTOR.message_types_by_name["CustomRoleSpec"] +_CUSTOMROLESPEC_RESOURCES = _CUSTOMROLESPEC.nested_types_by_name["Resources"] +_CUSTOMROLESPEC_PERMISSION = _CUSTOMROLESPEC.nested_types_by_name["Permission"] +_CUSTOMROLE = DESCRIPTOR.message_types_by_name["CustomRole"] +_USERNAMESPACEASSIGNMENT = DESCRIPTOR.message_types_by_name["UserNamespaceAssignment"] +_SERVICEACCOUNTNAMESPACEASSIGNMENT = DESCRIPTOR.message_types_by_name[ + "ServiceAccountNamespaceAssignment" +] +_USERGROUPNAMESPACEASSIGNMENT = DESCRIPTOR.message_types_by_name[ + "UserGroupNamespaceAssignment" +] +_ACCOUNTACCESS_ROLE = _ACCOUNTACCESS.enum_types_by_name["Role"] +_NAMESPACEACCESS_PERMISSION = _NAMESPACEACCESS.enum_types_by_name["Permission"] +AccountAccess = _reflection.GeneratedProtocolMessageType( + "AccountAccess", + (_message.Message,), + { + "DESCRIPTOR": _ACCOUNTACCESS, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.AccountAccess) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1" - _globals["_ACCOUNTACCESS"].fields_by_name["role_deprecated"]._loaded_options = None - _globals["_ACCOUNTACCESS"].fields_by_name[ - "role_deprecated" - ]._serialized_options = b"\030\001" - _globals["_NAMESPACEACCESS"].fields_by_name[ - "permission_deprecated" - ]._loaded_options = None - _globals["_NAMESPACEACCESS"].fields_by_name[ +_sym_db.RegisterMessage(AccountAccess) + +NamespaceAccess = _reflection.GeneratedProtocolMessageType( + "NamespaceAccess", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEACCESS, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceAccess) + }, +) +_sym_db.RegisterMessage(NamespaceAccess) + +Access = _reflection.GeneratedProtocolMessageType( + "Access", + (_message.Message,), + { + "NamespaceAccessesEntry": _reflection.GeneratedProtocolMessageType( + "NamespaceAccessesEntry", + (_message.Message,), + { + "DESCRIPTOR": _ACCESS_NAMESPACEACCESSESENTRY, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry) + }, + ), + "DESCRIPTOR": _ACCESS, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Access) + }, +) +_sym_db.RegisterMessage(Access) +_sym_db.RegisterMessage(Access.NamespaceAccessesEntry) + +NamespaceScopedAccess = _reflection.GeneratedProtocolMessageType( + "NamespaceScopedAccess", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACESCOPEDACCESS, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.NamespaceScopedAccess) + }, +) +_sym_db.RegisterMessage(NamespaceScopedAccess) + +UserSpec = _reflection.GeneratedProtocolMessageType( + "UserSpec", + (_message.Message,), + { + "DESCRIPTOR": _USERSPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserSpec) + }, +) +_sym_db.RegisterMessage(UserSpec) + +Invitation = _reflection.GeneratedProtocolMessageType( + "Invitation", + (_message.Message,), + { + "DESCRIPTOR": _INVITATION, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.Invitation) + }, +) +_sym_db.RegisterMessage(Invitation) + +User = _reflection.GeneratedProtocolMessageType( + "User", + (_message.Message,), + { + "DESCRIPTOR": _USER, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.User) + }, +) +_sym_db.RegisterMessage(User) + +GoogleGroupSpec = _reflection.GeneratedProtocolMessageType( + "GoogleGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _GOOGLEGROUPSPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.GoogleGroupSpec) + }, +) +_sym_db.RegisterMessage(GoogleGroupSpec) + +SCIMGroupSpec = _reflection.GeneratedProtocolMessageType( + "SCIMGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _SCIMGROUPSPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.SCIMGroupSpec) + }, +) +_sym_db.RegisterMessage(SCIMGroupSpec) + +CloudGroupSpec = _reflection.GeneratedProtocolMessageType( + "CloudGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _CLOUDGROUPSPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CloudGroupSpec) + }, +) +_sym_db.RegisterMessage(CloudGroupSpec) + +UserGroupSpec = _reflection.GeneratedProtocolMessageType( + "UserGroupSpec", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUPSPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupSpec) + }, +) +_sym_db.RegisterMessage(UserGroupSpec) + +UserGroup = _reflection.GeneratedProtocolMessageType( + "UserGroup", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUP, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroup) + }, +) +_sym_db.RegisterMessage(UserGroup) + +UserGroupMemberId = _reflection.GeneratedProtocolMessageType( + "UserGroupMemberId", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUPMEMBERID, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMemberId) + }, +) +_sym_db.RegisterMessage(UserGroupMemberId) + +UserGroupMember = _reflection.GeneratedProtocolMessageType( + "UserGroupMember", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUPMEMBER, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupMember) + }, +) +_sym_db.RegisterMessage(UserGroupMember) + +ServiceAccount = _reflection.GeneratedProtocolMessageType( + "ServiceAccount", + (_message.Message,), + { + "DESCRIPTOR": _SERVICEACCOUNT, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccount) + }, +) +_sym_db.RegisterMessage(ServiceAccount) + +ServiceAccountSpec = _reflection.GeneratedProtocolMessageType( + "ServiceAccountSpec", + (_message.Message,), + { + "DESCRIPTOR": _SERVICEACCOUNTSPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountSpec) + }, +) +_sym_db.RegisterMessage(ServiceAccountSpec) + +ApiKey = _reflection.GeneratedProtocolMessageType( + "ApiKey", + (_message.Message,), + { + "DESCRIPTOR": _APIKEY, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKey) + }, +) +_sym_db.RegisterMessage(ApiKey) + +ApiKeySpec = _reflection.GeneratedProtocolMessageType( + "ApiKeySpec", + (_message.Message,), + { + "DESCRIPTOR": _APIKEYSPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ApiKeySpec) + }, +) +_sym_db.RegisterMessage(ApiKeySpec) + +CustomRoleSpec = _reflection.GeneratedProtocolMessageType( + "CustomRoleSpec", + (_message.Message,), + { + "Resources": _reflection.GeneratedProtocolMessageType( + "Resources", + (_message.Message,), + { + "DESCRIPTOR": _CUSTOMROLESPEC_RESOURCES, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRoleSpec.Resources) + }, + ), + "Permission": _reflection.GeneratedProtocolMessageType( + "Permission", + (_message.Message,), + { + "DESCRIPTOR": _CUSTOMROLESPEC_PERMISSION, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRoleSpec.Permission) + }, + ), + "DESCRIPTOR": _CUSTOMROLESPEC, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRoleSpec) + }, +) +_sym_db.RegisterMessage(CustomRoleSpec) +_sym_db.RegisterMessage(CustomRoleSpec.Resources) +_sym_db.RegisterMessage(CustomRoleSpec.Permission) + +CustomRole = _reflection.GeneratedProtocolMessageType( + "CustomRole", + (_message.Message,), + { + "DESCRIPTOR": _CUSTOMROLE, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.CustomRole) + }, +) +_sym_db.RegisterMessage(CustomRole) + +UserNamespaceAssignment = _reflection.GeneratedProtocolMessageType( + "UserNamespaceAssignment", + (_message.Message,), + { + "DESCRIPTOR": _USERNAMESPACEASSIGNMENT, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserNamespaceAssignment) + }, +) +_sym_db.RegisterMessage(UserNamespaceAssignment) + +ServiceAccountNamespaceAssignment = _reflection.GeneratedProtocolMessageType( + "ServiceAccountNamespaceAssignment", + (_message.Message,), + { + "DESCRIPTOR": _SERVICEACCOUNTNAMESPACEASSIGNMENT, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.ServiceAccountNamespaceAssignment) + }, +) +_sym_db.RegisterMessage(ServiceAccountNamespaceAssignment) + +UserGroupNamespaceAssignment = _reflection.GeneratedProtocolMessageType( + "UserGroupNamespaceAssignment", + (_message.Message,), + { + "DESCRIPTOR": _USERGROUPNAMESPACEASSIGNMENT, + "__module__": "temporalio.api.cloud.identity.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.identity.v1.UserGroupNamespaceAssignment) + }, +) +_sym_db.RegisterMessage(UserGroupNamespaceAssignment) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.identity.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/identity/v1;identity\252\002 Temporalio.Api.Cloud.Identity.V1\352\002$Temporalio::Api::Cloud::Identity::V1" + _ACCOUNTACCESS.fields_by_name["role_deprecated"]._options = None + _ACCOUNTACCESS.fields_by_name["role_deprecated"]._serialized_options = b"\030\001" + _NAMESPACEACCESS.fields_by_name["permission_deprecated"]._options = None + _NAMESPACEACCESS.fields_by_name[ "permission_deprecated" ]._serialized_options = b"\030\001" - _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._loaded_options = None - _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._serialized_options = b"8\001" - _globals["_ACCESS"].fields_by_name["custom_roles_deprecated"]._loaded_options = None - _globals["_ACCESS"].fields_by_name[ - "custom_roles_deprecated" - ]._serialized_options = b"\030\001" - _globals["_USER"].fields_by_name["state_deprecated"]._loaded_options = None - _globals["_USER"].fields_by_name[ - "state_deprecated" - ]._serialized_options = b"\030\001" - _globals["_USERGROUP"].fields_by_name["state_deprecated"]._loaded_options = None - _globals["_USERGROUP"].fields_by_name[ - "state_deprecated" - ]._serialized_options = b"\030\001" - _globals["_SERVICEACCOUNT"].fields_by_name[ - "state_deprecated" - ]._loaded_options = None - _globals["_SERVICEACCOUNT"].fields_by_name[ - "state_deprecated" - ]._serialized_options = b"\030\001" - _globals["_APIKEY"].fields_by_name["state_deprecated"]._loaded_options = None - _globals["_APIKEY"].fields_by_name[ - "state_deprecated" - ]._serialized_options = b"\030\001" - _globals["_APIKEYSPEC"].fields_by_name[ - "owner_type_deprecated" - ]._loaded_options = None - _globals["_APIKEYSPEC"].fields_by_name[ + _ACCESS_NAMESPACEACCESSESENTRY._options = None + _ACCESS_NAMESPACEACCESSESENTRY._serialized_options = b"8\001" + _ACCESS.fields_by_name["custom_roles_deprecated"]._options = None + _ACCESS.fields_by_name["custom_roles_deprecated"]._serialized_options = b"\030\001" + _USER.fields_by_name["state_deprecated"]._options = None + _USER.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _USERGROUP.fields_by_name["state_deprecated"]._options = None + _USERGROUP.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _SERVICEACCOUNT.fields_by_name["state_deprecated"]._options = None + _SERVICEACCOUNT.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _APIKEY.fields_by_name["state_deprecated"]._options = None + _APIKEY.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _APIKEYSPEC.fields_by_name["owner_type_deprecated"]._options = None + _APIKEYSPEC.fields_by_name[ "owner_type_deprecated" ]._serialized_options = b"\030\001" - _globals["_OWNERTYPE"]._serialized_start = 4969 - _globals["_OWNERTYPE"]._serialized_end = 5061 - _globals["_ACCOUNTACCESS"]._serialized_start = 160 - _globals["_ACCOUNTACCESS"]._serialized_end = 437 - _globals["_ACCOUNTACCESS_ROLE"]._serialized_start = 295 - _globals["_ACCOUNTACCESS_ROLE"]._serialized_end = 437 - _globals["_NAMESPACEACCESS"]._serialized_start = 440 - _globals["_NAMESPACEACCESS"]._serialized_end = 679 - _globals["_NAMESPACEACCESS_PERMISSION"]._serialized_start = 574 - _globals["_NAMESPACEACCESS_PERMISSION"]._serialized_end = 679 - _globals["_ACCESS"]._serialized_start = 682 - _globals["_ACCESS"]._serialized_end = 996 - _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._serialized_start = 891 - _globals["_ACCESS_NAMESPACEACCESSESENTRY"]._serialized_end = 996 - _globals["_NAMESPACESCOPEDACCESS"]._serialized_start = 998 - _globals["_NAMESPACESCOPEDACCESS"]._serialized_end = 1105 - _globals["_USERSPEC"]._serialized_start = 1107 - _globals["_USERSPEC"]._serialized_end = 1188 - _globals["_INVITATION"]._serialized_start = 1190 - _globals["_INVITATION"]._serialized_end = 1302 - _globals["_USER"]._serialized_start = 1305 - _globals["_USER"]._serialized_end = 1695 - _globals["_GOOGLEGROUPSPEC"]._serialized_start = 1697 - _globals["_GOOGLEGROUPSPEC"]._serialized_end = 1737 - _globals["_SCIMGROUPSPEC"]._serialized_start = 1739 - _globals["_SCIMGROUPSPEC"]._serialized_end = 1770 - _globals["_CLOUDGROUPSPEC"]._serialized_start = 1772 - _globals["_CLOUDGROUPSPEC"]._serialized_end = 1788 - _globals["_USERGROUPSPEC"]._serialized_start = 1791 - _globals["_USERGROUPSPEC"]._serialized_end = 2111 - _globals["_USERGROUP"]._serialized_start = 2114 - _globals["_USERGROUP"]._serialized_end = 2450 - _globals["_USERGROUPMEMBERID"]._serialized_start = 2452 - _globals["_USERGROUPMEMBERID"]._serialized_end = 2505 - _globals["_USERGROUPMEMBER"]._serialized_start = 2508 - _globals["_USERGROUPMEMBER"]._serialized_end = 2645 - _globals["_SERVICEACCOUNT"]._serialized_start = 2648 - _globals["_SERVICEACCOUNT"]._serialized_end = 2994 - _globals["_SERVICEACCOUNTSPEC"]._serialized_start = 2997 - _globals["_SERVICEACCOUNTSPEC"]._serialized_end = 3196 - _globals["_APIKEY"]._serialized_start = 3199 - _globals["_APIKEY"]._serialized_end = 3529 - _globals["_APIKEYSPEC"]._serialized_start = 3532 - _globals["_APIKEYSPEC"]._serialized_end = 3770 - _globals["_CUSTOMROLESPEC"]._serialized_start = 3773 - _globals["_CUSTOMROLESPEC"]._serialized_end = 4089 - _globals["_CUSTOMROLESPEC_RESOURCES"]._serialized_start = 3906 - _globals["_CUSTOMROLESPEC_RESOURCES"]._serialized_end = 3981 - _globals["_CUSTOMROLESPEC_PERMISSION"]._serialized_start = 3983 - _globals["_CUSTOMROLESPEC_PERMISSION"]._serialized_end = 4089 - _globals["_CUSTOMROLE"]._serialized_start = 4092 - _globals["_CUSTOMROLE"]._serialized_end = 4400 - _globals["_USERNAMESPACEASSIGNMENT"]._serialized_start = 4403 - _globals["_USERNAMESPACEASSIGNMENT"]._serialized_end = 4582 - _globals["_SERVICEACCOUNTNAMESPACEASSIGNMENT"]._serialized_start = 4585 - _globals["_SERVICEACCOUNTNAMESPACEASSIGNMENT"]._serialized_end = 4773 - _globals["_USERGROUPNAMESPACEASSIGNMENT"]._serialized_start = 4776 - _globals["_USERGROUPNAMESPACEASSIGNMENT"]._serialized_end = 4967 + _OWNERTYPE._serialized_start = 4969 + _OWNERTYPE._serialized_end = 5061 + _ACCOUNTACCESS._serialized_start = 160 + _ACCOUNTACCESS._serialized_end = 437 + _ACCOUNTACCESS_ROLE._serialized_start = 295 + _ACCOUNTACCESS_ROLE._serialized_end = 437 + _NAMESPACEACCESS._serialized_start = 440 + _NAMESPACEACCESS._serialized_end = 679 + _NAMESPACEACCESS_PERMISSION._serialized_start = 574 + _NAMESPACEACCESS_PERMISSION._serialized_end = 679 + _ACCESS._serialized_start = 682 + _ACCESS._serialized_end = 996 + _ACCESS_NAMESPACEACCESSESENTRY._serialized_start = 891 + _ACCESS_NAMESPACEACCESSESENTRY._serialized_end = 996 + _NAMESPACESCOPEDACCESS._serialized_start = 998 + _NAMESPACESCOPEDACCESS._serialized_end = 1105 + _USERSPEC._serialized_start = 1107 + _USERSPEC._serialized_end = 1188 + _INVITATION._serialized_start = 1190 + _INVITATION._serialized_end = 1302 + _USER._serialized_start = 1305 + _USER._serialized_end = 1695 + _GOOGLEGROUPSPEC._serialized_start = 1697 + _GOOGLEGROUPSPEC._serialized_end = 1737 + _SCIMGROUPSPEC._serialized_start = 1739 + _SCIMGROUPSPEC._serialized_end = 1770 + _CLOUDGROUPSPEC._serialized_start = 1772 + _CLOUDGROUPSPEC._serialized_end = 1788 + _USERGROUPSPEC._serialized_start = 1791 + _USERGROUPSPEC._serialized_end = 2111 + _USERGROUP._serialized_start = 2114 + _USERGROUP._serialized_end = 2450 + _USERGROUPMEMBERID._serialized_start = 2452 + _USERGROUPMEMBERID._serialized_end = 2505 + _USERGROUPMEMBER._serialized_start = 2508 + _USERGROUPMEMBER._serialized_end = 2645 + _SERVICEACCOUNT._serialized_start = 2648 + _SERVICEACCOUNT._serialized_end = 2994 + _SERVICEACCOUNTSPEC._serialized_start = 2997 + _SERVICEACCOUNTSPEC._serialized_end = 3196 + _APIKEY._serialized_start = 3199 + _APIKEY._serialized_end = 3529 + _APIKEYSPEC._serialized_start = 3532 + _APIKEYSPEC._serialized_end = 3770 + _CUSTOMROLESPEC._serialized_start = 3773 + _CUSTOMROLESPEC._serialized_end = 4089 + _CUSTOMROLESPEC_RESOURCES._serialized_start = 3906 + _CUSTOMROLESPEC_RESOURCES._serialized_end = 3981 + _CUSTOMROLESPEC_PERMISSION._serialized_start = 3983 + _CUSTOMROLESPEC_PERMISSION._serialized_end = 4089 + _CUSTOMROLE._serialized_start = 4092 + _CUSTOMROLE._serialized_end = 4400 + _USERNAMESPACEASSIGNMENT._serialized_start = 4403 + _USERNAMESPACEASSIGNMENT._serialized_end = 4582 + _SERVICEACCOUNTNAMESPACEASSIGNMENT._serialized_start = 4585 + _SERVICEACCOUNTNAMESPACEASSIGNMENT._serialized_end = 4773 + _USERGROUPNAMESPACEASSIGNMENT._serialized_start = 4776 + _USERGROUPNAMESPACEASSIGNMENT._serialized_end = 4967 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/identity/v1/message_pb2.pyi b/temporalio/api/cloud/identity/v1/message_pb2.pyi index a4fdcda17..5471475f6 100644 --- a/temporalio/api/cloud/identity/v1/message_pb2.pyi +++ b/temporalio/api/cloud/identity/v1/message_pb2.pyi @@ -30,7 +30,7 @@ class _OwnerType: class _OwnerTypeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OwnerType.ValueType], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor OWNER_TYPE_UNSPECIFIED: _OwnerType.ValueType # 0 OWNER_TYPE_USER: _OwnerType.ValueType # 1 @@ -45,9 +45,8 @@ OWNER_TYPE_USER: OwnerType.ValueType # 1 """The owner is a user.""" OWNER_TYPE_SERVICE_ACCOUNT: OwnerType.ValueType # 2 """The owner is a service account.""" -Global___OwnerType: typing_extensions.TypeAlias = OwnerType +global___OwnerType = OwnerType -@typing.final class AccountAccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -60,7 +59,7 @@ class AccountAccess(google.protobuf.message.Message): AccountAccess._Role.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ROLE_UNSPECIFIED: AccountAccess._Role.ValueType # 0 ROLE_OWNER: AccountAccess._Role.ValueType # 1 @@ -105,7 +104,7 @@ class AccountAccess(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use role instead. temporal:versioning:max_version=v0.3.0 """ - role: Global___AccountAccess.Role.ValueType + role: global___AccountAccess.Role.ValueType """The role on the account. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=role_deprecated @@ -117,17 +116,16 @@ class AccountAccess(google.protobuf.message.Message): """List of custom role IDs assigned to the user or service account. temporal:versioning:min_version=v0.13.0 """ - def __init__( self, *, role_deprecated: builtins.str = ..., - role: Global___AccountAccess.Role.ValueType = ..., + role: global___AccountAccess.Role.ValueType = ..., custom_roles: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "custom_roles", b"custom_roles", "role", @@ -137,9 +135,8 @@ class AccountAccess(google.protobuf.message.Message): ], ) -> None: ... -Global___AccountAccess: typing_extensions.TypeAlias = AccountAccess +global___AccountAccess = AccountAccess -@typing.final class NamespaceAccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -152,7 +149,7 @@ class NamespaceAccess(google.protobuf.message.Message): NamespaceAccess._Permission.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PERMISSION_UNSPECIFIED: NamespaceAccess._Permission.ValueType # 0 PERMISSION_ADMIN: NamespaceAccess._Permission.ValueType # 1 @@ -181,7 +178,7 @@ class NamespaceAccess(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use permission instead. temporal:versioning:max_version=v0.3.0 """ - permission: Global___NamespaceAccess.Permission.ValueType + permission: global___NamespaceAccess.Permission.ValueType """The permission to the namespace. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=permission_deprecated @@ -190,11 +187,11 @@ class NamespaceAccess(google.protobuf.message.Message): self, *, permission_deprecated: builtins.str = ..., - permission: Global___NamespaceAccess.Permission.ValueType = ..., + permission: global___NamespaceAccess.Permission.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "permission", b"permission", "permission_deprecated", @@ -202,13 +199,11 @@ class NamespaceAccess(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceAccess: typing_extensions.TypeAlias = NamespaceAccess +global___NamespaceAccess = NamespaceAccess -@typing.final class Access(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class NamespaceAccessesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -216,37 +211,36 @@ class Access(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___NamespaceAccess: ... + def value(self) -> global___NamespaceAccess: ... def __init__( self, *, key: builtins.str = ..., - value: Global___NamespaceAccess | None = ..., + value: global___NamespaceAccess | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... ACCOUNT_ACCESS_FIELD_NUMBER: builtins.int NAMESPACE_ACCESSES_FIELD_NUMBER: builtins.int CUSTOM_ROLES_DEPRECATED_FIELD_NUMBER: builtins.int @property - def account_access(self) -> Global___AccountAccess: + def account_access(self) -> global___AccountAccess: """The account access""" - @property def namespace_accesses( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___NamespaceAccess + builtins.str, global___NamespaceAccess ]: """The map of namespace accesses The key is the namespace name and the value is the access to the namespace """ - @property def custom_roles_deprecated( self, @@ -255,23 +249,22 @@ class Access(google.protobuf.message.Message): Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead. temporal:versioning:max_version=v0.12.0 """ - def __init__( self, *, - account_access: Global___AccountAccess | None = ..., + account_access: global___AccountAccess | None = ..., namespace_accesses: collections.abc.Mapping[ - builtins.str, Global___NamespaceAccess + builtins.str, global___NamespaceAccess ] | None = ..., custom_roles_deprecated: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["account_access", b"account_access"] + self, field_name: typing_extensions.Literal["account_access", b"account_access"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "account_access", b"account_access", "custom_roles_deprecated", @@ -281,9 +274,8 @@ class Access(google.protobuf.message.Message): ], ) -> None: ... -Global___Access: typing_extensions.TypeAlias = Access +global___Access = Access -@typing.final class NamespaceScopedAccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -292,25 +284,26 @@ class NamespaceScopedAccess(google.protobuf.message.Message): namespace: builtins.str """The namespace the service account is assigned to - immutable.""" @property - def access(self) -> Global___NamespaceAccess: + def access(self) -> global___NamespaceAccess: """The namespace access assigned to the service account - mutable.""" - def __init__( self, *, namespace: builtins.str = ..., - access: Global___NamespaceAccess | None = ..., + access: global___NamespaceAccess | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["access", b"access"] + self, field_name: typing_extensions.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["access", b"access", "namespace", b"namespace"] + self, + field_name: typing_extensions.Literal[ + "access", b"access", "namespace", b"namespace" + ], ) -> None: ... -Global___NamespaceScopedAccess: typing_extensions.TypeAlias = NamespaceScopedAccess +global___NamespaceScopedAccess = NamespaceScopedAccess -@typing.final class UserSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -319,25 +312,24 @@ class UserSpec(google.protobuf.message.Message): email: builtins.str """The email address associated to the user""" @property - def access(self) -> Global___Access: + def access(self) -> global___Access: """The access to assigned to the user""" - def __init__( self, *, email: builtins.str = ..., - access: Global___Access | None = ..., + access: global___Access | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["access", b"access"] + self, field_name: typing_extensions.Literal["access", b"access"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["access", b"access", "email", b"email"] + self, + field_name: typing_extensions.Literal["access", b"access", "email", b"email"], ) -> None: ... -Global___UserSpec: typing_extensions.TypeAlias = UserSpec +global___UserSpec = UserSpec -@typing.final class Invitation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -346,11 +338,9 @@ class Invitation(google.protobuf.message.Message): @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the user was created""" - @property def expired_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the invitation expires or has expired""" - def __init__( self, *, @@ -359,20 +349,19 @@ class Invitation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "expired_time", b"expired_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "expired_time", b"expired_time" ], ) -> None: ... -Global___Invitation: typing_extensions.TypeAlias = Invitation +global___Invitation = Invitation -@typing.final class User(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -391,6 +380,9 @@ class User(google.protobuf.message.Message): """The current version of the user specification The next update operation will have to include this version """ + @property + def spec(self) -> global___UserSpec: + """The user specification""" state_deprecated: builtins.str """The current state of the user Deprecated: Not supported after v0.3.0 api version. Use state instead. @@ -405,39 +397,32 @@ class User(google.protobuf.message.Message): async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the user, if any""" @property - def spec(self) -> Global___UserSpec: - """The user specification""" - - @property - def invitation(self) -> Global___Invitation: + def invitation(self) -> global___Invitation: """The details of the open invitation sent to the user, if any""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the user was created""" - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the user was last modified Will not be set if the user has never been modified """ - def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: Global___UserSpec | None = ..., + spec: global___UserSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., - invitation: Global___Invitation | None = ..., + invitation: global___Invitation | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "invitation", @@ -450,7 +435,7 @@ class User(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -472,9 +457,8 @@ class User(google.protobuf.message.Message): ], ) -> None: ... -Global___User: typing_extensions.TypeAlias = User +global___User = User -@typing.final class GoogleGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -489,12 +473,11 @@ class GoogleGroupSpec(google.protobuf.message.Message): email_address: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["email_address", b"email_address"] + self, field_name: typing_extensions.Literal["email_address", b"email_address"] ) -> None: ... -Global___GoogleGroupSpec: typing_extensions.TypeAlias = GoogleGroupSpec +global___GoogleGroupSpec = GoogleGroupSpec -@typing.final class SCIMGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -506,11 +489,12 @@ class SCIMGroupSpec(google.protobuf.message.Message): *, idp_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["idp_id", b"idp_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["idp_id", b"idp_id"] + ) -> None: ... -Global___SCIMGroupSpec: typing_extensions.TypeAlias = SCIMGroupSpec +global___SCIMGroupSpec = SCIMGroupSpec -@typing.final class CloudGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -518,9 +502,8 @@ class CloudGroupSpec(google.protobuf.message.Message): self, ) -> None: ... -Global___CloudGroupSpec: typing_extensions.TypeAlias = CloudGroupSpec +global___CloudGroupSpec = CloudGroupSpec -@typing.final class UserGroupSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -532,37 +515,33 @@ class UserGroupSpec(google.protobuf.message.Message): display_name: builtins.str """The display name of the group.""" @property - def access(self) -> Global___Access: + def access(self) -> global___Access: """The access assigned to the group.""" - @property - def google_group(self) -> Global___GoogleGroupSpec: + def google_group(self) -> global___GoogleGroupSpec: """The specification of the google group that this group is associated with.""" - @property - def scim_group(self) -> Global___SCIMGroupSpec: + def scim_group(self) -> global___SCIMGroupSpec: """The specification of the SCIM group that this group is associated with. SCIM groups cannot be created or deleted directly, but their access can be managed. """ - @property - def cloud_group(self) -> Global___CloudGroupSpec: + def cloud_group(self) -> global___CloudGroupSpec: """The specification for a Cloud group. Cloud groups can manage members using the add and remove member APIs. """ - def __init__( self, *, display_name: builtins.str = ..., - access: Global___Access | None = ..., - google_group: Global___GoogleGroupSpec | None = ..., - scim_group: Global___SCIMGroupSpec | None = ..., - cloud_group: Global___CloudGroupSpec | None = ..., + access: global___Access | None = ..., + google_group: global___GoogleGroupSpec | None = ..., + scim_group: global___SCIMGroupSpec | None = ..., + cloud_group: global___CloudGroupSpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "access", b"access", "cloud_group", @@ -577,7 +556,7 @@ class UserGroupSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "access", b"access", "cloud_group", @@ -593,12 +572,13 @@ class UserGroupSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["group_type", b"group_type"] - ) -> typing.Literal["google_group", "scim_group", "cloud_group"] | None: ... + self, oneof_group: typing_extensions.Literal["group_type", b"group_type"] + ) -> ( + typing_extensions.Literal["google_group", "scim_group", "cloud_group"] | None + ): ... -Global___UserGroupSpec: typing_extensions.TypeAlias = UserGroupSpec +global___UserGroupSpec = UserGroupSpec -@typing.final class UserGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -616,6 +596,9 @@ class UserGroup(google.protobuf.message.Message): """The current version of the group specification The next update operation will have to include this version """ + @property + def spec(self) -> global___UserGroupSpec: + """The group specification""" state_deprecated: builtins.str """The current state of the group. Deprecated: Not supported after v0.3.0 api version. Use state instead. @@ -629,26 +612,20 @@ class UserGroup(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the group, if any""" - @property - def spec(self) -> Global___UserGroupSpec: - """The group specification""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the group was created""" - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the group was last modified Will not be set if the group has never been modified """ - def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: Global___UserGroupSpec | None = ..., + spec: global___UserGroupSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -657,7 +634,7 @@ class UserGroup(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "last_modified_time", @@ -668,7 +645,7 @@ class UserGroup(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -688,9 +665,8 @@ class UserGroup(google.protobuf.message.Message): ], ) -> None: ... -Global___UserGroup: typing_extensions.TypeAlias = UserGroup +global___UserGroup = UserGroup -@typing.final class UserGroupMemberId(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -703,54 +679,52 @@ class UserGroupMemberId(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "member_type", b"member_type", "user_id", b"user_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "member_type", b"member_type", "user_id", b"user_id" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["member_type", b"member_type"] - ) -> typing.Literal["user_id"] | None: ... + self, oneof_group: typing_extensions.Literal["member_type", b"member_type"] + ) -> typing_extensions.Literal["user_id"] | None: ... -Global___UserGroupMemberId: typing_extensions.TypeAlias = UserGroupMemberId +global___UserGroupMemberId = UserGroupMemberId -@typing.final class UserGroupMember(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor MEMBER_ID_FIELD_NUMBER: builtins.int CREATED_TIME_FIELD_NUMBER: builtins.int @property - def member_id(self) -> Global___UserGroupMemberId: ... + def member_id(self) -> global___UserGroupMemberId: ... @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - member_id: Global___UserGroupMemberId | None = ..., + member_id: global___UserGroupMemberId | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "member_id", b"member_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "member_id", b"member_id" ], ) -> None: ... -Global___UserGroupMember: typing_extensions.TypeAlias = UserGroupMember +global___UserGroupMember = UserGroupMember -@typing.final class ServiceAccount(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -768,6 +742,9 @@ class ServiceAccount(google.protobuf.message.Message): """The current version of the service account specification. The next update operation will have to include this version. """ + @property + def spec(self) -> global___ServiceAccountSpec: + """The service account specification.""" state_deprecated: builtins.str """The current state of the service account. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. @@ -783,26 +760,20 @@ class ServiceAccount(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the service account, if any.""" - @property - def spec(self) -> Global___ServiceAccountSpec: - """The service account specification.""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the service account was created.""" - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the service account was last modified Will not be set if the service account has never been modified. """ - def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: Global___ServiceAccountSpec | None = ..., + spec: global___ServiceAccountSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -811,7 +782,7 @@ class ServiceAccount(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "last_modified_time", @@ -822,7 +793,7 @@ class ServiceAccount(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -842,9 +813,8 @@ class ServiceAccount(google.protobuf.message.Message): ], ) -> None: ... -Global___ServiceAccount: typing_extensions.TypeAlias = ServiceAccount +global___ServiceAccount = ServiceAccount -@typing.final class ServiceAccountSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -856,43 +826,41 @@ class ServiceAccountSpec(google.protobuf.message.Message): """The name associated with the service account. The name is mutable, but must be unique across all your active service accounts. """ - description: builtins.str - """The description associated with the service account - optional. - The description is mutable. - """ @property - def access(self) -> Global___Access: + def access(self) -> global___Access: """Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both. The access assigned to the service account. If set, creates an account scoped service account. The access is mutable. """ - @property - def namespace_scoped_access(self) -> Global___NamespaceScopedAccess: + def namespace_scoped_access(self) -> global___NamespaceScopedAccess: """The namespace scoped access assigned to the service account. If set, creates a namespace scoped service account (limited to a single namespace). The namespace scoped access is partially mutable. Refer to `NamespaceScopedAccess` for details. """ - + description: builtins.str + """The description associated with the service account - optional. + The description is mutable. + """ def __init__( self, *, name: builtins.str = ..., - access: Global___Access | None = ..., - namespace_scoped_access: Global___NamespaceScopedAccess | None = ..., + access: global___Access | None = ..., + namespace_scoped_access: global___NamespaceScopedAccess | None = ..., description: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "access", b"access", "namespace_scoped_access", b"namespace_scoped_access" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "access", b"access", "description", @@ -904,9 +872,8 @@ class ServiceAccountSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___ServiceAccountSpec: typing_extensions.TypeAlias = ServiceAccountSpec +global___ServiceAccountSpec = ServiceAccountSpec -@typing.final class ApiKey(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -924,6 +891,9 @@ class ApiKey(google.protobuf.message.Message): """The current version of the API key specification. The next update operation will have to include this version. """ + @property + def spec(self) -> global___ApiKeySpec: + """The API key specification.""" state_deprecated: builtins.str """The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. @@ -938,26 +908,20 @@ class ApiKey(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the API key, if any.""" - @property - def spec(self) -> Global___ApiKeySpec: - """The API key specification.""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the API key was created.""" - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the API key was last modified. Will not be set if the API key has never been modified. """ - def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: Global___ApiKeySpec | None = ..., + spec: global___ApiKeySpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., @@ -966,7 +930,7 @@ class ApiKey(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "last_modified_time", @@ -977,7 +941,7 @@ class ApiKey(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -997,9 +961,8 @@ class ApiKey(google.protobuf.message.Message): ], ) -> None: ... -Global___ApiKey: typing_extensions.TypeAlias = ApiKey +global___ApiKey = ApiKey -@typing.final class ApiKeySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1023,7 +986,7 @@ class ApiKeySpec(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use owner_type instead. temporal:versioning:max_version=v0.3.0 """ - owner_type: Global___OwnerType.ValueType + owner_type: global___OwnerType.ValueType """The type of the owner to create the API key for. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=owner_type_deprecated @@ -1032,29 +995,28 @@ class ApiKeySpec(google.protobuf.message.Message): """The display name of the API key.""" description: builtins.str """The description of the API key.""" - disabled: builtins.bool - """True if the API key is disabled.""" @property def expiry_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The expiry time of the API key.""" - + disabled: builtins.bool + """True if the API key is disabled.""" def __init__( self, *, owner_id: builtins.str = ..., owner_type_deprecated: builtins.str = ..., - owner_type: Global___OwnerType.ValueType = ..., + owner_type: global___OwnerType.ValueType = ..., display_name: builtins.str = ..., description: builtins.str = ..., expiry_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., disabled: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["expiry_time", b"expiry_time"] + self, field_name: typing_extensions.Literal["expiry_time", b"expiry_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "disabled", @@ -1072,13 +1034,11 @@ class ApiKeySpec(google.protobuf.message.Message): ], ) -> None: ... -Global___ApiKeySpec: typing_extensions.TypeAlias = ApiKeySpec +global___ApiKeySpec = ApiKeySpec -@typing.final class CustomRoleSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Resources(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1087,8 +1047,6 @@ class CustomRoleSpec(google.protobuf.message.Message): ALLOW_ALL_FIELD_NUMBER: builtins.int resource_type: builtins.str """The resource type the permission applies to.""" - allow_all: builtins.bool - """Whether the permission applies to all resources of the given type.""" @property def resource_ids( self, @@ -1096,7 +1054,8 @@ class CustomRoleSpec(google.protobuf.message.Message): builtins.str ]: """The resource IDs the permission applies to. Can be empty if allow_all is true.""" - + allow_all: builtins.bool + """Whether the permission applies to all resources of the given type.""" def __init__( self, *, @@ -1106,7 +1065,7 @@ class CustomRoleSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "allow_all", b"allow_all", "resource_ids", @@ -1116,16 +1075,14 @@ class CustomRoleSpec(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class Permission(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RESOURCES_FIELD_NUMBER: builtins.int ACTIONS_FIELD_NUMBER: builtins.int @property - def resources(self) -> Global___CustomRoleSpec.Resources: + def resources(self) -> global___CustomRoleSpec.Resources: """The resources the permission applies to.""" - @property def actions( self, @@ -1133,19 +1090,18 @@ class CustomRoleSpec(google.protobuf.message.Message): builtins.str ]: """The actions allowed by the permission.""" - def __init__( self, *, - resources: Global___CustomRoleSpec.Resources | None = ..., + resources: global___CustomRoleSpec.Resources | None = ..., actions: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["resources", b"resources"] + self, field_name: typing_extensions.Literal["resources", b"resources"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "actions", b"actions", "resources", b"resources" ], ) -> None: ... @@ -1161,21 +1117,20 @@ class CustomRoleSpec(google.protobuf.message.Message): def permissions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CustomRoleSpec.Permission + global___CustomRoleSpec.Permission ]: """The permissions assigned to the custom role.""" - def __init__( self, *, name: builtins.str = ..., description: builtins.str = ..., - permissions: collections.abc.Iterable[Global___CustomRoleSpec.Permission] + permissions: collections.abc.Iterable[global___CustomRoleSpec.Permission] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "name", @@ -1185,9 +1140,8 @@ class CustomRoleSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___CustomRoleSpec: typing_extensions.TypeAlias = CustomRoleSpec +global___CustomRoleSpec = CustomRoleSpec -@typing.final class CustomRole(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1204,32 +1158,29 @@ class CustomRole(google.protobuf.message.Message): """The current version of the custom role specification. The next update operation will have to include this version. """ + @property + def spec(self) -> global___CustomRoleSpec: + """The custom role specification.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the custom role. For any failed state, reach out to Temporal Cloud support for remediation. """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the custom role, if any.""" - @property - def spec(self) -> Global___CustomRoleSpec: - """The custom role specification.""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the custom role was created.""" - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the custom role was last modified. Will not be set if the custom role has never been modified. """ - def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: Global___CustomRoleSpec | None = ..., + spec: global___CustomRoleSpec | None = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -1237,7 +1188,7 @@ class CustomRole(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "last_modified_time", @@ -1248,7 +1199,7 @@ class CustomRole(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -1266,9 +1217,8 @@ class CustomRole(google.protobuf.message.Message): ], ) -> None: ... -Global___CustomRole: typing_extensions.TypeAlias = CustomRole +global___CustomRole = CustomRole -@typing.final class UserNamespaceAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1281,29 +1231,29 @@ class UserNamespaceAssignment(google.protobuf.message.Message): """The ID of the user.""" email: builtins.str """The email of the user.""" + @property + def namespace_access(self) -> global___NamespaceAccess: + """The access assigned to the user at the namespace level.""" inherited_access: builtins.bool """True if the user has inherited access to the namespace through an account or project role.""" resource_version: builtins.str """The current resource version of the user.""" - @property - def namespace_access(self) -> Global___NamespaceAccess: - """The access assigned to the user at the namespace level.""" - def __init__( self, *, id: builtins.str = ..., email: builtins.str = ..., - namespace_access: Global___NamespaceAccess | None = ..., + namespace_access: global___NamespaceAccess | None = ..., inherited_access: builtins.bool = ..., resource_version: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["namespace_access", b"namespace_access"] + self, + field_name: typing_extensions.Literal["namespace_access", b"namespace_access"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "email", b"email", "id", @@ -1317,9 +1267,8 @@ class UserNamespaceAssignment(google.protobuf.message.Message): ], ) -> None: ... -Global___UserNamespaceAssignment: typing_extensions.TypeAlias = UserNamespaceAssignment +global___UserNamespaceAssignment = UserNamespaceAssignment -@typing.final class ServiceAccountNamespaceAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1332,29 +1281,29 @@ class ServiceAccountNamespaceAssignment(google.protobuf.message.Message): """The ID of the service account.""" name: builtins.str """The name of the service account.""" + @property + def namespace_access(self) -> global___NamespaceAccess: + """The access assigned to the service account at the namespace level.""" inherited_access: builtins.bool """True if the service account has inherited access to the namespace through an account or project role.""" resource_version: builtins.str """The current resource version of the service account.""" - @property - def namespace_access(self) -> Global___NamespaceAccess: - """The access assigned to the service account at the namespace level.""" - def __init__( self, *, id: builtins.str = ..., name: builtins.str = ..., - namespace_access: Global___NamespaceAccess | None = ..., + namespace_access: global___NamespaceAccess | None = ..., inherited_access: builtins.bool = ..., resource_version: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["namespace_access", b"namespace_access"] + self, + field_name: typing_extensions.Literal["namespace_access", b"namespace_access"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "id", b"id", "inherited_access", @@ -1368,11 +1317,8 @@ class ServiceAccountNamespaceAssignment(google.protobuf.message.Message): ], ) -> None: ... -Global___ServiceAccountNamespaceAssignment: typing_extensions.TypeAlias = ( - ServiceAccountNamespaceAssignment -) +global___ServiceAccountNamespaceAssignment = ServiceAccountNamespaceAssignment -@typing.final class UserGroupNamespaceAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1385,29 +1331,29 @@ class UserGroupNamespaceAssignment(google.protobuf.message.Message): """The ID of the group.""" display_name: builtins.str """The display name of the group.""" + @property + def namespace_access(self) -> global___NamespaceAccess: + """The access assigned to the group at the namespace level.""" inherited_access: builtins.bool """True if the group has inherited access to the namespace through an account or project role.""" resource_version: builtins.str """The current resource version of the group.""" - @property - def namespace_access(self) -> Global___NamespaceAccess: - """The access assigned to the group at the namespace level.""" - def __init__( self, *, id: builtins.str = ..., display_name: builtins.str = ..., - namespace_access: Global___NamespaceAccess | None = ..., + namespace_access: global___NamespaceAccess | None = ..., inherited_access: builtins.bool = ..., resource_version: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["namespace_access", b"namespace_access"] + self, + field_name: typing_extensions.Literal["namespace_access", b"namespace_access"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "display_name", b"display_name", "id", @@ -1421,6 +1367,4 @@ class UserGroupNamespaceAssignment(google.protobuf.message.Message): ], ) -> None: ... -Global___UserGroupNamespaceAssignment: typing_extensions.TypeAlias = ( - UserGroupNamespaceAssignment -) +global___UserGroupNamespaceAssignment = UserGroupNamespaceAssignment diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.py b/temporalio/api/cloud/namespace/v1/message_pb2.py index e3603f914..33eb2f789 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.py +++ b/temporalio/api/cloud/namespace/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/namespace/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/namespace/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -40,146 +30,569 @@ b'\n-temporal/api/cloud/namespace/v1/message.proto\x12\x1ftemporal.api.cloud.namespace.v1\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/cloud/sink/v1/message.proto\x1a\x34temporal/api/cloud/connectivityrule/v1/message.proto"\x81\x01\n\x15\x43\x65rtificateFilterSpec\x12\x13\n\x0b\x63ommon_name\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12 \n\x18subject_alternative_name\x18\x04 \x01(\t"\xbb\x01\n\x0cMtlsAuthSpec\x12)\n\x1d\x61\x63\x63\x65pted_client_ca_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61\x63\x63\x65pted_client_ca\x18\x04 \x01(\x0c\x12S\n\x13\x63\x65rtificate_filters\x18\x02 \x03(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CertificateFilterSpec\x12\x0f\n\x07\x65nabled\x18\x03 \x01(\x08"!\n\x0e\x41piKeyAuthSpec\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08"1\n\rLifecycleSpec\x12 \n\x18\x65nable_delete_protection\x18\x01 \x01(\x08"\xf4\x02\n\x0f\x43odecServerSpec\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x19\n\x11pass_access_token\x18\x02 \x01(\x08\x12(\n include_cross_origin_credentials\x18\x03 \x01(\x08\x12\x61\n\x14\x63ustom_error_message\x18\x04 \x01(\x0b\x32\x43.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage\x1a\xa6\x01\n\x12\x43ustomErrorMessage\x12\x61\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32P.temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage\x1a-\n\x0c\x45rrorMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t"c\n\x14HighAvailabilitySpec\x12 \n\x18\x64isable_managed_failover\x18\x01 \x01(\x08\x12)\n!disable_passive_poller_forwarding\x18\x02 \x01(\x08"\x1d\n\x0bReplicaSpec\x12\x0e\n\x06region\x18\x01 \x01(\t"\x99\x02\n\x07Replica\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nis_primary\x18\x02 \x01(\x08\x12\x44\n\x05state\x18\x03 \x01(\x0e\x32\x35.temporal.api.cloud.namespace.v1.Replica.ReplicaState\x12\x0e\n\x06region\x18\x04 \x01(\t"\x97\x01\n\x0cReplicaState\x12\x1d\n\x19REPLICA_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14REPLICA_STATE_ADDING\x10\x01\x12\x18\n\x14REPLICA_STATE_ACTIVE\x10\x02\x12\x1a\n\x16REPLICA_STATE_REMOVING\x10\x03\x12\x18\n\x14REPLICA_STATE_FAILED\x10\x05"\xdf\x01\n\x0c\x43\x61pacitySpec\x12K\n\ton_demand\x18\x01 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.CapacitySpec.OnDemandH\x00\x12P\n\x0bprovisioned\x18\x02 \x01(\x0b\x32\x39.temporal.api.cloud.namespace.v1.CapacitySpec.ProvisionedH\x00\x1a\n\n\x08OnDemand\x1a\x1c\n\x0bProvisioned\x12\r\n\x05value\x18\x01 \x01(\x01\x42\x06\n\x04spec"\xdc\x05\n\x08\x43\x61pacity\x12G\n\ton_demand\x18\x01 \x01(\x0b\x32\x32.temporal.api.cloud.namespace.v1.Capacity.OnDemandH\x00\x12L\n\x0bprovisioned\x18\x02 \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.Capacity.ProvisionedH\x00\x12I\n\x0elatest_request\x18\x03 \x01(\x0b\x32\x31.temporal.api.cloud.namespace.v1.Capacity.Request\x1a\n\n\x08OnDemand\x1a$\n\x0bProvisioned\x12\x15\n\rcurrent_value\x18\x01 \x01(\x01\x1a\xab\x03\n\x07Request\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x37.temporal.api.cloud.namespace.v1.Capacity.Request.State\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x61sync_operation_id\x18\x04 \x01(\t\x12;\n\x04spec\x18\x05 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.CapacitySpec"\xa0\x01\n\x05State\x12&\n"STATE_CAPACITY_REQUEST_UNSPECIFIED\x10\x00\x12$\n STATE_CAPACITY_REQUEST_COMPLETED\x10\x01\x12&\n"STATE_CAPACITY_REQUEST_IN_PROGRESS\x10\x02\x12!\n\x1dSTATE_CAPACITY_REQUEST_FAILED\x10\x03\x42\x0e\n\x0c\x63urrent_mode"3\n\x0c\x46\x61irnessSpec\x12#\n\x1btask_queue_fairness_enabled\x18\x01 \x01(\x08"\xd4\n\n\rNamespaceSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x07regions\x18\x02 \x03(\tB\x02\x18\x01\x12\x16\n\x0eretention_days\x18\x03 \x01(\x05\x12@\n\tmtls_auth\x18\x04 \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.MtlsAuthSpec\x12\x45\n\x0c\x61pi_key_auth\x18\x07 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec\x12p\n\x18\x63ustom_search_attributes\x18\x05 \x03(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntryB\x02\x18\x01\x12_\n\x11search_attributes\x18\x08 \x03(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry\x12\x46\n\x0c\x63odec_server\x18\x06 \x01(\x0b\x32\x30.temporal.api.cloud.namespace.v1.CodecServerSpec\x12\x41\n\tlifecycle\x18\t \x01(\x0b\x32..temporal.api.cloud.namespace.v1.LifecycleSpec\x12P\n\x11high_availability\x18\n \x01(\x0b\x32\x35.temporal.api.cloud.namespace.v1.HighAvailabilitySpec\x12\x1d\n\x15\x63onnectivity_rule_ids\x18\x0b \x03(\t\x12\x44\n\rcapacity_spec\x18\x0c \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.CapacitySpec\x12>\n\x08replicas\x18\r \x03(\x0b\x32,.temporal.api.cloud.namespace.v1.ReplicaSpec\x12?\n\x08\x66\x61irness\x18\x0e \x01(\x0b\x32-.temporal.api.cloud.namespace.v1.FairnessSpec\x1a=\n\x1b\x43ustomSearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a{\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12Q\n\x05value\x18\x02 \x01(\x0e\x32\x42.temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType:\x02\x38\x01"\xac\x02\n\x13SearchAttributeType\x12%\n!SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_TEXT\x10\x01\x12!\n\x1dSEARCH_ATTRIBUTE_TYPE_KEYWORD\x10\x02\x12\x1d\n\x19SEARCH_ATTRIBUTE_TYPE_INT\x10\x03\x12 \n\x1cSEARCH_ATTRIBUTE_TYPE_DOUBLE\x10\x04\x12\x1e\n\x1aSEARCH_ATTRIBUTE_TYPE_BOOL\x10\x05\x12"\n\x1eSEARCH_ATTRIBUTE_TYPE_DATETIME\x10\x06\x12&\n"SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST\x10\x07"Q\n\tEndpoints\x12\x13\n\x0bweb_address\x18\x01 \x01(\t\x12\x19\n\x11mtls_grpc_address\x18\x02 \x01(\t\x12\x14\n\x0cgrpc_address\x18\x03 \x01(\t"*\n\x06Limits\x12 \n\x18\x61\x63tions_per_second_limit\x18\x01 \x01(\x05"X\n\x12\x41WSPrivateLinkInfo\x12\x1e\n\x16\x61llowed_principal_arns\x18\x01 \x03(\t\x12"\n\x1avpc_endpoint_service_names\x18\x02 \x03(\t"t\n\x13PrivateConnectivity\x12\x0e\n\x06region\x18\x01 \x01(\t\x12M\n\x10\x61ws_private_link\x18\x02 \x01(\x0b\x32\x33.temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo"\xc3\x08\n\tNamespace\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x04spec\x18\x03 \x01(\x0b\x32..temporal.api.cloud.namespace.v1.NamespaceSpec\x12\x1c\n\x10state_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x05state\x18\r \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12=\n\tendpoints\x18\x06 \x01(\x0b\x32*.temporal.api.cloud.namespace.v1.Endpoints\x12\x15\n\ractive_region\x18\x07 \x01(\t\x12\x37\n\x06limits\x18\x08 \x01(\x0b\x32\'.temporal.api.cloud.namespace.v1.Limits\x12T\n\x16private_connectivities\x18\t \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.PrivateConnectivity\x12\x30\n\x0c\x63reated_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12W\n\rregion_status\x18\x0c \x03(\x0b\x32<.temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntryB\x02\x18\x01\x12T\n\x12\x63onnectivity_rules\x18\x0e \x03(\x0b\x32\x38.temporal.api.cloud.connectivityrule.v1.ConnectivityRule\x12\x42\n\x04tags\x18\x0f \x03(\x0b\x32\x34.temporal.api.cloud.namespace.v1.Namespace.TagsEntry\x12;\n\x08\x63\x61pacity\x18\x10 \x01(\x0b\x32).temporal.api.cloud.namespace.v1.Capacity\x12:\n\x08replicas\x18\x12 \x03(\x0b\x32(.temporal.api.cloud.namespace.v1.Replica\x1ak\n\x11RegionStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.temporal.api.cloud.namespace.v1.NamespaceRegionStatus:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x9b\x02\n\x15NamespaceRegionStatus\x12\x1c\n\x10state_deprecated\x18\x01 \x01(\tB\x02\x18\x01\x12K\n\x05state\x18\x03 \x01(\x0e\x32<.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State\x12\x1a\n\x12\x61sync_operation_id\x18\x02 \x01(\t"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ADDING\x10\x01\x12\x10\n\x0cSTATE_ACTIVE\x10\x02\x12\x11\n\rSTATE_PASSIVE\x10\x03\x12\x12\n\x0eSTATE_REMOVING\x10\x04\x12\x10\n\x0cSTATE_FAILED\x10\x05"\x91\x01\n\x0e\x45xportSinkSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12.\n\x02s3\x18\x03 \x01(\x0b\x32".temporal.api.cloud.sink.v1.S3Spec\x12\x30\n\x03gcs\x18\x04 \x01(\x0b\x32#.temporal.api.cloud.sink.v1.GCSSpec"\xf6\x03\n\nExportSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12<\n\x05state\x18\x03 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12=\n\x04spec\x18\x04 \x01(\x0b\x32/.temporal.api.cloud.namespace.v1.ExportSinkSpec\x12\x42\n\x06health\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.namespace.v1.ExportSink.Health\x12\x15\n\rerror_message\x18\x06 \x01(\t\x12;\n\x17latest_data_export_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_health_check_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"o\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\r\n\tHEALTH_OK\x10\x01\x12\x19\n\x15HEALTH_ERROR_INTERNAL\x10\x02\x12#\n\x1fHEALTH_ERROR_USER_CONFIGURATION\x10\x03"\x9f\x06\n\x15NamespaceCapacityInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11has_legacy_limits\x18\x02 \x01(\x08\x12\x43\n\x10\x63urrent_capacity\x18\x03 \x01(\x0b\x32).temporal.api.cloud.namespace.v1.Capacity\x12`\n\x0cmode_options\x18\x04 \x01(\x0b\x32J.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions\x12K\n\x05stats\x18\x05 \x01(\x0b\x32<.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats\x1a\xd3\x02\n\x13\x43\x61pacityModeOptions\x12k\n\x0bprovisioned\x18\x01 \x01(\x0b\x32V.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned\x12\x66\n\ton_demand\x18\x02 \x01(\x0b\x32S.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand\x1aH\n\x0bProvisioned\x12\x18\n\x10valid_tru_values\x18\x01 \x03(\x01\x12\x1f\n\x17max_available_tru_value\x18\x02 \x01(\x01\x1a\x1d\n\x08OnDemand\x12\x11\n\taps_limit\x18\x01 \x01(\x01\x1a\x8d\x01\n\x05Stats\x12Q\n\x03\x61ps\x18\x01 \x01(\x0b\x32\x44.temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary\x1a\x31\n\x07Summary\x12\x0c\n\x04mean\x18\x01 \x01(\x01\x12\x0b\n\x03p90\x18\x02 \x01(\x01\x12\x0b\n\x03p99\x18\x03 \x01(\x01\x42\xb1\x01\n"io.temporal.api.cloud.namespace.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/namespace/v1;namespace\xaa\x02!Temporalio.Api.Cloud.Namespace.V1\xea\x02%Temporalio::Api::Cloud::Namespace::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.namespace.v1.message_pb2", _globals + +_CERTIFICATEFILTERSPEC = DESCRIPTOR.message_types_by_name["CertificateFilterSpec"] +_MTLSAUTHSPEC = DESCRIPTOR.message_types_by_name["MtlsAuthSpec"] +_APIKEYAUTHSPEC = DESCRIPTOR.message_types_by_name["ApiKeyAuthSpec"] +_LIFECYCLESPEC = DESCRIPTOR.message_types_by_name["LifecycleSpec"] +_CODECSERVERSPEC = DESCRIPTOR.message_types_by_name["CodecServerSpec"] +_CODECSERVERSPEC_CUSTOMERRORMESSAGE = _CODECSERVERSPEC.nested_types_by_name[ + "CustomErrorMessage" +] +_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE = ( + _CODECSERVERSPEC_CUSTOMERRORMESSAGE.nested_types_by_name["ErrorMessage"] ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b'\n"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' - _globals["_MTLSAUTHSPEC"].fields_by_name[ - "accepted_client_ca_deprecated" - ]._loaded_options = None - _globals["_MTLSAUTHSPEC"].fields_by_name[ +_HIGHAVAILABILITYSPEC = DESCRIPTOR.message_types_by_name["HighAvailabilitySpec"] +_REPLICASPEC = DESCRIPTOR.message_types_by_name["ReplicaSpec"] +_REPLICA = DESCRIPTOR.message_types_by_name["Replica"] +_CAPACITYSPEC = DESCRIPTOR.message_types_by_name["CapacitySpec"] +_CAPACITYSPEC_ONDEMAND = _CAPACITYSPEC.nested_types_by_name["OnDemand"] +_CAPACITYSPEC_PROVISIONED = _CAPACITYSPEC.nested_types_by_name["Provisioned"] +_CAPACITY = DESCRIPTOR.message_types_by_name["Capacity"] +_CAPACITY_ONDEMAND = _CAPACITY.nested_types_by_name["OnDemand"] +_CAPACITY_PROVISIONED = _CAPACITY.nested_types_by_name["Provisioned"] +_CAPACITY_REQUEST = _CAPACITY.nested_types_by_name["Request"] +_FAIRNESSSPEC = DESCRIPTOR.message_types_by_name["FairnessSpec"] +_NAMESPACESPEC = DESCRIPTOR.message_types_by_name["NamespaceSpec"] +_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ + "CustomSearchAttributesEntry" +] +_NAMESPACESPEC_SEARCHATTRIBUTESENTRY = _NAMESPACESPEC.nested_types_by_name[ + "SearchAttributesEntry" +] +_ENDPOINTS = DESCRIPTOR.message_types_by_name["Endpoints"] +_LIMITS = DESCRIPTOR.message_types_by_name["Limits"] +_AWSPRIVATELINKINFO = DESCRIPTOR.message_types_by_name["AWSPrivateLinkInfo"] +_PRIVATECONNECTIVITY = DESCRIPTOR.message_types_by_name["PrivateConnectivity"] +_NAMESPACE = DESCRIPTOR.message_types_by_name["Namespace"] +_NAMESPACE_REGIONSTATUSENTRY = _NAMESPACE.nested_types_by_name["RegionStatusEntry"] +_NAMESPACE_TAGSENTRY = _NAMESPACE.nested_types_by_name["TagsEntry"] +_NAMESPACEREGIONSTATUS = DESCRIPTOR.message_types_by_name["NamespaceRegionStatus"] +_EXPORTSINKSPEC = DESCRIPTOR.message_types_by_name["ExportSinkSpec"] +_EXPORTSINK = DESCRIPTOR.message_types_by_name["ExportSink"] +_NAMESPACECAPACITYINFO = DESCRIPTOR.message_types_by_name["NamespaceCapacityInfo"] +_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS = ( + _NAMESPACECAPACITYINFO.nested_types_by_name["CapacityModeOptions"] +) +_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED = ( + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS.nested_types_by_name["Provisioned"] +) +_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND = ( + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS.nested_types_by_name["OnDemand"] +) +_NAMESPACECAPACITYINFO_STATS = _NAMESPACECAPACITYINFO.nested_types_by_name["Stats"] +_NAMESPACECAPACITYINFO_STATS_SUMMARY = ( + _NAMESPACECAPACITYINFO_STATS.nested_types_by_name["Summary"] +) +_REPLICA_REPLICASTATE = _REPLICA.enum_types_by_name["ReplicaState"] +_CAPACITY_REQUEST_STATE = _CAPACITY_REQUEST.enum_types_by_name["State"] +_NAMESPACESPEC_SEARCHATTRIBUTETYPE = _NAMESPACESPEC.enum_types_by_name[ + "SearchAttributeType" +] +_NAMESPACEREGIONSTATUS_STATE = _NAMESPACEREGIONSTATUS.enum_types_by_name["State"] +_EXPORTSINK_HEALTH = _EXPORTSINK.enum_types_by_name["Health"] +CertificateFilterSpec = _reflection.GeneratedProtocolMessageType( + "CertificateFilterSpec", + (_message.Message,), + { + "DESCRIPTOR": _CERTIFICATEFILTERSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CertificateFilterSpec) + }, +) +_sym_db.RegisterMessage(CertificateFilterSpec) + +MtlsAuthSpec = _reflection.GeneratedProtocolMessageType( + "MtlsAuthSpec", + (_message.Message,), + { + "DESCRIPTOR": _MTLSAUTHSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.MtlsAuthSpec) + }, +) +_sym_db.RegisterMessage(MtlsAuthSpec) + +ApiKeyAuthSpec = _reflection.GeneratedProtocolMessageType( + "ApiKeyAuthSpec", + (_message.Message,), + { + "DESCRIPTOR": _APIKEYAUTHSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ApiKeyAuthSpec) + }, +) +_sym_db.RegisterMessage(ApiKeyAuthSpec) + +LifecycleSpec = _reflection.GeneratedProtocolMessageType( + "LifecycleSpec", + (_message.Message,), + { + "DESCRIPTOR": _LIFECYCLESPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.LifecycleSpec) + }, +) +_sym_db.RegisterMessage(LifecycleSpec) + +CodecServerSpec = _reflection.GeneratedProtocolMessageType( + "CodecServerSpec", + (_message.Message,), + { + "CustomErrorMessage": _reflection.GeneratedProtocolMessageType( + "CustomErrorMessage", + (_message.Message,), + { + "ErrorMessage": _reflection.GeneratedProtocolMessageType( + "ErrorMessage", + (_message.Message,), + { + "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage) + }, + ), + "DESCRIPTOR": _CODECSERVERSPEC_CUSTOMERRORMESSAGE, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage) + }, + ), + "DESCRIPTOR": _CODECSERVERSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CodecServerSpec) + }, +) +_sym_db.RegisterMessage(CodecServerSpec) +_sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage) +_sym_db.RegisterMessage(CodecServerSpec.CustomErrorMessage.ErrorMessage) + +HighAvailabilitySpec = _reflection.GeneratedProtocolMessageType( + "HighAvailabilitySpec", + (_message.Message,), + { + "DESCRIPTOR": _HIGHAVAILABILITYSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.HighAvailabilitySpec) + }, +) +_sym_db.RegisterMessage(HighAvailabilitySpec) + +ReplicaSpec = _reflection.GeneratedProtocolMessageType( + "ReplicaSpec", + (_message.Message,), + { + "DESCRIPTOR": _REPLICASPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ReplicaSpec) + }, +) +_sym_db.RegisterMessage(ReplicaSpec) + +Replica = _reflection.GeneratedProtocolMessageType( + "Replica", + (_message.Message,), + { + "DESCRIPTOR": _REPLICA, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Replica) + }, +) +_sym_db.RegisterMessage(Replica) + +CapacitySpec = _reflection.GeneratedProtocolMessageType( + "CapacitySpec", + (_message.Message,), + { + "OnDemand": _reflection.GeneratedProtocolMessageType( + "OnDemand", + (_message.Message,), + { + "DESCRIPTOR": _CAPACITYSPEC_ONDEMAND, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand) + }, + ), + "Provisioned": _reflection.GeneratedProtocolMessageType( + "Provisioned", + (_message.Message,), + { + "DESCRIPTOR": _CAPACITYSPEC_PROVISIONED, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned) + }, + ), + "DESCRIPTOR": _CAPACITYSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.CapacitySpec) + }, +) +_sym_db.RegisterMessage(CapacitySpec) +_sym_db.RegisterMessage(CapacitySpec.OnDemand) +_sym_db.RegisterMessage(CapacitySpec.Provisioned) + +Capacity = _reflection.GeneratedProtocolMessageType( + "Capacity", + (_message.Message,), + { + "OnDemand": _reflection.GeneratedProtocolMessageType( + "OnDemand", + (_message.Message,), + { + "DESCRIPTOR": _CAPACITY_ONDEMAND, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity.OnDemand) + }, + ), + "Provisioned": _reflection.GeneratedProtocolMessageType( + "Provisioned", + (_message.Message,), + { + "DESCRIPTOR": _CAPACITY_PROVISIONED, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity.Provisioned) + }, + ), + "Request": _reflection.GeneratedProtocolMessageType( + "Request", + (_message.Message,), + { + "DESCRIPTOR": _CAPACITY_REQUEST, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity.Request) + }, + ), + "DESCRIPTOR": _CAPACITY, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Capacity) + }, +) +_sym_db.RegisterMessage(Capacity) +_sym_db.RegisterMessage(Capacity.OnDemand) +_sym_db.RegisterMessage(Capacity.Provisioned) +_sym_db.RegisterMessage(Capacity.Request) + +FairnessSpec = _reflection.GeneratedProtocolMessageType( + "FairnessSpec", + (_message.Message,), + { + "DESCRIPTOR": _FAIRNESSSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.FairnessSpec) + }, +) +_sym_db.RegisterMessage(FairnessSpec) + +NamespaceSpec = _reflection.GeneratedProtocolMessageType( + "NamespaceSpec", + (_message.Message,), + { + "CustomSearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "CustomSearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry) + }, + ), + "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACESPEC_SEARCHATTRIBUTESENTRY, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry) + }, + ), + "DESCRIPTOR": _NAMESPACESPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceSpec) + }, +) +_sym_db.RegisterMessage(NamespaceSpec) +_sym_db.RegisterMessage(NamespaceSpec.CustomSearchAttributesEntry) +_sym_db.RegisterMessage(NamespaceSpec.SearchAttributesEntry) + +Endpoints = _reflection.GeneratedProtocolMessageType( + "Endpoints", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTS, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Endpoints) + }, +) +_sym_db.RegisterMessage(Endpoints) + +Limits = _reflection.GeneratedProtocolMessageType( + "Limits", + (_message.Message,), + { + "DESCRIPTOR": _LIMITS, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Limits) + }, +) +_sym_db.RegisterMessage(Limits) + +AWSPrivateLinkInfo = _reflection.GeneratedProtocolMessageType( + "AWSPrivateLinkInfo", + (_message.Message,), + { + "DESCRIPTOR": _AWSPRIVATELINKINFO, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo) + }, +) +_sym_db.RegisterMessage(AWSPrivateLinkInfo) + +PrivateConnectivity = _reflection.GeneratedProtocolMessageType( + "PrivateConnectivity", + (_message.Message,), + { + "DESCRIPTOR": _PRIVATECONNECTIVITY, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.PrivateConnectivity) + }, +) +_sym_db.RegisterMessage(PrivateConnectivity) + +Namespace = _reflection.GeneratedProtocolMessageType( + "Namespace", + (_message.Message,), + { + "RegionStatusEntry": _reflection.GeneratedProtocolMessageType( + "RegionStatusEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACE_REGIONSTATUSENTRY, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry) + }, + ), + "TagsEntry": _reflection.GeneratedProtocolMessageType( + "TagsEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACE_TAGSENTRY, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace.TagsEntry) + }, + ), + "DESCRIPTOR": _NAMESPACE, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.Namespace) + }, +) +_sym_db.RegisterMessage(Namespace) +_sym_db.RegisterMessage(Namespace.RegionStatusEntry) +_sym_db.RegisterMessage(Namespace.TagsEntry) + +NamespaceRegionStatus = _reflection.GeneratedProtocolMessageType( + "NamespaceRegionStatus", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEREGIONSTATUS, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceRegionStatus) + }, +) +_sym_db.RegisterMessage(NamespaceRegionStatus) + +ExportSinkSpec = _reflection.GeneratedProtocolMessageType( + "ExportSinkSpec", + (_message.Message,), + { + "DESCRIPTOR": _EXPORTSINKSPEC, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSinkSpec) + }, +) +_sym_db.RegisterMessage(ExportSinkSpec) + +ExportSink = _reflection.GeneratedProtocolMessageType( + "ExportSink", + (_message.Message,), + { + "DESCRIPTOR": _EXPORTSINK, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.ExportSink) + }, +) +_sym_db.RegisterMessage(ExportSink) + +NamespaceCapacityInfo = _reflection.GeneratedProtocolMessageType( + "NamespaceCapacityInfo", + (_message.Message,), + { + "CapacityModeOptions": _reflection.GeneratedProtocolMessageType( + "CapacityModeOptions", + (_message.Message,), + { + "Provisioned": _reflection.GeneratedProtocolMessageType( + "Provisioned", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned) + }, + ), + "OnDemand": _reflection.GeneratedProtocolMessageType( + "OnDemand", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand) + }, + ), + "DESCRIPTOR": _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions) + }, + ), + "Stats": _reflection.GeneratedProtocolMessageType( + "Stats", + (_message.Message,), + { + "Summary": _reflection.GeneratedProtocolMessageType( + "Summary", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACECAPACITYINFO_STATS_SUMMARY, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary) + }, + ), + "DESCRIPTOR": _NAMESPACECAPACITYINFO_STATS, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats) + }, + ), + "DESCRIPTOR": _NAMESPACECAPACITYINFO, + "__module__": "temporalio.api.cloud.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.namespace.v1.NamespaceCapacityInfo) + }, +) +_sym_db.RegisterMessage(NamespaceCapacityInfo) +_sym_db.RegisterMessage(NamespaceCapacityInfo.CapacityModeOptions) +_sym_db.RegisterMessage(NamespaceCapacityInfo.CapacityModeOptions.Provisioned) +_sym_db.RegisterMessage(NamespaceCapacityInfo.CapacityModeOptions.OnDemand) +_sym_db.RegisterMessage(NamespaceCapacityInfo.Stats) +_sym_db.RegisterMessage(NamespaceCapacityInfo.Stats.Summary) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.namespace.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/namespace/v1;namespace\252\002!Temporalio.Api.Cloud.Namespace.V1\352\002%Temporalio::Api::Cloud::Namespace::V1' + _MTLSAUTHSPEC.fields_by_name["accepted_client_ca_deprecated"]._options = None + _MTLSAUTHSPEC.fields_by_name[ "accepted_client_ca_deprecated" ]._serialized_options = b"\030\001" - _globals["_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY"]._loaded_options = None - _globals[ - "_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY" - ]._serialized_options = b"8\001" - _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._loaded_options = None - _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._serialized_options = b"8\001" - _globals["_NAMESPACESPEC"].fields_by_name["regions"]._loaded_options = None - _globals["_NAMESPACESPEC"].fields_by_name[ - "regions" - ]._serialized_options = b"\030\001" - _globals["_NAMESPACESPEC"].fields_by_name[ - "custom_search_attributes" - ]._loaded_options = None - _globals["_NAMESPACESPEC"].fields_by_name[ + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._options = None + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._options = None + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _NAMESPACESPEC.fields_by_name["regions"]._options = None + _NAMESPACESPEC.fields_by_name["regions"]._serialized_options = b"\030\001" + _NAMESPACESPEC.fields_by_name["custom_search_attributes"]._options = None + _NAMESPACESPEC.fields_by_name[ "custom_search_attributes" ]._serialized_options = b"\030\001" - _globals["_NAMESPACE_REGIONSTATUSENTRY"]._loaded_options = None - _globals["_NAMESPACE_REGIONSTATUSENTRY"]._serialized_options = b"8\001" - _globals["_NAMESPACE_TAGSENTRY"]._loaded_options = None - _globals["_NAMESPACE_TAGSENTRY"]._serialized_options = b"8\001" - _globals["_NAMESPACE"].fields_by_name["state_deprecated"]._loaded_options = None - _globals["_NAMESPACE"].fields_by_name[ - "state_deprecated" - ]._serialized_options = b"\030\001" - _globals["_NAMESPACE"].fields_by_name["region_status"]._loaded_options = None - _globals["_NAMESPACE"].fields_by_name[ - "region_status" - ]._serialized_options = b"\030\001" - _globals["_NAMESPACEREGIONSTATUS"].fields_by_name[ - "state_deprecated" - ]._loaded_options = None - _globals["_NAMESPACEREGIONSTATUS"].fields_by_name[ + _NAMESPACE_REGIONSTATUSENTRY._options = None + _NAMESPACE_REGIONSTATUSENTRY._serialized_options = b"8\001" + _NAMESPACE_TAGSENTRY._options = None + _NAMESPACE_TAGSENTRY._serialized_options = b"8\001" + _NAMESPACE.fields_by_name["state_deprecated"]._options = None + _NAMESPACE.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _NAMESPACE.fields_by_name["region_status"]._options = None + _NAMESPACE.fields_by_name["region_status"]._serialized_options = b"\030\001" + _NAMESPACEREGIONSTATUS.fields_by_name["state_deprecated"]._options = None + _NAMESPACEREGIONSTATUS.fields_by_name[ "state_deprecated" ]._serialized_options = b"\030\001" - _globals["_CERTIFICATEFILTERSPEC"]._serialized_start = 258 - _globals["_CERTIFICATEFILTERSPEC"]._serialized_end = 387 - _globals["_MTLSAUTHSPEC"]._serialized_start = 390 - _globals["_MTLSAUTHSPEC"]._serialized_end = 577 - _globals["_APIKEYAUTHSPEC"]._serialized_start = 579 - _globals["_APIKEYAUTHSPEC"]._serialized_end = 612 - _globals["_LIFECYCLESPEC"]._serialized_start = 614 - _globals["_LIFECYCLESPEC"]._serialized_end = 663 - _globals["_CODECSERVERSPEC"]._serialized_start = 666 - _globals["_CODECSERVERSPEC"]._serialized_end = 1038 - _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE"]._serialized_start = 872 - _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE"]._serialized_end = 1038 - _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE"]._serialized_start = 993 - _globals["_CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE"]._serialized_end = 1038 - _globals["_HIGHAVAILABILITYSPEC"]._serialized_start = 1040 - _globals["_HIGHAVAILABILITYSPEC"]._serialized_end = 1139 - _globals["_REPLICASPEC"]._serialized_start = 1141 - _globals["_REPLICASPEC"]._serialized_end = 1170 - _globals["_REPLICA"]._serialized_start = 1173 - _globals["_REPLICA"]._serialized_end = 1454 - _globals["_REPLICA_REPLICASTATE"]._serialized_start = 1303 - _globals["_REPLICA_REPLICASTATE"]._serialized_end = 1454 - _globals["_CAPACITYSPEC"]._serialized_start = 1457 - _globals["_CAPACITYSPEC"]._serialized_end = 1680 - _globals["_CAPACITYSPEC_ONDEMAND"]._serialized_start = 1632 - _globals["_CAPACITYSPEC_ONDEMAND"]._serialized_end = 1642 - _globals["_CAPACITYSPEC_PROVISIONED"]._serialized_start = 1644 - _globals["_CAPACITYSPEC_PROVISIONED"]._serialized_end = 1672 - _globals["_CAPACITY"]._serialized_start = 1683 - _globals["_CAPACITY"]._serialized_end = 2415 - _globals["_CAPACITY_ONDEMAND"]._serialized_start = 1632 - _globals["_CAPACITY_ONDEMAND"]._serialized_end = 1642 - _globals["_CAPACITY_PROVISIONED"]._serialized_start = 1933 - _globals["_CAPACITY_PROVISIONED"]._serialized_end = 1969 - _globals["_CAPACITY_REQUEST"]._serialized_start = 1972 - _globals["_CAPACITY_REQUEST"]._serialized_end = 2399 - _globals["_CAPACITY_REQUEST_STATE"]._serialized_start = 2239 - _globals["_CAPACITY_REQUEST_STATE"]._serialized_end = 2399 - _globals["_FAIRNESSSPEC"]._serialized_start = 2417 - _globals["_FAIRNESSSPEC"]._serialized_end = 2468 - _globals["_NAMESPACESPEC"]._serialized_start = 2471 - _globals["_NAMESPACESPEC"]._serialized_end = 3835 - _globals["_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY"]._serialized_start = 3346 - _globals["_NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY"]._serialized_end = 3407 - _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._serialized_start = 3409 - _globals["_NAMESPACESPEC_SEARCHATTRIBUTESENTRY"]._serialized_end = 3532 - _globals["_NAMESPACESPEC_SEARCHATTRIBUTETYPE"]._serialized_start = 3535 - _globals["_NAMESPACESPEC_SEARCHATTRIBUTETYPE"]._serialized_end = 3835 - _globals["_ENDPOINTS"]._serialized_start = 3837 - _globals["_ENDPOINTS"]._serialized_end = 3918 - _globals["_LIMITS"]._serialized_start = 3920 - _globals["_LIMITS"]._serialized_end = 3962 - _globals["_AWSPRIVATELINKINFO"]._serialized_start = 3964 - _globals["_AWSPRIVATELINKINFO"]._serialized_end = 4052 - _globals["_PRIVATECONNECTIVITY"]._serialized_start = 4054 - _globals["_PRIVATECONNECTIVITY"]._serialized_end = 4170 - _globals["_NAMESPACE"]._serialized_start = 4173 - _globals["_NAMESPACE"]._serialized_end = 5264 - _globals["_NAMESPACE_REGIONSTATUSENTRY"]._serialized_start = 5112 - _globals["_NAMESPACE_REGIONSTATUSENTRY"]._serialized_end = 5219 - _globals["_NAMESPACE_TAGSENTRY"]._serialized_start = 5221 - _globals["_NAMESPACE_TAGSENTRY"]._serialized_end = 5264 - _globals["_NAMESPACEREGIONSTATUS"]._serialized_start = 5267 - _globals["_NAMESPACEREGIONSTATUS"]._serialized_end = 5550 - _globals["_NAMESPACEREGIONSTATUS_STATE"]._serialized_start = 5427 - _globals["_NAMESPACEREGIONSTATUS_STATE"]._serialized_end = 5550 - _globals["_EXPORTSINKSPEC"]._serialized_start = 5553 - _globals["_EXPORTSINKSPEC"]._serialized_end = 5698 - _globals["_EXPORTSINK"]._serialized_start = 5701 - _globals["_EXPORTSINK"]._serialized_end = 6203 - _globals["_EXPORTSINK_HEALTH"]._serialized_start = 6092 - _globals["_EXPORTSINK_HEALTH"]._serialized_end = 6203 - _globals["_NAMESPACECAPACITYINFO"]._serialized_start = 6206 - _globals["_NAMESPACECAPACITYINFO"]._serialized_end = 7005 - _globals["_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS"]._serialized_start = 6522 - _globals["_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS"]._serialized_end = 6861 - _globals[ - "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED" - ]._serialized_start = 6758 - _globals[ - "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED" - ]._serialized_end = 6830 - _globals[ - "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND" - ]._serialized_start = 6832 - _globals[ - "_NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND" - ]._serialized_end = 6861 - _globals["_NAMESPACECAPACITYINFO_STATS"]._serialized_start = 6864 - _globals["_NAMESPACECAPACITYINFO_STATS"]._serialized_end = 7005 - _globals["_NAMESPACECAPACITYINFO_STATS_SUMMARY"]._serialized_start = 6956 - _globals["_NAMESPACECAPACITYINFO_STATS_SUMMARY"]._serialized_end = 7005 + _CERTIFICATEFILTERSPEC._serialized_start = 258 + _CERTIFICATEFILTERSPEC._serialized_end = 387 + _MTLSAUTHSPEC._serialized_start = 390 + _MTLSAUTHSPEC._serialized_end = 577 + _APIKEYAUTHSPEC._serialized_start = 579 + _APIKEYAUTHSPEC._serialized_end = 612 + _LIFECYCLESPEC._serialized_start = 614 + _LIFECYCLESPEC._serialized_end = 663 + _CODECSERVERSPEC._serialized_start = 666 + _CODECSERVERSPEC._serialized_end = 1038 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_start = 872 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE._serialized_end = 1038 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_start = 993 + _CODECSERVERSPEC_CUSTOMERRORMESSAGE_ERRORMESSAGE._serialized_end = 1038 + _HIGHAVAILABILITYSPEC._serialized_start = 1040 + _HIGHAVAILABILITYSPEC._serialized_end = 1139 + _REPLICASPEC._serialized_start = 1141 + _REPLICASPEC._serialized_end = 1170 + _REPLICA._serialized_start = 1173 + _REPLICA._serialized_end = 1454 + _REPLICA_REPLICASTATE._serialized_start = 1303 + _REPLICA_REPLICASTATE._serialized_end = 1454 + _CAPACITYSPEC._serialized_start = 1457 + _CAPACITYSPEC._serialized_end = 1680 + _CAPACITYSPEC_ONDEMAND._serialized_start = 1632 + _CAPACITYSPEC_ONDEMAND._serialized_end = 1642 + _CAPACITYSPEC_PROVISIONED._serialized_start = 1644 + _CAPACITYSPEC_PROVISIONED._serialized_end = 1672 + _CAPACITY._serialized_start = 1683 + _CAPACITY._serialized_end = 2415 + _CAPACITY_ONDEMAND._serialized_start = 1632 + _CAPACITY_ONDEMAND._serialized_end = 1642 + _CAPACITY_PROVISIONED._serialized_start = 1933 + _CAPACITY_PROVISIONED._serialized_end = 1969 + _CAPACITY_REQUEST._serialized_start = 1972 + _CAPACITY_REQUEST._serialized_end = 2399 + _CAPACITY_REQUEST_STATE._serialized_start = 2239 + _CAPACITY_REQUEST_STATE._serialized_end = 2399 + _FAIRNESSSPEC._serialized_start = 2417 + _FAIRNESSSPEC._serialized_end = 2468 + _NAMESPACESPEC._serialized_start = 2471 + _NAMESPACESPEC._serialized_end = 3835 + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_start = 3346 + _NAMESPACESPEC_CUSTOMSEARCHATTRIBUTESENTRY._serialized_end = 3407 + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_start = 3409 + _NAMESPACESPEC_SEARCHATTRIBUTESENTRY._serialized_end = 3532 + _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_start = 3535 + _NAMESPACESPEC_SEARCHATTRIBUTETYPE._serialized_end = 3835 + _ENDPOINTS._serialized_start = 3837 + _ENDPOINTS._serialized_end = 3918 + _LIMITS._serialized_start = 3920 + _LIMITS._serialized_end = 3962 + _AWSPRIVATELINKINFO._serialized_start = 3964 + _AWSPRIVATELINKINFO._serialized_end = 4052 + _PRIVATECONNECTIVITY._serialized_start = 4054 + _PRIVATECONNECTIVITY._serialized_end = 4170 + _NAMESPACE._serialized_start = 4173 + _NAMESPACE._serialized_end = 5264 + _NAMESPACE_REGIONSTATUSENTRY._serialized_start = 5112 + _NAMESPACE_REGIONSTATUSENTRY._serialized_end = 5219 + _NAMESPACE_TAGSENTRY._serialized_start = 5221 + _NAMESPACE_TAGSENTRY._serialized_end = 5264 + _NAMESPACEREGIONSTATUS._serialized_start = 5267 + _NAMESPACEREGIONSTATUS._serialized_end = 5550 + _NAMESPACEREGIONSTATUS_STATE._serialized_start = 5427 + _NAMESPACEREGIONSTATUS_STATE._serialized_end = 5550 + _EXPORTSINKSPEC._serialized_start = 5553 + _EXPORTSINKSPEC._serialized_end = 5698 + _EXPORTSINK._serialized_start = 5701 + _EXPORTSINK._serialized_end = 6203 + _EXPORTSINK_HEALTH._serialized_start = 6092 + _EXPORTSINK_HEALTH._serialized_end = 6203 + _NAMESPACECAPACITYINFO._serialized_start = 6206 + _NAMESPACECAPACITYINFO._serialized_end = 7005 + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS._serialized_start = 6522 + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS._serialized_end = 6861 + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED._serialized_start = 6758 + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_PROVISIONED._serialized_end = 6830 + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND._serialized_start = 6832 + _NAMESPACECAPACITYINFO_CAPACITYMODEOPTIONS_ONDEMAND._serialized_end = 6861 + _NAMESPACECAPACITYINFO_STATS._serialized_start = 6864 + _NAMESPACECAPACITYINFO_STATS._serialized_end = 7005 + _NAMESPACECAPACITYINFO_STATS_SUMMARY._serialized_start = 6956 + _NAMESPACECAPACITYINFO_STATS_SUMMARY._serialized_end = 7005 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/namespace/v1/message_pb2.pyi b/temporalio/api/cloud/namespace/v1/message_pb2.pyi index eaed5a086..b2cbe49d8 100644 --- a/temporalio/api/cloud/namespace/v1/message_pb2.pyi +++ b/temporalio/api/cloud/namespace/v1/message_pb2.pyi @@ -25,7 +25,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class CertificateFilterSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -59,7 +58,7 @@ class CertificateFilterSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "common_name", b"common_name", "organization", @@ -71,9 +70,8 @@ class CertificateFilterSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___CertificateFilterSpec: typing_extensions.TypeAlias = CertificateFilterSpec +global___CertificateFilterSpec = CertificateFilterSpec -@typing.final class MtlsAuthSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -94,34 +92,33 @@ class MtlsAuthSpec(google.protobuf.message.Message): This must only be one value, but the CA can have a chain. temporal:versioning:min_version=v0.2.0 """ - enabled: builtins.bool - """Flag to enable mTLS auth (default: disabled). - Note: disabling mTLS auth will cause existing mTLS connections to fail. - temporal:versioning:min_version=v0.2.0 - """ @property def certificate_filters( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CertificateFilterSpec + global___CertificateFilterSpec ]: """Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty. """ - + enabled: builtins.bool + """Flag to enable mTLS auth (default: disabled). + Note: disabling mTLS auth will cause existing mTLS connections to fail. + temporal:versioning:min_version=v0.2.0 + """ def __init__( self, *, accepted_client_ca_deprecated: builtins.str = ..., accepted_client_ca: builtins.bytes = ..., - certificate_filters: collections.abc.Iterable[Global___CertificateFilterSpec] + certificate_filters: collections.abc.Iterable[global___CertificateFilterSpec] | None = ..., enabled: builtins.bool = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "accepted_client_ca", b"accepted_client_ca", "accepted_client_ca_deprecated", @@ -133,9 +130,8 @@ class MtlsAuthSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___MtlsAuthSpec: typing_extensions.TypeAlias = MtlsAuthSpec +global___MtlsAuthSpec = MtlsAuthSpec -@typing.final class ApiKeyAuthSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -149,11 +145,12 @@ class ApiKeyAuthSpec(google.protobuf.message.Message): *, enabled: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["enabled", b"enabled"] + ) -> None: ... -Global___ApiKeyAuthSpec: typing_extensions.TypeAlias = ApiKeyAuthSpec +global___ApiKeyAuthSpec = ApiKeyAuthSpec -@typing.final class LifecycleSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -167,22 +164,19 @@ class LifecycleSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "enable_delete_protection", b"enable_delete_protection" ], ) -> None: ... -Global___LifecycleSpec: typing_extensions.TypeAlias = LifecycleSpec +global___LifecycleSpec = LifecycleSpec -@typing.final class CodecServerSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class CustomErrorMessage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ErrorMessage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -199,25 +193,27 @@ class CodecServerSpec(google.protobuf.message.Message): link: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["link", b"link", "message", b"message"] + self, + field_name: typing_extensions.Literal[ + "link", b"link", "message", b"message" + ], ) -> None: ... DEFAULT_FIELD_NUMBER: builtins.int @property - def default(self) -> Global___CodecServerSpec.CustomErrorMessage.ErrorMessage: + def default(self) -> global___CodecServerSpec.CustomErrorMessage.ErrorMessage: """The error message to display by default for any remote codec server errors.""" - def __init__( self, *, - default: Global___CodecServerSpec.CustomErrorMessage.ErrorMessage + default: global___CodecServerSpec.CustomErrorMessage.ErrorMessage | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["default", b"default"] + self, field_name: typing_extensions.Literal["default", b"default"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["default", b"default"] + self, field_name: typing_extensions.Literal["default", b"default"] ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int @@ -231,26 +227,27 @@ class CodecServerSpec(google.protobuf.message.Message): include_cross_origin_credentials: builtins.bool """Whether to include cross-origin credentials.""" @property - def custom_error_message(self) -> Global___CodecServerSpec.CustomErrorMessage: + def custom_error_message(self) -> global___CodecServerSpec.CustomErrorMessage: """A custom error message to display for remote codec server errors. temporal:versioning:min_version=v0.5.1 """ - def __init__( self, *, endpoint: builtins.str = ..., pass_access_token: builtins.bool = ..., include_cross_origin_credentials: builtins.bool = ..., - custom_error_message: Global___CodecServerSpec.CustomErrorMessage | None = ..., + custom_error_message: global___CodecServerSpec.CustomErrorMessage | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal["custom_error_message", b"custom_error_message"], + field_name: typing_extensions.Literal[ + "custom_error_message", b"custom_error_message" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "custom_error_message", b"custom_error_message", "endpoint", @@ -262,9 +259,8 @@ class CodecServerSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___CodecServerSpec: typing_extensions.TypeAlias = CodecServerSpec +global___CodecServerSpec = CodecServerSpec -@typing.final class HighAvailabilitySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -284,7 +280,7 @@ class HighAvailabilitySpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "disable_managed_failover", b"disable_managed_failover", "disable_passive_poller_forwarding", @@ -292,9 +288,8 @@ class HighAvailabilitySpec(google.protobuf.message.Message): ], ) -> None: ... -Global___HighAvailabilitySpec: typing_extensions.TypeAlias = HighAvailabilitySpec +global___HighAvailabilitySpec = HighAvailabilitySpec -@typing.final class ReplicaSpec(google.protobuf.message.Message): """temporal:versioning:min_version=v0.13.0""" @@ -313,11 +308,12 @@ class ReplicaSpec(google.protobuf.message.Message): *, region: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["region", b"region"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["region", b"region"] + ) -> None: ... -Global___ReplicaSpec: typing_extensions.TypeAlias = ReplicaSpec +global___ReplicaSpec = ReplicaSpec -@typing.final class Replica(google.protobuf.message.Message): """temporal:versioning:min_version=v0.13.0""" @@ -332,7 +328,7 @@ class Replica(google.protobuf.message.Message): Replica._ReplicaState.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor REPLICA_STATE_UNSPECIFIED: Replica._ReplicaState.ValueType # 0 REPLICA_STATE_ADDING: Replica._ReplicaState.ValueType # 1 @@ -363,7 +359,7 @@ class Replica(google.protobuf.message.Message): """The id of the replica. This is generated by Temporal after a replica is created.""" is_primary: builtins.bool """Whether this replica is currently the primary one.""" - state: Global___Replica.ReplicaState.ValueType + state: global___Replica.ReplicaState.ValueType """The current state of this replica.""" region: builtins.str """The cloud provider and region of this replica.""" @@ -372,12 +368,12 @@ class Replica(google.protobuf.message.Message): *, id: builtins.str = ..., is_primary: builtins.bool = ..., - state: Global___Replica.ReplicaState.ValueType = ..., + state: global___Replica.ReplicaState.ValueType = ..., region: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "id", b"id", "is_primary", @@ -389,15 +385,13 @@ class Replica(google.protobuf.message.Message): ], ) -> None: ... -Global___Replica: typing_extensions.TypeAlias = Replica +global___Replica = Replica -@typing.final class CapacitySpec(google.protobuf.message.Message): """temporal:versioning:min_version=v0.10.0""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class OnDemand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -405,7 +399,6 @@ class CapacitySpec(google.protobuf.message.Message): self, ) -> None: ... - @typing.final class Provisioned(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -419,47 +412,45 @@ class CapacitySpec(google.protobuf.message.Message): *, value: builtins.float = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["value", b"value"] + ) -> None: ... ON_DEMAND_FIELD_NUMBER: builtins.int PROVISIONED_FIELD_NUMBER: builtins.int @property - def on_demand(self) -> Global___CapacitySpec.OnDemand: + def on_demand(self) -> global___CapacitySpec.OnDemand: """The on-demand capacity mode configuration.""" - @property - def provisioned(self) -> Global___CapacitySpec.Provisioned: + def provisioned(self) -> global___CapacitySpec.Provisioned: """The provisioned capacity mode configuration.""" - def __init__( self, *, - on_demand: Global___CapacitySpec.OnDemand | None = ..., - provisioned: Global___CapacitySpec.Provisioned | None = ..., + on_demand: global___CapacitySpec.OnDemand | None = ..., + provisioned: global___CapacitySpec.Provisioned | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned", "spec", b"spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned", "spec", b"spec" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["spec", b"spec"] - ) -> typing.Literal["on_demand", "provisioned"] | None: ... + self, oneof_group: typing_extensions.Literal["spec", b"spec"] + ) -> typing_extensions.Literal["on_demand", "provisioned"] | None: ... -Global___CapacitySpec: typing_extensions.TypeAlias = CapacitySpec +global___CapacitySpec = CapacitySpec -@typing.final class Capacity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class OnDemand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -467,7 +458,6 @@ class Capacity(google.protobuf.message.Message): self, ) -> None: ... - @typing.final class Provisioned(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -482,10 +472,10 @@ class Capacity(google.protobuf.message.Message): current_value: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["current_value", b"current_value"] + self, + field_name: typing_extensions.Literal["current_value", b"current_value"], ) -> None: ... - @typing.final class Request(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -498,7 +488,7 @@ class Capacity(google.protobuf.message.Message): Capacity.Request._State.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_CAPACITY_REQUEST_UNSPECIFIED: Capacity.Request._State.ValueType # 0 STATE_CAPACITY_REQUEST_COMPLETED: Capacity.Request._State.ValueType # 1 @@ -516,40 +506,37 @@ class Capacity(google.protobuf.message.Message): END_TIME_FIELD_NUMBER: builtins.int ASYNC_OPERATION_ID_FIELD_NUMBER: builtins.int SPEC_FIELD_NUMBER: builtins.int - state: Global___Capacity.Request.State.ValueType + state: global___Capacity.Request.State.ValueType """The current state of the capacity request (e.g. in-progress, completed, failed).""" - async_operation_id: builtins.str - """The id of the async operation that is creating/updating/deleting the capacity, if any.""" @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the capacity request was created.""" - @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the capacity request was completed or failed.""" - + async_operation_id: builtins.str + """The id of the async operation that is creating/updating/deleting the capacity, if any.""" @property - def spec(self) -> Global___CapacitySpec: + def spec(self) -> global___CapacitySpec: """The requested capacity specification.""" - def __init__( self, *, - state: Global___Capacity.Request.State.ValueType = ..., + state: global___Capacity.Request.State.ValueType = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., async_operation_id: builtins.str = ..., - spec: Global___CapacitySpec | None = ..., + spec: global___CapacitySpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "spec", b"spec", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "end_time", @@ -567,27 +554,24 @@ class Capacity(google.protobuf.message.Message): PROVISIONED_FIELD_NUMBER: builtins.int LATEST_REQUEST_FIELD_NUMBER: builtins.int @property - def on_demand(self) -> Global___Capacity.OnDemand: + def on_demand(self) -> global___Capacity.OnDemand: """The status of on-demand capacity mode.""" - @property - def provisioned(self) -> Global___Capacity.Provisioned: + def provisioned(self) -> global___Capacity.Provisioned: """The status of provisioned capacity mode.""" - @property - def latest_request(self) -> Global___Capacity.Request: + def latest_request(self) -> global___Capacity.Request: """The latest requested capacity for the namespace, if any.""" - def __init__( self, *, - on_demand: Global___Capacity.OnDemand | None = ..., - provisioned: Global___Capacity.Provisioned | None = ..., - latest_request: Global___Capacity.Request | None = ..., + on_demand: global___Capacity.OnDemand | None = ..., + provisioned: global___Capacity.Provisioned | None = ..., + latest_request: global___Capacity.Request | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_mode", b"current_mode", "latest_request", @@ -600,7 +584,7 @@ class Capacity(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_mode", b"current_mode", "latest_request", @@ -612,12 +596,11 @@ class Capacity(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["current_mode", b"current_mode"] - ) -> typing.Literal["on_demand", "provisioned"] | None: ... + self, oneof_group: typing_extensions.Literal["current_mode", b"current_mode"] + ) -> typing_extensions.Literal["on_demand", "provisioned"] | None: ... -Global___Capacity: typing_extensions.TypeAlias = Capacity +global___Capacity = Capacity -@typing.final class FairnessSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -631,14 +614,13 @@ class FairnessSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "task_queue_fairness_enabled", b"task_queue_fairness_enabled" ], ) -> None: ... -Global___FairnessSpec: typing_extensions.TypeAlias = FairnessSpec +global___FairnessSpec = FairnessSpec -@typing.final class NamespaceSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -651,7 +633,7 @@ class NamespaceSpec(google.protobuf.message.Message): NamespaceSpec._SearchAttributeType.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: ( NamespaceSpec._SearchAttributeType.ValueType @@ -680,7 +662,6 @@ class NamespaceSpec(google.protobuf.message.Message): SEARCH_ATTRIBUTE_TYPE_DATETIME: NamespaceSpec.SearchAttributeType.ValueType # 6 SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: NamespaceSpec.SearchAttributeType.ValueType # 7 - @typing.final class CustomSearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -695,25 +676,26 @@ class NamespaceSpec(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor KEY_FIELD_NUMBER: builtins.int VALUE_FIELD_NUMBER: builtins.int key: builtins.str - value: Global___NamespaceSpec.SearchAttributeType.ValueType + value: global___NamespaceSpec.SearchAttributeType.ValueType def __init__( self, *, key: builtins.str = ..., - value: Global___NamespaceSpec.SearchAttributeType.ValueType = ..., + value: global___NamespaceSpec.SearchAttributeType.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAME_FIELD_NUMBER: builtins.int @@ -735,11 +717,6 @@ class NamespaceSpec(google.protobuf.message.Message): This will create a namespace that's available at '..tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed. """ - retention_days: builtins.int - """The number of days the workflows data will be retained for. - Changes to the retention period may impact your storage costs. - Any changes to the retention period will be applied to all new running workflows. - """ @property def regions( self, @@ -755,20 +732,22 @@ class NamespaceSpec(google.protobuf.message.Message): Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0 """ - + retention_days: builtins.int + """The number of days the workflows data will be retained for. + Changes to the retention period may impact your storage costs. + Any changes to the retention period will be applied to all new running workflows. + """ @property - def mtls_auth(self) -> Global___MtlsAuthSpec: + def mtls_auth(self) -> global___MtlsAuthSpec: """The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled. """ - @property - def api_key_auth(self) -> Global___ApiKeyAuthSpec: + def api_key_auth(self) -> global___ApiKeyAuthSpec: """The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0 """ - @property def custom_search_attributes( self, @@ -781,12 +760,11 @@ class NamespaceSpec(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0 """ - @property def search_attributes( self, ) -> google.protobuf.internal.containers.ScalarMap[ - builtins.str, Global___NamespaceSpec.SearchAttributeType.ValueType + builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType ]: """The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. @@ -795,25 +773,21 @@ class NamespaceSpec(google.protobuf.message.Message): temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes """ - @property - def codec_server(self) -> Global___CodecServerSpec: + def codec_server(self) -> global___CodecServerSpec: """Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset. """ - @property - def lifecycle(self) -> Global___LifecycleSpec: + def lifecycle(self) -> global___LifecycleSpec: """The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0 """ - @property - def high_availability(self) -> Global___HighAvailabilitySpec: + def high_availability(self) -> global___HighAvailabilitySpec: """The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0 """ - @property def connectivity_rule_ids( self, @@ -822,9 +796,8 @@ class NamespaceSpec(google.protobuf.message.Message): This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0 """ - @property - def capacity_spec(self) -> Global___CapacitySpec: + def capacity_spec(self) -> global___CapacitySpec: """The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. @@ -832,12 +805,11 @@ class NamespaceSpec(google.protobuf.message.Message): Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0 """ - @property def replicas( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ReplicaSpec + global___ReplicaSpec ]: """The replication configuration for the namespace. At least one replica must be specified. @@ -847,39 +819,37 @@ class NamespaceSpec(google.protobuf.message.Message): If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0 """ - @property - def fairness(self) -> Global___FairnessSpec: + def fairness(self) -> global___FairnessSpec: """The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0 """ - def __init__( self, *, name: builtins.str = ..., regions: collections.abc.Iterable[builtins.str] | None = ..., retention_days: builtins.int = ..., - mtls_auth: Global___MtlsAuthSpec | None = ..., - api_key_auth: Global___ApiKeyAuthSpec | None = ..., + mtls_auth: global___MtlsAuthSpec | None = ..., + api_key_auth: global___ApiKeyAuthSpec | None = ..., custom_search_attributes: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., search_attributes: collections.abc.Mapping[ - builtins.str, Global___NamespaceSpec.SearchAttributeType.ValueType + builtins.str, global___NamespaceSpec.SearchAttributeType.ValueType ] | None = ..., - codec_server: Global___CodecServerSpec | None = ..., - lifecycle: Global___LifecycleSpec | None = ..., - high_availability: Global___HighAvailabilitySpec | None = ..., + codec_server: global___CodecServerSpec | None = ..., + lifecycle: global___LifecycleSpec | None = ..., + high_availability: global___HighAvailabilitySpec | None = ..., connectivity_rule_ids: collections.abc.Iterable[builtins.str] | None = ..., - capacity_spec: Global___CapacitySpec | None = ..., - replicas: collections.abc.Iterable[Global___ReplicaSpec] | None = ..., - fairness: Global___FairnessSpec | None = ..., + capacity_spec: global___CapacitySpec | None = ..., + replicas: collections.abc.Iterable[global___ReplicaSpec] | None = ..., + fairness: global___FairnessSpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "api_key_auth", b"api_key_auth", "capacity_spec", @@ -898,7 +868,7 @@ class NamespaceSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "api_key_auth", b"api_key_auth", "capacity_spec", @@ -930,9 +900,8 @@ class NamespaceSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceSpec: typing_extensions.TypeAlias = NamespaceSpec +global___NamespaceSpec = NamespaceSpec -@typing.final class Endpoints(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -954,7 +923,7 @@ class Endpoints(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "grpc_address", b"grpc_address", "mtls_grpc_address", @@ -964,9 +933,8 @@ class Endpoints(google.protobuf.message.Message): ], ) -> None: ... -Global___Endpoints: typing_extensions.TypeAlias = Endpoints +global___Endpoints = Endpoints -@typing.final class Limits(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -982,14 +950,13 @@ class Limits(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "actions_per_second_limit", b"actions_per_second_limit" ], ) -> None: ... -Global___Limits: typing_extensions.TypeAlias = Limits +global___Limits = Limits -@typing.final class AWSPrivateLinkInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1000,13 +967,11 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of principal arns that are allowed to access the namespace on the private link.""" - @property def vpc_endpoint_service_names( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """The list of vpc endpoint service names that are associated with the namespace.""" - def __init__( self, *, @@ -1015,7 +980,7 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "allowed_principal_arns", b"allowed_principal_arns", "vpc_endpoint_service_names", @@ -1023,9 +988,8 @@ class AWSPrivateLinkInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___AWSPrivateLinkInfo: typing_extensions.TypeAlias = AWSPrivateLinkInfo +global___AWSPrivateLinkInfo = AWSPrivateLinkInfo -@typing.final class PrivateConnectivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1034,34 +998,32 @@ class PrivateConnectivity(google.protobuf.message.Message): region: builtins.str """The id of the region where the private connectivity applies.""" @property - def aws_private_link(self) -> Global___AWSPrivateLinkInfo: + def aws_private_link(self) -> global___AWSPrivateLinkInfo: """The AWS PrivateLink info. This will only be set for an aws region. """ - def __init__( self, *, region: builtins.str = ..., - aws_private_link: Global___AWSPrivateLinkInfo | None = ..., + aws_private_link: global___AWSPrivateLinkInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["aws_private_link", b"aws_private_link"] + self, + field_name: typing_extensions.Literal["aws_private_link", b"aws_private_link"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "aws_private_link", b"aws_private_link", "region", b"region" ], ) -> None: ... -Global___PrivateConnectivity: typing_extensions.TypeAlias = PrivateConnectivity +global___PrivateConnectivity = PrivateConnectivity -@typing.final class Namespace(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class RegionStatusEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1069,21 +1031,21 @@ class Namespace(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___NamespaceRegionStatus: ... + def value(self) -> global___NamespaceRegionStatus: ... def __init__( self, *, key: builtins.str = ..., - value: Global___NamespaceRegionStatus | None = ..., + value: global___NamespaceRegionStatus | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class TagsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1098,7 +1060,8 @@ class Namespace(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -1124,6 +1087,9 @@ class Namespace(google.protobuf.message.Message): """The current version of the namespace specification. The next update operation will have to include this version. """ + @property + def spec(self) -> global___NamespaceSpec: + """The namespace specification.""" state_deprecated: builtins.str """The current state of the namespace. Deprecated: Not supported after v0.3.0 api version. Use state instead. @@ -1137,50 +1103,40 @@ class Namespace(google.protobuf.message.Message): """ async_operation_id: builtins.str """The id of the async operation that is creating/updating/deleting the namespace, if any.""" - active_region: builtins.str - """The currently active region for the namespace.""" - @property - def spec(self) -> Global___NamespaceSpec: - """The namespace specification.""" - @property - def endpoints(self) -> Global___Endpoints: + def endpoints(self) -> global___Endpoints: """The endpoints for the namespace.""" - + active_region: builtins.str + """The currently active region for the namespace.""" @property - def limits(self) -> Global___Limits: + def limits(self) -> global___Limits: """The limits set on the namespace currently.""" - @property def private_connectivities( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___PrivateConnectivity + global___PrivateConnectivity ]: """The private connectivities for the namespace, if any.""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the namespace was created.""" - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the namespace was last modified. Will not be set if the namespace has never been modified. """ - @property def region_status( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___NamespaceRegionStatus + builtins.str, global___NamespaceRegionStatus ]: """The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map. deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0 """ - @property def connectivity_rules( self, @@ -1188,45 +1144,41 @@ class Namespace(google.protobuf.message.Message): temporalio.api.cloud.connectivityrule.v1.message_pb2.ConnectivityRule ]: """The connectivity rules that are set on this namespace.""" - @property def tags( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The tags for the namespace.""" - @property - def capacity(self) -> Global___Capacity: + def capacity(self) -> global___Capacity: """The status of namespace's capacity, if any.""" - @property def replicas( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Replica + global___Replica ]: """The status of each replica where the namespace is available. temporal:versioning:min_version=v0.13.0 """ - def __init__( self, *, namespace: builtins.str = ..., resource_version: builtins.str = ..., - spec: Global___NamespaceSpec | None = ..., + spec: global___NamespaceSpec | None = ..., state_deprecated: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., - endpoints: Global___Endpoints | None = ..., + endpoints: global___Endpoints | None = ..., active_region: builtins.str = ..., - limits: Global___Limits | None = ..., - private_connectivities: collections.abc.Iterable[Global___PrivateConnectivity] + limits: global___Limits | None = ..., + private_connectivities: collections.abc.Iterable[global___PrivateConnectivity] | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., region_status: collections.abc.Mapping[ - builtins.str, Global___NamespaceRegionStatus + builtins.str, global___NamespaceRegionStatus ] | None = ..., connectivity_rules: collections.abc.Iterable[ @@ -1234,12 +1186,12 @@ class Namespace(google.protobuf.message.Message): ] | None = ..., tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - capacity: Global___Capacity | None = ..., - replicas: collections.abc.Iterable[Global___Replica] | None = ..., + capacity: global___Capacity | None = ..., + replicas: collections.abc.Iterable[global___Replica] | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "capacity", b"capacity", "created_time", @@ -1256,7 +1208,7 @@ class Namespace(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "active_region", b"active_region", "async_operation_id", @@ -1294,9 +1246,8 @@ class Namespace(google.protobuf.message.Message): ], ) -> None: ... -Global___Namespace: typing_extensions.TypeAlias = Namespace +global___Namespace = Namespace -@typing.final class NamespaceRegionStatus(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1309,7 +1260,7 @@ class NamespaceRegionStatus(google.protobuf.message.Message): NamespaceRegionStatus._State.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: NamespaceRegionStatus._State.ValueType # 0 STATE_ADDING: NamespaceRegionStatus._State.ValueType # 1 @@ -1346,7 +1297,7 @@ class NamespaceRegionStatus(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0 """ - state: Global___NamespaceRegionStatus.State.ValueType + state: global___NamespaceRegionStatus.State.ValueType """The current state of the namespace region. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated @@ -1357,12 +1308,12 @@ class NamespaceRegionStatus(google.protobuf.message.Message): self, *, state_deprecated: builtins.str = ..., - state: Global___NamespaceRegionStatus.State.ValueType = ..., + state: global___NamespaceRegionStatus.State.ValueType = ..., async_operation_id: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "state", @@ -1372,9 +1323,8 @@ class NamespaceRegionStatus(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceRegionStatus: typing_extensions.TypeAlias = NamespaceRegionStatus +global___NamespaceRegionStatus = NamespaceRegionStatus -@typing.final class ExportSinkSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1389,13 +1339,11 @@ class ExportSinkSpec(google.protobuf.message.Message): @property def s3(self) -> temporalio.api.cloud.sink.v1.message_pb2.S3Spec: """The S3 configuration details when destination_type is S3.""" - @property def gcs(self) -> temporalio.api.cloud.sink.v1.message_pb2.GCSSpec: """This is a feature under development. We will allow GCS sink support for GCP Namespaces. The GCS configuration details when destination_type is GCS. """ - def __init__( self, *, @@ -1405,18 +1353,17 @@ class ExportSinkSpec(google.protobuf.message.Message): gcs: temporalio.api.cloud.sink.v1.message_pb2.GCSSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["gcs", b"gcs", "s3", b"s3"] + self, field_name: typing_extensions.Literal["gcs", b"gcs", "s3", b"s3"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "enabled", b"enabled", "gcs", b"gcs", "name", b"name", "s3", b"s3" ], ) -> None: ... -Global___ExportSinkSpec: typing_extensions.TypeAlias = ExportSinkSpec +global___ExportSinkSpec = ExportSinkSpec -@typing.final class ExportSink(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1429,7 +1376,7 @@ class ExportSink(google.protobuf.message.Message): ExportSink._Health.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor HEALTH_UNSPECIFIED: ExportSink._Health.ValueType # 0 HEALTH_OK: ExportSink._Health.ValueType # 1 @@ -1456,37 +1403,34 @@ class ExportSink(google.protobuf.message.Message): """The version of the export sink resource.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the export sink.""" - health: Global___ExportSink.Health.ValueType + @property + def spec(self) -> global___ExportSinkSpec: + """The specification details of the export sink.""" + health: global___ExportSink.Health.ValueType """The health status of the export sink.""" error_message: builtins.str """An error message describing any issues with the export sink, if applicable.""" - @property - def spec(self) -> Global___ExportSinkSpec: - """The specification details of the export sink.""" - @property def latest_data_export_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The timestamp of the latest successful data export.""" - @property def last_health_check_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The timestamp of the last health check performed on the export sink.""" - def __init__( self, *, name: builtins.str = ..., resource_version: builtins.str = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., - spec: Global___ExportSinkSpec | None = ..., - health: Global___ExportSink.Health.ValueType = ..., + spec: global___ExportSinkSpec | None = ..., + health: global___ExportSink.Health.ValueType = ..., error_message: builtins.str = ..., latest_data_export_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_health_check_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_health_check_time", b"last_health_check_time", "latest_data_export_time", @@ -1497,7 +1441,7 @@ class ExportSink(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "error_message", b"error_message", "health", @@ -1517,29 +1461,21 @@ class ExportSink(google.protobuf.message.Message): ], ) -> None: ... -Global___ExportSink: typing_extensions.TypeAlias = ExportSink +global___ExportSink = ExportSink -@typing.final class NamespaceCapacityInfo(google.protobuf.message.Message): """NamespaceCapacityInfo contains detailed capacity information for a namespace.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class CapacityModeOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Provisioned(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor VALID_TRU_VALUES_FIELD_NUMBER: builtins.int MAX_AVAILABLE_TRU_VALUE_FIELD_NUMBER: builtins.int - max_available_tru_value: builtins.float - """The maximum TRU value that can currently be set for this namespace. - This may be lower than the highest value in valid_tru_values due to - inventory constraints. - """ @property def valid_tru_values( self, @@ -1549,7 +1485,11 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): """The valid TRU (Temporal Resource Unit) values that can be set. These are the discrete capacity tiers available for selection. """ - + max_available_tru_value: builtins.float + """The maximum TRU value that can currently be set for this namespace. + This may be lower than the highest value in valid_tru_values due to + inventory constraints. + """ def __init__( self, *, @@ -1558,7 +1498,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "max_available_tru_value", b"max_available_tru_value", "valid_tru_values", @@ -1566,7 +1506,6 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class OnDemand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1581,7 +1520,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): aps_limit: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["aps_limit", b"aps_limit"] + self, field_name: typing_extensions.Literal["aps_limit", b"aps_limit"] ) -> None: ... PROVISIONED_FIELD_NUMBER: builtins.int @@ -1589,41 +1528,37 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): @property def provisioned( self, - ) -> Global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned: + ) -> global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned: """Provisioned capacity options and entitlements.""" - @property def on_demand( self, - ) -> Global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand: + ) -> global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand: """On-Demand capacity information.""" - def __init__( self, *, - provisioned: Global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned + provisioned: global___NamespaceCapacityInfo.CapacityModeOptions.Provisioned | None = ..., - on_demand: Global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand + on_demand: global___NamespaceCapacityInfo.CapacityModeOptions.OnDemand | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "on_demand", b"on_demand", "provisioned", b"provisioned" ], ) -> None: ... - @typing.final class Stats(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Summary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1642,25 +1577,26 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "mean", b"mean", "p90", b"p90", "p99", b"p99" ], ) -> None: ... APS_FIELD_NUMBER: builtins.int @property - def aps(self) -> Global___NamespaceCapacityInfo.Stats.Summary: + def aps(self) -> global___NamespaceCapacityInfo.Stats.Summary: """Actions-per-second measurements summarized over the last 7 days.""" - def __init__( self, *, - aps: Global___NamespaceCapacityInfo.Stats.Summary | None = ..., + aps: global___NamespaceCapacityInfo.Stats.Summary | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["aps", b"aps"] + self, field_name: typing_extensions.Literal["aps", b"aps"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["aps", b"aps"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["aps", b"aps"] + ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int HAS_LEGACY_LIMITS_FIELD_NUMBER: builtins.int @@ -1674,35 +1610,32 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): When true, adjusting the namespace's capacity will reset this limit. """ @property - def current_capacity(self) -> Global___Capacity: + def current_capacity(self) -> global___Capacity: """The current capacity of the namespace. Includes the current mode (on-demand or provisioned) and latest request status. """ - @property - def mode_options(self) -> Global___NamespaceCapacityInfo.CapacityModeOptions: + def mode_options(self) -> global___NamespaceCapacityInfo.CapacityModeOptions: """Available capacity mode options for this namespace. Contains configuration limits for both provisioned and on-demand modes. """ - @property - def stats(self) -> Global___NamespaceCapacityInfo.Stats: + def stats(self) -> global___NamespaceCapacityInfo.Stats: """Usage statistics for the namespace over the last 7 days. Used to calculate On-Demand capacity limits, also useful for capacity planning. """ - def __init__( self, *, namespace: builtins.str = ..., has_legacy_limits: builtins.bool = ..., - current_capacity: Global___Capacity | None = ..., - mode_options: Global___NamespaceCapacityInfo.CapacityModeOptions | None = ..., - stats: Global___NamespaceCapacityInfo.Stats | None = ..., + current_capacity: global___Capacity | None = ..., + mode_options: global___NamespaceCapacityInfo.CapacityModeOptions | None = ..., + stats: global___NamespaceCapacityInfo.Stats | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_capacity", b"current_capacity", "mode_options", @@ -1713,7 +1646,7 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_capacity", b"current_capacity", "has_legacy_limits", @@ -1727,4 +1660,4 @@ class NamespaceCapacityInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceCapacityInfo: typing_extensions.TypeAlias = NamespaceCapacityInfo +global___NamespaceCapacityInfo = NamespaceCapacityInfo diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.py b/temporalio/api/cloud/nexus/v1/message_pb2.py index 6e9ab5a32..f34cac2cc 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.py +++ b/temporalio/api/cloud/nexus/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/nexus/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/nexus/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,32 +27,98 @@ b'\n)temporal/api/cloud/nexus/v1/message.proto\x12\x1btemporal.api.cloud.nexus.v1\x1a$temporal/api/common/v1/message.proto\x1a,temporal/api/cloud/resource/v1/message.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x83\x02\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btarget_spec\x18\x02 \x01(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointTargetSpec\x12\x45\n\x0cpolicy_specs\x18\x03 \x03(\x0b\x32/.temporal.api.cloud.nexus.v1.EndpointPolicySpec\x12"\n\x16\x64\x65scription_deprecated\x18\x04 \x01(\tB\x02\x18\x01\x12\x34\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"l\n\x12\x45ndpointTargetSpec\x12K\n\x12worker_target_spec\x18\x01 \x01(\x0b\x32-.temporal.api.cloud.nexus.v1.WorkerTargetSpecH\x00\x42\t\n\x07variant"<\n\x10WorkerTargetSpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\x8c\x01\n\x12\x45ndpointPolicySpec\x12k\n#allowed_cloud_namespace_policy_spec\x18\x01 \x01(\x0b\x32<.temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpecH\x00\x42\t\n\x07variant"7\n\x1f\x41llowedCloudNamespacePolicySpec\x12\x14\n\x0cnamespace_id\x18\x01 \x01(\t"\xad\x02\n\x08\x45ndpoint\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10resource_version\x18\x02 \x01(\t\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32).temporal.api.cloud.nexus.v1.EndpointSpec\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.temporal.api.cloud.resource.v1.ResourceState\x12\x1a\n\x12\x61sync_operation_id\x18\x05 \x01(\t\x12\x30\n\x0c\x63reated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x9d\x01\n\x1eio.temporal.api.cloud.nexus.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/cloud/nexus/v1;nexus\xaa\x02\x1dTemporalio.Api.Cloud.Nexus.V1\xea\x02!Temporalio::Api::Cloud::Nexus::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.nexus.v1.message_pb2", _globals + +_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] +_ENDPOINTTARGETSPEC = DESCRIPTOR.message_types_by_name["EndpointTargetSpec"] +_WORKERTARGETSPEC = DESCRIPTOR.message_types_by_name["WorkerTargetSpec"] +_ENDPOINTPOLICYSPEC = DESCRIPTOR.message_types_by_name["EndpointPolicySpec"] +_ALLOWEDCLOUDNAMESPACEPOLICYSPEC = DESCRIPTOR.message_types_by_name[ + "AllowedCloudNamespacePolicySpec" +] +_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] +EndpointSpec = _reflection.GeneratedProtocolMessageType( + "EndpointSpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTSPEC, + "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointSpec) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1" - _globals["_ENDPOINTSPEC"].fields_by_name[ - "description_deprecated" - ]._loaded_options = None - _globals["_ENDPOINTSPEC"].fields_by_name[ +_sym_db.RegisterMessage(EndpointSpec) + +EndpointTargetSpec = _reflection.GeneratedProtocolMessageType( + "EndpointTargetSpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTTARGETSPEC, + "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointTargetSpec) + }, +) +_sym_db.RegisterMessage(EndpointTargetSpec) + +WorkerTargetSpec = _reflection.GeneratedProtocolMessageType( + "WorkerTargetSpec", + (_message.Message,), + { + "DESCRIPTOR": _WORKERTARGETSPEC, + "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.WorkerTargetSpec) + }, +) +_sym_db.RegisterMessage(WorkerTargetSpec) + +EndpointPolicySpec = _reflection.GeneratedProtocolMessageType( + "EndpointPolicySpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTPOLICYSPEC, + "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.EndpointPolicySpec) + }, +) +_sym_db.RegisterMessage(EndpointPolicySpec) + +AllowedCloudNamespacePolicySpec = _reflection.GeneratedProtocolMessageType( + "AllowedCloudNamespacePolicySpec", + (_message.Message,), + { + "DESCRIPTOR": _ALLOWEDCLOUDNAMESPACEPOLICYSPEC, + "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec) + }, +) +_sym_db.RegisterMessage(AllowedCloudNamespacePolicySpec) + +Endpoint = _reflection.GeneratedProtocolMessageType( + "Endpoint", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINT, + "__module__": "temporalio.api.cloud.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.nexus.v1.Endpoint) + }, +) +_sym_db.RegisterMessage(Endpoint) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.nexus.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/nexus/v1;nexus\252\002\035Temporalio.Api.Cloud.Nexus.V1\352\002!Temporalio::Api::Cloud::Nexus::V1" + _ENDPOINTSPEC.fields_by_name["description_deprecated"]._options = None + _ENDPOINTSPEC.fields_by_name[ "description_deprecated" ]._serialized_options = b"\030\001" - _globals["_ENDPOINTSPEC"]._serialized_start = 192 - _globals["_ENDPOINTSPEC"]._serialized_end = 451 - _globals["_ENDPOINTTARGETSPEC"]._serialized_start = 453 - _globals["_ENDPOINTTARGETSPEC"]._serialized_end = 561 - _globals["_WORKERTARGETSPEC"]._serialized_start = 563 - _globals["_WORKERTARGETSPEC"]._serialized_end = 623 - _globals["_ENDPOINTPOLICYSPEC"]._serialized_start = 626 - _globals["_ENDPOINTPOLICYSPEC"]._serialized_end = 766 - _globals["_ALLOWEDCLOUDNAMESPACEPOLICYSPEC"]._serialized_start = 768 - _globals["_ALLOWEDCLOUDNAMESPACEPOLICYSPEC"]._serialized_end = 823 - _globals["_ENDPOINT"]._serialized_start = 826 - _globals["_ENDPOINT"]._serialized_end = 1127 + _ENDPOINTSPEC._serialized_start = 192 + _ENDPOINTSPEC._serialized_end = 451 + _ENDPOINTTARGETSPEC._serialized_start = 453 + _ENDPOINTTARGETSPEC._serialized_end = 561 + _WORKERTARGETSPEC._serialized_start = 563 + _WORKERTARGETSPEC._serialized_end = 623 + _ENDPOINTPOLICYSPEC._serialized_start = 626 + _ENDPOINTPOLICYSPEC._serialized_end = 766 + _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_start = 768 + _ALLOWEDCLOUDNAMESPACEPOLICYSPEC._serialized_end = 823 + _ENDPOINT._serialized_start = 826 + _ENDPOINT._serialized_end = 1127 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/nexus/v1/message_pb2.pyi b/temporalio/api/cloud/nexus/v1/message_pb2.pyi index 16ff21d1e..5ec14c3ac 100644 --- a/temporalio/api/cloud/nexus/v1/message_pb2.pyi +++ b/temporalio/api/cloud/nexus/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -16,14 +15,13 @@ import google.protobuf.timestamp_pb2 import temporalio.api.cloud.resource.v1.message_pb2 import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class EndpointSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -37,50 +35,47 @@ class EndpointSpec(google.protobuf.message.Message): The name must match `^[a-zA-Z][a-zA-Z0-9\\-]*[a-zA-Z0-9]$`. This field is mutable. """ - description_deprecated: builtins.str - """Deprecated: Not supported after v0.4.0 api version. Use description instead. - temporal:versioning:max_version=v0.4.0 - """ @property - def target_spec(self) -> Global___EndpointTargetSpec: + def target_spec(self) -> global___EndpointTargetSpec: """Indicates where the endpoint should forward received nexus requests to.""" - @property def policy_specs( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___EndpointPolicySpec + global___EndpointPolicySpec ]: """The set of policies (e.g. authorization) for the endpoint. Each request's caller must match with at least one of the specs to be accepted by the endpoint. This field is mutable. """ - + description_deprecated: builtins.str + """Deprecated: Not supported after v0.4.0 api version. Use description instead. + temporal:versioning:max_version=v0.4.0 + """ @property def description(self) -> temporalio.api.common.v1.message_pb2.Payload: """The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0 """ - def __init__( self, *, name: builtins.str = ..., - target_spec: Global___EndpointTargetSpec | None = ..., - policy_specs: collections.abc.Iterable[Global___EndpointPolicySpec] + target_spec: global___EndpointTargetSpec | None = ..., + policy_specs: collections.abc.Iterable[global___EndpointPolicySpec] | None = ..., description_deprecated: builtins.str = ..., description: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "target_spec", b"target_spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "description_deprecated", @@ -94,41 +89,38 @@ class EndpointSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___EndpointSpec: typing_extensions.TypeAlias = EndpointSpec +global___EndpointSpec = EndpointSpec -@typing.final class EndpointTargetSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKER_TARGET_SPEC_FIELD_NUMBER: builtins.int @property - def worker_target_spec(self) -> Global___WorkerTargetSpec: + def worker_target_spec(self) -> global___WorkerTargetSpec: """A target spec for routing nexus requests to a specific cloud namespace worker.""" - def __init__( self, *, - worker_target_spec: Global___WorkerTargetSpec | None = ..., + worker_target_spec: global___WorkerTargetSpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "variant", b"variant", "worker_target_spec", b"worker_target_spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "variant", b"variant", "worker_target_spec", b"worker_target_spec" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["worker_target_spec"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["worker_target_spec"] | None: ... -Global___EndpointTargetSpec: typing_extensions.TypeAlias = EndpointTargetSpec +global___EndpointTargetSpec = EndpointTargetSpec -@typing.final class WorkerTargetSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -146,14 +138,13 @@ class WorkerTargetSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace_id", b"namespace_id", "task_queue", b"task_queue" ], ) -> None: ... -Global___WorkerTargetSpec: typing_extensions.TypeAlias = WorkerTargetSpec +global___WorkerTargetSpec = WorkerTargetSpec -@typing.final class EndpointPolicySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -161,18 +152,17 @@ class EndpointPolicySpec(google.protobuf.message.Message): @property def allowed_cloud_namespace_policy_spec( self, - ) -> Global___AllowedCloudNamespacePolicySpec: + ) -> global___AllowedCloudNamespacePolicySpec: """A policy spec that allows one caller namespace to access the endpoint.""" - def __init__( self, *, - allowed_cloud_namespace_policy_spec: Global___AllowedCloudNamespacePolicySpec + allowed_cloud_namespace_policy_spec: global___AllowedCloudNamespacePolicySpec | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", @@ -181,7 +171,7 @@ class EndpointPolicySpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "allowed_cloud_namespace_policy_spec", b"allowed_cloud_namespace_policy_spec", "variant", @@ -189,12 +179,11 @@ class EndpointPolicySpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["allowed_cloud_namespace_policy_spec"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["allowed_cloud_namespace_policy_spec"] | None: ... -Global___EndpointPolicySpec: typing_extensions.TypeAlias = EndpointPolicySpec +global___EndpointPolicySpec = EndpointPolicySpec -@typing.final class AllowedCloudNamespacePolicySpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -207,14 +196,11 @@ class AllowedCloudNamespacePolicySpec(google.protobuf.message.Message): namespace_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace_id", b"namespace_id"] + self, field_name: typing_extensions.Literal["namespace_id", b"namespace_id"] ) -> None: ... -Global___AllowedCloudNamespacePolicySpec: typing_extensions.TypeAlias = ( - AllowedCloudNamespacePolicySpec -) +global___AllowedCloudNamespacePolicySpec = AllowedCloudNamespacePolicySpec -@typing.final class Endpoint(google.protobuf.message.Message): """An endpoint that receives and then routes Nexus requests""" @@ -233,30 +219,27 @@ class Endpoint(google.protobuf.message.Message): """The current version of the endpoint specification. The next update operation must include this version. """ + @property + def spec(self) -> global___EndpointSpec: + """The endpoint specification.""" state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType """The current state of the endpoint. For any failed state, reach out to Temporal Cloud support for remediation. """ async_operation_id: builtins.str """The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.""" - @property - def spec(self) -> Global___EndpointSpec: - """The endpoint specification.""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was created.""" - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was last modified.""" - def __init__( self, *, id: builtins.str = ..., resource_version: builtins.str = ..., - spec: Global___EndpointSpec | None = ..., + spec: global___EndpointSpec | None = ..., state: temporalio.api.cloud.resource.v1.message_pb2.ResourceState.ValueType = ..., async_operation_id: builtins.str = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -264,7 +247,7 @@ class Endpoint(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "last_modified_time", @@ -275,7 +258,7 @@ class Endpoint(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_operation_id", b"async_operation_id", "created_time", @@ -293,4 +276,4 @@ class Endpoint(google.protobuf.message.Message): ], ) -> None: ... -Global___Endpoint: typing_extensions.TypeAlias = Endpoint +global___Endpoint = Endpoint diff --git a/temporalio/api/cloud/operation/v1/message_pb2.py b/temporalio/api/cloud/operation/v1/message_pb2.py index 81bb60a06..8d4664ed5 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.py +++ b/temporalio/api/cloud/operation/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/operation/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/operation/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,24 +22,27 @@ b'\n-temporal/api/cloud/operation/v1/message.proto\x12\x1ftemporal.api.cloud.operation.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x19google/protobuf/any.proto"\x92\x04\n\x0e\x41syncOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x10state_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x35.temporal.api.cloud.operation.v1.AsyncOperation.State\x12\x31\n\x0e\x63heck_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eoperation_type\x18\x04 \x01(\t\x12-\n\x0foperation_input\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x16\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\t\x12\x30\n\x0cstarted_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rfinished_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x98\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x15\n\x11STATE_IN_PROGRESS\x10\x02\x12\x10\n\x0cSTATE_FAILED\x10\x03\x12\x13\n\x0fSTATE_CANCELLED\x10\x04\x12\x13\n\x0fSTATE_FULFILLED\x10\x05\x12\x12\n\x0eSTATE_REJECTED\x10\x06\x42\xb1\x01\n"io.temporal.api.cloud.operation.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/cloud/operation/v1;operation\xaa\x02!Temporalio.Api.Cloud.Operation.V1\xea\x02%Temporalio::Api::Cloud::Operation::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.operation.v1.message_pb2", _globals + +_ASYNCOPERATION = DESCRIPTOR.message_types_by_name["AsyncOperation"] +_ASYNCOPERATION_STATE = _ASYNCOPERATION.enum_types_by_name["State"] +AsyncOperation = _reflection.GeneratedProtocolMessageType( + "AsyncOperation", + (_message.Message,), + { + "DESCRIPTOR": _ASYNCOPERATION, + "__module__": "temporalio.api.cloud.operation.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.operation.v1.AsyncOperation) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b'\n"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' - _globals["_ASYNCOPERATION"].fields_by_name[ - "state_deprecated" - ]._loaded_options = None - _globals["_ASYNCOPERATION"].fields_by_name[ - "state_deprecated" - ]._serialized_options = b"\030\001" - _globals["_ASYNCOPERATION"]._serialized_start = 175 - _globals["_ASYNCOPERATION"]._serialized_end = 705 - _globals["_ASYNCOPERATION_STATE"]._serialized_start = 553 - _globals["_ASYNCOPERATION_STATE"]._serialized_end = 705 +_sym_db.RegisterMessage(AsyncOperation) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.cloud.operation.v1B\014MessageProtoP\001Z/go.temporal.io/api/cloud/operation/v1;operation\252\002!Temporalio.Api.Cloud.Operation.V1\352\002%Temporalio::Api::Cloud::Operation::V1' + _ASYNCOPERATION.fields_by_name["state_deprecated"]._options = None + _ASYNCOPERATION.fields_by_name["state_deprecated"]._serialized_options = b"\030\001" + _ASYNCOPERATION._serialized_start = 175 + _ASYNCOPERATION._serialized_end = 705 + _ASYNCOPERATION_STATE._serialized_start = 553 + _ASYNCOPERATION_STATE._serialized_end = 705 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/operation/v1/message_pb2.pyi b/temporalio/api/cloud/operation/v1/message_pb2.pyi index 7b67b49ff..4e9346d96 100644 --- a/temporalio/api/cloud/operation/v1/message_pb2.pyi +++ b/temporalio/api/cloud/operation/v1/message_pb2.pyi @@ -21,7 +21,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class AsyncOperation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,7 +33,7 @@ class AsyncOperation(google.protobuf.message.Message): AsyncOperation._State.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor STATE_UNSPECIFIED: AsyncOperation._State.ValueType # 0 STATE_PENDING: AsyncOperation._State.ValueType # 1 @@ -82,40 +81,36 @@ class AsyncOperation(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use state instead. temporal:versioning:max_version=v0.3.0 """ - state: Global___AsyncOperation.State.ValueType + state: global___AsyncOperation.State.ValueType """The current state of this operation. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated """ - operation_type: builtins.str - """The type of operation being performed.""" - failure_reason: builtins.str - """If the operation failed, the reason for the failure.""" @property def check_duration(self) -> google.protobuf.duration_pb2.Duration: """The recommended duration to check back for an update in the operation's state.""" - + operation_type: builtins.str + """The type of operation being performed.""" @property def operation_input(self) -> google.protobuf.any_pb2.Any: """The input to the operation being performed. (-- api-linter: core::0146::any=disabled --) """ - + failure_reason: builtins.str + """If the operation failed, the reason for the failure.""" @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the operation initiated.""" - @property def finished_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the operation completed.""" - def __init__( self, *, id: builtins.str = ..., state_deprecated: builtins.str = ..., - state: Global___AsyncOperation.State.ValueType = ..., + state: global___AsyncOperation.State.ValueType = ..., check_duration: google.protobuf.duration_pb2.Duration | None = ..., operation_type: builtins.str = ..., operation_input: google.protobuf.any_pb2.Any | None = ..., @@ -125,7 +120,7 @@ class AsyncOperation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "check_duration", b"check_duration", "finished_time", @@ -138,7 +133,7 @@ class AsyncOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "check_duration", b"check_duration", "failure_reason", @@ -160,4 +155,4 @@ class AsyncOperation(google.protobuf.message.Message): ], ) -> None: ... -Global___AsyncOperation: typing_extensions.TypeAlias = AsyncOperation +global___AsyncOperation = AsyncOperation diff --git a/temporalio/api/cloud/region/v1/message_pb2.py b/temporalio/api/cloud/region/v1/message_pb2.py index e1387f4ab..17a5461a8 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.py +++ b/temporalio/api/cloud/region/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/region/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/region/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,24 +18,29 @@ b'\n*temporal/api/cloud/region/v1/message.proto\x12\x1ctemporal.api.cloud.region.v1"\x99\x02\n\x06Region\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\x19\x63loud_provider_deprecated\x18\x02 \x01(\tB\x02\x18\x01\x12J\n\x0e\x63loud_provider\x18\x05 \x01(\x0e\x32\x32.temporal.api.cloud.region.v1.Region.CloudProvider\x12\x1d\n\x15\x63loud_provider_region\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t"_\n\rCloudProvider\x12\x1e\n\x1a\x43LOUD_PROVIDER_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43LOUD_PROVIDER_AWS\x10\x01\x12\x16\n\x12\x43LOUD_PROVIDER_GCP\x10\x02\x42\xa2\x01\n\x1fio.temporal.api.cloud.region.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/cloud/region/v1;region\xaa\x02\x1eTemporalio.Api.Cloud.Region.V1\xea\x02"Temporalio::Api::Cloud::Region::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.region.v1.message_pb2", _globals + +_REGION = DESCRIPTOR.message_types_by_name["Region"] +_REGION_CLOUDPROVIDER = _REGION.enum_types_by_name["CloudProvider"] +Region = _reflection.GeneratedProtocolMessageType( + "Region", + (_message.Message,), + { + "DESCRIPTOR": _REGION, + "__module__": "temporalio.api.cloud.region.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.region.v1.Region) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002"Temporalio::Api::Cloud::Region::V1' - _globals["_REGION"].fields_by_name[ - "cloud_provider_deprecated" - ]._loaded_options = None - _globals["_REGION"].fields_by_name[ +_sym_db.RegisterMessage(Region) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\037io.temporal.api.cloud.region.v1B\014MessageProtoP\001Z)go.temporal.io/api/cloud/region/v1;region\252\002\036Temporalio.Api.Cloud.Region.V1\352\002"Temporalio::Api::Cloud::Region::V1' + _REGION.fields_by_name["cloud_provider_deprecated"]._options = None + _REGION.fields_by_name[ "cloud_provider_deprecated" ]._serialized_options = b"\030\001" - _globals["_REGION"]._serialized_start = 77 - _globals["_REGION"]._serialized_end = 358 - _globals["_REGION_CLOUDPROVIDER"]._serialized_start = 263 - _globals["_REGION_CLOUDPROVIDER"]._serialized_end = 358 + _REGION._serialized_start = 77 + _REGION._serialized_end = 358 + _REGION_CLOUDPROVIDER._serialized_start = 263 + _REGION_CLOUDPROVIDER._serialized_end = 358 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/region/v1/message_pb2.pyi b/temporalio/api/cloud/region/v1/message_pb2.pyi index a7f321d1a..69718ad18 100644 --- a/temporalio/api/cloud/region/v1/message_pb2.pyi +++ b/temporalio/api/cloud/region/v1/message_pb2.pyi @@ -18,7 +18,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class Region(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -31,7 +30,7 @@ class Region(google.protobuf.message.Message): Region._CloudProvider.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CLOUD_PROVIDER_UNSPECIFIED: Region._CloudProvider.ValueType # 0 CLOUD_PROVIDER_AWS: Region._CloudProvider.ValueType # 1 @@ -57,7 +56,7 @@ class Region(google.protobuf.message.Message): Deprecated: Not supported after v0.3.0 api version. Use cloud_provider instead. temporal:versioning:max_version=v0.3.0 """ - cloud_provider: Global___Region.CloudProvider.ValueType + cloud_provider: global___Region.CloudProvider.ValueType """The cloud provider that's hosting the region. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=cloud_provider_deprecated @@ -71,13 +70,13 @@ class Region(google.protobuf.message.Message): *, id: builtins.str = ..., cloud_provider_deprecated: builtins.str = ..., - cloud_provider: Global___Region.CloudProvider.ValueType = ..., + cloud_provider: global___Region.CloudProvider.ValueType = ..., cloud_provider_region: builtins.str = ..., location: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cloud_provider", b"cloud_provider", "cloud_provider_deprecated", @@ -91,4 +90,4 @@ class Region(google.protobuf.message.Message): ], ) -> None: ... -Global___Region: typing_extensions.TypeAlias = Region +global___Region = Region diff --git a/temporalio/api/cloud/resource/v1/message_pb2.py b/temporalio/api/cloud/resource/v1/message_pb2.py index e2a74af70..88e7a7daa 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.py +++ b/temporalio/api/cloud/resource/v1/message_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/resource/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/resource/v1/message.proto", -) +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,16 +19,24 @@ b"\n,temporal/api/cloud/resource/v1/message.proto\x12\x1etemporal.api.cloud.resource.v1*\xe3\x02\n\rResourceState\x12\x1e\n\x1aRESOURCE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESOURCE_STATE_ACTIVATING\x10\x01\x12$\n RESOURCE_STATE_ACTIVATION_FAILED\x10\x02\x12\x19\n\x15RESOURCE_STATE_ACTIVE\x10\x03\x12\x1b\n\x17RESOURCE_STATE_UPDATING\x10\x04\x12 \n\x1cRESOURCE_STATE_UPDATE_FAILED\x10\x05\x12\x1b\n\x17RESOURCE_STATE_DELETING\x10\x06\x12 \n\x1cRESOURCE_STATE_DELETE_FAILED\x10\x07\x12\x1a\n\x16RESOURCE_STATE_DELETED\x10\x08\x12\x1c\n\x18RESOURCE_STATE_SUSPENDED\x10\t\x12\x1a\n\x16RESOURCE_STATE_EXPIRED\x10\nB\xac\x01\n!io.temporal.api.cloud.resource.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/cloud/resource/v1;resource\xaa\x02 Temporalio.Api.Cloud.Resource.V1\xea\x02$Temporalio::Api::Cloud::Resource::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.resource.v1.message_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1" - _globals["_RESOURCESTATE"]._serialized_start = 81 - _globals["_RESOURCESTATE"]._serialized_end = 436 +_RESOURCESTATE = DESCRIPTOR.enum_types_by_name["ResourceState"] +ResourceState = enum_type_wrapper.EnumTypeWrapper(_RESOURCESTATE) +RESOURCE_STATE_UNSPECIFIED = 0 +RESOURCE_STATE_ACTIVATING = 1 +RESOURCE_STATE_ACTIVATION_FAILED = 2 +RESOURCE_STATE_ACTIVE = 3 +RESOURCE_STATE_UPDATING = 4 +RESOURCE_STATE_UPDATE_FAILED = 5 +RESOURCE_STATE_DELETING = 6 +RESOURCE_STATE_DELETE_FAILED = 7 +RESOURCE_STATE_DELETED = 8 +RESOURCE_STATE_SUSPENDED = 9 +RESOURCE_STATE_EXPIRED = 10 + + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n!io.temporal.api.cloud.resource.v1B\014MessageProtoP\001Z-go.temporal.io/api/cloud/resource/v1;resource\252\002 Temporalio.Api.Cloud.Resource.V1\352\002$Temporalio::Api::Cloud::Resource::V1" + _RESOURCESTATE._serialized_start = 81 + _RESOURCESTATE._serialized_end = 436 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/resource/v1/message_pb2.pyi b/temporalio/api/cloud/resource/v1/message_pb2.pyi index cb9ba6358..28f76e202 100644 --- a/temporalio/api/cloud/resource/v1/message_pb2.pyi +++ b/temporalio/api/cloud/resource/v1/message_pb2.pyi @@ -26,7 +26,7 @@ class _ResourceStateEnumTypeWrapper( _ResourceState.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RESOURCE_STATE_UNSPECIFIED: _ResourceState.ValueType # 0 RESOURCE_STATE_ACTIVATING: _ResourceState.ValueType # 1 @@ -73,4 +73,4 @@ RESOURCE_STATE_SUSPENDED: ResourceState.ValueType # 9 """The resource is suspended and not available for use. Reach out to support for remediation.""" RESOURCE_STATE_EXPIRED: ResourceState.ValueType # 10 """The resource has expired and is no longer available for use.""" -Global___ResourceState: typing_extensions.TypeAlias = ResourceState +global___ResourceState = ResourceState diff --git a/temporalio/api/cloud/sink/v1/message_pb2.py b/temporalio/api/cloud/sink/v1/message_pb2.py index 289402311..ef22569f1 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.py +++ b/temporalio/api/cloud/sink/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/sink/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/sink/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,22 +18,64 @@ b'\n(temporal/api/cloud/sink/v1/message.proto\x12\x1atemporal.api.cloud.sink.v1"i\n\x06S3Spec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0f\n\x07kms_arn\x18\x04 \x01(\t\x12\x16\n\x0e\x61ws_account_id\x18\x05 \x01(\t"U\n\x07GCSSpec\x12\r\n\x05sa_id\x18\x01 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\t\x12\x0e\n\x06region\x18\x04 \x01(\t"I\n\x0bKinesisSpec\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65stination_uri\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t"T\n\nPubSubSpec\x12\x1a\n\x12service_account_id\x18\x01 \x01(\t\x12\x12\n\ntopic_name\x18\x02 \x01(\t\x12\x16\n\x0egcp_project_id\x18\x03 \x01(\tB\x98\x01\n\x1dio.temporal.api.cloud.sink.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/cloud/sink/v1;sink\xaa\x02\x1cTemporalio.Api.Cloud.Sink.V1\xea\x02 Temporalio::Api::Cloud::Sink::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.sink.v1.message_pb2", _globals + +_S3SPEC = DESCRIPTOR.message_types_by_name["S3Spec"] +_GCSSPEC = DESCRIPTOR.message_types_by_name["GCSSpec"] +_KINESISSPEC = DESCRIPTOR.message_types_by_name["KinesisSpec"] +_PUBSUBSPEC = DESCRIPTOR.message_types_by_name["PubSubSpec"] +S3Spec = _reflection.GeneratedProtocolMessageType( + "S3Spec", + (_message.Message,), + { + "DESCRIPTOR": _S3SPEC, + "__module__": "temporalio.api.cloud.sink.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.S3Spec) + }, +) +_sym_db.RegisterMessage(S3Spec) + +GCSSpec = _reflection.GeneratedProtocolMessageType( + "GCSSpec", + (_message.Message,), + { + "DESCRIPTOR": _GCSSPEC, + "__module__": "temporalio.api.cloud.sink.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.GCSSpec) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1" - _globals["_S3SPEC"]._serialized_start = 72 - _globals["_S3SPEC"]._serialized_end = 177 - _globals["_GCSSPEC"]._serialized_start = 179 - _globals["_GCSSPEC"]._serialized_end = 264 - _globals["_KINESISSPEC"]._serialized_start = 266 - _globals["_KINESISSPEC"]._serialized_end = 339 - _globals["_PUBSUBSPEC"]._serialized_start = 341 - _globals["_PUBSUBSPEC"]._serialized_end = 425 +_sym_db.RegisterMessage(GCSSpec) + +KinesisSpec = _reflection.GeneratedProtocolMessageType( + "KinesisSpec", + (_message.Message,), + { + "DESCRIPTOR": _KINESISSPEC, + "__module__": "temporalio.api.cloud.sink.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.KinesisSpec) + }, +) +_sym_db.RegisterMessage(KinesisSpec) + +PubSubSpec = _reflection.GeneratedProtocolMessageType( + "PubSubSpec", + (_message.Message,), + { + "DESCRIPTOR": _PUBSUBSPEC, + "__module__": "temporalio.api.cloud.sink.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.sink.v1.PubSubSpec) + }, +) +_sym_db.RegisterMessage(PubSubSpec) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.cloud.sink.v1B\014MessageProtoP\001Z%go.temporal.io/api/cloud/sink/v1;sink\252\002\034Temporalio.Api.Cloud.Sink.V1\352\002 Temporalio::Api::Cloud::Sink::V1" + _S3SPEC._serialized_start = 72 + _S3SPEC._serialized_end = 177 + _GCSSPEC._serialized_start = 179 + _GCSSPEC._serialized_end = 264 + _KINESISSPEC._serialized_start = 266 + _KINESISSPEC._serialized_end = 339 + _PUBSUBSPEC._serialized_start = 341 + _PUBSUBSPEC._serialized_end = 425 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/sink/v1/message_pb2.pyi b/temporalio/api/cloud/sink/v1/message_pb2.pyi index 9846eb56c..30e6ff099 100644 --- a/temporalio/api/cloud/sink/v1/message_pb2.pyi +++ b/temporalio/api/cloud/sink/v1/message_pb2.pyi @@ -5,19 +5,17 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class S3Spec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -47,7 +45,7 @@ class S3Spec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "aws_account_id", b"aws_account_id", "bucket_name", @@ -61,9 +59,8 @@ class S3Spec(google.protobuf.message.Message): ], ) -> None: ... -Global___S3Spec: typing_extensions.TypeAlias = S3Spec +global___S3Spec = S3Spec -@typing.final class GCSSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -89,7 +86,7 @@ class GCSSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "bucket_name", b"bucket_name", "gcp_project_id", @@ -101,9 +98,8 @@ class GCSSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___GCSSpec: typing_extensions.TypeAlias = GCSSpec +global___GCSSpec = GCSSpec -@typing.final class KinesisSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -125,7 +121,7 @@ class KinesisSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "destination_uri", b"destination_uri", "region", @@ -135,9 +131,8 @@ class KinesisSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___KinesisSpec: typing_extensions.TypeAlias = KinesisSpec +global___KinesisSpec = KinesisSpec -@typing.final class PubSubSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -159,7 +154,7 @@ class PubSubSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "gcp_project_id", b"gcp_project_id", "service_account_id", @@ -169,4 +164,4 @@ class PubSubSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___PubSubSpec: typing_extensions.TypeAlias = PubSubSpec +global___PubSubSpec = PubSubSpec diff --git a/temporalio/api/cloud/usage/v1/message_pb2.py b/temporalio/api/cloud/usage/v1/message_pb2.py index d43977532..84b635bba 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.py +++ b/temporalio/api/cloud/usage/v1/message_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/cloud/usage/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/cloud/usage/v1/message.proto", -) +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,28 +21,86 @@ b"\n)temporal/api/cloud/usage/v1/message.proto\x12\x1btemporal.api.cloud.usage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x07Summary\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\rrecord_groups\x18\x03 \x03(\x0b\x32(.temporal.api.cloud.usage.v1.RecordGroup\x12\x12\n\nincomplete\x18\x04 \x01(\x08\"|\n\x0bRecordGroup\x12\x37\n\tgroup_bys\x18\x01 \x03(\x0b\x32$.temporal.api.cloud.usage.v1.GroupBy\x12\x34\n\x07records\x18\x02 \x03(\x0b\x32#.temporal.api.cloud.usage.v1.Record\"N\n\x07GroupBy\x12\x34\n\x03key\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.GroupByKey\x12\r\n\x05value\x18\x02 \x01(\t\"\x85\x01\n\x06Record\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordType\x12\x35\n\x04unit\x18\x02 \x01(\x0e\x32'.temporal.api.cloud.usage.v1.RecordUnit\x12\r\n\x05value\x18\x03 \x01(\x01*\x84\x01\n\nRecordType\x12\x1b\n\x17RECORD_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13RECORD_TYPE_ACTIONS\x10\x01\x12\x1e\n\x1aRECORD_TYPE_ACTIVE_STORAGE\x10\x02\x12 \n\x1cRECORD_TYPE_RETAINED_STORAGE\x10\x03*_\n\nRecordUnit\x12\x1b\n\x17RECORD_UNIT_UNSPECIFIED\x10\x00\x12\x16\n\x12RECORD_UNIT_NUMBER\x10\x01\x12\x1c\n\x18RECORD_UNIT_BYTE_SECONDS\x10\x02*F\n\nGroupByKey\x12\x1c\n\x18GROUP_BY_KEY_UNSPECIFIED\x10\x00\x12\x1a\n\x16GROUP_BY_KEY_NAMESPACE\x10\x01\x42\x9d\x01\n\x1eio.temporal.api.cloud.usage.v1B\x0cMessageProtoP\x01Z'go.temporal.io/api/cloud/usage/v1;usage\xaa\x02\x1dTemporalio.Api.Cloud.Usage.V1\xea\x02!Temporalio::Api::Cloud::Usage::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.cloud.usage.v1.message_pb2", _globals +_RECORDTYPE = DESCRIPTOR.enum_types_by_name["RecordType"] +RecordType = enum_type_wrapper.EnumTypeWrapper(_RECORDTYPE) +_RECORDUNIT = DESCRIPTOR.enum_types_by_name["RecordUnit"] +RecordUnit = enum_type_wrapper.EnumTypeWrapper(_RECORDUNIT) +_GROUPBYKEY = DESCRIPTOR.enum_types_by_name["GroupByKey"] +GroupByKey = enum_type_wrapper.EnumTypeWrapper(_GROUPBYKEY) +RECORD_TYPE_UNSPECIFIED = 0 +RECORD_TYPE_ACTIONS = 1 +RECORD_TYPE_ACTIVE_STORAGE = 2 +RECORD_TYPE_RETAINED_STORAGE = 3 +RECORD_UNIT_UNSPECIFIED = 0 +RECORD_UNIT_NUMBER = 1 +RECORD_UNIT_BYTE_SECONDS = 2 +GROUP_BY_KEY_UNSPECIFIED = 0 +GROUP_BY_KEY_NAMESPACE = 1 + + +_SUMMARY = DESCRIPTOR.message_types_by_name["Summary"] +_RECORDGROUP = DESCRIPTOR.message_types_by_name["RecordGroup"] +_GROUPBY = DESCRIPTOR.message_types_by_name["GroupBy"] +_RECORD = DESCRIPTOR.message_types_by_name["Record"] +Summary = _reflection.GeneratedProtocolMessageType( + "Summary", + (_message.Message,), + { + "DESCRIPTOR": _SUMMARY, + "__module__": "temporalio.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Summary) + }, +) +_sym_db.RegisterMessage(Summary) + +RecordGroup = _reflection.GeneratedProtocolMessageType( + "RecordGroup", + (_message.Message,), + { + "DESCRIPTOR": _RECORDGROUP, + "__module__": "temporalio.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.RecordGroup) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1" - _globals["_RECORDTYPE"]._serialized_start = 641 - _globals["_RECORDTYPE"]._serialized_end = 773 - _globals["_RECORDUNIT"]._serialized_start = 775 - _globals["_RECORDUNIT"]._serialized_end = 870 - _globals["_GROUPBYKEY"]._serialized_start = 872 - _globals["_GROUPBYKEY"]._serialized_end = 942 - _globals["_SUMMARY"]._serialized_start = 108 - _globals["_SUMMARY"]._serialized_end = 296 - _globals["_RECORDGROUP"]._serialized_start = 298 - _globals["_RECORDGROUP"]._serialized_end = 422 - _globals["_GROUPBY"]._serialized_start = 424 - _globals["_GROUPBY"]._serialized_end = 502 - _globals["_RECORD"]._serialized_start = 505 - _globals["_RECORD"]._serialized_end = 638 +_sym_db.RegisterMessage(RecordGroup) + +GroupBy = _reflection.GeneratedProtocolMessageType( + "GroupBy", + (_message.Message,), + { + "DESCRIPTOR": _GROUPBY, + "__module__": "temporalio.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.GroupBy) + }, +) +_sym_db.RegisterMessage(GroupBy) + +Record = _reflection.GeneratedProtocolMessageType( + "Record", + (_message.Message,), + { + "DESCRIPTOR": _RECORD, + "__module__": "temporalio.api.cloud.usage.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.cloud.usage.v1.Record) + }, +) +_sym_db.RegisterMessage(Record) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.cloud.usage.v1B\014MessageProtoP\001Z'go.temporal.io/api/cloud/usage/v1;usage\252\002\035Temporalio.Api.Cloud.Usage.V1\352\002!Temporalio::Api::Cloud::Usage::V1" + _RECORDTYPE._serialized_start = 641 + _RECORDTYPE._serialized_end = 773 + _RECORDUNIT._serialized_start = 775 + _RECORDUNIT._serialized_end = 870 + _GROUPBYKEY._serialized_start = 872 + _GROUPBYKEY._serialized_end = 942 + _SUMMARY._serialized_start = 108 + _SUMMARY._serialized_end = 296 + _RECORDGROUP._serialized_start = 298 + _RECORDGROUP._serialized_end = 422 + _GROUPBY._serialized_start = 424 + _GROUPBY._serialized_end = 502 + _RECORD._serialized_start = 505 + _RECORD._serialized_end = 638 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/cloud/usage/v1/message_pb2.pyi b/temporalio/api/cloud/usage/v1/message_pb2.pyi index a0ed4b180..8ffdc1189 100644 --- a/temporalio/api/cloud/usage/v1/message_pb2.pyi +++ b/temporalio/api/cloud/usage/v1/message_pb2.pyi @@ -28,7 +28,7 @@ class _RecordType: class _RecordTypeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordType.ValueType], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_TYPE_UNSPECIFIED: _RecordType.ValueType # 0 RECORD_TYPE_ACTIONS: _RecordType.ValueType # 1 @@ -41,7 +41,7 @@ RECORD_TYPE_UNSPECIFIED: RecordType.ValueType # 0 RECORD_TYPE_ACTIONS: RecordType.ValueType # 1 RECORD_TYPE_ACTIVE_STORAGE: RecordType.ValueType # 2 RECORD_TYPE_RETAINED_STORAGE: RecordType.ValueType # 3 -Global___RecordType: typing_extensions.TypeAlias = RecordType +global___RecordType = RecordType class _RecordUnit: ValueType = typing.NewType("ValueType", builtins.int) @@ -50,7 +50,7 @@ class _RecordUnit: class _RecordUnitEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RecordUnit.ValueType], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor RECORD_UNIT_UNSPECIFIED: _RecordUnit.ValueType # 0 RECORD_UNIT_NUMBER: _RecordUnit.ValueType # 1 @@ -61,7 +61,7 @@ class RecordUnit(_RecordUnit, metaclass=_RecordUnitEnumTypeWrapper): ... RECORD_UNIT_UNSPECIFIED: RecordUnit.ValueType # 0 RECORD_UNIT_NUMBER: RecordUnit.ValueType # 1 RECORD_UNIT_BYTE_SECONDS: RecordUnit.ValueType # 2 -Global___RecordUnit: typing_extensions.TypeAlias = RecordUnit +global___RecordUnit = RecordUnit class _GroupByKey: ValueType = typing.NewType("ValueType", builtins.int) @@ -70,7 +70,7 @@ class _GroupByKey: class _GroupByKeyEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupByKey.ValueType], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor GROUP_BY_KEY_UNSPECIFIED: _GroupByKey.ValueType # 0 GROUP_BY_KEY_NAMESPACE: _GroupByKey.ValueType # 1 @@ -79,9 +79,8 @@ class GroupByKey(_GroupByKey, metaclass=_GroupByKeyEnumTypeWrapper): ... GROUP_BY_KEY_UNSPECIFIED: GroupByKey.ValueType # 0 GROUP_BY_KEY_NAMESPACE: GroupByKey.ValueType # 1 -Global___GroupByKey: typing_extensions.TypeAlias = GroupByKey +global___GroupByKey = GroupByKey -@typing.final class Summary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -89,43 +88,40 @@ class Summary(google.protobuf.message.Message): END_TIME_FIELD_NUMBER: builtins.int RECORD_GROUPS_FIELD_NUMBER: builtins.int INCOMPLETE_FIELD_NUMBER: builtins.int - incomplete: builtins.bool - """True if data for given time window is not fully available yet (e.g. delays) - When true, records for the given time range could still be added/updated in the future (until false) - """ @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Start of UTC day for now (inclusive)""" - @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """End of UTC day for now (exclusive)""" - @property def record_groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___RecordGroup + global___RecordGroup ]: """Records grouped by namespace""" - + incomplete: builtins.bool + """True if data for given time window is not fully available yet (e.g. delays) + When true, records for the given time range could still be added/updated in the future (until false) + """ def __init__( self, *, start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., end_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - record_groups: collections.abc.Iterable[Global___RecordGroup] | None = ..., + record_groups: collections.abc.Iterable[global___RecordGroup] | None = ..., incomplete: builtins.bool = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "incomplete", @@ -137,9 +133,8 @@ class Summary(google.protobuf.message.Message): ], ) -> None: ... -Global___Summary: typing_extensions.TypeAlias = Summary +global___Summary = Summary -@typing.final class RecordGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -149,69 +144,70 @@ class RecordGroup(google.protobuf.message.Message): def group_bys( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___GroupBy + global___GroupBy ]: """GroupBy keys and their values for this record group. Multiple fields are combined with logical AND.""" - @property def records( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Record + global___Record ]: ... def __init__( self, *, - group_bys: collections.abc.Iterable[Global___GroupBy] | None = ..., - records: collections.abc.Iterable[Global___Record] | None = ..., + group_bys: collections.abc.Iterable[global___GroupBy] | None = ..., + records: collections.abc.Iterable[global___Record] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal["group_bys", b"group_bys", "records", b"records"], + field_name: typing_extensions.Literal[ + "group_bys", b"group_bys", "records", b"records" + ], ) -> None: ... -Global___RecordGroup: typing_extensions.TypeAlias = RecordGroup +global___RecordGroup = RecordGroup -@typing.final class GroupBy(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor KEY_FIELD_NUMBER: builtins.int VALUE_FIELD_NUMBER: builtins.int - key: Global___GroupByKey.ValueType + key: global___GroupByKey.ValueType value: builtins.str def __init__( self, *, - key: Global___GroupByKey.ValueType = ..., + key: global___GroupByKey.ValueType = ..., value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"] ) -> None: ... -Global___GroupBy: typing_extensions.TypeAlias = GroupBy +global___GroupBy = GroupBy -@typing.final class Record(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TYPE_FIELD_NUMBER: builtins.int UNIT_FIELD_NUMBER: builtins.int VALUE_FIELD_NUMBER: builtins.int - type: Global___RecordType.ValueType - unit: Global___RecordUnit.ValueType + type: global___RecordType.ValueType + unit: global___RecordUnit.ValueType value: builtins.float def __init__( self, *, - type: Global___RecordType.ValueType = ..., - unit: Global___RecordUnit.ValueType = ..., + type: global___RecordType.ValueType = ..., + unit: global___RecordUnit.ValueType = ..., value: builtins.float = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal["type", b"type", "unit", b"unit", "value", b"value"], + field_name: typing_extensions.Literal[ + "type", b"type", "unit", b"unit", "value", b"value" + ], ) -> None: ... -Global___Record: typing_extensions.TypeAlias = Record +global___Record = Record diff --git a/temporalio/api/command/v1/message_pb2.py b/temporalio/api/command/v1/message_pb2.py index 9b620c295..f1a749b83 100644 --- a/temporalio/api/command/v1/message_pb2.py +++ b/temporalio/api/command/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/command/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/command/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -52,120 +42,382 @@ b'\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a,temporal/api/sdk/v1/event_group_marker.proto"\xb6\x05\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xb7\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xaf\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xac\x07\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"\xa1\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t"\xe3\x03\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x12<\n\x19schedule_to_start_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03"\x87\x12\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x43\n\x13\x65vent_group_markers\x18\xae\x02 \x03(\x0b\x32%.temporal.api.sdk.v1.EventGroupMarker\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.command.v1.message_pb2", _globals + +_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ScheduleActivityTaskCommandAttributes" +] +_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "RequestCancelActivityTaskCommandAttributes" +] +_STARTTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartTimerCommandAttributes" +] +_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "CompleteWorkflowExecutionCommandAttributes" +] +_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "FailWorkflowExecutionCommandAttributes" +] +_CANCELTIMERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "CancelTimerCommandAttributes" +] +_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "CancelWorkflowExecutionCommandAttributes" +] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecutionCommandAttributes" + ] +) +_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecutionCommandAttributes" +] +_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "UpsertWorkflowSearchAttributesCommandAttributes" +] +_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ModifyWorkflowPropertiesCommandAttributes" +] +_RECORDMARKERCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "RecordMarkerCommandAttributes" +] +_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY = ( + _RECORDMARKERCOMMANDATTRIBUTES.nested_types_by_name["DetailsEntry"] +) +_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ContinueAsNewWorkflowExecutionCommandAttributes" +] +_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecutionCommandAttributes" +] +_PROTOCOLMESSAGECOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ProtocolMessageCommandAttributes" +] +_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ScheduleNexusOperationCommandAttributes" +] +_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY = ( + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] +) +_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "RequestCancelNexusOperationCommandAttributes" +] +_COMMAND = DESCRIPTOR.message_types_by_name["Command"] +ScheduleActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ScheduleActivityTaskCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) + }, +) +_sym_db.RegisterMessage(ScheduleActivityTaskCommandAttributes) + +RequestCancelActivityTaskCommandAttributes = _reflection.GeneratedProtocolMessageType( + "RequestCancelActivityTaskCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) + }, +) +_sym_db.RegisterMessage(RequestCancelActivityTaskCommandAttributes) + +StartTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( + "StartTimerCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTTIMERCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartTimerCommandAttributes) + }, +) +_sym_db.RegisterMessage(StartTimerCommandAttributes) + +CompleteWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "CompleteWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) + }, +) +_sym_db.RegisterMessage(CompleteWorkflowExecutionCommandAttributes) + +FailWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "FailWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) + }, +) +_sym_db.RegisterMessage(FailWorkflowExecutionCommandAttributes) + +CancelTimerCommandAttributes = _reflection.GeneratedProtocolMessageType( + "CancelTimerCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CANCELTIMERCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelTimerCommandAttributes) + }, +) +_sym_db.RegisterMessage(CancelTimerCommandAttributes) + +CancelWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "CancelWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) + }, +) +_sym_db.RegisterMessage(CancelWorkflowExecutionCommandAttributes) + +RequestCancelExternalWorkflowExecutionCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) + }, + ) +) +_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionCommandAttributes) + +SignalExternalWorkflowExecutionCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) + }, + ) +) +_sym_db.RegisterMessage(SignalExternalWorkflowExecutionCommandAttributes) + +UpsertWorkflowSearchAttributesCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "UpsertWorkflowSearchAttributesCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) + }, + ) +) +_sym_db.RegisterMessage(UpsertWorkflowSearchAttributesCommandAttributes) + +ModifyWorkflowPropertiesCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ModifyWorkflowPropertiesCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) + }, +) +_sym_db.RegisterMessage(ModifyWorkflowPropertiesCommandAttributes) + +RecordMarkerCommandAttributes = _reflection.GeneratedProtocolMessageType( + "RecordMarkerCommandAttributes", + (_message.Message,), + { + "DetailsEntry": _reflection.GeneratedProtocolMessageType( + "DetailsEntry", + (_message.Message,), + { + "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry) + }, + ), + "DESCRIPTOR": _RECORDMARKERCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RecordMarkerCommandAttributes) + }, +) +_sym_db.RegisterMessage(RecordMarkerCommandAttributes) +_sym_db.RegisterMessage(RecordMarkerCommandAttributes.DetailsEntry) + +ContinueAsNewWorkflowExecutionCommandAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ContinueAsNewWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) + }, + ) +) +_sym_db.RegisterMessage(ContinueAsNewWorkflowExecutionCommandAttributes) + +StartChildWorkflowExecutionCommandAttributes = _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecutionCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) + }, +) +_sym_db.RegisterMessage(StartChildWorkflowExecutionCommandAttributes) + +ProtocolMessageCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ProtocolMessageCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _PROTOCOLMESSAGECOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ProtocolMessageCommandAttributes) + }, +) +_sym_db.RegisterMessage(ProtocolMessageCommandAttributes) + +ScheduleNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( + "ScheduleNexusOperationCommandAttributes", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.ScheduleNexusOperationCommandAttributes) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1" - _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ +_sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes) +_sym_db.RegisterMessage(ScheduleNexusOperationCommandAttributes.NexusHeaderEntry) + +RequestCancelNexusOperationCommandAttributes = _reflection.GeneratedProtocolMessageType( + "RequestCancelNexusOperationCommandAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes) + }, +) +_sym_db.RegisterMessage(RequestCancelNexusOperationCommandAttributes) + +Command = _reflection.GeneratedProtocolMessageType( + "Command", + (_message.Message,), + { + "DESCRIPTOR": _COMMAND, + "__module__": "temporalio.api.command.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.command.v1.Command) + }, +) +_sym_db.RegisterMessage(Command) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.command.v1B\014MessageProtoP\001Z%go.temporal.io/api/command/v1;command\252\002\031Temporalio.Api.Command.V1\352\002\034Temporalio::Api::Command::V1" + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "namespace" - ]._loaded_options = None - _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + ]._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "namespace" ]._serialized_options = b"\030\001" - _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "control" - ]._loaded_options = None - _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + ]._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "namespace" - ]._loaded_options = None - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + ]._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "namespace" ]._serialized_options = b"\030\001" - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "control" - ]._loaded_options = None - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + ]._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY"]._loaded_options = None - _globals[ - "_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY" - ]._serialized_options = b"8\001" - _globals["_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._options = None + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "inherit_build_id" - ]._loaded_options = None - _globals["_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + ]._options = None + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "namespace" - ]._loaded_options = None - _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "namespace" ]._serialized_options = b"\030\001" - _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "inherit_build_id" - ]._loaded_options = None - _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"].fields_by_name[ + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES.fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _globals[ - "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" - ]._loaded_options = None - _globals[ - "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" - ]._serialized_options = b"8\001" - _globals["_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_start = 384 - _globals["_SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_end = 1078 - _globals["_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_start = 1080 - _globals["_REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES"]._serialized_end = 1152 - _globals["_STARTTIMERCOMMANDATTRIBUTES"]._serialized_start = 1154 - _globals["_STARTTIMERCOMMANDATTRIBUTES"]._serialized_end = 1259 - _globals["_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 1261 - _globals["_COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 1355 - _globals["_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 1357 - _globals["_FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 1448 - _globals["_CANCELTIMERCOMMANDATTRIBUTES"]._serialized_start = 1450 - _globals["_CANCELTIMERCOMMANDATTRIBUTES"]._serialized_end = 1498 - _globals["_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 1500 - _globals["_CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 1593 - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES" - ]._serialized_start = 1596 - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES" - ]._serialized_end = 1779 - _globals[ - "_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES" - ]._serialized_start = 1782 - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 2085 - _globals[ - "_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES" - ]._serialized_start = 2087 - _globals["_UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES"]._serialized_end = 2205 - _globals["_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES"]._serialized_start = 2207 - _globals["_MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES"]._serialized_end = 2303 - _globals["_RECORDMARKERCOMMANDATTRIBUTES"]._serialized_start = 2306 - _globals["_RECORDMARKERCOMMANDATTRIBUTES"]._serialized_end = 2625 - _globals["_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY"]._serialized_start = 2545 - _globals["_RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY"]._serialized_end = 2625 - _globals[ - "_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES" - ]._serialized_start = 2628 - _globals["_CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 3568 - _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_start = 3571 - _globals["_STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES"]._serialized_end = 4500 - _globals["_PROTOCOLMESSAGECOMMANDATTRIBUTES"]._serialized_start = 4502 - _globals["_PROTOCOLMESSAGECOMMANDATTRIBUTES"]._serialized_end = 4556 - _globals["_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_start = 4559 - _globals["_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_end = 5042 - _globals[ - "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" - ]._serialized_start = 4992 - _globals[ - "_SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY" - ]._serialized_end = 5042 - _globals["_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_start = 5044 - _globals["_REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES"]._serialized_end = 5118 - _globals["_COMMAND"]._serialized_start = 5121 - _globals["_COMMAND"]._serialized_end = 7432 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._options = None + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( + b"8\001" + ) + _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 384 + _SCHEDULEACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1078 + _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_start = 1080 + _REQUESTCANCELACTIVITYTASKCOMMANDATTRIBUTES._serialized_end = 1152 + _STARTTIMERCOMMANDATTRIBUTES._serialized_start = 1154 + _STARTTIMERCOMMANDATTRIBUTES._serialized_end = 1259 + _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1261 + _COMPLETEWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1355 + _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1357 + _FAILWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1448 + _CANCELTIMERCOMMANDATTRIBUTES._serialized_start = 1450 + _CANCELTIMERCOMMANDATTRIBUTES._serialized_end = 1498 + _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1500 + _CANCELWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1593 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1596 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 1779 + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 1782 + _SIGNALEXTERNALWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 2085 + _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_start = 2087 + _UPSERTWORKFLOWSEARCHATTRIBUTESCOMMANDATTRIBUTES._serialized_end = 2205 + _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_start = 2207 + _MODIFYWORKFLOWPROPERTIESCOMMANDATTRIBUTES._serialized_end = 2303 + _RECORDMARKERCOMMANDATTRIBUTES._serialized_start = 2306 + _RECORDMARKERCOMMANDATTRIBUTES._serialized_end = 2625 + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_start = 2545 + _RECORDMARKERCOMMANDATTRIBUTES_DETAILSENTRY._serialized_end = 2625 + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 2628 + _CONTINUEASNEWWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 3568 + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_start = 3571 + _STARTCHILDWORKFLOWEXECUTIONCOMMANDATTRIBUTES._serialized_end = 4500 + _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_start = 4502 + _PROTOCOLMESSAGECOMMANDATTRIBUTES._serialized_end = 4556 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 4559 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 5042 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 4992 + _SCHEDULENEXUSOPERATIONCOMMANDATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 5042 + _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_start = 5044 + _REQUESTCANCELNEXUSOPERATIONCOMMANDATTRIBUTES._serialized_end = 5118 + _COMMAND._serialized_start = 5121 + _COMMAND._serialized_end = 7432 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/command/v1/message_pb2.pyi b/temporalio/api/command/v1/message_pb2.pyi index d1ab609b3..bf0cbf023 100644 --- a/temporalio/api/command/v1/message_pb2.pyi +++ b/temporalio/api/command/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -21,14 +20,13 @@ import temporalio.api.sdk.v1.event_group_marker_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 import temporalio.api.taskqueue.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -46,14 +44,6 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): USE_WORKFLOW_BUILD_ID_FIELD_NUMBER: builtins.int PRIORITY_FIELD_NUMBER: builtins.int activity_id: builtins.str - request_eager_execution: builtins.bool - """Request to start the activity directly bypassing matching service and worker polling - The slot for executing the activity should be reserved when setting this field to true. - """ - use_workflow_build_id: builtins.bool - """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, - Assignment rules of the activity's Task Queue will be used to determine the Build ID. - """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... @property @@ -72,7 +62,6 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits the time an activity task can stay in a task queue before a worker picks it up. The @@ -86,7 +75,6 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -95,24 +83,28 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Activities are provided by a default retry policy which is controlled through the service's dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has elapsed. To disable retries set retry_policy.maximum_attempts to 1. """ - + request_eager_execution: builtins.bool + """Request to start the activity directly bypassing matching service and worker polling + The slot for executing the activity should be reserved when setting this field to true. + """ + use_workflow_build_id: builtins.bool + """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, + Assignment rules of the activity's Task Queue will be used to determine the Build ID. + """ @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ - def __init__( self, *, @@ -132,7 +124,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_type", b"activity_type", "header", @@ -157,7 +149,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -187,11 +179,8 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleActivityTaskCommandAttributes: typing_extensions.TypeAlias = ( - ScheduleActivityTaskCommandAttributes -) +global___ScheduleActivityTaskCommandAttributes = ScheduleActivityTaskCommandAttributes -@typing.final class RequestCancelActivityTaskCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -204,14 +193,16 @@ class RequestCancelActivityTaskCommandAttributes(google.protobuf.message.Message scheduled_event_id: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["scheduled_event_id", b"scheduled_event_id"] + self, + field_name: typing_extensions.Literal[ + "scheduled_event_id", b"scheduled_event_id" + ], ) -> None: ... -Global___RequestCancelActivityTaskCommandAttributes: typing_extensions.TypeAlias = ( +global___RequestCancelActivityTaskCommandAttributes = ( RequestCancelActivityTaskCommandAttributes ) -@typing.final class StartTimerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -228,7 +219,6 @@ class StartTimerCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - def __init__( self, *, @@ -237,20 +227,19 @@ class StartTimerCommandAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["start_to_fire_timeout", b"start_to_fire_timeout"], + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", b"start_to_fire_timeout" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", b"timer_id" ], ) -> None: ... -Global___StartTimerCommandAttributes: typing_extensions.TypeAlias = ( - StartTimerCommandAttributes -) +global___StartTimerCommandAttributes = StartTimerCommandAttributes -@typing.final class CompleteWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -263,15 +252,16 @@ class CompleteWorkflowExecutionCommandAttributes(google.protobuf.message.Message result: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... -Global___CompleteWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( +global___CompleteWorkflowExecutionCommandAttributes = ( CompleteWorkflowExecutionCommandAttributes ) -@typing.final class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -284,15 +274,14 @@ class FailWorkflowExecutionCommandAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___FailWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( - FailWorkflowExecutionCommandAttributes -) +global___FailWorkflowExecutionCommandAttributes = FailWorkflowExecutionCommandAttributes -@typing.final class CancelTimerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -305,14 +294,11 @@ class CancelTimerCommandAttributes(google.protobuf.message.Message): timer_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["timer_id", b"timer_id"] + self, field_name: typing_extensions.Literal["timer_id", b"timer_id"] ) -> None: ... -Global___CancelTimerCommandAttributes: typing_extensions.TypeAlias = ( - CancelTimerCommandAttributes -) +global___CancelTimerCommandAttributes = CancelTimerCommandAttributes -@typing.final class CancelWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -325,15 +311,16 @@ class CancelWorkflowExecutionCommandAttributes(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["details", b"details"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["details", b"details"] + ) -> None: ... -Global___CancelWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( +global___CancelWorkflowExecutionCommandAttributes = ( CancelWorkflowExecutionCommandAttributes ) -@typing.final class RequestCancelExternalWorkflowExecutionCommandAttributes( google.protobuf.message.Message ): @@ -370,7 +357,7 @@ class RequestCancelExternalWorkflowExecutionCommandAttributes( ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -386,9 +373,10 @@ class RequestCancelExternalWorkflowExecutionCommandAttributes( ], ) -> None: ... -Global___RequestCancelExternalWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = RequestCancelExternalWorkflowExecutionCommandAttributes +global___RequestCancelExternalWorkflowExecutionCommandAttributes = ( + RequestCancelExternalWorkflowExecutionCommandAttributes +) -@typing.final class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -401,8 +389,13 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M HEADER_FIELD_NUMBER: builtins.int namespace: builtins.str """Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.""" + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow.""" + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized value(s) to provide with the signal.""" control: builtins.str """Deprecated""" child_workflow_only: builtins.bool @@ -410,18 +403,11 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M command. The request will be rejected if it is set to true and the target workflow is *not* a child of the requesting workflow. """ - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized value(s) to provide with the signal.""" - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed by the workflow that is sending a signal to the external workflow that is receiving this signal. """ - def __init__( self, *, @@ -435,13 +421,13 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "header", b"header", "input", b"input" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -459,9 +445,10 @@ class SignalExternalWorkflowExecutionCommandAttributes(google.protobuf.message.M ], ) -> None: ... -Global___SignalExternalWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = SignalExternalWorkflowExecutionCommandAttributes +global___SignalExternalWorkflowExecutionCommandAttributes = ( + SignalExternalWorkflowExecutionCommandAttributes +) -@typing.final class UpsertWorkflowSearchAttributesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -477,15 +464,22 @@ class UpsertWorkflowSearchAttributesCommandAttributes(google.protobuf.message.Me | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["search_attributes", b"search_attributes"] + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["search_attributes", b"search_attributes"] + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], ) -> None: ... -Global___UpsertWorkflowSearchAttributesCommandAttributes: typing_extensions.TypeAlias = UpsertWorkflowSearchAttributesCommandAttributes +global___UpsertWorkflowSearchAttributesCommandAttributes = ( + UpsertWorkflowSearchAttributesCommandAttributes +) -@typing.final class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -496,28 +490,25 @@ class ModifyWorkflowPropertiesCommandAttributes(google.protobuf.message.Message) the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted. """ - def __init__( self, *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] ) -> None: ... -Global___ModifyWorkflowPropertiesCommandAttributes: typing_extensions.TypeAlias = ( +global___ModifyWorkflowPropertiesCommandAttributes = ( ModifyWorkflowPropertiesCommandAttributes ) -@typing.final class RecordMarkerCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class DetailsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -533,10 +524,11 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int @@ -566,11 +558,14 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure", "header", b"header"] + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "header", b"header" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "failure", @@ -582,11 +577,8 @@ class RecordMarkerCommandAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___RecordMarkerCommandAttributes: typing_extensions.TypeAlias = ( - RecordMarkerCommandAttributes -) +global___RecordMarkerCommandAttributes = RecordMarkerCommandAttributes -@typing.final class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -606,22 +598,6 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int INHERIT_BUILD_ID_FIELD_NUMBER: builtins.int INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int - initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType - """Should be removed""" - cron_schedule: builtins.str - """Should be removed. Not necessarily unused but unclear and not exposed by SDKs.""" - inherit_build_id: builtins.bool - """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, - the assignment rules will be used to independently assign a Build ID to the new execution. - Deprecated. Only considered for versioning v0.2. - """ - initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. - For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version - of the previous run. - """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -631,25 +607,24 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - @property def backoff_start_interval(self) -> google.protobuf.duration_pb2.Duration: """How long the workflow start will be delayed - not really a "backoff" in the traditional sense.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... + initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + """Should be removed""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Should be removed""" - @property def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Should be removed""" - + cron_schedule: builtins.str + """Should be removed. Not necessarily unused but unclear and not exposed by SDKs.""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -658,6 +633,18 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + inherit_build_id: builtins.bool + """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, + the assignment rules will be used to independently assign a Build ID to the new execution. + Deprecated. Only considered for versioning v0.2. + """ + initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. + For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version + of the previous run. + """ def __init__( self, *, @@ -682,7 +669,7 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff_start_interval", b"backoff_start_interval", "failure", @@ -711,7 +698,7 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff_start_interval", b"backoff_start_interval", "cron_schedule", @@ -747,9 +734,10 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me ], ) -> None: ... -Global___ContinueAsNewWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ContinueAsNewWorkflowExecutionCommandAttributes +global___ContinueAsNewWorkflowExecutionCommandAttributes = ( + ContinueAsNewWorkflowExecutionCommandAttributes +) -@typing.final class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -774,22 +762,6 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa namespace: builtins.str """Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.""" workflow_id: builtins.str - parent_close_policy: ( - temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType - ) - """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - control: builtins.str - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" - cron_schedule: builtins.str - """Establish a cron schedule for the child workflow.""" - inherit_build_id: builtins.bool - """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment - rules of the child's Task Queue will be used to independently assign a Build ID to it. - Deprecated. Only considered for versioning v0.2. - """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -799,17 +771,25 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" - @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - + parent_close_policy: ( + temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + ) + """Default: PARENT_CLOSE_POLICY_TERMINATE.""" + control: builtins.str + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... + cron_schedule: builtins.str + """Establish a cron schedule for the child workflow.""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -818,12 +798,16 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + inherit_build_id: builtins.bool + """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment + rules of the child's Task Queue will be used to independently assign a Build ID to it. + Deprecated. Only considered for versioning v0.2. + """ @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ - def __init__( self, *, @@ -849,7 +833,7 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "input", @@ -876,7 +860,7 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "control", b"control", "cron_schedule", @@ -916,11 +900,10 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa ], ) -> None: ... -Global___StartChildWorkflowExecutionCommandAttributes: typing_extensions.TypeAlias = ( +global___StartChildWorkflowExecutionCommandAttributes = ( StartChildWorkflowExecutionCommandAttributes ) -@typing.final class ProtocolMessageCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -933,18 +916,14 @@ class ProtocolMessageCommandAttributes(google.protobuf.message.Message): message_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["message_id", b"message_id"] + self, field_name: typing_extensions.Literal["message_id", b"message_id"] ) -> None: ... -Global___ProtocolMessageCommandAttributes: typing_extensions.TypeAlias = ( - ProtocolMessageCommandAttributes -) +global___ProtocolMessageCommandAttributes = ProtocolMessageCommandAttributes -@typing.final class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -959,7 +938,8 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int @@ -982,7 +962,6 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command. """ - @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -991,7 +970,6 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def nexus_header( self, @@ -1003,7 +981,6 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -1015,7 +992,6 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) Requires server version 1.31.0 or later. """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -1028,7 +1004,6 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): aip.dev/not-precedent: "to" is used to indicate interval. --) Requires server version 1.31.0 or later. """ - def __init__( self, *, @@ -1043,7 +1018,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -1056,7 +1031,7 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "endpoint", b"endpoint", "input", @@ -1076,11 +1051,10 @@ class ScheduleNexusOperationCommandAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleNexusOperationCommandAttributes: typing_extensions.TypeAlias = ( +global___ScheduleNexusOperationCommandAttributes = ( ScheduleNexusOperationCommandAttributes ) -@typing.final class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1095,14 +1069,16 @@ class RequestCancelNexusOperationCommandAttributes(google.protobuf.message.Messa scheduled_event_id: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["scheduled_event_id", b"scheduled_event_id"] + self, + field_name: typing_extensions.Literal[ + "scheduled_event_id", b"scheduled_event_id" + ], ) -> None: ... -Global___RequestCancelNexusOperationCommandAttributes: typing_extensions.TypeAlias = ( +global___RequestCancelNexusOperationCommandAttributes = ( RequestCancelNexusOperationCommandAttributes ) -@typing.final class Command(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1142,7 +1118,6 @@ class Command(google.protobuf.message.Message): * start_timer_command_attributes - populates temporalio.api.history.v1.HistoryEvent for timer started where the summary is used to identify the timer. """ - @property def event_group_markers( self, @@ -1150,77 +1125,75 @@ class Command(google.protobuf.message.Message): temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker ]: """Event Group Markers attached to the command by the workflow author.""" - @property def schedule_activity_task_command_attributes( self, - ) -> Global___ScheduleActivityTaskCommandAttributes: ... + ) -> global___ScheduleActivityTaskCommandAttributes: ... @property def start_timer_command_attributes( self, - ) -> Global___StartTimerCommandAttributes: ... + ) -> global___StartTimerCommandAttributes: ... @property def complete_workflow_execution_command_attributes( self, - ) -> Global___CompleteWorkflowExecutionCommandAttributes: ... + ) -> global___CompleteWorkflowExecutionCommandAttributes: ... @property def fail_workflow_execution_command_attributes( self, - ) -> Global___FailWorkflowExecutionCommandAttributes: ... + ) -> global___FailWorkflowExecutionCommandAttributes: ... @property def request_cancel_activity_task_command_attributes( self, - ) -> Global___RequestCancelActivityTaskCommandAttributes: ... + ) -> global___RequestCancelActivityTaskCommandAttributes: ... @property def cancel_timer_command_attributes( self, - ) -> Global___CancelTimerCommandAttributes: ... + ) -> global___CancelTimerCommandAttributes: ... @property def cancel_workflow_execution_command_attributes( self, - ) -> Global___CancelWorkflowExecutionCommandAttributes: ... + ) -> global___CancelWorkflowExecutionCommandAttributes: ... @property def request_cancel_external_workflow_execution_command_attributes( self, - ) -> Global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... + ) -> global___RequestCancelExternalWorkflowExecutionCommandAttributes: ... @property def record_marker_command_attributes( self, - ) -> Global___RecordMarkerCommandAttributes: ... + ) -> global___RecordMarkerCommandAttributes: ... @property def continue_as_new_workflow_execution_command_attributes( self, - ) -> Global___ContinueAsNewWorkflowExecutionCommandAttributes: ... + ) -> global___ContinueAsNewWorkflowExecutionCommandAttributes: ... @property def start_child_workflow_execution_command_attributes( self, - ) -> Global___StartChildWorkflowExecutionCommandAttributes: ... + ) -> global___StartChildWorkflowExecutionCommandAttributes: ... @property def signal_external_workflow_execution_command_attributes( self, - ) -> Global___SignalExternalWorkflowExecutionCommandAttributes: ... + ) -> global___SignalExternalWorkflowExecutionCommandAttributes: ... @property def upsert_workflow_search_attributes_command_attributes( self, - ) -> Global___UpsertWorkflowSearchAttributesCommandAttributes: ... + ) -> global___UpsertWorkflowSearchAttributesCommandAttributes: ... @property def protocol_message_command_attributes( self, - ) -> Global___ProtocolMessageCommandAttributes: ... + ) -> global___ProtocolMessageCommandAttributes: ... @property def modify_workflow_properties_command_attributes( self, - ) -> Global___ModifyWorkflowPropertiesCommandAttributes: + ) -> global___ModifyWorkflowPropertiesCommandAttributes: """16 is available for use - it was used as part of a prototype that never made it into a release""" - @property def schedule_nexus_operation_command_attributes( self, - ) -> Global___ScheduleNexusOperationCommandAttributes: ... + ) -> global___ScheduleNexusOperationCommandAttributes: ... @property def request_cancel_nexus_operation_command_attributes( self, - ) -> Global___RequestCancelNexusOperationCommandAttributes: ... + ) -> global___RequestCancelNexusOperationCommandAttributes: ... def __init__( self, *, @@ -1231,44 +1204,44 @@ class Command(google.protobuf.message.Message): temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker ] | None = ..., - schedule_activity_task_command_attributes: Global___ScheduleActivityTaskCommandAttributes + schedule_activity_task_command_attributes: global___ScheduleActivityTaskCommandAttributes | None = ..., - start_timer_command_attributes: Global___StartTimerCommandAttributes + start_timer_command_attributes: global___StartTimerCommandAttributes | None = ..., - complete_workflow_execution_command_attributes: Global___CompleteWorkflowExecutionCommandAttributes + complete_workflow_execution_command_attributes: global___CompleteWorkflowExecutionCommandAttributes | None = ..., - fail_workflow_execution_command_attributes: Global___FailWorkflowExecutionCommandAttributes + fail_workflow_execution_command_attributes: global___FailWorkflowExecutionCommandAttributes | None = ..., - request_cancel_activity_task_command_attributes: Global___RequestCancelActivityTaskCommandAttributes + request_cancel_activity_task_command_attributes: global___RequestCancelActivityTaskCommandAttributes | None = ..., - cancel_timer_command_attributes: Global___CancelTimerCommandAttributes + cancel_timer_command_attributes: global___CancelTimerCommandAttributes | None = ..., - cancel_workflow_execution_command_attributes: Global___CancelWorkflowExecutionCommandAttributes + cancel_workflow_execution_command_attributes: global___CancelWorkflowExecutionCommandAttributes | None = ..., - request_cancel_external_workflow_execution_command_attributes: Global___RequestCancelExternalWorkflowExecutionCommandAttributes + request_cancel_external_workflow_execution_command_attributes: global___RequestCancelExternalWorkflowExecutionCommandAttributes | None = ..., - record_marker_command_attributes: Global___RecordMarkerCommandAttributes + record_marker_command_attributes: global___RecordMarkerCommandAttributes | None = ..., - continue_as_new_workflow_execution_command_attributes: Global___ContinueAsNewWorkflowExecutionCommandAttributes + continue_as_new_workflow_execution_command_attributes: global___ContinueAsNewWorkflowExecutionCommandAttributes | None = ..., - start_child_workflow_execution_command_attributes: Global___StartChildWorkflowExecutionCommandAttributes + start_child_workflow_execution_command_attributes: global___StartChildWorkflowExecutionCommandAttributes | None = ..., - signal_external_workflow_execution_command_attributes: Global___SignalExternalWorkflowExecutionCommandAttributes + signal_external_workflow_execution_command_attributes: global___SignalExternalWorkflowExecutionCommandAttributes | None = ..., - upsert_workflow_search_attributes_command_attributes: Global___UpsertWorkflowSearchAttributesCommandAttributes + upsert_workflow_search_attributes_command_attributes: global___UpsertWorkflowSearchAttributesCommandAttributes | None = ..., - protocol_message_command_attributes: Global___ProtocolMessageCommandAttributes + protocol_message_command_attributes: global___ProtocolMessageCommandAttributes | None = ..., - modify_workflow_properties_command_attributes: Global___ModifyWorkflowPropertiesCommandAttributes + modify_workflow_properties_command_attributes: global___ModifyWorkflowPropertiesCommandAttributes | None = ..., - schedule_nexus_operation_command_attributes: Global___ScheduleNexusOperationCommandAttributes + schedule_nexus_operation_command_attributes: global___ScheduleNexusOperationCommandAttributes | None = ..., - request_cancel_nexus_operation_command_attributes: Global___RequestCancelNexusOperationCommandAttributes + request_cancel_nexus_operation_command_attributes: global___RequestCancelNexusOperationCommandAttributes | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attributes", b"attributes", "cancel_timer_command_attributes", @@ -1311,7 +1284,7 @@ class Command(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attributes", b"attributes", "cancel_timer_command_attributes", @@ -1357,9 +1330,9 @@ class Command(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["attributes", b"attributes"] + self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "schedule_activity_task_command_attributes", "start_timer_command_attributes", "complete_workflow_execution_command_attributes", @@ -1381,4 +1354,4 @@ class Command(google.protobuf.message.Message): | None ): ... -Global___Command: typing_extensions.TypeAlias = Command +global___Command = Command diff --git a/temporalio/api/common/v1/grpc_status_pb2.py b/temporalio/api/common/v1/grpc_status_pb2.py index f369d51ff..17642e92e 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.py +++ b/temporalio/api/common/v1/grpc_status_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/common/v1/grpc_status.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/common/v1/grpc_status.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,13 +20,21 @@ b'\n(temporal/api/common/v1/grpc_status.proto\x12\x16temporal.api.common.v1\x1a\x19google/protobuf/any.proto"R\n\nGrpcStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.common.v1.grpc_status_pb2", _globals + +_GRPCSTATUS = DESCRIPTOR.message_types_by_name["GrpcStatus"] +GrpcStatus = _reflection.GeneratedProtocolMessageType( + "GrpcStatus", + (_message.Message,), + { + "DESCRIPTOR": _GRPCSTATUS, + "__module__": "temporalio.api.common.v1.grpc_status_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.GrpcStatus) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - DESCRIPTOR._loaded_options = None - _globals["_GRPCSTATUS"]._serialized_start = 95 - _globals["_GRPCSTATUS"]._serialized_end = 177 +_sym_db.RegisterMessage(GrpcStatus) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + _GRPCSTATUS._serialized_start = 95 + _GRPCSTATUS._serialized_end = 177 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/grpc_status_pb2.pyi b/temporalio/api/common/v1/grpc_status_pb2.pyi index 96368b797..749a003af 100644 --- a/temporalio/api/common/v1/grpc_status_pb2.pyi +++ b/temporalio/api/common/v1/grpc_status_pb2.pyi @@ -6,21 +6,19 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class GrpcStatus(google.protobuf.message.Message): """From https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto since we don't import grpc but still need the status info @@ -48,9 +46,9 @@ class GrpcStatus(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "code", b"code", "details", b"details", "message", b"message" ], ) -> None: ... -Global___GrpcStatus: typing_extensions.TypeAlias = GrpcStatus +global___GrpcStatus = GrpcStatus diff --git a/temporalio/api/common/v1/message_pb2.py b/temporalio/api/common/v1/message_pb2.py index d5b0220fd..401e3721a 100644 --- a/temporalio/api/common/v1/message_pb2.py +++ b/temporalio/api/common/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/common/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/common/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,104 +32,535 @@ b'\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.proto"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"\x8a\x02\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12Q\n\x11\x65xternal_payloads\x18\x03 \x03(\x0b\x32\x36.temporal.api.common.v1.Payload.ExternalPayloadDetails\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a,\n\x16\x45xternalPayloadDetails\x12\x12\n\nsize_bytes\x18\x01 \x01(\x03"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02"\x8a\x08\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x12\x39\n\x08\x61\x63tivity\x18\x03 \x01(\x0b\x32%.temporal.api.common.v1.Link.ActivityH\x00\x12\x46\n\x0fnexus_operation\x18\x04 \x01(\x0b\x32+.temporal.api.common.v1.Link.NexusOperationH\x00\x12\x39\n\x08workflow\x18\x05 \x01(\x0b\x32%.temporal.api.common.v1.Link.WorkflowH\x00\x1a\xb7\x03\n\rWorkflowEvent\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x1a\x42\n\x08\x41\x63tivity\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x1aI\n\x0eNexusOperation\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x1aR\n\x08Workflow\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\tB\t\n\x07variant"\'\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selector"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08"y\n\x12TimeSkippingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12/\n\x0c\x66\x61st_forward\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12!\n\x19\x64isable_child_propagation\x18\x03 \x01(\x08"\x99\x01\n\x1cTimeSkippingStatePropagation\x12;\n\x18initial_skipped_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x18\x66\x61st_forward_target_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.common.v1.message_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1" - _globals["_PAYLOAD_METADATAENTRY"]._loaded_options = None - _globals["_PAYLOAD_METADATAENTRY"]._serialized_options = b"8\001" - _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._loaded_options = None - _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._serialized_options = b"8\001" - _globals["_MEMO_FIELDSENTRY"]._loaded_options = None - _globals["_MEMO_FIELDSENTRY"]._serialized_options = b"8\001" - _globals["_HEADER_FIELDSENTRY"]._loaded_options = None - _globals["_HEADER_FIELDSENTRY"]._serialized_options = b"8\001" - _globals["_RESETOPTIONS"].fields_by_name[ - "reset_reapply_type" - ]._loaded_options = None - _globals["_RESETOPTIONS"].fields_by_name[ - "reset_reapply_type" - ]._serialized_options = b"\030\001" - _globals["_CALLBACK_NEXUS_HEADERENTRY"]._loaded_options = None - _globals["_CALLBACK_NEXUS_HEADERENTRY"]._serialized_options = b"8\001" - _globals["_DATABLOB"]._serialized_start = 269 - _globals["_DATABLOB"]._serialized_end = 353 - _globals["_PAYLOADS"]._serialized_start = 355 - _globals["_PAYLOADS"]._serialized_end = 416 - _globals["_PAYLOAD"]._serialized_start = 419 - _globals["_PAYLOAD"]._serialized_end = 685 - _globals["_PAYLOAD_METADATAENTRY"]._serialized_start = 592 - _globals["_PAYLOAD_METADATAENTRY"]._serialized_end = 639 - _globals["_PAYLOAD_EXTERNALPAYLOADDETAILS"]._serialized_start = 641 - _globals["_PAYLOAD_EXTERNALPAYLOADDETAILS"]._serialized_end = 685 - _globals["_SEARCHATTRIBUTES"]._serialized_start = 688 - _globals["_SEARCHATTRIBUTES"]._serialized_end = 878 - _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._serialized_start = 793 - _globals["_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY"]._serialized_end = 878 - _globals["_MEMO"]._serialized_start = 881 - _globals["_MEMO"]._serialized_end = 1025 - _globals["_MEMO_FIELDSENTRY"]._serialized_start = 947 - _globals["_MEMO_FIELDSENTRY"]._serialized_end = 1025 - _globals["_HEADER"]._serialized_start = 1028 - _globals["_HEADER"]._serialized_end = 1176 - _globals["_HEADER_FIELDSENTRY"]._serialized_start = 947 - _globals["_HEADER_FIELDSENTRY"]._serialized_end = 1025 - _globals["_WORKFLOWEXECUTION"]._serialized_start = 1178 - _globals["_WORKFLOWEXECUTION"]._serialized_end = 1234 - _globals["_WORKFLOWTYPE"]._serialized_start = 1236 - _globals["_WORKFLOWTYPE"]._serialized_end = 1264 - _globals["_ACTIVITYTYPE"]._serialized_start = 1266 - _globals["_ACTIVITYTYPE"]._serialized_end = 1294 - _globals["_RETRYPOLICY"]._serialized_start = 1297 - _globals["_RETRYPOLICY"]._serialized_end = 1506 - _globals["_METERINGMETADATA"]._serialized_start = 1508 - _globals["_METERINGMETADATA"]._serialized_end = 1578 - _globals["_WORKERVERSIONSTAMP"]._serialized_start = 1580 - _globals["_WORKERVERSIONSTAMP"]._serialized_end = 1642 - _globals["_WORKERVERSIONCAPABILITIES"]._serialized_start = 1644 - _globals["_WORKERVERSIONCAPABILITIES"]._serialized_end = 1745 - _globals["_RESETOPTIONS"]._serialized_start = 1748 - _globals["_RESETOPTIONS"]._serialized_end = 2113 - _globals["_CALLBACK"]._serialized_start = 2116 - _globals["_CALLBACK"]._serialized_end = 2472 - _globals["_CALLBACK_NEXUS"]._serialized_start = 2294 - _globals["_CALLBACK_NEXUS"]._serialized_end = 2429 - _globals["_CALLBACK_NEXUS_HEADERENTRY"]._serialized_start = 2384 - _globals["_CALLBACK_NEXUS_HEADERENTRY"]._serialized_end = 2429 - _globals["_CALLBACK_INTERNAL"]._serialized_start = 2431 - _globals["_CALLBACK_INTERNAL"]._serialized_end = 2455 - _globals["_LINK"]._serialized_start = 2475 - _globals["_LINK"]._serialized_end = 3509 - _globals["_LINK_WORKFLOWEVENT"]._serialized_start = 2804 - _globals["_LINK_WORKFLOWEVENT"]._serialized_end = 3243 - _globals["_LINK_WORKFLOWEVENT_EVENTREFERENCE"]._serialized_start = 3046 - _globals["_LINK_WORKFLOWEVENT_EVENTREFERENCE"]._serialized_end = 3134 - _globals["_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE"]._serialized_start = 3136 - _globals["_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE"]._serialized_end = 3230 - _globals["_LINK_BATCHJOB"]._serialized_start = 3245 - _globals["_LINK_BATCHJOB"]._serialized_end = 3271 - _globals["_LINK_ACTIVITY"]._serialized_start = 3273 - _globals["_LINK_ACTIVITY"]._serialized_end = 3339 - _globals["_LINK_NEXUSOPERATION"]._serialized_start = 3341 - _globals["_LINK_NEXUSOPERATION"]._serialized_end = 3414 - _globals["_LINK_WORKFLOW"]._serialized_start = 3416 - _globals["_LINK_WORKFLOW"]._serialized_end = 3498 - _globals["_PRINCIPAL"]._serialized_start = 3511 - _globals["_PRINCIPAL"]._serialized_end = 3550 - _globals["_PRIORITY"]._serialized_start = 3552 - _globals["_PRIORITY"]._serialized_end = 3631 - _globals["_WORKERSELECTOR"]._serialized_start = 3633 - _globals["_WORKERSELECTOR"]._serialized_end = 3692 - _globals["_ONCONFLICTOPTIONS"]._serialized_start = 3694 - _globals["_ONCONFLICTOPTIONS"]._serialized_end = 3799 - _globals["_TIMESKIPPINGCONFIG"]._serialized_start = 3801 - _globals["_TIMESKIPPINGCONFIG"]._serialized_end = 3922 - _globals["_TIMESKIPPINGSTATEPROPAGATION"]._serialized_start = 3925 - _globals["_TIMESKIPPINGSTATEPROPAGATION"]._serialized_end = 4078 + +_DATABLOB = DESCRIPTOR.message_types_by_name["DataBlob"] +_PAYLOADS = DESCRIPTOR.message_types_by_name["Payloads"] +_PAYLOAD = DESCRIPTOR.message_types_by_name["Payload"] +_PAYLOAD_METADATAENTRY = _PAYLOAD.nested_types_by_name["MetadataEntry"] +_PAYLOAD_EXTERNALPAYLOADDETAILS = _PAYLOAD.nested_types_by_name[ + "ExternalPayloadDetails" +] +_SEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name["SearchAttributes"] +_SEARCHATTRIBUTES_INDEXEDFIELDSENTRY = _SEARCHATTRIBUTES.nested_types_by_name[ + "IndexedFieldsEntry" +] +_MEMO = DESCRIPTOR.message_types_by_name["Memo"] +_MEMO_FIELDSENTRY = _MEMO.nested_types_by_name["FieldsEntry"] +_HEADER = DESCRIPTOR.message_types_by_name["Header"] +_HEADER_FIELDSENTRY = _HEADER.nested_types_by_name["FieldsEntry"] +_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] +_WORKFLOWTYPE = DESCRIPTOR.message_types_by_name["WorkflowType"] +_ACTIVITYTYPE = DESCRIPTOR.message_types_by_name["ActivityType"] +_RETRYPOLICY = DESCRIPTOR.message_types_by_name["RetryPolicy"] +_METERINGMETADATA = DESCRIPTOR.message_types_by_name["MeteringMetadata"] +_WORKERVERSIONSTAMP = DESCRIPTOR.message_types_by_name["WorkerVersionStamp"] +_WORKERVERSIONCAPABILITIES = DESCRIPTOR.message_types_by_name[ + "WorkerVersionCapabilities" +] +_RESETOPTIONS = DESCRIPTOR.message_types_by_name["ResetOptions"] +_CALLBACK = DESCRIPTOR.message_types_by_name["Callback"] +_CALLBACK_NEXUS = _CALLBACK.nested_types_by_name["Nexus"] +_CALLBACK_NEXUS_HEADERENTRY = _CALLBACK_NEXUS.nested_types_by_name["HeaderEntry"] +_CALLBACK_INTERNAL = _CALLBACK.nested_types_by_name["Internal"] +_LINK = DESCRIPTOR.message_types_by_name["Link"] +_LINK_WORKFLOWEVENT = _LINK.nested_types_by_name["WorkflowEvent"] +_LINK_WORKFLOWEVENT_EVENTREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ + "EventReference" +] +_LINK_WORKFLOWEVENT_REQUESTIDREFERENCE = _LINK_WORKFLOWEVENT.nested_types_by_name[ + "RequestIdReference" +] +_LINK_BATCHJOB = _LINK.nested_types_by_name["BatchJob"] +_LINK_ACTIVITY = _LINK.nested_types_by_name["Activity"] +_LINK_NEXUSOPERATION = _LINK.nested_types_by_name["NexusOperation"] +_LINK_WORKFLOW = _LINK.nested_types_by_name["Workflow"] +_PRINCIPAL = DESCRIPTOR.message_types_by_name["Principal"] +_PRIORITY = DESCRIPTOR.message_types_by_name["Priority"] +_WORKERSELECTOR = DESCRIPTOR.message_types_by_name["WorkerSelector"] +_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name["OnConflictOptions"] +_TIMESKIPPINGCONFIG = DESCRIPTOR.message_types_by_name["TimeSkippingConfig"] +_TIMESKIPPINGSTATEPROPAGATION = DESCRIPTOR.message_types_by_name[ + "TimeSkippingStatePropagation" +] +DataBlob = _reflection.GeneratedProtocolMessageType( + "DataBlob", + (_message.Message,), + { + "DESCRIPTOR": _DATABLOB, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.DataBlob) + }, +) +_sym_db.RegisterMessage(DataBlob) + +Payloads = _reflection.GeneratedProtocolMessageType( + "Payloads", + (_message.Message,), + { + "DESCRIPTOR": _PAYLOADS, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payloads) + }, +) +_sym_db.RegisterMessage(Payloads) + +Payload = _reflection.GeneratedProtocolMessageType( + "Payload", + (_message.Message,), + { + "MetadataEntry": _reflection.GeneratedProtocolMessageType( + "MetadataEntry", + (_message.Message,), + { + "DESCRIPTOR": _PAYLOAD_METADATAENTRY, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.MetadataEntry) + }, + ), + "ExternalPayloadDetails": _reflection.GeneratedProtocolMessageType( + "ExternalPayloadDetails", + (_message.Message,), + { + "DESCRIPTOR": _PAYLOAD_EXTERNALPAYLOADDETAILS, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload.ExternalPayloadDetails) + }, + ), + "DESCRIPTOR": _PAYLOAD, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Payload) + }, +) +_sym_db.RegisterMessage(Payload) +_sym_db.RegisterMessage(Payload.MetadataEntry) +_sym_db.RegisterMessage(Payload.ExternalPayloadDetails) + +SearchAttributes = _reflection.GeneratedProtocolMessageType( + "SearchAttributes", + (_message.Message,), + { + "IndexedFieldsEntry": _reflection.GeneratedProtocolMessageType( + "IndexedFieldsEntry", + (_message.Message,), + { + "DESCRIPTOR": _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry) + }, + ), + "DESCRIPTOR": _SEARCHATTRIBUTES, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.SearchAttributes) + }, +) +_sym_db.RegisterMessage(SearchAttributes) +_sym_db.RegisterMessage(SearchAttributes.IndexedFieldsEntry) + +Memo = _reflection.GeneratedProtocolMessageType( + "Memo", + (_message.Message,), + { + "FieldsEntry": _reflection.GeneratedProtocolMessageType( + "FieldsEntry", + (_message.Message,), + { + "DESCRIPTOR": _MEMO_FIELDSENTRY, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Memo.FieldsEntry) + }, + ), + "DESCRIPTOR": _MEMO, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.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__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header.FieldsEntry) + }, + ), + "DESCRIPTOR": _HEADER, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Header) + }, +) +_sym_db.RegisterMessage(Header) +_sym_db.RegisterMessage(Header.FieldsEntry) + +WorkflowExecution = _reflection.GeneratedProtocolMessageType( + "WorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTION, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowExecution) + }, +) +_sym_db.RegisterMessage(WorkflowExecution) + +WorkflowType = _reflection.GeneratedProtocolMessageType( + "WorkflowType", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTYPE, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkflowType) + }, +) +_sym_db.RegisterMessage(WorkflowType) + +ActivityType = _reflection.GeneratedProtocolMessageType( + "ActivityType", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTYPE, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ActivityType) + }, +) +_sym_db.RegisterMessage(ActivityType) + +RetryPolicy = _reflection.GeneratedProtocolMessageType( + "RetryPolicy", + (_message.Message,), + { + "DESCRIPTOR": _RETRYPOLICY, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.RetryPolicy) + }, +) +_sym_db.RegisterMessage(RetryPolicy) + +MeteringMetadata = _reflection.GeneratedProtocolMessageType( + "MeteringMetadata", + (_message.Message,), + { + "DESCRIPTOR": _METERINGMETADATA, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.MeteringMetadata) + }, +) +_sym_db.RegisterMessage(MeteringMetadata) + +WorkerVersionStamp = _reflection.GeneratedProtocolMessageType( + "WorkerVersionStamp", + (_message.Message,), + { + "DESCRIPTOR": _WORKERVERSIONSTAMP, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionStamp) + }, +) +_sym_db.RegisterMessage(WorkerVersionStamp) + +WorkerVersionCapabilities = _reflection.GeneratedProtocolMessageType( + "WorkerVersionCapabilities", + (_message.Message,), + { + "DESCRIPTOR": _WORKERVERSIONCAPABILITIES, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerVersionCapabilities) + }, +) +_sym_db.RegisterMessage(WorkerVersionCapabilities) + +ResetOptions = _reflection.GeneratedProtocolMessageType( + "ResetOptions", + (_message.Message,), + { + "DESCRIPTOR": _RESETOPTIONS, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.ResetOptions) + }, +) +_sym_db.RegisterMessage(ResetOptions) + +Callback = _reflection.GeneratedProtocolMessageType( + "Callback", + (_message.Message,), + { + "Nexus": _reflection.GeneratedProtocolMessageType( + "Nexus", + (_message.Message,), + { + "HeaderEntry": _reflection.GeneratedProtocolMessageType( + "HeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACK_NEXUS_HEADERENTRY, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus.HeaderEntry) + }, + ), + "DESCRIPTOR": _CALLBACK_NEXUS, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Nexus) + }, + ), + "Internal": _reflection.GeneratedProtocolMessageType( + "Internal", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACK_INTERNAL, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback.Internal) + }, + ), + "DESCRIPTOR": _CALLBACK, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Callback) + }, +) +_sym_db.RegisterMessage(Callback) +_sym_db.RegisterMessage(Callback.Nexus) +_sym_db.RegisterMessage(Callback.Nexus.HeaderEntry) +_sym_db.RegisterMessage(Callback.Internal) + +Link = _reflection.GeneratedProtocolMessageType( + "Link", + (_message.Message,), + { + "WorkflowEvent": _reflection.GeneratedProtocolMessageType( + "WorkflowEvent", + (_message.Message,), + { + "EventReference": _reflection.GeneratedProtocolMessageType( + "EventReference", + (_message.Message,), + { + "DESCRIPTOR": _LINK_WORKFLOWEVENT_EVENTREFERENCE, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.EventReference) + }, + ), + "RequestIdReference": _reflection.GeneratedProtocolMessageType( + "RequestIdReference", + (_message.Message,), + { + "DESCRIPTOR": _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference) + }, + ), + "DESCRIPTOR": _LINK_WORKFLOWEVENT, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.WorkflowEvent) + }, + ), + "BatchJob": _reflection.GeneratedProtocolMessageType( + "BatchJob", + (_message.Message,), + { + "DESCRIPTOR": _LINK_BATCHJOB, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.BatchJob) + }, + ), + "Activity": _reflection.GeneratedProtocolMessageType( + "Activity", + (_message.Message,), + { + "DESCRIPTOR": _LINK_ACTIVITY, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.Activity) + }, + ), + "NexusOperation": _reflection.GeneratedProtocolMessageType( + "NexusOperation", + (_message.Message,), + { + "DESCRIPTOR": _LINK_NEXUSOPERATION, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.NexusOperation) + }, + ), + "Workflow": _reflection.GeneratedProtocolMessageType( + "Workflow", + (_message.Message,), + { + "DESCRIPTOR": _LINK_WORKFLOW, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link.Workflow) + }, + ), + "DESCRIPTOR": _LINK, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Link) + }, +) +_sym_db.RegisterMessage(Link) +_sym_db.RegisterMessage(Link.WorkflowEvent) +_sym_db.RegisterMessage(Link.WorkflowEvent.EventReference) +_sym_db.RegisterMessage(Link.WorkflowEvent.RequestIdReference) +_sym_db.RegisterMessage(Link.BatchJob) +_sym_db.RegisterMessage(Link.Activity) +_sym_db.RegisterMessage(Link.NexusOperation) +_sym_db.RegisterMessage(Link.Workflow) + +Principal = _reflection.GeneratedProtocolMessageType( + "Principal", + (_message.Message,), + { + "DESCRIPTOR": _PRINCIPAL, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Principal) + }, +) +_sym_db.RegisterMessage(Principal) + +Priority = _reflection.GeneratedProtocolMessageType( + "Priority", + (_message.Message,), + { + "DESCRIPTOR": _PRIORITY, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.Priority) + }, +) +_sym_db.RegisterMessage(Priority) + +WorkerSelector = _reflection.GeneratedProtocolMessageType( + "WorkerSelector", + (_message.Message,), + { + "DESCRIPTOR": _WORKERSELECTOR, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.WorkerSelector) + }, +) +_sym_db.RegisterMessage(WorkerSelector) + +OnConflictOptions = _reflection.GeneratedProtocolMessageType( + "OnConflictOptions", + (_message.Message,), + { + "DESCRIPTOR": _ONCONFLICTOPTIONS, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.OnConflictOptions) + }, +) +_sym_db.RegisterMessage(OnConflictOptions) + +TimeSkippingConfig = _reflection.GeneratedProtocolMessageType( + "TimeSkippingConfig", + (_message.Message,), + { + "DESCRIPTOR": _TIMESKIPPINGCONFIG, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.TimeSkippingConfig) + }, +) +_sym_db.RegisterMessage(TimeSkippingConfig) + +TimeSkippingStatePropagation = _reflection.GeneratedProtocolMessageType( + "TimeSkippingStatePropagation", + (_message.Message,), + { + "DESCRIPTOR": _TIMESKIPPINGSTATEPROPAGATION, + "__module__": "temporalio.api.common.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.common.v1.TimeSkippingStatePropagation) + }, +) +_sym_db.RegisterMessage(TimeSkippingStatePropagation) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.common.v1B\014MessageProtoP\001Z#go.temporal.io/api/common/v1;common\252\002\030Temporalio.Api.Common.V1\352\002\033Temporalio::Api::Common::V1" + _PAYLOAD_METADATAENTRY._options = None + _PAYLOAD_METADATAENTRY._serialized_options = b"8\001" + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._options = None + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_options = b"8\001" + _MEMO_FIELDSENTRY._options = None + _MEMO_FIELDSENTRY._serialized_options = b"8\001" + _HEADER_FIELDSENTRY._options = None + _HEADER_FIELDSENTRY._serialized_options = b"8\001" + _RESETOPTIONS.fields_by_name["reset_reapply_type"]._options = None + _RESETOPTIONS.fields_by_name["reset_reapply_type"]._serialized_options = b"\030\001" + _CALLBACK_NEXUS_HEADERENTRY._options = None + _CALLBACK_NEXUS_HEADERENTRY._serialized_options = b"8\001" + _DATABLOB._serialized_start = 269 + _DATABLOB._serialized_end = 353 + _PAYLOADS._serialized_start = 355 + _PAYLOADS._serialized_end = 416 + _PAYLOAD._serialized_start = 419 + _PAYLOAD._serialized_end = 685 + _PAYLOAD_METADATAENTRY._serialized_start = 592 + _PAYLOAD_METADATAENTRY._serialized_end = 639 + _PAYLOAD_EXTERNALPAYLOADDETAILS._serialized_start = 641 + _PAYLOAD_EXTERNALPAYLOADDETAILS._serialized_end = 685 + _SEARCHATTRIBUTES._serialized_start = 688 + _SEARCHATTRIBUTES._serialized_end = 878 + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_start = 793 + _SEARCHATTRIBUTES_INDEXEDFIELDSENTRY._serialized_end = 878 + _MEMO._serialized_start = 881 + _MEMO._serialized_end = 1025 + _MEMO_FIELDSENTRY._serialized_start = 947 + _MEMO_FIELDSENTRY._serialized_end = 1025 + _HEADER._serialized_start = 1028 + _HEADER._serialized_end = 1176 + _HEADER_FIELDSENTRY._serialized_start = 947 + _HEADER_FIELDSENTRY._serialized_end = 1025 + _WORKFLOWEXECUTION._serialized_start = 1178 + _WORKFLOWEXECUTION._serialized_end = 1234 + _WORKFLOWTYPE._serialized_start = 1236 + _WORKFLOWTYPE._serialized_end = 1264 + _ACTIVITYTYPE._serialized_start = 1266 + _ACTIVITYTYPE._serialized_end = 1294 + _RETRYPOLICY._serialized_start = 1297 + _RETRYPOLICY._serialized_end = 1506 + _METERINGMETADATA._serialized_start = 1508 + _METERINGMETADATA._serialized_end = 1578 + _WORKERVERSIONSTAMP._serialized_start = 1580 + _WORKERVERSIONSTAMP._serialized_end = 1642 + _WORKERVERSIONCAPABILITIES._serialized_start = 1644 + _WORKERVERSIONCAPABILITIES._serialized_end = 1745 + _RESETOPTIONS._serialized_start = 1748 + _RESETOPTIONS._serialized_end = 2113 + _CALLBACK._serialized_start = 2116 + _CALLBACK._serialized_end = 2472 + _CALLBACK_NEXUS._serialized_start = 2294 + _CALLBACK_NEXUS._serialized_end = 2429 + _CALLBACK_NEXUS_HEADERENTRY._serialized_start = 2384 + _CALLBACK_NEXUS_HEADERENTRY._serialized_end = 2429 + _CALLBACK_INTERNAL._serialized_start = 2431 + _CALLBACK_INTERNAL._serialized_end = 2455 + _LINK._serialized_start = 2475 + _LINK._serialized_end = 3509 + _LINK_WORKFLOWEVENT._serialized_start = 2804 + _LINK_WORKFLOWEVENT._serialized_end = 3243 + _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_start = 3046 + _LINK_WORKFLOWEVENT_EVENTREFERENCE._serialized_end = 3134 + _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_start = 3136 + _LINK_WORKFLOWEVENT_REQUESTIDREFERENCE._serialized_end = 3230 + _LINK_BATCHJOB._serialized_start = 3245 + _LINK_BATCHJOB._serialized_end = 3271 + _LINK_ACTIVITY._serialized_start = 3273 + _LINK_ACTIVITY._serialized_end = 3339 + _LINK_NEXUSOPERATION._serialized_start = 3341 + _LINK_NEXUSOPERATION._serialized_end = 3414 + _LINK_WORKFLOW._serialized_start = 3416 + _LINK_WORKFLOW._serialized_end = 3498 + _PRINCIPAL._serialized_start = 3511 + _PRINCIPAL._serialized_end = 3550 + _PRIORITY._serialized_start = 3552 + _PRIORITY._serialized_end = 3631 + _WORKERSELECTOR._serialized_start = 3633 + _WORKERSELECTOR._serialized_end = 3692 + _ONCONFLICTOPTIONS._serialized_start = 3694 + _ONCONFLICTOPTIONS._serialized_end = 3799 + _TIMESKIPPINGCONFIG._serialized_start = 3801 + _TIMESKIPPINGCONFIG._serialized_end = 3922 + _TIMESKIPPINGSTATEPROPAGATION._serialized_start = 3925 + _TIMESKIPPINGSTATEPROPAGATION._serialized_end = 4078 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/common/v1/message_pb2.pyi b/temporalio/api/common/v1/message_pb2.pyi index 7275ccaa1..04840f406 100644 --- a/temporalio/api/common/v1/message_pb2.pyi +++ b/temporalio/api/common/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -19,14 +18,13 @@ import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.event_type_pb2 import temporalio.api.enums.v1.reset_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class DataBlob(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -42,12 +40,13 @@ class DataBlob(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["data", b"data", "encoding_type", b"encoding_type"], + field_name: typing_extensions.Literal[ + "data", b"data", "encoding_type", b"encoding_type" + ], ) -> None: ... -Global___DataBlob: typing_extensions.TypeAlias = DataBlob +global___DataBlob = DataBlob -@typing.final class Payloads(google.protobuf.message.Message): """See `Payload`""" @@ -58,20 +57,19 @@ class Payloads(google.protobuf.message.Message): def payloads( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Payload + global___Payload ]: ... def __init__( self, *, - payloads: collections.abc.Iterable[Global___Payload] | None = ..., + payloads: collections.abc.Iterable[global___Payload] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["payloads", b"payloads"] + self, field_name: typing_extensions.Literal["payloads", b"payloads"] ) -> None: ... -Global___Payloads: typing_extensions.TypeAlias = Payloads +global___Payloads = Payloads -@typing.final class Payload(google.protobuf.message.Message): """Represents some binary (byte array) data (ex: activity input parameters or workflow result) with metadata which describes this binary data (format, encoding, encryption, etc). Serialization @@ -80,7 +78,6 @@ class Payload(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -95,10 +92,10 @@ class Payload(google.protobuf.message.Message): value: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class ExternalPayloadDetails(google.protobuf.message.Message): """Describes an externally stored object referenced by this payload.""" @@ -113,40 +110,39 @@ class Payload(google.protobuf.message.Message): size_bytes: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["size_bytes", b"size_bytes"] + self, field_name: typing_extensions.Literal["size_bytes", b"size_bytes"] ) -> None: ... METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int EXTERNAL_PAYLOADS_FIELD_NUMBER: builtins.int - data: builtins.bytes @property def metadata( self, ) -> google.protobuf.internal.containers.ScalarMap[ builtins.str, builtins.bytes ]: ... + data: builtins.bytes @property def external_payloads( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Payload.ExternalPayloadDetails + global___Payload.ExternalPayloadDetails ]: """Details about externally stored payloads associated with this payload.""" - def __init__( self, *, metadata: collections.abc.Mapping[builtins.str, builtins.bytes] | None = ..., data: builtins.bytes = ..., external_payloads: collections.abc.Iterable[ - Global___Payload.ExternalPayloadDetails + global___Payload.ExternalPayloadDetails ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "data", b"data", "external_payloads", @@ -156,9 +152,8 @@ class Payload(google.protobuf.message.Message): ], ) -> None: ... -Global___Payload: typing_extensions.TypeAlias = Payload +global___Payload = Payload -@typing.final class SearchAttributes(google.protobuf.message.Message): """A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows. The payload is not serialized in a user-defined way. @@ -166,7 +161,6 @@ class SearchAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class IndexedFieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -174,18 +168,19 @@ class SearchAttributes(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___Payload: ... + def value(self) -> global___Payload: ... def __init__( self, *, key: builtins.str = ..., - value: Global___Payload | None = ..., + value: global___Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... INDEXED_FIELDS_FIELD_NUMBER: builtins.int @@ -193,27 +188,25 @@ class SearchAttributes(google.protobuf.message.Message): def indexed_fields( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___Payload + builtins.str, global___Payload ]: ... def __init__( self, *, - indexed_fields: collections.abc.Mapping[builtins.str, Global___Payload] + indexed_fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["indexed_fields", b"indexed_fields"] + self, field_name: typing_extensions.Literal["indexed_fields", b"indexed_fields"] ) -> None: ... -Global___SearchAttributes: typing_extensions.TypeAlias = SearchAttributes +global___SearchAttributes = SearchAttributes -@typing.final class Memo(google.protobuf.message.Message): """A user-defined set of *unindexed* fields that are exposed when listing/searching workflows""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class FieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -221,18 +214,19 @@ class Memo(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___Payload: ... + def value(self) -> global___Payload: ... def __init__( self, *, key: builtins.str = ..., - value: Global___Payload | None = ..., + value: global___Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @@ -240,18 +234,19 @@ class Memo(google.protobuf.message.Message): def fields( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___Payload + builtins.str, global___Payload ]: ... def __init__( self, *, - fields: collections.abc.Mapping[builtins.str, Global___Payload] | None = ..., + fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["fields", b"fields"] ) -> None: ... - def ClearField(self, field_name: typing.Literal["fields", b"fields"]) -> None: ... -Global___Memo: typing_extensions.TypeAlias = Memo +global___Memo = Memo -@typing.final class Header(google.protobuf.message.Message): """Contains metadata that can be attached to a variety of requests, like starting a workflow, and can be propagated between, for example, workflows and activities. @@ -259,7 +254,6 @@ class Header(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class FieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -267,18 +261,19 @@ class Header(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___Payload: ... + def value(self) -> global___Payload: ... def __init__( self, *, key: builtins.str = ..., - value: Global___Payload | None = ..., + value: global___Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... FIELDS_FIELD_NUMBER: builtins.int @@ -286,18 +281,19 @@ class Header(google.protobuf.message.Message): def fields( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___Payload + builtins.str, global___Payload ]: ... def __init__( self, *, - fields: collections.abc.Mapping[builtins.str, Global___Payload] | None = ..., + fields: collections.abc.Mapping[builtins.str, global___Payload] | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["fields", b"fields"] ) -> None: ... - def ClearField(self, field_name: typing.Literal["fields", b"fields"]) -> None: ... -Global___Header: typing_extensions.TypeAlias = Header +global___Header = Header -@typing.final class WorkflowExecution(google.protobuf.message.Message): """Identifies a specific workflow within a namespace. Practically speaking, because run_id is a uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty @@ -318,12 +314,13 @@ class WorkflowExecution(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"], + field_name: typing_extensions.Literal[ + "run_id", b"run_id", "workflow_id", b"workflow_id" + ], ) -> None: ... -Global___WorkflowExecution: typing_extensions.TypeAlias = WorkflowExecution +global___WorkflowExecution = WorkflowExecution -@typing.final class WorkflowType(google.protobuf.message.Message): """Represents the identifier used by a workflow author to define the workflow. Typically, the name of a function. This is sometimes referred to as the workflow's "name" @@ -338,11 +335,12 @@ class WorkflowType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["name", b"name"] + ) -> None: ... -Global___WorkflowType: typing_extensions.TypeAlias = WorkflowType +global___WorkflowType = WorkflowType -@typing.final class ActivityType(google.protobuf.message.Message): """Represents the identifier used by a activity author to define the activity. Typically, the name of a function. This is sometimes referred to as the activity's "name" @@ -357,11 +355,12 @@ class ActivityType(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["name", b"name"] + ) -> None: ... -Global___ActivityType: typing_extensions.TypeAlias = ActivityType +global___ActivityType = ActivityType -@typing.final class RetryPolicy(google.protobuf.message.Message): """How retries ought to be handled, usable by both workflows and activities""" @@ -372,25 +371,23 @@ class RetryPolicy(google.protobuf.message.Message): MAXIMUM_INTERVAL_FIELD_NUMBER: builtins.int MAXIMUM_ATTEMPTS_FIELD_NUMBER: builtins.int NON_RETRYABLE_ERROR_TYPES_FIELD_NUMBER: builtins.int + @property + def initial_interval(self) -> google.protobuf.duration_pb2.Duration: + """Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.""" backoff_coefficient: builtins.float """Coefficient used to calculate the next retry interval. The next retry interval is previous interval multiplied by the coefficient. Must be 1 or larger. """ - maximum_attempts: builtins.int - """Maximum number of attempts. When exceeded the retries stop even if not expired yet. - 1 disables retries. 0 means unlimited (up to the timeouts) - """ - @property - def initial_interval(self) -> google.protobuf.duration_pb2.Duration: - """Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.""" - @property def maximum_interval(self) -> google.protobuf.duration_pb2.Duration: """Maximum interval between retries. Exponential backoff leads to interval increase. This value is the cap of the increase. Default is 100x of the initial interval. """ - + maximum_attempts: builtins.int + """Maximum number of attempts. When exceeded the retries stop even if not expired yet. + 1 disables retries. 0 means unlimited (up to the timeouts) + """ @property def non_retryable_error_types( self, @@ -398,7 +395,6 @@ class RetryPolicy(google.protobuf.message.Message): """Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that this is not a substring match, the error *type* (not message) must match exactly. """ - def __init__( self, *, @@ -410,7 +406,7 @@ class RetryPolicy(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initial_interval", b"initial_interval", "maximum_interval", @@ -419,7 +415,7 @@ class RetryPolicy(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff_coefficient", b"backoff_coefficient", "initial_interval", @@ -433,9 +429,8 @@ class RetryPolicy(google.protobuf.message.Message): ], ) -> None: ... -Global___RetryPolicy: typing_extensions.TypeAlias = RetryPolicy +global___RetryPolicy = RetryPolicy -@typing.final class MeteringMetadata(google.protobuf.message.Message): """Metadata relevant for metering purposes""" @@ -457,15 +452,14 @@ class MeteringMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "nonfirst_local_activity_execution_attempts", b"nonfirst_local_activity_execution_attempts", ], ) -> None: ... -Global___MeteringMetadata: typing_extensions.TypeAlias = MeteringMetadata +global___MeteringMetadata = MeteringMetadata -@typing.final class WorkerVersionStamp(google.protobuf.message.Message): """Deprecated. This message is replaced with `Deployment` and `VersioningBehavior`. Identifies the version(s) of a worker that processed a task @@ -491,14 +485,13 @@ class WorkerVersionStamp(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "use_versioning", b"use_versioning" ], ) -> None: ... -Global___WorkerVersionStamp: typing_extensions.TypeAlias = WorkerVersionStamp +global___WorkerVersionStamp = WorkerVersionStamp -@typing.final class WorkerVersionCapabilities(google.protobuf.message.Message): """Identifies the version that a worker is compatible with when polling or identifying itself, and whether or not this worker is opting into the build-id based versioning feature. This is @@ -528,7 +521,7 @@ class WorkerVersionCapabilities(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "deployment_series_name", @@ -538,11 +531,8 @@ class WorkerVersionCapabilities(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerVersionCapabilities: typing_extensions.TypeAlias = ( - WorkerVersionCapabilities -) +global___WorkerVersionCapabilities = WorkerVersionCapabilities -@typing.final class ResetOptions(google.protobuf.message.Message): """Describes where and how to reset a workflow, used for batch reset currently and may be used for single-workflow reset later. @@ -557,6 +547,12 @@ class ResetOptions(google.protobuf.message.Message): RESET_REAPPLY_TYPE_FIELD_NUMBER: builtins.int CURRENT_RUN_ONLY_FIELD_NUMBER: builtins.int RESET_REAPPLY_EXCLUDE_TYPES_FIELD_NUMBER: builtins.int + @property + def first_workflow_task(self) -> google.protobuf.empty_pb2.Empty: + """Resets to the first workflow task completed or started event.""" + @property + def last_workflow_task(self) -> google.protobuf.empty_pb2.Empty: + """Resets to the last workflow task completed or started event.""" workflow_task_id: builtins.int """The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or `WORKFLOW_TASK_STARTED` event to reset to. @@ -577,14 +573,6 @@ class ResetOptions(google.protobuf.message.Message): """If true, limit the reset to only within the current run. (Applies to build_id targets and possibly others in the future.) """ - @property - def first_workflow_task(self) -> google.protobuf.empty_pb2.Empty: - """Resets to the first workflow task completed or started event.""" - - @property - def last_workflow_task(self) -> google.protobuf.empty_pb2.Empty: - """Resets to the last workflow task completed or started event.""" - @property def reset_reapply_exclude_types( self, @@ -592,7 +580,6 @@ class ResetOptions(google.protobuf.message.Message): temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType ]: """Event types not to be reapplied""" - def __init__( self, *, @@ -609,7 +596,7 @@ class ResetOptions(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "first_workflow_task", @@ -624,7 +611,7 @@ class ResetOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "current_run_only", @@ -644,27 +631,24 @@ class ResetOptions(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["target", b"target"] + self, oneof_group: typing_extensions.Literal["target", b"target"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "first_workflow_task", "last_workflow_task", "workflow_task_id", "build_id" ] | None ): ... -Global___ResetOptions: typing_extensions.TypeAlias = ResetOptions +global___ResetOptions = ResetOptions -@typing.final class Callback(google.protobuf.message.Message): """Callback to attach to various events in the system, e.g. workflow run completion.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Nexus(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -679,7 +663,8 @@ class Callback(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... URL_FIELD_NUMBER: builtins.int @@ -691,7 +676,6 @@ class Callback(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header to attach to callback request.""" - def __init__( self, *, @@ -699,10 +683,10 @@ class Callback(google.protobuf.message.Message): header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["header", b"header", "url", b"url"] + self, + field_name: typing_extensions.Literal["header", b"header", "url", b"url"], ) -> None: ... - @typing.final class Internal(google.protobuf.message.Message): """Callbacks to be delivered internally within the system. This variant is not settable in the API and will be rejected by the service with an INVALID_ARGUMENT error. @@ -720,41 +704,42 @@ class Callback(google.protobuf.message.Message): *, data: builtins.bytes = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["data", b"data"] + ) -> None: ... NEXUS_FIELD_NUMBER: builtins.int INTERNAL_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int @property - def nexus(self) -> Global___Callback.Nexus: ... + def nexus(self) -> global___Callback.Nexus: ... @property - def internal(self) -> Global___Callback.Internal: ... + def internal(self) -> global___Callback.Internal: ... @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Link + global___Link ]: """Links associated with the callback. It can be used to link to underlying resources of the callback. """ - def __init__( self, *, - nexus: Global___Callback.Nexus | None = ..., - internal: Global___Callback.Internal | None = ..., - links: collections.abc.Iterable[Global___Link] | None = ..., + nexus: global___Callback.Nexus | None = ..., + internal: global___Callback.Internal | None = ..., + links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "internal", b"internal", "nexus", b"nexus", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "internal", b"internal", "links", @@ -766,12 +751,11 @@ class Callback(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["nexus", "internal"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["nexus", "internal"] | None: ... -Global___Callback: typing_extensions.TypeAlias = Callback +global___Callback = Callback -@typing.final class Link(google.protobuf.message.Message): """Link can be associated with history events. It might contain information about an external entity related to the history event. For example, workflow A makes a Nexus call that starts workflow B: @@ -781,11 +765,9 @@ class Link(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class WorkflowEvent(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class EventReference(google.protobuf.message.Message): """EventReference is a direct reference to a history event through the event ID.""" @@ -803,12 +785,11 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "event_id", b"event_id", "event_type", b"event_type" ], ) -> None: ... - @typing.final class RequestIdReference(google.protobuf.message.Message): """RequestIdReference is a indirect reference to a history event through the request ID.""" @@ -826,7 +807,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "event_type", b"event_type", "request_id", b"request_id" ], ) -> None: ... @@ -840,21 +821,21 @@ class Link(google.protobuf.message.Message): workflow_id: builtins.str run_id: builtins.str @property - def event_ref(self) -> Global___Link.WorkflowEvent.EventReference: ... + def event_ref(self) -> global___Link.WorkflowEvent.EventReference: ... @property - def request_id_ref(self) -> Global___Link.WorkflowEvent.RequestIdReference: ... + def request_id_ref(self) -> global___Link.WorkflowEvent.RequestIdReference: ... def __init__( self, *, namespace: builtins.str = ..., workflow_id: builtins.str = ..., run_id: builtins.str = ..., - event_ref: Global___Link.WorkflowEvent.EventReference | None = ..., - request_id_ref: Global___Link.WorkflowEvent.RequestIdReference | None = ..., + event_ref: global___Link.WorkflowEvent.EventReference | None = ..., + request_id_ref: global___Link.WorkflowEvent.RequestIdReference | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "event_ref", b"event_ref", "reference", @@ -865,7 +846,7 @@ class Link(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "event_ref", b"event_ref", "namespace", @@ -881,10 +862,9 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["reference", b"reference"] - ) -> typing.Literal["event_ref", "request_id_ref"] | None: ... + self, oneof_group: typing_extensions.Literal["reference", b"reference"] + ) -> typing_extensions.Literal["event_ref", "request_id_ref"] | None: ... - @typing.final class BatchJob(google.protobuf.message.Message): """A link to a built-in batch job. Batch jobs can be used to perform operations on a set of workflows (e.g. terminate, signal, cancel, etc). @@ -901,10 +881,9 @@ class Link(google.protobuf.message.Message): job_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["job_id", b"job_id"] + self, field_name: typing_extensions.Literal["job_id", b"job_id"] ) -> None: ... - @typing.final class Activity(google.protobuf.message.Message): """A link to an activity.""" @@ -925,7 +904,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "namespace", @@ -935,7 +914,6 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class NexusOperation(google.protobuf.message.Message): """A link to a standalone Nexus operation.""" @@ -956,7 +934,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "operation_id", @@ -966,7 +944,6 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class Workflow(google.protobuf.message.Message): """A link to a workflow execution. This is a more general version of WorkflowEvent that doesn't specify a particular event within the workflow, useful when you want to link to a workflow but there is no particular event to link to, @@ -993,7 +970,7 @@ class Link(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "reason", @@ -1011,27 +988,27 @@ class Link(google.protobuf.message.Message): NEXUS_OPERATION_FIELD_NUMBER: builtins.int WORKFLOW_FIELD_NUMBER: builtins.int @property - def workflow_event(self) -> Global___Link.WorkflowEvent: ... + def workflow_event(self) -> global___Link.WorkflowEvent: ... @property - def batch_job(self) -> Global___Link.BatchJob: ... + def batch_job(self) -> global___Link.BatchJob: ... @property - def activity(self) -> Global___Link.Activity: ... + def activity(self) -> global___Link.Activity: ... @property - def nexus_operation(self) -> Global___Link.NexusOperation: ... + def nexus_operation(self) -> global___Link.NexusOperation: ... @property - def workflow(self) -> Global___Link.Workflow: ... + def workflow(self) -> global___Link.Workflow: ... def __init__( self, *, - workflow_event: Global___Link.WorkflowEvent | None = ..., - batch_job: Global___Link.BatchJob | None = ..., - activity: Global___Link.Activity | None = ..., - nexus_operation: Global___Link.NexusOperation | None = ..., - workflow: Global___Link.Workflow | None = ..., + workflow_event: global___Link.WorkflowEvent | None = ..., + batch_job: global___Link.BatchJob | None = ..., + activity: global___Link.Activity | None = ..., + nexus_operation: global___Link.NexusOperation | None = ..., + workflow: global___Link.Workflow | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "batch_job", @@ -1048,7 +1025,7 @@ class Link(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "batch_job", @@ -1064,17 +1041,16 @@ class Link(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] + self, oneof_group: typing_extensions.Literal["variant", b"variant"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "workflow_event", "batch_job", "activity", "nexus_operation", "workflow" ] | None ): ... -Global___Link: typing_extensions.TypeAlias = Link +global___Link = Link -@typing.final class Principal(google.protobuf.message.Message): """Principal is an authenticated caller identity computed by the server from trusted authentication context. @@ -1095,12 +1071,11 @@ class Principal(google.protobuf.message.Message): name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "type", b"type"] + self, field_name: typing_extensions.Literal["name", b"name", "type", b"type"] ) -> None: ... -Global___Principal: typing_extensions.TypeAlias = Principal +global___Principal = Principal -@typing.final class Priority(google.protobuf.message.Message): """Priority contains metadata that controls relative ordering of task processing when tasks are backed up in a queue. Initially, Priority will be used in @@ -1199,7 +1174,7 @@ class Priority(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "fairness_key", b"fairness_key", "fairness_weight", @@ -1209,9 +1184,8 @@ class Priority(google.protobuf.message.Message): ], ) -> None: ... -Global___Priority: typing_extensions.TypeAlias = Priority +global___Priority = Priority -@typing.final class WorkerSelector(google.protobuf.message.Message): """This is used to send commands to a specific worker or a group of workers. Right now, it is used to send commands to a specific worker instance. @@ -1230,23 +1204,22 @@ class WorkerSelector(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "selector", b"selector", "worker_instance_key", b"worker_instance_key" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "selector", b"selector", "worker_instance_key", b"worker_instance_key" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["selector", b"selector"] - ) -> typing.Literal["worker_instance_key"] | None: ... + self, oneof_group: typing_extensions.Literal["selector", b"selector"] + ) -> typing_extensions.Literal["worker_instance_key"] | None: ... -Global___WorkerSelector: typing_extensions.TypeAlias = WorkerSelector +global___WorkerSelector = WorkerSelector -@typing.final class OnConflictOptions(google.protobuf.message.Message): """When starting an execution with a conflict policy that uses an existing execution and there is already an existing running execution, OnConflictOptions defines actions to be taken on the existing running execution. @@ -1272,7 +1245,7 @@ class OnConflictOptions(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attach_completion_callbacks", b"attach_completion_callbacks", "attach_links", @@ -1282,9 +1255,8 @@ class OnConflictOptions(google.protobuf.message.Message): ], ) -> None: ... -Global___OnConflictOptions: typing_extensions.TypeAlias = OnConflictOptions +global___OnConflictOptions = OnConflictOptions -@typing.final class TimeSkippingConfig(google.protobuf.message.Message): """The configuration for time skipping of a workflow execution (a chain of runs including retries, cron, continue-as-new). When time skipping is enabled, virtual time advances automatically whenever there is no in-flight work. @@ -1308,10 +1280,6 @@ class TimeSkippingConfig(google.protobuf.message.Message): DISABLE_CHILD_PROPAGATION_FIELD_NUMBER: builtins.int enabled: builtins.bool """Enables or disables time skipping for this workflow execution.""" - disable_child_propagation: builtins.bool - """By default, child workflows inherit the "enabled" flag when they are started. - This flag disables that inheritance. - """ @property def fast_forward(self) -> google.protobuf.duration_pb2.Duration: """Optionally fast-forward the current workflow execution by this duration ahead of current workflow execution time. @@ -1327,7 +1295,10 @@ class TimeSkippingConfig(google.protobuf.message.Message): If the fast-forward duration exceeds the remaining execution timeout, time will only be fast-forwarded up to the end of the execution. """ - + disable_child_propagation: builtins.bool + """By default, child workflows inherit the "enabled" flag when they are started. + This flag disables that inheritance. + """ def __init__( self, *, @@ -1336,11 +1307,11 @@ class TimeSkippingConfig(google.protobuf.message.Message): disable_child_propagation: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["fast_forward", b"fast_forward"] + self, field_name: typing_extensions.Literal["fast_forward", b"fast_forward"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "disable_child_propagation", b"disable_child_propagation", "enabled", @@ -1350,9 +1321,8 @@ class TimeSkippingConfig(google.protobuf.message.Message): ], ) -> None: ... -Global___TimeSkippingConfig: typing_extensions.TypeAlias = TimeSkippingConfig +global___TimeSkippingConfig = TimeSkippingConfig -@typing.final class TimeSkippingStatePropagation(google.protobuf.message.Message): """The time-skipping state that needs to be propagated from a parent workflow to a child workflow, or through a chain of runs. @@ -1367,13 +1337,11 @@ class TimeSkippingStatePropagation(google.protobuf.message.Message): """The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry). """ - @property def fast_forward_target_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well. """ - def __init__( self, *, @@ -1382,7 +1350,7 @@ class TimeSkippingStatePropagation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "fast_forward_target_time", b"fast_forward_target_time", "initial_skipped_duration", @@ -1391,7 +1359,7 @@ class TimeSkippingStatePropagation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "fast_forward_target_time", b"fast_forward_target_time", "initial_skipped_duration", @@ -1399,6 +1367,4 @@ class TimeSkippingStatePropagation(google.protobuf.message.Message): ], ) -> None: ... -Global___TimeSkippingStatePropagation: typing_extensions.TypeAlias = ( - TimeSkippingStatePropagation -) +global___TimeSkippingStatePropagation = TimeSkippingStatePropagation diff --git a/temporalio/api/compute/v1/config_pb2.py b/temporalio/api/compute/v1/config_pb2.py index 5cc973d1a..ef3965397 100644 --- a/temporalio/api/compute/v1/config_pb2.py +++ b/temporalio/api/compute/v1/config_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/compute/v1/config.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/compute/v1/config.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -35,32 +30,118 @@ b'\n$temporal/api/compute/v1/config.proto\x12\x17temporal.api.compute.v1\x1a&temporal/api/compute/v1/provider.proto\x1a$temporal/api/compute/v1/scaler.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a google/protobuf/field_mask.proto"\xcf\x01\n\x19\x43omputeConfigScalingGroup\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12:\n\x08provider\x18\x03 \x01(\x0b\x32(.temporal.api.compute.v1.ComputeProvider\x12\x36\n\x06scaler\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeScaler"\xcc\x01\n\rComputeConfig\x12Q\n\x0escaling_groups\x18\x01 \x03(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfig.ScalingGroupsEntry\x1ah\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup:\x02\x38\x01"\x9d\x01\n\x1f\x43omputeConfigScalingGroupUpdate\x12I\n\rscaling_group\x18\x01 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xe1\x01\n\x14\x43omputeConfigSummary\x12X\n\x0escaling_groups\x18\x01 \x03(\x0b\x32@.temporal.api.compute.v1.ComputeConfigSummary.ScalingGroupsEntry\x1ao\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfigScalingGroupSummary:\x02\x38\x01"y\n ComputeConfigScalingGroupSummary\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x15\n\rprovider_type\x18\x02 \x01(\tB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0b\x43onfigProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.compute.v1.config_pb2", _globals + +_COMPUTECONFIGSCALINGGROUP = DESCRIPTOR.message_types_by_name[ + "ComputeConfigScalingGroup" +] +_COMPUTECONFIG = DESCRIPTOR.message_types_by_name["ComputeConfig"] +_COMPUTECONFIG_SCALINGGROUPSENTRY = _COMPUTECONFIG.nested_types_by_name[ + "ScalingGroupsEntry" +] +_COMPUTECONFIGSCALINGGROUPUPDATE = DESCRIPTOR.message_types_by_name[ + "ComputeConfigScalingGroupUpdate" +] +_COMPUTECONFIGSUMMARY = DESCRIPTOR.message_types_by_name["ComputeConfigSummary"] +_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY = _COMPUTECONFIGSUMMARY.nested_types_by_name[ + "ScalingGroupsEntry" +] +_COMPUTECONFIGSCALINGGROUPSUMMARY = DESCRIPTOR.message_types_by_name[ + "ComputeConfigScalingGroupSummary" +] +ComputeConfigScalingGroup = _reflection.GeneratedProtocolMessageType( + "ComputeConfigScalingGroup", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTECONFIGSCALINGGROUP, + "__module__": "temporalio.api.compute.v1.config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigScalingGroup) + }, +) +_sym_db.RegisterMessage(ComputeConfigScalingGroup) + +ComputeConfig = _reflection.GeneratedProtocolMessageType( + "ComputeConfig", + (_message.Message,), + { + "ScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( + "ScalingGroupsEntry", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTECONFIG_SCALINGGROUPSENTRY, + "__module__": "temporalio.api.compute.v1.config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfig.ScalingGroupsEntry) + }, + ), + "DESCRIPTOR": _COMPUTECONFIG, + "__module__": "temporalio.api.compute.v1.config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfig) + }, +) +_sym_db.RegisterMessage(ComputeConfig) +_sym_db.RegisterMessage(ComputeConfig.ScalingGroupsEntry) + +ComputeConfigScalingGroupUpdate = _reflection.GeneratedProtocolMessageType( + "ComputeConfigScalingGroupUpdate", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTECONFIGSCALINGGROUPUPDATE, + "__module__": "temporalio.api.compute.v1.config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigScalingGroupUpdate) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ConfigProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" - _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._loaded_options = None - _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._serialized_options = b"8\001" - _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._loaded_options = None - _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._serialized_options = b"8\001" - _globals["_COMPUTECONFIGSCALINGGROUP"]._serialized_start = 218 - _globals["_COMPUTECONFIGSCALINGGROUP"]._serialized_end = 425 - _globals["_COMPUTECONFIG"]._serialized_start = 428 - _globals["_COMPUTECONFIG"]._serialized_end = 632 - _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._serialized_start = 528 - _globals["_COMPUTECONFIG_SCALINGGROUPSENTRY"]._serialized_end = 632 - _globals["_COMPUTECONFIGSCALINGGROUPUPDATE"]._serialized_start = 635 - _globals["_COMPUTECONFIGSCALINGGROUPUPDATE"]._serialized_end = 792 - _globals["_COMPUTECONFIGSUMMARY"]._serialized_start = 795 - _globals["_COMPUTECONFIGSUMMARY"]._serialized_end = 1020 - _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._serialized_start = 909 - _globals["_COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY"]._serialized_end = 1020 - _globals["_COMPUTECONFIGSCALINGGROUPSUMMARY"]._serialized_start = 1022 - _globals["_COMPUTECONFIGSCALINGGROUPSUMMARY"]._serialized_end = 1143 +_sym_db.RegisterMessage(ComputeConfigScalingGroupUpdate) + +ComputeConfigSummary = _reflection.GeneratedProtocolMessageType( + "ComputeConfigSummary", + (_message.Message,), + { + "ScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( + "ScalingGroupsEntry", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY, + "__module__": "temporalio.api.compute.v1.config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigSummary.ScalingGroupsEntry) + }, + ), + "DESCRIPTOR": _COMPUTECONFIGSUMMARY, + "__module__": "temporalio.api.compute.v1.config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigSummary) + }, +) +_sym_db.RegisterMessage(ComputeConfigSummary) +_sym_db.RegisterMessage(ComputeConfigSummary.ScalingGroupsEntry) + +ComputeConfigScalingGroupSummary = _reflection.GeneratedProtocolMessageType( + "ComputeConfigScalingGroupSummary", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTECONFIGSCALINGGROUPSUMMARY, + "__module__": "temporalio.api.compute.v1.config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeConfigScalingGroupSummary) + }, +) +_sym_db.RegisterMessage(ComputeConfigScalingGroupSummary) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ConfigProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" + _COMPUTECONFIG_SCALINGGROUPSENTRY._options = None + _COMPUTECONFIG_SCALINGGROUPSENTRY._serialized_options = b"8\001" + _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._options = None + _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._serialized_options = b"8\001" + _COMPUTECONFIGSCALINGGROUP._serialized_start = 218 + _COMPUTECONFIGSCALINGGROUP._serialized_end = 425 + _COMPUTECONFIG._serialized_start = 428 + _COMPUTECONFIG._serialized_end = 632 + _COMPUTECONFIG_SCALINGGROUPSENTRY._serialized_start = 528 + _COMPUTECONFIG_SCALINGGROUPSENTRY._serialized_end = 632 + _COMPUTECONFIGSCALINGGROUPUPDATE._serialized_start = 635 + _COMPUTECONFIGSCALINGGROUPUPDATE._serialized_end = 792 + _COMPUTECONFIGSUMMARY._serialized_start = 795 + _COMPUTECONFIGSUMMARY._serialized_end = 1020 + _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._serialized_start = 909 + _COMPUTECONFIGSUMMARY_SCALINGGROUPSENTRY._serialized_end = 1020 + _COMPUTECONFIGSCALINGGROUPSUMMARY._serialized_start = 1022 + _COMPUTECONFIGSCALINGGROUPSUMMARY._serialized_end = 1143 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/compute/v1/config_pb2.pyi b/temporalio/api/compute/v1/config_pb2.pyi index 24781fe90..7c0221f4c 100644 --- a/temporalio/api/compute/v1/config_pb2.pyi +++ b/temporalio/api/compute/v1/config_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.field_mask_pb2 @@ -17,14 +16,13 @@ import temporalio.api.compute.v1.provider_pb2 import temporalio.api.compute.v1.scaler_pb2 import temporalio.api.enums.v1.task_queue_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ComputeConfigScalingGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -41,19 +39,16 @@ class ComputeConfigScalingGroup(google.protobuf.message.Message): If not provided, this scaling group serves all not otherwise defined task types. """ - @property def provider(self) -> temporalio.api.compute.v1.provider_pb2.ComputeProvider: """Stores instructions for a worker control plane controller how to respond to worker lifeycle events. """ - @property def scaler(self) -> temporalio.api.compute.v1.scaler_pb2.ComputeScaler: """Informs a worker lifecycle controller *when* and *how often* to perform certain worker lifecycle actions like starting a serverless worker. """ - def __init__( self, *, @@ -65,11 +60,14 @@ class ComputeConfigScalingGroup(google.protobuf.message.Message): scaler: temporalio.api.compute.v1.scaler_pb2.ComputeScaler | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["provider", b"provider", "scaler", b"scaler"] + self, + field_name: typing_extensions.Literal[ + "provider", b"provider", "scaler", b"scaler" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "provider", b"provider", "scaler", @@ -79,11 +77,8 @@ class ComputeConfigScalingGroup(google.protobuf.message.Message): ], ) -> None: ... -Global___ComputeConfigScalingGroup: typing_extensions.TypeAlias = ( - ComputeConfigScalingGroup -) +global___ComputeConfigScalingGroup = ComputeConfigScalingGroup -@typing.final class ComputeConfig(google.protobuf.message.Message): """ComputeConfig stores configuration that helps a worker control plane controller understand *when* and *how* to respond to worker lifecycle @@ -92,7 +87,6 @@ class ComputeConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -100,18 +94,19 @@ class ComputeConfig(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___ComputeConfigScalingGroup: ... + def value(self) -> global___ComputeConfigScalingGroup: ... def __init__( self, *, key: builtins.str = ..., - value: Global___ComputeConfigScalingGroup | None = ..., + value: global___ComputeConfigScalingGroup | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SCALING_GROUPS_FIELD_NUMBER: builtins.int @@ -119,7 +114,7 @@ class ComputeConfig(google.protobuf.message.Message): def scaling_groups( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___ComputeConfigScalingGroup + builtins.str, global___ComputeConfigScalingGroup ]: """Each scaling group describes a compute config for a specific subset of the worker deployment version: covering a specific set of task types and/or regions. @@ -129,29 +124,27 @@ class ComputeConfig(google.protobuf.message.Message): The key of the map is the ID of the scaling group used to reference it in subsequent update calls. """ - def __init__( self, *, scaling_groups: collections.abc.Mapping[ - builtins.str, Global___ComputeConfigScalingGroup + builtins.str, global___ComputeConfigScalingGroup ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["scaling_groups", b"scaling_groups"] + self, field_name: typing_extensions.Literal["scaling_groups", b"scaling_groups"] ) -> None: ... -Global___ComputeConfig: typing_extensions.TypeAlias = ComputeConfig +global___ComputeConfig = ComputeConfig -@typing.final class ComputeConfigScalingGroupUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SCALING_GROUP_FIELD_NUMBER: builtins.int UPDATE_MASK_FIELD_NUMBER: builtins.int @property - def scaling_group(self) -> Global___ComputeConfigScalingGroup: ... + def scaling_group(self) -> global___ComputeConfigScalingGroup: ... @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `scaling_group` will be applied. Semantics: @@ -162,37 +155,32 @@ class ComputeConfigScalingGroupUpdate(google.protobuf.message.Message): - Accepted paths: "task_queue_types", "provider", "provider.type", "provider.details", "provider.nexus_endpoint", "scaler", "scaler.type", "scaler.details" """ - def __init__( self, *, - scaling_group: Global___ComputeConfigScalingGroup | None = ..., + scaling_group: global___ComputeConfigScalingGroup | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "scaling_group", b"scaling_group", "update_mask", b"update_mask" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "scaling_group", b"scaling_group", "update_mask", b"update_mask" ], ) -> None: ... -Global___ComputeConfigScalingGroupUpdate: typing_extensions.TypeAlias = ( - ComputeConfigScalingGroupUpdate -) +global___ComputeConfigScalingGroupUpdate = ComputeConfigScalingGroupUpdate -@typing.final class ComputeConfigSummary(google.protobuf.message.Message): """A subset of information in ComputeConfig optimized for list views.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -200,18 +188,19 @@ class ComputeConfigSummary(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___ComputeConfigScalingGroupSummary: ... + def value(self) -> global___ComputeConfigScalingGroupSummary: ... def __init__( self, *, key: builtins.str = ..., - value: Global___ComputeConfigScalingGroupSummary | None = ..., + value: global___ComputeConfigScalingGroupSummary | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SCALING_GROUPS_FIELD_NUMBER: builtins.int @@ -219,35 +208,34 @@ class ComputeConfigSummary(google.protobuf.message.Message): def scaling_groups( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___ComputeConfigScalingGroupSummary + builtins.str, global___ComputeConfigScalingGroupSummary ]: ... def __init__( self, *, scaling_groups: collections.abc.Mapping[ - builtins.str, Global___ComputeConfigScalingGroupSummary + builtins.str, global___ComputeConfigScalingGroupSummary ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["scaling_groups", b"scaling_groups"] + self, field_name: typing_extensions.Literal["scaling_groups", b"scaling_groups"] ) -> None: ... -Global___ComputeConfigSummary: typing_extensions.TypeAlias = ComputeConfigSummary +global___ComputeConfigSummary = ComputeConfigSummary -@typing.final class ComputeConfigScalingGroupSummary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TASK_QUEUE_TYPES_FIELD_NUMBER: builtins.int PROVIDER_TYPE_FIELD_NUMBER: builtins.int - provider_type: builtins.str @property def task_queue_types( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType ]: ... + provider_type: builtins.str def __init__( self, *, @@ -259,11 +247,9 @@ class ComputeConfigScalingGroupSummary(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "provider_type", b"provider_type", "task_queue_types", b"task_queue_types" ], ) -> None: ... -Global___ComputeConfigScalingGroupSummary: typing_extensions.TypeAlias = ( - ComputeConfigScalingGroupSummary -) +global___ComputeConfigScalingGroupSummary = ComputeConfigScalingGroupSummary diff --git a/temporalio/api/compute/v1/provider_pb2.py b/temporalio/api/compute/v1/provider_pb2.py index b1fd5eb4d..26d921e2b 100644 --- a/temporalio/api/compute/v1/provider_pb2.py +++ b/temporalio/api/compute/v1/provider_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/compute/v1/provider.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/compute/v1/provider.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,16 +22,22 @@ b'\n&temporal/api/compute/v1/provider.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto"i\n\x0f\x43omputeProvider\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x16\n\x0enexus_endpoint\x18\n \x01(\tB\x8f\x01\n\x1aio.temporal.api.compute.v1B\rProviderProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.compute.v1.provider_pb2", _globals + +_COMPUTEPROVIDER = DESCRIPTOR.message_types_by_name["ComputeProvider"] +ComputeProvider = _reflection.GeneratedProtocolMessageType( + "ComputeProvider", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTEPROVIDER, + "__module__": "temporalio.api.compute.v1.provider_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeProvider) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\032io.temporal.api.compute.v1B\rProviderProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" - _globals["_COMPUTEPROVIDER"]._serialized_start = 105 - _globals["_COMPUTEPROVIDER"]._serialized_end = 210 +_sym_db.RegisterMessage(ComputeProvider) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.compute.v1B\rProviderProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" + _COMPUTEPROVIDER._serialized_start = 105 + _COMPUTEPROVIDER._serialized_end = 210 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/compute/v1/provider_pb2.pyi b/temporalio/api/compute/v1/provider_pb2.pyi index 64e2e42cb..90f566aa4 100644 --- a/temporalio/api/compute/v1/provider_pb2.pyi +++ b/temporalio/api/compute/v1/provider_pb2.pyi @@ -5,21 +5,19 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ComputeProvider(google.protobuf.message.Message): """ComputeProvider stores information used by a worker control plane controller to respond to worker lifecycle events. For example, when a Task is received @@ -38,10 +36,6 @@ class ComputeProvider(google.protobuf.message.Message): can be used by implementations to understand how to interpret the contents of the provider_details field. """ - nexus_endpoint: builtins.str - """Optional. If the compute provider is a Nexus service, this should point - there. - """ @property def details(self) -> temporalio.api.common.v1.message_pb2.Payload: """Contains provider-specific instructions and configuration. @@ -50,7 +44,10 @@ class ComputeProvider(google.protobuf.message.Message): For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand. """ - + nexus_endpoint: builtins.str + """Optional. If the compute provider is a Nexus service, this should point + there. + """ def __init__( self, *, @@ -59,13 +56,13 @@ class ComputeProvider(google.protobuf.message.Message): nexus_endpoint: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "nexus_endpoint", b"nexus_endpoint", "type", b"type" ], ) -> None: ... -Global___ComputeProvider: typing_extensions.TypeAlias = ComputeProvider +global___ComputeProvider = ComputeProvider diff --git a/temporalio/api/compute/v1/scaler_pb2.py b/temporalio/api/compute/v1/scaler_pb2.py index 8e4a61da7..84bfe7b24 100644 --- a/temporalio/api/compute/v1/scaler_pb2.py +++ b/temporalio/api/compute/v1/scaler_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/compute/v1/scaler.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/compute/v1/scaler.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -27,16 +22,22 @@ b'\n$temporal/api/compute/v1/scaler.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto"O\n\rComputeScaler\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0bScalerProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.compute.v1.scaler_pb2", _globals + +_COMPUTESCALER = DESCRIPTOR.message_types_by_name["ComputeScaler"] +ComputeScaler = _reflection.GeneratedProtocolMessageType( + "ComputeScaler", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTESCALER, + "__module__": "temporalio.api.compute.v1.scaler_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.compute.v1.ComputeScaler) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ScalerProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" - _globals["_COMPUTESCALER"]._serialized_start = 103 - _globals["_COMPUTESCALER"]._serialized_end = 182 +_sym_db.RegisterMessage(ComputeScaler) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.compute.v1B\013ScalerProtoP\001Z%go.temporal.io/api/compute/v1;compute\252\002\031Temporalio.Api.Compute.V1\352\002\034Temporalio::Api::Compute::V1" + _COMPUTESCALER._serialized_start = 103 + _COMPUTESCALER._serialized_end = 182 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/compute/v1/scaler_pb2.pyi b/temporalio/api/compute/v1/scaler_pb2.pyi index 202631a1f..3ff933055 100644 --- a/temporalio/api/compute/v1/scaler_pb2.pyi +++ b/temporalio/api/compute/v1/scaler_pb2.pyi @@ -5,21 +5,19 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ComputeScaler(google.protobuf.message.Message): """ComputeScaler instructs the Temporal Service when to scale up or down the number of Workers that comprise a WorkerDeployment. @@ -42,7 +40,6 @@ class ComputeScaler(google.protobuf.message.Message): For remote-implemented scalers, you might use your own data converters according to what the remote endpoints understand. """ - def __init__( self, *, @@ -50,10 +47,11 @@ class ComputeScaler(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["details", b"details", "type", b"type"] + self, + field_name: typing_extensions.Literal["details", b"details", "type", b"type"], ) -> None: ... -Global___ComputeScaler: typing_extensions.TypeAlias = ComputeScaler +global___ComputeScaler = ComputeScaler diff --git a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py index 223cee236..deb7869f3 100644 --- a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py +++ b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: nexusannotations/v1/options.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "nexusannotations/v1/options.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -25,20 +20,46 @@ b'\n!nexusannotations/v1/options.proto\x12\x13nexusannotations.v1\x1a google/protobuf/descriptor.proto".\n\x10OperationOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t",\n\x0eServiceOptions\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t:Y\n\x07service\x12\x1f.google.protobuf.ServiceOptions\x18\xa9@ \x01(\x0b\x32#.nexusannotations.v1.ServiceOptions\x88\x01\x01:\\\n\toperation\x12\x1e.google.protobuf.MethodOptions\x18\xaa@ \x01(\x0b\x32%.nexusannotations.v1.OperationOptions\x88\x01\x01\x42\x45ZCgithub.com/nexus-rpc/nexus-proto-annotations/go/nexusannotations/v1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "nexusannotations.v1.options_pb2", _globals + +SERVICE_FIELD_NUMBER = 8233 +service = DESCRIPTOR.extensions_by_name["service"] +OPERATION_FIELD_NUMBER = 8234 +operation = DESCRIPTOR.extensions_by_name["operation"] + +_OPERATIONOPTIONS = DESCRIPTOR.message_types_by_name["OperationOptions"] +_SERVICEOPTIONS = DESCRIPTOR.message_types_by_name["ServiceOptions"] +OperationOptions = _reflection.GeneratedProtocolMessageType( + "OperationOptions", + (_message.Message,), + { + "DESCRIPTOR": _OPERATIONOPTIONS, + "__module__": "temporalio.api.dependencies.nexusannotations.v1.options_pb2", + # @@protoc_insertion_point(class_scope:nexusannotations.v1.OperationOptions) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = ( +_sym_db.RegisterMessage(OperationOptions) + +ServiceOptions = _reflection.GeneratedProtocolMessageType( + "ServiceOptions", + (_message.Message,), + { + "DESCRIPTOR": _SERVICEOPTIONS, + "__module__": "temporalio.api.dependencies.nexusannotations.v1.options_pb2", + # @@protoc_insertion_point(class_scope:nexusannotations.v1.ServiceOptions) + }, +) +_sym_db.RegisterMessage(ServiceOptions) + +if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.ServiceOptions.RegisterExtension(service) + google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(operation) + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"ZCgithub.com/nexus-rpc/nexus-proto-annotations/go/nexusannotations/v1" ) - _globals["_OPERATIONOPTIONS"]._serialized_start = 92 - _globals["_OPERATIONOPTIONS"]._serialized_end = 138 - _globals["_SERVICEOPTIONS"]._serialized_start = 140 - _globals["_SERVICEOPTIONS"]._serialized_end = 184 + _OPERATIONOPTIONS._serialized_start = 92 + _OPERATIONOPTIONS._serialized_end = 138 + _SERVICEOPTIONS._serialized_start = 140 + _SERVICEOPTIONS._serialized_end = 184 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi index f0d0b1e74..3c440fb75 100644 --- a/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi +++ b/temporalio/api/dependencies/nexusannotations/v1/options_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.descriptor_pb2 @@ -14,14 +13,13 @@ import google.protobuf.internal.containers import google.protobuf.internal.extension_dict import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class OperationOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,7 +32,6 @@ class OperationOptions(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Tags to attach to the operation. Used by code generators to include and exclude operations.""" - def __init__( self, *, @@ -42,12 +39,11 @@ class OperationOptions(google.protobuf.message.Message): tags: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "tags", b"tags"] + self, field_name: typing_extensions.Literal["name", b"name", "tags", b"tags"] ) -> None: ... -Global___OperationOptions: typing_extensions.TypeAlias = OperationOptions +global___OperationOptions = OperationOptions -@typing.final class ServiceOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -60,7 +56,6 @@ class ServiceOptions(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Tags to attach to the service. Used by code generators to include and exclude services.""" - def __init__( self, *, @@ -68,16 +63,16 @@ class ServiceOptions(google.protobuf.message.Message): tags: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "tags", b"tags"] + self, field_name: typing_extensions.Literal["name", b"name", "tags", b"tags"] ) -> None: ... -Global___ServiceOptions: typing_extensions.TypeAlias = ServiceOptions +global___ServiceOptions = ServiceOptions SERVICE_FIELD_NUMBER: builtins.int OPERATION_FIELD_NUMBER: builtins.int service: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.ServiceOptions, Global___ServiceOptions + google.protobuf.descriptor_pb2.ServiceOptions, global___ServiceOptions ] operation: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ - google.protobuf.descriptor_pb2.MethodOptions, Global___OperationOptions + google.protobuf.descriptor_pb2.MethodOptions, global___OperationOptions ] diff --git a/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py b/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py index c5119d404..3d0ab9f2e 100644 --- a/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py +++ b/temporalio/api/dependencies/protoc_gen_openapiv2/options/annotations_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: protoc-gen-openapiv2/options/annotations.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "protoc-gen-openapiv2/options/annotations.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,16 +24,42 @@ b"\n.protoc-gen-openapiv2/options/annotations.proto\x12)grpc.gateway.protoc_gen_openapiv2.options\x1a google/protobuf/descriptor.proto\x1a,protoc-gen-openapiv2/options/openapiv2.proto:l\n\x11openapiv2_swagger\x12\x1c.google.protobuf.FileOptions\x18\x92\x08 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.Swagger:r\n\x13openapiv2_operation\x12\x1e.google.protobuf.MethodOptions\x18\x92\x08 \x01(\x0b\x32\x34.grpc.gateway.protoc_gen_openapiv2.options.Operation:m\n\x10openapiv2_schema\x12\x1f.google.protobuf.MessageOptions\x18\x92\x08 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Schema:l\n\x0eopenapiv2_enum\x12\x1c.google.protobuf.EnumOptions\x18\x92\x08 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema:g\n\ropenapiv2_tag\x12\x1f.google.protobuf.ServiceOptions\x18\x92\x08 \x01(\x0b\x32..grpc.gateway.protoc_gen_openapiv2.options.Tag:n\n\x0fopenapiv2_field\x12\x1d.google.protobuf.FieldOptions\x18\x92\x08 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.JSONSchemaBHZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/optionsb\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "protoc_gen_openapiv2.options.annotations_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = ( + +OPENAPIV2_SWAGGER_FIELD_NUMBER = 1042 +openapiv2_swagger = DESCRIPTOR.extensions_by_name["openapiv2_swagger"] +OPENAPIV2_OPERATION_FIELD_NUMBER = 1042 +openapiv2_operation = DESCRIPTOR.extensions_by_name["openapiv2_operation"] +OPENAPIV2_SCHEMA_FIELD_NUMBER = 1042 +openapiv2_schema = DESCRIPTOR.extensions_by_name["openapiv2_schema"] +OPENAPIV2_ENUM_FIELD_NUMBER = 1042 +openapiv2_enum = DESCRIPTOR.extensions_by_name["openapiv2_enum"] +OPENAPIV2_TAG_FIELD_NUMBER = 1042 +openapiv2_tag = DESCRIPTOR.extensions_by_name["openapiv2_tag"] +OPENAPIV2_FIELD_FIELD_NUMBER = 1042 +openapiv2_field = DESCRIPTOR.extensions_by_name["openapiv2_field"] + +if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension( + openapiv2_swagger + ) + google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension( + openapiv2_operation + ) + google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension( + openapiv2_schema + ) + google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension( + openapiv2_enum + ) + google_dot_protobuf_dot_descriptor__pb2.ServiceOptions.RegisterExtension( + openapiv2_tag + ) + google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension( + openapiv2_field + ) + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"ZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" ) # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py index 0f4be967f..ea0b8eec5 100644 --- a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py +++ b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: protoc-gen-openapiv2/options/openapiv2.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "protoc-gen-openapiv2/options/openapiv2.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,130 +21,548 @@ b'\n,protoc-gen-openapiv2/options/openapiv2.proto\x12)grpc.gateway.protoc_gen_openapiv2.options\x1a\x1cgoogle/protobuf/struct.proto"\x95\x07\n\x07Swagger\x12\x0f\n\x07swagger\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.grpc.gateway.protoc_gen_openapiv2.options.Info\x12\x0c\n\x04host\x18\x03 \x01(\t\x12\x11\n\tbase_path\x18\x04 \x01(\t\x12\x42\n\x07schemes\x18\x05 \x03(\x0e\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scheme\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12T\n\tresponses\x18\n \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry\x12\\\n\x14security_definitions\x18\x0b \x01(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions\x12P\n\x08security\x18\x0c \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement\x12<\n\x04tags\x18\r \x03(\x0b\x32..grpc.gateway.protoc_gen_openapiv2.options.Tag\x12W\n\rexternal_docs\x18\x0e \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12V\n\nextensions\x18\x0f \x03(\x0b\x32\x42.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry\x1a\x65\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_openapiv2.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n"\xb1\x06\n\tOperation\x12\x0c\n\x04tags\x18\x01 \x03(\t\x12\x0f\n\x07summary\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12W\n\rexternal_docs\x18\x04 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x14\n\x0coperation_id\x18\x05 \x01(\t\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12V\n\tresponses\x18\t \x03(\x0b\x32\x43.grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry\x12\x42\n\x07schemes\x18\n \x03(\x0e\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scheme\x12\x12\n\ndeprecated\x18\x0b \x01(\x08\x12P\n\x08security\x18\x0c \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement\x12X\n\nextensions\x18\r \x03(\x0b\x32\x44.grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry\x12I\n\nparameters\x18\x0e \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.Parameters\x1a\x65\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_openapiv2.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01J\x04\x08\x08\x10\t"Y\n\nParameters\x12K\n\x07headers\x18\x01 \x03(\x0b\x32:.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter"\xf8\x01\n\x0fHeaderParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12M\n\x04type\x18\x03 \x01(\x0e\x32?.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type\x12\x0e\n\x06\x66ormat\x18\x04 \x01(\t\x12\x10\n\x08required\x18\x05 \x01(\x08"E\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08"\xab\x01\n\x06Header\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x01(\t\x12\x0f\n\x07pattern\x18\r \x01(\tJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x11\x10\x12J\x04\x08\x12\x10\x13"\xc2\x04\n\x08Response\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x41\n\x06schema\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Schema\x12Q\n\x07headers\x18\x03 \x03(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry\x12S\n\x08\x65xamples\x18\x04 \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry\x12W\n\nextensions\x18\x05 \x03(\x0b\x32\x43.grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry\x1a\x61\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Header:\x02\x38\x01\x1a/\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\xff\x02\n\x04Info\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x18\n\x10terms_of_service\x18\x03 \x01(\t\x12\x43\n\x07\x63ontact\x18\x04 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.Contact\x12\x43\n\x07license\x18\x05 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_openapiv2.options.License\x12\x0f\n\x07version\x18\x06 \x01(\t\x12S\n\nextensions\x18\x07 \x03(\x0b\x32?.grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"3\n\x07\x43ontact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t"$\n\x07License\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t"9\n\x15\x45xternalDocumentation\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t"\xee\x01\n\x06Schema\x12J\n\x0bjson_schema\x18\x01 \x01(\x0b\x32\x35.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema\x12\x15\n\rdiscriminator\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\x12W\n\rexternal_docs\x18\x05 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x0f\n\x07\x65xample\x18\x06 \x01(\tJ\x04\x08\x04\x10\x05"\x83\x03\n\nEnumSchema\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x10\n\x08required\x18\x04 \x01(\x08\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12W\n\rexternal_docs\x18\x06 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12\x0f\n\x07\x65xample\x18\x07 \x01(\t\x12\x0b\n\x03ref\x18\x08 \x01(\t\x12Y\n\nextensions\x18\t \x03(\x0b\x32\x45.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\xa2\x08\n\nJSONSchema\x12\x0b\n\x03ref\x18\x03 \x01(\t\x12\r\n\x05title\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12\x11\n\tread_only\x18\x08 \x01(\x08\x12\x0f\n\x07\x65xample\x18\t \x01(\t\x12\x13\n\x0bmultiple_of\x18\n \x01(\x01\x12\x0f\n\x07maximum\x18\x0b \x01(\x01\x12\x19\n\x11\x65xclusive_maximum\x18\x0c \x01(\x08\x12\x0f\n\x07minimum\x18\r \x01(\x01\x12\x19\n\x11\x65xclusive_minimum\x18\x0e \x01(\x08\x12\x12\n\nmax_length\x18\x0f \x01(\x04\x12\x12\n\nmin_length\x18\x10 \x01(\x04\x12\x0f\n\x07pattern\x18\x11 \x01(\t\x12\x11\n\tmax_items\x18\x14 \x01(\x04\x12\x11\n\tmin_items\x18\x15 \x01(\x04\x12\x14\n\x0cunique_items\x18\x16 \x01(\x08\x12\x16\n\x0emax_properties\x18\x18 \x01(\x04\x12\x16\n\x0emin_properties\x18\x19 \x01(\x04\x12\x10\n\x08required\x18\x1a \x03(\t\x12\r\n\x05\x61rray\x18" \x03(\t\x12Y\n\x04type\x18# \x03(\x0e\x32K.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes\x12\x0e\n\x06\x66ormat\x18$ \x01(\t\x12\x0c\n\x04\x65num\x18. \x03(\t\x12\x66\n\x13\x66ield_configuration\x18\xe9\x07 \x01(\x0b\x32H.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration\x12Y\n\nextensions\x18\x30 \x03(\x0b\x32\x45.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry\x1a-\n\x12\x46ieldConfiguration\x12\x17\n\x0fpath_param_name\x18/ \x01(\t\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"w\n\x15JSONSchemaSimpleTypes\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41RRAY\x10\x01\x12\x0b\n\x07\x42OOLEAN\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x08\n\x04NULL\x10\x04\x12\n\n\x06NUMBER\x10\x05\x12\n\n\x06OBJECT\x10\x06\x12\n\n\x06STRING\x10\x07J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x17\x10\x18J\x04\x08\x1b\x10\x1cJ\x04\x08\x1c\x10\x1dJ\x04\x08\x1d\x10\x1eJ\x04\x08\x1e\x10"J\x04\x08%\x10*J\x04\x08*\x10+J\x04\x08+\x10."\xa0\x02\n\x03Tag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12W\n\rexternal_docs\x18\x03 \x01(\x0b\x32@.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation\x12R\n\nextensions\x18\x04 \x03(\x0b\x32>.grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\xe1\x01\n\x13SecurityDefinitions\x12^\n\x08security\x18\x01 \x03(\x0b\x32L.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry\x1aj\n\rSecurityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme:\x02\x38\x01"\xa0\x06\n\x0eSecurityScheme\x12L\n\x04type\x18\x01 \x01(\x0e\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12H\n\x02in\x18\x04 \x01(\x0e\x32<.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In\x12L\n\x04\x66low\x18\x05 \x01(\x0e\x32>.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow\x12\x19\n\x11\x61uthorization_url\x18\x06 \x01(\t\x12\x11\n\ttoken_url\x18\x07 \x01(\t\x12\x41\n\x06scopes\x18\x08 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_openapiv2.options.Scopes\x12]\n\nextensions\x18\t \x03(\x0b\x32I.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"K\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x0e\n\nTYPE_BASIC\x10\x01\x12\x10\n\x0cTYPE_API_KEY\x10\x02\x12\x0f\n\x0bTYPE_OAUTH2\x10\x03"1\n\x02In\x12\x0e\n\nIN_INVALID\x10\x00\x12\x0c\n\x08IN_QUERY\x10\x01\x12\r\n\tIN_HEADER\x10\x02"j\n\x04\x46low\x12\x10\n\x0c\x46LOW_INVALID\x10\x00\x12\x11\n\rFLOW_IMPLICIT\x10\x01\x12\x11\n\rFLOW_PASSWORD\x10\x02\x12\x14\n\x10\x46LOW_APPLICATION\x10\x03\x12\x14\n\x10\x46LOW_ACCESS_CODE\x10\x04"\xcd\x02\n\x13SecurityRequirement\x12u\n\x14security_requirement\x18\x01 \x03(\x0b\x32W.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry\x1a)\n\x18SecurityRequirementValue\x12\r\n\x05scope\x18\x01 \x03(\t\x1a\x93\x01\n\x18SecurityRequirementEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x66\n\x05value\x18\x02 \x01(\x0b\x32W.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue:\x02\x38\x01"\x83\x01\n\x06Scopes\x12K\n\x05scope\x18\x01 \x03(\x0b\x32<.grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry\x1a,\n\nScopeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*;\n\x06Scheme\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\x12\x06\n\x02WS\x10\x03\x12\x07\n\x03WSS\x10\x04\x42HZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/optionsb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "protoc_gen_openapiv2.options.openapiv2_pb2", _globals +_SCHEME = DESCRIPTOR.enum_types_by_name["Scheme"] +Scheme = enum_type_wrapper.EnumTypeWrapper(_SCHEME) +UNKNOWN = 0 +HTTP = 1 +HTTPS = 2 +WS = 3 +WSS = 4 + + +_SWAGGER = DESCRIPTOR.message_types_by_name["Swagger"] +_SWAGGER_RESPONSESENTRY = _SWAGGER.nested_types_by_name["ResponsesEntry"] +_SWAGGER_EXTENSIONSENTRY = _SWAGGER.nested_types_by_name["ExtensionsEntry"] +_OPERATION = DESCRIPTOR.message_types_by_name["Operation"] +_OPERATION_RESPONSESENTRY = _OPERATION.nested_types_by_name["ResponsesEntry"] +_OPERATION_EXTENSIONSENTRY = _OPERATION.nested_types_by_name["ExtensionsEntry"] +_PARAMETERS = DESCRIPTOR.message_types_by_name["Parameters"] +_HEADERPARAMETER = DESCRIPTOR.message_types_by_name["HeaderParameter"] +_HEADER = DESCRIPTOR.message_types_by_name["Header"] +_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] +_RESPONSE_HEADERSENTRY = _RESPONSE.nested_types_by_name["HeadersEntry"] +_RESPONSE_EXAMPLESENTRY = _RESPONSE.nested_types_by_name["ExamplesEntry"] +_RESPONSE_EXTENSIONSENTRY = _RESPONSE.nested_types_by_name["ExtensionsEntry"] +_INFO = DESCRIPTOR.message_types_by_name["Info"] +_INFO_EXTENSIONSENTRY = _INFO.nested_types_by_name["ExtensionsEntry"] +_CONTACT = DESCRIPTOR.message_types_by_name["Contact"] +_LICENSE = DESCRIPTOR.message_types_by_name["License"] +_EXTERNALDOCUMENTATION = DESCRIPTOR.message_types_by_name["ExternalDocumentation"] +_SCHEMA = DESCRIPTOR.message_types_by_name["Schema"] +_ENUMSCHEMA = DESCRIPTOR.message_types_by_name["EnumSchema"] +_ENUMSCHEMA_EXTENSIONSENTRY = _ENUMSCHEMA.nested_types_by_name["ExtensionsEntry"] +_JSONSCHEMA = DESCRIPTOR.message_types_by_name["JSONSchema"] +_JSONSCHEMA_FIELDCONFIGURATION = _JSONSCHEMA.nested_types_by_name["FieldConfiguration"] +_JSONSCHEMA_EXTENSIONSENTRY = _JSONSCHEMA.nested_types_by_name["ExtensionsEntry"] +_TAG = DESCRIPTOR.message_types_by_name["Tag"] +_TAG_EXTENSIONSENTRY = _TAG.nested_types_by_name["ExtensionsEntry"] +_SECURITYDEFINITIONS = DESCRIPTOR.message_types_by_name["SecurityDefinitions"] +_SECURITYDEFINITIONS_SECURITYENTRY = _SECURITYDEFINITIONS.nested_types_by_name[ + "SecurityEntry" +] +_SECURITYSCHEME = DESCRIPTOR.message_types_by_name["SecurityScheme"] +_SECURITYSCHEME_EXTENSIONSENTRY = _SECURITYSCHEME.nested_types_by_name[ + "ExtensionsEntry" +] +_SECURITYREQUIREMENT = DESCRIPTOR.message_types_by_name["SecurityRequirement"] +_SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE = ( + _SECURITYREQUIREMENT.nested_types_by_name["SecurityRequirementValue"] +) +_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY = ( + _SECURITYREQUIREMENT.nested_types_by_name["SecurityRequirementEntry"] +) +_SCOPES = DESCRIPTOR.message_types_by_name["Scopes"] +_SCOPES_SCOPEENTRY = _SCOPES.nested_types_by_name["ScopeEntry"] +_HEADERPARAMETER_TYPE = _HEADERPARAMETER.enum_types_by_name["Type"] +_JSONSCHEMA_JSONSCHEMASIMPLETYPES = _JSONSCHEMA.enum_types_by_name[ + "JSONSchemaSimpleTypes" +] +_SECURITYSCHEME_TYPE = _SECURITYSCHEME.enum_types_by_name["Type"] +_SECURITYSCHEME_IN = _SECURITYSCHEME.enum_types_by_name["In"] +_SECURITYSCHEME_FLOW = _SECURITYSCHEME.enum_types_by_name["Flow"] +Swagger = _reflection.GeneratedProtocolMessageType( + "Swagger", + (_message.Message,), + { + "ResponsesEntry": _reflection.GeneratedProtocolMessageType( + "ResponsesEntry", + (_message.Message,), + { + "DESCRIPTOR": _SWAGGER_RESPONSESENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry) + }, + ), + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _SWAGGER_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _SWAGGER, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Swagger) + }, +) +_sym_db.RegisterMessage(Swagger) +_sym_db.RegisterMessage(Swagger.ResponsesEntry) +_sym_db.RegisterMessage(Swagger.ExtensionsEntry) + +Operation = _reflection.GeneratedProtocolMessageType( + "Operation", + (_message.Message,), + { + "ResponsesEntry": _reflection.GeneratedProtocolMessageType( + "ResponsesEntry", + (_message.Message,), + { + "DESCRIPTOR": _OPERATION_RESPONSESENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry) + }, + ), + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _OPERATION_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _OPERATION, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Operation) + }, +) +_sym_db.RegisterMessage(Operation) +_sym_db.RegisterMessage(Operation.ResponsesEntry) +_sym_db.RegisterMessage(Operation.ExtensionsEntry) + +Parameters = _reflection.GeneratedProtocolMessageType( + "Parameters", + (_message.Message,), + { + "DESCRIPTOR": _PARAMETERS, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Parameters) + }, +) +_sym_db.RegisterMessage(Parameters) + +HeaderParameter = _reflection.GeneratedProtocolMessageType( + "HeaderParameter", + (_message.Message,), + { + "DESCRIPTOR": _HEADERPARAMETER, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter) + }, +) +_sym_db.RegisterMessage(HeaderParameter) + +Header = _reflection.GeneratedProtocolMessageType( + "Header", + (_message.Message,), + { + "DESCRIPTOR": _HEADER, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Header) + }, +) +_sym_db.RegisterMessage(Header) + +Response = _reflection.GeneratedProtocolMessageType( + "Response", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _RESPONSE_HEADERSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry) + }, + ), + "ExamplesEntry": _reflection.GeneratedProtocolMessageType( + "ExamplesEntry", + (_message.Message,), + { + "DESCRIPTOR": _RESPONSE_EXAMPLESENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry) + }, + ), + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _RESPONSE_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _RESPONSE, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Response) + }, +) +_sym_db.RegisterMessage(Response) +_sym_db.RegisterMessage(Response.HeadersEntry) +_sym_db.RegisterMessage(Response.ExamplesEntry) +_sym_db.RegisterMessage(Response.ExtensionsEntry) + +Info = _reflection.GeneratedProtocolMessageType( + "Info", + (_message.Message,), + { + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _INFO_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _INFO, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Info) + }, +) +_sym_db.RegisterMessage(Info) +_sym_db.RegisterMessage(Info.ExtensionsEntry) + +Contact = _reflection.GeneratedProtocolMessageType( + "Contact", + (_message.Message,), + { + "DESCRIPTOR": _CONTACT, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Contact) + }, +) +_sym_db.RegisterMessage(Contact) + +License = _reflection.GeneratedProtocolMessageType( + "License", + (_message.Message,), + { + "DESCRIPTOR": _LICENSE, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.License) + }, +) +_sym_db.RegisterMessage(License) + +ExternalDocumentation = _reflection.GeneratedProtocolMessageType( + "ExternalDocumentation", + (_message.Message,), + { + "DESCRIPTOR": _EXTERNALDOCUMENTATION, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) + }, +) +_sym_db.RegisterMessage(ExternalDocumentation) + +Schema = _reflection.GeneratedProtocolMessageType( + "Schema", + (_message.Message,), + { + "DESCRIPTOR": _SCHEMA, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Schema) + }, +) +_sym_db.RegisterMessage(Schema) + +EnumSchema = _reflection.GeneratedProtocolMessageType( + "EnumSchema", + (_message.Message,), + { + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _ENUMSCHEMA_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _ENUMSCHEMA, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.EnumSchema) + }, +) +_sym_db.RegisterMessage(EnumSchema) +_sym_db.RegisterMessage(EnumSchema.ExtensionsEntry) + +JSONSchema = _reflection.GeneratedProtocolMessageType( + "JSONSchema", + (_message.Message,), + { + "FieldConfiguration": _reflection.GeneratedProtocolMessageType( + "FieldConfiguration", + (_message.Message,), + { + "DESCRIPTOR": _JSONSCHEMA_FIELDCONFIGURATION, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) + }, + ), + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _JSONSCHEMA_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _JSONSCHEMA, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) + }, +) +_sym_db.RegisterMessage(JSONSchema) +_sym_db.RegisterMessage(JSONSchema.FieldConfiguration) +_sym_db.RegisterMessage(JSONSchema.ExtensionsEntry) + +Tag = _reflection.GeneratedProtocolMessageType( + "Tag", + (_message.Message,), + { + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _TAG_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _TAG, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Tag) + }, +) +_sym_db.RegisterMessage(Tag) +_sym_db.RegisterMessage(Tag.ExtensionsEntry) + +SecurityDefinitions = _reflection.GeneratedProtocolMessageType( + "SecurityDefinitions", + (_message.Message,), + { + "SecurityEntry": _reflection.GeneratedProtocolMessageType( + "SecurityEntry", + (_message.Message,), + { + "DESCRIPTOR": _SECURITYDEFINITIONS_SECURITYENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry) + }, + ), + "DESCRIPTOR": _SECURITYDEFINITIONS, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) + }, +) +_sym_db.RegisterMessage(SecurityDefinitions) +_sym_db.RegisterMessage(SecurityDefinitions.SecurityEntry) + +SecurityScheme = _reflection.GeneratedProtocolMessageType( + "SecurityScheme", + (_message.Message,), + { + "ExtensionsEntry": _reflection.GeneratedProtocolMessageType( + "ExtensionsEntry", + (_message.Message,), + { + "DESCRIPTOR": _SECURITYSCHEME_EXTENSIONSENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry) + }, + ), + "DESCRIPTOR": _SECURITYSCHEME, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = ( +_sym_db.RegisterMessage(SecurityScheme) +_sym_db.RegisterMessage(SecurityScheme.ExtensionsEntry) + +SecurityRequirement = _reflection.GeneratedProtocolMessageType( + "SecurityRequirement", + (_message.Message,), + { + "SecurityRequirementValue": _reflection.GeneratedProtocolMessageType( + "SecurityRequirementValue", + (_message.Message,), + { + "DESCRIPTOR": _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) + }, + ), + "SecurityRequirementEntry": _reflection.GeneratedProtocolMessageType( + "SecurityRequirementEntry", + (_message.Message,), + { + "DESCRIPTOR": _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry) + }, + ), + "DESCRIPTOR": _SECURITYREQUIREMENT, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) + }, +) +_sym_db.RegisterMessage(SecurityRequirement) +_sym_db.RegisterMessage(SecurityRequirement.SecurityRequirementValue) +_sym_db.RegisterMessage(SecurityRequirement.SecurityRequirementEntry) + +Scopes = _reflection.GeneratedProtocolMessageType( + "Scopes", + (_message.Message,), + { + "ScopeEntry": _reflection.GeneratedProtocolMessageType( + "ScopeEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCOPES_SCOPEENTRY, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry) + }, + ), + "DESCRIPTOR": _SCOPES, + "__module__": "protoc_gen_openapiv2.options.openapiv2_pb2", + # @@protoc_insertion_point(class_scope:grpc.gateway.protoc_gen_openapiv2.options.Scopes) + }, +) +_sym_db.RegisterMessage(Scopes) +_sym_db.RegisterMessage(Scopes.ScopeEntry) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"ZFgithub.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" ) - _globals["_SWAGGER_RESPONSESENTRY"]._loaded_options = None - _globals["_SWAGGER_RESPONSESENTRY"]._serialized_options = b"8\001" - _globals["_SWAGGER_EXTENSIONSENTRY"]._loaded_options = None - _globals["_SWAGGER_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_OPERATION_RESPONSESENTRY"]._loaded_options = None - _globals["_OPERATION_RESPONSESENTRY"]._serialized_options = b"8\001" - _globals["_OPERATION_EXTENSIONSENTRY"]._loaded_options = None - _globals["_OPERATION_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_RESPONSE_HEADERSENTRY"]._loaded_options = None - _globals["_RESPONSE_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_RESPONSE_EXAMPLESENTRY"]._loaded_options = None - _globals["_RESPONSE_EXAMPLESENTRY"]._serialized_options = b"8\001" - _globals["_RESPONSE_EXTENSIONSENTRY"]._loaded_options = None - _globals["_RESPONSE_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_INFO_EXTENSIONSENTRY"]._loaded_options = None - _globals["_INFO_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._loaded_options = None - _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._loaded_options = None - _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_TAG_EXTENSIONSENTRY"]._loaded_options = None - _globals["_TAG_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._loaded_options = None - _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._serialized_options = b"8\001" - _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._loaded_options = None - _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._serialized_options = b"8\001" - _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY"]._loaded_options = None - _globals[ - "_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY" - ]._serialized_options = b"8\001" - _globals["_SCOPES_SCOPEENTRY"]._loaded_options = None - _globals["_SCOPES_SCOPEENTRY"]._serialized_options = b"8\001" - _globals["_SCHEME"]._serialized_start = 6978 - _globals["_SCHEME"]._serialized_end = 7037 - _globals["_SWAGGER"]._serialized_start = 122 - _globals["_SWAGGER"]._serialized_end = 1039 - _globals["_SWAGGER_RESPONSESENTRY"]._serialized_start = 851 - _globals["_SWAGGER_RESPONSESENTRY"]._serialized_end = 952 - _globals["_SWAGGER_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_SWAGGER_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_OPERATION"]._serialized_start = 1042 - _globals["_OPERATION"]._serialized_end = 1859 - _globals["_OPERATION_RESPONSESENTRY"]._serialized_start = 851 - _globals["_OPERATION_RESPONSESENTRY"]._serialized_end = 952 - _globals["_OPERATION_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_OPERATION_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_PARAMETERS"]._serialized_start = 1861 - _globals["_PARAMETERS"]._serialized_end = 1950 - _globals["_HEADERPARAMETER"]._serialized_start = 1953 - _globals["_HEADERPARAMETER"]._serialized_end = 2201 - _globals["_HEADERPARAMETER_TYPE"]._serialized_start = 2120 - _globals["_HEADERPARAMETER_TYPE"]._serialized_end = 2189 - _globals["_HEADER"]._serialized_start = 2204 - _globals["_HEADER"]._serialized_end = 2375 - _globals["_RESPONSE"]._serialized_start = 2378 - _globals["_RESPONSE"]._serialized_end = 2956 - _globals["_RESPONSE_HEADERSENTRY"]._serialized_start = 2735 - _globals["_RESPONSE_HEADERSENTRY"]._serialized_end = 2832 - _globals["_RESPONSE_EXAMPLESENTRY"]._serialized_start = 2834 - _globals["_RESPONSE_EXAMPLESENTRY"]._serialized_end = 2881 - _globals["_RESPONSE_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_RESPONSE_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_INFO"]._serialized_start = 2959 - _globals["_INFO"]._serialized_end = 3342 - _globals["_INFO_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_INFO_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_CONTACT"]._serialized_start = 3344 - _globals["_CONTACT"]._serialized_end = 3395 - _globals["_LICENSE"]._serialized_start = 3397 - _globals["_LICENSE"]._serialized_end = 3433 - _globals["_EXTERNALDOCUMENTATION"]._serialized_start = 3435 - _globals["_EXTERNALDOCUMENTATION"]._serialized_end = 3492 - _globals["_SCHEMA"]._serialized_start = 3495 - _globals["_SCHEMA"]._serialized_end = 3733 - _globals["_ENUMSCHEMA"]._serialized_start = 3736 - _globals["_ENUMSCHEMA"]._serialized_end = 4123 - _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_ENUMSCHEMA_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_JSONSCHEMA"]._serialized_start = 4126 - _globals["_JSONSCHEMA"]._serialized_end = 5184 - _globals["_JSONSCHEMA_FIELDCONFIGURATION"]._serialized_start = 4865 - _globals["_JSONSCHEMA_FIELDCONFIGURATION"]._serialized_end = 4910 - _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_JSONSCHEMA_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_JSONSCHEMA_JSONSCHEMASIMPLETYPES"]._serialized_start = 4987 - _globals["_JSONSCHEMA_JSONSCHEMASIMPLETYPES"]._serialized_end = 5106 - _globals["_TAG"]._serialized_start = 5187 - _globals["_TAG"]._serialized_end = 5475 - _globals["_TAG_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_TAG_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_SECURITYDEFINITIONS"]._serialized_start = 5478 - _globals["_SECURITYDEFINITIONS"]._serialized_end = 5703 - _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._serialized_start = 5597 - _globals["_SECURITYDEFINITIONS_SECURITYENTRY"]._serialized_end = 5703 - _globals["_SECURITYSCHEME"]._serialized_start = 5706 - _globals["_SECURITYSCHEME"]._serialized_end = 6506 - _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._serialized_start = 954 - _globals["_SECURITYSCHEME_EXTENSIONSENTRY"]._serialized_end = 1027 - _globals["_SECURITYSCHEME_TYPE"]._serialized_start = 6272 - _globals["_SECURITYSCHEME_TYPE"]._serialized_end = 6347 - _globals["_SECURITYSCHEME_IN"]._serialized_start = 6349 - _globals["_SECURITYSCHEME_IN"]._serialized_end = 6398 - _globals["_SECURITYSCHEME_FLOW"]._serialized_start = 6400 - _globals["_SECURITYSCHEME_FLOW"]._serialized_end = 6506 - _globals["_SECURITYREQUIREMENT"]._serialized_start = 6509 - _globals["_SECURITYREQUIREMENT"]._serialized_end = 6842 - _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE"]._serialized_start = 6651 - _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE"]._serialized_end = 6692 - _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY"]._serialized_start = 6695 - _globals["_SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY"]._serialized_end = 6842 - _globals["_SCOPES"]._serialized_start = 6845 - _globals["_SCOPES"]._serialized_end = 6976 - _globals["_SCOPES_SCOPEENTRY"]._serialized_start = 6932 - _globals["_SCOPES_SCOPEENTRY"]._serialized_end = 6976 + _SWAGGER_RESPONSESENTRY._options = None + _SWAGGER_RESPONSESENTRY._serialized_options = b"8\001" + _SWAGGER_EXTENSIONSENTRY._options = None + _SWAGGER_EXTENSIONSENTRY._serialized_options = b"8\001" + _OPERATION_RESPONSESENTRY._options = None + _OPERATION_RESPONSESENTRY._serialized_options = b"8\001" + _OPERATION_EXTENSIONSENTRY._options = None + _OPERATION_EXTENSIONSENTRY._serialized_options = b"8\001" + _RESPONSE_HEADERSENTRY._options = None + _RESPONSE_HEADERSENTRY._serialized_options = b"8\001" + _RESPONSE_EXAMPLESENTRY._options = None + _RESPONSE_EXAMPLESENTRY._serialized_options = b"8\001" + _RESPONSE_EXTENSIONSENTRY._options = None + _RESPONSE_EXTENSIONSENTRY._serialized_options = b"8\001" + _INFO_EXTENSIONSENTRY._options = None + _INFO_EXTENSIONSENTRY._serialized_options = b"8\001" + _ENUMSCHEMA_EXTENSIONSENTRY._options = None + _ENUMSCHEMA_EXTENSIONSENTRY._serialized_options = b"8\001" + _JSONSCHEMA_EXTENSIONSENTRY._options = None + _JSONSCHEMA_EXTENSIONSENTRY._serialized_options = b"8\001" + _TAG_EXTENSIONSENTRY._options = None + _TAG_EXTENSIONSENTRY._serialized_options = b"8\001" + _SECURITYDEFINITIONS_SECURITYENTRY._options = None + _SECURITYDEFINITIONS_SECURITYENTRY._serialized_options = b"8\001" + _SECURITYSCHEME_EXTENSIONSENTRY._options = None + _SECURITYSCHEME_EXTENSIONSENTRY._serialized_options = b"8\001" + _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._options = None + _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_options = b"8\001" + _SCOPES_SCOPEENTRY._options = None + _SCOPES_SCOPEENTRY._serialized_options = b"8\001" + _SCHEME._serialized_start = 6978 + _SCHEME._serialized_end = 7037 + _SWAGGER._serialized_start = 122 + _SWAGGER._serialized_end = 1039 + _SWAGGER_RESPONSESENTRY._serialized_start = 851 + _SWAGGER_RESPONSESENTRY._serialized_end = 952 + _SWAGGER_EXTENSIONSENTRY._serialized_start = 954 + _SWAGGER_EXTENSIONSENTRY._serialized_end = 1027 + _OPERATION._serialized_start = 1042 + _OPERATION._serialized_end = 1859 + _OPERATION_RESPONSESENTRY._serialized_start = 851 + _OPERATION_RESPONSESENTRY._serialized_end = 952 + _OPERATION_EXTENSIONSENTRY._serialized_start = 954 + _OPERATION_EXTENSIONSENTRY._serialized_end = 1027 + _PARAMETERS._serialized_start = 1861 + _PARAMETERS._serialized_end = 1950 + _HEADERPARAMETER._serialized_start = 1953 + _HEADERPARAMETER._serialized_end = 2201 + _HEADERPARAMETER_TYPE._serialized_start = 2120 + _HEADERPARAMETER_TYPE._serialized_end = 2189 + _HEADER._serialized_start = 2204 + _HEADER._serialized_end = 2375 + _RESPONSE._serialized_start = 2378 + _RESPONSE._serialized_end = 2956 + _RESPONSE_HEADERSENTRY._serialized_start = 2735 + _RESPONSE_HEADERSENTRY._serialized_end = 2832 + _RESPONSE_EXAMPLESENTRY._serialized_start = 2834 + _RESPONSE_EXAMPLESENTRY._serialized_end = 2881 + _RESPONSE_EXTENSIONSENTRY._serialized_start = 954 + _RESPONSE_EXTENSIONSENTRY._serialized_end = 1027 + _INFO._serialized_start = 2959 + _INFO._serialized_end = 3342 + _INFO_EXTENSIONSENTRY._serialized_start = 954 + _INFO_EXTENSIONSENTRY._serialized_end = 1027 + _CONTACT._serialized_start = 3344 + _CONTACT._serialized_end = 3395 + _LICENSE._serialized_start = 3397 + _LICENSE._serialized_end = 3433 + _EXTERNALDOCUMENTATION._serialized_start = 3435 + _EXTERNALDOCUMENTATION._serialized_end = 3492 + _SCHEMA._serialized_start = 3495 + _SCHEMA._serialized_end = 3733 + _ENUMSCHEMA._serialized_start = 3736 + _ENUMSCHEMA._serialized_end = 4123 + _ENUMSCHEMA_EXTENSIONSENTRY._serialized_start = 954 + _ENUMSCHEMA_EXTENSIONSENTRY._serialized_end = 1027 + _JSONSCHEMA._serialized_start = 4126 + _JSONSCHEMA._serialized_end = 5184 + _JSONSCHEMA_FIELDCONFIGURATION._serialized_start = 4865 + _JSONSCHEMA_FIELDCONFIGURATION._serialized_end = 4910 + _JSONSCHEMA_EXTENSIONSENTRY._serialized_start = 954 + _JSONSCHEMA_EXTENSIONSENTRY._serialized_end = 1027 + _JSONSCHEMA_JSONSCHEMASIMPLETYPES._serialized_start = 4987 + _JSONSCHEMA_JSONSCHEMASIMPLETYPES._serialized_end = 5106 + _TAG._serialized_start = 5187 + _TAG._serialized_end = 5475 + _TAG_EXTENSIONSENTRY._serialized_start = 954 + _TAG_EXTENSIONSENTRY._serialized_end = 1027 + _SECURITYDEFINITIONS._serialized_start = 5478 + _SECURITYDEFINITIONS._serialized_end = 5703 + _SECURITYDEFINITIONS_SECURITYENTRY._serialized_start = 5597 + _SECURITYDEFINITIONS_SECURITYENTRY._serialized_end = 5703 + _SECURITYSCHEME._serialized_start = 5706 + _SECURITYSCHEME._serialized_end = 6506 + _SECURITYSCHEME_EXTENSIONSENTRY._serialized_start = 954 + _SECURITYSCHEME_EXTENSIONSENTRY._serialized_end = 1027 + _SECURITYSCHEME_TYPE._serialized_start = 6272 + _SECURITYSCHEME_TYPE._serialized_end = 6347 + _SECURITYSCHEME_IN._serialized_start = 6349 + _SECURITYSCHEME_IN._serialized_end = 6398 + _SECURITYSCHEME_FLOW._serialized_start = 6400 + _SECURITYSCHEME_FLOW._serialized_end = 6506 + _SECURITYREQUIREMENT._serialized_start = 6509 + _SECURITYREQUIREMENT._serialized_end = 6842 + _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE._serialized_start = 6651 + _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE._serialized_end = 6692 + _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_start = 6695 + _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_end = 6842 + _SCOPES._serialized_start = 6845 + _SCOPES._serialized_end = 6976 + _SCOPES_SCOPEENTRY._serialized_start = 6932 + _SCOPES_SCOPEENTRY._serialized_end = 6976 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi index fcb31ee36..458d881f9 100644 --- a/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi +++ b/temporalio/api/dependencies/protoc_gen_openapiv2/options/openapiv2_pb2.pyi @@ -28,7 +28,7 @@ class _Scheme: class _SchemeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Scheme.ValueType], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: _Scheme.ValueType # 0 HTTP: _Scheme.ValueType # 1 @@ -46,9 +46,8 @@ HTTP: Scheme.ValueType # 1 HTTPS: Scheme.ValueType # 2 WS: Scheme.ValueType # 3 WSS: Scheme.ValueType # 4 -Global___Scheme: typing_extensions.TypeAlias = Scheme +global___Scheme = Scheme -@typing.final class Swagger(google.protobuf.message.Message): """`Swagger` is a representation of OpenAPI v2 specification's Swagger object. @@ -79,7 +78,6 @@ class Swagger(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ResponsesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -87,21 +85,21 @@ class Swagger(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___Response: ... + def value(self) -> global___Response: ... def __init__( self, *, key: builtins.str = ..., - value: Global___Response | None = ..., + value: global___Response | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -117,10 +115,11 @@ class Swagger(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SWAGGER_FIELD_NUMBER: builtins.int @@ -141,6 +140,11 @@ class Swagger(google.protobuf.message.Message): used by the OpenAPI UI and other clients to interpret the API listing. The value MUST be "2.0". """ + @property + def info(self) -> global___Info: + """Provides metadata about the API. The metadata can be used by the + clients if needed. + """ host: builtins.str """The host (name or ip) serving the API. This MUST be the host only and does not include the scheme nor sub-paths. It MAY include a port. If the host is @@ -158,23 +162,16 @@ class Swagger(google.protobuf.message.Message): manually removed from your `google.api.http` paths and your code changed to serve the API from the `base_path`. """ - @property - def info(self) -> Global___Info: - """Provides metadata about the API. The metadata can be used by the - clients if needed. - """ - @property def schemes( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - Global___Scheme.ValueType + global___Scheme.ValueType ]: """The transfer protocol of the API. Values MUST be from the list: "http", "https", "ws", "wss". If the schemes is not included, the default scheme to be used is the one used to access the OpenAPI definition itself. """ - @property def consumes( self, @@ -183,7 +180,6 @@ class Swagger(google.protobuf.message.Message): can be overridden on specific API calls. Value MUST be as described under Mime Types. """ - @property def produces( self, @@ -192,47 +188,41 @@ class Swagger(google.protobuf.message.Message): can be overridden on specific API calls. Value MUST be as described under Mime Types. """ - @property def responses( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___Response + builtins.str, global___Response ]: """An object to hold responses that can be used across operations. This property does not define global responses for all operations. """ - @property - def security_definitions(self) -> Global___SecurityDefinitions: + def security_definitions(self) -> global___SecurityDefinitions: """Security scheme definitions that can be used across the specification.""" - @property def security( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___SecurityRequirement + global___SecurityRequirement ]: """A declaration of which security schemes are applied for the API as a whole. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). Individual operations can override this definition. """ - @property def tags( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Tag + global___Tag ]: """A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier. """ - @property - def external_docs(self) -> Global___ExternalDocumentation: + def external_docs(self) -> global___ExternalDocumentation: """Additional external documentation.""" - @property def extensions( self, @@ -243,23 +233,22 @@ class Swagger(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - def __init__( self, *, swagger: builtins.str = ..., - info: Global___Info | None = ..., + info: global___Info | None = ..., host: builtins.str = ..., base_path: builtins.str = ..., - schemes: collections.abc.Iterable[Global___Scheme.ValueType] | None = ..., + schemes: collections.abc.Iterable[global___Scheme.ValueType] | None = ..., consumes: collections.abc.Iterable[builtins.str] | None = ..., produces: collections.abc.Iterable[builtins.str] | None = ..., - responses: collections.abc.Mapping[builtins.str, Global___Response] + responses: collections.abc.Mapping[builtins.str, global___Response] | None = ..., - security_definitions: Global___SecurityDefinitions | None = ..., - security: collections.abc.Iterable[Global___SecurityRequirement] | None = ..., - tags: collections.abc.Iterable[Global___Tag] | None = ..., - external_docs: Global___ExternalDocumentation | None = ..., + security_definitions: global___SecurityDefinitions | None = ..., + security: collections.abc.Iterable[global___SecurityRequirement] | None = ..., + tags: collections.abc.Iterable[global___Tag] | None = ..., + external_docs: global___ExternalDocumentation | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] @@ -267,7 +256,7 @@ class Swagger(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external_docs", b"external_docs", "info", @@ -278,7 +267,7 @@ class Swagger(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "base_path", b"base_path", "consumes", @@ -308,9 +297,8 @@ class Swagger(google.protobuf.message.Message): ], ) -> None: ... -Global___Swagger: typing_extensions.TypeAlias = Swagger +global___Swagger = Swagger -@typing.final class Operation(google.protobuf.message.Message): """`Operation` is a representation of OpenAPI v2 specification's Operation object. @@ -341,7 +329,6 @@ class Operation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ResponsesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -349,21 +336,21 @@ class Operation(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___Response: ... + def value(self) -> global___Response: ... def __init__( self, *, key: builtins.str = ..., - value: Global___Response | None = ..., + value: global___Response | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -379,10 +366,11 @@ class Operation(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... TAGS_FIELD_NUMBER: builtins.int @@ -398,6 +386,13 @@ class Operation(google.protobuf.message.Message): SECURITY_FIELD_NUMBER: builtins.int EXTENSIONS_FIELD_NUMBER: builtins.int PARAMETERS_FIELD_NUMBER: builtins.int + @property + def tags( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """A list of tags for API documentation control. Tags can be used for logical + grouping of operations by resources or any other qualifier. + """ summary: builtins.str """A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters. @@ -406,28 +401,15 @@ class Operation(google.protobuf.message.Message): """A verbose explanation of the operation behavior. GFM syntax can be used for rich text representation. """ + @property + def external_docs(self) -> global___ExternalDocumentation: + """Additional external documentation for this operation.""" operation_id: builtins.str """Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions. """ - deprecated: builtins.bool - """Declares this operation to be deprecated. Usage of the declared operation - should be refrained. Default value is false. - """ - @property - def tags( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """A list of tags for API documentation control. Tags can be used for logical - grouping of operations by resources or any other qualifier. - """ - - @property - def external_docs(self) -> Global___ExternalDocumentation: - """Additional external documentation for this operation.""" - @property def consumes( self, @@ -436,7 +418,6 @@ class Operation(google.protobuf.message.Message): definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types. """ - @property def produces( self, @@ -445,33 +426,34 @@ class Operation(google.protobuf.message.Message): definition at the OpenAPI Object. An empty value MAY be used to clear the global definition. Value MUST be as described under Mime Types. """ - @property def responses( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___Response + builtins.str, global___Response ]: """The list of possible responses as they are returned from executing this operation. """ - @property def schemes( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - Global___Scheme.ValueType + global___Scheme.ValueType ]: """The transfer protocol for the operation. Values MUST be from the list: "http", "https", "ws", "wss". The value overrides the OpenAPI Object schemes definition. """ - + deprecated: builtins.bool + """Declares this operation to be deprecated. Usage of the declared operation + should be refrained. Default value is false. + """ @property def security( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___SecurityRequirement + global___SecurityRequirement ]: """A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used @@ -479,7 +461,6 @@ class Operation(google.protobuf.message.Message): definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used. """ - @property def extensions( self, @@ -490,44 +471,42 @@ class Operation(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - @property - def parameters(self) -> Global___Parameters: + def parameters(self) -> global___Parameters: """Custom parameters such as HTTP request headers. See: https://swagger.io/docs/specification/2-0/describing-parameters/ and https://swagger.io/specification/v2/#parameter-object. """ - def __init__( self, *, tags: collections.abc.Iterable[builtins.str] | None = ..., summary: builtins.str = ..., description: builtins.str = ..., - external_docs: Global___ExternalDocumentation | None = ..., + external_docs: global___ExternalDocumentation | None = ..., operation_id: builtins.str = ..., consumes: collections.abc.Iterable[builtins.str] | None = ..., produces: collections.abc.Iterable[builtins.str] | None = ..., - responses: collections.abc.Mapping[builtins.str, Global___Response] + responses: collections.abc.Mapping[builtins.str, global___Response] | None = ..., - schemes: collections.abc.Iterable[Global___Scheme.ValueType] | None = ..., + schemes: collections.abc.Iterable[global___Scheme.ValueType] | None = ..., deprecated: builtins.bool = ..., - security: collections.abc.Iterable[Global___SecurityRequirement] | None = ..., + security: collections.abc.Iterable[global___SecurityRequirement] | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., - parameters: Global___Parameters | None = ..., + parameters: global___Parameters | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external_docs", b"external_docs", "parameters", b"parameters" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "consumes", b"consumes", "deprecated", @@ -557,9 +536,8 @@ class Operation(google.protobuf.message.Message): ], ) -> None: ... -Global___Operation: typing_extensions.TypeAlias = Operation +global___Operation = Operation -@typing.final class Parameters(google.protobuf.message.Message): """`Parameters` is a representation of OpenAPI v2 specification's parameters object. Note: This technically breaks compatibility with the OpenAPI 2 definition structure as we only @@ -575,22 +553,22 @@ class Parameters(google.protobuf.message.Message): def headers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___HeaderParameter + global___HeaderParameter ]: """`Headers` is one or more HTTP header parameter. See: https://swagger.io/docs/specification/2-0/describing-parameters/#header-parameters """ - def __init__( self, *, - headers: collections.abc.Iterable[Global___HeaderParameter] | None = ..., + headers: collections.abc.Iterable[global___HeaderParameter] | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["headers", b"headers"] ) -> None: ... - def ClearField(self, field_name: typing.Literal["headers", b"headers"]) -> None: ... -Global___Parameters: typing_extensions.TypeAlias = Parameters +global___Parameters = Parameters -@typing.final class HeaderParameter(google.protobuf.message.Message): """`HeaderParameter` a HTTP header parameter. See: https://swagger.io/specification/v2/#parameter-object @@ -607,7 +585,7 @@ class HeaderParameter(google.protobuf.message.Message): HeaderParameter._Type.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: HeaderParameter._Type.ValueType # 0 STRING: HeaderParameter._Type.ValueType # 1 @@ -635,7 +613,7 @@ class HeaderParameter(google.protobuf.message.Message): """`Name` is the header name.""" description: builtins.str """`Description` is a short description of the header.""" - type: Global___HeaderParameter.Type.ValueType + type: global___HeaderParameter.Type.ValueType """`Type` is the type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. See: https://swagger.io/specification/v2/#parameterType. """ @@ -648,13 +626,13 @@ class HeaderParameter(google.protobuf.message.Message): *, name: builtins.str = ..., description: builtins.str = ..., - type: Global___HeaderParameter.Type.ValueType = ..., + type: global___HeaderParameter.Type.ValueType = ..., format: builtins.str = ..., required: builtins.bool = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "format", @@ -668,9 +646,8 @@ class HeaderParameter(google.protobuf.message.Message): ], ) -> None: ... -Global___HeaderParameter: typing_extensions.TypeAlias = HeaderParameter +global___HeaderParameter = HeaderParameter -@typing.final class Header(google.protobuf.message.Message): """`Header` is a representation of OpenAPI v2 specification's Header object. @@ -708,7 +685,7 @@ class Header(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "default", b"default", "description", @@ -722,9 +699,8 @@ class Header(google.protobuf.message.Message): ], ) -> None: ... -Global___Header: typing_extensions.TypeAlias = Header +global___Header = Header -@typing.final class Response(google.protobuf.message.Message): """`Response` is a representation of OpenAPI v2 specification's Response object. @@ -733,7 +709,6 @@ class Response(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -741,21 +716,21 @@ class Response(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___Header: ... + def value(self) -> global___Header: ... def __init__( self, *, key: builtins.str = ..., - value: Global___Header | None = ..., + value: global___Header | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class ExamplesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -770,10 +745,10 @@ class Response(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -789,10 +764,11 @@ class Response(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int @@ -805,20 +781,18 @@ class Response(google.protobuf.message.Message): GFM syntax can be used for rich text representation. """ @property - def schema(self) -> Global___Schema: + def schema(self) -> global___Schema: """`Schema` optionally defines the structure of the response. If `Schema` is not provided, it means there is no content to the response. """ - @property def headers( self, - ) -> google.protobuf.internal.containers.MessageMap[builtins.str, Global___Header]: + ) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Header]: """`Headers` A list of headers that are sent with the response. `Header` name is expected to be a string in the canonical format of the MIME header key See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey """ - @property def examples( self, @@ -826,7 +800,6 @@ class Response(google.protobuf.message.Message): """`Examples` gives per-mimetype response examples. See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object """ - @property def extensions( self, @@ -837,13 +810,12 @@ class Response(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - def __init__( self, *, description: builtins.str = ..., - schema: Global___Schema | None = ..., - headers: collections.abc.Mapping[builtins.str, Global___Header] | None = ..., + schema: global___Schema | None = ..., + headers: collections.abc.Mapping[builtins.str, global___Header] | None = ..., examples: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value @@ -851,11 +823,11 @@ class Response(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["schema", b"schema"] + self, field_name: typing_extensions.Literal["schema", b"schema"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "examples", @@ -869,9 +841,8 @@ class Response(google.protobuf.message.Message): ], ) -> None: ... -Global___Response: typing_extensions.TypeAlias = Response +global___Response = Response -@typing.final class Info(google.protobuf.message.Message): """`Info` is a representation of OpenAPI v2 specification's Info object. @@ -900,7 +871,6 @@ class Info(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -916,10 +886,11 @@ class Info(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... TITLE_FIELD_NUMBER: builtins.int @@ -937,18 +908,16 @@ class Info(google.protobuf.message.Message): """ terms_of_service: builtins.str """The Terms of Service for the API.""" - version: builtins.str - """Provides the version of the application API (not to be confused - with the specification version). - """ @property - def contact(self) -> Global___Contact: + def contact(self) -> global___Contact: """The contact information for the exposed API.""" - @property - def license(self) -> Global___License: + def license(self) -> global___License: """The license information for the exposed API.""" - + version: builtins.str + """Provides the version of the application API (not to be confused + with the specification version). + """ @property def extensions( self, @@ -959,15 +928,14 @@ class Info(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - def __init__( self, *, title: builtins.str = ..., description: builtins.str = ..., terms_of_service: builtins.str = ..., - contact: Global___Contact | None = ..., - license: Global___License | None = ..., + contact: global___Contact | None = ..., + license: global___License | None = ..., version: builtins.str = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value @@ -975,11 +943,14 @@ class Info(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["contact", b"contact", "license", b"license"] + self, + field_name: typing_extensions.Literal[ + "contact", b"contact", "license", b"license" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "contact", b"contact", "description", @@ -997,9 +968,8 @@ class Info(google.protobuf.message.Message): ], ) -> None: ... -Global___Info: typing_extensions.TypeAlias = Info +global___Info = Info -@typing.final class Contact(google.protobuf.message.Message): """`Contact` is a representation of OpenAPI v2 specification's Contact object. @@ -1045,12 +1015,13 @@ class Contact(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["email", b"email", "name", b"name", "url", b"url"], + field_name: typing_extensions.Literal[ + "email", b"email", "name", b"name", "url", b"url" + ], ) -> None: ... -Global___Contact: typing_extensions.TypeAlias = Contact +global___Contact = Contact -@typing.final class License(google.protobuf.message.Message): """`License` is a representation of OpenAPI v2 specification's License object. @@ -1086,12 +1057,11 @@ class License(google.protobuf.message.Message): url: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "url", b"url"] + self, field_name: typing_extensions.Literal["name", b"name", "url", b"url"] ) -> None: ... -Global___License: typing_extensions.TypeAlias = License +global___License = License -@typing.final class ExternalDocumentation(google.protobuf.message.Message): """`ExternalDocumentation` is a representation of OpenAPI v2 specification's ExternalDocumentation object. @@ -1129,12 +1099,14 @@ class ExternalDocumentation(google.protobuf.message.Message): url: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["description", b"description", "url", b"url"] + self, + field_name: typing_extensions.Literal[ + "description", b"description", "url", b"url" + ], ) -> None: ... -Global___ExternalDocumentation: typing_extensions.TypeAlias = ExternalDocumentation +global___ExternalDocumentation = ExternalDocumentation -@typing.final class Schema(google.protobuf.message.Message): """`Schema` is a representation of OpenAPI v2 specification's Schema object. @@ -1148,6 +1120,8 @@ class Schema(google.protobuf.message.Message): READ_ONLY_FIELD_NUMBER: builtins.int EXTERNAL_DOCS_FIELD_NUMBER: builtins.int EXAMPLE_FIELD_NUMBER: builtins.int + @property + def json_schema(self) -> global___JSONSchema: ... discriminator: builtins.str """Adds support for polymorphism. The discriminator is the schema property name that is used to differentiate between other schema that inherit this @@ -1162,34 +1136,31 @@ class Schema(google.protobuf.message.Message): true SHOULD NOT be in the required list of the defined schema. Default value is false. """ + @property + def external_docs(self) -> global___ExternalDocumentation: + """Additional external documentation for this schema.""" example: builtins.str """A free-form property to include an example of an instance for this schema in JSON. This is copied verbatim to the output. """ - @property - def json_schema(self) -> Global___JSONSchema: ... - @property - def external_docs(self) -> Global___ExternalDocumentation: - """Additional external documentation for this schema.""" - def __init__( self, *, - json_schema: Global___JSONSchema | None = ..., + json_schema: global___JSONSchema | None = ..., discriminator: builtins.str = ..., read_only: builtins.bool = ..., - external_docs: Global___ExternalDocumentation | None = ..., + external_docs: global___ExternalDocumentation | None = ..., example: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external_docs", b"external_docs", "json_schema", b"json_schema" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "discriminator", b"discriminator", "example", @@ -1203,9 +1174,8 @@ class Schema(google.protobuf.message.Message): ], ) -> None: ... -Global___Schema: typing_extensions.TypeAlias = Schema +global___Schema = Schema -@typing.final class EnumSchema(google.protobuf.message.Message): """`EnumSchema` is subset of fields from the OpenAPI v2 specification's Schema object. Only fields that are applicable to Enums are included @@ -1225,7 +1195,6 @@ class EnumSchema(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1241,10 +1210,11 @@ class EnumSchema(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int @@ -1263,6 +1233,9 @@ class EnumSchema(google.protobuf.message.Message): """The title of the schema.""" required: builtins.bool read_only: builtins.bool + @property + def external_docs(self) -> global___ExternalDocumentation: + """Additional external documentation for this schema.""" example: builtins.str ref: builtins.str """Ref is used to define an external reference to include in the message. @@ -1272,10 +1245,6 @@ class EnumSchema(google.protobuf.message.Message): For example: `ref: ".google.protobuf.Timestamp"`. """ - @property - def external_docs(self) -> Global___ExternalDocumentation: - """Additional external documentation for this schema.""" - @property def extensions( self, @@ -1286,7 +1255,6 @@ class EnumSchema(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - def __init__( self, *, @@ -1295,7 +1263,7 @@ class EnumSchema(google.protobuf.message.Message): title: builtins.str = ..., required: builtins.bool = ..., read_only: builtins.bool = ..., - external_docs: Global___ExternalDocumentation | None = ..., + external_docs: global___ExternalDocumentation | None = ..., example: builtins.str = ..., ref: builtins.str = ..., extensions: collections.abc.Mapping[ @@ -1304,11 +1272,11 @@ class EnumSchema(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["external_docs", b"external_docs"] + self, field_name: typing_extensions.Literal["external_docs", b"external_docs"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "default", b"default", "description", @@ -1330,9 +1298,8 @@ class EnumSchema(google.protobuf.message.Message): ], ) -> None: ... -Global___EnumSchema: typing_extensions.TypeAlias = EnumSchema +global___EnumSchema = EnumSchema -@typing.final class JSONSchema(google.protobuf.message.Message): """`JSONSchema` represents properties from JSON Schema taken, and as used, in the OpenAPI v2 spec. @@ -1374,7 +1341,7 @@ class JSONSchema(google.protobuf.message.Message): JSONSchema._JSONSchemaSimpleTypes.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: JSONSchema._JSONSchemaSimpleTypes.ValueType # 0 ARRAY: JSONSchema._JSONSchemaSimpleTypes.ValueType # 1 @@ -1397,7 +1364,6 @@ class JSONSchema(google.protobuf.message.Message): OBJECT: JSONSchema.JSONSchemaSimpleTypes.ValueType # 6 STRING: JSONSchema.JSONSchemaSimpleTypes.ValueType # 7 - @typing.final class FieldConfiguration(google.protobuf.message.Message): """'FieldConfiguration' provides additional field level properties used when generating the OpenAPI v2 file. These properties are not defined by OpenAPIv2, but they are used to control the generation. @@ -1418,10 +1384,12 @@ class JSONSchema(google.protobuf.message.Message): path_param_name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["path_param_name", b"path_param_name"] + self, + field_name: typing_extensions.Literal[ + "path_param_name", b"path_param_name" + ], ) -> None: ... - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1437,10 +1405,11 @@ class JSONSchema(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... REF_FIELD_NUMBER: builtins.int @@ -1507,8 +1476,6 @@ class JSONSchema(google.protobuf.message.Message): unique_items: builtins.bool max_properties: builtins.int min_properties: builtins.int - format: builtins.str - """`Format`""" @property def required( self, @@ -1520,23 +1487,22 @@ class JSONSchema(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Items in 'array' must be unique.""" - @property def type( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - Global___JSONSchema.JSONSchemaSimpleTypes.ValueType + global___JSONSchema.JSONSchemaSimpleTypes.ValueType ]: ... + format: builtins.str + """`Format`""" @property def enum( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1""" - @property - def field_configuration(self) -> Global___JSONSchema.FieldConfiguration: + def field_configuration(self) -> global___JSONSchema.FieldConfiguration: """Additional field level properties used when generating the OpenAPI v2 file.""" - @property def extensions( self, @@ -1547,7 +1513,6 @@ class JSONSchema(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - def __init__( self, *, @@ -1573,23 +1538,26 @@ class JSONSchema(google.protobuf.message.Message): required: collections.abc.Iterable[builtins.str] | None = ..., array: collections.abc.Iterable[builtins.str] | None = ..., type: collections.abc.Iterable[ - Global___JSONSchema.JSONSchemaSimpleTypes.ValueType + global___JSONSchema.JSONSchemaSimpleTypes.ValueType ] | None = ..., format: builtins.str = ..., enum: collections.abc.Iterable[builtins.str] | None = ..., - field_configuration: Global___JSONSchema.FieldConfiguration | None = ..., + field_configuration: global___JSONSchema.FieldConfiguration | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["field_configuration", b"field_configuration"] + self, + field_name: typing_extensions.Literal[ + "field_configuration", b"field_configuration" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "array", b"array", "default", @@ -1645,9 +1613,8 @@ class JSONSchema(google.protobuf.message.Message): ], ) -> None: ... -Global___JSONSchema: typing_extensions.TypeAlias = JSONSchema +global___JSONSchema = JSONSchema -@typing.final class Tag(google.protobuf.message.Message): """`Tag` is a representation of OpenAPI v2 specification's Tag object. @@ -1656,7 +1623,6 @@ class Tag(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1672,10 +1638,11 @@ class Tag(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAME_FIELD_NUMBER: builtins.int @@ -1692,9 +1659,8 @@ class Tag(google.protobuf.message.Message): representation. """ @property - def external_docs(self) -> Global___ExternalDocumentation: + def external_docs(self) -> global___ExternalDocumentation: """Additional external documentation for this tag.""" - @property def extensions( self, @@ -1705,24 +1671,23 @@ class Tag(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - def __init__( self, *, name: builtins.str = ..., description: builtins.str = ..., - external_docs: Global___ExternalDocumentation | None = ..., + external_docs: global___ExternalDocumentation | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["external_docs", b"external_docs"] + self, field_name: typing_extensions.Literal["external_docs", b"external_docs"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "extensions", @@ -1734,9 +1699,8 @@ class Tag(google.protobuf.message.Message): ], ) -> None: ... -Global___Tag: typing_extensions.TypeAlias = Tag +global___Tag = Tag -@typing.final class SecurityDefinitions(google.protobuf.message.Message): """`SecurityDefinitions` is a representation of OpenAPI v2 specification's Security Definitions object. @@ -1750,7 +1714,6 @@ class SecurityDefinitions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class SecurityEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1758,18 +1721,19 @@ class SecurityDefinitions(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___SecurityScheme: ... + def value(self) -> global___SecurityScheme: ... def __init__( self, *, key: builtins.str = ..., - value: Global___SecurityScheme | None = ..., + value: global___SecurityScheme | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SECURITY_FIELD_NUMBER: builtins.int @@ -1777,25 +1741,23 @@ class SecurityDefinitions(google.protobuf.message.Message): def security( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___SecurityScheme + builtins.str, global___SecurityScheme ]: """A single security scheme definition, mapping a "name" to the scheme it defines. """ - def __init__( self, *, - security: collections.abc.Mapping[builtins.str, Global___SecurityScheme] + security: collections.abc.Mapping[builtins.str, global___SecurityScheme] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["security", b"security"] + self, field_name: typing_extensions.Literal["security", b"security"] ) -> None: ... -Global___SecurityDefinitions: typing_extensions.TypeAlias = SecurityDefinitions +global___SecurityDefinitions = SecurityDefinitions -@typing.final class SecurityScheme(google.protobuf.message.Message): """`SecurityScheme` is a representation of OpenAPI v2 specification's Security Scheme object. @@ -1819,7 +1781,7 @@ class SecurityScheme(google.protobuf.message.Message): SecurityScheme._Type.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TYPE_INVALID: SecurityScheme._Type.ValueType # 0 TYPE_BASIC: SecurityScheme._Type.ValueType # 1 @@ -1845,7 +1807,7 @@ class SecurityScheme(google.protobuf.message.Message): SecurityScheme._In.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor IN_INVALID: SecurityScheme._In.ValueType # 0 IN_QUERY: SecurityScheme._In.ValueType # 1 @@ -1867,7 +1829,7 @@ class SecurityScheme(google.protobuf.message.Message): SecurityScheme._Flow.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor FLOW_INVALID: SecurityScheme._Flow.ValueType # 0 FLOW_IMPLICIT: SecurityScheme._Flow.ValueType # 1 @@ -1886,7 +1848,6 @@ class SecurityScheme(google.protobuf.message.Message): FLOW_APPLICATION: SecurityScheme.Flow.ValueType # 3 FLOW_ACCESS_CODE: SecurityScheme.Flow.ValueType # 4 - @typing.final class ExtensionsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1902,10 +1863,11 @@ class SecurityScheme(google.protobuf.message.Message): value: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... TYPE_FIELD_NUMBER: builtins.int @@ -1917,7 +1879,7 @@ class SecurityScheme(google.protobuf.message.Message): TOKEN_URL_FIELD_NUMBER: builtins.int SCOPES_FIELD_NUMBER: builtins.int EXTENSIONS_FIELD_NUMBER: builtins.int - type: Global___SecurityScheme.Type.ValueType + type: global___SecurityScheme.Type.ValueType """The type of the security scheme. Valid values are "basic", "apiKey" or "oauth2". """ @@ -1927,7 +1889,7 @@ class SecurityScheme(google.protobuf.message.Message): """The name of the header or query parameter to be used. Valid for apiKey. """ - flow: Global___SecurityScheme.Flow.ValueType + flow: global___SecurityScheme.Flow.ValueType """The flow used by the OAuth2 security scheme. Valid values are "implicit", "password", "application" or "accessCode". Valid for oauth2. @@ -1943,11 +1905,10 @@ class SecurityScheme(google.protobuf.message.Message): Valid for oauth2/password, oauth2/application and oauth2/accessCode. """ @property - def scopes(self) -> Global___Scopes: + def scopes(self) -> global___Scopes: """The available scopes for the OAuth2 security scheme. Valid for oauth2. """ - @property def extensions( self, @@ -1958,28 +1919,27 @@ class SecurityScheme(google.protobuf.message.Message): extra functionality that is not covered by the standard OpenAPI Specification. See: https://swagger.io/docs/specification/2-0/swagger-extensions/ """ - def __init__( self, *, - type: Global___SecurityScheme.Type.ValueType = ..., + type: global___SecurityScheme.Type.ValueType = ..., description: builtins.str = ..., name: builtins.str = ..., - flow: Global___SecurityScheme.Flow.ValueType = ..., + flow: global___SecurityScheme.Flow.ValueType = ..., authorization_url: builtins.str = ..., token_url: builtins.str = ..., - scopes: Global___Scopes | None = ..., + scopes: global___Scopes | None = ..., extensions: collections.abc.Mapping[ builtins.str, google.protobuf.struct_pb2.Value ] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["scopes", b"scopes"] + self, field_name: typing_extensions.Literal["scopes", b"scopes"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "authorization_url", b"authorization_url", "description", @@ -2001,9 +1961,8 @@ class SecurityScheme(google.protobuf.message.Message): ], ) -> None: ... -Global___SecurityScheme: typing_extensions.TypeAlias = SecurityScheme +global___SecurityScheme = SecurityScheme -@typing.final class SecurityRequirement(google.protobuf.message.Message): """`SecurityRequirement` is a representation of OpenAPI v2 specification's Security Requirement object. @@ -2020,7 +1979,6 @@ class SecurityRequirement(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class SecurityRequirementValue(google.protobuf.message.Message): """If the security scheme is of type "oauth2", then the value is a list of scope names required for the execution. For other security scheme types, @@ -2041,9 +1999,10 @@ class SecurityRequirement(google.protobuf.message.Message): *, scope: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["scope", b"scope"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["scope", b"scope"] + ) -> None: ... - @typing.final class SecurityRequirementEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2051,18 +2010,19 @@ class SecurityRequirement(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___SecurityRequirement.SecurityRequirementValue: ... + def value(self) -> global___SecurityRequirement.SecurityRequirementValue: ... def __init__( self, *, key: builtins.str = ..., - value: Global___SecurityRequirement.SecurityRequirementValue | None = ..., + value: global___SecurityRequirement.SecurityRequirementValue | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SECURITY_REQUIREMENT_FIELD_NUMBER: builtins.int @@ -2070,30 +2030,30 @@ class SecurityRequirement(google.protobuf.message.Message): def security_requirement( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___SecurityRequirement.SecurityRequirementValue + builtins.str, global___SecurityRequirement.SecurityRequirementValue ]: """Each name must correspond to a security scheme which is declared in the Security Definitions. If the security scheme is of type "oauth2", then the value is a list of scope names required for the execution. For other security scheme types, the array MUST be empty. """ - def __init__( self, *, security_requirement: collections.abc.Mapping[ - builtins.str, Global___SecurityRequirement.SecurityRequirementValue + builtins.str, global___SecurityRequirement.SecurityRequirementValue ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal["security_requirement", b"security_requirement"], + field_name: typing_extensions.Literal[ + "security_requirement", b"security_requirement" + ], ) -> None: ... -Global___SecurityRequirement: typing_extensions.TypeAlias = SecurityRequirement +global___SecurityRequirement = SecurityRequirement -@typing.final class Scopes(google.protobuf.message.Message): """`Scopes` is a representation of OpenAPI v2 specification's Scopes object. @@ -2104,7 +2064,6 @@ class Scopes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ScopeEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2119,7 +2078,8 @@ class Scopes(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SCOPE_FIELD_NUMBER: builtins.int @@ -2130,12 +2090,13 @@ class Scopes(google.protobuf.message.Message): """Maps between a name of a scope to a short description of it (as the value of the property). """ - def __init__( self, *, scope: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["scope", b"scope"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["scope", b"scope"] + ) -> None: ... -Global___Scopes: typing_extensions.TypeAlias = Scopes +global___Scopes = Scopes diff --git a/temporalio/api/deployment/v1/message_pb2.py b/temporalio/api/deployment/v1/message_pb2.py index 8fcce75b0..cc3b1ea75 100644 --- a/temporalio/api/deployment/v1/message_pb2.py +++ b/temporalio/api/deployment/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/deployment/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/deployment/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -46,88 +36,311 @@ b'\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/compute/v1/config.proto"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08"\xad\x08\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x12>\n\x0e\x63ompute_config\x18\x10 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x1e\n\x16last_modifier_identity\x18\x11 \x01(\t\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xd8\x01\n\rComputeStatus\x12_\n\x13provider_validation\x18\x01 \x01(\x0b\x32\x42.temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus\x1a\x66\n\x18ProviderValidationStatus\x12\x15\n\rerror_message\x18\x01 \x01(\t\x12\x33\n\x0flast_check_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x84\n\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x12\x18\n\x10manager_identity\x18\x06 \x01(\t\x12T\n\x1brouting_config_update_state\x18\x07 \x01(\x0e\x32/.temporal.api.enums.v1.RoutingConfigUpdateState\x1a\xed\x06\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0e\x63ompute_config\x18\r \x01(\x0b\x32-.temporal.api.compute.v1.ComputeConfigSummary\x12\x41\n\x0e\x63ompute_status\x18\x0e \x01(\x0b\x32).temporal.api.deployment.v1.ComputeStatus"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x89\x04\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0frevision_number\x18\n \x01(\x03"\x8a\x02\n\x18InheritedAutoUpgradeInfo\x12V\n\x19source_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12)\n!source_deployment_revision_number\x18\x02 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\x03 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehaviorB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.deployment.v1.message_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1" - _globals["_DEPLOYMENTINFO_METADATAENTRY"]._loaded_options = None - _globals["_DEPLOYMENTINFO_METADATAENTRY"]._serialized_options = b"8\001" - _globals["_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY"]._loaded_options = None - _globals[ - "_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY" - ]._serialized_options = b"8\001" - _globals["_WORKERDEPLOYMENTVERSIONINFO"].fields_by_name[ - "version" - ]._loaded_options = None - _globals["_WORKERDEPLOYMENTVERSIONINFO"].fields_by_name[ + +_WORKERDEPLOYMENTOPTIONS = DESCRIPTOR.message_types_by_name["WorkerDeploymentOptions"] +_DEPLOYMENT = DESCRIPTOR.message_types_by_name["Deployment"] +_DEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["DeploymentInfo"] +_DEPLOYMENTINFO_METADATAENTRY = _DEPLOYMENTINFO.nested_types_by_name["MetadataEntry"] +_DEPLOYMENTINFO_TASKQUEUEINFO = _DEPLOYMENTINFO.nested_types_by_name["TaskQueueInfo"] +_UPDATEDEPLOYMENTMETADATA = DESCRIPTOR.message_types_by_name["UpdateDeploymentMetadata"] +_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY = ( + _UPDATEDEPLOYMENTMETADATA.nested_types_by_name["UpsertEntriesEntry"] +) +_DEPLOYMENTLISTINFO = DESCRIPTOR.message_types_by_name["DeploymentListInfo"] +_WORKERDEPLOYMENTVERSIONINFO = DESCRIPTOR.message_types_by_name[ + "WorkerDeploymentVersionInfo" +] +_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO = ( + _WORKERDEPLOYMENTVERSIONINFO.nested_types_by_name["VersionTaskQueueInfo"] +) +_VERSIONDRAINAGEINFO = DESCRIPTOR.message_types_by_name["VersionDrainageInfo"] +_COMPUTESTATUS = DESCRIPTOR.message_types_by_name["ComputeStatus"] +_COMPUTESTATUS_PROVIDERVALIDATIONSTATUS = _COMPUTESTATUS.nested_types_by_name[ + "ProviderValidationStatus" +] +_WORKERDEPLOYMENTINFO = DESCRIPTOR.message_types_by_name["WorkerDeploymentInfo"] +_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY = ( + _WORKERDEPLOYMENTINFO.nested_types_by_name["WorkerDeploymentVersionSummary"] +) +_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] +_VERSIONMETADATA = DESCRIPTOR.message_types_by_name["VersionMetadata"] +_VERSIONMETADATA_ENTRIESENTRY = _VERSIONMETADATA.nested_types_by_name["EntriesEntry"] +_ROUTINGCONFIG = DESCRIPTOR.message_types_by_name["RoutingConfig"] +_INHERITEDAUTOUPGRADEINFO = DESCRIPTOR.message_types_by_name["InheritedAutoUpgradeInfo"] +WorkerDeploymentOptions = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentOptions", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTOPTIONS, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentOptions) + }, +) +_sym_db.RegisterMessage(WorkerDeploymentOptions) + +Deployment = _reflection.GeneratedProtocolMessageType( + "Deployment", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENT, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.Deployment) + }, +) +_sym_db.RegisterMessage(Deployment) + +DeploymentInfo = _reflection.GeneratedProtocolMessageType( + "DeploymentInfo", + (_message.Message,), + { + "MetadataEntry": _reflection.GeneratedProtocolMessageType( + "MetadataEntry", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTINFO_METADATAENTRY, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.MetadataEntry) + }, + ), + "TaskQueueInfo": _reflection.GeneratedProtocolMessageType( + "TaskQueueInfo", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTINFO_TASKQUEUEINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo) + }, + ), + "DESCRIPTOR": _DEPLOYMENTINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentInfo) + }, +) +_sym_db.RegisterMessage(DeploymentInfo) +_sym_db.RegisterMessage(DeploymentInfo.MetadataEntry) +_sym_db.RegisterMessage(DeploymentInfo.TaskQueueInfo) + +UpdateDeploymentMetadata = _reflection.GeneratedProtocolMessageType( + "UpdateDeploymentMetadata", + (_message.Message,), + { + "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( + "UpsertEntriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry) + }, + ), + "DESCRIPTOR": _UPDATEDEPLOYMENTMETADATA, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.UpdateDeploymentMetadata) + }, +) +_sym_db.RegisterMessage(UpdateDeploymentMetadata) +_sym_db.RegisterMessage(UpdateDeploymentMetadata.UpsertEntriesEntry) + +DeploymentListInfo = _reflection.GeneratedProtocolMessageType( + "DeploymentListInfo", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTLISTINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.DeploymentListInfo) + }, +) +_sym_db.RegisterMessage(DeploymentListInfo) + +WorkerDeploymentVersionInfo = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersionInfo", + (_message.Message,), + { + "VersionTaskQueueInfo": _reflection.GeneratedProtocolMessageType( + "VersionTaskQueueInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo) + }, + ), + "DESCRIPTOR": _WORKERDEPLOYMENTVERSIONINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersionInfo) + }, +) +_sym_db.RegisterMessage(WorkerDeploymentVersionInfo) +_sym_db.RegisterMessage(WorkerDeploymentVersionInfo.VersionTaskQueueInfo) + +VersionDrainageInfo = _reflection.GeneratedProtocolMessageType( + "VersionDrainageInfo", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONDRAINAGEINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionDrainageInfo) + }, +) +_sym_db.RegisterMessage(VersionDrainageInfo) + +ComputeStatus = _reflection.GeneratedProtocolMessageType( + "ComputeStatus", + (_message.Message,), + { + "ProviderValidationStatus": _reflection.GeneratedProtocolMessageType( + "ProviderValidationStatus", + (_message.Message,), + { + "DESCRIPTOR": _COMPUTESTATUS_PROVIDERVALIDATIONSTATUS, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.ComputeStatus.ProviderValidationStatus) + }, + ), + "DESCRIPTOR": _COMPUTESTATUS, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.ComputeStatus) + }, +) +_sym_db.RegisterMessage(ComputeStatus) +_sym_db.RegisterMessage(ComputeStatus.ProviderValidationStatus) + +WorkerDeploymentInfo = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentInfo", + (_message.Message,), + { + "WorkerDeploymentVersionSummary": _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersionSummary", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary) + }, + ), + "DESCRIPTOR": _WORKERDEPLOYMENTINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentInfo) + }, +) +_sym_db.RegisterMessage(WorkerDeploymentInfo) +_sym_db.RegisterMessage(WorkerDeploymentInfo.WorkerDeploymentVersionSummary) + +WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersion", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.WorkerDeploymentVersion) + }, +) +_sym_db.RegisterMessage(WorkerDeploymentVersion) + +VersionMetadata = _reflection.GeneratedProtocolMessageType( + "VersionMetadata", + (_message.Message,), + { + "EntriesEntry": _reflection.GeneratedProtocolMessageType( + "EntriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONMETADATA_ENTRIESENTRY, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata.EntriesEntry) + }, + ), + "DESCRIPTOR": _VERSIONMETADATA, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.VersionMetadata) + }, +) +_sym_db.RegisterMessage(VersionMetadata) +_sym_db.RegisterMessage(VersionMetadata.EntriesEntry) + +RoutingConfig = _reflection.GeneratedProtocolMessageType( + "RoutingConfig", + (_message.Message,), + { + "DESCRIPTOR": _ROUTINGCONFIG, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.RoutingConfig) + }, +) +_sym_db.RegisterMessage(RoutingConfig) + +InheritedAutoUpgradeInfo = _reflection.GeneratedProtocolMessageType( + "InheritedAutoUpgradeInfo", + (_message.Message,), + { + "DESCRIPTOR": _INHERITEDAUTOUPGRADEINFO, + "__module__": "temporalio.api.deployment.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.deployment.v1.InheritedAutoUpgradeInfo) + }, +) +_sym_db.RegisterMessage(InheritedAutoUpgradeInfo) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\035io.temporal.api.deployment.v1B\014MessageProtoP\001Z+go.temporal.io/api/deployment/v1;deployment\252\002\034Temporalio.Api.Deployment.V1\352\002\037Temporalio::Api::Deployment::V1" + _DEPLOYMENTINFO_METADATAENTRY._options = None + _DEPLOYMENTINFO_METADATAENTRY._serialized_options = b"8\001" + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._options = None + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_options = b"8\001" + _WORKERDEPLOYMENTVERSIONINFO.fields_by_name["version"]._options = None + _WORKERDEPLOYMENTVERSIONINFO.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals["_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY"].fields_by_name[ + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ "version" - ]._loaded_options = None - _globals["_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY"].fields_by_name[ + ]._options = None + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals["_VERSIONMETADATA_ENTRIESENTRY"]._loaded_options = None - _globals["_VERSIONMETADATA_ENTRIESENTRY"]._serialized_options = b"8\001" - _globals["_ROUTINGCONFIG"].fields_by_name["current_version"]._loaded_options = None - _globals["_ROUTINGCONFIG"].fields_by_name[ - "current_version" - ]._serialized_options = b"\030\001" - _globals["_ROUTINGCONFIG"].fields_by_name["ramping_version"]._loaded_options = None - _globals["_ROUTINGCONFIG"].fields_by_name[ - "ramping_version" - ]._serialized_options = b"\030\001" - _globals["_WORKERDEPLOYMENTOPTIONS"]._serialized_start = 300 - _globals["_WORKERDEPLOYMENTOPTIONS"]._serialized_end = 445 - _globals["_DEPLOYMENT"]._serialized_start = 447 - _globals["_DEPLOYMENT"]._serialized_end = 498 - _globals["_DEPLOYMENTINFO"]._serialized_start = 501 - _globals["_DEPLOYMENTINFO"]._serialized_end = 1027 - _globals["_DEPLOYMENTINFO_METADATAENTRY"]._serialized_start = 808 - _globals["_DEPLOYMENTINFO_METADATAENTRY"]._serialized_end = 888 - _globals["_DEPLOYMENTINFO_TASKQUEUEINFO"]._serialized_start = 891 - _globals["_DEPLOYMENTINFO_TASKQUEUEINFO"]._serialized_end = 1027 - _globals["_UPDATEDEPLOYMENTMETADATA"]._serialized_start = 1030 - _globals["_UPDATEDEPLOYMENTMETADATA"]._serialized_end = 1264 - _globals["_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY"]._serialized_start = 1179 - _globals["_UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY"]._serialized_end = 1264 - _globals["_DEPLOYMENTLISTINFO"]._serialized_start = 1267 - _globals["_DEPLOYMENTLISTINFO"]._serialized_end = 1416 - _globals["_WORKERDEPLOYMENTVERSIONINFO"]._serialized_start = 1419 - _globals["_WORKERDEPLOYMENTVERSIONINFO"]._serialized_end = 2488 - _globals[ - "_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO" - ]._serialized_start = 2400 - _globals["_WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO"]._serialized_end = 2488 - _globals["_VERSIONDRAINAGEINFO"]._serialized_start = 2491 - _globals["_VERSIONDRAINAGEINFO"]._serialized_end = 2684 - _globals["_COMPUTESTATUS"]._serialized_start = 2687 - _globals["_COMPUTESTATUS"]._serialized_end = 2903 - _globals["_COMPUTESTATUS_PROVIDERVALIDATIONSTATUS"]._serialized_start = 2801 - _globals["_COMPUTESTATUS_PROVIDERVALIDATIONSTATUS"]._serialized_end = 2903 - _globals["_WORKERDEPLOYMENTINFO"]._serialized_start = 2906 - _globals["_WORKERDEPLOYMENTINFO"]._serialized_end = 4190 - _globals[ - "_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY" - ]._serialized_start = 3313 - _globals[ - "_WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY" - ]._serialized_end = 4190 - _globals["_WORKERDEPLOYMENTVERSION"]._serialized_start = 4192 - _globals["_WORKERDEPLOYMENTVERSION"]._serialized_end = 4260 - _globals["_VERSIONMETADATA"]._serialized_start = 4263 - _globals["_VERSIONMETADATA"]._serialized_end = 4436 - _globals["_VERSIONMETADATA_ENTRIESENTRY"]._serialized_start = 4357 - _globals["_VERSIONMETADATA_ENTRIESENTRY"]._serialized_end = 4436 - _globals["_ROUTINGCONFIG"]._serialized_start = 4439 - _globals["_ROUTINGCONFIG"]._serialized_end = 4960 - _globals["_INHERITEDAUTOUPGRADEINFO"]._serialized_start = 4963 - _globals["_INHERITEDAUTOUPGRADEINFO"]._serialized_end = 5229 + _VERSIONMETADATA_ENTRIESENTRY._options = None + _VERSIONMETADATA_ENTRIESENTRY._serialized_options = b"8\001" + _ROUTINGCONFIG.fields_by_name["current_version"]._options = None + _ROUTINGCONFIG.fields_by_name["current_version"]._serialized_options = b"\030\001" + _ROUTINGCONFIG.fields_by_name["ramping_version"]._options = None + _ROUTINGCONFIG.fields_by_name["ramping_version"]._serialized_options = b"\030\001" + _WORKERDEPLOYMENTOPTIONS._serialized_start = 300 + _WORKERDEPLOYMENTOPTIONS._serialized_end = 445 + _DEPLOYMENT._serialized_start = 447 + _DEPLOYMENT._serialized_end = 498 + _DEPLOYMENTINFO._serialized_start = 501 + _DEPLOYMENTINFO._serialized_end = 1027 + _DEPLOYMENTINFO_METADATAENTRY._serialized_start = 808 + _DEPLOYMENTINFO_METADATAENTRY._serialized_end = 888 + _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_start = 891 + _DEPLOYMENTINFO_TASKQUEUEINFO._serialized_end = 1027 + _UPDATEDEPLOYMENTMETADATA._serialized_start = 1030 + _UPDATEDEPLOYMENTMETADATA._serialized_end = 1264 + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_start = 1179 + _UPDATEDEPLOYMENTMETADATA_UPSERTENTRIESENTRY._serialized_end = 1264 + _DEPLOYMENTLISTINFO._serialized_start = 1267 + _DEPLOYMENTLISTINFO._serialized_end = 1416 + _WORKERDEPLOYMENTVERSIONINFO._serialized_start = 1419 + _WORKERDEPLOYMENTVERSIONINFO._serialized_end = 2488 + _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_start = 2400 + _WORKERDEPLOYMENTVERSIONINFO_VERSIONTASKQUEUEINFO._serialized_end = 2488 + _VERSIONDRAINAGEINFO._serialized_start = 2491 + _VERSIONDRAINAGEINFO._serialized_end = 2684 + _COMPUTESTATUS._serialized_start = 2687 + _COMPUTESTATUS._serialized_end = 2903 + _COMPUTESTATUS_PROVIDERVALIDATIONSTATUS._serialized_start = 2801 + _COMPUTESTATUS_PROVIDERVALIDATIONSTATUS._serialized_end = 2903 + _WORKERDEPLOYMENTINFO._serialized_start = 2906 + _WORKERDEPLOYMENTINFO._serialized_end = 4190 + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_start = 3313 + _WORKERDEPLOYMENTINFO_WORKERDEPLOYMENTVERSIONSUMMARY._serialized_end = 4190 + _WORKERDEPLOYMENTVERSION._serialized_start = 4192 + _WORKERDEPLOYMENTVERSION._serialized_end = 4260 + _VERSIONMETADATA._serialized_start = 4263 + _VERSIONMETADATA._serialized_end = 4436 + _VERSIONMETADATA_ENTRIESENTRY._serialized_start = 4357 + _VERSIONMETADATA_ENTRIESENTRY._serialized_end = 4436 + _ROUTINGCONFIG._serialized_start = 4439 + _ROUTINGCONFIG._serialized_end = 4960 + _INHERITEDAUTOUPGRADEINFO._serialized_start = 4963 + _INHERITEDAUTOUPGRADEINFO._serialized_end = 5229 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/deployment/v1/message_pb2.pyi b/temporalio/api/deployment/v1/message_pb2.pyi index 21d6bee6f..96f31edd1 100644 --- a/temporalio/api/deployment/v1/message_pb2.pyi +++ b/temporalio/api/deployment/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -19,14 +18,13 @@ import temporalio.api.enums.v1.deployment_pb2 import temporalio.api.enums.v1.task_queue_pb2 import temporalio.api.enums.v1.workflow_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkerDeploymentOptions(google.protobuf.message.Message): """Worker Deployment options set in SDK that need to be sent to server in every poll.""" @@ -57,7 +55,7 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "deployment_name", @@ -67,9 +65,8 @@ class WorkerDeploymentOptions(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerDeploymentOptions: typing_extensions.TypeAlias = WorkerDeploymentOptions +global___WorkerDeploymentOptions = WorkerDeploymentOptions -@typing.final class Deployment(google.protobuf.message.Message): """`Deployment` identifies a deployment of Temporal workers. The combination of deployment series name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker @@ -100,14 +97,13 @@ class Deployment(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "series_name", b"series_name" ], ) -> None: ... -Global___Deployment: typing_extensions.TypeAlias = Deployment +global___Deployment = Deployment -@typing.final class DeploymentInfo(google.protobuf.message.Message): """`DeploymentInfo` holds information about a deployment. Deployment information is tracked automatically by server as soon as the first poll from that deployment reaches the server. There @@ -117,7 +113,6 @@ class DeploymentInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -133,13 +128,13 @@ class DeploymentInfo(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class TaskQueueInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -151,7 +146,6 @@ class DeploymentInfo(google.protobuf.message.Message): @property def first_poller_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When server saw the first poller for this task queue in this deployment.""" - def __init__( self, *, @@ -160,11 +154,14 @@ class DeploymentInfo(google.protobuf.message.Message): first_poller_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["first_poller_time", b"first_poller_time"] + self, + field_name: typing_extensions.Literal[ + "first_poller_time", b"first_poller_time" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "first_poller_time", b"first_poller_time", "name", @@ -179,17 +176,15 @@ class DeploymentInfo(google.protobuf.message.Message): TASK_QUEUE_INFOS_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int IS_CURRENT_FIELD_NUMBER: builtins.int - is_current: builtins.bool - """If this deployment is the current deployment of its deployment series.""" @property - def deployment(self) -> Global___Deployment: ... + def deployment(self) -> global___Deployment: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def task_queue_infos( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___DeploymentInfo.TaskQueueInfo + global___DeploymentInfo.TaskQueueInfo ]: ... @property def metadata( @@ -200,14 +195,15 @@ class DeploymentInfo(google.protobuf.message.Message): """A user-defined set of key-values. Can be updated as part of write operations to the deployment, such as `SetCurrentDeployment`. """ - + is_current: builtins.bool + """If this deployment is the current deployment of its deployment series.""" def __init__( self, *, - deployment: Global___Deployment | None = ..., + deployment: global___Deployment | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., task_queue_infos: collections.abc.Iterable[ - Global___DeploymentInfo.TaskQueueInfo + global___DeploymentInfo.TaskQueueInfo ] | None = ..., metadata: collections.abc.Mapping[ @@ -218,13 +214,13 @@ class DeploymentInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "deployment", b"deployment" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "deployment", @@ -238,9 +234,8 @@ class DeploymentInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___DeploymentInfo: typing_extensions.TypeAlias = DeploymentInfo +global___DeploymentInfo = DeploymentInfo -@typing.final class UpdateDeploymentMetadata(google.protobuf.message.Message): """Used as part of Deployment write APIs to update metadata attached to a deployment. Deprecated. @@ -248,7 +243,6 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class UpsertEntriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -264,10 +258,11 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... UPSERT_ENTRIES_FIELD_NUMBER: builtins.int @@ -283,7 +278,6 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" - def __init__( self, *, @@ -295,16 +289,13 @@ class UpdateDeploymentMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "remove_entries", b"remove_entries", "upsert_entries", b"upsert_entries" ], ) -> None: ... -Global___UpdateDeploymentMetadata: typing_extensions.TypeAlias = ( - UpdateDeploymentMetadata -) +global___UpdateDeploymentMetadata = UpdateDeploymentMetadata -@typing.final class DeploymentListInfo(google.protobuf.message.Message): """DeploymentListInfo is an abbreviated set of fields from DeploymentInfo that's returned in ListDeployments. @@ -316,28 +307,28 @@ class DeploymentListInfo(google.protobuf.message.Message): DEPLOYMENT_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int IS_CURRENT_FIELD_NUMBER: builtins.int - is_current: builtins.bool - """If this deployment is the current deployment of its deployment series.""" @property - def deployment(self) -> Global___Deployment: ... + def deployment(self) -> global___Deployment: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + is_current: builtins.bool + """If this deployment is the current deployment of its deployment series.""" def __init__( self, *, - deployment: Global___Deployment | None = ..., + deployment: global___Deployment | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_current: builtins.bool = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "deployment", b"deployment" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "deployment", @@ -347,9 +338,8 @@ class DeploymentListInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___DeploymentListInfo: typing_extensions.TypeAlias = DeploymentListInfo +global___DeploymentListInfo = DeploymentListInfo -@typing.final class WorkerDeploymentVersionInfo(google.protobuf.message.Message): """A Worker Deployment Version (Version, for short) represents all workers of the same code and config within a Deployment. Workers of the same Version are expected to @@ -361,7 +351,6 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class VersionTaskQueueInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -376,7 +365,8 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "type", b"type"] + self, + field_name: typing_extensions.Literal["name", b"name", "type", b"type"], ) -> None: ... VERSION_FIELD_NUMBER: builtins.int @@ -402,71 +392,56 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType ) """The status of the Worker Deployment Version.""" - deployment_name: builtins.str - """Deprecated. User deployment_version.deployment_name.""" - ramp_percentage: builtins.float - """Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil). - Can be in the range [0, 100] if the version is ramping. - """ - last_modifier_identity: builtins.str - """Identity of the last client who modified the configuration of this Version. - As of now, this field only covers changes through the following APIs: - - `CreateWorkerDeploymentVersion` - - `UpdateWorkerDeploymentVersionComputeConfig` - - `UpdateWorkerDeploymentVersionMetadata` - """ @property - def deployment_version(self) -> Global___WorkerDeploymentVersion: + def deployment_version(self) -> global___WorkerDeploymentVersion: """Required.""" - + deployment_name: builtins.str + """Deprecated. User deployment_version.deployment_name.""" @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def routing_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.""" - @property def current_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not current. """ - @property def ramping_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. """ - @property def first_activation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version first became current or ramping.""" - @property def last_current_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last became current. Can be used to determine whether a version has ever been Current. """ - @property def last_deactivation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last stopped being current or ramping. Cleared if the version becomes current or ramping again. """ - + ramp_percentage: builtins.float + """Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil). + Can be in the range [0, 100] if the version is ramping. + """ @property def task_queue_infos( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo + global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo ]: """All the Task Queues that have ever polled from this Deployment version. Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead. """ - @property - def drainage_info(self) -> Global___VersionDrainageInfo: + def drainage_info(self) -> global___VersionDrainageInfo: """Helps user determine when it is safe to decommission the workers of this Version. Not present when version is current or ramping. Current limitations: @@ -481,23 +456,27 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): Pinned Versioning Override, the status does not account for those Pinned-override executions and remains "drained". """ - @property - def metadata(self) -> Global___VersionMetadata: + def metadata(self) -> global___VersionMetadata: """Arbitrary user-provided metadata attached to this version.""" - @property def compute_config(self) -> temporalio.api.compute.v1.config_pb2.ComputeConfig: """Optional. Contains the new worker compute configuration for the Worker Deployment. Used for worker scale management. """ - + last_modifier_identity: builtins.str + """Identity of the last client who modified the configuration of this Version. + As of now, this field only covers changes through the following APIs: + - `CreateWorkerDeploymentVersion` + - `UpdateWorkerDeploymentVersionComputeConfig` + - `UpdateWorkerDeploymentVersionMetadata` + """ def __init__( self, *, version: builtins.str = ..., status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType = ..., - deployment_version: Global___WorkerDeploymentVersion | None = ..., + deployment_version: global___WorkerDeploymentVersion | None = ..., deployment_name: builtins.str = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_changed_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -508,17 +487,17 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): last_deactivation_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ramp_percentage: builtins.float = ..., task_queue_infos: collections.abc.Iterable[ - Global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo + global___WorkerDeploymentVersionInfo.VersionTaskQueueInfo ] | None = ..., - drainage_info: Global___VersionDrainageInfo | None = ..., - metadata: Global___VersionMetadata | None = ..., + drainage_info: global___VersionDrainageInfo | None = ..., + metadata: global___VersionMetadata | None = ..., compute_config: temporalio.api.compute.v1.config_pb2.ComputeConfig | None = ..., last_modifier_identity: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config", b"compute_config", "create_time", @@ -545,7 +524,7 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config", b"compute_config", "create_time", @@ -583,11 +562,8 @@ class WorkerDeploymentVersionInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerDeploymentVersionInfo: typing_extensions.TypeAlias = ( - WorkerDeploymentVersionInfo -) +global___WorkerDeploymentVersionInfo = WorkerDeploymentVersionInfo -@typing.final class VersionDrainageInfo(google.protobuf.message.Message): """Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping. @@ -605,11 +581,9 @@ class VersionDrainageInfo(google.protobuf.message.Message): @property def last_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time the drainage status changed.""" - @property def last_checked_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time the system checked for drainage of this version.""" - def __init__( self, *, @@ -619,7 +593,7 @@ class VersionDrainageInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_changed_time", b"last_changed_time", "last_checked_time", @@ -628,7 +602,7 @@ class VersionDrainageInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_changed_time", b"last_changed_time", "last_checked_time", @@ -638,15 +612,13 @@ class VersionDrainageInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___VersionDrainageInfo: typing_extensions.TypeAlias = VersionDrainageInfo +global___VersionDrainageInfo = VersionDrainageInfo -@typing.final class ComputeStatus(google.protobuf.message.Message): """ComputeStatus represents compute-related configuration and health for a Worker Deployment Version.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ProviderValidationStatus(google.protobuf.message.Message): """ProviderValidationStatus represents the result of the most recent connectivity check between Temporal and a customer's compute provider. @@ -663,7 +635,6 @@ class ComputeStatus(google.protobuf.message.Message): @property def last_check_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp of the last validation check.""" - def __init__( self, *, @@ -671,36 +642,43 @@ class ComputeStatus(google.protobuf.message.Message): last_check_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["last_check_time", b"last_check_time"] + self, + field_name: typing_extensions.Literal[ + "last_check_time", b"last_check_time" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "error_message", b"error_message", "last_check_time", b"last_check_time" ], ) -> None: ... PROVIDER_VALIDATION_FIELD_NUMBER: builtins.int @property - def provider_validation(self) -> Global___ComputeStatus.ProviderValidationStatus: + def provider_validation(self) -> global___ComputeStatus.ProviderValidationStatus: """provider_validation encapsulates the health signal for validating the compute provider.""" - def __init__( self, *, - provider_validation: Global___ComputeStatus.ProviderValidationStatus + provider_validation: global___ComputeStatus.ProviderValidationStatus | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["provider_validation", b"provider_validation"] + self, + field_name: typing_extensions.Literal[ + "provider_validation", b"provider_validation" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["provider_validation", b"provider_validation"] + self, + field_name: typing_extensions.Literal[ + "provider_validation", b"provider_validation" + ], ) -> None: ... -Global___ComputeStatus: typing_extensions.TypeAlias = ComputeStatus +global___ComputeStatus = ComputeStatus -@typing.final class WorkerDeploymentInfo(google.protobuf.message.Message): """A Worker Deployment (Deployment, for short) represents all workers serving a shared set of Task Queues. Typically, a Deployment represents one service or @@ -713,7 +691,6 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class WorkerDeploymentVersionSummary(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -735,73 +712,64 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): """Deprecated. Use `deployment_version`.""" status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType """The status of the Worker Deployment Version.""" - drainage_status: ( - temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType - ) - """Deprecated. Use `drainage_info` instead.""" @property - def deployment_version(self) -> Global___WorkerDeploymentVersion: + def deployment_version(self) -> global___WorkerDeploymentVersion: """Required.""" - @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + drainage_status: ( + temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType + ) + """Deprecated. Use `drainage_info` instead.""" @property - def drainage_info(self) -> Global___VersionDrainageInfo: + def drainage_info(self) -> global___VersionDrainageInfo: """Information about workflow drainage to help the user determine when it is safe to decommission a Version. Not present while version is current or ramping """ - @property def current_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Unset if not current. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) """ - @property def ramping_since_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Unset if not ramping. Updated when the version first starts ramping, not on each ramp change. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --) """ - @property def routing_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.""" - @property def first_activation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version first became current or ramping.""" - @property def last_current_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last became current. Can be used to determine whether a version has ever been Current. """ - @property def last_deactivation_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when this version last stopped being current or ramping. Cleared if the version becomes current or ramping again. """ - @property def compute_config( self, ) -> temporalio.api.compute.v1.config_pb2.ComputeConfigSummary: ... @property - def compute_status(self) -> Global___ComputeStatus: + def compute_status(self) -> global___ComputeStatus: """ComputeStatus represents compute-related configuration and healthchecks.""" - def __init__( self, *, version: builtins.str = ..., status: temporalio.api.enums.v1.deployment_pb2.WorkerDeploymentVersionStatus.ValueType = ..., - deployment_version: Global___WorkerDeploymentVersion | None = ..., + deployment_version: global___WorkerDeploymentVersion | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., drainage_status: temporalio.api.enums.v1.deployment_pb2.VersionDrainageStatus.ValueType = ..., - drainage_info: Global___VersionDrainageInfo | None = ..., + drainage_info: global___VersionDrainageInfo | None = ..., current_since_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ramping_since_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., routing_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -811,11 +779,11 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): | None = ..., compute_config: temporalio.api.compute.v1.config_pb2.ComputeConfigSummary | None = ..., - compute_status: Global___ComputeStatus | None = ..., + compute_status: global___ComputeStatus | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config", b"compute_config", "compute_status", @@ -842,7 +810,7 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config", b"compute_config", "compute_status", @@ -883,6 +851,22 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ROUTING_CONFIG_UPDATE_STATE_FIELD_NUMBER: builtins.int name: builtins.str """Identifies a Worker Deployment. Must be unique within the namespace.""" + @property + def version_summaries( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary + ]: + """Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be + cleaned up automatically if all the following conditions meet: + - It does not receive new executions (is not current or ramping) + - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) + - It is drained (see WorkerDeploymentVersionInfo.drainage_status) + """ + @property + def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + @property + def routing_config(self) -> global___RoutingConfig: ... last_modifier_identity: builtins.str """Identity of the last client who modified the configuration of this Deployment. Set to the `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and @@ -900,46 +884,29 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): """Indicates whether the routing_config has been fully propagated to all relevant task queues and their partitions. """ - @property - def version_summaries( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary - ]: - """Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be - cleaned up automatically if all the following conditions meet: - - It does not receive new executions (is not current or ramping) - - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) - - It is drained (see WorkerDeploymentVersionInfo.drainage_status) - """ - - @property - def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property - def routing_config(self) -> Global___RoutingConfig: ... def __init__( self, *, name: builtins.str = ..., version_summaries: collections.abc.Iterable[ - Global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary + global___WorkerDeploymentInfo.WorkerDeploymentVersionSummary ] | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - routing_config: Global___RoutingConfig | None = ..., + routing_config: global___RoutingConfig | None = ..., last_modifier_identity: builtins.str = ..., manager_identity: builtins.str = ..., routing_config_update_state: temporalio.api.enums.v1.task_queue_pb2.RoutingConfigUpdateState.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "routing_config", b"routing_config" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "last_modifier_identity", @@ -957,9 +924,8 @@ class WorkerDeploymentInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerDeploymentInfo: typing_extensions.TypeAlias = WorkerDeploymentInfo +global___WorkerDeploymentInfo = WorkerDeploymentInfo -@typing.final class WorkerDeploymentVersion(google.protobuf.message.Message): """A Worker Deployment Version (Version, for short) represents a version of workers within a Worker Deployment. (see documentation of WorkerDeploymentVersionInfo) @@ -988,18 +954,16 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "deployment_name", b"deployment_name" ], ) -> None: ... -Global___WorkerDeploymentVersion: typing_extensions.TypeAlias = WorkerDeploymentVersion +global___WorkerDeploymentVersion = WorkerDeploymentVersion -@typing.final class VersionMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class EntriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1015,10 +979,11 @@ class VersionMetadata(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... ENTRIES_FIELD_NUMBER: builtins.int @@ -1029,7 +994,6 @@ class VersionMetadata(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Arbitrary key-values.""" - def __init__( self, *, @@ -1038,11 +1002,12 @@ class VersionMetadata(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["entries", b"entries"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["entries", b"entries"] + ) -> None: ... -Global___VersionMetadata: typing_extensions.TypeAlias = VersionMetadata +global___VersionMetadata = VersionMetadata -@typing.final class RoutingConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1055,46 +1020,38 @@ class RoutingConfig(google.protobuf.message.Message): RAMPING_VERSION_CHANGED_TIME_FIELD_NUMBER: builtins.int RAMPING_VERSION_PERCENTAGE_CHANGED_TIME_FIELD_NUMBER: builtins.int REVISION_NUMBER_FIELD_NUMBER: builtins.int - current_version: builtins.str - """Deprecated. Use `current_deployment_version`.""" - ramping_version: builtins.str - """Deprecated. Use `ramping_deployment_version`.""" - ramping_version_percentage: builtins.float - """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. - Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but - not yet "promoted" to be the Current Version, likely due to pending validations. - A 0% value means the Ramping Version is receiving no traffic. - """ - revision_number: builtins.int - """Monotonically increasing value which is incremented on every mutation - to any field of this message to achieve eventual consistency between task queues and their partitions. - """ @property - def current_deployment_version(self) -> Global___WorkerDeploymentVersion: + def current_deployment_version(self) -> global___WorkerDeploymentVersion: """Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.). Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). """ - + current_version: builtins.str + """Deprecated. Use `current_deployment_version`.""" @property - def ramping_deployment_version(self) -> Global___WorkerDeploymentVersion: + def ramping_deployment_version(self) -> global___WorkerDeploymentVersion: """When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version. Must always be different from `current_deployment_version` unless both are nil. Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.) Note that it is possible to ramp from one Version to another Version, or from unversioned workers to a particular Version, or from a particular Version to unversioned workers. """ - + ramping_version: builtins.str + """Deprecated. Use `ramping_deployment_version`.""" + ramping_version_percentage: builtins.float + """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. + Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but + not yet "promoted" to be the Current Version, likely due to pending validations. + A 0% value means the Ramping Version is receiving no traffic. + """ @property def current_version_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time current version was changed.""" - @property def ramping_version_changed_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time ramping version was changed. Not updated if only the ramp percentage changes.""" - @property def ramping_version_percentage_changed_time( self, @@ -1102,13 +1059,16 @@ class RoutingConfig(google.protobuf.message.Message): """Last time ramping version percentage was changed. If ramping version is changed, this is also updated, even if the percentage stays the same. """ - + revision_number: builtins.int + """Monotonically increasing value which is incremented on every mutation + to any field of this message to achieve eventual consistency between task queues and their partitions. + """ def __init__( self, *, - current_deployment_version: Global___WorkerDeploymentVersion | None = ..., + current_deployment_version: global___WorkerDeploymentVersion | None = ..., current_version: builtins.str = ..., - ramping_deployment_version: Global___WorkerDeploymentVersion | None = ..., + ramping_deployment_version: global___WorkerDeploymentVersion | None = ..., ramping_version: builtins.str = ..., ramping_version_percentage: builtins.float = ..., current_version_changed_time: google.protobuf.timestamp_pb2.Timestamp @@ -1121,7 +1081,7 @@ class RoutingConfig(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_version", b"current_deployment_version", "current_version_changed_time", @@ -1136,7 +1096,7 @@ class RoutingConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_version", b"current_deployment_version", "current_version", @@ -1158,9 +1118,8 @@ class RoutingConfig(google.protobuf.message.Message): ], ) -> None: ... -Global___RoutingConfig: typing_extensions.TypeAlias = RoutingConfig +global___RoutingConfig = RoutingConfig -@typing.final class InheritedAutoUpgradeInfo(google.protobuf.message.Message): """Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior. @@ -1172,6 +1131,9 @@ class InheritedAutoUpgradeInfo(google.protobuf.message.Message): SOURCE_DEPLOYMENT_VERSION_FIELD_NUMBER: builtins.int SOURCE_DEPLOYMENT_REVISION_NUMBER_FIELD_NUMBER: builtins.int CONTINUE_AS_NEW_INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int + @property + def source_deployment_version(self) -> global___WorkerDeploymentVersion: + """The source deployment version of the parent/previous workflow.""" source_deployment_revision_number: builtins.int """The revision number of the source deployment version of the parent/previous workflow.""" continue_as_new_initial_versioning_behavior: ( @@ -1188,26 +1150,22 @@ class InheritedAutoUpgradeInfo(google.protobuf.message.Message): with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade value if the InheritedAutoUpgradeInfo is non-empty. """ - @property - def source_deployment_version(self) -> Global___WorkerDeploymentVersion: - """The source deployment version of the parent/previous workflow.""" - def __init__( self, *, - source_deployment_version: Global___WorkerDeploymentVersion | None = ..., + source_deployment_version: global___WorkerDeploymentVersion | None = ..., source_deployment_revision_number: builtins.int = ..., continue_as_new_initial_versioning_behavior: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "source_deployment_version", b"source_deployment_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "continue_as_new_initial_versioning_behavior", b"continue_as_new_initial_versioning_behavior", "source_deployment_revision_number", @@ -1217,6 +1175,4 @@ class InheritedAutoUpgradeInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___InheritedAutoUpgradeInfo: typing_extensions.TypeAlias = ( - InheritedAutoUpgradeInfo -) +global___InheritedAutoUpgradeInfo = InheritedAutoUpgradeInfo diff --git a/temporalio/api/enums/v1/activity_pb2.py b/temporalio/api/enums/v1/activity_pb2.py index 789ad34ed..ba5fddd25 100644 --- a/temporalio/api/enums/v1/activity_pb2.py +++ b/temporalio/api/enums/v1/activity_pb2.py @@ -1,19 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/activity.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/enums/v1/activity.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -23,20 +19,35 @@ b"\n$temporal/api/enums/v1/activity.proto\x12\x15temporal.api.enums.v1*\xb5\x02\n\x17\x41\x63tivityExecutionStatus\x12)\n%ACTIVITY_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!ACTIVITY_EXECUTION_STATUS_RUNNING\x10\x01\x12'\n#ACTIVITY_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n ACTIVITY_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"ACTIVITY_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$ACTIVITY_EXECUTION_STATUS_TERMINATED\x10\x05\x12'\n#ACTIVITY_EXECUTION_STATUS_TIMED_OUT\x10\x06*\xd8\x01\n\x15\x41\x63tivityIdReusePolicy\x12(\n$ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03*\x9b\x01\n\x18\x41\x63tivityIdConflictPolicy\x12+\n'ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n ACTIVITY_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rActivityProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.enums.v1.activity_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\rActivityProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _globals["_ACTIVITYEXECUTIONSTATUS"]._serialized_start = 64 - _globals["_ACTIVITYEXECUTIONSTATUS"]._serialized_end = 373 - _globals["_ACTIVITYIDREUSEPOLICY"]._serialized_start = 376 - _globals["_ACTIVITYIDREUSEPOLICY"]._serialized_end = 592 - _globals["_ACTIVITYIDCONFLICTPOLICY"]._serialized_start = 595 - _globals["_ACTIVITYIDCONFLICTPOLICY"]._serialized_end = 750 +_ACTIVITYEXECUTIONSTATUS = DESCRIPTOR.enum_types_by_name["ActivityExecutionStatus"] +ActivityExecutionStatus = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYEXECUTIONSTATUS) +_ACTIVITYIDREUSEPOLICY = DESCRIPTOR.enum_types_by_name["ActivityIdReusePolicy"] +ActivityIdReusePolicy = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYIDREUSEPOLICY) +_ACTIVITYIDCONFLICTPOLICY = DESCRIPTOR.enum_types_by_name["ActivityIdConflictPolicy"] +ActivityIdConflictPolicy = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYIDCONFLICTPOLICY) +ACTIVITY_EXECUTION_STATUS_UNSPECIFIED = 0 +ACTIVITY_EXECUTION_STATUS_RUNNING = 1 +ACTIVITY_EXECUTION_STATUS_COMPLETED = 2 +ACTIVITY_EXECUTION_STATUS_FAILED = 3 +ACTIVITY_EXECUTION_STATUS_CANCELED = 4 +ACTIVITY_EXECUTION_STATUS_TERMINATED = 5 +ACTIVITY_EXECUTION_STATUS_TIMED_OUT = 6 +ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED = 0 +ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1 +ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 2 +ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE = 3 +ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED = 0 +ACTIVITY_ID_CONFLICT_POLICY_FAIL = 1 +ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING = 2 + + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\rActivityProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _ACTIVITYEXECUTIONSTATUS._serialized_start = 64 + _ACTIVITYEXECUTIONSTATUS._serialized_end = 373 + _ACTIVITYIDREUSEPOLICY._serialized_start = 376 + _ACTIVITYIDREUSEPOLICY._serialized_end = 592 + _ACTIVITYIDCONFLICTPOLICY._serialized_start = 595 + _ACTIVITYIDCONFLICTPOLICY._serialized_end = 750 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/activity_pb2.pyi b/temporalio/api/enums/v1/activity_pb2.pyi index c78ad3a43..73d846050 100644 --- a/temporalio/api/enums/v1/activity_pb2.pyi +++ b/temporalio/api/enums/v1/activity_pb2.pyi @@ -26,7 +26,7 @@ class _ActivityExecutionStatusEnumTypeWrapper( _ActivityExecutionStatus.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ACTIVITY_EXECUTION_STATUS_UNSPECIFIED: _ActivityExecutionStatus.ValueType # 0 ACTIVITY_EXECUTION_STATUS_RUNNING: _ActivityExecutionStatus.ValueType # 1 @@ -107,7 +107,7 @@ ACTIVITY_EXECUTION_STATUS_TIMED_OUT: ActivityExecutionStatus.ValueType # 6 reached when retry is blocked (RetryPolicy.maximum_attempts exhausted, SCHEDULE_TO_CLOSE would be exceeded, or cancellation has been requested). """ -Global___ActivityExecutionStatus: typing_extensions.TypeAlias = ActivityExecutionStatus +global___ActivityExecutionStatus = ActivityExecutionStatus class _ActivityIdReusePolicy: ValueType = typing.NewType("ValueType", builtins.int) @@ -118,7 +118,7 @@ class _ActivityIdReusePolicyEnumTypeWrapper( _ActivityIdReusePolicy.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED: _ActivityIdReusePolicy.ValueType # 0 ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE: _ActivityIdReusePolicy.ValueType # 1 @@ -156,7 +156,7 @@ ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE: ActivityIdReusePolicy.ValueType # 3 """Do not permit re-use of the ID for this activity. Future start requests could potentially change the policy, allowing re-use of the ID. """ -Global___ActivityIdReusePolicy: typing_extensions.TypeAlias = ActivityIdReusePolicy +global___ActivityIdReusePolicy = ActivityIdReusePolicy class _ActivityIdConflictPolicy: ValueType = typing.NewType("ValueType", builtins.int) @@ -167,7 +167,7 @@ class _ActivityIdConflictPolicyEnumTypeWrapper( _ActivityIdConflictPolicy.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED: _ActivityIdConflictPolicy.ValueType # 0 ACTIVITY_ID_CONFLICT_POLICY_FAIL: _ActivityIdConflictPolicy.ValueType # 1 @@ -189,6 +189,4 @@ ACTIVITY_ID_CONFLICT_POLICY_FAIL: ActivityIdConflictPolicy.ValueType # 1 """Don't start a new activity; instead return `ActivityExecutionAlreadyStarted` error.""" ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING: ActivityIdConflictPolicy.ValueType # 2 """Don't start a new activity; instead return a handle for the running activity.""" -Global___ActivityIdConflictPolicy: typing_extensions.TypeAlias = ( - ActivityIdConflictPolicy -) +global___ActivityIdConflictPolicy = ActivityIdConflictPolicy diff --git a/temporalio/api/enums/v1/batch_operation_pb2.py b/temporalio/api/enums/v1/batch_operation_pb2.py index 775ad2655..60c9d7f2f 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.py +++ b/temporalio/api/enums/v1/batch_operation_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/batch_operation.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/enums/v1/batch_operation.proto", -) +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,18 +19,31 @@ b"\n+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42\x41TCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n\x1a\x42\x41TCH_OPERATION_TYPE_RESET\x10\x05\x12\x31\n-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\x07\x12\x30\n,BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\x08\x12'\n#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n\x13\x42\x61tchOperationState\x12%\n!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n\x1d\x42\x41TCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n\x1f\x42\x41TCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n\x1c\x42\x41TCH_OPERATION_STATE_FAILED\x10\x03\x42\x8b\x01\n\x18io.temporal.api.enums.v1B\x13\x42\x61tchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.enums.v1.batch_operation_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _globals["_BATCHOPERATIONTYPE"]._serialized_start = 71 - _globals["_BATCHOPERATIONTYPE"]._serialized_end = 481 - _globals["_BATCHOPERATIONSTATE"]._serialized_start = 484 - _globals["_BATCHOPERATIONSTATE"]._serialized_end = 650 +_BATCHOPERATIONTYPE = DESCRIPTOR.enum_types_by_name["BatchOperationType"] +BatchOperationType = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONTYPE) +_BATCHOPERATIONSTATE = DESCRIPTOR.enum_types_by_name["BatchOperationState"] +BatchOperationState = enum_type_wrapper.EnumTypeWrapper(_BATCHOPERATIONSTATE) +BATCH_OPERATION_TYPE_UNSPECIFIED = 0 +BATCH_OPERATION_TYPE_TERMINATE = 1 +BATCH_OPERATION_TYPE_CANCEL = 2 +BATCH_OPERATION_TYPE_SIGNAL = 3 +BATCH_OPERATION_TYPE_DELETE = 4 +BATCH_OPERATION_TYPE_RESET = 5 +BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS = 6 +BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY = 7 +BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS = 8 +BATCH_OPERATION_TYPE_RESET_ACTIVITY = 9 +BATCH_OPERATION_STATE_UNSPECIFIED = 0 +BATCH_OPERATION_STATE_RUNNING = 1 +BATCH_OPERATION_STATE_COMPLETED = 2 +BATCH_OPERATION_STATE_FAILED = 3 + + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\023BatchOperationProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _BATCHOPERATIONTYPE._serialized_start = 71 + _BATCHOPERATIONTYPE._serialized_end = 481 + _BATCHOPERATIONSTATE._serialized_start = 484 + _BATCHOPERATIONSTATE._serialized_end = 650 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/batch_operation_pb2.pyi b/temporalio/api/enums/v1/batch_operation_pb2.pyi index eb2c688c1..49f426ebb 100644 --- a/temporalio/api/enums/v1/batch_operation_pb2.pyi +++ b/temporalio/api/enums/v1/batch_operation_pb2.pyi @@ -26,7 +26,7 @@ class _BatchOperationTypeEnumTypeWrapper( _BatchOperationType.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_TYPE_UNSPECIFIED: _BatchOperationType.ValueType # 0 BATCH_OPERATION_TYPE_TERMINATE: _BatchOperationType.ValueType # 1 @@ -53,7 +53,7 @@ BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS: BatchOperationType.ValueType # 6 BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY: BatchOperationType.ValueType # 7 BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS: BatchOperationType.ValueType # 8 BATCH_OPERATION_TYPE_RESET_ACTIVITY: BatchOperationType.ValueType # 9 -Global___BatchOperationType: typing_extensions.TypeAlias = BatchOperationType +global___BatchOperationType = BatchOperationType class _BatchOperationState: ValueType = typing.NewType("ValueType", builtins.int) @@ -64,7 +64,7 @@ class _BatchOperationStateEnumTypeWrapper( _BatchOperationState.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor BATCH_OPERATION_STATE_UNSPECIFIED: _BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: _BatchOperationState.ValueType # 1 @@ -79,4 +79,4 @@ BATCH_OPERATION_STATE_UNSPECIFIED: BatchOperationState.ValueType # 0 BATCH_OPERATION_STATE_RUNNING: BatchOperationState.ValueType # 1 BATCH_OPERATION_STATE_COMPLETED: BatchOperationState.ValueType # 2 BATCH_OPERATION_STATE_FAILED: BatchOperationState.ValueType # 3 -Global___BatchOperationState: typing_extensions.TypeAlias = BatchOperationState +global___BatchOperationState = BatchOperationState diff --git a/temporalio/api/enums/v1/command_type_pb2.py b/temporalio/api/enums/v1/command_type_pb2.py index eab64d78e..6d1c3b6e5 100644 --- a/temporalio/api/enums/v1/command_type_pb2.py +++ b/temporalio/api/enums/v1/command_type_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/command_type.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/enums/v1/command_type.proto", -) +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,16 +19,31 @@ b"\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12'\n#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n)COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n\x18\x43OMMAND_TYPE_START_TIMER\x10\x03\x12,\n(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n\x19\x43OMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\x07\x12;\n7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\x08\x12\x1e\n\x1a\x43OMMAND_TYPE_RECORD_MARKER\x10\t\x12\x33\n/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n\x12/\n+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\x0b\x12\x33\n/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\x0c\x12\x32\n.COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\r\x12!\n\x1d\x43OMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12\x42\x88\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.enums.v1.command_type_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _globals["_COMMANDTYPE"]._serialized_start = 68 - _globals["_COMMANDTYPE"]._serialized_end = 864 +_COMMANDTYPE = DESCRIPTOR.enum_types_by_name["CommandType"] +CommandType = enum_type_wrapper.EnumTypeWrapper(_COMMANDTYPE) +COMMAND_TYPE_UNSPECIFIED = 0 +COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1 +COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2 +COMMAND_TYPE_START_TIMER = 3 +COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4 +COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5 +COMMAND_TYPE_CANCEL_TIMER = 6 +COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7 +COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION = 8 +COMMAND_TYPE_RECORD_MARKER = 9 +COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10 +COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11 +COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12 +COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13 +COMMAND_TYPE_PROTOCOL_MESSAGE = 14 +COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16 +COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17 +COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18 + + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\020CommandTypeProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _COMMANDTYPE._serialized_start = 68 + _COMMANDTYPE._serialized_end = 864 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/command_type_pb2.pyi b/temporalio/api/enums/v1/command_type_pb2.pyi index 77002633b..9f1bfd240 100644 --- a/temporalio/api/enums/v1/command_type_pb2.pyi +++ b/temporalio/api/enums/v1/command_type_pb2.pyi @@ -24,7 +24,7 @@ class _CommandType: class _CommandTypeEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CommandType.ValueType], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor COMMAND_TYPE_UNSPECIFIED: _CommandType.ValueType # 0 COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK: _CommandType.ValueType # 1 @@ -66,4 +66,4 @@ COMMAND_TYPE_PROTOCOL_MESSAGE: CommandType.ValueType # 14 COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES: CommandType.ValueType # 16 COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION: CommandType.ValueType # 17 COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION: CommandType.ValueType # 18 -Global___CommandType: typing_extensions.TypeAlias = CommandType +global___CommandType = CommandType diff --git a/temporalio/api/enums/v1/common_pb2.py b/temporalio/api/enums/v1/common_pb2.py index 0a6bcc4f0..557ce7631 100644 --- a/temporalio/api/enums/v1/common_pb2.py +++ b/temporalio/api/enums/v1/common_pb2.py @@ -1,19 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/common.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/enums/v1/common.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -23,32 +19,96 @@ b"\n\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n\x0c\x45ncodingType\x12\x1d\n\x19\x45NCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02*\x91\x02\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17INDEXED_VALUE_TYPE_TEXT\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\x12#\n\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\x07*^\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rSEVERITY_HIGH\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n\x0cSEVERITY_LOW\x10\x03*\xde\x01\n\rCallbackState\x12\x1e\n\x1a\x43\x41LLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41LLBACK_STATE_STANDBY\x10\x01\x12\x1c\n\x18\x43\x41LLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n\x1a\x43\x41LLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n\x15\x43\x41LLBACK_STATE_FAILED\x10\x04\x12\x1c\n\x18\x43\x41LLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n\x16\x43\x41LLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n\x1aPendingNexusOperationState\x12-\n)PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n)PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n\x1fNexusOperationCancellationState\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n)NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n\x17WorkflowRuleActionScope\x12*\n&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12'\n#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n\x18\x41pplicationErrorCategory\x12*\n&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n\x0cWorkerStatus\x12\x1d\n\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n\x16WORKER_STATUS_SHUTDOWN\x10\x03\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.enums.v1.common_pb2", _globals +_ENCODINGTYPE = DESCRIPTOR.enum_types_by_name["EncodingType"] +EncodingType = enum_type_wrapper.EnumTypeWrapper(_ENCODINGTYPE) +_INDEXEDVALUETYPE = DESCRIPTOR.enum_types_by_name["IndexedValueType"] +IndexedValueType = enum_type_wrapper.EnumTypeWrapper(_INDEXEDVALUETYPE) +_SEVERITY = DESCRIPTOR.enum_types_by_name["Severity"] +Severity = enum_type_wrapper.EnumTypeWrapper(_SEVERITY) +_CALLBACKSTATE = DESCRIPTOR.enum_types_by_name["CallbackState"] +CallbackState = enum_type_wrapper.EnumTypeWrapper(_CALLBACKSTATE) +_PENDINGNEXUSOPERATIONSTATE = DESCRIPTOR.enum_types_by_name[ + "PendingNexusOperationState" +] +PendingNexusOperationState = enum_type_wrapper.EnumTypeWrapper( + _PENDINGNEXUSOPERATIONSTATE +) +_NEXUSOPERATIONCANCELLATIONSTATE = DESCRIPTOR.enum_types_by_name[ + "NexusOperationCancellationState" +] +NexusOperationCancellationState = enum_type_wrapper.EnumTypeWrapper( + _NEXUSOPERATIONCANCELLATIONSTATE ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _globals["_ENCODINGTYPE"]._serialized_start = 61 - _globals["_ENCODINGTYPE"]._serialized_end = 156 - _globals["_INDEXEDVALUETYPE"]._serialized_start = 159 - _globals["_INDEXEDVALUETYPE"]._serialized_end = 432 - _globals["_SEVERITY"]._serialized_start = 434 - _globals["_SEVERITY"]._serialized_end = 528 - _globals["_CALLBACKSTATE"]._serialized_start = 531 - _globals["_CALLBACKSTATE"]._serialized_end = 753 - _globals["_PENDINGNEXUSOPERATIONSTATE"]._serialized_start = 756 - _globals["_PENDINGNEXUSOPERATIONSTATE"]._serialized_end = 1009 - _globals["_NEXUSOPERATIONCANCELLATIONSTATE"]._serialized_start = 1012 - _globals["_NEXUSOPERATIONCANCELLATIONSTATE"]._serialized_end = 1394 - _globals["_WORKFLOWRULEACTIONSCOPE"]._serialized_start = 1397 - _globals["_WORKFLOWRULEACTIONSCOPE"]._serialized_end = 1548 - _globals["_APPLICATIONERRORCATEGORY"]._serialized_start = 1550 - _globals["_APPLICATIONERRORCATEGORY"]._serialized_end = 1659 - _globals["_WORKERSTATUS"]._serialized_start = 1662 - _globals["_WORKERSTATUS"]._serialized_end = 1795 +_WORKFLOWRULEACTIONSCOPE = DESCRIPTOR.enum_types_by_name["WorkflowRuleActionScope"] +WorkflowRuleActionScope = enum_type_wrapper.EnumTypeWrapper(_WORKFLOWRULEACTIONSCOPE) +_APPLICATIONERRORCATEGORY = DESCRIPTOR.enum_types_by_name["ApplicationErrorCategory"] +ApplicationErrorCategory = enum_type_wrapper.EnumTypeWrapper(_APPLICATIONERRORCATEGORY) +_WORKERSTATUS = DESCRIPTOR.enum_types_by_name["WorkerStatus"] +WorkerStatus = enum_type_wrapper.EnumTypeWrapper(_WORKERSTATUS) +ENCODING_TYPE_UNSPECIFIED = 0 +ENCODING_TYPE_PROTO3 = 1 +ENCODING_TYPE_JSON = 2 +INDEXED_VALUE_TYPE_UNSPECIFIED = 0 +INDEXED_VALUE_TYPE_TEXT = 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 +INDEXED_VALUE_TYPE_KEYWORD_LIST = 7 +SEVERITY_UNSPECIFIED = 0 +SEVERITY_HIGH = 1 +SEVERITY_MEDIUM = 2 +SEVERITY_LOW = 3 +CALLBACK_STATE_UNSPECIFIED = 0 +CALLBACK_STATE_STANDBY = 1 +CALLBACK_STATE_SCHEDULED = 2 +CALLBACK_STATE_BACKING_OFF = 3 +CALLBACK_STATE_FAILED = 4 +CALLBACK_STATE_SUCCEEDED = 5 +CALLBACK_STATE_BLOCKED = 6 +PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED = 0 +PENDING_NEXUS_OPERATION_STATE_SCHEDULED = 1 +PENDING_NEXUS_OPERATION_STATE_BACKING_OFF = 2 +PENDING_NEXUS_OPERATION_STATE_STARTED = 3 +PENDING_NEXUS_OPERATION_STATE_BLOCKED = 4 +NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED = 0 +NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED = 1 +NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF = 2 +NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED = 3 +NEXUS_OPERATION_CANCELLATION_STATE_FAILED = 4 +NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT = 5 +NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED = 6 +WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED = 0 +WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW = 1 +WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY = 2 +APPLICATION_ERROR_CATEGORY_UNSPECIFIED = 0 +APPLICATION_ERROR_CATEGORY_BENIGN = 1 +WORKER_STATUS_UNSPECIFIED = 0 +WORKER_STATUS_RUNNING = 1 +WORKER_STATUS_SHUTTING_DOWN = 2 +WORKER_STATUS_SHUTDOWN = 3 + + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\013CommonProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _ENCODINGTYPE._serialized_start = 61 + _ENCODINGTYPE._serialized_end = 156 + _INDEXEDVALUETYPE._serialized_start = 159 + _INDEXEDVALUETYPE._serialized_end = 432 + _SEVERITY._serialized_start = 434 + _SEVERITY._serialized_end = 528 + _CALLBACKSTATE._serialized_start = 531 + _CALLBACKSTATE._serialized_end = 753 + _PENDINGNEXUSOPERATIONSTATE._serialized_start = 756 + _PENDINGNEXUSOPERATIONSTATE._serialized_end = 1009 + _NEXUSOPERATIONCANCELLATIONSTATE._serialized_start = 1012 + _NEXUSOPERATIONCANCELLATIONSTATE._serialized_end = 1394 + _WORKFLOWRULEACTIONSCOPE._serialized_start = 1397 + _WORKFLOWRULEACTIONSCOPE._serialized_end = 1548 + _APPLICATIONERRORCATEGORY._serialized_start = 1550 + _APPLICATIONERRORCATEGORY._serialized_end = 1659 + _WORKERSTATUS._serialized_start = 1662 + _WORKERSTATUS._serialized_end = 1795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/common_pb2.pyi b/temporalio/api/enums/v1/common_pb2.pyi index a97e384cf..47e470295 100644 --- a/temporalio/api/enums/v1/common_pb2.pyi +++ b/temporalio/api/enums/v1/common_pb2.pyi @@ -26,7 +26,7 @@ class _EncodingTypeEnumTypeWrapper( _EncodingType.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ENCODING_TYPE_UNSPECIFIED: _EncodingType.ValueType # 0 ENCODING_TYPE_PROTO3: _EncodingType.ValueType # 1 @@ -37,7 +37,7 @@ class EncodingType(_EncodingType, metaclass=_EncodingTypeEnumTypeWrapper): ... ENCODING_TYPE_UNSPECIFIED: EncodingType.ValueType # 0 ENCODING_TYPE_PROTO3: EncodingType.ValueType # 1 ENCODING_TYPE_JSON: EncodingType.ValueType # 2 -Global___EncodingType: typing_extensions.TypeAlias = EncodingType +global___EncodingType = EncodingType class _IndexedValueType: ValueType = typing.NewType("ValueType", builtins.int) @@ -48,7 +48,7 @@ class _IndexedValueTypeEnumTypeWrapper( _IndexedValueType.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor INDEXED_VALUE_TYPE_UNSPECIFIED: _IndexedValueType.ValueType # 0 INDEXED_VALUE_TYPE_TEXT: _IndexedValueType.ValueType # 1 @@ -71,7 +71,7 @@ INDEXED_VALUE_TYPE_DOUBLE: IndexedValueType.ValueType # 4 INDEXED_VALUE_TYPE_BOOL: IndexedValueType.ValueType # 5 INDEXED_VALUE_TYPE_DATETIME: IndexedValueType.ValueType # 6 INDEXED_VALUE_TYPE_KEYWORD_LIST: IndexedValueType.ValueType # 7 -Global___IndexedValueType: typing_extensions.TypeAlias = IndexedValueType +global___IndexedValueType = IndexedValueType class _Severity: ValueType = typing.NewType("ValueType", builtins.int) @@ -80,7 +80,7 @@ class _Severity: class _SeverityEnumTypeWrapper( google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Severity.ValueType], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor SEVERITY_UNSPECIFIED: _Severity.ValueType # 0 SEVERITY_HIGH: _Severity.ValueType # 1 @@ -93,7 +93,7 @@ SEVERITY_UNSPECIFIED: Severity.ValueType # 0 SEVERITY_HIGH: Severity.ValueType # 1 SEVERITY_MEDIUM: Severity.ValueType # 2 SEVERITY_LOW: Severity.ValueType # 3 -Global___Severity: typing_extensions.TypeAlias = Severity +global___Severity = Severity class _CallbackState: ValueType = typing.NewType("ValueType", builtins.int) @@ -104,7 +104,7 @@ class _CallbackStateEnumTypeWrapper( _CallbackState.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor CALLBACK_STATE_UNSPECIFIED: _CallbackState.ValueType # 0 """Default value, unspecified state.""" @@ -138,7 +138,7 @@ CALLBACK_STATE_SUCCEEDED: CallbackState.ValueType # 5 """Callback has succeeded.""" CALLBACK_STATE_BLOCKED: CallbackState.ValueType # 6 """Callback is blocked (eg: by circuit breaker).""" -Global___CallbackState: typing_extensions.TypeAlias = CallbackState +global___CallbackState = CallbackState class _PendingNexusOperationState: ValueType = typing.NewType("ValueType", builtins.int) @@ -149,7 +149,7 @@ class _PendingNexusOperationStateEnumTypeWrapper( _PendingNexusOperationState.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED: ( _PendingNexusOperationState.ValueType @@ -181,9 +181,7 @@ PENDING_NEXUS_OPERATION_STATE_STARTED: PendingNexusOperationState.ValueType # 3 """Operation was started and will complete asynchronously.""" PENDING_NEXUS_OPERATION_STATE_BLOCKED: PendingNexusOperationState.ValueType # 4 """Operation is blocked (eg: by circuit breaker).""" -Global___PendingNexusOperationState: typing_extensions.TypeAlias = ( - PendingNexusOperationState -) +global___PendingNexusOperationState = PendingNexusOperationState class _NexusOperationCancellationState: ValueType = typing.NewType("ValueType", builtins.int) @@ -194,7 +192,7 @@ class _NexusOperationCancellationStateEnumTypeWrapper( _NexusOperationCancellationState.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED: ( _NexusOperationCancellationState.ValueType @@ -259,9 +257,7 @@ NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED: ( NexusOperationCancellationState.ValueType ) # 6 """Cancellation request is blocked (eg: by circuit breaker).""" -Global___NexusOperationCancellationState: typing_extensions.TypeAlias = ( - NexusOperationCancellationState -) +global___NexusOperationCancellationState = NexusOperationCancellationState class _WorkflowRuleActionScope: ValueType = typing.NewType("ValueType", builtins.int) @@ -272,7 +268,7 @@ class _WorkflowRuleActionScopeEnumTypeWrapper( _WorkflowRuleActionScope.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED: _WorkflowRuleActionScope.ValueType # 0 """Default value, unspecified scope.""" @@ -291,7 +287,7 @@ WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW: WorkflowRuleActionScope.ValueType # 1 """The action will be applied to the entire workflow.""" WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY: WorkflowRuleActionScope.ValueType # 2 """The action will be applied to a specific activity.""" -Global___WorkflowRuleActionScope: typing_extensions.TypeAlias = WorkflowRuleActionScope +global___WorkflowRuleActionScope = WorkflowRuleActionScope class _ApplicationErrorCategory: ValueType = typing.NewType("ValueType", builtins.int) @@ -302,7 +298,7 @@ class _ApplicationErrorCategoryEnumTypeWrapper( _ApplicationErrorCategory.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor APPLICATION_ERROR_CATEGORY_UNSPECIFIED: _ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: _ApplicationErrorCategory.ValueType # 1 @@ -315,9 +311,7 @@ class ApplicationErrorCategory( APPLICATION_ERROR_CATEGORY_UNSPECIFIED: ApplicationErrorCategory.ValueType # 0 APPLICATION_ERROR_CATEGORY_BENIGN: ApplicationErrorCategory.ValueType # 1 """Expected application error with little/no severity.""" -Global___ApplicationErrorCategory: typing_extensions.TypeAlias = ( - ApplicationErrorCategory -) +global___ApplicationErrorCategory = ApplicationErrorCategory class _WorkerStatus: ValueType = typing.NewType("ValueType", builtins.int) @@ -328,7 +322,7 @@ class _WorkerStatusEnumTypeWrapper( _WorkerStatus.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_STATUS_UNSPECIFIED: _WorkerStatus.ValueType # 0 WORKER_STATUS_RUNNING: _WorkerStatus.ValueType # 1 @@ -344,4 +338,4 @@ WORKER_STATUS_UNSPECIFIED: WorkerStatus.ValueType # 0 WORKER_STATUS_RUNNING: WorkerStatus.ValueType # 1 WORKER_STATUS_SHUTTING_DOWN: WorkerStatus.ValueType # 2 WORKER_STATUS_SHUTDOWN: WorkerStatus.ValueType # 3 -Global___WorkerStatus: typing_extensions.TypeAlias = WorkerStatus +global___WorkerStatus = WorkerStatus diff --git a/temporalio/api/enums/v1/deployment_pb2.py b/temporalio/api/enums/v1/deployment_pb2.py index caf3fab9a..aa05071ed 100644 --- a/temporalio/api/enums/v1/deployment_pb2.py +++ b/temporalio/api/enums/v1/deployment_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/deployment.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/enums/v1/deployment.proto", -) +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,22 +19,46 @@ b"\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xe7\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CREATED\x10\x06\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.enums.v1.deployment_pb2", _globals +_DEPLOYMENTREACHABILITY = DESCRIPTOR.enum_types_by_name["DeploymentReachability"] +DeploymentReachability = enum_type_wrapper.EnumTypeWrapper(_DEPLOYMENTREACHABILITY) +_VERSIONDRAINAGESTATUS = DESCRIPTOR.enum_types_by_name["VersionDrainageStatus"] +VersionDrainageStatus = enum_type_wrapper.EnumTypeWrapper(_VERSIONDRAINAGESTATUS) +_WORKERVERSIONINGMODE = DESCRIPTOR.enum_types_by_name["WorkerVersioningMode"] +WorkerVersioningMode = enum_type_wrapper.EnumTypeWrapper(_WORKERVERSIONINGMODE) +_WORKERDEPLOYMENTVERSIONSTATUS = DESCRIPTOR.enum_types_by_name[ + "WorkerDeploymentVersionStatus" +] +WorkerDeploymentVersionStatus = enum_type_wrapper.EnumTypeWrapper( + _WORKERDEPLOYMENTVERSIONSTATUS ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" - _globals["_DEPLOYMENTREACHABILITY"]._serialized_start = 66 - _globals["_DEPLOYMENTREACHABILITY"]._serialized_end = 262 - _globals["_VERSIONDRAINAGESTATUS"]._serialized_start = 265 - _globals["_VERSIONDRAINAGESTATUS"]._serialized_end = 404 - _globals["_WORKERVERSIONINGMODE"]._serialized_start = 407 - _globals["_WORKERVERSIONINGMODE"]._serialized_end = 547 - _globals["_WORKERDEPLOYMENTVERSIONSTATUS"]._serialized_start = 550 - _globals["_WORKERDEPLOYMENTVERSIONSTATUS"]._serialized_end = 909 +DEPLOYMENT_REACHABILITY_UNSPECIFIED = 0 +DEPLOYMENT_REACHABILITY_REACHABLE = 1 +DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2 +DEPLOYMENT_REACHABILITY_UNREACHABLE = 3 +VERSION_DRAINAGE_STATUS_UNSPECIFIED = 0 +VERSION_DRAINAGE_STATUS_DRAINING = 1 +VERSION_DRAINAGE_STATUS_DRAINED = 2 +WORKER_VERSIONING_MODE_UNSPECIFIED = 0 +WORKER_VERSIONING_MODE_UNVERSIONED = 1 +WORKER_VERSIONING_MODE_VERSIONED = 2 +WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED = 0 +WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE = 1 +WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT = 2 +WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING = 3 +WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING = 4 +WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED = 5 +WORKER_DEPLOYMENT_VERSION_STATUS_CREATED = 6 + + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.enums.v1B\017DeploymentProtoP\001Z!go.temporal.io/api/enums/v1;enums\252\002\027Temporalio.Api.Enums.V1\352\002\032Temporalio::Api::Enums::V1" + _DEPLOYMENTREACHABILITY._serialized_start = 66 + _DEPLOYMENTREACHABILITY._serialized_end = 262 + _VERSIONDRAINAGESTATUS._serialized_start = 265 + _VERSIONDRAINAGESTATUS._serialized_end = 404 + _WORKERVERSIONINGMODE._serialized_start = 407 + _WORKERVERSIONINGMODE._serialized_end = 547 + _WORKERDEPLOYMENTVERSIONSTATUS._serialized_start = 550 + _WORKERDEPLOYMENTVERSIONSTATUS._serialized_end = 909 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/enums/v1/deployment_pb2.pyi b/temporalio/api/enums/v1/deployment_pb2.pyi index f2f2db813..de3378e69 100644 --- a/temporalio/api/enums/v1/deployment_pb2.pyi +++ b/temporalio/api/enums/v1/deployment_pb2.pyi @@ -26,7 +26,7 @@ class _DeploymentReachabilityEnumTypeWrapper( _DeploymentReachability.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DEPLOYMENT_REACHABILITY_UNSPECIFIED: _DeploymentReachability.ValueType # 0 """Reachability level is not specified.""" @@ -68,7 +68,7 @@ DEPLOYMENT_REACHABILITY_UNREACHABLE: DeploymentReachability.ValueType # 3 """The deployment is not reachable by any workflow because all the workflows who needed this deployment went out of retention period. The deployment can be decommissioned safely. """ -Global___DeploymentReachability: typing_extensions.TypeAlias = DeploymentReachability +global___DeploymentReachability = DeploymentReachability class _VersionDrainageStatus: ValueType = typing.NewType("ValueType", builtins.int) @@ -79,7 +79,7 @@ class _VersionDrainageStatusEnumTypeWrapper( _VersionDrainageStatus.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor VERSION_DRAINAGE_STATUS_UNSPECIFIED: _VersionDrainageStatus.ValueType # 0 """Drainage Status is not specified.""" @@ -115,7 +115,7 @@ Queries sent to closed workflows. The version can be decommissioned safely if us not query closed workflows. If the user does query closed workflows for some time x after workflows are closed, they should decommission the version after it has been drained for that duration. """ -Global___VersionDrainageStatus: typing_extensions.TypeAlias = VersionDrainageStatus +global___VersionDrainageStatus = VersionDrainageStatus class _WorkerVersioningMode: ValueType = typing.NewType("ValueType", builtins.int) @@ -126,7 +126,7 @@ class _WorkerVersioningModeEnumTypeWrapper( _WorkerVersioningMode.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_VERSIONING_MODE_UNSPECIFIED: _WorkerVersioningMode.ValueType # 0 WORKER_VERSIONING_MODE_UNVERSIONED: _WorkerVersioningMode.ValueType # 1 @@ -183,7 +183,7 @@ between the Pinned and AutoUpgrade behaviors. Depending on the chosen behavior, or may not need to use Patching to keep the new code compatible with prior versions. (see VersioningBehavior enum.) """ -Global___WorkerVersioningMode: typing_extensions.TypeAlias = WorkerVersioningMode +global___WorkerVersioningMode = WorkerVersioningMode class _WorkerDeploymentVersionStatus: ValueType = typing.NewType("ValueType", builtins.int) @@ -194,7 +194,7 @@ class _WorkerDeploymentVersionStatusEnumTypeWrapper( _WorkerDeploymentVersionStatus.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED: ( _WorkerDeploymentVersionStatus.ValueType @@ -278,6 +278,4 @@ WORKER_DEPLOYMENT_VERSION_STATUS_CREATED: WorkerDeploymentVersionStatus.ValueTyp """The Worker Deployment Version is created by user (via `CreateWorkerDeploymentVersion` API) but server has not seen any poller for it yet. """ -Global___WorkerDeploymentVersionStatus: typing_extensions.TypeAlias = ( - WorkerDeploymentVersionStatus -) +global___WorkerDeploymentVersionStatus = WorkerDeploymentVersionStatus diff --git a/temporalio/api/enums/v1/event_type_pb2.py b/temporalio/api/enums/v1/event_type_pb2.py index 288427869..14ff7984d 100644 --- a/temporalio/api/enums/v1/event_type_pb2.py +++ b/temporalio/api/enums/v1/event_type_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/enums/v1/event_type.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/enums/v1/event_type.proto", -) +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,16 +19,74 @@ b'\n&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\x9e\x16\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%EVENT_TYPE_WORKFLOW_EXECUTION_STARTED\x10\x01\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED\x10\x02\x12(\n$EVENT_TYPE_WORKFLOW_EXECUTION_FAILED\x10\x03\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT\x10\x04\x12&\n"EVENT_TYPE_WORKFLOW_TASK_SCHEDULED\x10\x05\x12$\n EVENT_TYPE_WORKFLOW_TASK_STARTED\x10\x06\x12&\n"EVENT_TYPE_WORKFLOW_TASK_COMPLETED\x10\x07\x12&\n"EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT\x10\x08\x12#\n\x1f\x45VENT_TYPE_WORKFLOW_TASK_FAILED\x10\t\x12&\n"EVENT_TYPE_ACTIVITY_TASK_SCHEDULED\x10\n\x12$\n EVENT_TYPE_ACTIVITY_TASK_STARTED\x10\x0b\x12&\n"EVENT_TYPE_ACTIVITY_TASK_COMPLETED\x10\x0c\x12#\n\x1f\x45VENT_TYPE_ACTIVITY_TASK_FAILED\x10\r\x12&\n"EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT\x10\x0e\x12-\n)EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED\x10\x0f\x12%\n!EVENT_TYPE_ACTIVITY_TASK_CANCELED\x10\x10\x12\x1c\n\x18\x45VENT_TYPE_TIMER_STARTED\x10\x11\x12\x1a\n\x16\x45VENT_TYPE_TIMER_FIRED\x10\x12\x12\x1d\n\x19\x45VENT_TYPE_TIMER_CANCELED\x10\x13\x12\x32\n.EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED\x10\x14\x12*\n&EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED\x10\x15\x12\x43\n?EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED\x10\x16\x12@\n= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class NotFoundFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -43,14 +41,13 @@ class NotFoundFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "active_cluster", b"active_cluster", "current_cluster", b"current_cluster" ], ) -> None: ... -Global___NotFoundFailure: typing_extensions.TypeAlias = NotFoundFailure +global___NotFoundFailure = NotFoundFailure -@typing.final class WorkflowExecutionAlreadyStartedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -66,16 +63,13 @@ class WorkflowExecutionAlreadyStartedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "run_id", b"run_id", "start_request_id", b"start_request_id" ], ) -> None: ... -Global___WorkflowExecutionAlreadyStartedFailure: typing_extensions.TypeAlias = ( - WorkflowExecutionAlreadyStartedFailure -) +global___WorkflowExecutionAlreadyStartedFailure = WorkflowExecutionAlreadyStartedFailure -@typing.final class NamespaceNotActiveFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -94,7 +88,7 @@ class NamespaceNotActiveFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "active_cluster", b"active_cluster", "current_cluster", @@ -104,11 +98,8 @@ class NamespaceNotActiveFailure(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceNotActiveFailure: typing_extensions.TypeAlias = ( - NamespaceNotActiveFailure -) +global___NamespaceNotActiveFailure = NamespaceNotActiveFailure -@typing.final class NamespaceUnavailableFailure(google.protobuf.message.Message): """NamespaceUnavailableFailure is returned by the service when a request addresses a namespace that is unavailable. For example, when a namespace is in the process of failing over between clusters. @@ -125,14 +116,11 @@ class NamespaceUnavailableFailure(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace"] + self, field_name: typing_extensions.Literal["namespace", b"namespace"] ) -> None: ... -Global___NamespaceUnavailableFailure: typing_extensions.TypeAlias = ( - NamespaceUnavailableFailure -) +global___NamespaceUnavailableFailure = NamespaceUnavailableFailure -@typing.final class NamespaceInvalidStateFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -151,7 +139,6 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): """Allowed namespace states for requested operation. For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace. """ - def __init__( self, *, @@ -164,7 +151,7 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "allowed_states", b"allowed_states", "namespace", @@ -174,11 +161,8 @@ class NamespaceInvalidStateFailure(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceInvalidStateFailure: typing_extensions.TypeAlias = ( - NamespaceInvalidStateFailure -) +global___NamespaceInvalidStateFailure = NamespaceInvalidStateFailure -@typing.final class NamespaceNotFoundFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -190,14 +174,11 @@ class NamespaceNotFoundFailure(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace"] + self, field_name: typing_extensions.Literal["namespace", b"namespace"] ) -> None: ... -Global___NamespaceNotFoundFailure: typing_extensions.TypeAlias = ( - NamespaceNotFoundFailure -) +global___NamespaceNotFoundFailure = NamespaceNotFoundFailure -@typing.final class NamespaceAlreadyExistsFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -205,11 +186,8 @@ class NamespaceAlreadyExistsFailure(google.protobuf.message.Message): self, ) -> None: ... -Global___NamespaceAlreadyExistsFailure: typing_extensions.TypeAlias = ( - NamespaceAlreadyExistsFailure -) +global___NamespaceAlreadyExistsFailure = NamespaceAlreadyExistsFailure -@typing.final class ClientVersionNotSupportedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -228,7 +206,7 @@ class ClientVersionNotSupportedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "client_name", b"client_name", "client_version", @@ -238,11 +216,8 @@ class ClientVersionNotSupportedFailure(google.protobuf.message.Message): ], ) -> None: ... -Global___ClientVersionNotSupportedFailure: typing_extensions.TypeAlias = ( - ClientVersionNotSupportedFailure -) +global___ClientVersionNotSupportedFailure = ClientVersionNotSupportedFailure -@typing.final class ServerVersionNotSupportedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -258,7 +233,7 @@ class ServerVersionNotSupportedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "client_supported_server_versions", b"client_supported_server_versions", "server_version", @@ -266,11 +241,8 @@ class ServerVersionNotSupportedFailure(google.protobuf.message.Message): ], ) -> None: ... -Global___ServerVersionNotSupportedFailure: typing_extensions.TypeAlias = ( - ServerVersionNotSupportedFailure -) +global___ServerVersionNotSupportedFailure = ServerVersionNotSupportedFailure -@typing.final class CancellationAlreadyRequestedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -278,11 +250,8 @@ class CancellationAlreadyRequestedFailure(google.protobuf.message.Message): self, ) -> None: ... -Global___CancellationAlreadyRequestedFailure: typing_extensions.TypeAlias = ( - CancellationAlreadyRequestedFailure -) +global___CancellationAlreadyRequestedFailure = CancellationAlreadyRequestedFailure -@typing.final class QueryFailedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -293,20 +262,20 @@ class QueryFailedFailure(google.protobuf.message.Message): SDK. This field can be encoded by the SDK's failure converter to support E2E encryption of messages and stack traces. """ - def __init__( self, *, failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___QueryFailedFailure: typing_extensions.TypeAlias = QueryFailedFailure +global___QueryFailedFailure = QueryFailedFailure -@typing.final class PermissionDeniedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -317,11 +286,12 @@ class PermissionDeniedFailure(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["reason", b"reason"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["reason", b"reason"] + ) -> None: ... -Global___PermissionDeniedFailure: typing_extensions.TypeAlias = PermissionDeniedFailure +global___PermissionDeniedFailure = PermissionDeniedFailure -@typing.final class ResourceExhaustedFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -336,21 +306,17 @@ class ResourceExhaustedFailure(google.protobuf.message.Message): scope: temporalio.api.enums.v1.failed_cause_pb2.ResourceExhaustedScope.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["cause", b"cause", "scope", b"scope"] + self, + field_name: typing_extensions.Literal["cause", b"cause", "scope", b"scope"], ) -> None: ... -Global___ResourceExhaustedFailure: typing_extensions.TypeAlias = ( - ResourceExhaustedFailure -) +global___ResourceExhaustedFailure = ResourceExhaustedFailure -@typing.final class SystemWorkflowFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int WORKFLOW_ERROR_FIELD_NUMBER: builtins.int - workflow_error: builtins.str - """Serialized error returned by the system workflow performing the underlying operation.""" @property def workflow_execution( self, @@ -358,7 +324,8 @@ class SystemWorkflowFailure(google.protobuf.message.Message): """WorkflowId and RunId of the Temporal system workflow performing the underlying operation. Looking up the info of the system workflow run may help identify the issue causing the failure. """ - + workflow_error: builtins.str + """Serialized error returned by the system workflow performing the underlying operation.""" def __init__( self, *, @@ -367,11 +334,14 @@ class SystemWorkflowFailure(google.protobuf.message.Message): workflow_error: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "workflow_error", b"workflow_error", "workflow_execution", @@ -379,9 +349,8 @@ class SystemWorkflowFailure(google.protobuf.message.Message): ], ) -> None: ... -Global___SystemWorkflowFailure: typing_extensions.TypeAlias = SystemWorkflowFailure +global___SystemWorkflowFailure = SystemWorkflowFailure -@typing.final class WorkflowNotReadyFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -389,9 +358,8 @@ class WorkflowNotReadyFailure(google.protobuf.message.Message): self, ) -> None: ... -Global___WorkflowNotReadyFailure: typing_extensions.TypeAlias = WorkflowNotReadyFailure +global___WorkflowNotReadyFailure = WorkflowNotReadyFailure -@typing.final class NewerBuildExistsFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -404,16 +372,15 @@ class NewerBuildExistsFailure(google.protobuf.message.Message): default_build_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["default_build_id", b"default_build_id"] + self, + field_name: typing_extensions.Literal["default_build_id", b"default_build_id"], ) -> None: ... -Global___NewerBuildExistsFailure: typing_extensions.TypeAlias = NewerBuildExistsFailure +global___NewerBuildExistsFailure = NewerBuildExistsFailure -@typing.final class MultiOperationExecutionFailure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class OperationStatus(google.protobuf.message.Message): """NOTE: `OperationStatus` is modelled after [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto). @@ -444,7 +411,7 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "code", b"code", "details", b"details", "message", b"message" ], ) -> None: ... @@ -454,30 +421,26 @@ class MultiOperationExecutionFailure(google.protobuf.message.Message): def statuses( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___MultiOperationExecutionFailure.OperationStatus + global___MultiOperationExecutionFailure.OperationStatus ]: """One status for each requested operation from the failed MultiOperation. The failed operation(s) have the same error details as if it was executed separately. All other operations have the status code `Aborted` and `MultiOperationExecutionAborted` is added to the details field. """ - def __init__( self, *, statuses: collections.abc.Iterable[ - Global___MultiOperationExecutionFailure.OperationStatus + global___MultiOperationExecutionFailure.OperationStatus ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["statuses", b"statuses"] + self, field_name: typing_extensions.Literal["statuses", b"statuses"] ) -> None: ... -Global___MultiOperationExecutionFailure: typing_extensions.TypeAlias = ( - MultiOperationExecutionFailure -) +global___MultiOperationExecutionFailure = MultiOperationExecutionFailure -@typing.final class ActivityExecutionAlreadyStartedFailure(google.protobuf.message.Message): """An error indicating that an activity execution failed to start. Returned when there is an existing activity with the given activity ID, and the given ID reuse and conflict policies do not permit starting a new one or attaching to an @@ -498,16 +461,13 @@ class ActivityExecutionAlreadyStartedFailure(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "run_id", b"run_id", "start_request_id", b"start_request_id" ], ) -> None: ... -Global___ActivityExecutionAlreadyStartedFailure: typing_extensions.TypeAlias = ( - ActivityExecutionAlreadyStartedFailure -) +global___ActivityExecutionAlreadyStartedFailure = ActivityExecutionAlreadyStartedFailure -@typing.final class NexusOperationExecutionAlreadyStartedFailure(google.protobuf.message.Message): """An error indicating that a Nexus operation failed to start. Returned when there is an existing operation with the given operation ID, and the given ID reuse and conflict policies do not permit starting a new one or attaching to an @@ -528,11 +488,11 @@ class NexusOperationExecutionAlreadyStartedFailure(google.protobuf.message.Messa ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "run_id", b"run_id", "start_request_id", b"start_request_id" ], ) -> None: ... -Global___NexusOperationExecutionAlreadyStartedFailure: typing_extensions.TypeAlias = ( +global___NexusOperationExecutionAlreadyStartedFailure = ( NexusOperationExecutionAlreadyStartedFailure ) diff --git a/temporalio/api/export/v1/message_pb2.py b/temporalio/api/export/v1/message_pb2.py index 4546a8f17..35d672eca 100644 --- a/temporalio/api/export/v1/message_pb2.py +++ b/temporalio/api/export/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/export/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/export/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -27,18 +22,36 @@ b'\n$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto"F\n\x11WorkflowExecution\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History"N\n\x12WorkflowExecutions\x12\x38\n\x05items\x18\x01 \x03(\x0b\x32).temporal.api.export.v1.WorkflowExecutionB\x89\x01\n\x19io.temporal.api.export.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.export.v1.message_pb2", _globals + +_WORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["WorkflowExecution"] +_WORKFLOWEXECUTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutions"] +WorkflowExecution = _reflection.GeneratedProtocolMessageType( + "WorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTION, + "__module__": "temporalio.api.export.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecution) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1" - _globals["_WORKFLOWEXECUTION"]._serialized_start = 103 - _globals["_WORKFLOWEXECUTION"]._serialized_end = 173 - _globals["_WORKFLOWEXECUTIONS"]._serialized_start = 175 - _globals["_WORKFLOWEXECUTIONS"]._serialized_end = 253 +_sym_db.RegisterMessage(WorkflowExecution) + +WorkflowExecutions = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutions", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONS, + "__module__": "temporalio.api.export.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.export.v1.WorkflowExecutions) + }, +) +_sym_db.RegisterMessage(WorkflowExecutions) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.export.v1B\014MessageProtoP\001Z#go.temporal.io/api/export/v1;export\252\002\030Temporalio.Api.Export.V1\352\002\033Temporalio::Api::Export::V1" + _WORKFLOWEXECUTION._serialized_start = 103 + _WORKFLOWEXECUTION._serialized_end = 173 + _WORKFLOWEXECUTIONS._serialized_start = 175 + _WORKFLOWEXECUTIONS._serialized_end = 253 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/export/v1/message_pb2.pyi b/temporalio/api/export/v1/message_pb2.pyi index f8a4814a6..a270b0e26 100644 --- a/temporalio/api/export/v1/message_pb2.pyi +++ b/temporalio/api/export/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -14,14 +13,13 @@ import google.protobuf.message import temporalio.api.history.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowExecution(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,13 +32,14 @@ class WorkflowExecution(google.protobuf.message.Message): history: temporalio.api.history.v1.message_pb2.History | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["history", b"history"] + self, field_name: typing_extensions.Literal["history", b"history"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["history", b"history"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["history", b"history"] + ) -> None: ... -Global___WorkflowExecution: typing_extensions.TypeAlias = WorkflowExecution +global___WorkflowExecution = WorkflowExecution -@typing.final class WorkflowExecutions(google.protobuf.message.Message): """WorkflowExecutions is used by the Cloud Export feature to deserialize the exported file. It encapsulates a collection of workflow execution information. @@ -53,13 +52,15 @@ class WorkflowExecutions(google.protobuf.message.Message): def items( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkflowExecution + global___WorkflowExecution ]: ... def __init__( self, *, - items: collections.abc.Iterable[Global___WorkflowExecution] | None = ..., + items: collections.abc.Iterable[global___WorkflowExecution] | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["items", b"items"] ) -> None: ... - def ClearField(self, field_name: typing.Literal["items", b"items"]) -> None: ... -Global___WorkflowExecutions: typing_extensions.TypeAlias = WorkflowExecutions +global___WorkflowExecutions = WorkflowExecutions diff --git a/temporalio/api/failure/v1/message_pb2.py b/temporalio/api/failure/v1/message_pb2.py index 411f238c2..db46b0717 100644 --- a/temporalio/api/failure/v1/message_pb2.py +++ b/temporalio/api/failure/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/failure/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/failure/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -43,44 +33,186 @@ b'\n%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto"\xe8\x01\n\x16\x41pplicationFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x15\n\rnon_retryable\x18\x02 \x01(\x08\x12\x31\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x33\n\x10next_retry_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x08\x63\x61tegory\x18\x05 \x01(\x0e\x32/.temporal.api.enums.v1.ApplicationErrorCategory"\x90\x01\n\x12TimeoutFailureInfo\x12\x38\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType\x12@\n\x16last_heartbeat_details\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"Z\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t")\n\x15TerminatedFailureInfo\x12\x10\n\x08identity\x18\x01 \x01(\t"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe7\x01\n\x13\x41\x63tivityFailureInfo\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;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xa0\x01\n\x19NexusOperationFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12\x18\n\x0coperation_id\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x06 \x01(\t"v\n\x17NexusHandlerFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x0eretry_behavior\x18\x02 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"\xa0\x08\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12;\n\x12\x65ncoded_attributes\x18\x14 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12/\n\x05\x63\x61use\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12S\n\x18\x61pplication_failure_info\x18\x05 \x01(\x0b\x32/.temporal.api.failure.v1.ApplicationFailureInfoH\x00\x12K\n\x14timeout_failure_info\x18\x06 \x01(\x0b\x32+.temporal.api.failure.v1.TimeoutFailureInfoH\x00\x12M\n\x15\x63\x61nceled_failure_info\x18\x07 \x01(\x0b\x32,.temporal.api.failure.v1.CanceledFailureInfoH\x00\x12Q\n\x17terminated_failure_info\x18\x08 \x01(\x0b\x32..temporal.api.failure.v1.TerminatedFailureInfoH\x00\x12I\n\x13server_failure_info\x18\t \x01(\x0b\x32*.temporal.api.failure.v1.ServerFailureInfoH\x00\x12X\n\x1breset_workflow_failure_info\x18\n \x01(\x0b\x32\x31.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00\x12M\n\x15\x61\x63tivity_failure_info\x18\x0b \x01(\x0b\x32,.temporal.api.failure.v1.ActivityFailureInfoH\x00\x12k\n%child_workflow_execution_failure_info\x18\x0c \x01(\x0b\x32:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00\x12\x64\n&nexus_operation_execution_failure_info\x18\r \x01(\x0b\x32\x32.temporal.api.failure.v1.NexusOperationFailureInfoH\x00\x12V\n\x1anexus_handler_failure_info\x18\x0e \x01(\x0b\x32\x30.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_info" \n\x1eMultiOperationExecutionAbortedB\x8e\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.failure.v1.message_pb2", _globals + +_APPLICATIONFAILUREINFO = DESCRIPTOR.message_types_by_name["ApplicationFailureInfo"] +_TIMEOUTFAILUREINFO = DESCRIPTOR.message_types_by_name["TimeoutFailureInfo"] +_CANCELEDFAILUREINFO = DESCRIPTOR.message_types_by_name["CanceledFailureInfo"] +_TERMINATEDFAILUREINFO = DESCRIPTOR.message_types_by_name["TerminatedFailureInfo"] +_SERVERFAILUREINFO = DESCRIPTOR.message_types_by_name["ServerFailureInfo"] +_RESETWORKFLOWFAILUREINFO = DESCRIPTOR.message_types_by_name["ResetWorkflowFailureInfo"] +_ACTIVITYFAILUREINFO = DESCRIPTOR.message_types_by_name["ActivityFailureInfo"] +_CHILDWORKFLOWEXECUTIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionFailureInfo" +] +_NEXUSOPERATIONFAILUREINFO = DESCRIPTOR.message_types_by_name[ + "NexusOperationFailureInfo" +] +_NEXUSHANDLERFAILUREINFO = DESCRIPTOR.message_types_by_name["NexusHandlerFailureInfo"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_MULTIOPERATIONEXECUTIONABORTED = DESCRIPTOR.message_types_by_name[ + "MultiOperationExecutionAborted" +] +ApplicationFailureInfo = _reflection.GeneratedProtocolMessageType( + "ApplicationFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _APPLICATIONFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ApplicationFailureInfo) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1" - _globals["_NEXUSOPERATIONFAILUREINFO"].fields_by_name[ - "operation_id" - ]._loaded_options = None - _globals["_NEXUSOPERATIONFAILUREINFO"].fields_by_name[ +_sym_db.RegisterMessage(ApplicationFailureInfo) + +TimeoutFailureInfo = _reflection.GeneratedProtocolMessageType( + "TimeoutFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _TIMEOUTFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TimeoutFailureInfo) + }, +) +_sym_db.RegisterMessage(TimeoutFailureInfo) + +CanceledFailureInfo = _reflection.GeneratedProtocolMessageType( + "CanceledFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _CANCELEDFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.CanceledFailureInfo) + }, +) +_sym_db.RegisterMessage(CanceledFailureInfo) + +TerminatedFailureInfo = _reflection.GeneratedProtocolMessageType( + "TerminatedFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEDFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.TerminatedFailureInfo) + }, +) +_sym_db.RegisterMessage(TerminatedFailureInfo) + +ServerFailureInfo = _reflection.GeneratedProtocolMessageType( + "ServerFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _SERVERFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ServerFailureInfo) + }, +) +_sym_db.RegisterMessage(ServerFailureInfo) + +ResetWorkflowFailureInfo = _reflection.GeneratedProtocolMessageType( + "ResetWorkflowFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _RESETWORKFLOWFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ResetWorkflowFailureInfo) + }, +) +_sym_db.RegisterMessage(ResetWorkflowFailureInfo) + +ActivityFailureInfo = _reflection.GeneratedProtocolMessageType( + "ActivityFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ActivityFailureInfo) + }, +) +_sym_db.RegisterMessage(ActivityFailureInfo) + +ChildWorkflowExecutionFailureInfo = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo) + }, +) +_sym_db.RegisterMessage(ChildWorkflowExecutionFailureInfo) + +NexusOperationFailureInfo = _reflection.GeneratedProtocolMessageType( + "NexusOperationFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusOperationFailureInfo) + }, +) +_sym_db.RegisterMessage(NexusOperationFailureInfo) + +NexusHandlerFailureInfo = _reflection.GeneratedProtocolMessageType( + "NexusHandlerFailureInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSHANDLERFAILUREINFO, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.NexusHandlerFailureInfo) + }, +) +_sym_db.RegisterMessage(NexusHandlerFailureInfo) + +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.Failure) + }, +) +_sym_db.RegisterMessage(Failure) + +MultiOperationExecutionAborted = _reflection.GeneratedProtocolMessageType( + "MultiOperationExecutionAborted", + (_message.Message,), + { + "DESCRIPTOR": _MULTIOPERATIONEXECUTIONABORTED, + "__module__": "temporalio.api.failure.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.failure.v1.MultiOperationExecutionAborted) + }, +) +_sym_db.RegisterMessage(MultiOperationExecutionAborted) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.failure.v1B\014MessageProtoP\001Z%go.temporal.io/api/failure/v1;failure\252\002\031Temporalio.Api.Failure.V1\352\002\034Temporalio::Api::Failure::V1" + _NEXUSOPERATIONFAILUREINFO.fields_by_name["operation_id"]._options = None + _NEXUSOPERATIONFAILUREINFO.fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _globals["_APPLICATIONFAILUREINFO"]._serialized_start = 246 - _globals["_APPLICATIONFAILUREINFO"]._serialized_end = 478 - _globals["_TIMEOUTFAILUREINFO"]._serialized_start = 481 - _globals["_TIMEOUTFAILUREINFO"]._serialized_end = 625 - _globals["_CANCELEDFAILUREINFO"]._serialized_start = 627 - _globals["_CANCELEDFAILUREINFO"]._serialized_end = 717 - _globals["_TERMINATEDFAILUREINFO"]._serialized_start = 719 - _globals["_TERMINATEDFAILUREINFO"]._serialized_end = 760 - _globals["_SERVERFAILUREINFO"]._serialized_start = 762 - _globals["_SERVERFAILUREINFO"]._serialized_end = 804 - _globals["_RESETWORKFLOWFAILUREINFO"]._serialized_start = 806 - _globals["_RESETWORKFLOWFAILUREINFO"]._serialized_end = 898 - _globals["_ACTIVITYFAILUREINFO"]._serialized_start = 901 - _globals["_ACTIVITYFAILUREINFO"]._serialized_end = 1132 - _globals["_CHILDWORKFLOWEXECUTIONFAILUREINFO"]._serialized_start = 1135 - _globals["_CHILDWORKFLOWEXECUTIONFAILUREINFO"]._serialized_end = 1431 - _globals["_NEXUSOPERATIONFAILUREINFO"]._serialized_start = 1434 - _globals["_NEXUSOPERATIONFAILUREINFO"]._serialized_end = 1594 - _globals["_NEXUSHANDLERFAILUREINFO"]._serialized_start = 1596 - _globals["_NEXUSHANDLERFAILUREINFO"]._serialized_end = 1714 - _globals["_FAILURE"]._serialized_start = 1717 - _globals["_FAILURE"]._serialized_end = 2773 - _globals["_MULTIOPERATIONEXECUTIONABORTED"]._serialized_start = 2775 - _globals["_MULTIOPERATIONEXECUTIONABORTED"]._serialized_end = 2807 + _APPLICATIONFAILUREINFO._serialized_start = 246 + _APPLICATIONFAILUREINFO._serialized_end = 478 + _TIMEOUTFAILUREINFO._serialized_start = 481 + _TIMEOUTFAILUREINFO._serialized_end = 625 + _CANCELEDFAILUREINFO._serialized_start = 627 + _CANCELEDFAILUREINFO._serialized_end = 717 + _TERMINATEDFAILUREINFO._serialized_start = 719 + _TERMINATEDFAILUREINFO._serialized_end = 760 + _SERVERFAILUREINFO._serialized_start = 762 + _SERVERFAILUREINFO._serialized_end = 804 + _RESETWORKFLOWFAILUREINFO._serialized_start = 806 + _RESETWORKFLOWFAILUREINFO._serialized_end = 898 + _ACTIVITYFAILUREINFO._serialized_start = 901 + _ACTIVITYFAILUREINFO._serialized_end = 1132 + _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_start = 1135 + _CHILDWORKFLOWEXECUTIONFAILUREINFO._serialized_end = 1431 + _NEXUSOPERATIONFAILUREINFO._serialized_start = 1434 + _NEXUSOPERATIONFAILUREINFO._serialized_end = 1594 + _NEXUSHANDLERFAILUREINFO._serialized_start = 1596 + _NEXUSHANDLERFAILUREINFO._serialized_end = 1714 + _FAILURE._serialized_start = 1717 + _FAILURE._serialized_end = 2773 + _MULTIOPERATIONEXECUTIONABORTED._serialized_start = 2775 + _MULTIOPERATIONEXECUTIONABORTED._serialized_end = 2807 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/failure/v1/message_pb2.pyi b/temporalio/api/failure/v1/message_pb2.pyi index 16f46a293..e0eecf7e7 100644 --- a/temporalio/api/failure/v1/message_pb2.pyi +++ b/temporalio/api/failure/v1/message_pb2.pyi @@ -5,7 +5,6 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -16,14 +15,13 @@ import temporalio.api.enums.v1.common_pb2 import temporalio.api.enums.v1.nexus_pb2 import temporalio.api.enums.v1.workflow_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ApplicationFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,7 +32,6 @@ class ApplicationFailureInfo(google.protobuf.message.Message): CATEGORY_FIELD_NUMBER: builtins.int type: builtins.str non_retryable: builtins.bool - category: temporalio.api.enums.v1.common_pb2.ApplicationErrorCategory.ValueType @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property @@ -44,7 +41,7 @@ class ApplicationFailureInfo(google.protobuf.message.Message): still be subject to the maximum retries limit and total time limit defined by the policy. """ - + category: temporalio.api.enums.v1.common_pb2.ApplicationErrorCategory.ValueType def __init__( self, *, @@ -56,13 +53,13 @@ class ApplicationFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "next_retry_delay", b"next_retry_delay" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "category", b"category", "details", @@ -76,9 +73,8 @@ class ApplicationFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ApplicationFailureInfo: typing_extensions.TypeAlias = ApplicationFailureInfo +global___ApplicationFailureInfo = ApplicationFailureInfo -@typing.final class TimeoutFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -98,11 +94,13 @@ class TimeoutFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["last_heartbeat_details", b"last_heartbeat_details"], + field_name: typing_extensions.Literal[ + "last_heartbeat_details", b"last_heartbeat_details" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_heartbeat_details", b"last_heartbeat_details", "timeout_type", @@ -110,18 +108,17 @@ class TimeoutFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___TimeoutFailureInfo: typing_extensions.TypeAlias = TimeoutFailureInfo +global___TimeoutFailureInfo = TimeoutFailureInfo -@typing.final class CanceledFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor DETAILS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int - identity: builtins.str - """The identity of the worker or client that requested the cancellation.""" @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... + identity: builtins.str + """The identity of the worker or client that requested the cancellation.""" def __init__( self, *, @@ -129,15 +126,17 @@ class CanceledFailureInfo(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["details", b"details", "identity", b"identity"] + self, + field_name: typing_extensions.Literal[ + "details", b"details", "identity", b"identity" + ], ) -> None: ... -Global___CanceledFailureInfo: typing_extensions.TypeAlias = CanceledFailureInfo +global___CanceledFailureInfo = CanceledFailureInfo -@typing.final class TerminatedFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -150,12 +149,11 @@ class TerminatedFailureInfo(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["identity", b"identity"] + self, field_name: typing_extensions.Literal["identity", b"identity"] ) -> None: ... -Global___TerminatedFailureInfo: typing_extensions.TypeAlias = TerminatedFailureInfo +global___TerminatedFailureInfo = TerminatedFailureInfo -@typing.final class ServerFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -167,12 +165,11 @@ class ServerFailureInfo(google.protobuf.message.Message): non_retryable: builtins.bool = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["non_retryable", b"non_retryable"] + self, field_name: typing_extensions.Literal["non_retryable", b"non_retryable"] ) -> None: ... -Global___ServerFailureInfo: typing_extensions.TypeAlias = ServerFailureInfo +global___ServerFailureInfo = ServerFailureInfo -@typing.final class ResetWorkflowFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -189,18 +186,19 @@ class ResetWorkflowFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["last_heartbeat_details", b"last_heartbeat_details"], + field_name: typing_extensions.Literal[ + "last_heartbeat_details", b"last_heartbeat_details" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal["last_heartbeat_details", b"last_heartbeat_details"], + field_name: typing_extensions.Literal[ + "last_heartbeat_details", b"last_heartbeat_details" + ], ) -> None: ... -Global___ResetWorkflowFailureInfo: typing_extensions.TypeAlias = ( - ResetWorkflowFailureInfo -) +global___ResetWorkflowFailureInfo = ResetWorkflowFailureInfo -@typing.final class ActivityFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -213,10 +211,10 @@ class ActivityFailureInfo(google.protobuf.message.Message): scheduled_event_id: builtins.int started_event_id: builtins.int identity: builtins.str - activity_id: builtins.str - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... + activity_id: builtins.str + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -228,11 +226,11 @@ class ActivityFailureInfo(google.protobuf.message.Message): retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["activity_type", b"activity_type"] + self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -248,9 +246,8 @@ class ActivityFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityFailureInfo: typing_extensions.TypeAlias = ActivityFailureInfo +global___ActivityFailureInfo = ActivityFailureInfo -@typing.final class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -261,15 +258,15 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): STARTED_EVENT_ID_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int namespace: builtins.str - initiated_event_id: builtins.int - started_event_id: builtins.int - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + initiated_event_id: builtins.int + started_event_id: builtins.int + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -283,7 +280,7 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "workflow_execution", b"workflow_execution", "workflow_type", @@ -292,7 +289,7 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -308,11 +305,8 @@ class ChildWorkflowExecutionFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ChildWorkflowExecutionFailureInfo: typing_extensions.TypeAlias = ( - ChildWorkflowExecutionFailureInfo -) +global___ChildWorkflowExecutionFailureInfo = ChildWorkflowExecutionFailureInfo -@typing.final class NexusOperationFailureInfo(google.protobuf.message.Message): """Representation of the Temporal SDK NexusOperationError object that is returned to workflow callers.""" @@ -351,7 +345,7 @@ class NexusOperationFailureInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "endpoint", b"endpoint", "operation", @@ -367,11 +361,8 @@ class NexusOperationFailureInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationFailureInfo: typing_extensions.TypeAlias = ( - NexusOperationFailureInfo -) +global___NexusOperationFailureInfo = NexusOperationFailureInfo -@typing.final class NexusHandlerFailureInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -393,14 +384,13 @@ class NexusHandlerFailureInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "retry_behavior", b"retry_behavior", "type", b"type" ], ) -> None: ... -Global___NexusHandlerFailureInfo: typing_extensions.TypeAlias = NexusHandlerFailureInfo +global___NexusHandlerFailureInfo = NexusHandlerFailureInfo -@typing.final class Failure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -443,33 +433,32 @@ class Failure(google.protobuf.message.Message): - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes. (-- api-linter: core::0203::optional=disabled --) """ - @property - def cause(self) -> Global___Failure: ... + def cause(self) -> global___Failure: ... @property - def application_failure_info(self) -> Global___ApplicationFailureInfo: ... + def application_failure_info(self) -> global___ApplicationFailureInfo: ... @property - def timeout_failure_info(self) -> Global___TimeoutFailureInfo: ... + def timeout_failure_info(self) -> global___TimeoutFailureInfo: ... @property - def canceled_failure_info(self) -> Global___CanceledFailureInfo: ... + def canceled_failure_info(self) -> global___CanceledFailureInfo: ... @property - def terminated_failure_info(self) -> Global___TerminatedFailureInfo: ... + def terminated_failure_info(self) -> global___TerminatedFailureInfo: ... @property - def server_failure_info(self) -> Global___ServerFailureInfo: ... + def server_failure_info(self) -> global___ServerFailureInfo: ... @property - def reset_workflow_failure_info(self) -> Global___ResetWorkflowFailureInfo: ... + def reset_workflow_failure_info(self) -> global___ResetWorkflowFailureInfo: ... @property - def activity_failure_info(self) -> Global___ActivityFailureInfo: ... + def activity_failure_info(self) -> global___ActivityFailureInfo: ... @property def child_workflow_execution_failure_info( self, - ) -> Global___ChildWorkflowExecutionFailureInfo: ... + ) -> global___ChildWorkflowExecutionFailureInfo: ... @property def nexus_operation_execution_failure_info( self, - ) -> Global___NexusOperationFailureInfo: ... + ) -> global___NexusOperationFailureInfo: ... @property - def nexus_handler_failure_info(self) -> Global___NexusHandlerFailureInfo: ... + def nexus_handler_failure_info(self) -> global___NexusHandlerFailureInfo: ... def __init__( self, *, @@ -477,23 +466,23 @@ class Failure(google.protobuf.message.Message): source: builtins.str = ..., stack_trace: builtins.str = ..., encoded_attributes: temporalio.api.common.v1.message_pb2.Payload | None = ..., - cause: Global___Failure | None = ..., - application_failure_info: Global___ApplicationFailureInfo | None = ..., - timeout_failure_info: Global___TimeoutFailureInfo | None = ..., - canceled_failure_info: Global___CanceledFailureInfo | None = ..., - terminated_failure_info: Global___TerminatedFailureInfo | None = ..., - server_failure_info: Global___ServerFailureInfo | None = ..., - reset_workflow_failure_info: Global___ResetWorkflowFailureInfo | None = ..., - activity_failure_info: Global___ActivityFailureInfo | None = ..., - child_workflow_execution_failure_info: Global___ChildWorkflowExecutionFailureInfo + cause: global___Failure | None = ..., + application_failure_info: global___ApplicationFailureInfo | None = ..., + timeout_failure_info: global___TimeoutFailureInfo | None = ..., + canceled_failure_info: global___CanceledFailureInfo | None = ..., + terminated_failure_info: global___TerminatedFailureInfo | None = ..., + server_failure_info: global___ServerFailureInfo | None = ..., + reset_workflow_failure_info: global___ResetWorkflowFailureInfo | None = ..., + activity_failure_info: global___ActivityFailureInfo | None = ..., + child_workflow_execution_failure_info: global___ChildWorkflowExecutionFailureInfo | None = ..., - nexus_operation_execution_failure_info: Global___NexusOperationFailureInfo + nexus_operation_execution_failure_info: global___NexusOperationFailureInfo | None = ..., - nexus_handler_failure_info: Global___NexusHandlerFailureInfo | None = ..., + nexus_handler_failure_info: global___NexusHandlerFailureInfo | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_failure_info", b"activity_failure_info", "application_failure_info", @@ -524,7 +513,7 @@ class Failure(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_failure_info", b"activity_failure_info", "application_failure_info", @@ -560,9 +549,9 @@ class Failure(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["failure_info", b"failure_info"] + self, oneof_group: typing_extensions.Literal["failure_info", b"failure_info"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "application_failure_info", "timeout_failure_info", "canceled_failure_info", @@ -577,9 +566,8 @@ class Failure(google.protobuf.message.Message): | None ): ... -Global___Failure: typing_extensions.TypeAlias = Failure +global___Failure = Failure -@typing.final class MultiOperationExecutionAborted(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -587,6 +575,4 @@ class MultiOperationExecutionAborted(google.protobuf.message.Message): self, ) -> None: ... -Global___MultiOperationExecutionAborted: typing_extensions.TypeAlias = ( - MultiOperationExecutionAborted -) +global___MultiOperationExecutionAborted = MultiOperationExecutionAborted diff --git a/temporalio/api/filter/v1/message_pb2.py b/temporalio/api/filter/v1/message_pb2.py index ca386650b..3df20337d 100644 --- a/temporalio/api/filter/v1/message_pb2.py +++ b/temporalio/api/filter/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/filter/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/filter/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -29,22 +24,64 @@ b'\n$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/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"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x89\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.filter.v1.message_pb2", _globals + +_WORKFLOWEXECUTIONFILTER = DESCRIPTOR.message_types_by_name["WorkflowExecutionFilter"] +_WORKFLOWTYPEFILTER = DESCRIPTOR.message_types_by_name["WorkflowTypeFilter"] +_STARTTIMEFILTER = DESCRIPTOR.message_types_by_name["StartTimeFilter"] +_STATUSFILTER = DESCRIPTOR.message_types_by_name["StatusFilter"] +WorkflowExecutionFilter = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionFilter", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONFILTER, + "__module__": "temporalio.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowExecutionFilter) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1" - _globals["_WORKFLOWEXECUTIONFILTER"]._serialized_start = 135 - _globals["_WORKFLOWEXECUTIONFILTER"]._serialized_end = 197 - _globals["_WORKFLOWTYPEFILTER"]._serialized_start = 199 - _globals["_WORKFLOWTYPEFILTER"]._serialized_end = 233 - _globals["_STARTTIMEFILTER"]._serialized_start = 235 - _globals["_STARTTIMEFILTER"]._serialized_end = 352 - _globals["_STATUSFILTER"]._serialized_start = 354 - _globals["_STATUSFILTER"]._serialized_end = 432 +_sym_db.RegisterMessage(WorkflowExecutionFilter) + +WorkflowTypeFilter = _reflection.GeneratedProtocolMessageType( + "WorkflowTypeFilter", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTYPEFILTER, + "__module__": "temporalio.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.WorkflowTypeFilter) + }, +) +_sym_db.RegisterMessage(WorkflowTypeFilter) + +StartTimeFilter = _reflection.GeneratedProtocolMessageType( + "StartTimeFilter", + (_message.Message,), + { + "DESCRIPTOR": _STARTTIMEFILTER, + "__module__": "temporalio.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StartTimeFilter) + }, +) +_sym_db.RegisterMessage(StartTimeFilter) + +StatusFilter = _reflection.GeneratedProtocolMessageType( + "StatusFilter", + (_message.Message,), + { + "DESCRIPTOR": _STATUSFILTER, + "__module__": "temporalio.api.filter.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.filter.v1.StatusFilter) + }, +) +_sym_db.RegisterMessage(StatusFilter) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.filter.v1B\014MessageProtoP\001Z#go.temporal.io/api/filter/v1;filter\252\002\030Temporalio.Api.Filter.V1\352\002\033Temporalio::Api::Filter::V1" + _WORKFLOWEXECUTIONFILTER._serialized_start = 135 + _WORKFLOWEXECUTIONFILTER._serialized_end = 197 + _WORKFLOWTYPEFILTER._serialized_start = 199 + _WORKFLOWTYPEFILTER._serialized_end = 233 + _STARTTIMEFILTER._serialized_start = 235 + _STARTTIMEFILTER._serialized_end = 352 + _STATUSFILTER._serialized_start = 354 + _STATUSFILTER._serialized_end = 432 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/filter/v1/message_pb2.pyi b/temporalio/api/filter/v1/message_pb2.pyi index 1464d40f8..26d2efeb1 100644 --- a/temporalio/api/filter/v1/message_pb2.pyi +++ b/temporalio/api/filter/v1/message_pb2.pyi @@ -5,7 +5,6 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message @@ -13,14 +12,13 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.workflow_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowExecutionFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -36,12 +34,13 @@ class WorkflowExecutionFilter(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["run_id", b"run_id", "workflow_id", b"workflow_id"], + field_name: typing_extensions.Literal[ + "run_id", b"run_id", "workflow_id", b"workflow_id" + ], ) -> None: ... -Global___WorkflowExecutionFilter: typing_extensions.TypeAlias = WorkflowExecutionFilter +global___WorkflowExecutionFilter = WorkflowExecutionFilter -@typing.final class WorkflowTypeFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -52,11 +51,12 @@ class WorkflowTypeFilter(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["name", b"name"] + ) -> None: ... -Global___WorkflowTypeFilter: typing_extensions.TypeAlias = WorkflowTypeFilter +global___WorkflowTypeFilter = WorkflowTypeFilter -@typing.final class StartTimeFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -74,20 +74,19 @@ class StartTimeFilter(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "earliest_time", b"earliest_time", "latest_time", b"latest_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "earliest_time", b"earliest_time", "latest_time", b"latest_time" ], ) -> None: ... -Global___StartTimeFilter: typing_extensions.TypeAlias = StartTimeFilter +global___StartTimeFilter = StartTimeFilter -@typing.final class StatusFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -98,6 +97,8 @@ class StatusFilter(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["status", b"status"] + ) -> None: ... -Global___StatusFilter: typing_extensions.TypeAlias = StatusFilter +global___StatusFilter = StatusFilter diff --git a/temporalio/api/history/v1/message_pb2.py b/temporalio/api/history/v1/message_pb2.py index 98a2828f8..a161b93d1 100644 --- a/temporalio/api/history/v1/message_pb2.py +++ b/temporalio/api/history/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/history/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/history/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -71,406 +61,1289 @@ b'\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a,temporal/api/sdk/v1/event_group_marker.proto"\xda\x12\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12Y\n\x1binherited_auto_upgrade_info\x18\' \x01(\x0b\x32\x34.temporal.api.deployment.v1.InheritedAutoUpgradeInfo\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08\x12^\n\x1f\x64\x65\x63lined_target_version_upgrade\x18( \x01(\x0b\x32\x35.temporal.api.history.v1.DeclinedTargetVersionUpgrade\x12H\n\x14time_skipping_config\x18) \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig\x12]\n\x1ftime_skipping_state_propagation\x18+ \x01(\x0b\x32\x34.temporal.api.common.v1.TimeSkippingStatePropagationJ\x04\x08$\x10%J\x04\x08*\x10+R parent_pinned_deployment_versionR\x18initial_skipped_duration"\x88\x01\n\x1c\x44\x65\x63linedTargetVersionUpgrade\x12O\n\x12\x64\x65ployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0frevision_number\x18\x02 \x01(\x03"\xa5\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t"\xdb\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t"\xa5\x07\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05"\xa0\x03\n"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x08 \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\t \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\x82\x05\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32".temporal.api.enums.v1.TimeoutType"\x87\x03\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc2\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04"\x9e\x02\n"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01"\xe8\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x9e\x02\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x92\x02\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01"\xbf\x02\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x12\n\nrequest_id\x18\x07 \x01(\t"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t"\xda\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xd3\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xb1\t\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x15 \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig\x12]\n\x1ftime_skipping_state_propagation\x18\x17 \x01(\x0b\x32\x34.temporal.api.common.v1.TimeSkippingStatePropagationJ\x04\x08\x16\x10\x17R\x18initial_skipped_duration"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xc5\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xfb\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\xc5\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03"\xda\x05\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x32\n\x08priority\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x07 \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig\x12$\n\x1ctime_skipping_config_updated\x18\t \x01(\x08\x12\x84\x01\n\x17workflow_update_options\x18\x08 \x03(\x0b\x32\x63.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate\x1a\x96\x01\n\x1bWorkflowUpdateOptionsUpdate\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x1b\n\x13\x61ttached_request_id\x18\x02 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x03 \x03(\x0b\x32 .temporal.api.common.v1.Callback"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin"^\n&WorkflowExecutionPausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t"`\n(WorkflowExecutionUnpausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\xc5\x01\n8WorkflowExecutionTimeSkippingTransitionedEventAttributes\x12/\n\x0btarget_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x1b\x64isabled_after_fast_forward\x18\x02 \x01(\x08\x12\x33\n\x0fwall_clock_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x04\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03"\xca?\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x35\n\tprincipal\x18\xaf\x02 \x01(\x0b\x32!.temporal.api.common.v1.Principal\x12\x43\n\x13\x65vent_group_markers\x18\xb0\x02 \x03(\x0b\x32%.temporal.api.sdk.v1.EventGroupMarker\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x12u\n*workflow_execution_paused_event_attributes\x18? \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionPausedEventAttributesH\x00\x12y\n,workflow_execution_unpaused_event_attributes\x18@ \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributesH\x00\x12\x9b\x01\n>workflow_execution_time_skipping_transitioned_event_attributes\x18\x41 \x01(\x0b\x32Q.temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributesH\x00\x42\x0c\n\nattributes"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.history.v1.message_pb2", _globals + +_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionStartedEventAttributes" +] +_DECLINEDTARGETVERSIONUPGRADE = DESCRIPTOR.message_types_by_name[ + "DeclinedTargetVersionUpgrade" +] +_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionCompletedEventAttributes" +] +_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionFailedEventAttributes" +] +_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionTimedOutEventAttributes" +] +_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionContinuedAsNewEventAttributes" +] +_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskScheduledEventAttributes" +] +_WORKFLOWTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskStartedEventAttributes" +] +_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskCompletedEventAttributes" +] +_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskTimedOutEventAttributes" +] +_WORKFLOWTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskFailedEventAttributes" +] +_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskScheduledEventAttributes" +] +_ACTIVITYTASKSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskStartedEventAttributes" +] +_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskCompletedEventAttributes" +] +_ACTIVITYTASKFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskFailedEventAttributes" +] +_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskTimedOutEventAttributes" +] +_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskCancelRequestedEventAttributes" +] +_ACTIVITYTASKCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityTaskCanceledEventAttributes" +] +_TIMERSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "TimerStartedEventAttributes" +] +_TIMERFIREDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "TimerFiredEventAttributes" +] +_TIMERCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "TimerCanceledEventAttributes" +] +_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionCancelRequestedEventAttributes" +] +_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionCanceledEventAttributes" +] +_MARKERRECORDEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "MarkerRecordedEventAttributes" +] +_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY = ( + _MARKERRECORDEDEVENTATTRIBUTES.nested_types_by_name["DetailsEntry"] +) +_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionSignaledEventAttributes" +] +_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionTerminatedEventAttributes" +] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" + ] +) +_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecutionFailedEventAttributes" + ] +) +_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "ExternalWorkflowExecutionCancelRequestedEventAttributes" + ] +) +_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecutionInitiatedEventAttributes" + ] +) +_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecutionFailedEventAttributes" + ] +) +_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ExternalWorkflowExecutionSignaledEventAttributes" +] +_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "UpsertWorkflowSearchAttributesEventAttributes" +] +_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowPropertiesModifiedEventAttributes" +] +_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecutionInitiatedEventAttributes" +] +_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecutionFailedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionStartedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionCompletedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionFailedEventAttributes" +] +_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionCanceledEventAttributes" +] +_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionTimedOutEventAttributes" +] +_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ChildWorkflowExecutionTerminatedEventAttributes" +] +_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionOptionsUpdatedEventAttributes" +] +_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE = ( + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES.nested_types_by_name[ + "WorkflowUpdateOptionsUpdate" + ] +) +_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowPropertiesModifiedExternallyEventAttributes" +] +_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "ActivityPropertiesModifiedExternallyEventAttributes" +] +_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateAcceptedEventAttributes" +] +_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateCompletedEventAttributes" +] +_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateRejectedEventAttributes" +] +_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUpdateAdmittedEventAttributes" +] +_WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionPausedEventAttributes" +] +_WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionUnpausedEventAttributes" +] +_WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES = ( + DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionTimeSkippingTransitionedEventAttributes" + ] +) +_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationScheduledEventAttributes" +] +_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY = ( + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES.nested_types_by_name["NexusHeaderEntry"] +) +_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationStartedEventAttributes" +] +_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCompletedEventAttributes" +] +_NEXUSOPERATIONFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationFailedEventAttributes" +] +_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationTimedOutEventAttributes" +] +_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCanceledEventAttributes" +] +_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancelRequestedEventAttributes" +] +_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancelRequestCompletedEventAttributes" +] +_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancelRequestFailedEventAttributes" +] +_HISTORYEVENT = DESCRIPTOR.message_types_by_name["HistoryEvent"] +_HISTORY = DESCRIPTOR.message_types_by_name["History"] +WorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionStartedEventAttributes) + +DeclinedTargetVersionUpgrade = _reflection.GeneratedProtocolMessageType( + "DeclinedTargetVersionUpgrade", + (_message.Message,), + { + "DESCRIPTOR": _DECLINEDTARGETVERSIONUPGRADE, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.DeclinedTargetVersionUpgrade) + }, +) +_sym_db.RegisterMessage(DeclinedTargetVersionUpgrade) + +WorkflowExecutionCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionCompletedEventAttributes) + +WorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionFailedEventAttributes) + +WorkflowExecutionTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionTimedOutEventAttributes) + +WorkflowExecutionContinuedAsNewEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionContinuedAsNewEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowExecutionContinuedAsNewEventAttributes) + +WorkflowTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskScheduledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowTaskScheduledEventAttributes) + +WorkflowTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKSTARTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskStartedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowTaskStartedEventAttributes) + +WorkflowTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowTaskCompletedEventAttributes) + +WorkflowTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowTaskTimedOutEventAttributes) + +WorkflowTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowTaskFailedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowTaskFailedEventAttributes) + +ActivityTaskScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskScheduledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskScheduledEventAttributes) + }, +) +_sym_db.RegisterMessage(ActivityTaskScheduledEventAttributes) + +ActivityTaskStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKSTARTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskStartedEventAttributes) + }, +) +_sym_db.RegisterMessage(ActivityTaskStartedEventAttributes) + +ActivityTaskCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCompletedEventAttributes) + }, +) +_sym_db.RegisterMessage(ActivityTaskCompletedEventAttributes) + +ActivityTaskFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskFailedEventAttributes) + }, +) +_sym_db.RegisterMessage(ActivityTaskFailedEventAttributes) + +ActivityTaskTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) + }, +) +_sym_db.RegisterMessage(ActivityTaskTimedOutEventAttributes) + +ActivityTaskCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) + }, +) +_sym_db.RegisterMessage(ActivityTaskCancelRequestedEventAttributes) + +ActivityTaskCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCANCELEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityTaskCanceledEventAttributes) + }, +) +_sym_db.RegisterMessage(ActivityTaskCanceledEventAttributes) + +TimerStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "TimerStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _TIMERSTARTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerStartedEventAttributes) + }, +) +_sym_db.RegisterMessage(TimerStartedEventAttributes) + +TimerFiredEventAttributes = _reflection.GeneratedProtocolMessageType( + "TimerFiredEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _TIMERFIREDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerFiredEventAttributes) + }, +) +_sym_db.RegisterMessage(TimerFiredEventAttributes) + +TimerCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "TimerCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _TIMERCANCELEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.TimerCanceledEventAttributes) + }, +) +_sym_db.RegisterMessage(TimerCanceledEventAttributes) + +WorkflowExecutionCancelRequestedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowExecutionCancelRequestedEventAttributes) + +WorkflowExecutionCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionCanceledEventAttributes) + +MarkerRecordedEventAttributes = _reflection.GeneratedProtocolMessageType( + "MarkerRecordedEventAttributes", + (_message.Message,), + { + "DetailsEntry": _reflection.GeneratedProtocolMessageType( + "DetailsEntry", + (_message.Message,), + { + "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry) + }, + ), + "DESCRIPTOR": _MARKERRECORDEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.MarkerRecordedEventAttributes) + }, +) +_sym_db.RegisterMessage(MarkerRecordedEventAttributes) +_sym_db.RegisterMessage(MarkerRecordedEventAttributes.DetailsEntry) + +WorkflowExecutionSignaledEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionSignaledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionSignaledEventAttributes) + +WorkflowExecutionTerminatedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionTerminatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionTerminatedEventAttributes) + +RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) + }, +) +_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) + +RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecutionFailedEventAttributes) + +ExternalWorkflowExecutionCancelRequestedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ExternalWorkflowExecutionCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(ExternalWorkflowExecutionCancelRequestedEventAttributes) + +SignalExternalWorkflowExecutionInitiatedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecutionInitiatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(SignalExternalWorkflowExecutionInitiatedEventAttributes) + +SignalExternalWorkflowExecutionFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(SignalExternalWorkflowExecutionFailedEventAttributes) + +ExternalWorkflowExecutionSignaledEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ExternalWorkflowExecutionSignaledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(ExternalWorkflowExecutionSignaledEventAttributes) + +UpsertWorkflowSearchAttributesEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "UpsertWorkflowSearchAttributesEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) + }, + ) ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1" - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ +_sym_db.RegisterMessage(UpsertWorkflowSearchAttributesEventAttributes) + +WorkflowPropertiesModifiedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowPropertiesModifiedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowPropertiesModifiedEventAttributes) + +StartChildWorkflowExecutionInitiatedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecutionInitiatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(StartChildWorkflowExecutionInitiatedEventAttributes) + +StartChildWorkflowExecutionFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(StartChildWorkflowExecutionFailedEventAttributes) + +ChildWorkflowExecutionStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) + }, +) +_sym_db.RegisterMessage(ChildWorkflowExecutionStartedEventAttributes) + +ChildWorkflowExecutionCompletedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(ChildWorkflowExecutionCompletedEventAttributes) + +ChildWorkflowExecutionFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) + }, +) +_sym_db.RegisterMessage(ChildWorkflowExecutionFailedEventAttributes) + +ChildWorkflowExecutionCanceledEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(ChildWorkflowExecutionCanceledEventAttributes) + +ChildWorkflowExecutionTimedOutEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(ChildWorkflowExecutionTimedOutEventAttributes) + +ChildWorkflowExecutionTerminatedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ChildWorkflowExecutionTerminatedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(ChildWorkflowExecutionTerminatedEventAttributes) + +WorkflowExecutionOptionsUpdatedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionOptionsUpdatedEventAttributes", + (_message.Message,), + { + "WorkflowUpdateOptionsUpdate": _reflection.GeneratedProtocolMessageType( + "WorkflowUpdateOptionsUpdate", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate) + }, + ), + "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionOptionsUpdatedEventAttributes) +_sym_db.RegisterMessage( + WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate +) + +WorkflowPropertiesModifiedExternallyEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowPropertiesModifiedExternallyEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowPropertiesModifiedExternallyEventAttributes) + +ActivityPropertiesModifiedExternallyEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "ActivityPropertiesModifiedExternallyEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(ActivityPropertiesModifiedExternallyEventAttributes) + +WorkflowExecutionUpdateAcceptedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateAcceptedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowExecutionUpdateAcceptedEventAttributes) + +WorkflowExecutionUpdateCompletedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowExecutionUpdateCompletedEventAttributes) + +WorkflowExecutionUpdateRejectedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateRejectedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowExecutionUpdateRejectedEventAttributes) + +WorkflowExecutionUpdateAdmittedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUpdateAdmittedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowExecutionUpdateAdmittedEventAttributes) + +WorkflowExecutionPausedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionPausedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionPausedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionPausedEventAttributes) + +WorkflowExecutionUnpausedEventAttributes = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionUnpausedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributes) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionUnpausedEventAttributes) + +WorkflowExecutionTimeSkippingTransitionedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionTimeSkippingTransitionedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(WorkflowExecutionTimeSkippingTransitionedEventAttributes) + +NexusOperationScheduledEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationScheduledEventAttributes", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationScheduledEventAttributes) + }, +) +_sym_db.RegisterMessage(NexusOperationScheduledEventAttributes) +_sym_db.RegisterMessage(NexusOperationScheduledEventAttributes.NexusHeaderEntry) + +NexusOperationStartedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationStartedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationStartedEventAttributes) + }, +) +_sym_db.RegisterMessage(NexusOperationStartedEventAttributes) + +NexusOperationCompletedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCompletedEventAttributes) + }, +) +_sym_db.RegisterMessage(NexusOperationCompletedEventAttributes) + +NexusOperationFailedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationFailedEventAttributes) + }, +) +_sym_db.RegisterMessage(NexusOperationFailedEventAttributes) + +NexusOperationTimedOutEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationTimedOutEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationTimedOutEventAttributes) + }, +) +_sym_db.RegisterMessage(NexusOperationTimedOutEventAttributes) + +NexusOperationCanceledEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationCanceledEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCanceledEventAttributes) + }, +) +_sym_db.RegisterMessage(NexusOperationCanceledEventAttributes) + +NexusOperationCancelRequestedEventAttributes = _reflection.GeneratedProtocolMessageType( + "NexusOperationCancelRequestedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes) + }, +) +_sym_db.RegisterMessage(NexusOperationCancelRequestedEventAttributes) + +NexusOperationCancelRequestCompletedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "NexusOperationCancelRequestCompletedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(NexusOperationCancelRequestCompletedEventAttributes) + +NexusOperationCancelRequestFailedEventAttributes = ( + _reflection.GeneratedProtocolMessageType( + "NexusOperationCancelRequestFailedEventAttributes", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes) + }, + ) +) +_sym_db.RegisterMessage(NexusOperationCancelRequestFailedEventAttributes) + +HistoryEvent = _reflection.GeneratedProtocolMessageType( + "HistoryEvent", + (_message.Message,), + { + "DESCRIPTOR": _HISTORYEVENT, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.HistoryEvent) + }, +) +_sym_db.RegisterMessage(HistoryEvent) + +History = _reflection.GeneratedProtocolMessageType( + "History", + (_message.Message,), + { + "DESCRIPTOR": _HISTORY, + "__module__": "temporalio.api.history.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.history.v1.History) + }, +) +_sym_db.RegisterMessage(History) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.history.v1B\014MessageProtoP\001Z%go.temporal.io/api/history/v1;history\252\002\031Temporalio.Api.History.V1\352\002\034Temporalio::Api::History::V1" + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ "source_version_stamp" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ "source_version_stamp" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ "inherited_build_id" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ "inherited_build_id" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ "parent_pinned_worker_deployment_version" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES.fields_by_name[ "parent_pinned_worker_deployment_version" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ "failure" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ "failure" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ "inherit_build_id" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES.fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ - "worker_version" - ]._loaded_options = None - _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ "build_id_redirect_counter" - ]._loaded_options = None - _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ "build_id_redirect_counter" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "binary_checksum" - ]._loaded_options = None - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "worker_version" - ]._loaded_options = None - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ - "deployment" - ]._loaded_options = None - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name["deployment"]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "worker_deployment_version" - ]._loaded_options = None - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "worker_deployment_version" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ - "binary_checksum" - ]._loaded_options = None - _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["binary_checksum"]._options = None + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ - "worker_version" - ]._loaded_options = None - _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _WORKFLOWTASKFAILEDEVENTATTRIBUTES.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"].fields_by_name[ + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ "use_workflow_build_id" - ]._loaded_options = None - _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES.fields_by_name[ "use_workflow_build_id" ]._serialized_options = b"\030\001" - _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ - "worker_version" - ]._loaded_options = None - _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ "build_id_redirect_counter" - ]._loaded_options = None - _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES.fields_by_name[ "build_id_redirect_counter" ]._serialized_options = b"\030\001" - _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "worker_version" - ]._loaded_options = None - _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ - "worker_version" - ]._loaded_options = None - _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"].fields_by_name[ + _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name["worker_version"]._options = None + _ACTIVITYTASKFAILEDEVENTATTRIBUTES.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"].fields_by_name[ + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ "worker_version" - ]._loaded_options = None - _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY"]._loaded_options = None - _globals[ - "_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY" - ]._serialized_options = b"8\001" - _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._options = None + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_options = b"8\001" + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ "skip_generate_workflow_task" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ "skip_generate_workflow_task" ]._serialized_options = b"\030\001" - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ].fields_by_name["control"]._loaded_options = None - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ].fields_by_name["control"]._serialized_options = b"\030\001" - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ].fields_by_name["control"]._loaded_options = None - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ].fields_by_name["control"]._serialized_options = b"\030\001" - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ "control" - ]._loaded_options = None - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ "control" - ]._loaded_options = None - _globals["_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ "control" - ]._loaded_options = None - _globals["_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ "control" - ]._loaded_options = None - _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ + "control" + ]._serialized_options = b"\030\001" + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ "inherit_build_id" - ]._loaded_options = None - _globals["_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES.fields_by_name[ "inherit_build_id" ]._serialized_options = b"\030\001" - _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ "control" - ]._loaded_options = None - _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"].fields_by_name[ + ]._options = None + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals[ - "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" - ]._loaded_options = None - _globals[ - "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" - ]._serialized_options = b"8\001" - _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ - "operation_id" - ]._loaded_options = None - _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"].fields_by_name[ + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._options = None + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_options = ( + b"8\001" + ) + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name["operation_id"]._options = None + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES.fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_start = 663 - _globals["_WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_end = 3057 - _globals["_DECLINEDTARGETVERSIONUPGRADE"]._serialized_start = 3060 - _globals["_DECLINEDTARGETVERSIONUPGRADE"]._serialized_end = 3196 - _globals["_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 3199 - _globals["_WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 3364 - _globals["_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_start = 3367 - _globals["_WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_end = 3586 - _globals["_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 3589 - _globals["_WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 3717 - _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"]._serialized_start = 3720 - _globals["_WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES"]._serialized_end = 4653 - _globals["_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_start = 4656 - _globals["_WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_end = 4828 - _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"]._serialized_start = 4831 - _globals["_WORKFLOWTASKSTARTEDEVENTATTRIBUTES"]._serialized_end = 5247 - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 5250 - _globals["_WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 5892 - _globals["_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 5895 - _globals["_WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 6044 - _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"]._serialized_start = 6047 - _globals["_WORKFLOWTASKFAILEDEVENTATTRIBUTES"]._serialized_end = 6438 - _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_start = 6441 - _globals["_ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES"]._serialized_end = 7147 - _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"]._serialized_start = 7150 - _globals["_ACTIVITYTASKSTARTEDEVENTATTRIBUTES"]._serialized_end = 7436 - _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 7439 - _globals["_ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 7671 - _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"]._serialized_start = 7674 - _globals["_ACTIVITYTASKFAILEDEVENTATTRIBUTES"]._serialized_end = 7960 - _globals["_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 7963 - _globals["_ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 8161 - _globals["_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_start = 8163 - _globals["_ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_end = 8277 - _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"]._serialized_start = 8280 - _globals["_ACTIVITYTASKCANCELEDEVENTATTRIBUTES"]._serialized_end = 8554 - _globals["_TIMERSTARTEDEVENTATTRIBUTES"]._serialized_start = 8557 - _globals["_TIMERSTARTEDEVENTATTRIBUTES"]._serialized_end = 8704 - _globals["_TIMERFIREDEVENTATTRIBUTES"]._serialized_start = 8706 - _globals["_TIMERFIREDEVENTATTRIBUTES"]._serialized_end = 8777 - _globals["_TIMERCANCELEDEVENTATTRIBUTES"]._serialized_start = 8780 - _globals["_TIMERCANCELEDEVENTATTRIBUTES"]._serialized_end = 8914 - _globals[ - "_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES" - ]._serialized_start = 8917 - _globals["_WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_end = 9116 - _globals["_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_start = 9119 - _globals["_WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_end = 9254 - _globals["_MARKERRECORDEDEVENTATTRIBUTES"]._serialized_start = 9257 - _globals["_MARKERRECORDEDEVENTATTRIBUTES"]._serialized_end = 9618 - _globals["_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY"]._serialized_start = 9538 - _globals["_MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY"]._serialized_end = 9618 - _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"]._serialized_start = 9621 - _globals["_WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES"]._serialized_end = 9940 - _globals["_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES"]._serialized_start = 9943 - _globals["_WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES"]._serialized_end = 10072 - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ]._serialized_start = 10075 - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ]._serialized_end = 10359 - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ]._serialized_start = 10362 - _globals[ - "_REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ]._serialized_end = 10708 - _globals[ - "_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES" - ]._serialized_start = 10711 - _globals[ - "_EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES" - ]._serialized_end = 10908 - _globals[ - "_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ]._serialized_start = 10911 - _globals[ - "_SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ]._serialized_end = 11290 - _globals[ - "_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ]._serialized_start = 11293 - _globals[ - "_SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ]._serialized_end = 11632 - _globals[ - "_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES" - ]._serialized_start = 11635 - _globals[ - "_EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES" - ]._serialized_end = 11846 - _globals["_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES"]._serialized_start = 11849 - _globals["_UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES"]._serialized_end = 12007 - _globals["_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES"]._serialized_start = 12010 - _globals["_WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES"]._serialized_end = 12148 - _globals[ - "_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ]._serialized_start = 12151 - _globals[ - "_STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES" - ]._serialized_end = 13352 - _globals[ - "_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ]._serialized_start = 13355 - _globals[ - "_STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES" - ]._serialized_end = 13697 - _globals["_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_start = 13700 - _globals["_CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES"]._serialized_end = 13995 - _globals[ - "_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES" - ]._serialized_start = 13998 - _globals["_CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 14323 - _globals["_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_start = 14326 - _globals["_CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES"]._serialized_end = 14705 - _globals["_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_start = 14708 - _globals["_CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES"]._serialized_end = 15033 - _globals["_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 15036 - _globals["_CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 15366 - _globals[ - "_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES" - ]._serialized_start = 15369 - _globals["_CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES"]._serialized_end = 15645 - _globals[ - "_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES" - ]._serialized_start = 15648 - _globals["_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES"]._serialized_end = 16378 - _globals[ - "_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE" - ]._serialized_start = 16228 - _globals[ - "_WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE" - ]._serialized_end = 16378 - _globals[ - "_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" - ]._serialized_start = 16381 - _globals[ - "_WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" - ]._serialized_end = 16701 - _globals[ - "_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" - ]._serialized_start = 16704 - _globals[ - "_ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES" - ]._serialized_end = 16848 - _globals[ - "_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES" - ]._serialized_start = 16851 - _globals["_WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES"]._serialized_end = 17071 - _globals[ - "_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES" - ]._serialized_start = 17074 - _globals["_WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES"]._serialized_end = 17244 - _globals[ - "_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES" - ]._serialized_start = 17247 - _globals["_WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES"]._serialized_end = 17518 - _globals[ - "_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES" - ]._serialized_start = 17521 - _globals["_WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES"]._serialized_end = 17685 - _globals["_WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES"]._serialized_start = 17687 - _globals["_WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES"]._serialized_end = 17781 - _globals["_WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES"]._serialized_start = 17783 - _globals["_WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES"]._serialized_end = 17879 - _globals[ - "_WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES" - ]._serialized_start = 17882 - _globals[ - "_WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES" - ]._serialized_end = 18079 - _globals["_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES"]._serialized_start = 18082 - _globals["_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES"]._serialized_end = 18646 - _globals[ - "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" - ]._serialized_start = 18596 - _globals[ - "_NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY" - ]._serialized_end = 18646 - _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"]._serialized_start = 18649 - _globals["_NEXUSOPERATIONSTARTEDEVENTATTRIBUTES"]._serialized_end = 18786 - _globals["_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES"]._serialized_start = 18789 - _globals["_NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES"]._serialized_end = 18926 - _globals["_NEXUSOPERATIONFAILEDEVENTATTRIBUTES"]._serialized_start = 18929 - _globals["_NEXUSOPERATIONFAILEDEVENTATTRIBUTES"]._serialized_end = 19065 - _globals["_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES"]._serialized_start = 19068 - _globals["_NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES"]._serialized_end = 19206 - _globals["_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES"]._serialized_start = 19209 - _globals["_NEXUSOPERATIONCANCELEDEVENTATTRIBUTES"]._serialized_end = 19347 - _globals["_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_start = 19349 - _globals["_NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES"]._serialized_end = 19465 - _globals[ - "_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES" - ]._serialized_start = 19468 - _globals[ - "_NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES" - ]._serialized_end = 19619 - _globals[ - "_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES" - ]._serialized_start = 19622 - _globals[ - "_NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES" - ]._serialized_end = 19821 - _globals["_HISTORYEVENT"]._serialized_start = 19824 - _globals["_HISTORYEVENT"]._serialized_end = 27962 - _globals["_HISTORY"]._serialized_start = 27964 - _globals["_HISTORY"]._serialized_end = 28028 + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 663 + _WORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 3057 + _DECLINEDTARGETVERSIONUPGRADE._serialized_start = 3060 + _DECLINEDTARGETVERSIONUPGRADE._serialized_end = 3196 + _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 3199 + _WORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 3364 + _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 3367 + _WORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 3586 + _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 3589 + _WORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 3717 + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_start = 3720 + _WORKFLOWEXECUTIONCONTINUEDASNEWEVENTATTRIBUTES._serialized_end = 4653 + _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 4656 + _WORKFLOWTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 4828 + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_start = 4831 + _WORKFLOWTASKSTARTEDEVENTATTRIBUTES._serialized_end = 5247 + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 5250 + _WORKFLOWTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 5892 + _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 5895 + _WORKFLOWTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 6044 + _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_start = 6047 + _WORKFLOWTASKFAILEDEVENTATTRIBUTES._serialized_end = 6438 + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_start = 6441 + _ACTIVITYTASKSCHEDULEDEVENTATTRIBUTES._serialized_end = 7147 + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_start = 7150 + _ACTIVITYTASKSTARTEDEVENTATTRIBUTES._serialized_end = 7436 + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_start = 7439 + _ACTIVITYTASKCOMPLETEDEVENTATTRIBUTES._serialized_end = 7671 + _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_start = 7674 + _ACTIVITYTASKFAILEDEVENTATTRIBUTES._serialized_end = 7960 + _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_start = 7963 + _ACTIVITYTASKTIMEDOUTEVENTATTRIBUTES._serialized_end = 8161 + _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 8163 + _ACTIVITYTASKCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 8277 + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_start = 8280 + _ACTIVITYTASKCANCELEDEVENTATTRIBUTES._serialized_end = 8554 + _TIMERSTARTEDEVENTATTRIBUTES._serialized_start = 8557 + _TIMERSTARTEDEVENTATTRIBUTES._serialized_end = 8704 + _TIMERFIREDEVENTATTRIBUTES._serialized_start = 8706 + _TIMERFIREDEVENTATTRIBUTES._serialized_end = 8777 + _TIMERCANCELEDEVENTATTRIBUTES._serialized_start = 8780 + _TIMERCANCELEDEVENTATTRIBUTES._serialized_end = 8914 + _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 8917 + _WORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 9116 + _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 9119 + _WORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 9254 + _MARKERRECORDEDEVENTATTRIBUTES._serialized_start = 9257 + _MARKERRECORDEDEVENTATTRIBUTES._serialized_end = 9618 + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_start = 9538 + _MARKERRECORDEDEVENTATTRIBUTES_DETAILSENTRY._serialized_end = 9618 + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 9621 + _WORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 9940 + _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 9943 + _WORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 10072 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 10075 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = ( + 10359 + ) + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = ( + 10362 + ) + _REQUESTCANCELEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 10708 + _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 10711 + _EXTERNALWORKFLOWEXECUTIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 10908 + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 10911 + _SIGNALEXTERNALWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 11290 + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 11293 + _SIGNALEXTERNALWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 11632 + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_start = 11635 + _EXTERNALWORKFLOWEXECUTIONSIGNALEDEVENTATTRIBUTES._serialized_end = 11846 + _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_start = 11849 + _UPSERTWORKFLOWSEARCHATTRIBUTESEVENTATTRIBUTES._serialized_end = 12007 + _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_start = 12010 + _WORKFLOWPROPERTIESMODIFIEDEVENTATTRIBUTES._serialized_end = 12148 + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_start = 12151 + _STARTCHILDWORKFLOWEXECUTIONINITIATEDEVENTATTRIBUTES._serialized_end = 13352 + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 13355 + _STARTCHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 13697 + _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_start = 13700 + _CHILDWORKFLOWEXECUTIONSTARTEDEVENTATTRIBUTES._serialized_end = 13995 + _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 13998 + _CHILDWORKFLOWEXECUTIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 14323 + _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_start = 14326 + _CHILDWORKFLOWEXECUTIONFAILEDEVENTATTRIBUTES._serialized_end = 14705 + _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_start = 14708 + _CHILDWORKFLOWEXECUTIONCANCELEDEVENTATTRIBUTES._serialized_end = 15033 + _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 15036 + _CHILDWORKFLOWEXECUTIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 15366 + _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_start = 15369 + _CHILDWORKFLOWEXECUTIONTERMINATEDEVENTATTRIBUTES._serialized_end = 15645 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_start = 15648 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES._serialized_end = 16378 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE._serialized_start = 16228 + _WORKFLOWEXECUTIONOPTIONSUPDATEDEVENTATTRIBUTES_WORKFLOWUPDATEOPTIONSUPDATE._serialized_end = 16378 + _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 16381 + _WORKFLOWPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 16701 + _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_start = 16704 + _ACTIVITYPROPERTIESMODIFIEDEXTERNALLYEVENTATTRIBUTES._serialized_end = 16848 + _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_start = 16851 + _WORKFLOWEXECUTIONUPDATEACCEPTEDEVENTATTRIBUTES._serialized_end = 17071 + _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_start = 17074 + _WORKFLOWEXECUTIONUPDATECOMPLETEDEVENTATTRIBUTES._serialized_end = 17244 + _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_start = 17247 + _WORKFLOWEXECUTIONUPDATEREJECTEDEVENTATTRIBUTES._serialized_end = 17518 + _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_start = 17521 + _WORKFLOWEXECUTIONUPDATEADMITTEDEVENTATTRIBUTES._serialized_end = 17685 + _WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES._serialized_start = 17687 + _WORKFLOWEXECUTIONPAUSEDEVENTATTRIBUTES._serialized_end = 17781 + _WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES._serialized_start = 17783 + _WORKFLOWEXECUTIONUNPAUSEDEVENTATTRIBUTES._serialized_end = 17879 + _WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES._serialized_start = 17882 + _WORKFLOWEXECUTIONTIMESKIPPINGTRANSITIONEDEVENTATTRIBUTES._serialized_end = 18079 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_start = 18082 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES._serialized_end = 18646 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_start = 18596 + _NEXUSOPERATIONSCHEDULEDEVENTATTRIBUTES_NEXUSHEADERENTRY._serialized_end = 18646 + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_start = 18649 + _NEXUSOPERATIONSTARTEDEVENTATTRIBUTES._serialized_end = 18786 + _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_start = 18789 + _NEXUSOPERATIONCOMPLETEDEVENTATTRIBUTES._serialized_end = 18926 + _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_start = 18929 + _NEXUSOPERATIONFAILEDEVENTATTRIBUTES._serialized_end = 19065 + _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_start = 19068 + _NEXUSOPERATIONTIMEDOUTEVENTATTRIBUTES._serialized_end = 19206 + _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_start = 19209 + _NEXUSOPERATIONCANCELEDEVENTATTRIBUTES._serialized_end = 19347 + _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_start = 19349 + _NEXUSOPERATIONCANCELREQUESTEDEVENTATTRIBUTES._serialized_end = 19465 + _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_start = 19468 + _NEXUSOPERATIONCANCELREQUESTCOMPLETEDEVENTATTRIBUTES._serialized_end = 19619 + _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_start = 19622 + _NEXUSOPERATIONCANCELREQUESTFAILEDEVENTATTRIBUTES._serialized_end = 19821 + _HISTORYEVENT._serialized_start = 19824 + _HISTORYEVENT._serialized_end = 27962 + _HISTORY._serialized_start = 27964 + _HISTORY._serialized_end = 28028 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/history/v1/message_pb2.pyi b/temporalio/api/history/v1/message_pb2.pyi index 810479a00..ee158460c 100644 --- a/temporalio/api/history/v1/message_pb2.pyi +++ b/temporalio/api/history/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -28,14 +27,13 @@ import temporalio.api.taskqueue.v1.message_pb2 import temporalio.api.update.v1.message_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """Always the first event in workflow history""" @@ -82,58 +80,13 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): DECLINED_TARGET_VERSION_UPGRADE_FIELD_NUMBER: builtins.int TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int TIME_SKIPPING_STATE_PROPAGATION_FIELD_NUMBER: builtins.int + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... parent_workflow_namespace: builtins.str """If this workflow is a child, the namespace our parent lives in. SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only. """ parent_workflow_namespace_id: builtins.str - parent_initiated_event_id: builtins.int - """EventID of the child execution initiated event in parent workflow""" - continued_execution_run_id: builtins.str - """Run id of the previous workflow which continued-as-new or retried or cron executed into this - workflow. - """ - initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType - original_execution_run_id: builtins.str - """This is the run id when the WorkflowExecutionStarted event was written. - A workflow reset changes the execution run_id, but preserves this field. - """ - identity: builtins.str - """Identity of the client who requested this execution""" - first_execution_run_id: builtins.str - """This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. - Used to identify a chain. - """ - attempt: builtins.int - """Starting at 1, the number of times we have tried to execute this workflow""" - cron_schedule: builtins.str - """If this workflow runs on a cron schedule, it will appear here""" - parent_initiated_event_version: builtins.int - """Version of the child execution initiated event in parent workflow - It should be used together with parent_initiated_event_id to identify - a child initiated event for global namespace - """ - workflow_id: builtins.str - """This field is new in 1.21.""" - inherited_build_id: builtins.str - """When present, this execution is assigned to the build ID of its parent or previous execution. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ - parent_pinned_worker_deployment_version: builtins.str - """When present, it means this is a child workflow of a parent that is Pinned to this Worker - Deployment Version. In this case, child workflow will start as Pinned to this Version instead - of starting on the Current Version of its Task Queue. - This is set only if the child workflow is starting on a Task Queue belonging to the same - Worker Deployment Version. - Deprecated. Use `parent_versioning_info`. - """ - eager_execution_accepted: builtins.bool - """A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and - eager execution was accepted by the server. - Only populated by server with version >= 1.29.0. - """ - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property def parent_workflow_execution( self, @@ -141,33 +94,47 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """Contains information about parent workflow execution that initiated the child workflow these attributes belong to. If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated. """ - + parent_initiated_event_id: builtins.int + """EventID of the child execution initiated event in parent workflow""" @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """SDK will deserialize this and provide it as arguments to the workflow function""" - @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" - @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - + continued_execution_run_id: builtins.str + """Run id of the previous workflow which continued-as-new or retried or cron executed into this + workflow. + """ + initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... @property def last_completion_result( self, ) -> temporalio.api.common.v1.message_pb2.Payloads: ... + original_execution_run_id: builtins.str + """This is the run id when the WorkflowExecutionStarted event was written. + A workflow reset changes the execution run_id, but preserves this field. + """ + identity: builtins.str + """Identity of the client who requested this execution""" + first_execution_run_id: builtins.str + """This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset. + Used to identify a chain. + """ @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... + attempt: builtins.int + """Starting at 1, the number of times we have tried to execute this workflow""" @property def workflow_execution_expiration_time( self, @@ -175,13 +142,13 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ - + cron_schedule: builtins.str + """If this workflow runs on a cron schedule, it will appear here""" @property def first_workflow_task_backoff(self) -> google.protobuf.duration_pb2.Duration: """For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule. """ - @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -194,6 +161,13 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): ) -> temporalio.api.workflow.v1.message_pb2.ResetPoints: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... + parent_initiated_event_version: builtins.int + """Version of the child execution initiated event in parent workflow + It should be used together with parent_initiated_event_id to identify + a child initiated event for global namespace + """ + workflow_id: builtins.str + """This field is new in 1.21.""" @property def source_version_stamp( self, @@ -202,7 +176,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): the queue, then we include it here. Deprecated. [cleanup-experimental-wv] """ - @property def completion_callbacks( self, @@ -210,7 +183,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Callback ]: """Completion callbacks attached when this workflow was started.""" - @property def root_workflow_execution( self, @@ -242,7 +214,10 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): - The root workflow of W1 is W1 and the root workflow of W2 is W2. - W1 and W2 have root_workflow_execution set to nil. """ - + inherited_build_id: builtins.str + """When present, this execution is assigned to the build ID of its parent or previous execution. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ @property def versioning_override( self, @@ -251,11 +226,17 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Children, crons, retries, and continue-as-new will inherit source run's override if pinned and if the new workflow's Task Queue belongs to the override version. """ - + parent_pinned_worker_deployment_version: builtins.str + """When present, it means this is a child workflow of a parent that is Pinned to this Worker + Deployment Version. In this case, child workflow will start as Pinned to this Version instead + of starting on the Current Version of its Task Queue. + This is set only if the child workflow is starting on a Task Queue belonging to the same + Worker Deployment Version. + Deprecated. Use `parent_versioning_info`. + """ @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - @property def inherited_pinned_version( self, @@ -278,7 +259,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Note: This field is mutually exclusive with inherited_auto_upgrade_info. Additionaly, versioning_override, if present, overrides this field during routing decisions. """ - @property def inherited_auto_upgrade_info( self, @@ -305,9 +285,13 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): - SDK implementations do not interact with this field and is only used internally by the server to ensure task routing correctness. """ - + eager_execution_accepted: builtins.bool + """A boolean indicating whether the SDK has asked to eagerly execute the first workflow task for this workflow and + eager execution was accepted by the server. + Only populated by server with version >= 1.29.0. + """ @property - def declined_target_version_upgrade(self) -> Global___DeclinedTargetVersionUpgrade: + def declined_target_version_upgrade(self) -> global___DeclinedTargetVersionUpgrade: """During a previous run of this workflow, the server may have notified the SDK that the Target Worker Deployment Version changed, but the SDK declined to upgrade (e.g., by continuing-as-new with PINNED behavior). This field records @@ -319,7 +303,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): Used internally by the server during continue-as-new and retry. Should not be read or interpreted by SDKs. """ - @property def time_skipping_config( self, @@ -331,7 +314,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): The configuration may be updated after start via UpdateWorkflowExecutionOptions, which will be reflected in the WorkflowExecutionOptionsUpdatedEvent. """ - @property def time_skipping_state_propagation( self, @@ -339,7 +321,6 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): """The time-skipping state propagated from a previous run of this workflow. This can be nil if no time skipping has occurred or there is no previous run. """ - def __init__( self, *, @@ -394,7 +375,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): inherited_auto_upgrade_info: temporalio.api.deployment.v1.message_pb2.InheritedAutoUpgradeInfo | None = ..., eager_execution_accepted: builtins.bool = ..., - declined_target_version_upgrade: Global___DeclinedTargetVersionUpgrade + declined_target_version_upgrade: global___DeclinedTargetVersionUpgrade | None = ..., time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig | None = ..., @@ -403,7 +384,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "continued_failure", b"continued_failure", "declined_target_version_upgrade", @@ -458,7 +439,7 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "completion_callbacks", @@ -544,11 +525,10 @@ class WorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionStartedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionStartedEventAttributes = ( WorkflowExecutionStartedEventAttributes ) -@typing.final class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): """Wrapper for a target deployment version that the SDK declined to upgrade to. See declined_target_version_upgrade on WorkflowExecutionStartedEventAttributes. @@ -558,16 +538,16 @@ class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): DEPLOYMENT_VERSION_FIELD_NUMBER: builtins.int REVISION_NUMBER_FIELD_NUMBER: builtins.int + @property + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... revision_number: builtins.int """Revision number of the task queue routing config at the time the target was declined. If an incoming target's revision is <= this value, it is not newer and is not used for deciding whether or not to suppress the upgrade signal. """ - @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... def __init__( self, *, @@ -576,11 +556,14 @@ class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): revision_number: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_version", b"deployment_version"] + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version", b"deployment_version", "revision_number", @@ -588,25 +571,21 @@ class DeclinedTargetVersionUpgrade(google.protobuf.message.Message): ], ) -> None: ... -Global___DeclinedTargetVersionUpgrade: typing_extensions.TypeAlias = ( - DeclinedTargetVersionUpgrade -) +global___DeclinedTargetVersionUpgrade = DeclinedTargetVersionUpgrade -@typing.final class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RESULT_FIELD_NUMBER: builtins.int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int NEW_EXECUTION_RUN_ID_FIELD_NUMBER: builtins.int + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized result of workflow completion (ie: The return value of the workflow function)""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" new_execution_run_id: builtins.str """If another run is started by cron, this contains the new run id.""" - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized result of workflow completion (ie: The return value of the workflow function)""" - def __init__( self, *, @@ -615,11 +594,11 @@ class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message) new_execution_run_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "new_execution_run_id", b"new_execution_run_id", "result", @@ -629,11 +608,10 @@ class WorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message) ], ) -> None: ... -Global___WorkflowExecutionCompletedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionCompletedEventAttributes = ( WorkflowExecutionCompletedEventAttributes ) -@typing.final class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -641,15 +619,14 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): RETRY_STATE_FIELD_NUMBER: builtins.int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int NEW_EXECUTION_RUN_ID_FIELD_NUMBER: builtins.int + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Serialized result of workflow failure (ex: An exception thrown, or error returned)""" retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" new_execution_run_id: builtins.str """If another run is started by cron or retry, this contains the new run id.""" - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Serialized result of workflow failure (ex: An exception thrown, or error returned)""" - def __init__( self, *, @@ -659,11 +636,11 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): new_execution_run_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "new_execution_run_id", @@ -675,11 +652,8 @@ class WorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = ( - WorkflowExecutionFailedEventAttributes -) +global___WorkflowExecutionFailedEventAttributes = WorkflowExecutionFailedEventAttributes -@typing.final class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -696,7 +670,7 @@ class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "new_execution_run_id", b"new_execution_run_id", "retry_state", @@ -704,11 +678,10 @@ class WorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionTimedOutEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionTimedOutEventAttributes = ( WorkflowExecutionTimedOutEventAttributes ) -@typing.final class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -730,21 +703,6 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes INITIAL_VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int new_execution_run_id: builtins.str """The run ID of the new workflow started by this continue-as-new""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" - initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType - inherit_build_id: builtins.bool - """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, - the assignment rules will be used to independently assign a Build ID to the new execution. - Deprecated. Only considered for versioning v0.2. - """ - initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. - For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version - of the previous run. - """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -754,31 +712,29 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property def backoff_start_interval(self) -> google.protobuf.duration_pb2.Duration: """How long the server will wait before scheduling the first workflow task for the new run. Used for cron, retry, and other continue-as-new cases that server may enforce some minimal delay between new runs for system protection purpose. """ - + initiator: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Deprecated. If a workflow's retry policy would cause a new run to start when the current one has failed, this field would be populated with that failure. Now (when supported by server and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set. """ - @property def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """The result from the most recent completed run of this workflow. The SDK surfaces this to the new run via APIs such as `GetLastCompletionResult`. """ - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -787,6 +743,18 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + inherit_build_id: builtins.bool + """If this is set, the new execution inherits the Build ID of the current execution. Otherwise, + the assignment rules will be used to independently assign a Build ID to the new execution. + Deprecated. Only considered for versioning v0.2. + """ + initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. + For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version + of the previous run. + """ def __init__( self, *, @@ -811,7 +779,7 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff_start_interval", b"backoff_start_interval", "failure", @@ -838,7 +806,7 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff_start_interval", b"backoff_start_interval", "failure", @@ -874,23 +842,19 @@ class WorkflowExecutionContinuedAsNewEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -Global___WorkflowExecutionContinuedAsNewEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionContinuedAsNewEventAttributes = ( WorkflowExecutionContinuedAsNewEventAttributes ) -@typing.final class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor TASK_QUEUE_FIELD_NUMBER: builtins.int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: builtins.int ATTEMPT_FIELD_NUMBER: builtins.int - attempt: builtins.int - """Starting at 1, how many attempts there have been to complete this task""" @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: """The task queue this workflow task was enqueued in, which could be a normal or sticky queue""" - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """How long the worker has to process this task once receiving it before it times out @@ -898,7 +862,8 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - + attempt: builtins.int + """Starting at 1, how many attempts there have been to complete this task""" def __init__( self, *, @@ -908,7 +873,7 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "start_to_close_timeout", b"start_to_close_timeout", "task_queue", @@ -917,7 +882,7 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "start_to_close_timeout", @@ -927,11 +892,8 @@ class WorkflowTaskScheduledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowTaskScheduledEventAttributes: typing_extensions.TypeAlias = ( - WorkflowTaskScheduledEventAttributes -) +global___WorkflowTaskScheduledEventAttributes = WorkflowTaskScheduledEventAttributes -@typing.final class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -958,6 +920,15 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): """ suggest_continue_as_new: builtins.bool """True if this workflow should continue-as-new soon. See `suggest_continue_as_new_reasons` for why.""" + @property + def suggest_continue_as_new_reasons( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ + temporalio.api.enums.v1.workflow_pb2.SuggestContinueAsNewReason.ValueType + ]: + """The reason(s) that suggest_continue_as_new is true, if it is. + Unset if suggest_continue_as_new is false. + """ target_worker_deployment_version_changed: builtins.bool """True if Workflow's Target Worker Deployment Version is different from its Pinned Version and the workflow is Pinned. @@ -968,27 +939,16 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): continue-as-new regardless of the suggestion. Note that history event count is just the event id of this event, so we don't include it explicitly here. """ - build_id_redirect_counter: builtins.int - """Used by server internally to properly reapply build ID redirects to an execution - when rebuilding it from events. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ - @property - def suggest_continue_as_new_reasons( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ - temporalio.api.enums.v1.workflow_pb2.SuggestContinueAsNewReason.ValueType - ]: - """The reason(s) that suggest_continue_as_new is true, if it is. - Unset if suggest_continue_as_new is false. - """ - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker to whom this task was dispatched. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - + build_id_redirect_counter: builtins.int + """Used by server internally to properly reapply build ID redirects to an execution + when rebuilding it from events. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ def __init__( self, *, @@ -1007,11 +967,11 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): build_id_redirect_counter: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["worker_version", b"worker_version"] + self, field_name: typing_extensions.Literal["worker_version", b"worker_version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id_redirect_counter", b"build_id_redirect_counter", "history_size_bytes", @@ -1033,11 +993,8 @@ class WorkflowTaskStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowTaskStartedEventAttributes: typing_extensions.TypeAlias = ( - WorkflowTaskStartedEventAttributes -) +global___WorkflowTaskStartedEventAttributes = WorkflowTaskStartedEventAttributes -@typing.final class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1063,22 +1020,6 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): """Binary ID of the worker who completed this task Deprecated. Replaced with `deployment_version`. """ - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) - """Versioning behavior sent by the worker that completed this task for this particular workflow - execution. UNSPECIFIED means the task was completed by an unversioned worker. This value - updates workflow execution's `versioning_info.behavior`. - """ - worker_deployment_version: builtins.str - """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` - is set. This value updates workflow execution's `versioning_info.version`. - Deprecated. Replaced with `deployment_version`. - """ - worker_deployment_name: builtins.str - """The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` - is set. This value updates workflow execution's `worker_deployment_name`. - """ @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. If present, the `build_id` field @@ -1086,7 +1027,6 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): populated to preserve compatibility). Deprecated. Use `deployment_version` and `versioning_behavior` instead. """ - @property def sdk_metadata( self, @@ -1094,13 +1034,11 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ - @property def metering_metadata( self, ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data sent during workflow task completion and recorded here for posterity""" - @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """The deployment that completed this task. May or may not be set for unversioned workers, @@ -1108,7 +1046,22 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): `versioning_info.deployment`. Deprecated. Replaced with `deployment_version`. """ - + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) + """Versioning behavior sent by the worker that completed this task for this particular workflow + execution. UNSPECIFIED means the task was completed by an unversioned worker. This value + updates workflow execution's `versioning_info.behavior`. + """ + worker_deployment_version: builtins.str + """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` + is set. This value updates workflow execution's `versioning_info.version`. + Deprecated. Replaced with `deployment_version`. + """ + worker_deployment_name: builtins.str + """The name of Worker Deployment that completed this task. Must be set if `versioning_behavior` + is set. This value updates workflow execution's `worker_deployment_name`. + """ @property def deployment_version( self, @@ -1116,7 +1069,6 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): """The Worker Deployment Version that completed this task. Must be set if `versioning_behavior` is set. This value updates workflow execution's `versioning_info.deployment_version`. """ - def __init__( self, *, @@ -1139,7 +1091,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_version", @@ -1154,7 +1106,7 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "binary_checksum", b"binary_checksum", "deployment", @@ -1182,11 +1134,8 @@ class WorkflowTaskCompletedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowTaskCompletedEventAttributes: typing_extensions.TypeAlias = ( - WorkflowTaskCompletedEventAttributes -) +global___WorkflowTaskCompletedEventAttributes = WorkflowTaskCompletedEventAttributes -@typing.final class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1207,7 +1156,7 @@ class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "scheduled_event_id", b"scheduled_event_id", "started_event_id", @@ -1217,11 +1166,8 @@ class WorkflowTaskTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowTaskTimedOutEventAttributes: typing_extensions.TypeAlias = ( - WorkflowTaskTimedOutEventAttributes -) +global___WorkflowTaskTimedOutEventAttributes = WorkflowTaskTimedOutEventAttributes -@typing.final class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1240,6 +1186,9 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): started_event_id: builtins.int """The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to""" cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """The failure details""" identity: builtins.str """If a worker explicitly failed this task, this field contains the worker's identity. When the server generates the failure internally this field is set as 'history-service'. @@ -1256,10 +1205,6 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): """Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] If a worker explicitly failed this task, its binary id """ - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """The failure details""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. If present, the `build_id` field @@ -1267,7 +1212,6 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): populated to preserve compatibility). Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - def __init__( self, *, @@ -1285,13 +1229,13 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "base_run_id", b"base_run_id", "binary_checksum", @@ -1315,11 +1259,8 @@ class WorkflowTaskFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowTaskFailedEventAttributes: typing_extensions.TypeAlias = ( - WorkflowTaskFailedEventAttributes -) +global___WorkflowTaskFailedEventAttributes = WorkflowTaskFailedEventAttributes -@typing.final class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1338,13 +1279,6 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): PRIORITY_FIELD_NUMBER: builtins.int activity_id: builtins.str """The worker/user assigned identifier for the activity""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" - use_workflow_build_id: builtins.bool - """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, - Assignment rules of the activity's Task Queue will be used to determine the Build ID. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... @property @@ -1361,7 +1295,6 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -1372,7 +1305,6 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -1382,24 +1314,27 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" - + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1. """ - + use_workflow_build_id: builtins.bool + """If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, + Assignment rules of the activity's Task Queue will be used to determine the Build ID. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ - def __init__( self, *, @@ -1419,7 +1354,7 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_type", b"activity_type", "header", @@ -1444,7 +1379,7 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -1474,11 +1409,8 @@ class ActivityTaskScheduledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityTaskScheduledEventAttributes: typing_extensions.TypeAlias = ( - ActivityTaskScheduledEventAttributes -) +global___ActivityTaskScheduledEventAttributes = ActivityTaskScheduledEventAttributes -@typing.final class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1503,23 +1435,21 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): """ attempt: builtins.int """Starting at 1, the number of times this task has been attempted""" - build_id_redirect_counter: builtins.int - """Used by server internally to properly reapply build ID redirects to an execution - when rebuilding it from events. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ @property def last_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Will be set to the most recent failure details, if this task has previously failed and then been retried. """ - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker to whom this task was dispatched. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - + build_id_redirect_counter: builtins.int + """Used by server internally to properly reapply build ID redirects to an execution + when rebuilding it from events. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ def __init__( self, *, @@ -1534,13 +1464,13 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_failure", b"last_failure", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "build_id_redirect_counter", @@ -1558,11 +1488,8 @@ class ActivityTaskStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityTaskStartedEventAttributes: typing_extensions.TypeAlias = ( - ActivityTaskStartedEventAttributes -) +global___ActivityTaskStartedEventAttributes = ActivityTaskStartedEventAttributes -@typing.final class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1571,22 +1498,20 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): STARTED_EVENT_ID_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int WORKER_VERSION_FIELD_NUMBER: builtins.int + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized results of the activity. IE: The return value of the activity function""" scheduled_event_id: builtins.int """The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to""" started_event_id: builtins.int """The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to""" identity: builtins.str """id of the worker that completed this task""" - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized results of the activity. IE: The return value of the activity function""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - def __init__( self, *, @@ -1599,13 +1524,13 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "result", b"result", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "result", @@ -1619,11 +1544,8 @@ class ActivityTaskCompletedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityTaskCompletedEventAttributes: typing_extensions.TypeAlias = ( - ActivityTaskCompletedEventAttributes -) +global___ActivityTaskCompletedEventAttributes = ActivityTaskCompletedEventAttributes -@typing.final class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1633,6 +1555,9 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int WORKER_VERSION_FIELD_NUMBER: builtins.int + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Failure details""" scheduled_event_id: builtins.int """The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to""" started_event_id: builtins.int @@ -1640,16 +1565,11 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): identity: builtins.str """id of the worker that failed this task""" retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Failure details""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - def __init__( self, *, @@ -1663,13 +1583,13 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "identity", @@ -1685,11 +1605,8 @@ class ActivityTaskFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityTaskFailedEventAttributes: typing_extensions.TypeAlias = ( - ActivityTaskFailedEventAttributes -) +global___ActivityTaskFailedEventAttributes = ActivityTaskFailedEventAttributes -@typing.final class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1697,17 +1614,16 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): SCHEDULED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int - scheduled_event_id: builtins.int - """The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to""" - started_event_id: builtins.int - """The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to""" - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """If this activity had failed, was retried, and then timed out, that failure is stored as the `cause` in here. """ - + scheduled_event_id: builtins.int + """The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to""" + started_event_id: builtins.int + """The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to""" + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -1717,11 +1633,11 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "retry_state", @@ -1733,11 +1649,8 @@ class ActivityTaskTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityTaskTimedOutEventAttributes: typing_extensions.TypeAlias = ( - ActivityTaskTimedOutEventAttributes -) +global___ActivityTaskTimedOutEventAttributes = ActivityTaskTimedOutEventAttributes -@typing.final class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1755,7 +1668,7 @@ class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", @@ -1763,11 +1676,10 @@ class ActivityTaskCancelRequestedEventAttributes(google.protobuf.message.Message ], ) -> None: ... -Global___ActivityTaskCancelRequestedEventAttributes: typing_extensions.TypeAlias = ( +global___ActivityTaskCancelRequestedEventAttributes = ( ActivityTaskCancelRequestedEventAttributes ) -@typing.final class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1777,6 +1689,9 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): STARTED_EVENT_ID_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int WORKER_VERSION_FIELD_NUMBER: builtins.int + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Additional information that the activity reported upon confirming cancellation""" latest_cancel_requested_event_id: builtins.int """id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same activity @@ -1787,16 +1702,11 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): """The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to""" identity: builtins.str """id of the worker who canceled this activity""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Additional information that the activity reported upon confirming cancellation""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this workflow task. Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - def __init__( self, *, @@ -1810,13 +1720,13 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "worker_version", b"worker_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "identity", @@ -1832,11 +1742,8 @@ class ActivityTaskCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityTaskCanceledEventAttributes: typing_extensions.TypeAlias = ( - ActivityTaskCanceledEventAttributes -) +global___ActivityTaskCanceledEventAttributes = ActivityTaskCanceledEventAttributes -@typing.final class TimerStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1845,8 +1752,6 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: builtins.int timer_id: builtins.str """The worker/user assigned id for this timer""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property def start_to_fire_timeout(self) -> google.protobuf.duration_pb2.Duration: """How long until this timer fires @@ -1854,7 +1759,8 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" def __init__( self, *, @@ -1864,11 +1770,13 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["start_to_fire_timeout", b"start_to_fire_timeout"], + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", b"start_to_fire_timeout" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "start_to_fire_timeout", b"start_to_fire_timeout", "timer_id", @@ -1878,11 +1786,8 @@ class TimerStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___TimerStartedEventAttributes: typing_extensions.TypeAlias = ( - TimerStartedEventAttributes -) +global___TimerStartedEventAttributes = TimerStartedEventAttributes -@typing.final class TimerFiredEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1900,16 +1805,13 @@ class TimerFiredEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "started_event_id", b"started_event_id", "timer_id", b"timer_id" ], ) -> None: ... -Global___TimerFiredEventAttributes: typing_extensions.TypeAlias = ( - TimerFiredEventAttributes -) +global___TimerFiredEventAttributes = TimerFiredEventAttributes -@typing.final class TimerCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1935,7 +1837,7 @@ class TimerCanceledEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "started_event_id", @@ -1947,11 +1849,8 @@ class TimerCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___TimerCanceledEventAttributes: typing_extensions.TypeAlias = ( - TimerCanceledEventAttributes -) +global___TimerCanceledEventAttributes = TimerCanceledEventAttributes -@typing.final class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1965,12 +1864,12 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me """The ID of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event in the external workflow history when the cancellation was requested by another workflow. """ - identity: builtins.str - """id of the worker or client who requested this cancel""" @property def external_workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + identity: builtins.str + """id of the worker or client who requested this cancel""" def __init__( self, *, @@ -1982,13 +1881,13 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external_workflow_execution", b"external_workflow_execution" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cause", b"cause", "external_initiated_event_id", @@ -2000,9 +1899,10 @@ class WorkflowExecutionCancelRequestedEventAttributes(google.protobuf.message.Me ], ) -> None: ... -Global___WorkflowExecutionCancelRequestedEventAttributes: typing_extensions.TypeAlias = WorkflowExecutionCancelRequestedEventAttributes +global___WorkflowExecutionCancelRequestedEventAttributes = ( + WorkflowExecutionCancelRequestedEventAttributes +) -@typing.final class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2019,11 +1919,11 @@ class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "workflow_task_completed_event_id", @@ -2031,15 +1931,13 @@ class WorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionCanceledEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionCanceledEventAttributes = ( WorkflowExecutionCanceledEventAttributes ) -@typing.final class MarkerRecordedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class DetailsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2055,10 +1953,11 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... MARKER_NAME_FIELD_NUMBER: builtins.int @@ -2068,8 +1967,6 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int marker_name: builtins.str """Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property def details( self, @@ -2077,13 +1974,13 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payloads ]: """Serialized information recorded in the marker""" - + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Some uses of markers, like a local activity, could "fail". If they did that is recorded here.""" - def __init__( self, *, @@ -2097,11 +1994,14 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure", "header", b"header"] + self, + field_name: typing_extensions.Literal[ + "failure", b"failure", "header", b"header" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "failure", @@ -2115,11 +2015,8 @@ class MarkerRecordedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___MarkerRecordedEventAttributes: typing_extensions.TypeAlias = ( - MarkerRecordedEventAttributes -) +global___MarkerRecordedEventAttributes = MarkerRecordedEventAttributes -@typing.final class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2132,30 +2029,27 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int signal_name: builtins.str """The name/type of the signal to fire""" - identity: builtins.str - """id of the worker/client who sent this signal""" - skip_generate_workflow_task: builtins.bool - """Deprecated. This field is never respected and should always be set to false.""" - request_id: builtins.str - """The request ID of the Signal request, used by the server to attach this to - the correct Event ID when generating link. - """ @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Will be deserialized and provided as argument(s) to the signal handler""" - + identity: builtins.str + """id of the worker/client who sent this signal""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that were passed by the sender of the signal and copied by temporal server into the workflow task. """ - + skip_generate_workflow_task: builtins.bool + """Deprecated. This field is never respected and should always be set to false.""" @property def external_workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """When signal origin is a workflow execution, this field is set.""" - + request_id: builtins.str + """The request ID of the Signal request, used by the server to attach this to + the correct Event ID when generating link. + """ def __init__( self, *, @@ -2170,7 +2064,7 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external_workflow_execution", b"external_workflow_execution", "header", @@ -2181,7 +2075,7 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external_workflow_execution", b"external_workflow_execution", "header", @@ -2199,11 +2093,10 @@ class WorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionSignaledEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionSignaledEventAttributes = ( WorkflowExecutionSignaledEventAttributes ) -@typing.final class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2212,10 +2105,10 @@ class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message IDENTITY_FIELD_NUMBER: builtins.int reason: builtins.str """User/client provided reason for termination""" - identity: builtins.str - """id of the client who requested termination""" @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... + identity: builtins.str + """id of the client who requested termination""" def __init__( self, *, @@ -2224,20 +2117,19 @@ class WorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "identity", b"identity", "reason", b"reason" ], ) -> None: ... -Global___WorkflowExecutionTerminatedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionTerminatedEventAttributes = ( WorkflowExecutionTerminatedEventAttributes ) -@typing.final class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( google.protobuf.message.Message ): @@ -2257,6 +2149,10 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... control: builtins.str """Deprecated.""" child_workflow_only: builtins.bool @@ -2265,10 +2161,6 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( """ reason: builtins.str """Reason for requesting the cancellation""" - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, @@ -2282,11 +2174,14 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( reason: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -2304,9 +2199,10 @@ class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes( ], ) -> None: ... -Global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: typing_extensions.TypeAlias = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes +global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = ( + RequestCancelExternalWorkflowExecutionInitiatedEventAttributes +) -@typing.final class RequestCancelExternalWorkflowExecutionFailedEventAttributes( google.protobuf.message.Message ): @@ -2327,16 +2223,16 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... initiated_event_id: builtins.int """id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure corresponds to """ control: builtins.str """Deprecated.""" - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, @@ -2350,11 +2246,14 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( control: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cause", b"cause", "control", @@ -2372,9 +2271,10 @@ class RequestCancelExternalWorkflowExecutionFailedEventAttributes( ], ) -> None: ... -Global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = RequestCancelExternalWorkflowExecutionFailedEventAttributes +global___RequestCancelExternalWorkflowExecutionFailedEventAttributes = ( + RequestCancelExternalWorkflowExecutionFailedEventAttributes +) -@typing.final class ExternalWorkflowExecutionCancelRequestedEventAttributes( google.protobuf.message.Message ): @@ -2407,11 +2307,14 @@ class ExternalWorkflowExecutionCancelRequestedEventAttributes( | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -2423,9 +2326,10 @@ class ExternalWorkflowExecutionCancelRequestedEventAttributes( ], ) -> None: ... -Global___ExternalWorkflowExecutionCancelRequestedEventAttributes: typing_extensions.TypeAlias = ExternalWorkflowExecutionCancelRequestedEventAttributes +global___ExternalWorkflowExecutionCancelRequestedEventAttributes = ( + ExternalWorkflowExecutionCancelRequestedEventAttributes +) -@typing.final class SignalExternalWorkflowExecutionInitiatedEventAttributes( google.protobuf.message.Message ): @@ -2447,22 +2351,21 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """name/type of the signal to fire in the external workflow""" + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized arguments to provide to the signal handler""" control: builtins.str """Deprecated.""" child_workflow_only: builtins.bool """Workers are expected to set this to true if the workflow they are requesting to cancel is a child of the workflow which issued the request """ - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized arguments to provide to the signal handler""" - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... def __init__( @@ -2481,7 +2384,7 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "input", @@ -2492,7 +2395,7 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "child_workflow_only", b"child_workflow_only", "control", @@ -2514,9 +2417,10 @@ class SignalExternalWorkflowExecutionInitiatedEventAttributes( ], ) -> None: ... -Global___SignalExternalWorkflowExecutionInitiatedEventAttributes: typing_extensions.TypeAlias = SignalExternalWorkflowExecutionInitiatedEventAttributes +global___SignalExternalWorkflowExecutionInitiatedEventAttributes = ( + SignalExternalWorkflowExecutionInitiatedEventAttributes +) -@typing.final class SignalExternalWorkflowExecutionFailedEventAttributes( google.protobuf.message.Message ): @@ -2537,13 +2441,13 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - initiated_event_id: builtins.int - control: builtins.str - """Deprecated.""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + initiated_event_id: builtins.int + control: builtins.str + """Deprecated.""" def __init__( self, *, @@ -2557,11 +2461,14 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( control: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cause", b"cause", "control", @@ -2579,9 +2486,10 @@ class SignalExternalWorkflowExecutionFailedEventAttributes( ], ) -> None: ... -Global___SignalExternalWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = SignalExternalWorkflowExecutionFailedEventAttributes +global___SignalExternalWorkflowExecutionFailedEventAttributes = ( + SignalExternalWorkflowExecutionFailedEventAttributes +) -@typing.final class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2597,12 +2505,12 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - control: builtins.str - """Deprecated.""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + control: builtins.str + """Deprecated.""" def __init__( self, *, @@ -2614,11 +2522,14 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M control: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "control", b"control", "initiated_event_id", @@ -2632,9 +2543,10 @@ class ExternalWorkflowExecutionSignaledEventAttributes(google.protobuf.message.M ], ) -> None: ... -Global___ExternalWorkflowExecutionSignaledEventAttributes: typing_extensions.TypeAlias = ExternalWorkflowExecutionSignaledEventAttributes +global___ExternalWorkflowExecutionSignaledEventAttributes = ( + ExternalWorkflowExecutionSignaledEventAttributes +) -@typing.final class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2654,11 +2566,14 @@ class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Mess | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["search_attributes", b"search_attributes"] + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "search_attributes", b"search_attributes", "workflow_task_completed_event_id", @@ -2666,11 +2581,10 @@ class UpsertWorkflowSearchAttributesEventAttributes(google.protobuf.message.Mess ], ) -> None: ... -Global___UpsertWorkflowSearchAttributesEventAttributes: typing_extensions.TypeAlias = ( +global___UpsertWorkflowSearchAttributesEventAttributes = ( UpsertWorkflowSearchAttributesEventAttributes ) -@typing.final class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2684,7 +2598,6 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted. """ - def __init__( self, *, @@ -2692,11 +2605,11 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "upserted_memo", b"upserted_memo", "workflow_task_completed_event_id", @@ -2704,11 +2617,10 @@ class WorkflowPropertiesModifiedEventAttributes(google.protobuf.message.Message) ], ) -> None: ... -Global___WorkflowPropertiesModifiedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowPropertiesModifiedEventAttributes = ( WorkflowPropertiesModifiedEventAttributes ) -@typing.final class StartChildWorkflowExecutionInitiatedEventAttributes( google.protobuf.message.Message ): @@ -2742,25 +2654,6 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( """ namespace_id: builtins.str workflow_id: builtins.str - parent_close_policy: ( - temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType - ) - """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - control: builtins.str - """Deprecated.""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" - cron_schedule: builtins.str - """If this child runs on a cron schedule, it will appear here""" - inherit_build_id: builtins.bool - """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment - rules of the child's Task Queue will be used to independently assign a Build ID to it. - Deprecated. Only considered for versioning v0.2. - """ @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -2770,17 +2663,28 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" - @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - + parent_close_policy: ( + temporalio.api.enums.v1.workflow_pb2.ParentClosePolicy.ValueType + ) + """Default: PARENT_CLOSE_POLICY_TERMINATE.""" + control: builtins.str + """Deprecated.""" + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... + cron_schedule: builtins.str + """If this child runs on a cron schedule, it will appear here""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... @property @@ -2789,16 +2693,19 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + inherit_build_id: builtins.bool + """If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment + rules of the child's Task Queue will be used to independently assign a Build ID to it. + Deprecated. Only considered for versioning v0.2. + """ @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - @property def time_skipping_config( self, ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """The propagated time-skipping configuration for the child workflow.""" - @property def time_skipping_state_propagation( self, @@ -2806,7 +2713,6 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( """The time-skipping state propagated from the parent workflow. This can be nil if no time skipping has occurred or there is no previous run. """ - def __init__( self, *, @@ -2838,7 +2744,7 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "input", @@ -2869,7 +2775,7 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "control", b"control", "cron_schedule", @@ -2917,9 +2823,10 @@ class StartChildWorkflowExecutionInitiatedEventAttributes( ], ) -> None: ... -Global___StartChildWorkflowExecutionInitiatedEventAttributes: typing_extensions.TypeAlias = StartChildWorkflowExecutionInitiatedEventAttributes +global___StartChildWorkflowExecutionInitiatedEventAttributes = ( + StartChildWorkflowExecutionInitiatedEventAttributes +) -@typing.final class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2937,6 +2844,8 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M """ namespace_id: builtins.str workflow_id: builtins.str + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... cause: temporalio.api.enums.v1.failed_cause_pb2.StartChildWorkflowExecutionFailedCause.ValueType control: builtins.str """Deprecated.""" @@ -2944,8 +2853,6 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" workflow_task_completed_event_id: builtins.int """The `WORKFLOW_TASK_COMPLETED` event which this command was reported with""" - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... def __init__( self, *, @@ -2959,11 +2866,11 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M workflow_task_completed_event_id: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_type", b"workflow_type"] + self, field_name: typing_extensions.Literal["workflow_type", b"workflow_type"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cause", b"cause", "control", @@ -2983,9 +2890,10 @@ class StartChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.M ], ) -> None: ... -Global___StartChildWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = StartChildWorkflowExecutionFailedEventAttributes +global___StartChildWorkflowExecutionFailedEventAttributes = ( + StartChildWorkflowExecutionFailedEventAttributes +) -@typing.final class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3023,7 +2931,7 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "workflow_execution", @@ -3034,7 +2942,7 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "initiated_event_id", @@ -3050,11 +2958,10 @@ class ChildWorkflowExecutionStartedEventAttributes(google.protobuf.message.Messa ], ) -> None: ... -Global___ChildWorkflowExecutionStartedEventAttributes: typing_extensions.TypeAlias = ( +global___ChildWorkflowExecutionStartedEventAttributes = ( ChildWorkflowExecutionStartedEventAttributes ) -@typing.final class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3065,23 +2972,23 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes WORKFLOW_TYPE_FIELD_NUMBER: builtins.int INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... namespace: builtins.str """Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" def __init__( self, *, @@ -3096,7 +3003,7 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "result", b"result", "workflow_execution", @@ -3107,7 +3014,7 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -3125,11 +3032,10 @@ class ChildWorkflowExecutionCompletedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -Global___ChildWorkflowExecutionCompletedEventAttributes: typing_extensions.TypeAlias = ( +global___ChildWorkflowExecutionCompletedEventAttributes = ( ChildWorkflowExecutionCompletedEventAttributes ) -@typing.final class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3141,24 +3047,24 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int RETRY_STATE_FIELD_NUMBER: builtins.int + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... namespace: builtins.str """Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -3174,7 +3080,7 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "workflow_execution", @@ -3185,7 +3091,7 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "initiated_event_id", @@ -3205,11 +3111,10 @@ class ChildWorkflowExecutionFailedEventAttributes(google.protobuf.message.Messag ], ) -> None: ... -Global___ChildWorkflowExecutionFailedEventAttributes: typing_extensions.TypeAlias = ( +global___ChildWorkflowExecutionFailedEventAttributes = ( ChildWorkflowExecutionFailedEventAttributes ) -@typing.final class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3220,23 +3125,23 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess WORKFLOW_TYPE_FIELD_NUMBER: builtins.int INITIATED_EVENT_ID_FIELD_NUMBER: builtins.int STARTED_EVENT_ID_FIELD_NUMBER: builtins.int + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... namespace: builtins.str """Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" def __init__( self, *, @@ -3251,7 +3156,7 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "workflow_execution", @@ -3262,7 +3167,7 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "initiated_event_id", @@ -3280,11 +3185,10 @@ class ChildWorkflowExecutionCanceledEventAttributes(google.protobuf.message.Mess ], ) -> None: ... -Global___ChildWorkflowExecutionCanceledEventAttributes: typing_extensions.TypeAlias = ( +global___ChildWorkflowExecutionCanceledEventAttributes = ( ChildWorkflowExecutionCanceledEventAttributes ) -@typing.final class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3300,17 +3204,17 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" - retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" + retry_state: temporalio.api.enums.v1.workflow_pb2.RetryState.ValueType def __init__( self, *, @@ -3325,7 +3229,7 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "workflow_execution", b"workflow_execution", "workflow_type", @@ -3334,7 +3238,7 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -3352,11 +3256,10 @@ class ChildWorkflowExecutionTimedOutEventAttributes(google.protobuf.message.Mess ], ) -> None: ... -Global___ChildWorkflowExecutionTimedOutEventAttributes: typing_extensions.TypeAlias = ( +global___ChildWorkflowExecutionTimedOutEventAttributes = ( ChildWorkflowExecutionTimedOutEventAttributes ) -@typing.final class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3371,16 +3274,16 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me SDKs and UI tools should use `namespace` field but server must use `namespace_id` only. """ namespace_id: builtins.str - initiated_event_id: builtins.int - """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" - started_event_id: builtins.int - """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + initiated_event_id: builtins.int + """Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to""" + started_event_id: builtins.int + """Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to""" def __init__( self, *, @@ -3394,7 +3297,7 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "workflow_execution", b"workflow_execution", "workflow_type", @@ -3403,7 +3306,7 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initiated_event_id", b"initiated_event_id", "namespace", @@ -3419,13 +3322,13 @@ class ChildWorkflowExecutionTerminatedEventAttributes(google.protobuf.message.Me ], ) -> None: ... -Global___ChildWorkflowExecutionTerminatedEventAttributes: typing_extensions.TypeAlias = ChildWorkflowExecutionTerminatedEventAttributes +global___ChildWorkflowExecutionTerminatedEventAttributes = ( + ChildWorkflowExecutionTerminatedEventAttributes +) -@typing.final class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class WorkflowUpdateOptionsUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3445,7 +3348,6 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes temporalio.api.common.v1.message_pb2.Callback ]: """Completion callbacks attached to the running workflow update.""" - def __init__( self, *, @@ -3458,7 +3360,7 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attached_completion_callbacks", b"attached_completion_callbacks", "attached_request_id", @@ -3477,18 +3379,6 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int TIME_SKIPPING_CONFIG_UPDATED_FIELD_NUMBER: builtins.int WORKFLOW_UPDATE_OPTIONS_FIELD_NUMBER: builtins.int - unset_versioning_override: builtins.bool - """Versioning override removed in this event.""" - attached_request_id: builtins.str - """Request ID attached to the running workflow execution so that subsequent requests with same - request ID will be deduped. - """ - identity: builtins.str - """Optional. The identity of the client who initiated the request that created this event.""" - time_skipping_config_updated: builtins.bool - """Indicates the time skipping config was updated by the recent call to update - workflow execution options. - """ @property def versioning_override( self, @@ -3496,7 +3386,12 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes """Versioning override upserted in this event. Ignored if nil or if unset_versioning_override is true. """ - + unset_versioning_override: builtins.bool + """Versioning override removed in this event.""" + attached_request_id: builtins.str + """Request ID attached to the running workflow execution so that subsequent requests with same + request ID will be deduped. + """ @property def attached_completion_callbacks( self, @@ -3504,27 +3399,29 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes temporalio.api.common.v1.message_pb2.Callback ]: """Completion callbacks attached to the running workflow execution.""" - + identity: builtins.str + """Optional. The identity of the client who initiated the request that created this event.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority override upserted in this event. Represents the full priority; not just partial fields. Ignored if nil. """ - @property def time_skipping_config( self, ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """TimeSkippingConfig override upserted in this event. Represents the full config.""" - + time_skipping_config_updated: builtins.bool + """Indicates the time skipping config was updated by the recent call to update + workflow execution options. + """ @property def workflow_update_options( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate + global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate ]: """Updates to workflow updates options.""" - def __init__( self, *, @@ -3542,13 +3439,13 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes | None = ..., time_skipping_config_updated: builtins.bool = ..., workflow_update_options: collections.abc.Iterable[ - Global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate + global___WorkflowExecutionOptionsUpdatedEventAttributes.WorkflowUpdateOptionsUpdate ] | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "priority", b"priority", "time_skipping_config", @@ -3559,7 +3456,7 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attached_completion_callbacks", b"attached_completion_callbacks", "attached_request_id", @@ -3581,11 +3478,10 @@ class WorkflowExecutionOptionsUpdatedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -Global___WorkflowExecutionOptionsUpdatedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionOptionsUpdatedEventAttributes = ( WorkflowExecutionOptionsUpdatedEventAttributes ) -@typing.final class WorkflowPropertiesModifiedExternallyEventAttributes( google.protobuf.message.Message ): @@ -3603,19 +3499,15 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( @property def new_workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Not used.""" - @property def new_workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Not used.""" - @property def new_workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Not used.""" - @property def upserted_memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Not used.""" - def __init__( self, *, @@ -3628,7 +3520,7 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "new_workflow_execution_timeout", b"new_workflow_execution_timeout", "new_workflow_run_timeout", @@ -3641,7 +3533,7 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "new_task_queue", b"new_task_queue", "new_workflow_execution_timeout", @@ -3655,9 +3547,10 @@ class WorkflowPropertiesModifiedExternallyEventAttributes( ], ) -> None: ... -Global___WorkflowPropertiesModifiedExternallyEventAttributes: typing_extensions.TypeAlias = WorkflowPropertiesModifiedExternallyEventAttributes +global___WorkflowPropertiesModifiedExternallyEventAttributes = ( + WorkflowPropertiesModifiedExternallyEventAttributes +) -@typing.final class ActivityPropertiesModifiedExternallyEventAttributes( google.protobuf.message.Message ): @@ -3672,7 +3565,6 @@ class ActivityPropertiesModifiedExternallyEventAttributes( """If set, update the retry policy of the activity, replacing it with the specified one. The number of attempts at the activity is preserved. """ - def __init__( self, *, @@ -3680,11 +3572,12 @@ class ActivityPropertiesModifiedExternallyEventAttributes( new_retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["new_retry_policy", b"new_retry_policy"] + self, + field_name: typing_extensions.Literal["new_retry_policy", b"new_retry_policy"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "new_retry_policy", b"new_retry_policy", "scheduled_event_id", @@ -3692,9 +3585,10 @@ class ActivityPropertiesModifiedExternallyEventAttributes( ], ) -> None: ... -Global___ActivityPropertiesModifiedExternallyEventAttributes: typing_extensions.TypeAlias = ActivityPropertiesModifiedExternallyEventAttributes +global___ActivityPropertiesModifiedExternallyEventAttributes = ( + ActivityPropertiesModifiedExternallyEventAttributes +) -@typing.final class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3716,7 +3610,6 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes """The message payload of the original request message that initiated this update. """ - def __init__( self, *, @@ -3726,11 +3619,12 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes accepted_request: temporalio.api.update.v1.message_pb2.Request | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["accepted_request", b"accepted_request"] + self, + field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "accepted_request", b"accepted_request", "accepted_request_message_id", @@ -3742,27 +3636,24 @@ class WorkflowExecutionUpdateAcceptedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -Global___WorkflowExecutionUpdateAcceptedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionUpdateAcceptedEventAttributes = ( WorkflowExecutionUpdateAcceptedEventAttributes ) -@typing.final class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor META_FIELD_NUMBER: builtins.int ACCEPTED_EVENT_ID_FIELD_NUMBER: builtins.int OUTCOME_FIELD_NUMBER: builtins.int - accepted_event_id: builtins.int - """The event ID indicating the acceptance of this update.""" @property def meta(self) -> temporalio.api.update.v1.message_pb2.Meta: """The metadata about this update.""" - + accepted_event_id: builtins.int + """The event ID indicating the acceptance of this update.""" @property def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: """The outcome of executing the workflow update function.""" - def __init__( self, *, @@ -3771,11 +3662,12 @@ class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Me outcome: temporalio.api.update.v1.message_pb2.Outcome | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["meta", b"meta", "outcome", b"outcome"] + self, + field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "accepted_event_id", b"accepted_event_id", "meta", @@ -3785,9 +3677,10 @@ class WorkflowExecutionUpdateCompletedEventAttributes(google.protobuf.message.Me ], ) -> None: ... -Global___WorkflowExecutionUpdateCompletedEventAttributes: typing_extensions.TypeAlias = WorkflowExecutionUpdateCompletedEventAttributes +global___WorkflowExecutionUpdateCompletedEventAttributes = ( + WorkflowExecutionUpdateCompletedEventAttributes +) -@typing.final class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3810,11 +3703,9 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes """The message payload of the original request message that initiated this update. """ - @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The cause of rejection.""" - def __init__( self, *, @@ -3826,13 +3717,13 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "rejected_request", b"rejected_request" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "protocol_instance_id", @@ -3846,22 +3737,20 @@ class WorkflowExecutionUpdateRejectedEventAttributes(google.protobuf.message.Mes ], ) -> None: ... -Global___WorkflowExecutionUpdateRejectedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionUpdateRejectedEventAttributes = ( WorkflowExecutionUpdateRejectedEventAttributes ) -@typing.final class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor REQUEST_FIELD_NUMBER: builtins.int ORIGIN_FIELD_NUMBER: builtins.int - origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType - """An explanation of why this event was written to history.""" @property def request(self) -> temporalio.api.update.v1.message_pb2.Request: """The update request associated with this event.""" - + origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType + """An explanation of why this event was written to history.""" def __init__( self, *, @@ -3869,17 +3758,19 @@ class WorkflowExecutionUpdateAdmittedEventAttributes(google.protobuf.message.Mes origin: temporalio.api.enums.v1.update_pb2.UpdateAdmittedEventOrigin.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["request", b"request"] + self, field_name: typing_extensions.Literal["request", b"request"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["origin", b"origin", "request", b"request"] + self, + field_name: typing_extensions.Literal[ + "origin", b"origin", "request", b"request" + ], ) -> None: ... -Global___WorkflowExecutionUpdateAdmittedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionUpdateAdmittedEventAttributes = ( WorkflowExecutionUpdateAdmittedEventAttributes ) -@typing.final class WorkflowExecutionPausedEventAttributes(google.protobuf.message.Message): """Attributes for an event marking that a workflow execution was paused.""" @@ -3903,16 +3794,13 @@ class WorkflowExecutionPausedEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "reason", b"reason", "request_id", b"request_id" ], ) -> None: ... -Global___WorkflowExecutionPausedEventAttributes: typing_extensions.TypeAlias = ( - WorkflowExecutionPausedEventAttributes -) +global___WorkflowExecutionPausedEventAttributes = WorkflowExecutionPausedEventAttributes -@typing.final class WorkflowExecutionUnpausedEventAttributes(google.protobuf.message.Message): """Attributes for an event marking that a workflow execution was unpaused.""" @@ -3936,16 +3824,15 @@ class WorkflowExecutionUnpausedEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "reason", b"reason", "request_id", b"request_id" ], ) -> None: ... -Global___WorkflowExecutionUnpausedEventAttributes: typing_extensions.TypeAlias = ( +global___WorkflowExecutionUnpausedEventAttributes = ( WorkflowExecutionUnpausedEventAttributes ) -@typing.final class WorkflowExecutionTimeSkippingTransitionedEventAttributes( google.protobuf.message.Message ): @@ -3959,19 +3846,17 @@ class WorkflowExecutionTimeSkippingTransitionedEventAttributes( TARGET_TIME_FIELD_NUMBER: builtins.int DISABLED_AFTER_FAST_FORWARD_FIELD_NUMBER: builtins.int WALL_CLOCK_TIME_FIELD_NUMBER: builtins.int + @property + def target_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The virtual time point that time skipping advanced to.""" disabled_after_fast_forward: builtins.bool """When true, time skipping has been disabled automatically due to a call to fast_forward completing. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "after" is used to indicate temporal ordering. --) """ - @property - def target_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The virtual time point that time skipping advanced to.""" - @property def wall_clock_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The wall-clock time when the time-skipping state changed event was generated.""" - def __init__( self, *, @@ -3981,13 +3866,13 @@ class WorkflowExecutionTimeSkippingTransitionedEventAttributes( ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "target_time", b"target_time", "wall_clock_time", b"wall_clock_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "disabled_after_fast_forward", b"disabled_after_fast_forward", "target_time", @@ -3997,15 +3882,15 @@ class WorkflowExecutionTimeSkippingTransitionedEventAttributes( ], ) -> None: ... -Global___WorkflowExecutionTimeSkippingTransitionedEventAttributes: typing_extensions.TypeAlias = WorkflowExecutionTimeSkippingTransitionedEventAttributes +global___WorkflowExecutionTimeSkippingTransitionedEventAttributes = ( + WorkflowExecutionTimeSkippingTransitionedEventAttributes +) -@typing.final class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): """Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4020,7 +3905,8 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... ENDPOINT_FIELD_NUMBER: builtins.int @@ -4040,24 +3926,12 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" - workflow_task_completed_event_id: builtins.int - """The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.""" - request_id: builtins.str - """A unique ID generated by the history service upon creation of this event. - The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key. - """ - endpoint_id: builtins.str - """Endpoint ID as resolved in the endpoint registry at the time this event was generated. - This is stored on the event and used internally by the server in case the endpoint is renamed from the time the - event was originally scheduled. - """ @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event. """ - @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -4068,7 +3942,6 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: "timeout" is an acceptable suffix for duration fields in this API. --) """ - @property def nexus_header( self, @@ -4077,7 +3950,17 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - + workflow_task_completed_event_id: builtins.int + """The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.""" + request_id: builtins.str + """A unique ID generated by the history service upon creation of this event. + The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key. + """ + endpoint_id: builtins.str + """Endpoint ID as resolved in the endpoint registry at the time this event was generated. + This is stored on the event and used internally by the server in case the endpoint is renamed from the time the + event was originally scheduled. + """ @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -4085,7 +3968,6 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -4093,7 +3975,6 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - def __init__( self, *, @@ -4111,7 +3992,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -4124,7 +4005,7 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "endpoint", b"endpoint", "endpoint_id", @@ -4150,11 +4031,8 @@ class NexusOperationScheduledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationScheduledEventAttributes: typing_extensions.TypeAlias = ( - NexusOperationScheduledEventAttributes -) +global___NexusOperationScheduledEventAttributes = NexusOperationScheduledEventAttributes -@typing.final class NexusOperationStartedEventAttributes(google.protobuf.message.Message): """Event marking an asynchronous operation was started by the responding Nexus handler. If the operation completes synchronously, this event is not generated. @@ -4192,7 +4070,7 @@ class NexusOperationStartedEventAttributes(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "operation_id", b"operation_id", "operation_token", @@ -4204,11 +4082,8 @@ class NexusOperationStartedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationStartedEventAttributes: typing_extensions.TypeAlias = ( - NexusOperationStartedEventAttributes -) +global___NexusOperationStartedEventAttributes = NexusOperationStartedEventAttributes -@typing.final class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): """Nexus operation completed successfully.""" @@ -4219,14 +4094,13 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" - request_id: builtins.str - """The request ID allocated at schedule time.""" @property def result(self) -> temporalio.api.common.v1.message_pb2.Payload: """Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation. """ - + request_id: builtins.str + """The request ID allocated at schedule time.""" def __init__( self, *, @@ -4235,11 +4109,11 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "request_id", b"request_id", "result", @@ -4249,11 +4123,8 @@ class NexusOperationCompletedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationCompletedEventAttributes: typing_extensions.TypeAlias = ( - NexusOperationCompletedEventAttributes -) +global___NexusOperationCompletedEventAttributes = NexusOperationCompletedEventAttributes -@typing.final class NexusOperationFailedEventAttributes(google.protobuf.message.Message): """Nexus operation failed.""" @@ -4264,12 +4135,11 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" - request_id: builtins.str - """The request ID allocated at schedule time.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details. A NexusOperationFailureInfo wrapping an ApplicationFailureInfo.""" - + request_id: builtins.str + """The request ID allocated at schedule time.""" def __init__( self, *, @@ -4278,11 +4148,11 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "request_id", @@ -4292,11 +4162,8 @@ class NexusOperationFailedEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationFailedEventAttributes: typing_extensions.TypeAlias = ( - NexusOperationFailedEventAttributes -) +global___NexusOperationFailedEventAttributes = NexusOperationFailedEventAttributes -@typing.final class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): """Nexus operation timed out.""" @@ -4307,12 +4174,11 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" - request_id: builtins.str - """The request ID allocated at schedule time.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.""" - + request_id: builtins.str + """The request ID allocated at schedule time.""" def __init__( self, *, @@ -4321,11 +4187,11 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "request_id", @@ -4335,11 +4201,8 @@ class NexusOperationTimedOutEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationTimedOutEventAttributes: typing_extensions.TypeAlias = ( - NexusOperationTimedOutEventAttributes -) +global___NexusOperationTimedOutEventAttributes = NexusOperationTimedOutEventAttributes -@typing.final class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): """Nexus operation completed as canceled. May or may not have been due to a cancellation request by the workflow.""" @@ -4350,12 +4213,11 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int scheduled_event_id: builtins.int """The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.""" - request_id: builtins.str - """The request ID allocated at schedule time.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Cancellation details.""" - + request_id: builtins.str + """The request ID allocated at schedule time.""" def __init__( self, *, @@ -4364,11 +4226,11 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "request_id", @@ -4378,11 +4240,8 @@ class NexusOperationCanceledEventAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationCanceledEventAttributes: typing_extensions.TypeAlias = ( - NexusOperationCanceledEventAttributes -) +global___NexusOperationCanceledEventAttributes = NexusOperationCanceledEventAttributes -@typing.final class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4402,7 +4261,7 @@ class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Messa ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "scheduled_event_id", b"scheduled_event_id", "workflow_task_completed_event_id", @@ -4410,11 +4269,10 @@ class NexusOperationCancelRequestedEventAttributes(google.protobuf.message.Messa ], ) -> None: ... -Global___NexusOperationCancelRequestedEventAttributes: typing_extensions.TypeAlias = ( +global___NexusOperationCancelRequestedEventAttributes = ( NexusOperationCancelRequestedEventAttributes ) -@typing.final class NexusOperationCancelRequestCompletedEventAttributes( google.protobuf.message.Message ): @@ -4440,7 +4298,7 @@ class NexusOperationCancelRequestCompletedEventAttributes( ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "requested_event_id", b"requested_event_id", "scheduled_event_id", @@ -4450,9 +4308,10 @@ class NexusOperationCancelRequestCompletedEventAttributes( ], ) -> None: ... -Global___NexusOperationCancelRequestCompletedEventAttributes: typing_extensions.TypeAlias = NexusOperationCancelRequestCompletedEventAttributes +global___NexusOperationCancelRequestCompletedEventAttributes = ( + NexusOperationCancelRequestCompletedEventAttributes +) -@typing.final class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4466,12 +4325,11 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M """The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported with. """ - scheduled_event_id: builtins.int - """The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.""" - + scheduled_event_id: builtins.int + """The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.""" def __init__( self, *, @@ -4481,11 +4339,11 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M scheduled_event_id: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "requested_event_id", @@ -4497,9 +4355,10 @@ class NexusOperationCancelRequestFailedEventAttributes(google.protobuf.message.M ], ) -> None: ... -Global___NexusOperationCancelRequestFailedEventAttributes: typing_extensions.TypeAlias = NexusOperationCancelRequestFailedEventAttributes +global___NexusOperationCancelRequestFailedEventAttributes = ( + NexusOperationCancelRequestFailedEventAttributes +) -@typing.final class HistoryEvent(google.protobuf.message.Message): """History events are the method by which Temporal SDKs advance (or recreate) workflow state. See the `EventType` enum for more info about what each event is for. @@ -4589,6 +4448,8 @@ class HistoryEvent(google.protobuf.message.Message): ) event_id: builtins.int """Monotonically increasing event number, starts at 1.""" + @property + def event_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... event_type: temporalio.api.enums.v1.event_type_pb2.EventType.ValueType version: builtins.int """Failover version of the event, used by the server for multi-cluster replication and history @@ -4605,8 +4466,6 @@ class HistoryEvent(google.protobuf.message.Message): acceptable for the event type and/or attributes to be uninterpretable. """ @property - def event_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata on the event. This is often carried over from commands and client calls. Most events won't have this information, and how this information is used is dependent upon the interface @@ -4617,7 +4476,6 @@ class HistoryEvent(google.protobuf.message.Message): * timer_started_event_attributes - summary represents an identifier for the timer for use by user interfaces. """ - @property def links( self, @@ -4625,11 +4483,9 @@ class HistoryEvent(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to related entities, such as the entity that started this event's workflow.""" - @property def principal(self) -> temporalio.api.common.v1.message_pb2.Principal: """Server-computed authenticated caller identity associated with this event.""" - @property def event_group_markers( self, @@ -4637,245 +4493,244 @@ class HistoryEvent(google.protobuf.message.Message): temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker ]: """Event group markers attached to this event.""" - @property def workflow_execution_started_event_attributes( self, - ) -> Global___WorkflowExecutionStartedEventAttributes: ... + ) -> global___WorkflowExecutionStartedEventAttributes: ... @property def workflow_execution_completed_event_attributes( self, - ) -> Global___WorkflowExecutionCompletedEventAttributes: ... + ) -> global___WorkflowExecutionCompletedEventAttributes: ... @property def workflow_execution_failed_event_attributes( self, - ) -> Global___WorkflowExecutionFailedEventAttributes: ... + ) -> global___WorkflowExecutionFailedEventAttributes: ... @property def workflow_execution_timed_out_event_attributes( self, - ) -> Global___WorkflowExecutionTimedOutEventAttributes: ... + ) -> global___WorkflowExecutionTimedOutEventAttributes: ... @property def workflow_task_scheduled_event_attributes( self, - ) -> Global___WorkflowTaskScheduledEventAttributes: ... + ) -> global___WorkflowTaskScheduledEventAttributes: ... @property def workflow_task_started_event_attributes( self, - ) -> Global___WorkflowTaskStartedEventAttributes: ... + ) -> global___WorkflowTaskStartedEventAttributes: ... @property def workflow_task_completed_event_attributes( self, - ) -> Global___WorkflowTaskCompletedEventAttributes: ... + ) -> global___WorkflowTaskCompletedEventAttributes: ... @property def workflow_task_timed_out_event_attributes( self, - ) -> Global___WorkflowTaskTimedOutEventAttributes: ... + ) -> global___WorkflowTaskTimedOutEventAttributes: ... @property def workflow_task_failed_event_attributes( self, - ) -> Global___WorkflowTaskFailedEventAttributes: ... + ) -> global___WorkflowTaskFailedEventAttributes: ... @property def activity_task_scheduled_event_attributes( self, - ) -> Global___ActivityTaskScheduledEventAttributes: ... + ) -> global___ActivityTaskScheduledEventAttributes: ... @property def activity_task_started_event_attributes( self, - ) -> Global___ActivityTaskStartedEventAttributes: ... + ) -> global___ActivityTaskStartedEventAttributes: ... @property def activity_task_completed_event_attributes( self, - ) -> Global___ActivityTaskCompletedEventAttributes: ... + ) -> global___ActivityTaskCompletedEventAttributes: ... @property def activity_task_failed_event_attributes( self, - ) -> Global___ActivityTaskFailedEventAttributes: ... + ) -> global___ActivityTaskFailedEventAttributes: ... @property def activity_task_timed_out_event_attributes( self, - ) -> Global___ActivityTaskTimedOutEventAttributes: ... + ) -> global___ActivityTaskTimedOutEventAttributes: ... @property def timer_started_event_attributes( self, - ) -> Global___TimerStartedEventAttributes: ... + ) -> global___TimerStartedEventAttributes: ... @property - def timer_fired_event_attributes(self) -> Global___TimerFiredEventAttributes: ... + def timer_fired_event_attributes(self) -> global___TimerFiredEventAttributes: ... @property def activity_task_cancel_requested_event_attributes( self, - ) -> Global___ActivityTaskCancelRequestedEventAttributes: ... + ) -> global___ActivityTaskCancelRequestedEventAttributes: ... @property def activity_task_canceled_event_attributes( self, - ) -> Global___ActivityTaskCanceledEventAttributes: ... + ) -> global___ActivityTaskCanceledEventAttributes: ... @property def timer_canceled_event_attributes( self, - ) -> Global___TimerCanceledEventAttributes: ... + ) -> global___TimerCanceledEventAttributes: ... @property def marker_recorded_event_attributes( self, - ) -> Global___MarkerRecordedEventAttributes: ... + ) -> global___MarkerRecordedEventAttributes: ... @property def workflow_execution_signaled_event_attributes( self, - ) -> Global___WorkflowExecutionSignaledEventAttributes: ... + ) -> global___WorkflowExecutionSignaledEventAttributes: ... @property def workflow_execution_terminated_event_attributes( self, - ) -> Global___WorkflowExecutionTerminatedEventAttributes: ... + ) -> global___WorkflowExecutionTerminatedEventAttributes: ... @property def workflow_execution_cancel_requested_event_attributes( self, - ) -> Global___WorkflowExecutionCancelRequestedEventAttributes: ... + ) -> global___WorkflowExecutionCancelRequestedEventAttributes: ... @property def workflow_execution_canceled_event_attributes( self, - ) -> Global___WorkflowExecutionCanceledEventAttributes: ... + ) -> global___WorkflowExecutionCanceledEventAttributes: ... @property def request_cancel_external_workflow_execution_initiated_event_attributes( self, - ) -> Global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... + ) -> global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: ... @property def request_cancel_external_workflow_execution_failed_event_attributes( self, - ) -> Global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... + ) -> global___RequestCancelExternalWorkflowExecutionFailedEventAttributes: ... @property def external_workflow_execution_cancel_requested_event_attributes( self, - ) -> Global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... + ) -> global___ExternalWorkflowExecutionCancelRequestedEventAttributes: ... @property def workflow_execution_continued_as_new_event_attributes( self, - ) -> Global___WorkflowExecutionContinuedAsNewEventAttributes: ... + ) -> global___WorkflowExecutionContinuedAsNewEventAttributes: ... @property def start_child_workflow_execution_initiated_event_attributes( self, - ) -> Global___StartChildWorkflowExecutionInitiatedEventAttributes: ... + ) -> global___StartChildWorkflowExecutionInitiatedEventAttributes: ... @property def start_child_workflow_execution_failed_event_attributes( self, - ) -> Global___StartChildWorkflowExecutionFailedEventAttributes: ... + ) -> global___StartChildWorkflowExecutionFailedEventAttributes: ... @property def child_workflow_execution_started_event_attributes( self, - ) -> Global___ChildWorkflowExecutionStartedEventAttributes: ... + ) -> global___ChildWorkflowExecutionStartedEventAttributes: ... @property def child_workflow_execution_completed_event_attributes( self, - ) -> Global___ChildWorkflowExecutionCompletedEventAttributes: ... + ) -> global___ChildWorkflowExecutionCompletedEventAttributes: ... @property def child_workflow_execution_failed_event_attributes( self, - ) -> Global___ChildWorkflowExecutionFailedEventAttributes: ... + ) -> global___ChildWorkflowExecutionFailedEventAttributes: ... @property def child_workflow_execution_canceled_event_attributes( self, - ) -> Global___ChildWorkflowExecutionCanceledEventAttributes: ... + ) -> global___ChildWorkflowExecutionCanceledEventAttributes: ... @property def child_workflow_execution_timed_out_event_attributes( self, - ) -> Global___ChildWorkflowExecutionTimedOutEventAttributes: ... + ) -> global___ChildWorkflowExecutionTimedOutEventAttributes: ... @property def child_workflow_execution_terminated_event_attributes( self, - ) -> Global___ChildWorkflowExecutionTerminatedEventAttributes: ... + ) -> global___ChildWorkflowExecutionTerminatedEventAttributes: ... @property def signal_external_workflow_execution_initiated_event_attributes( self, - ) -> Global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... + ) -> global___SignalExternalWorkflowExecutionInitiatedEventAttributes: ... @property def signal_external_workflow_execution_failed_event_attributes( self, - ) -> Global___SignalExternalWorkflowExecutionFailedEventAttributes: ... + ) -> global___SignalExternalWorkflowExecutionFailedEventAttributes: ... @property def external_workflow_execution_signaled_event_attributes( self, - ) -> Global___ExternalWorkflowExecutionSignaledEventAttributes: ... + ) -> global___ExternalWorkflowExecutionSignaledEventAttributes: ... @property def upsert_workflow_search_attributes_event_attributes( self, - ) -> Global___UpsertWorkflowSearchAttributesEventAttributes: ... + ) -> global___UpsertWorkflowSearchAttributesEventAttributes: ... @property def workflow_execution_update_accepted_event_attributes( self, - ) -> Global___WorkflowExecutionUpdateAcceptedEventAttributes: ... + ) -> global___WorkflowExecutionUpdateAcceptedEventAttributes: ... @property def workflow_execution_update_rejected_event_attributes( self, - ) -> Global___WorkflowExecutionUpdateRejectedEventAttributes: ... + ) -> global___WorkflowExecutionUpdateRejectedEventAttributes: ... @property def workflow_execution_update_completed_event_attributes( self, - ) -> Global___WorkflowExecutionUpdateCompletedEventAttributes: ... + ) -> global___WorkflowExecutionUpdateCompletedEventAttributes: ... @property def workflow_properties_modified_externally_event_attributes( self, - ) -> Global___WorkflowPropertiesModifiedExternallyEventAttributes: ... + ) -> global___WorkflowPropertiesModifiedExternallyEventAttributes: ... @property def activity_properties_modified_externally_event_attributes( self, - ) -> Global___ActivityPropertiesModifiedExternallyEventAttributes: ... + ) -> global___ActivityPropertiesModifiedExternallyEventAttributes: ... @property def workflow_properties_modified_event_attributes( self, - ) -> Global___WorkflowPropertiesModifiedEventAttributes: ... + ) -> global___WorkflowPropertiesModifiedEventAttributes: ... @property def workflow_execution_update_admitted_event_attributes( self, - ) -> Global___WorkflowExecutionUpdateAdmittedEventAttributes: ... + ) -> global___WorkflowExecutionUpdateAdmittedEventAttributes: ... @property def nexus_operation_scheduled_event_attributes( self, - ) -> Global___NexusOperationScheduledEventAttributes: ... + ) -> global___NexusOperationScheduledEventAttributes: ... @property def nexus_operation_started_event_attributes( self, - ) -> Global___NexusOperationStartedEventAttributes: ... + ) -> global___NexusOperationStartedEventAttributes: ... @property def nexus_operation_completed_event_attributes( self, - ) -> Global___NexusOperationCompletedEventAttributes: ... + ) -> global___NexusOperationCompletedEventAttributes: ... @property def nexus_operation_failed_event_attributes( self, - ) -> Global___NexusOperationFailedEventAttributes: ... + ) -> global___NexusOperationFailedEventAttributes: ... @property def nexus_operation_canceled_event_attributes( self, - ) -> Global___NexusOperationCanceledEventAttributes: ... + ) -> global___NexusOperationCanceledEventAttributes: ... @property def nexus_operation_timed_out_event_attributes( self, - ) -> Global___NexusOperationTimedOutEventAttributes: ... + ) -> global___NexusOperationTimedOutEventAttributes: ... @property def nexus_operation_cancel_requested_event_attributes( self, - ) -> Global___NexusOperationCancelRequestedEventAttributes: ... + ) -> global___NexusOperationCancelRequestedEventAttributes: ... @property def workflow_execution_options_updated_event_attributes( self, - ) -> Global___WorkflowExecutionOptionsUpdatedEventAttributes: ... + ) -> global___WorkflowExecutionOptionsUpdatedEventAttributes: ... @property def nexus_operation_cancel_request_completed_event_attributes( self, - ) -> Global___NexusOperationCancelRequestCompletedEventAttributes: ... + ) -> global___NexusOperationCancelRequestCompletedEventAttributes: ... @property def nexus_operation_cancel_request_failed_event_attributes( self, - ) -> Global___NexusOperationCancelRequestFailedEventAttributes: ... + ) -> global___NexusOperationCancelRequestFailedEventAttributes: ... @property def workflow_execution_paused_event_attributes( self, - ) -> Global___WorkflowExecutionPausedEventAttributes: ... + ) -> global___WorkflowExecutionPausedEventAttributes: ... @property def workflow_execution_unpaused_event_attributes( self, - ) -> Global___WorkflowExecutionUnpausedEventAttributes: ... + ) -> global___WorkflowExecutionUnpausedEventAttributes: ... @property def workflow_execution_time_skipping_transitioned_event_attributes( self, - ) -> Global___WorkflowExecutionTimeSkippingTransitionedEventAttributes: ... + ) -> global___WorkflowExecutionTimeSkippingTransitionedEventAttributes: ... def __init__( self, *, @@ -4894,129 +4749,129 @@ class HistoryEvent(google.protobuf.message.Message): temporalio.api.sdk.v1.event_group_marker_pb2.EventGroupMarker ] | None = ..., - workflow_execution_started_event_attributes: Global___WorkflowExecutionStartedEventAttributes + workflow_execution_started_event_attributes: global___WorkflowExecutionStartedEventAttributes | None = ..., - workflow_execution_completed_event_attributes: Global___WorkflowExecutionCompletedEventAttributes + workflow_execution_completed_event_attributes: global___WorkflowExecutionCompletedEventAttributes | None = ..., - workflow_execution_failed_event_attributes: Global___WorkflowExecutionFailedEventAttributes + workflow_execution_failed_event_attributes: global___WorkflowExecutionFailedEventAttributes | None = ..., - workflow_execution_timed_out_event_attributes: Global___WorkflowExecutionTimedOutEventAttributes + workflow_execution_timed_out_event_attributes: global___WorkflowExecutionTimedOutEventAttributes | None = ..., - workflow_task_scheduled_event_attributes: Global___WorkflowTaskScheduledEventAttributes + workflow_task_scheduled_event_attributes: global___WorkflowTaskScheduledEventAttributes | None = ..., - workflow_task_started_event_attributes: Global___WorkflowTaskStartedEventAttributes + workflow_task_started_event_attributes: global___WorkflowTaskStartedEventAttributes | None = ..., - workflow_task_completed_event_attributes: Global___WorkflowTaskCompletedEventAttributes + workflow_task_completed_event_attributes: global___WorkflowTaskCompletedEventAttributes | None = ..., - workflow_task_timed_out_event_attributes: Global___WorkflowTaskTimedOutEventAttributes + workflow_task_timed_out_event_attributes: global___WorkflowTaskTimedOutEventAttributes | None = ..., - workflow_task_failed_event_attributes: Global___WorkflowTaskFailedEventAttributes + workflow_task_failed_event_attributes: global___WorkflowTaskFailedEventAttributes | None = ..., - activity_task_scheduled_event_attributes: Global___ActivityTaskScheduledEventAttributes + activity_task_scheduled_event_attributes: global___ActivityTaskScheduledEventAttributes | None = ..., - activity_task_started_event_attributes: Global___ActivityTaskStartedEventAttributes + activity_task_started_event_attributes: global___ActivityTaskStartedEventAttributes | None = ..., - activity_task_completed_event_attributes: Global___ActivityTaskCompletedEventAttributes + activity_task_completed_event_attributes: global___ActivityTaskCompletedEventAttributes | None = ..., - activity_task_failed_event_attributes: Global___ActivityTaskFailedEventAttributes + activity_task_failed_event_attributes: global___ActivityTaskFailedEventAttributes | None = ..., - activity_task_timed_out_event_attributes: Global___ActivityTaskTimedOutEventAttributes + activity_task_timed_out_event_attributes: global___ActivityTaskTimedOutEventAttributes | None = ..., - timer_started_event_attributes: Global___TimerStartedEventAttributes + timer_started_event_attributes: global___TimerStartedEventAttributes | None = ..., - timer_fired_event_attributes: Global___TimerFiredEventAttributes | None = ..., - activity_task_cancel_requested_event_attributes: Global___ActivityTaskCancelRequestedEventAttributes + timer_fired_event_attributes: global___TimerFiredEventAttributes | None = ..., + activity_task_cancel_requested_event_attributes: global___ActivityTaskCancelRequestedEventAttributes | None = ..., - activity_task_canceled_event_attributes: Global___ActivityTaskCanceledEventAttributes + activity_task_canceled_event_attributes: global___ActivityTaskCanceledEventAttributes | None = ..., - timer_canceled_event_attributes: Global___TimerCanceledEventAttributes + timer_canceled_event_attributes: global___TimerCanceledEventAttributes | None = ..., - marker_recorded_event_attributes: Global___MarkerRecordedEventAttributes + marker_recorded_event_attributes: global___MarkerRecordedEventAttributes | None = ..., - workflow_execution_signaled_event_attributes: Global___WorkflowExecutionSignaledEventAttributes + workflow_execution_signaled_event_attributes: global___WorkflowExecutionSignaledEventAttributes | None = ..., - workflow_execution_terminated_event_attributes: Global___WorkflowExecutionTerminatedEventAttributes + workflow_execution_terminated_event_attributes: global___WorkflowExecutionTerminatedEventAttributes | None = ..., - workflow_execution_cancel_requested_event_attributes: Global___WorkflowExecutionCancelRequestedEventAttributes + workflow_execution_cancel_requested_event_attributes: global___WorkflowExecutionCancelRequestedEventAttributes | None = ..., - workflow_execution_canceled_event_attributes: Global___WorkflowExecutionCanceledEventAttributes + workflow_execution_canceled_event_attributes: global___WorkflowExecutionCanceledEventAttributes | None = ..., - request_cancel_external_workflow_execution_initiated_event_attributes: Global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes + request_cancel_external_workflow_execution_initiated_event_attributes: global___RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | None = ..., - request_cancel_external_workflow_execution_failed_event_attributes: Global___RequestCancelExternalWorkflowExecutionFailedEventAttributes + request_cancel_external_workflow_execution_failed_event_attributes: global___RequestCancelExternalWorkflowExecutionFailedEventAttributes | None = ..., - external_workflow_execution_cancel_requested_event_attributes: Global___ExternalWorkflowExecutionCancelRequestedEventAttributes + external_workflow_execution_cancel_requested_event_attributes: global___ExternalWorkflowExecutionCancelRequestedEventAttributes | None = ..., - workflow_execution_continued_as_new_event_attributes: Global___WorkflowExecutionContinuedAsNewEventAttributes + workflow_execution_continued_as_new_event_attributes: global___WorkflowExecutionContinuedAsNewEventAttributes | None = ..., - start_child_workflow_execution_initiated_event_attributes: Global___StartChildWorkflowExecutionInitiatedEventAttributes + start_child_workflow_execution_initiated_event_attributes: global___StartChildWorkflowExecutionInitiatedEventAttributes | None = ..., - start_child_workflow_execution_failed_event_attributes: Global___StartChildWorkflowExecutionFailedEventAttributes + start_child_workflow_execution_failed_event_attributes: global___StartChildWorkflowExecutionFailedEventAttributes | None = ..., - child_workflow_execution_started_event_attributes: Global___ChildWorkflowExecutionStartedEventAttributes + child_workflow_execution_started_event_attributes: global___ChildWorkflowExecutionStartedEventAttributes | None = ..., - child_workflow_execution_completed_event_attributes: Global___ChildWorkflowExecutionCompletedEventAttributes + child_workflow_execution_completed_event_attributes: global___ChildWorkflowExecutionCompletedEventAttributes | None = ..., - child_workflow_execution_failed_event_attributes: Global___ChildWorkflowExecutionFailedEventAttributes + child_workflow_execution_failed_event_attributes: global___ChildWorkflowExecutionFailedEventAttributes | None = ..., - child_workflow_execution_canceled_event_attributes: Global___ChildWorkflowExecutionCanceledEventAttributes + child_workflow_execution_canceled_event_attributes: global___ChildWorkflowExecutionCanceledEventAttributes | None = ..., - child_workflow_execution_timed_out_event_attributes: Global___ChildWorkflowExecutionTimedOutEventAttributes + child_workflow_execution_timed_out_event_attributes: global___ChildWorkflowExecutionTimedOutEventAttributes | None = ..., - child_workflow_execution_terminated_event_attributes: Global___ChildWorkflowExecutionTerminatedEventAttributes + child_workflow_execution_terminated_event_attributes: global___ChildWorkflowExecutionTerminatedEventAttributes | None = ..., - signal_external_workflow_execution_initiated_event_attributes: Global___SignalExternalWorkflowExecutionInitiatedEventAttributes + signal_external_workflow_execution_initiated_event_attributes: global___SignalExternalWorkflowExecutionInitiatedEventAttributes | None = ..., - signal_external_workflow_execution_failed_event_attributes: Global___SignalExternalWorkflowExecutionFailedEventAttributes + signal_external_workflow_execution_failed_event_attributes: global___SignalExternalWorkflowExecutionFailedEventAttributes | None = ..., - external_workflow_execution_signaled_event_attributes: Global___ExternalWorkflowExecutionSignaledEventAttributes + external_workflow_execution_signaled_event_attributes: global___ExternalWorkflowExecutionSignaledEventAttributes | None = ..., - upsert_workflow_search_attributes_event_attributes: Global___UpsertWorkflowSearchAttributesEventAttributes + upsert_workflow_search_attributes_event_attributes: global___UpsertWorkflowSearchAttributesEventAttributes | None = ..., - workflow_execution_update_accepted_event_attributes: Global___WorkflowExecutionUpdateAcceptedEventAttributes + workflow_execution_update_accepted_event_attributes: global___WorkflowExecutionUpdateAcceptedEventAttributes | None = ..., - workflow_execution_update_rejected_event_attributes: Global___WorkflowExecutionUpdateRejectedEventAttributes + workflow_execution_update_rejected_event_attributes: global___WorkflowExecutionUpdateRejectedEventAttributes | None = ..., - workflow_execution_update_completed_event_attributes: Global___WorkflowExecutionUpdateCompletedEventAttributes + workflow_execution_update_completed_event_attributes: global___WorkflowExecutionUpdateCompletedEventAttributes | None = ..., - workflow_properties_modified_externally_event_attributes: Global___WorkflowPropertiesModifiedExternallyEventAttributes + workflow_properties_modified_externally_event_attributes: global___WorkflowPropertiesModifiedExternallyEventAttributes | None = ..., - activity_properties_modified_externally_event_attributes: Global___ActivityPropertiesModifiedExternallyEventAttributes + activity_properties_modified_externally_event_attributes: global___ActivityPropertiesModifiedExternallyEventAttributes | None = ..., - workflow_properties_modified_event_attributes: Global___WorkflowPropertiesModifiedEventAttributes + workflow_properties_modified_event_attributes: global___WorkflowPropertiesModifiedEventAttributes | None = ..., - workflow_execution_update_admitted_event_attributes: Global___WorkflowExecutionUpdateAdmittedEventAttributes + workflow_execution_update_admitted_event_attributes: global___WorkflowExecutionUpdateAdmittedEventAttributes | None = ..., - nexus_operation_scheduled_event_attributes: Global___NexusOperationScheduledEventAttributes + nexus_operation_scheduled_event_attributes: global___NexusOperationScheduledEventAttributes | None = ..., - nexus_operation_started_event_attributes: Global___NexusOperationStartedEventAttributes + nexus_operation_started_event_attributes: global___NexusOperationStartedEventAttributes | None = ..., - nexus_operation_completed_event_attributes: Global___NexusOperationCompletedEventAttributes + nexus_operation_completed_event_attributes: global___NexusOperationCompletedEventAttributes | None = ..., - nexus_operation_failed_event_attributes: Global___NexusOperationFailedEventAttributes + nexus_operation_failed_event_attributes: global___NexusOperationFailedEventAttributes | None = ..., - nexus_operation_canceled_event_attributes: Global___NexusOperationCanceledEventAttributes + nexus_operation_canceled_event_attributes: global___NexusOperationCanceledEventAttributes | None = ..., - nexus_operation_timed_out_event_attributes: Global___NexusOperationTimedOutEventAttributes + nexus_operation_timed_out_event_attributes: global___NexusOperationTimedOutEventAttributes | None = ..., - nexus_operation_cancel_requested_event_attributes: Global___NexusOperationCancelRequestedEventAttributes + nexus_operation_cancel_requested_event_attributes: global___NexusOperationCancelRequestedEventAttributes | None = ..., - workflow_execution_options_updated_event_attributes: Global___WorkflowExecutionOptionsUpdatedEventAttributes + workflow_execution_options_updated_event_attributes: global___WorkflowExecutionOptionsUpdatedEventAttributes | None = ..., - nexus_operation_cancel_request_completed_event_attributes: Global___NexusOperationCancelRequestCompletedEventAttributes + nexus_operation_cancel_request_completed_event_attributes: global___NexusOperationCancelRequestCompletedEventAttributes | None = ..., - nexus_operation_cancel_request_failed_event_attributes: Global___NexusOperationCancelRequestFailedEventAttributes + nexus_operation_cancel_request_failed_event_attributes: global___NexusOperationCancelRequestFailedEventAttributes | None = ..., - workflow_execution_paused_event_attributes: Global___WorkflowExecutionPausedEventAttributes + workflow_execution_paused_event_attributes: global___WorkflowExecutionPausedEventAttributes | None = ..., - workflow_execution_unpaused_event_attributes: Global___WorkflowExecutionUnpausedEventAttributes + workflow_execution_unpaused_event_attributes: global___WorkflowExecutionUnpausedEventAttributes | None = ..., - workflow_execution_time_skipping_transitioned_event_attributes: Global___WorkflowExecutionTimeSkippingTransitionedEventAttributes + workflow_execution_time_skipping_transitioned_event_attributes: global___WorkflowExecutionTimeSkippingTransitionedEventAttributes | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", @@ -5149,7 +5004,7 @@ class HistoryEvent(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_properties_modified_externally_event_attributes", b"activity_properties_modified_externally_event_attributes", "activity_task_cancel_requested_event_attributes", @@ -5295,9 +5150,9 @@ class HistoryEvent(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["attributes", b"attributes"] + self, oneof_group: typing_extensions.Literal["attributes", b"attributes"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "workflow_execution_started_event_attributes", "workflow_execution_completed_event_attributes", "workflow_execution_failed_event_attributes", @@ -5362,9 +5217,8 @@ class HistoryEvent(google.protobuf.message.Message): | None ): ... -Global___HistoryEvent: typing_extensions.TypeAlias = HistoryEvent +global___HistoryEvent = HistoryEvent -@typing.final class History(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5373,13 +5227,15 @@ class History(google.protobuf.message.Message): def events( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___HistoryEvent + global___HistoryEvent ]: ... def __init__( self, *, - events: collections.abc.Iterable[Global___HistoryEvent] | None = ..., + events: collections.abc.Iterable[global___HistoryEvent] | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["events", b"events"] ) -> None: ... - def ClearField(self, field_name: typing.Literal["events", b"events"]) -> None: ... -Global___History: typing_extensions.TypeAlias = History +global___History = History diff --git a/temporalio/api/namespace/v1/message_pb2.py b/temporalio/api/namespace/v1/message_pb2.py index 3437ac8e0..fd1858bb7 100644 --- a/temporalio/api/namespace/v1/message_pb2.py +++ b/temporalio/api/namespace/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/namespace/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/namespace/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -35,54 +25,180 @@ b'\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"\x90\x07\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12?\n\x06limits\x18\x08 \x01(\x0b\x32/.temporal.api.namespace.v1.NamespaceInfo.Limits\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa3\x03\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08\x12\x19\n\x11worker_heartbeats\x18\x04 \x01(\x08\x12*\n"reported_problems_search_attribute\x18\x05 \x01(\x08\x12\x16\n\x0eworkflow_pause\x18\x06 \x01(\x08\x12\x1d\n\x15standalone_activities\x18\x07 \x01(\x08\x12(\n worker_poll_complete_on_shutdown\x18\x08 \x01(\x08\x12\x1a\n\x12poller_autoscaling\x18\t \x01(\x08\x12\x17\n\x0fworker_commands\x18\n \x01(\x08\x12"\n\x1astandalone_nexus_operation\x18\x0b \x01(\x08\x12!\n\x19workflow_update_callbacks\x18\x0c \x01(\x08\x12&\n\x1epoller_autoscaling_auto_enroll\x18\r \x01(\x08\x1a\x46\n\x06Limits\x12\x1d\n\x15\x62lob_size_limit_error\x18\x01 \x01(\x03\x12\x1d\n\x15memo_size_limit_error\x18\x02 \x01(\x03"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xea\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.namespace.v1.message_pb2", _globals + +_NAMESPACEINFO = DESCRIPTOR.message_types_by_name["NamespaceInfo"] +_NAMESPACEINFO_DATAENTRY = _NAMESPACEINFO.nested_types_by_name["DataEntry"] +_NAMESPACEINFO_CAPABILITIES = _NAMESPACEINFO.nested_types_by_name["Capabilities"] +_NAMESPACEINFO_LIMITS = _NAMESPACEINFO.nested_types_by_name["Limits"] +_NAMESPACECONFIG = DESCRIPTOR.message_types_by_name["NamespaceConfig"] +_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY = ( + _NAMESPACECONFIG.nested_types_by_name["CustomSearchAttributeAliasesEntry"] +) +_BADBINARIES = DESCRIPTOR.message_types_by_name["BadBinaries"] +_BADBINARIES_BINARIESENTRY = _BADBINARIES.nested_types_by_name["BinariesEntry"] +_BADBINARYINFO = DESCRIPTOR.message_types_by_name["BadBinaryInfo"] +_UPDATENAMESPACEINFO = DESCRIPTOR.message_types_by_name["UpdateNamespaceInfo"] +_UPDATENAMESPACEINFO_DATAENTRY = _UPDATENAMESPACEINFO.nested_types_by_name["DataEntry"] +_NAMESPACEFILTER = DESCRIPTOR.message_types_by_name["NamespaceFilter"] +NamespaceInfo = _reflection.GeneratedProtocolMessageType( + "NamespaceInfo", + (_message.Message,), + { + "DataEntry": _reflection.GeneratedProtocolMessageType( + "DataEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEINFO_DATAENTRY, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.DataEntry) + }, + ), + "Capabilities": _reflection.GeneratedProtocolMessageType( + "Capabilities", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEINFO_CAPABILITIES, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Capabilities) + }, + ), + "Limits": _reflection.GeneratedProtocolMessageType( + "Limits", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEINFO_LIMITS, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo.Limits) + }, + ), + "DESCRIPTOR": _NAMESPACEINFO, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceInfo) + }, +) +_sym_db.RegisterMessage(NamespaceInfo) +_sym_db.RegisterMessage(NamespaceInfo.DataEntry) +_sym_db.RegisterMessage(NamespaceInfo.Capabilities) +_sym_db.RegisterMessage(NamespaceInfo.Limits) + +NamespaceConfig = _reflection.GeneratedProtocolMessageType( + "NamespaceConfig", + (_message.Message,), + { + "CustomSearchAttributeAliasesEntry": _reflection.GeneratedProtocolMessageType( + "CustomSearchAttributeAliasesEntry", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry) + }, + ), + "DESCRIPTOR": _NAMESPACECONFIG, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceConfig) + }, +) +_sym_db.RegisterMessage(NamespaceConfig) +_sym_db.RegisterMessage(NamespaceConfig.CustomSearchAttributeAliasesEntry) + +BadBinaries = _reflection.GeneratedProtocolMessageType( + "BadBinaries", + (_message.Message,), + { + "BinariesEntry": _reflection.GeneratedProtocolMessageType( + "BinariesEntry", + (_message.Message,), + { + "DESCRIPTOR": _BADBINARIES_BINARIESENTRY, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries.BinariesEntry) + }, + ), + "DESCRIPTOR": _BADBINARIES, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaries) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1" - _globals["_NAMESPACEINFO_DATAENTRY"]._loaded_options = None - _globals["_NAMESPACEINFO_DATAENTRY"]._serialized_options = b"8\001" - _globals[ - "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" - ]._loaded_options = None - _globals[ - "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" - ]._serialized_options = b"8\001" - _globals["_BADBINARIES_BINARIESENTRY"]._loaded_options = None - _globals["_BADBINARIES_BINARIESENTRY"]._serialized_options = b"8\001" - _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._loaded_options = None - _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._serialized_options = b"8\001" - _globals["_NAMESPACEINFO"]._serialized_start = 175 - _globals["_NAMESPACEINFO"]._serialized_end = 1087 - _globals["_NAMESPACEINFO_DATAENTRY"]._serialized_start = 550 - _globals["_NAMESPACEINFO_DATAENTRY"]._serialized_end = 593 - _globals["_NAMESPACEINFO_CAPABILITIES"]._serialized_start = 596 - _globals["_NAMESPACEINFO_CAPABILITIES"]._serialized_end = 1015 - _globals["_NAMESPACEINFO_LIMITS"]._serialized_start = 1017 - _globals["_NAMESPACEINFO_LIMITS"]._serialized_end = 1087 - _globals["_NAMESPACECONFIG"]._serialized_start = 1090 - _globals["_NAMESPACECONFIG"]._serialized_end = 1632 - _globals[ - "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" - ]._serialized_start = 1565 - _globals[ - "_NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY" - ]._serialized_end = 1632 - _globals["_BADBINARIES"]._serialized_start = 1635 - _globals["_BADBINARIES"]._serialized_end = 1811 - _globals["_BADBINARIES_BINARIESENTRY"]._serialized_start = 1722 - _globals["_BADBINARIES_BINARIESENTRY"]._serialized_end = 1811 - _globals["_BADBINARYINFO"]._serialized_start = 1813 - _globals["_BADBINARYINFO"]._serialized_end = 1911 - _globals["_UPDATENAMESPACEINFO"]._serialized_start = 1914 - _globals["_UPDATENAMESPACEINFO"]._serialized_end = 2148 - _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._serialized_start = 550 - _globals["_UPDATENAMESPACEINFO_DATAENTRY"]._serialized_end = 593 - _globals["_NAMESPACEFILTER"]._serialized_start = 2150 - _globals["_NAMESPACEFILTER"]._serialized_end = 2192 +_sym_db.RegisterMessage(BadBinaries) +_sym_db.RegisterMessage(BadBinaries.BinariesEntry) + +BadBinaryInfo = _reflection.GeneratedProtocolMessageType( + "BadBinaryInfo", + (_message.Message,), + { + "DESCRIPTOR": _BADBINARYINFO, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.BadBinaryInfo) + }, +) +_sym_db.RegisterMessage(BadBinaryInfo) + +UpdateNamespaceInfo = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceInfo", + (_message.Message,), + { + "DataEntry": _reflection.GeneratedProtocolMessageType( + "DataEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEINFO_DATAENTRY, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry) + }, + ), + "DESCRIPTOR": _UPDATENAMESPACEINFO, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.UpdateNamespaceInfo) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceInfo) +_sym_db.RegisterMessage(UpdateNamespaceInfo.DataEntry) + +NamespaceFilter = _reflection.GeneratedProtocolMessageType( + "NamespaceFilter", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEFILTER, + "__module__": "temporalio.api.namespace.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.namespace.v1.NamespaceFilter) + }, +) +_sym_db.RegisterMessage(NamespaceFilter) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.namespace.v1B\014MessageProtoP\001Z)go.temporal.io/api/namespace/v1;namespace\252\002\033Temporalio.Api.Namespace.V1\352\002\036Temporalio::Api::Namespace::V1" + _NAMESPACEINFO_DATAENTRY._options = None + _NAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._options = None + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_options = b"8\001" + _BADBINARIES_BINARIESENTRY._options = None + _BADBINARIES_BINARIESENTRY._serialized_options = b"8\001" + _UPDATENAMESPACEINFO_DATAENTRY._options = None + _UPDATENAMESPACEINFO_DATAENTRY._serialized_options = b"8\001" + _NAMESPACEINFO._serialized_start = 175 + _NAMESPACEINFO._serialized_end = 1087 + _NAMESPACEINFO_DATAENTRY._serialized_start = 550 + _NAMESPACEINFO_DATAENTRY._serialized_end = 593 + _NAMESPACEINFO_CAPABILITIES._serialized_start = 596 + _NAMESPACEINFO_CAPABILITIES._serialized_end = 1015 + _NAMESPACEINFO_LIMITS._serialized_start = 1017 + _NAMESPACEINFO_LIMITS._serialized_end = 1087 + _NAMESPACECONFIG._serialized_start = 1090 + _NAMESPACECONFIG._serialized_end = 1632 + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_start = 1565 + _NAMESPACECONFIG_CUSTOMSEARCHATTRIBUTEALIASESENTRY._serialized_end = 1632 + _BADBINARIES._serialized_start = 1635 + _BADBINARIES._serialized_end = 1811 + _BADBINARIES_BINARIESENTRY._serialized_start = 1722 + _BADBINARIES_BINARIESENTRY._serialized_end = 1811 + _BADBINARYINFO._serialized_start = 1813 + _BADBINARYINFO._serialized_end = 1911 + _UPDATENAMESPACEINFO._serialized_start = 1914 + _UPDATENAMESPACEINFO._serialized_end = 2148 + _UPDATENAMESPACEINFO_DATAENTRY._serialized_start = 550 + _UPDATENAMESPACEINFO_DATAENTRY._serialized_end = 593 + _NAMESPACEFILTER._serialized_start = 2150 + _NAMESPACEFILTER._serialized_end = 2192 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/namespace/v1/message_pb2.pyi b/temporalio/api/namespace/v1/message_pb2.pyi index a5fc64f8b..9680e7f5d 100644 --- a/temporalio/api/namespace/v1/message_pb2.pyi +++ b/temporalio/api/namespace/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -16,18 +15,16 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.namespace_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class NamespaceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class DataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -42,10 +39,10 @@ class NamespaceInfo(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class Capabilities(google.protobuf.message.Message): """Namespace capability details. Should contain what features are enabled in a namespace.""" @@ -114,7 +111,7 @@ class NamespaceInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_update", b"async_update", "eager_workflow_start", @@ -144,7 +141,6 @@ class NamespaceInfo(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class Limits(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -165,7 +161,7 @@ class NamespaceInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "blob_size_limit_error", b"blob_size_limit_error", "memo_size_limit_error", @@ -186,25 +182,22 @@ class NamespaceInfo(google.protobuf.message.Message): state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType description: builtins.str owner_email: builtins.str - id: builtins.str - supports_schedules: builtins.bool - """Whether scheduled workflows are supported on this namespace. This is only needed - temporarily while the feature is experimental, so we can give it a high tag. - """ @property def data( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" - + id: builtins.str @property - def capabilities(self) -> Global___NamespaceInfo.Capabilities: + def capabilities(self) -> global___NamespaceInfo.Capabilities: """All capabilities the namespace supports.""" - @property - def limits(self) -> Global___NamespaceInfo.Limits: + def limits(self) -> global___NamespaceInfo.Limits: """Namespace configured limits""" - + supports_schedules: builtins.bool + """Whether scheduled workflows are supported on this namespace. This is only needed + temporarily while the feature is experimental, so we can give it a high tag. + """ def __init__( self, *, @@ -214,19 +207,19 @@ class NamespaceInfo(google.protobuf.message.Message): owner_email: builtins.str = ..., data: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., id: builtins.str = ..., - capabilities: Global___NamespaceInfo.Capabilities | None = ..., - limits: Global___NamespaceInfo.Limits | None = ..., + capabilities: global___NamespaceInfo.Capabilities | None = ..., + limits: global___NamespaceInfo.Limits | None = ..., supports_schedules: builtins.bool = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "capabilities", b"capabilities", "limits", b"limits" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "capabilities", b"capabilities", "data", @@ -248,13 +241,11 @@ class NamespaceInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceInfo: typing_extensions.TypeAlias = NamespaceInfo +global___NamespaceInfo = NamespaceInfo -@typing.final class NamespaceConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class CustomSearchAttributeAliasesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -269,7 +260,8 @@ class NamespaceConfig(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... WORKFLOW_EXECUTION_RETENTION_TTL_FIELD_NUMBER: builtins.int @@ -279,6 +271,12 @@ class NamespaceConfig(google.protobuf.message.Message): VISIBILITY_ARCHIVAL_STATE_FIELD_NUMBER: builtins.int VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: builtins.int CUSTOM_SEARCH_ATTRIBUTE_ALIASES_FIELD_NUMBER: builtins.int + @property + def workflow_execution_retention_ttl( + self, + ) -> google.protobuf.duration_pb2.Duration: ... + @property + def bad_binaries(self) -> global___BadBinaries: ... history_archival_state: ( temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType ) @@ -290,23 +288,16 @@ class NamespaceConfig(google.protobuf.message.Message): """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" visibility_archival_uri: builtins.str @property - def workflow_execution_retention_ttl( - self, - ) -> google.protobuf.duration_pb2.Duration: ... - @property - def bad_binaries(self) -> Global___BadBinaries: ... - @property def custom_search_attribute_aliases( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Map from field name to alias.""" - def __init__( self, *, workflow_execution_retention_ttl: google.protobuf.duration_pb2.Duration | None = ..., - bad_binaries: Global___BadBinaries | None = ..., + bad_binaries: global___BadBinaries | None = ..., history_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., history_archival_uri: builtins.str = ..., visibility_archival_state: temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType = ..., @@ -318,7 +309,7 @@ class NamespaceConfig(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "bad_binaries", b"bad_binaries", "workflow_execution_retention_ttl", @@ -327,7 +318,7 @@ class NamespaceConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "bad_binaries", b"bad_binaries", "custom_search_attribute_aliases", @@ -345,13 +336,11 @@ class NamespaceConfig(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceConfig: typing_extensions.TypeAlias = NamespaceConfig +global___NamespaceConfig = NamespaceConfig -@typing.final class BadBinaries(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class BinariesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -359,18 +348,19 @@ class BadBinaries(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___BadBinaryInfo: ... + def value(self) -> global___BadBinaryInfo: ... def __init__( self, *, key: builtins.str = ..., - value: Global___BadBinaryInfo | None = ..., + value: global___BadBinaryInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... BINARIES_FIELD_NUMBER: builtins.int @@ -378,21 +368,20 @@ class BadBinaries(google.protobuf.message.Message): def binaries( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___BadBinaryInfo + builtins.str, global___BadBinaryInfo ]: ... def __init__( self, *, - binaries: collections.abc.Mapping[builtins.str, Global___BadBinaryInfo] + binaries: collections.abc.Mapping[builtins.str, global___BadBinaryInfo] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["binaries", b"binaries"] + self, field_name: typing_extensions.Literal["binaries", b"binaries"] ) -> None: ... -Global___BadBinaries: typing_extensions.TypeAlias = BadBinaries +global___BadBinaries = BadBinaries -@typing.final class BadBinaryInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -411,22 +400,20 @@ class BadBinaryInfo(google.protobuf.message.Message): create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["create_time", b"create_time"] + self, field_name: typing_extensions.Literal["create_time", b"create_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "operator", b"operator", "reason", b"reason" ], ) -> None: ... -Global___BadBinaryInfo: typing_extensions.TypeAlias = BadBinaryInfo +global___BadBinaryInfo = BadBinaryInfo -@typing.final class UpdateNamespaceInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class DataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -441,7 +428,8 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... DESCRIPTION_FIELD_NUMBER: builtins.int @@ -450,13 +438,6 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): STATE_FIELD_NUMBER: builtins.int description: builtins.str owner_email: builtins.str - state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType - """New namespace state, server will reject if transition is not allowed. - Allowed transitions are: - Registered -> [ Deleted | Deprecated | Handover ] - Handover -> [ Registered ] - Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state. - """ @property def data( self, @@ -465,7 +446,13 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): If data already exists on the namespace, this will merge with the existing key values. """ - + state: temporalio.api.enums.v1.namespace_pb2.NamespaceState.ValueType + """New namespace state, server will reject if transition is not allowed. + Allowed transitions are: + Registered -> [ Deleted | Deprecated | Handover ] + Handover -> [ Registered ] + Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state. + """ def __init__( self, *, @@ -476,7 +463,7 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "data", b"data", "description", @@ -488,9 +475,8 @@ class UpdateNamespaceInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateNamespaceInfo: typing_extensions.TypeAlias = UpdateNamespaceInfo +global___UpdateNamespaceInfo = UpdateNamespaceInfo -@typing.final class NamespaceFilter(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -506,7 +492,8 @@ class NamespaceFilter(google.protobuf.message.Message): include_deleted: builtins.bool = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["include_deleted", b"include_deleted"] + self, + field_name: typing_extensions.Literal["include_deleted", b"include_deleted"], ) -> None: ... -Global___NamespaceFilter: typing_extensions.TypeAlias = NamespaceFilter +global___NamespaceFilter = NamespaceFilter diff --git a/temporalio/api/nexus/v1/message_pb2.py b/temporalio/api/nexus/v1/message_pb2.py index d3a2f2df6..d607eb9c8 100644 --- a/temporalio/api/nexus/v1/message_pb2.py +++ b/temporalio/api/nexus/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/nexus/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/nexus/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -42,94 +37,381 @@ b'\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xe0\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x0bstack_trace\x18\x04 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x12-\n\x05\x63\x61use\x18\x05 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t"\xd0\x03\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0c\x63\x61pabilities\x18\x64 \x01(\x0b\x32+.temporal.api.nexus.v1.Request.Capabilities\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x12\x10\n\x08\x65ndpoint\x18\n \x01(\t\x1a\x32\n\x0c\x43\x61pabilities\x12"\n\x1atemporal_failure_responses\x18\x01 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant"\x92\x04\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12P\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorB\x02\x18\x01H\x00\x12\x33\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant"\x19\n\x17\x43\x61ncelOperationResponse"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variant"\x9d\x03\n\'NexusOperationExecutionCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\x12\x0e\n\x06reason\x18\x08 \x01(\t"\xff\n\n\x1bNexusOperationExecutionInfo\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x44\n\x06status\x18\x06 \x01(\x0e\x32\x34.temporal.api.enums.v1.NexusOperationExecutionStatus\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x0b \x01(\x05\x12\x31\n\rschedule_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1alast_attempt_complete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x10 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12\x65xecution_duration\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Y\n\x11\x63\x61ncellation_info\x18\x13 \x01(\x0b\x32>.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo\x12\x16\n\x0e\x62locked_reason\x18\x14 \x01(\t\x12\x12\n\nrequest_id\x18\x15 \x01(\t\x12\x17\n\x0foperation_token\x18\x16 \x01(\t\x12\x1e\n\x16state_transition_count\x18\x17 \x01(\x03\x12\x43\n\x11search_attributes\x18\x18 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12Y\n\x0cnexus_header\x18\x19 \x03(\x0b\x32\x43.temporal.api.nexus.v1.NexusOperationExecutionInfo.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x1a \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x1b \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x10\n\x08identity\x18\x1c \x01(\t\x12\x18\n\x10state_size_bytes\x18\x1d \x01(\x03\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xdc\x03\n\x1fNexusOperationExecutionListInfo\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x11\n\toperation\x18\x05 \x01(\t\x12\x31\n\rschedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x06status\x18\x08 \x01(\x0e\x32\x34.temporal.api.enums.v1.NexusOperationExecutionStatus\x12\x43\n\x11search_attributes\x18\t \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x1e\n\x16state_transition_count\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10state_size_bytes\x18\x0c \x01(\x03\x42\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.nexus.v1.message_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1" - _globals["_FAILURE_METADATAENTRY"]._loaded_options = None - _globals["_FAILURE_METADATAENTRY"]._serialized_options = b"8\001" - _globals["_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY"]._loaded_options = None - _globals[ - "_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY" - ]._serialized_options = b"8\001" - _globals["_CANCELOPERATIONREQUEST"].fields_by_name[ - "operation_id" - ]._loaded_options = None - _globals["_CANCELOPERATIONREQUEST"].fields_by_name[ + +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_FAILURE_METADATAENTRY = _FAILURE.nested_types_by_name["MetadataEntry"] +_HANDLERERROR = DESCRIPTOR.message_types_by_name["HandlerError"] +_UNSUCCESSFULOPERATIONERROR = DESCRIPTOR.message_types_by_name[ + "UnsuccessfulOperationError" +] +_LINK = DESCRIPTOR.message_types_by_name["Link"] +_STARTOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["StartOperationRequest"] +_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY = ( + _STARTOPERATIONREQUEST.nested_types_by_name["CallbackHeaderEntry"] +) +_CANCELOPERATIONREQUEST = DESCRIPTOR.message_types_by_name["CancelOperationRequest"] +_REQUEST = DESCRIPTOR.message_types_by_name["Request"] +_REQUEST_CAPABILITIES = _REQUEST.nested_types_by_name["Capabilities"] +_REQUEST_HEADERENTRY = _REQUEST.nested_types_by_name["HeaderEntry"] +_STARTOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["StartOperationResponse"] +_STARTOPERATIONRESPONSE_SYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Sync"] +_STARTOPERATIONRESPONSE_ASYNC = _STARTOPERATIONRESPONSE.nested_types_by_name["Async"] +_CANCELOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name["CancelOperationResponse"] +_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] +_ENDPOINT = DESCRIPTOR.message_types_by_name["Endpoint"] +_ENDPOINTSPEC = DESCRIPTOR.message_types_by_name["EndpointSpec"] +_ENDPOINTTARGET = DESCRIPTOR.message_types_by_name["EndpointTarget"] +_ENDPOINTTARGET_WORKER = _ENDPOINTTARGET.nested_types_by_name["Worker"] +_ENDPOINTTARGET_EXTERNAL = _ENDPOINTTARGET.nested_types_by_name["External"] +_NEXUSOPERATIONEXECUTIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name[ + "NexusOperationExecutionCancellationInfo" +] +_NEXUSOPERATIONEXECUTIONINFO = DESCRIPTOR.message_types_by_name[ + "NexusOperationExecutionInfo" +] +_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY = ( + _NEXUSOPERATIONEXECUTIONINFO.nested_types_by_name["NexusHeaderEntry"] +) +_NEXUSOPERATIONEXECUTIONLISTINFO = DESCRIPTOR.message_types_by_name[ + "NexusOperationExecutionListInfo" +] +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "MetadataEntry": _reflection.GeneratedProtocolMessageType( + "MetadataEntry", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE_METADATAENTRY, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure.MetadataEntry) + }, + ), + "DESCRIPTOR": _FAILURE, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Failure) + }, +) +_sym_db.RegisterMessage(Failure) +_sym_db.RegisterMessage(Failure.MetadataEntry) + +HandlerError = _reflection.GeneratedProtocolMessageType( + "HandlerError", + (_message.Message,), + { + "DESCRIPTOR": _HANDLERERROR, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.HandlerError) + }, +) +_sym_db.RegisterMessage(HandlerError) + +UnsuccessfulOperationError = _reflection.GeneratedProtocolMessageType( + "UnsuccessfulOperationError", + (_message.Message,), + { + "DESCRIPTOR": _UNSUCCESSFULOPERATIONERROR, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.UnsuccessfulOperationError) + }, +) +_sym_db.RegisterMessage(UnsuccessfulOperationError) + +Link = _reflection.GeneratedProtocolMessageType( + "Link", + (_message.Message,), + { + "DESCRIPTOR": _LINK, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Link) + }, +) +_sym_db.RegisterMessage(Link) + +StartOperationRequest = _reflection.GeneratedProtocolMessageType( + "StartOperationRequest", + (_message.Message,), + { + "CallbackHeaderEntry": _reflection.GeneratedProtocolMessageType( + "CallbackHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry) + }, + ), + "DESCRIPTOR": _STARTOPERATIONREQUEST, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationRequest) + }, +) +_sym_db.RegisterMessage(StartOperationRequest) +_sym_db.RegisterMessage(StartOperationRequest.CallbackHeaderEntry) + +CancelOperationRequest = _reflection.GeneratedProtocolMessageType( + "CancelOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _CANCELOPERATIONREQUEST, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationRequest) + }, +) +_sym_db.RegisterMessage(CancelOperationRequest) + +Request = _reflection.GeneratedProtocolMessageType( + "Request", + (_message.Message,), + { + "Capabilities": _reflection.GeneratedProtocolMessageType( + "Capabilities", + (_message.Message,), + { + "DESCRIPTOR": _REQUEST_CAPABILITIES, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.Capabilities) + }, + ), + "HeaderEntry": _reflection.GeneratedProtocolMessageType( + "HeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _REQUEST_HEADERENTRY, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request.HeaderEntry) + }, + ), + "DESCRIPTOR": _REQUEST, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Request) + }, +) +_sym_db.RegisterMessage(Request) +_sym_db.RegisterMessage(Request.Capabilities) +_sym_db.RegisterMessage(Request.HeaderEntry) + +StartOperationResponse = _reflection.GeneratedProtocolMessageType( + "StartOperationResponse", + (_message.Message,), + { + "Sync": _reflection.GeneratedProtocolMessageType( + "Sync", + (_message.Message,), + { + "DESCRIPTOR": _STARTOPERATIONRESPONSE_SYNC, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Sync) + }, + ), + "Async": _reflection.GeneratedProtocolMessageType( + "Async", + (_message.Message,), + { + "DESCRIPTOR": _STARTOPERATIONRESPONSE_ASYNC, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse.Async) + }, + ), + "DESCRIPTOR": _STARTOPERATIONRESPONSE, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.StartOperationResponse) + }, +) +_sym_db.RegisterMessage(StartOperationResponse) +_sym_db.RegisterMessage(StartOperationResponse.Sync) +_sym_db.RegisterMessage(StartOperationResponse.Async) + +CancelOperationResponse = _reflection.GeneratedProtocolMessageType( + "CancelOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _CANCELOPERATIONRESPONSE, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.CancelOperationResponse) + }, +) +_sym_db.RegisterMessage(CancelOperationResponse) + +Response = _reflection.GeneratedProtocolMessageType( + "Response", + (_message.Message,), + { + "DESCRIPTOR": _RESPONSE, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Response) + }, +) +_sym_db.RegisterMessage(Response) + +Endpoint = _reflection.GeneratedProtocolMessageType( + "Endpoint", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINT, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.Endpoint) + }, +) +_sym_db.RegisterMessage(Endpoint) + +EndpointSpec = _reflection.GeneratedProtocolMessageType( + "EndpointSpec", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTSPEC, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointSpec) + }, +) +_sym_db.RegisterMessage(EndpointSpec) + +EndpointTarget = _reflection.GeneratedProtocolMessageType( + "EndpointTarget", + (_message.Message,), + { + "Worker": _reflection.GeneratedProtocolMessageType( + "Worker", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTTARGET_WORKER, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.Worker) + }, + ), + "External": _reflection.GeneratedProtocolMessageType( + "External", + (_message.Message,), + { + "DESCRIPTOR": _ENDPOINTTARGET_EXTERNAL, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget.External) + }, + ), + "DESCRIPTOR": _ENDPOINTTARGET, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.EndpointTarget) + }, +) +_sym_db.RegisterMessage(EndpointTarget) +_sym_db.RegisterMessage(EndpointTarget.Worker) +_sym_db.RegisterMessage(EndpointTarget.External) + +NexusOperationExecutionCancellationInfo = _reflection.GeneratedProtocolMessageType( + "NexusOperationExecutionCancellationInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONCANCELLATIONINFO, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo) + }, +) +_sym_db.RegisterMessage(NexusOperationExecutionCancellationInfo) + +NexusOperationExecutionInfo = _reflection.GeneratedProtocolMessageType( + "NexusOperationExecutionInfo", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionInfo.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONINFO, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionInfo) + }, +) +_sym_db.RegisterMessage(NexusOperationExecutionInfo) +_sym_db.RegisterMessage(NexusOperationExecutionInfo.NexusHeaderEntry) + +NexusOperationExecutionListInfo = _reflection.GeneratedProtocolMessageType( + "NexusOperationExecutionListInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONEXECUTIONLISTINFO, + "__module__": "temporalio.api.nexus.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexus.v1.NexusOperationExecutionListInfo) + }, +) +_sym_db.RegisterMessage(NexusOperationExecutionListInfo) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.nexus.v1B\014MessageProtoP\001Z!go.temporal.io/api/nexus/v1;nexus\252\002\027Temporalio.Api.Nexus.V1\352\002\032Temporalio::Api::Nexus::V1" + _FAILURE_METADATAENTRY._options = None + _FAILURE_METADATAENTRY._serialized_options = b"8\001" + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._options = None + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_options = b"8\001" + _CANCELOPERATIONREQUEST.fields_by_name["operation_id"]._options = None + _CANCELOPERATIONREQUEST.fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _globals["_REQUEST_HEADERENTRY"]._loaded_options = None - _globals["_REQUEST_HEADERENTRY"]._serialized_options = b"8\001" - _globals["_STARTOPERATIONRESPONSE_ASYNC"].fields_by_name[ - "operation_id" - ]._loaded_options = None - _globals["_STARTOPERATIONRESPONSE_ASYNC"].fields_by_name[ + _REQUEST_HEADERENTRY._options = None + _REQUEST_HEADERENTRY._serialized_options = b"8\001" + _STARTOPERATIONRESPONSE_ASYNC.fields_by_name["operation_id"]._options = None + _STARTOPERATIONRESPONSE_ASYNC.fields_by_name[ "operation_id" ]._serialized_options = b"\030\001" - _globals["_STARTOPERATIONRESPONSE"].fields_by_name[ - "operation_error" - ]._loaded_options = None - _globals["_STARTOPERATIONRESPONSE"].fields_by_name[ + _STARTOPERATIONRESPONSE.fields_by_name["operation_error"]._options = None + _STARTOPERATIONRESPONSE.fields_by_name[ "operation_error" ]._serialized_options = b"\030\001" - _globals["_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY"]._loaded_options = None - _globals[ - "_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY" - ]._serialized_options = b"8\001" - _globals["_FAILURE"]._serialized_start = 317 - _globals["_FAILURE"]._serialized_end = 541 - _globals["_FAILURE_METADATAENTRY"]._serialized_start = 494 - _globals["_FAILURE_METADATAENTRY"]._serialized_end = 541 - _globals["_HANDLERERROR"]._serialized_start = 544 - _globals["_HANDLERERROR"]._serialized_end = 706 - _globals["_UNSUCCESSFULOPERATIONERROR"]._serialized_start = 708 - _globals["_UNSUCCESSFULOPERATIONERROR"]._serialized_end = 810 - _globals["_LINK"]._serialized_start = 812 - _globals["_LINK"]._serialized_end = 845 - _globals["_STARTOPERATIONREQUEST"]._serialized_start = 848 - _globals["_STARTOPERATIONREQUEST"]._serialized_end = 1185 - _globals["_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY"]._serialized_start = 1132 - _globals["_STARTOPERATIONREQUEST_CALLBACKHEADERENTRY"]._serialized_end = 1185 - _globals["_CANCELOPERATIONREQUEST"]._serialized_start = 1187 - _globals["_CANCELOPERATIONREQUEST"]._serialized_end = 1298 - _globals["_REQUEST"]._serialized_start = 1301 - _globals["_REQUEST"]._serialized_end = 1765 - _globals["_REQUEST_CAPABILITIES"]._serialized_start = 1657 - _globals["_REQUEST_CAPABILITIES"]._serialized_end = 1707 - _globals["_REQUEST_HEADERENTRY"]._serialized_start = 1709 - _globals["_REQUEST_HEADERENTRY"]._serialized_end = 1754 - _globals["_STARTOPERATIONRESPONSE"]._serialized_start = 1768 - _globals["_STARTOPERATIONRESPONSE"]._serialized_end = 2298 - _globals["_STARTOPERATIONRESPONSE_SYNC"]._serialized_start = 2083 - _globals["_STARTOPERATIONRESPONSE_SYNC"]._serialized_end = 2183 - _globals["_STARTOPERATIONRESPONSE_ASYNC"]._serialized_start = 2185 - _globals["_STARTOPERATIONRESPONSE_ASYNC"]._serialized_end = 2287 - _globals["_CANCELOPERATIONRESPONSE"]._serialized_start = 2300 - _globals["_CANCELOPERATIONRESPONSE"]._serialized_end = 2325 - _globals["_RESPONSE"]._serialized_start = 2328 - _globals["_RESPONSE"]._serialized_end = 2499 - _globals["_ENDPOINT"]._serialized_start = 2502 - _globals["_ENDPOINT"]._serialized_end = 2718 - _globals["_ENDPOINTSPEC"]._serialized_start = 2721 - _globals["_ENDPOINTSPEC"]._serialized_end = 2858 - _globals["_ENDPOINTTARGET"]._serialized_start = 2861 - _globals["_ENDPOINTTARGET"]._serialized_end = 3094 - _globals["_ENDPOINTTARGET_WORKER"]._serialized_start = 3011 - _globals["_ENDPOINTTARGET_WORKER"]._serialized_end = 3058 - _globals["_ENDPOINTTARGET_EXTERNAL"]._serialized_start = 3060 - _globals["_ENDPOINTTARGET_EXTERNAL"]._serialized_end = 3083 - _globals["_NEXUSOPERATIONEXECUTIONCANCELLATIONINFO"]._serialized_start = 3097 - _globals["_NEXUSOPERATIONEXECUTIONCANCELLATIONINFO"]._serialized_end = 3510 - _globals["_NEXUSOPERATIONEXECUTIONINFO"]._serialized_start = 3513 - _globals["_NEXUSOPERATIONEXECUTIONINFO"]._serialized_end = 4920 - _globals["_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY"]._serialized_start = 4870 - _globals["_NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY"]._serialized_end = 4920 - _globals["_NEXUSOPERATIONEXECUTIONLISTINFO"]._serialized_start = 4923 - _globals["_NEXUSOPERATIONEXECUTIONLISTINFO"]._serialized_end = 5399 + _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._options = None + _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._serialized_options = b"8\001" + _FAILURE._serialized_start = 317 + _FAILURE._serialized_end = 541 + _FAILURE_METADATAENTRY._serialized_start = 494 + _FAILURE_METADATAENTRY._serialized_end = 541 + _HANDLERERROR._serialized_start = 544 + _HANDLERERROR._serialized_end = 706 + _UNSUCCESSFULOPERATIONERROR._serialized_start = 708 + _UNSUCCESSFULOPERATIONERROR._serialized_end = 810 + _LINK._serialized_start = 812 + _LINK._serialized_end = 845 + _STARTOPERATIONREQUEST._serialized_start = 848 + _STARTOPERATIONREQUEST._serialized_end = 1185 + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_start = 1132 + _STARTOPERATIONREQUEST_CALLBACKHEADERENTRY._serialized_end = 1185 + _CANCELOPERATIONREQUEST._serialized_start = 1187 + _CANCELOPERATIONREQUEST._serialized_end = 1298 + _REQUEST._serialized_start = 1301 + _REQUEST._serialized_end = 1765 + _REQUEST_CAPABILITIES._serialized_start = 1657 + _REQUEST_CAPABILITIES._serialized_end = 1707 + _REQUEST_HEADERENTRY._serialized_start = 1709 + _REQUEST_HEADERENTRY._serialized_end = 1754 + _STARTOPERATIONRESPONSE._serialized_start = 1768 + _STARTOPERATIONRESPONSE._serialized_end = 2298 + _STARTOPERATIONRESPONSE_SYNC._serialized_start = 2083 + _STARTOPERATIONRESPONSE_SYNC._serialized_end = 2183 + _STARTOPERATIONRESPONSE_ASYNC._serialized_start = 2185 + _STARTOPERATIONRESPONSE_ASYNC._serialized_end = 2287 + _CANCELOPERATIONRESPONSE._serialized_start = 2300 + _CANCELOPERATIONRESPONSE._serialized_end = 2325 + _RESPONSE._serialized_start = 2328 + _RESPONSE._serialized_end = 2499 + _ENDPOINT._serialized_start = 2502 + _ENDPOINT._serialized_end = 2718 + _ENDPOINTSPEC._serialized_start = 2721 + _ENDPOINTSPEC._serialized_end = 2858 + _ENDPOINTTARGET._serialized_start = 2861 + _ENDPOINTTARGET._serialized_end = 3094 + _ENDPOINTTARGET_WORKER._serialized_start = 3011 + _ENDPOINTTARGET_WORKER._serialized_end = 3058 + _ENDPOINTTARGET_EXTERNAL._serialized_start = 3060 + _ENDPOINTTARGET_EXTERNAL._serialized_end = 3083 + _NEXUSOPERATIONEXECUTIONCANCELLATIONINFO._serialized_start = 3097 + _NEXUSOPERATIONEXECUTIONCANCELLATIONINFO._serialized_end = 3510 + _NEXUSOPERATIONEXECUTIONINFO._serialized_start = 3513 + _NEXUSOPERATIONEXECUTIONINFO._serialized_end = 4920 + _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._serialized_start = 4870 + _NEXUSOPERATIONEXECUTIONINFO_NEXUSHEADERENTRY._serialized_end = 4920 + _NEXUSOPERATIONEXECUTIONLISTINFO._serialized_start = 4923 + _NEXUSOPERATIONEXECUTIONLISTINFO._serialized_end = 5399 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/nexus/v1/message_pb2.pyi b/temporalio/api/nexus/v1/message_pb2.pyi index a3fef9826..ecdd004e2 100644 --- a/temporalio/api/nexus/v1/message_pb2.pyi +++ b/temporalio/api/nexus/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -20,14 +19,13 @@ import temporalio.api.enums.v1.nexus_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.api.sdk.v1.user_metadata_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class Failure(google.protobuf.message.Message): """A general purpose failure message. See: https://github.com/nexus-rpc/api/blob/main/SPEC.md#failure @@ -35,7 +33,6 @@ class Failure(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -50,7 +47,8 @@ class Failure(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... MESSAGE_FIELD_NUMBER: builtins.int @@ -60,14 +58,14 @@ class Failure(google.protobuf.message.Message): CAUSE_FIELD_NUMBER: builtins.int message: builtins.str stack_trace: builtins.str - details: builtins.bytes - """UTF-8 encoded JSON serializable details.""" @property def metadata( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ... + details: builtins.bytes + """UTF-8 encoded JSON serializable details.""" @property - def cause(self) -> Global___Failure: ... + def cause(self) -> global___Failure: ... def __init__( self, *, @@ -75,14 +73,14 @@ class Failure(google.protobuf.message.Message): stack_trace: builtins.str = ..., metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., details: builtins.bytes = ..., - cause: Global___Failure | None = ..., + cause: global___Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["cause", b"cause"] + self, field_name: typing_extensions.Literal["cause", b"cause"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cause", b"cause", "details", @@ -96,9 +94,8 @@ class Failure(google.protobuf.message.Message): ], ) -> None: ... -Global___Failure: typing_extensions.TypeAlias = Failure +global___Failure = Failure -@typing.final class HandlerError(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -107,25 +104,25 @@ class HandlerError(google.protobuf.message.Message): RETRY_BEHAVIOR_FIELD_NUMBER: builtins.int error_type: builtins.str """See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.""" + @property + def failure(self) -> global___Failure: ... retry_behavior: ( temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType ) """Retry behavior, defaults to the retry behavior of the error type as defined in the spec.""" - @property - def failure(self) -> Global___Failure: ... def __init__( self, *, error_type: builtins.str = ..., - failure: Global___Failure | None = ..., + failure: global___Failure | None = ..., retry_behavior: temporalio.api.enums.v1.nexus_pb2.NexusHandlerErrorRetryBehavior.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "error_type", b"error_type", "failure", @@ -135,9 +132,8 @@ class HandlerError(google.protobuf.message.Message): ], ) -> None: ... -Global___HandlerError: typing_extensions.TypeAlias = HandlerError +global___HandlerError = HandlerError -@typing.final class UnsuccessfulOperationError(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -146,28 +142,25 @@ class UnsuccessfulOperationError(google.protobuf.message.Message): operation_state: builtins.str """See https://github.com/nexus-rpc/api/blob/main/SPEC.md#operationinfo.""" @property - def failure(self) -> Global___Failure: ... + def failure(self) -> global___Failure: ... def __init__( self, *, operation_state: builtins.str = ..., - failure: Global___Failure | None = ..., + failure: global___Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "operation_state", b"operation_state" ], ) -> None: ... -Global___UnsuccessfulOperationError: typing_extensions.TypeAlias = ( - UnsuccessfulOperationError -) +global___UnsuccessfulOperationError = UnsuccessfulOperationError -@typing.final class Link(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -183,18 +176,16 @@ class Link(google.protobuf.message.Message): type: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["type", b"type", "url", b"url"] + self, field_name: typing_extensions.Literal["type", b"type", "url", b"url"] ) -> None: ... -Global___Link: typing_extensions.TypeAlias = Link +global___Link = Link -@typing.final class StartOperationRequest(google.protobuf.message.Message): """A request to start an operation.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class CallbackHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -209,7 +200,8 @@ class StartOperationRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SERVICE_FIELD_NUMBER: builtins.int @@ -230,21 +222,18 @@ class StartOperationRequest(google.protobuf.message.Message): @property def payload(self) -> temporalio.api.common.v1.message_pb2.Payload: """Full request body from the incoming HTTP request.""" - @property def callback_header( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header that is expected to be attached to the callback request when the operation completes.""" - @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Link + global___Link ]: """Links contain caller information and can be attached to the operations started by the handler.""" - def __init__( self, *, @@ -255,14 +244,14 @@ class StartOperationRequest(google.protobuf.message.Message): payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., callback_header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., - links: collections.abc.Iterable[Global___Link] | None = ..., + links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["payload", b"payload"] + self, field_name: typing_extensions.Literal["payload", b"payload"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "callback", b"callback", "callback_header", @@ -280,9 +269,8 @@ class StartOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___StartOperationRequest: typing_extensions.TypeAlias = StartOperationRequest +global___StartOperationRequest = StartOperationRequest -@typing.final class CancelOperationRequest(google.protobuf.message.Message): """A request to cancel an operation.""" @@ -313,7 +301,7 @@ class CancelOperationRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "operation", b"operation", "operation_id", @@ -325,15 +313,13 @@ class CancelOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CancelOperationRequest: typing_extensions.TypeAlias = CancelOperationRequest +global___CancelOperationRequest = CancelOperationRequest -@typing.final class Request(google.protobuf.message.Message): """A Nexus request.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Capabilities(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -349,12 +335,11 @@ class Request(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "temporal_failure_responses", b"temporal_failure_responses" ], ) -> None: ... - @typing.final class HeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -369,7 +354,8 @@ class Request(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... HEADER_FIELD_NUMBER: builtins.int @@ -378,10 +364,6 @@ class Request(google.protobuf.message.Message): START_OPERATION_FIELD_NUMBER: builtins.int CANCEL_OPERATION_FIELD_NUMBER: builtins.int ENDPOINT_FIELD_NUMBER: builtins.int - endpoint: builtins.str - """The endpoint this request was addressed to before forwarding to the worker. - Supported from server version 1.30.0. - """ @property def header( self, @@ -389,33 +371,35 @@ class Request(google.protobuf.message.Message): """Headers extracted from the original request in the Temporal frontend. When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values. """ - @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The timestamp when the request was scheduled in the frontend. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --) """ - @property - def capabilities(self) -> Global___Request.Capabilities: ... + def capabilities(self) -> global___Request.Capabilities: ... @property - def start_operation(self) -> Global___StartOperationRequest: ... + def start_operation(self) -> global___StartOperationRequest: ... @property - def cancel_operation(self) -> Global___CancelOperationRequest: ... + def cancel_operation(self) -> global___CancelOperationRequest: ... + endpoint: builtins.str + """The endpoint this request was addressed to before forwarding to the worker. + Supported from server version 1.30.0. + """ def __init__( self, *, header: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - capabilities: Global___Request.Capabilities | None = ..., - start_operation: Global___StartOperationRequest | None = ..., - cancel_operation: Global___CancelOperationRequest | None = ..., + capabilities: global___Request.Capabilities | None = ..., + start_operation: global___StartOperationRequest | None = ..., + cancel_operation: global___CancelOperationRequest | None = ..., endpoint: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_operation", b"cancel_operation", "capabilities", @@ -430,7 +414,7 @@ class Request(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_operation", b"cancel_operation", "capabilities", @@ -448,18 +432,16 @@ class Request(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["start_operation", "cancel_operation"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... -Global___Request: typing_extensions.TypeAlias = Request +global___Request = Request -@typing.final class StartOperationResponse(google.protobuf.message.Message): """Response variant for StartOperationRequest.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Sync(google.protobuf.message.Message): """An operation completed successfully.""" @@ -473,22 +455,24 @@ class StartOperationResponse(google.protobuf.message.Message): def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Link + global___Link ]: ... def __init__( self, *, payload: temporalio.api.common.v1.message_pb2.Payload | None = ..., - links: collections.abc.Iterable[Global___Link] | None = ..., + links: collections.abc.Iterable[global___Link] | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["payload", b"payload"] + self, field_name: typing_extensions.Literal["payload", b"payload"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["links", b"links", "payload", b"payload"] + self, + field_name: typing_extensions.Literal[ + "links", b"links", "payload", b"payload" + ], ) -> None: ... - @typing.final class Async(google.protobuf.message.Message): """The operation will complete asynchronously. The returned ID can be used to reference this operation. @@ -501,23 +485,23 @@ class StartOperationResponse(google.protobuf.message.Message): OPERATION_TOKEN_FIELD_NUMBER: builtins.int operation_id: builtins.str """Deprecated. Renamed to operation_token.""" - operation_token: builtins.str @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Link + global___Link ]: ... + operation_token: builtins.str def __init__( self, *, operation_id: builtins.str = ..., - links: collections.abc.Iterable[Global___Link] | None = ..., + links: collections.abc.Iterable[global___Link] | None = ..., operation_token: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "links", b"links", "operation_id", @@ -532,32 +516,30 @@ class StartOperationResponse(google.protobuf.message.Message): OPERATION_ERROR_FIELD_NUMBER: builtins.int FAILURE_FIELD_NUMBER: builtins.int @property - def sync_success(self) -> Global___StartOperationResponse.Sync: ... + def sync_success(self) -> global___StartOperationResponse.Sync: ... @property - def async_success(self) -> Global___StartOperationResponse.Async: ... + def async_success(self) -> global___StartOperationResponse.Async: ... @property - def operation_error(self) -> Global___UnsuccessfulOperationError: + def operation_error(self) -> global___UnsuccessfulOperationError: """The operation completed unsuccessfully (failed or canceled). Deprecated. Use the failure variant instead. """ - @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The operation completed unsuccessfully (failed or canceled). Failure object must contain an ApplicationFailureInfo or CanceledFailureInfo object. """ - def __init__( self, *, - sync_success: Global___StartOperationResponse.Sync | None = ..., - async_success: Global___StartOperationResponse.Async | None = ..., - operation_error: Global___UnsuccessfulOperationError | None = ..., + sync_success: global___StartOperationResponse.Sync | None = ..., + async_success: global___StartOperationResponse.Async | None = ..., + operation_error: global___UnsuccessfulOperationError | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_success", b"async_success", "failure", @@ -572,7 +554,7 @@ class StartOperationResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "async_success", b"async_success", "failure", @@ -586,15 +568,16 @@ class StartOperationResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] + self, oneof_group: typing_extensions.Literal["variant", b"variant"] ) -> ( - typing.Literal["sync_success", "async_success", "operation_error", "failure"] + typing_extensions.Literal[ + "sync_success", "async_success", "operation_error", "failure" + ] | None ): ... -Global___StartOperationResponse: typing_extensions.TypeAlias = StartOperationResponse +global___StartOperationResponse = StartOperationResponse -@typing.final class CancelOperationResponse(google.protobuf.message.Message): """Response variant for CancelOperationRequest.""" @@ -604,9 +587,8 @@ class CancelOperationResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___CancelOperationResponse: typing_extensions.TypeAlias = CancelOperationResponse +global___CancelOperationResponse = CancelOperationResponse -@typing.final class Response(google.protobuf.message.Message): """A response indicating that the handler has successfully processed a request.""" @@ -615,18 +597,18 @@ class Response(google.protobuf.message.Message): START_OPERATION_FIELD_NUMBER: builtins.int CANCEL_OPERATION_FIELD_NUMBER: builtins.int @property - def start_operation(self) -> Global___StartOperationResponse: ... + def start_operation(self) -> global___StartOperationResponse: ... @property - def cancel_operation(self) -> Global___CancelOperationResponse: ... + def cancel_operation(self) -> global___CancelOperationResponse: ... def __init__( self, *, - start_operation: Global___StartOperationResponse | None = ..., - cancel_operation: Global___CancelOperationResponse | None = ..., + start_operation: global___StartOperationResponse | None = ..., + cancel_operation: global___CancelOperationResponse | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_operation", b"cancel_operation", "start_operation", @@ -637,7 +619,7 @@ class Response(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_operation", b"cancel_operation", "start_operation", @@ -647,12 +629,11 @@ class Response(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["start_operation", "cancel_operation"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["start_operation", "cancel_operation"] | None: ... -Global___Response: typing_extensions.TypeAlias = Response +global___Response = Response -@typing.final class Endpoint(google.protobuf.message.Message): """A cluster-global binding from an endpoint ID to a target for dispatching incoming Nexus requests.""" @@ -668,22 +649,15 @@ class Endpoint(google.protobuf.message.Message): """Data version for this endpoint, incremented for every update issued via the UpdateNexusEndpoint API.""" id: builtins.str """Unique server-generated endpoint ID.""" - url_prefix: builtins.str - """Server exposed URL prefix for invocation of operations on this endpoint. - This doesn't include the protocol, hostname or port as the server does not know how it should be accessed - publicly. The URL is stable in the face of endpoint renames. - """ @property - def spec(self) -> Global___EndpointSpec: + def spec(self) -> global___EndpointSpec: """Spec for the endpoint.""" - @property def created_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was created. (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --) """ - @property def last_modified_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The date and time when the endpoint was last modified. @@ -691,20 +665,24 @@ class Endpoint(google.protobuf.message.Message): (-- api-linter: core::0142::time-field-names=disabled aip.dev/not-precedent: Not following linter rules. --) """ - + url_prefix: builtins.str + """Server exposed URL prefix for invocation of operations on this endpoint. + This doesn't include the protocol, hostname or port as the server does not know how it should be accessed + publicly. The URL is stable in the face of endpoint renames. + """ def __init__( self, *, version: builtins.int = ..., id: builtins.str = ..., - spec: Global___EndpointSpec | None = ..., + spec: global___EndpointSpec | None = ..., created_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., last_modified_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., url_prefix: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "last_modified_time", @@ -715,7 +693,7 @@ class Endpoint(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "created_time", b"created_time", "id", @@ -731,9 +709,8 @@ class Endpoint(google.protobuf.message.Message): ], ) -> None: ... -Global___Endpoint: typing_extensions.TypeAlias = Endpoint +global___Endpoint = Endpoint -@typing.final class EndpointSpec(google.protobuf.message.Message): """Contains mutable fields for an Endpoint.""" @@ -752,38 +729,36 @@ class EndpointSpec(google.protobuf.message.Message): If the Payload is encrypted, the UI and CLI may decrypt with the configured codec server endpoint. By default, the server enforces a limit of 20,000 bytes for this entire payload. """ - @property - def target(self) -> Global___EndpointTarget: + def target(self) -> global___EndpointTarget: """Target to route requests to.""" - def __init__( self, *, name: builtins.str = ..., description: temporalio.api.common.v1.message_pb2.Payload | None = ..., - target: Global___EndpointTarget | None = ..., + target: global___EndpointTarget | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal["description", b"description", "target", b"target"], + field_name: typing_extensions.Literal[ + "description", b"description", "target", b"target" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "name", b"name", "target", b"target" ], ) -> None: ... -Global___EndpointSpec: typing_extensions.TypeAlias = EndpointSpec +global___EndpointSpec = EndpointSpec -@typing.final class EndpointTarget(google.protobuf.message.Message): """Target to route requests to.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Worker(google.protobuf.message.Message): """Target a worker polling on a Nexus task queue in a specific namespace.""" @@ -803,12 +778,11 @@ class EndpointTarget(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "task_queue", b"task_queue" ], ) -> None: ... - @typing.final class External(google.protobuf.message.Message): """Target an external server by URL. At a later point, this will support providing credentials, in the meantime, an http.RoundTripper can be injected @@ -825,39 +799,40 @@ class EndpointTarget(google.protobuf.message.Message): *, url: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["url", b"url"] + ) -> None: ... WORKER_FIELD_NUMBER: builtins.int EXTERNAL_FIELD_NUMBER: builtins.int @property - def worker(self) -> Global___EndpointTarget.Worker: ... + def worker(self) -> global___EndpointTarget.Worker: ... @property - def external(self) -> Global___EndpointTarget.External: ... + def external(self) -> global___EndpointTarget.External: ... def __init__( self, *, - worker: Global___EndpointTarget.Worker | None = ..., - external: Global___EndpointTarget.External | None = ..., + worker: global___EndpointTarget.Worker | None = ..., + external: global___EndpointTarget.External | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external", b"external", "variant", b"variant", "worker", b"worker" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "external", b"external", "variant", b"variant", "worker", b"worker" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["worker", "external"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["worker", "external"] | None: ... -Global___EndpointTarget: typing_extensions.TypeAlias = EndpointTarget +global___EndpointTarget = EndpointTarget -@typing.final class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): """NexusOperationExecutionCancellationInfo contains the state of a Nexus operation cancellation.""" @@ -871,31 +846,27 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int + @property + def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The time when cancellation was requested.""" state: temporalio.api.enums.v1.common_pb2.NexusOperationCancellationState.ValueType attempt: builtins.int """The number of attempts made to deliver the cancel operation request. This number represents a minimum bound since the attempt is incremented after the request completes. """ - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" - reason: builtins.str - """A reason that may be specified in the CancelNexusOperationRequest.""" - @property - def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The time when cancellation was requested.""" - @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" - @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + reason: builtins.str + """A reason that may be specified in the CancelNexusOperationRequest.""" def __init__( self, *, @@ -913,7 +884,7 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", @@ -926,7 +897,7 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "blocked_reason", @@ -946,17 +917,15 @@ class NexusOperationExecutionCancellationInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationExecutionCancellationInfo: typing_extensions.TypeAlias = ( +global___NexusOperationExecutionCancellationInfo = ( NexusOperationExecutionCancellationInfo ) -@typing.final class NexusOperationExecutionInfo(google.protobuf.message.Message): """Full current state of a standalone Nexus operation, as of the time of the request.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -971,7 +940,8 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... OPERATION_ID_FIELD_NUMBER: builtins.int @@ -1018,80 +988,66 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): """ state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType """More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.""" - attempt: builtins.int - """The number of attempts made to deliver the start operation request. - This number is approximate, it is incremented when a task is added to the history queue. - In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task - was never executed. - """ - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" - request_id: builtins.str - """Server-generated request ID used as an idempotency token when submitting start requests to - the handler. Distinct from the request_id in StartNexusOperationRequest, which is the - caller-side idempotency key for the StartNexusOperation RPC itself. - """ - operation_token: builtins.str - """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" - state_transition_count: builtins.int - """Incremented each time the operation's state is mutated in persistence.""" - identity: builtins.str - """The identity of the client who started this operation.""" - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - + attempt: builtins.int + """The number of attempts made to deliver the start operation request. + This number is approximate, it is incremented when a task is added to the history queue. + In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task + was never executed. + """ @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the operation was originally scheduled via a StartNexusOperation request.""" - @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Scheduled time + schedule to close timeout.""" - @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time when the operation transitioned to a closed state.""" - @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" - @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts. """ - @property - def cancellation_info(self) -> Global___NexusOperationExecutionCancellationInfo: ... + def cancellation_info(self) -> global___NexusOperationExecutionCancellationInfo: ... + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + request_id: builtins.str + """Server-generated request ID used as an idempotency token when submitting start requests to + the handler. Distinct from the request_id in StartNexusOperationRequest, which is the + caller-side idempotency key for the StartNexusOperation RPC itself. + """ + operation_token: builtins.str + """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" + state_transition_count: builtins.int + """Incremented each time the operation's state is mutated in persistence.""" @property def search_attributes( self, @@ -1101,11 +1057,9 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Header for context propagation and tracing purposes.""" - @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.""" - @property def links( self, @@ -1113,7 +1067,10 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links attached by the handler of this operation on start or completion.""" - + identity: builtins.str + """The identity of the client who started this operation.""" + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" def __init__( self, *, @@ -1138,7 +1095,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., execution_duration: google.protobuf.duration_pb2.Duration | None = ..., - cancellation_info: Global___NexusOperationExecutionCancellationInfo + cancellation_info: global___NexusOperationExecutionCancellationInfo | None = ..., blocked_reason: builtins.str = ..., request_id: builtins.str = ..., @@ -1156,7 +1113,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancellation_info", b"cancellation_info", "close_time", @@ -1187,7 +1144,7 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1249,11 +1206,8 @@ class NexusOperationExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationExecutionInfo: typing_extensions.TypeAlias = ( - NexusOperationExecutionInfo -) +global___NexusOperationExecutionInfo = NexusOperationExecutionInfo -@typing.final class NexusOperationExecutionListInfo(google.protobuf.message.Message): """Limited Nexus operation information returned in the list response. When adding fields here, ensure that it is also present in NexusOperationExecutionInfo (note that it may already be present in @@ -1284,32 +1238,28 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" - status: temporalio.api.enums.v1.nexus_pb2.NexusOperationExecutionStatus.ValueType - """The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status.""" - state_transition_count: builtins.int - """Updated on terminal status.""" - state_size_bytes: builtins.int - """Updated once on scheduled and once on terminal status.""" @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time the operation was originally scheduled via a StartNexusOperation request.""" - @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If the operation is in a terminal status, this field represents the time the operation transitioned to that status.""" - + status: temporalio.api.enums.v1.nexus_pb2.NexusOperationExecutionStatus.ValueType + """The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status.""" @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes from the start request.""" - + state_transition_count: builtins.int + """Updated on terminal status.""" @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """The difference between close time and scheduled time. This field is only populated if the operation is closed. """ - + state_size_bytes: builtins.int + """Updated once on scheduled and once on terminal status.""" def __init__( self, *, @@ -1329,7 +1279,7 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "close_time", b"close_time", "execution_duration", @@ -1342,7 +1292,7 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "close_time", b"close_time", "endpoint", @@ -1370,6 +1320,4 @@ class NexusOperationExecutionListInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationExecutionListInfo: typing_extensions.TypeAlias = ( - NexusOperationExecutionListInfo -) +global___NexusOperationExecutionListInfo = NexusOperationExecutionListInfo diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py index a6de209dc..ed045767d 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/nexusservices/workerservice/v1/request_response.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/nexusservices/workerservice/v1/request_response.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,20 +22,36 @@ b'\nBtemporal/api/nexusservices/workerservice/v1/request_response.proto\x12+temporal.api.nexusservices.workerservice.v1\x1a$temporal/api/worker/v1/message.proto"Q\n\x16\x45xecuteCommandsRequest\x12\x37\n\x08\x63ommands\x18\x01 \x03(\x0b\x32%.temporal.api.worker.v1.WorkerCommand"W\n\x17\x45xecuteCommandsResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32+.temporal.api.worker.v1.WorkerCommandResultB\xed\x01\n.io.temporal.api.nexusservices.workerservice.v1B\x14RequestResponseProtoP\x01Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\xaa\x02-Temporalio.Api.Nexusservices.Workerservice.V1\xea\x02\x31Temporalio::Api::Nexusservices::Workerservice::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, - "temporal.api.nexusservices.workerservice.v1.request_response_pb2", - _globals, + +_EXECUTECOMMANDSREQUEST = DESCRIPTOR.message_types_by_name["ExecuteCommandsRequest"] +_EXECUTECOMMANDSRESPONSE = DESCRIPTOR.message_types_by_name["ExecuteCommandsResponse"] +ExecuteCommandsRequest = _reflection.GeneratedProtocolMessageType( + "ExecuteCommandsRequest", + (_message.Message,), + { + "DESCRIPTOR": _EXECUTECOMMANDSREQUEST, + "__module__": "temporalio.api.nexusservices.workerservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexusservices.workerservice.v1.ExecuteCommandsRequest) + }, +) +_sym_db.RegisterMessage(ExecuteCommandsRequest) + +ExecuteCommandsResponse = _reflection.GeneratedProtocolMessageType( + "ExecuteCommandsResponse", + (_message.Message,), + { + "DESCRIPTOR": _EXECUTECOMMANDSRESPONSE, + "__module__": "temporalio.api.nexusservices.workerservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.nexusservices.workerservice.v1.ExecuteCommandsResponse) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n.io.temporal.api.nexusservices.workerservice.v1B\024RequestResponseProtoP\001Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\252\002-Temporalio.Api.Nexusservices.Workerservice.V1\352\0021Temporalio::Api::Nexusservices::Workerservice::V1" - _globals["_EXECUTECOMMANDSREQUEST"]._serialized_start = 153 - _globals["_EXECUTECOMMANDSREQUEST"]._serialized_end = 234 - _globals["_EXECUTECOMMANDSRESPONSE"]._serialized_start = 236 - _globals["_EXECUTECOMMANDSRESPONSE"]._serialized_end = 323 +_sym_db.RegisterMessage(ExecuteCommandsResponse) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n.io.temporal.api.nexusservices.workerservice.v1B\024RequestResponseProtoP\001Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\252\002-Temporalio.Api.Nexusservices.Workerservice.V1\352\0021Temporalio::Api::Nexusservices::Workerservice::V1" + _EXECUTECOMMANDSREQUEST._serialized_start = 153 + _EXECUTECOMMANDSREQUEST._serialized_end = 234 + _EXECUTECOMMANDSRESPONSE._serialized_start = 236 + _EXECUTECOMMANDSRESPONSE._serialized_end = 323 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi index aed08763b..8fd328cb8 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -14,14 +13,13 @@ import google.protobuf.message import temporalio.api.worker.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ExecuteCommandsRequest(google.protobuf.message.Message): """(-- Internal Nexus service for server-to-worker communication. @@ -48,12 +46,11 @@ class ExecuteCommandsRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["commands", b"commands"] + self, field_name: typing_extensions.Literal["commands", b"commands"] ) -> None: ... -Global___ExecuteCommandsRequest: typing_extensions.TypeAlias = ExecuteCommandsRequest +global___ExecuteCommandsRequest = ExecuteCommandsRequest -@typing.final class ExecuteCommandsResponse(google.protobuf.message.Message): """Response payload for the "ExecuteCommands" Nexus operation. The results list must be 1:1 with the commands list in the request (same size and order). @@ -76,6 +73,8 @@ class ExecuteCommandsResponse(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["results", b"results"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["results", b"results"] + ) -> None: ... -Global___ExecuteCommandsResponse: typing_extensions.TypeAlias = ExecuteCommandsResponse +global___ExecuteCommandsResponse = ExecuteCommandsResponse diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py index ffeb5db3b..bf947056a 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py @@ -1,28 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc - -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/nexusservices/workerservice/v1/request_response_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) diff --git a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi index 56d3cebc2..f3a5a087e 100644 --- a/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/nexusservices/workerservice/v1/request_response_pb2_grpc.pyi @@ -2,23 +2,3 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -import abc -import collections.abc -import typing - -import grpc -import grpc.aio - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.py b/temporalio/api/operatorservice/v1/request_response_pb2.py index f10f648a0..8edc4274a 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/operatorservice/v1/request_response.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/operatorservice/v1/request_response.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,104 +27,462 @@ b'\n6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto"\xff\x01\n\x1a\x41\x64\x64SearchAttributesRequest\x12l\n\x11search_attributes\x18\x01 \x03(\x0b\x32Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry\x12\x11\n\tnamespace\x18\x02 \x01(\t\x1a`\n\x15SearchAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\x1d\n\x1b\x41\x64\x64SearchAttributesResponse"M\n\x1dRemoveSearchAttributesRequest\x12\x19\n\x11search_attributes\x18\x01 \x03(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t" \n\x1eRemoveSearchAttributesResponse"0\n\x1bListSearchAttributesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t"\xe2\x04\n\x1cListSearchAttributesResponse\x12n\n\x11\x63ustom_attributes\x18\x01 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry\x12n\n\x11system_attributes\x18\x02 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry\x12h\n\x0estorage_schema\x18\x03 \x03(\x0b\x32P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry\x1a`\n\x15\x43ustomAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a`\n\x15SystemAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\x1a\x34\n\x12StorageSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"|\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x02 \x01(\t\x12\x39\n\x16namespace_delete_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration"4\n\x17\x44\x65leteNamespaceResponse\x12\x19\n\x11\x64\x65leted_namespace\x18\x01 \x01(\t"\xa0\x01\n\x1f\x41\x64\x64OrUpdateRemoteClusterRequest\x12\x18\n\x10\x66rontend_address\x18\x01 \x01(\t\x12(\n enable_remote_cluster_connection\x18\x02 \x01(\x08\x12\x1d\n\x15\x66rontend_http_address\x18\x03 \x01(\t\x12\x1a\n\x12\x65nable_replication\x18\x04 \x01(\x08""\n AddOrUpdateRemoteClusterResponse"2\n\x1aRemoveRemoteClusterRequest\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\x1d\n\x1bRemoveRemoteClusterResponse"A\n\x13ListClustersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"s\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.temporal.api.operatorservice.v1.ClusterMetadata\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"\xe0\x01\n\x0f\x43lusterMetadata\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0chttp_address\x18\x07 \x01(\t\x12 \n\x18initial_failover_version\x18\x04 \x01(\x03\x12\x1b\n\x13history_shard_count\x18\x05 \x01(\x05\x12\x1d\n\x15is_connection_enabled\x18\x06 \x01(\x08\x12\x1e\n\x16is_replication_enabled\x18\x08 \x01(\x08"%\n\x17GetNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t"M\n\x18GetNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"O\n\x1a\x43reateNexusEndpointRequest\x12\x31\n\x04spec\x18\x01 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1b\x43reateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"l\n\x1aUpdateNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec"P\n\x1bUpdateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint"9\n\x1a\x44\x65leteNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"\x1d\n\x1b\x44\x65leteNexusEndpointResponse"U\n\x19ListNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t"i\n\x1aListNexusEndpointsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x32\n\tendpoints\x18\x02 \x03(\x0b\x32\x1f.temporal.api.nexus.v1.EndpointB\xbe\x01\n"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.operatorservice.v1.request_response_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _globals["_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY"]._loaded_options = None - _globals[ - "_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY" - ]._serialized_options = b"8\001" - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" - ]._loaded_options = None - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" - ]._serialized_options = b"8\001" - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" - ]._loaded_options = None - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" - ]._serialized_options = b"8\001" - _globals["_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY"]._loaded_options = None - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY" - ]._serialized_options = b"8\001" - _globals["_ADDSEARCHATTRIBUTESREQUEST"]._serialized_start = 197 - _globals["_ADDSEARCHATTRIBUTESREQUEST"]._serialized_end = 452 - _globals[ - "_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY" - ]._serialized_start = 356 - _globals["_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY"]._serialized_end = 452 - _globals["_ADDSEARCHATTRIBUTESRESPONSE"]._serialized_start = 454 - _globals["_ADDSEARCHATTRIBUTESRESPONSE"]._serialized_end = 483 - _globals["_REMOVESEARCHATTRIBUTESREQUEST"]._serialized_start = 485 - _globals["_REMOVESEARCHATTRIBUTESREQUEST"]._serialized_end = 562 - _globals["_REMOVESEARCHATTRIBUTESRESPONSE"]._serialized_start = 564 - _globals["_REMOVESEARCHATTRIBUTESRESPONSE"]._serialized_end = 596 - _globals["_LISTSEARCHATTRIBUTESREQUEST"]._serialized_start = 598 - _globals["_LISTSEARCHATTRIBUTESREQUEST"]._serialized_end = 646 - _globals["_LISTSEARCHATTRIBUTESRESPONSE"]._serialized_start = 649 - _globals["_LISTSEARCHATTRIBUTESRESPONSE"]._serialized_end = 1259 - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" - ]._serialized_start = 1011 - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY" - ]._serialized_end = 1107 - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" - ]._serialized_start = 1109 - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY" - ]._serialized_end = 1205 - _globals[ - "_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY" - ]._serialized_start = 1207 - _globals["_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY"]._serialized_end = 1259 - _globals["_DELETENAMESPACEREQUEST"]._serialized_start = 1261 - _globals["_DELETENAMESPACEREQUEST"]._serialized_end = 1385 - _globals["_DELETENAMESPACERESPONSE"]._serialized_start = 1387 - _globals["_DELETENAMESPACERESPONSE"]._serialized_end = 1439 - _globals["_ADDORUPDATEREMOTECLUSTERREQUEST"]._serialized_start = 1442 - _globals["_ADDORUPDATEREMOTECLUSTERREQUEST"]._serialized_end = 1602 - _globals["_ADDORUPDATEREMOTECLUSTERRESPONSE"]._serialized_start = 1604 - _globals["_ADDORUPDATEREMOTECLUSTERRESPONSE"]._serialized_end = 1638 - _globals["_REMOVEREMOTECLUSTERREQUEST"]._serialized_start = 1640 - _globals["_REMOVEREMOTECLUSTERREQUEST"]._serialized_end = 1690 - _globals["_REMOVEREMOTECLUSTERRESPONSE"]._serialized_start = 1692 - _globals["_REMOVEREMOTECLUSTERRESPONSE"]._serialized_end = 1721 - _globals["_LISTCLUSTERSREQUEST"]._serialized_start = 1723 - _globals["_LISTCLUSTERSREQUEST"]._serialized_end = 1788 - _globals["_LISTCLUSTERSRESPONSE"]._serialized_start = 1790 - _globals["_LISTCLUSTERSRESPONSE"]._serialized_end = 1905 - _globals["_CLUSTERMETADATA"]._serialized_start = 1908 - _globals["_CLUSTERMETADATA"]._serialized_end = 2132 - _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_start = 2134 - _globals["_GETNEXUSENDPOINTREQUEST"]._serialized_end = 2171 - _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_start = 2173 - _globals["_GETNEXUSENDPOINTRESPONSE"]._serialized_end = 2250 - _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_start = 2252 - _globals["_CREATENEXUSENDPOINTREQUEST"]._serialized_end = 2331 - _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_start = 2333 - _globals["_CREATENEXUSENDPOINTRESPONSE"]._serialized_end = 2413 - _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_start = 2415 - _globals["_UPDATENEXUSENDPOINTREQUEST"]._serialized_end = 2523 - _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_start = 2525 - _globals["_UPDATENEXUSENDPOINTRESPONSE"]._serialized_end = 2605 - _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_start = 2607 - _globals["_DELETENEXUSENDPOINTREQUEST"]._serialized_end = 2664 - _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_start = 2666 - _globals["_DELETENEXUSENDPOINTRESPONSE"]._serialized_end = 2695 - _globals["_LISTNEXUSENDPOINTSREQUEST"]._serialized_start = 2697 - _globals["_LISTNEXUSENDPOINTSREQUEST"]._serialized_end = 2782 - _globals["_LISTNEXUSENDPOINTSRESPONSE"]._serialized_start = 2784 - _globals["_LISTNEXUSENDPOINTSRESPONSE"]._serialized_end = 2889 + +_ADDSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "AddSearchAttributesRequest" +] +_ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY = ( + _ADDSEARCHATTRIBUTESREQUEST.nested_types_by_name["SearchAttributesEntry"] +) +_ADDSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddSearchAttributesResponse" +] +_REMOVESEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "RemoveSearchAttributesRequest" +] +_REMOVESEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "RemoveSearchAttributesResponse" +] +_LISTSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "ListSearchAttributesRequest" +] +_LISTSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListSearchAttributesResponse" +] +_LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY = ( + _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["CustomAttributesEntry"] +) +_LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY = ( + _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["SystemAttributesEntry"] +) +_LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY = ( + _LISTSEARCHATTRIBUTESRESPONSE.nested_types_by_name["StorageSchemaEntry"] +) +_DELETENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DeleteNamespaceRequest"] +_DELETENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["DeleteNamespaceResponse"] +_ADDORUPDATEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ + "AddOrUpdateRemoteClusterRequest" +] +_ADDORUPDATEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ + "AddOrUpdateRemoteClusterResponse" +] +_REMOVEREMOTECLUSTERREQUEST = DESCRIPTOR.message_types_by_name[ + "RemoveRemoteClusterRequest" +] +_REMOVEREMOTECLUSTERRESPONSE = DESCRIPTOR.message_types_by_name[ + "RemoveRemoteClusterResponse" +] +_LISTCLUSTERSREQUEST = DESCRIPTOR.message_types_by_name["ListClustersRequest"] +_LISTCLUSTERSRESPONSE = DESCRIPTOR.message_types_by_name["ListClustersResponse"] +_CLUSTERMETADATA = DESCRIPTOR.message_types_by_name["ClusterMetadata"] +_GETNEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name["GetNexusEndpointRequest"] +_GETNEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name["GetNexusEndpointResponse"] +_CREATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointRequest" +] +_CREATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateNexusEndpointResponse" +] +_UPDATENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointRequest" +] +_UPDATENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateNexusEndpointResponse" +] +_DELETENEXUSENDPOINTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointRequest" +] +_DELETENEXUSENDPOINTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNexusEndpointResponse" +] +_LISTNEXUSENDPOINTSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListNexusEndpointsRequest" +] +_LISTNEXUSENDPOINTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListNexusEndpointsResponse" +] +AddSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "AddSearchAttributesRequest", + (_message.Message,), + { + "SearchAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SearchAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry) + }, + ), + "DESCRIPTOR": _ADDSEARCHATTRIBUTESREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesRequest) + }, +) +_sym_db.RegisterMessage(AddSearchAttributesRequest) +_sym_db.RegisterMessage(AddSearchAttributesRequest.SearchAttributesEntry) + +AddSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "AddSearchAttributesResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDSEARCHATTRIBUTESRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddSearchAttributesResponse) + }, +) +_sym_db.RegisterMessage(AddSearchAttributesResponse) + +RemoveSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "RemoveSearchAttributesRequest", + (_message.Message,), + { + "DESCRIPTOR": _REMOVESEARCHATTRIBUTESREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesRequest) + }, +) +_sym_db.RegisterMessage(RemoveSearchAttributesRequest) + +RemoveSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "RemoveSearchAttributesResponse", + (_message.Message,), + { + "DESCRIPTOR": _REMOVESEARCHATTRIBUTESRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveSearchAttributesResponse) + }, +) +_sym_db.RegisterMessage(RemoveSearchAttributesResponse) + +ListSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "ListSearchAttributesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesRequest) + }, +) +_sym_db.RegisterMessage(ListSearchAttributesRequest) + +ListSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "ListSearchAttributesResponse", + (_message.Message,), + { + "CustomAttributesEntry": _reflection.GeneratedProtocolMessageType( + "CustomAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry) + }, + ), + "SystemAttributesEntry": _reflection.GeneratedProtocolMessageType( + "SystemAttributesEntry", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry) + }, + ), + "StorageSchemaEntry": _reflection.GeneratedProtocolMessageType( + "StorageSchemaEntry", + (_message.Message,), + { + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry) + }, + ), + "DESCRIPTOR": _LISTSEARCHATTRIBUTESRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListSearchAttributesResponse) + }, +) +_sym_db.RegisterMessage(ListSearchAttributesResponse) +_sym_db.RegisterMessage(ListSearchAttributesResponse.CustomAttributesEntry) +_sym_db.RegisterMessage(ListSearchAttributesResponse.SystemAttributesEntry) +_sym_db.RegisterMessage(ListSearchAttributesResponse.StorageSchemaEntry) + +DeleteNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACEREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceRequest) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceRequest) + +DeleteNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENAMESPACERESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNamespaceResponse) + }, +) +_sym_db.RegisterMessage(DeleteNamespaceResponse) + +AddOrUpdateRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( + "AddOrUpdateRemoteClusterRequest", + (_message.Message,), + { + "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest) + }, +) +_sym_db.RegisterMessage(AddOrUpdateRemoteClusterRequest) + +AddOrUpdateRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( + "AddOrUpdateRemoteClusterResponse", + (_message.Message,), + { + "DESCRIPTOR": _ADDORUPDATEREMOTECLUSTERRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse) + }, +) +_sym_db.RegisterMessage(AddOrUpdateRemoteClusterResponse) + +RemoveRemoteClusterRequest = _reflection.GeneratedProtocolMessageType( + "RemoveRemoteClusterRequest", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEREMOTECLUSTERREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterRequest) + }, +) +_sym_db.RegisterMessage(RemoveRemoteClusterRequest) + +RemoveRemoteClusterResponse = _reflection.GeneratedProtocolMessageType( + "RemoveRemoteClusterResponse", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEREMOTECLUSTERRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.RemoveRemoteClusterResponse) + }, +) +_sym_db.RegisterMessage(RemoveRemoteClusterResponse) + +ListClustersRequest = _reflection.GeneratedProtocolMessageType( + "ListClustersRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLUSTERSREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersRequest) + }, +) +_sym_db.RegisterMessage(ListClustersRequest) + +ListClustersResponse = _reflection.GeneratedProtocolMessageType( + "ListClustersResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLUSTERSRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListClustersResponse) + }, +) +_sym_db.RegisterMessage(ListClustersResponse) + +ClusterMetadata = _reflection.GeneratedProtocolMessageType( + "ClusterMetadata", + (_message.Message,), + { + "DESCRIPTOR": _CLUSTERMETADATA, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ClusterMetadata) + }, +) +_sym_db.RegisterMessage(ClusterMetadata) + +GetNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(GetNexusEndpointRequest) + +GetNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "GetNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETNEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.GetNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(GetNexusEndpointResponse) + +CreateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(CreateNexusEndpointRequest) + +CreateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "CreateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATENEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.CreateNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(CreateNexusEndpointResponse) + +UpdateNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(UpdateNexusEndpointRequest) + +UpdateNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.UpdateNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(UpdateNexusEndpointResponse) + +DeleteNexusEndpointRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointRequest) + }, +) +_sym_db.RegisterMessage(DeleteNexusEndpointRequest) + +DeleteNexusEndpointResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNexusEndpointResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSENDPOINTRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.DeleteNexusEndpointResponse) + }, +) +_sym_db.RegisterMessage(DeleteNexusEndpointResponse) + +ListNexusEndpointsRequest = _reflection.GeneratedProtocolMessageType( + "ListNexusEndpointsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTNEXUSENDPOINTSREQUEST, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsRequest) + }, +) +_sym_db.RegisterMessage(ListNexusEndpointsRequest) + +ListNexusEndpointsResponse = _reflection.GeneratedProtocolMessageType( + "ListNexusEndpointsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTNEXUSENDPOINTSRESPONSE, + "__module__": "temporalio.api.operatorservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.operatorservice.v1.ListNexusEndpointsResponse) + }, +) +_sym_db.RegisterMessage(ListNexusEndpointsResponse) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._options = None + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_options = b"8\001" + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_options = b"8\001" + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_options = b"8\001" + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._options = None + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_options = b"8\001" + _ADDSEARCHATTRIBUTESREQUEST._serialized_start = 197 + _ADDSEARCHATTRIBUTESREQUEST._serialized_end = 452 + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_start = 356 + _ADDSEARCHATTRIBUTESREQUEST_SEARCHATTRIBUTESENTRY._serialized_end = 452 + _ADDSEARCHATTRIBUTESRESPONSE._serialized_start = 454 + _ADDSEARCHATTRIBUTESRESPONSE._serialized_end = 483 + _REMOVESEARCHATTRIBUTESREQUEST._serialized_start = 485 + _REMOVESEARCHATTRIBUTESREQUEST._serialized_end = 562 + _REMOVESEARCHATTRIBUTESRESPONSE._serialized_start = 564 + _REMOVESEARCHATTRIBUTESRESPONSE._serialized_end = 596 + _LISTSEARCHATTRIBUTESREQUEST._serialized_start = 598 + _LISTSEARCHATTRIBUTESREQUEST._serialized_end = 646 + _LISTSEARCHATTRIBUTESRESPONSE._serialized_start = 649 + _LISTSEARCHATTRIBUTESRESPONSE._serialized_end = 1259 + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_start = 1011 + _LISTSEARCHATTRIBUTESRESPONSE_CUSTOMATTRIBUTESENTRY._serialized_end = 1107 + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_start = 1109 + _LISTSEARCHATTRIBUTESRESPONSE_SYSTEMATTRIBUTESENTRY._serialized_end = 1205 + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_start = 1207 + _LISTSEARCHATTRIBUTESRESPONSE_STORAGESCHEMAENTRY._serialized_end = 1259 + _DELETENAMESPACEREQUEST._serialized_start = 1261 + _DELETENAMESPACEREQUEST._serialized_end = 1385 + _DELETENAMESPACERESPONSE._serialized_start = 1387 + _DELETENAMESPACERESPONSE._serialized_end = 1439 + _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_start = 1442 + _ADDORUPDATEREMOTECLUSTERREQUEST._serialized_end = 1602 + _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_start = 1604 + _ADDORUPDATEREMOTECLUSTERRESPONSE._serialized_end = 1638 + _REMOVEREMOTECLUSTERREQUEST._serialized_start = 1640 + _REMOVEREMOTECLUSTERREQUEST._serialized_end = 1690 + _REMOVEREMOTECLUSTERRESPONSE._serialized_start = 1692 + _REMOVEREMOTECLUSTERRESPONSE._serialized_end = 1721 + _LISTCLUSTERSREQUEST._serialized_start = 1723 + _LISTCLUSTERSREQUEST._serialized_end = 1788 + _LISTCLUSTERSRESPONSE._serialized_start = 1790 + _LISTCLUSTERSRESPONSE._serialized_end = 1905 + _CLUSTERMETADATA._serialized_start = 1908 + _CLUSTERMETADATA._serialized_end = 2132 + _GETNEXUSENDPOINTREQUEST._serialized_start = 2134 + _GETNEXUSENDPOINTREQUEST._serialized_end = 2171 + _GETNEXUSENDPOINTRESPONSE._serialized_start = 2173 + _GETNEXUSENDPOINTRESPONSE._serialized_end = 2250 + _CREATENEXUSENDPOINTREQUEST._serialized_start = 2252 + _CREATENEXUSENDPOINTREQUEST._serialized_end = 2331 + _CREATENEXUSENDPOINTRESPONSE._serialized_start = 2333 + _CREATENEXUSENDPOINTRESPONSE._serialized_end = 2413 + _UPDATENEXUSENDPOINTREQUEST._serialized_start = 2415 + _UPDATENEXUSENDPOINTREQUEST._serialized_end = 2523 + _UPDATENEXUSENDPOINTRESPONSE._serialized_start = 2525 + _UPDATENEXUSENDPOINTRESPONSE._serialized_end = 2605 + _DELETENEXUSENDPOINTREQUEST._serialized_start = 2607 + _DELETENEXUSENDPOINTREQUEST._serialized_end = 2664 + _DELETENEXUSENDPOINTRESPONSE._serialized_start = 2666 + _DELETENEXUSENDPOINTRESPONSE._serialized_end = 2695 + _LISTNEXUSENDPOINTSREQUEST._serialized_start = 2697 + _LISTNEXUSENDPOINTSREQUEST._serialized_end = 2782 + _LISTNEXUSENDPOINTSRESPONSE._serialized_start = 2784 + _LISTNEXUSENDPOINTSRESPONSE._serialized_end = 2889 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/request_response_pb2.pyi b/temporalio/api/operatorservice/v1/request_response_pb2.pyi index a7539cd36..b06ab93b8 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2.pyi +++ b/temporalio/api/operatorservice/v1/request_response_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -16,20 +15,18 @@ import google.protobuf.message import temporalio.api.enums.v1.common_pb2 import temporalio.api.nexus.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class AddSearchAttributesRequest(google.protobuf.message.Message): """(-- Search Attribute --)""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class SearchAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -44,12 +41,12 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int - namespace: builtins.str @property def search_attributes( self, @@ -57,7 +54,7 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType ]: """Mapping between search attribute name and its IndexedValueType.""" - + namespace: builtins.str def __init__( self, *, @@ -69,16 +66,13 @@ class AddSearchAttributesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "search_attributes", b"search_attributes" ], ) -> None: ... -Global___AddSearchAttributesRequest: typing_extensions.TypeAlias = ( - AddSearchAttributesRequest -) +global___AddSearchAttributesRequest = AddSearchAttributesRequest -@typing.final class AddSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -86,23 +80,19 @@ class AddSearchAttributesResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___AddSearchAttributesResponse: typing_extensions.TypeAlias = ( - AddSearchAttributesResponse -) +global___AddSearchAttributesResponse = AddSearchAttributesResponse -@typing.final class RemoveSearchAttributesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int NAMESPACE_FIELD_NUMBER: builtins.int - namespace: builtins.str @property def search_attributes( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Search attribute names to delete.""" - + namespace: builtins.str def __init__( self, *, @@ -111,16 +101,13 @@ class RemoveSearchAttributesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "search_attributes", b"search_attributes" ], ) -> None: ... -Global___RemoveSearchAttributesRequest: typing_extensions.TypeAlias = ( - RemoveSearchAttributesRequest -) +global___RemoveSearchAttributesRequest = RemoveSearchAttributesRequest -@typing.final class RemoveSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -128,11 +115,8 @@ class RemoveSearchAttributesResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RemoveSearchAttributesResponse: typing_extensions.TypeAlias = ( - RemoveSearchAttributesResponse -) +global___RemoveSearchAttributesResponse = RemoveSearchAttributesResponse -@typing.final class ListSearchAttributesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -144,18 +128,14 @@ class ListSearchAttributesRequest(google.protobuf.message.Message): namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace"] + self, field_name: typing_extensions.Literal["namespace", b"namespace"] ) -> None: ... -Global___ListSearchAttributesRequest: typing_extensions.TypeAlias = ( - ListSearchAttributesRequest -) +global___ListSearchAttributesRequest = ListSearchAttributesRequest -@typing.final class ListSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class CustomAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -170,10 +150,10 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class SystemAttributesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -188,10 +168,10 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class StorageSchemaEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -206,7 +186,8 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... CUSTOM_ATTRIBUTES_FIELD_NUMBER: builtins.int @@ -219,7 +200,6 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType ]: """Mapping between custom (user-registered) search attribute name to its IndexedValueType.""" - @property def system_attributes( self, @@ -227,13 +207,11 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): builtins.str, temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType ]: """Mapping between system (predefined) search attribute name to its IndexedValueType.""" - @property def storage_schema( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Mapping from the attribute name to the visibility storage native type.""" - def __init__( self, *, @@ -250,7 +228,7 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "custom_attributes", b"custom_attributes", "storage_schema", @@ -260,11 +238,8 @@ class ListSearchAttributesResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___ListSearchAttributesResponse: typing_extensions.TypeAlias = ( - ListSearchAttributesResponse -) +global___ListSearchAttributesResponse = ListSearchAttributesResponse -@typing.final class DeleteNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -279,7 +254,6 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): """If provided, the deletion of namespace info will be delayed for the given duration (0 means no delay). If not provided, the default delay configured in the cluster will be used. """ - def __init__( self, *, @@ -289,11 +263,13 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["namespace_delete_delay", b"namespace_delete_delay"], + field_name: typing_extensions.Literal[ + "namespace_delete_delay", b"namespace_delete_delay" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "namespace_delete_delay", @@ -303,9 +279,8 @@ class DeleteNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteNamespaceRequest: typing_extensions.TypeAlias = DeleteNamespaceRequest +global___DeleteNamespaceRequest = DeleteNamespaceRequest -@typing.final class DeleteNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -318,12 +293,14 @@ class DeleteNamespaceResponse(google.protobuf.message.Message): deleted_namespace: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["deleted_namespace", b"deleted_namespace"] + self, + field_name: typing_extensions.Literal[ + "deleted_namespace", b"deleted_namespace" + ], ) -> None: ... -Global___DeleteNamespaceResponse: typing_extensions.TypeAlias = DeleteNamespaceResponse +global___DeleteNamespaceResponse = DeleteNamespaceResponse -@typing.final class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -351,7 +328,7 @@ class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "enable_remote_cluster_connection", b"enable_remote_cluster_connection", "enable_replication", @@ -363,11 +340,8 @@ class AddOrUpdateRemoteClusterRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___AddOrUpdateRemoteClusterRequest: typing_extensions.TypeAlias = ( - AddOrUpdateRemoteClusterRequest -) +global___AddOrUpdateRemoteClusterRequest = AddOrUpdateRemoteClusterRequest -@typing.final class AddOrUpdateRemoteClusterResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -375,11 +349,8 @@ class AddOrUpdateRemoteClusterResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___AddOrUpdateRemoteClusterResponse: typing_extensions.TypeAlias = ( - AddOrUpdateRemoteClusterResponse -) +global___AddOrUpdateRemoteClusterResponse = AddOrUpdateRemoteClusterResponse -@typing.final class RemoveRemoteClusterRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -392,14 +363,11 @@ class RemoveRemoteClusterRequest(google.protobuf.message.Message): cluster_name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["cluster_name", b"cluster_name"] + self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] ) -> None: ... -Global___RemoveRemoteClusterRequest: typing_extensions.TypeAlias = ( - RemoveRemoteClusterRequest -) +global___RemoveRemoteClusterRequest = RemoveRemoteClusterRequest -@typing.final class RemoveRemoteClusterResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -407,11 +375,8 @@ class RemoveRemoteClusterResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RemoveRemoteClusterResponse: typing_extensions.TypeAlias = ( - RemoveRemoteClusterResponse -) +global___RemoveRemoteClusterResponse = RemoveRemoteClusterResponse -@typing.final class ListClustersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -427,44 +392,41 @@ class ListClustersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "page_size", b"page_size" ], ) -> None: ... -Global___ListClustersRequest: typing_extensions.TypeAlias = ListClustersRequest +global___ListClustersRequest = ListClustersRequest -@typing.final class ListClustersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor CLUSTERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def clusters( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ClusterMetadata + global___ClusterMetadata ]: """List of all cluster information""" - + next_page_token: builtins.bytes def __init__( self, *, - clusters: collections.abc.Iterable[Global___ClusterMetadata] | None = ..., + clusters: collections.abc.Iterable[global___ClusterMetadata] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "clusters", b"clusters", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListClustersResponse: typing_extensions.TypeAlias = ListClustersResponse +global___ListClustersResponse = ListClustersResponse -@typing.final class ClusterMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -506,7 +468,7 @@ class ClusterMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "address", b"address", "cluster_id", @@ -526,9 +488,8 @@ class ClusterMetadata(google.protobuf.message.Message): ], ) -> None: ... -Global___ClusterMetadata: typing_extensions.TypeAlias = ClusterMetadata +global___ClusterMetadata = ClusterMetadata -@typing.final class GetNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -540,11 +501,12 @@ class GetNexusEndpointRequest(google.protobuf.message.Message): *, id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["id", b"id"] + ) -> None: ... -Global___GetNexusEndpointRequest: typing_extensions.TypeAlias = GetNexusEndpointRequest +global___GetNexusEndpointRequest = GetNexusEndpointRequest -@typing.final class GetNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -557,17 +519,14 @@ class GetNexusEndpointResponse(google.protobuf.message.Message): endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> None: ... -Global___GetNexusEndpointResponse: typing_extensions.TypeAlias = ( - GetNexusEndpointResponse -) +global___GetNexusEndpointResponse = GetNexusEndpointResponse -@typing.final class CreateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -575,22 +534,20 @@ class CreateNexusEndpointRequest(google.protobuf.message.Message): @property def spec(self) -> temporalio.api.nexus.v1.message_pb2.EndpointSpec: """Endpoint definition to create.""" - def __init__( self, *, spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["spec", b"spec"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["spec", b"spec"] + ) -> None: ... -Global___CreateNexusEndpointRequest: typing_extensions.TypeAlias = ( - CreateNexusEndpointRequest -) +global___CreateNexusEndpointRequest = CreateNexusEndpointRequest -@typing.final class CreateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -598,24 +555,20 @@ class CreateNexusEndpointResponse(google.protobuf.message.Message): @property def endpoint(self) -> temporalio.api.nexus.v1.message_pb2.Endpoint: """Data post acceptance. Can be used to issue additional updates to this record.""" - def __init__( self, *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> None: ... -Global___CreateNexusEndpointResponse: typing_extensions.TypeAlias = ( - CreateNexusEndpointResponse -) +global___CreateNexusEndpointResponse = CreateNexusEndpointResponse -@typing.final class UpdateNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -636,18 +589,17 @@ class UpdateNexusEndpointRequest(google.protobuf.message.Message): spec: temporalio.api.nexus.v1.message_pb2.EndpointSpec | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal["id", b"id", "spec", b"spec", "version", b"version"], + field_name: typing_extensions.Literal[ + "id", b"id", "spec", b"spec", "version", b"version" + ], ) -> None: ... -Global___UpdateNexusEndpointRequest: typing_extensions.TypeAlias = ( - UpdateNexusEndpointRequest -) +global___UpdateNexusEndpointRequest = UpdateNexusEndpointRequest -@typing.final class UpdateNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -655,24 +607,20 @@ class UpdateNexusEndpointResponse(google.protobuf.message.Message): @property def endpoint(self) -> temporalio.api.nexus.v1.message_pb2.Endpoint: """Data post acceptance. Can be used to issue additional updates to this record.""" - def __init__( self, *, endpoint: temporalio.api.nexus.v1.message_pb2.Endpoint | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["endpoint", b"endpoint"] + self, field_name: typing_extensions.Literal["endpoint", b"endpoint"] ) -> None: ... -Global___UpdateNexusEndpointResponse: typing_extensions.TypeAlias = ( - UpdateNexusEndpointResponse -) +global___UpdateNexusEndpointResponse = UpdateNexusEndpointResponse -@typing.final class DeleteNexusEndpointRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -689,14 +637,11 @@ class DeleteNexusEndpointRequest(google.protobuf.message.Message): version: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["id", b"id", "version", b"version"] + self, field_name: typing_extensions.Literal["id", b"id", "version", b"version"] ) -> None: ... -Global___DeleteNexusEndpointRequest: typing_extensions.TypeAlias = ( - DeleteNexusEndpointRequest -) +global___DeleteNexusEndpointRequest = DeleteNexusEndpointRequest -@typing.final class DeleteNexusEndpointResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -704,11 +649,8 @@ class DeleteNexusEndpointResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteNexusEndpointResponse: typing_extensions.TypeAlias = ( - DeleteNexusEndpointResponse -) +global___DeleteNexusEndpointResponse = DeleteNexusEndpointResponse -@typing.final class ListNexusEndpointsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -735,7 +677,7 @@ class ListNexusEndpointsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "name", b"name", "next_page_token", @@ -745,11 +687,8 @@ class ListNexusEndpointsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListNexusEndpointsRequest: typing_extensions.TypeAlias = ( - ListNexusEndpointsRequest -) +global___ListNexusEndpointsRequest = ListNexusEndpointsRequest -@typing.final class ListNexusEndpointsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -774,11 +713,9 @@ class ListNexusEndpointsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "endpoints", b"endpoints", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListNexusEndpointsResponse: typing_extensions.TypeAlias = ( - ListNexusEndpointsResponse -) +global___ListNexusEndpointsResponse = ListNexusEndpointsResponse diff --git a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py index d2794c10a..bf947056a 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.py @@ -1,28 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc - -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/operatorservice/v1/request_response_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) diff --git a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi index 56d3cebc2..f3a5a087e 100644 --- a/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/operatorservice/v1/request_response_pb2_grpc.pyi @@ -2,23 +2,3 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -import abc -import collections.abc -import typing - -import grpc -import grpc.aio - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str diff --git a/temporalio/api/operatorservice/v1/service_pb2.py b/temporalio/api/operatorservice/v1/service_pb2.py index 32f8d5878..1e016243a 100644 --- a/temporalio/api/operatorservice/v1/service_pb2.py +++ b/temporalio/api/operatorservice/v1/service_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/operatorservice/v1/service.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/operatorservice/v1/service.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,52 +24,35 @@ b'\n-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\x36temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n\x0fOperatorService\x12\x92\x01\n\x13\x41\x64\x64SearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse"\x00\x12\x9b\x01\n\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse"\x00\x12\x82\x02\n\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse"m\x82\xd3\xe4\x93\x02g\x12\x31/cluster/namespaces/{namespace}/search-attributesZ2\x12\x30/api/v1/namespaces/{namespace}/search-attributes\x12\x86\x01\n\x0f\x44\x65leteNamespace\x12\x37.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a\x38.temporal.api.operatorservice.v1.DeleteNamespaceResponse"\x00\x12\xa1\x01\n\x18\x41\x64\x64OrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1a\x41.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse"\x00\x12\x92\x01\n\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse"\x00\x12}\n\x0cListClusters\x12\x34.temporal.api.operatorservice.v1.ListClustersRequest\x1a\x35.temporal.api.operatorservice.v1.ListClustersResponse"\x00\x12\xce\x01\n\x10GetNexusEndpoint\x12\x38.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a\x39.temporal.api.operatorservice.v1.GetNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?\x12\x1d/cluster/nexus/endpoints/{id}Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\xd3\x01\n\x13\x43reateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse"A\x82\xd3\xe4\x93\x02;"\x18/cluster/nexus/endpoints:\x01*Z\x1c"\x17/api/v1/nexus/endpoints:\x01*\x12\xeb\x01\n\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse"Y\x82\xd3\xe4\x93\x02S"$/cluster/nexus/endpoints/{id}/update:\x01*Z("#/api/v1/nexus/endpoints/{id}/update:\x01*\x12\xd7\x01\n\x13\x44\x65leteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse"E\x82\xd3\xe4\x93\x02?*\x1d/cluster/nexus/endpoints/{id}Z\x1e*\x1c/api/v1/nexus/endpoints/{id}\x12\xca\x01\n\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse";\x82\xd3\xe4\x93\x02\x35\x12\x18/cluster/nexus/endpointsZ\x19\x12\x17/api/v1/nexus/endpointsB\xb6\x01\n"io.temporal.api.operatorservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.operatorservice.v1.service_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' - _globals["_OPERATORSERVICE"].methods_by_name[ - "ListSearchAttributes" - ]._loaded_options = None - _globals["_OPERATORSERVICE"].methods_by_name[ + +_OPERATORSERVICE = DESCRIPTOR.services_by_name["OperatorService"] +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.operatorservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/operatorservice/v1;operatorservice\252\002!Temporalio.Api.OperatorService.V1\352\002$Temporalio::Api::OperatorService::V1' + _OPERATORSERVICE.methods_by_name["ListSearchAttributes"]._options = None + _OPERATORSERVICE.methods_by_name[ "ListSearchAttributes" ]._serialized_options = b"\202\323\344\223\002g\0221/cluster/namespaces/{namespace}/search-attributesZ2\0220/api/v1/namespaces/{namespace}/search-attributes" - _globals["_OPERATORSERVICE"].methods_by_name[ - "GetNexusEndpoint" - ]._loaded_options = None - _globals["_OPERATORSERVICE"].methods_by_name[ + _OPERATORSERVICE.methods_by_name["GetNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ "GetNexusEndpoint" ]._serialized_options = b"\202\323\344\223\002?\022\035/cluster/nexus/endpoints/{id}Z\036\022\034/api/v1/nexus/endpoints/{id}" - _globals["_OPERATORSERVICE"].methods_by_name[ - "CreateNexusEndpoint" - ]._loaded_options = None - _globals["_OPERATORSERVICE"].methods_by_name[ + _OPERATORSERVICE.methods_by_name["CreateNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ "CreateNexusEndpoint" ]._serialized_options = b'\202\323\344\223\002;"\030/cluster/nexus/endpoints:\001*Z\034"\027/api/v1/nexus/endpoints:\001*' - _globals["_OPERATORSERVICE"].methods_by_name[ - "UpdateNexusEndpoint" - ]._loaded_options = None - _globals["_OPERATORSERVICE"].methods_by_name[ + _OPERATORSERVICE.methods_by_name["UpdateNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ "UpdateNexusEndpoint" ]._serialized_options = b'\202\323\344\223\002S"$/cluster/nexus/endpoints/{id}/update:\001*Z("#/api/v1/nexus/endpoints/{id}/update:\001*' - _globals["_OPERATORSERVICE"].methods_by_name[ - "DeleteNexusEndpoint" - ]._loaded_options = None - _globals["_OPERATORSERVICE"].methods_by_name[ + _OPERATORSERVICE.methods_by_name["DeleteNexusEndpoint"]._options = None + _OPERATORSERVICE.methods_by_name[ "DeleteNexusEndpoint" ]._serialized_options = b"\202\323\344\223\002?*\035/cluster/nexus/endpoints/{id}Z\036*\034/api/v1/nexus/endpoints/{id}" - _globals["_OPERATORSERVICE"].methods_by_name[ - "ListNexusEndpoints" - ]._loaded_options = None - _globals["_OPERATORSERVICE"].methods_by_name[ + _OPERATORSERVICE.methods_by_name["ListNexusEndpoints"]._options = None + _OPERATORSERVICE.methods_by_name[ "ListNexusEndpoints" ]._serialized_options = b"\202\323\344\223\0025\022\030/cluster/nexus/endpointsZ\031\022\027/api/v1/nexus/endpoints" - _globals["_OPERATORSERVICE"]._serialized_start = 169 - _globals["_OPERATORSERVICE"]._serialized_end = 2415 + _OPERATORSERVICE._serialized_start = 169 + _OPERATORSERVICE._serialized_end = 2415 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.py b/temporalio/api/operatorservice/v1/service_pb2_grpc.py index 4083c4323..9dff1e089 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.py +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.py @@ -1,38 +1,14 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc from temporalio.api.operatorservice.v1 import ( request_response_pb2 as temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2, ) -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/operatorservice/v1/service_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) - -class OperatorServiceStub: +class OperatorServiceStub(object): """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by @@ -50,77 +26,65 @@ def __init__(self, channel): "/temporal.api.operatorservice.v1.OperatorService/AddSearchAttributes", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddSearchAttributesResponse.FromString, - _registered_method=True, ) self.RemoveSearchAttributes = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/RemoveSearchAttributes", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveSearchAttributesResponse.FromString, - _registered_method=True, ) self.ListSearchAttributes = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/ListSearchAttributes", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListSearchAttributesResponse.FromString, - _registered_method=True, ) self.DeleteNamespace = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/DeleteNamespace", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNamespaceResponse.FromString, - _registered_method=True, ) self.AddOrUpdateRemoteCluster = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/AddOrUpdateRemoteCluster", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.AddOrUpdateRemoteClusterResponse.FromString, - _registered_method=True, ) self.RemoveRemoteCluster = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/RemoveRemoteCluster", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.RemoveRemoteClusterResponse.FromString, - _registered_method=True, ) self.ListClusters = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/ListClusters", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListClustersResponse.FromString, - _registered_method=True, ) self.GetNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/GetNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.GetNexusEndpointResponse.FromString, - _registered_method=True, ) self.CreateNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/CreateNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.CreateNexusEndpointResponse.FromString, - _registered_method=True, ) self.UpdateNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/UpdateNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.UpdateNexusEndpointResponse.FromString, - _registered_method=True, ) self.DeleteNexusEndpoint = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/DeleteNexusEndpoint", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.DeleteNexusEndpointResponse.FromString, - _registered_method=True, ) self.ListNexusEndpoints = channel.unary_unary( "/temporal.api.operatorservice.v1.OperatorService/ListNexusEndpoints", request_serializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_operatorservice_dot_v1_dot_request__response__pb2.ListNexusEndpointsResponse.FromString, - _registered_method=True, ) -class OperatorServiceServicer: +class OperatorServiceServicer(object): """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by @@ -287,13 +251,10 @@ def add_OperatorServiceServicer_to_server(servicer, server): "temporal.api.operatorservice.v1.OperatorService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers( - "temporal.api.operatorservice.v1.OperatorService", rpc_method_handlers - ) # This class is part of an EXPERIMENTAL API. -class OperatorService: +class OperatorService(object): """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by @@ -328,7 +289,6 @@ def AddSearchAttributes( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -358,7 +318,6 @@ def RemoveSearchAttributes( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -388,7 +347,6 @@ def ListSearchAttributes( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -418,7 +376,6 @@ def DeleteNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -448,7 +405,6 @@ def AddOrUpdateRemoteCluster( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -478,7 +434,6 @@ def RemoveRemoteCluster( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -508,7 +463,6 @@ def ListClusters( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -538,7 +492,6 @@ def GetNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -568,7 +521,6 @@ def CreateNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -598,7 +550,6 @@ def UpdateNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -628,7 +579,6 @@ def DeleteNexusEndpoint( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -658,5 +608,4 @@ def ListNexusEndpoints( wait_for_ready, timeout, metadata, - _registered_method=True, ) diff --git a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi index 6bcfaec81..c24abb239 100644 --- a/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/operatorservice/v1/service_pb2_grpc.pyi @@ -4,240 +4,12 @@ isort:skip_file """ import abc -import collections.abc -import sys -import typing import grpc -import grpc.aio import temporalio.api.operatorservice.v1.request_response_pb2 -if sys.version_info >= (3, 13): - import typing as typing_extensions -else: - import typing_extensions - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str -_OperatorServiceAddSearchAttributesType = typing_extensions.TypeVar( - "_OperatorServiceAddSearchAttributesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - ], -) - -_OperatorServiceRemoveSearchAttributesType = typing_extensions.TypeVar( - "_OperatorServiceRemoveSearchAttributesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - ], -) - -_OperatorServiceListSearchAttributesType = typing_extensions.TypeVar( - "_OperatorServiceListSearchAttributesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - ], -) - -_OperatorServiceDeleteNamespaceType = typing_extensions.TypeVar( - "_OperatorServiceDeleteNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], -) - -_OperatorServiceAddOrUpdateRemoteClusterType = typing_extensions.TypeVar( - "_OperatorServiceAddOrUpdateRemoteClusterType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - ], -) - -_OperatorServiceRemoveRemoteClusterType = typing_extensions.TypeVar( - "_OperatorServiceRemoveRemoteClusterType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - ], -) - -_OperatorServiceListClustersType = typing_extensions.TypeVar( - "_OperatorServiceListClustersType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - ], -) - -_OperatorServiceGetNexusEndpointType = typing_extensions.TypeVar( - "_OperatorServiceGetNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], -) - -_OperatorServiceCreateNexusEndpointType = typing_extensions.TypeVar( - "_OperatorServiceCreateNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], -) - -_OperatorServiceUpdateNexusEndpointType = typing_extensions.TypeVar( - "_OperatorServiceUpdateNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], -) - -_OperatorServiceDeleteNexusEndpointType = typing_extensions.TypeVar( - "_OperatorServiceDeleteNexusEndpointType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], -) - -_OperatorServiceListNexusEndpointsType = typing_extensions.TypeVar( - "_OperatorServiceListNexusEndpointsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - ], -) - -class OperatorServiceStub( - typing.Generic[ - _OperatorServiceAddSearchAttributesType, - _OperatorServiceRemoveSearchAttributesType, - _OperatorServiceListSearchAttributesType, - _OperatorServiceDeleteNamespaceType, - _OperatorServiceAddOrUpdateRemoteClusterType, - _OperatorServiceRemoveRemoteClusterType, - _OperatorServiceListClustersType, - _OperatorServiceGetNexusEndpointType, - _OperatorServiceCreateNexusEndpointType, - _OperatorServiceUpdateNexusEndpointType, - _OperatorServiceDeleteNexusEndpointType, - _OperatorServiceListNexusEndpointsType, - ] -): +class OperatorServiceStub: """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by @@ -245,221 +17,87 @@ class OperatorServiceStub( (-- Search Attribute --) """ - @typing.overload - def __init__( - self: OperatorServiceStub[ - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - ], - ], - channel: grpc.Channel, - ) -> None: ... - @typing.overload - def __init__( - self: OperatorServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - ], - ], - channel: grpc.aio.Channel, - ) -> None: ... - - AddSearchAttributes: _OperatorServiceAddSearchAttributesType + def __init__(self, channel: grpc.Channel) -> None: ... + AddSearchAttributes: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, + ] """AddSearchAttributes add custom search attributes. Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists Returns INTERNAL status code with temporalio.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, """ - - RemoveSearchAttributes: _OperatorServiceRemoveSearchAttributesType + RemoveSearchAttributes: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, + ] """RemoveSearchAttributes removes custom search attributes. Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered """ - - ListSearchAttributes: _OperatorServiceListSearchAttributesType + ListSearchAttributes: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, + ] """ListSearchAttributes returns comprehensive information about search attributes.""" - - DeleteNamespace: _OperatorServiceDeleteNamespaceType + DeleteNamespace: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, + ] """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.""" - - AddOrUpdateRemoteCluster: _OperatorServiceAddOrUpdateRemoteClusterType + AddOrUpdateRemoteCluster: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, + ] """AddOrUpdateRemoteCluster adds or updates remote cluster.""" - - RemoveRemoteCluster: _OperatorServiceRemoveRemoteClusterType + RemoveRemoteCluster: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, + temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, + ] """RemoveRemoteCluster removes remote cluster.""" - - ListClusters: _OperatorServiceListClustersType + ListClusters: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, + ] """ListClusters returns information about Temporal clusters.""" - - GetNexusEndpoint: _OperatorServiceGetNexusEndpointType + GetNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, + ] """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" - - CreateNexusEndpoint: _OperatorServiceCreateNexusEndpointType + CreateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, + ] """Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of ALREADY_EXISTS. Returns the created endpoint with its initial version. You may use this version for subsequent updates. """ - - UpdateNexusEndpoint: _OperatorServiceUpdateNexusEndpointType + UpdateNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, + ] """Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not match. Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you after each update. """ - - DeleteNexusEndpoint: _OperatorServiceDeleteNexusEndpointType + DeleteNexusEndpoint: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, + temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, + ] """Delete an incoming Nexus service by ID.""" - - ListNexusEndpoints: _OperatorServiceListNexusEndpointsType + ListNexusEndpoints: grpc.UnaryUnaryMultiCallable[ + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, + temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, + ] """List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results. An empty next_page_token indicates that there are no more results. During pagination, a newly added service with an ID lexicographically earlier than the previous page's last endpoint's ID may be missed. """ -OperatorServiceAsyncStub: typing_extensions.TypeAlias = OperatorServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - ], -] - class OperatorServiceServicer(metaclass=abc.ABCMeta): """OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. @@ -472,171 +110,102 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): def AddSearchAttributes( self, request: temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.AddSearchAttributesResponse: """AddSearchAttributes add custom search attributes. Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists Returns INTERNAL status code with temporalio.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, """ - @abc.abstractmethod def RemoveSearchAttributes( self, request: temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.RemoveSearchAttributesResponse: """RemoveSearchAttributes removes custom search attributes. Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered """ - @abc.abstractmethod def ListSearchAttributes( self, request: temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.ListSearchAttributesResponse: """ListSearchAttributes returns comprehensive information about search attributes.""" - @abc.abstractmethod def DeleteNamespace( self, request: temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.DeleteNamespaceResponse: """DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.""" - @abc.abstractmethod def AddOrUpdateRemoteCluster( self, request: temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.AddOrUpdateRemoteClusterResponse: """AddOrUpdateRemoteCluster adds or updates remote cluster.""" - @abc.abstractmethod def RemoveRemoteCluster( self, request: temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.RemoveRemoteClusterResponse: """RemoveRemoteCluster removes remote cluster.""" - @abc.abstractmethod def ListClusters( self, request: temporalio.api.operatorservice.v1.request_response_pb2.ListClustersRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.ListClustersResponse: """ListClusters returns information about Temporal clusters.""" - @abc.abstractmethod def GetNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.operatorservice.v1.request_response_pb2.GetNexusEndpointResponse + ): """Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.""" - @abc.abstractmethod def CreateNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.CreateNexusEndpointResponse: """Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of ALREADY_EXISTS. Returns the created endpoint with its initial version. You may use this version for subsequent updates. """ - @abc.abstractmethod def UpdateNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.UpdateNexusEndpointResponse: """Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not match. Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you after each update. """ - @abc.abstractmethod def DeleteNexusEndpoint( self, request: temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.DeleteNexusEndpointResponse: """Delete an incoming Nexus service by ID.""" - @abc.abstractmethod def ListNexusEndpoints( self, request: temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse, - collections.abc.Awaitable[ - temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.operatorservice.v1.request_response_pb2.ListNexusEndpointsResponse: """List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results. An empty next_page_token indicates that there are no more results. During pagination, a newly added service with an ID lexicographically @@ -644,6 +213,5 @@ class OperatorServiceServicer(metaclass=abc.ABCMeta): """ def add_OperatorServiceServicer_to_server( - servicer: OperatorServiceServicer, - server: typing.Union[grpc.Server, grpc.aio.Server], + servicer: OperatorServiceServicer, server: grpc.Server ) -> None: ... diff --git a/temporalio/api/protocol/v1/message_pb2.py b/temporalio/api/protocol/v1/message_pb2.py index cf405d9d6..f91d62157 100644 --- a/temporalio/api/protocol/v1/message_pb2.py +++ b/temporalio/api/protocol/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/protocol/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/protocol/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,16 +20,22 @@ b'\n&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto"\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x12\n\x08\x65vent_id\x18\x03 \x01(\x03H\x00\x12\x17\n\rcommand_index\x18\x04 \x01(\x03H\x00\x12"\n\x04\x62ody\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0f\n\rsequencing_idB\x93\x01\n\x1bio.temporal.api.protocol.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.protocol.v1.message_pb2", _globals + +_MESSAGE = DESCRIPTOR.message_types_by_name["Message"] +Message = _reflection.GeneratedProtocolMessageType( + "Message", + (_message.Message,), + { + "DESCRIPTOR": _MESSAGE, + "__module__": "temporalio.api.protocol.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.protocol.v1.Message) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1" - _globals["_MESSAGE"]._serialized_start = 96 - _globals["_MESSAGE"]._serialized_end = 245 +_sym_db.RegisterMessage(Message) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.protocol.v1B\014MessageProtoP\001Z'go.temporal.io/api/protocol/v1;protocol\252\002\032Temporalio.Api.Protocol.V1\352\002\035Temporalio::Api::Protocol::V1" + _MESSAGE._serialized_start = 96 + _MESSAGE._serialized_end = 245 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/protocol/v1/message_pb2.pyi b/temporalio/api/protocol/v1/message_pb2.pyi index f70396f46..24034c89e 100644 --- a/temporalio/api/protocol/v1/message_pb2.pyi +++ b/temporalio/api/protocol/v1/message_pb2.pyi @@ -5,20 +5,18 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class Message(google.protobuf.message.Message): """(-- api-linter: core::0146::any=disabled aip.dev/not-precedent: We want runtime extensibility for the body field --) @@ -44,7 +42,6 @@ class Message(google.protobuf.message.Message): """The opaque data carried by this message. The protocol type can be extracted from the package name of the message carried inside the Any. """ - def __init__( self, *, @@ -56,7 +53,7 @@ class Message(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "body", b"body", "command_index", @@ -69,7 +66,7 @@ class Message(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "body", b"body", "command_index", @@ -85,7 +82,7 @@ class Message(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["sequencing_id", b"sequencing_id"] - ) -> typing.Literal["event_id", "command_index"] | None: ... + self, oneof_group: typing_extensions.Literal["sequencing_id", b"sequencing_id"] + ) -> typing_extensions.Literal["event_id", "command_index"] | None: ... -Global___Message: typing_extensions.TypeAlias = Message +global___Message = Message diff --git a/temporalio/api/protometa/v1/annotations_pb2.py b/temporalio/api/protometa/v1/annotations_pb2.py index 60add6039..3f790e1fd 100644 --- a/temporalio/api/protometa/v1/annotations_pb2.py +++ b/temporalio/api/protometa/v1/annotations_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/protometa/v1/annotations.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/protometa/v1/annotations.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,16 +20,29 @@ b'\n+temporal/api/protometa/v1/annotations.proto\x12\x19temporal.api.protometa.v1\x1a google/protobuf/descriptor.proto"8\n\x17RequestHeaderAnnotation\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:m\n\x0erequest_header\x12\x1e.google.protobuf.MethodOptions\x18\xd1\xc3\xb9\x03 \x03(\x0b\x32\x32.temporal.api.protometa.v1.RequestHeaderAnnotationB\x9c\x01\n\x1cio.temporal.api.protometa.v1B\x10\x41nnotationsProtoP\x01Z)go.temporal.io/api/protometa/v1;protometa\xaa\x02\x1bTemporalio.Api.Protometa.V1\xea\x02\x1eTemporalio::Api::Protometa::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.protometa.v1.annotations_pb2", _globals + +REQUEST_HEADER_FIELD_NUMBER = 7234001 +request_header = DESCRIPTOR.extensions_by_name["request_header"] + +_REQUESTHEADERANNOTATION = DESCRIPTOR.message_types_by_name["RequestHeaderAnnotation"] +RequestHeaderAnnotation = _reflection.GeneratedProtocolMessageType( + "RequestHeaderAnnotation", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTHEADERANNOTATION, + "__module__": "temporalio.api.protometa.v1.annotations_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.protometa.v1.RequestHeaderAnnotation) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\034io.temporal.api.protometa.v1B\020AnnotationsProtoP\001Z)go.temporal.io/api/protometa/v1;protometa\252\002\033Temporalio.Api.Protometa.V1\352\002\036Temporalio::Api::Protometa::V1" - _globals["_REQUESTHEADERANNOTATION"]._serialized_start = 108 - _globals["_REQUESTHEADERANNOTATION"]._serialized_end = 164 +_sym_db.RegisterMessage(RequestHeaderAnnotation) + +if _descriptor._USE_C_DESCRIPTORS == False: + google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension( + request_header + ) + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.protometa.v1B\020AnnotationsProtoP\001Z)go.temporal.io/api/protometa/v1;protometa\252\002\033Temporalio.Api.Protometa.V1\352\002\036Temporalio::Api::Protometa::V1" + _REQUESTHEADERANNOTATION._serialized_start = 108 + _REQUESTHEADERANNOTATION._serialized_end = 164 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/protometa/v1/annotations_pb2.pyi b/temporalio/api/protometa/v1/annotations_pb2.pyi index a3c2c9f41..143d7d7d9 100644 --- a/temporalio/api/protometa/v1/annotations_pb2.pyi +++ b/temporalio/api/protometa/v1/annotations_pb2.pyi @@ -5,7 +5,6 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.descriptor_pb2 @@ -13,14 +12,13 @@ import google.protobuf.internal.containers import google.protobuf.internal.extension_dict import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class RequestHeaderAnnotation(google.protobuf.message.Message): """RequestHeaderAnnotation allows specifying that field values from a request should be propagated as outbound headers. @@ -51,15 +49,16 @@ class RequestHeaderAnnotation(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["header", b"header", "value", b"value"] + self, + field_name: typing_extensions.Literal["header", b"header", "value", b"value"], ) -> None: ... -Global___RequestHeaderAnnotation: typing_extensions.TypeAlias = RequestHeaderAnnotation +global___RequestHeaderAnnotation = RequestHeaderAnnotation REQUEST_HEADER_FIELD_NUMBER: builtins.int request_header: google.protobuf.internal.extension_dict._ExtensionFieldDescriptor[ google.protobuf.descriptor_pb2.MethodOptions, google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___RequestHeaderAnnotation + global___RequestHeaderAnnotation ], ] diff --git a/temporalio/api/query/v1/message_pb2.py b/temporalio/api/query/v1/message_pb2.py index 787a24fc2..aaee2715a 100644 --- a/temporalio/api/query/v1/message_pb2.py +++ b/temporalio/api/query/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/query/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/query/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -36,20 +31,50 @@ b'\n#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x89\x01\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x34\n\nquery_args\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header"\xce\x01\n\x13WorkflowQueryResult\x12;\n\x0bresult_type\x18\x01 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x30\n\x06\x61nswer\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x84\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.query.v1.message_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1" - _globals["_WORKFLOWQUERY"]._serialized_start = 213 - _globals["_WORKFLOWQUERY"]._serialized_end = 350 - _globals["_WORKFLOWQUERYRESULT"]._serialized_start = 353 - _globals["_WORKFLOWQUERYRESULT"]._serialized_end = 559 - _globals["_QUERYREJECTED"]._serialized_start = 561 - _globals["_QUERYREJECTED"]._serialized_end = 640 + +_WORKFLOWQUERY = DESCRIPTOR.message_types_by_name["WorkflowQuery"] +_WORKFLOWQUERYRESULT = DESCRIPTOR.message_types_by_name["WorkflowQueryResult"] +_QUERYREJECTED = DESCRIPTOR.message_types_by_name["QueryRejected"] +WorkflowQuery = _reflection.GeneratedProtocolMessageType( + "WorkflowQuery", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWQUERY, + "__module__": "temporalio.api.query.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQuery) + }, +) +_sym_db.RegisterMessage(WorkflowQuery) + +WorkflowQueryResult = _reflection.GeneratedProtocolMessageType( + "WorkflowQueryResult", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWQUERYRESULT, + "__module__": "temporalio.api.query.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.WorkflowQueryResult) + }, +) +_sym_db.RegisterMessage(WorkflowQueryResult) + +QueryRejected = _reflection.GeneratedProtocolMessageType( + "QueryRejected", + (_message.Message,), + { + "DESCRIPTOR": _QUERYREJECTED, + "__module__": "temporalio.api.query.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.query.v1.QueryRejected) + }, +) +_sym_db.RegisterMessage(QueryRejected) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.query.v1B\014MessageProtoP\001Z!go.temporal.io/api/query/v1;query\252\002\027Temporalio.Api.Query.V1\352\002\032Temporalio::Api::Query::V1" + _WORKFLOWQUERY._serialized_start = 213 + _WORKFLOWQUERY._serialized_end = 350 + _WORKFLOWQUERYRESULT._serialized_start = 353 + _WORKFLOWQUERYRESULT._serialized_end = 559 + _QUERYREJECTED._serialized_start = 561 + _QUERYREJECTED._serialized_end = 640 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/query/v1/message_pb2.pyi b/temporalio/api/query/v1/message_pb2.pyi index 0dbc77e39..199c51b9a 100644 --- a/temporalio/api/query/v1/message_pb2.pyi +++ b/temporalio/api/query/v1/message_pb2.pyi @@ -5,7 +5,6 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message @@ -15,14 +14,13 @@ import temporalio.api.enums.v1.query_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowQuery(google.protobuf.message.Message): """See https://docs.temporal.io/docs/concepts/queries/""" @@ -36,13 +34,11 @@ class WorkflowQuery(google.protobuf.message.Message): @property def query_args(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized arguments that will be provided to the query handler.""" - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that were passed by the caller of the query and copied by temporal server into the workflow task. """ - def __init__( self, *, @@ -52,11 +48,13 @@ class WorkflowQuery(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["header", b"header", "query_args", b"query_args"], + field_name: typing_extensions.Literal[ + "header", b"header", "query_args", b"query_args" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "query_args", @@ -66,9 +64,8 @@ class WorkflowQuery(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowQuery: typing_extensions.TypeAlias = WorkflowQuery +global___WorkflowQuery = WorkflowQuery -@typing.final class WorkflowQueryResult(google.protobuf.message.Message): """Answer to a `WorkflowQuery`""" @@ -80,23 +77,21 @@ class WorkflowQueryResult(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int result_type: temporalio.api.enums.v1.query_pb2.QueryResultType.ValueType """Did the query succeed or fail?""" - error_message: builtins.str - """Mutually exclusive with `answer`. Set when the query fails. - See also the newer `failure` field. - """ @property def answer(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Set when the query succeeds with the results. Mutually exclusive with `error_message` and `failure`. """ - + error_message: builtins.str + """Mutually exclusive with `answer`. Set when the query fails. + See also the newer `failure` field. + """ @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's failure converter to support E2E encryption of messages and stack traces. Mutually exclusive with `answer`. Set when the query fails. """ - def __init__( self, *, @@ -106,11 +101,14 @@ class WorkflowQueryResult(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["answer", b"answer", "failure", b"failure"] + self, + field_name: typing_extensions.Literal[ + "answer", b"answer", "failure", b"failure" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "answer", b"answer", "error_message", @@ -122,9 +120,8 @@ class WorkflowQueryResult(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowQueryResult: typing_extensions.TypeAlias = WorkflowQueryResult +global___WorkflowQueryResult = WorkflowQueryResult -@typing.final class QueryRejected(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -135,6 +132,8 @@ class QueryRejected(google.protobuf.message.Message): *, status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["status", b"status"] + ) -> None: ... -Global___QueryRejected: typing_extensions.TypeAlias = QueryRejected +global___QueryRejected = QueryRejected diff --git a/temporalio/api/replication/v1/message_pb2.py b/temporalio/api/replication/v1/message_pb2.py index 8c4500277..8dbe73e1d 100644 --- a/temporalio/api/replication/v1/message_pb2.py +++ b/temporalio/api/replication/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/replication/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/replication/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,20 +24,52 @@ b'\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t"\xba\x01\n\x1aNamespaceReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12G\n\x08\x63lusters\x18\x02 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x36\n\x05state\x18\x03 \x01(\x0e\x32\'.temporal.api.enums.v1.ReplicationState"]\n\x0e\x46\x61iloverStatus\x12\x31\n\rfailover_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x42\xa2\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.replication.v1.message_pb2", _globals + +_CLUSTERREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name["ClusterReplicationConfig"] +_NAMESPACEREPLICATIONCONFIG = DESCRIPTOR.message_types_by_name[ + "NamespaceReplicationConfig" +] +_FAILOVERSTATUS = DESCRIPTOR.message_types_by_name["FailoverStatus"] +ClusterReplicationConfig = _reflection.GeneratedProtocolMessageType( + "ClusterReplicationConfig", + (_message.Message,), + { + "DESCRIPTOR": _CLUSTERREPLICATIONCONFIG, + "__module__": "temporalio.api.replication.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.ClusterReplicationConfig) + }, +) +_sym_db.RegisterMessage(ClusterReplicationConfig) + +NamespaceReplicationConfig = _reflection.GeneratedProtocolMessageType( + "NamespaceReplicationConfig", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEREPLICATIONCONFIG, + "__module__": "temporalio.api.replication.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.NamespaceReplicationConfig) + }, +) +_sym_db.RegisterMessage(NamespaceReplicationConfig) + +FailoverStatus = _reflection.GeneratedProtocolMessageType( + "FailoverStatus", + (_message.Message,), + { + "DESCRIPTOR": _FAILOVERSTATUS, + "__module__": "temporalio.api.replication.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.replication.v1.FailoverStatus) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1" - _globals["_CLUSTERREPLICATIONCONFIG"]._serialized_start = 146 - _globals["_CLUSTERREPLICATIONCONFIG"]._serialized_end = 194 - _globals["_NAMESPACEREPLICATIONCONFIG"]._serialized_start = 197 - _globals["_NAMESPACEREPLICATIONCONFIG"]._serialized_end = 383 - _globals["_FAILOVERSTATUS"]._serialized_start = 385 - _globals["_FAILOVERSTATUS"]._serialized_end = 478 +_sym_db.RegisterMessage(FailoverStatus) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.replication.v1B\014MessageProtoP\001Z-go.temporal.io/api/replication/v1;replication\252\002\035Temporalio.Api.Replication.V1\352\002 Temporalio::Api::Replication::V1" + _CLUSTERREPLICATIONCONFIG._serialized_start = 146 + _CLUSTERREPLICATIONCONFIG._serialized_end = 194 + _NAMESPACEREPLICATIONCONFIG._serialized_start = 197 + _NAMESPACEREPLICATIONCONFIG._serialized_end = 383 + _FAILOVERSTATUS._serialized_start = 385 + _FAILOVERSTATUS._serialized_end = 478 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/replication/v1/message_pb2.pyi b/temporalio/api/replication/v1/message_pb2.pyi index b274dd75a..e6f04334f 100644 --- a/temporalio/api/replication/v1/message_pb2.pyi +++ b/temporalio/api/replication/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -15,14 +14,13 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.namespace_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ClusterReplicationConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,14 +32,11 @@ class ClusterReplicationConfig(google.protobuf.message.Message): cluster_name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["cluster_name", b"cluster_name"] + self, field_name: typing_extensions.Literal["cluster_name", b"cluster_name"] ) -> None: ... -Global___ClusterReplicationConfig: typing_extensions.TypeAlias = ( - ClusterReplicationConfig -) +global___ClusterReplicationConfig = ClusterReplicationConfig -@typing.final class NamespaceReplicationConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -49,24 +44,24 @@ class NamespaceReplicationConfig(google.protobuf.message.Message): CLUSTERS_FIELD_NUMBER: builtins.int STATE_FIELD_NUMBER: builtins.int active_cluster_name: builtins.str - state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType @property def clusters( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ClusterReplicationConfig + global___ClusterReplicationConfig ]: ... + state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType def __init__( self, *, active_cluster_name: builtins.str = ..., - clusters: collections.abc.Iterable[Global___ClusterReplicationConfig] + clusters: collections.abc.Iterable[global___ClusterReplicationConfig] | None = ..., state: temporalio.api.enums.v1.namespace_pb2.ReplicationState.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "active_cluster_name", b"active_cluster_name", "clusters", @@ -76,11 +71,8 @@ class NamespaceReplicationConfig(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespaceReplicationConfig: typing_extensions.TypeAlias = ( - NamespaceReplicationConfig -) +global___NamespaceReplicationConfig = NamespaceReplicationConfig -@typing.final class FailoverStatus(google.protobuf.message.Message): """Represents a historical replication status of a Namespace""" @@ -88,11 +80,10 @@ class FailoverStatus(google.protobuf.message.Message): FAILOVER_TIME_FIELD_NUMBER: builtins.int FAILOVER_VERSION_FIELD_NUMBER: builtins.int - failover_version: builtins.int @property def failover_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp when the Cluster switched to the following failover_version""" - + failover_version: builtins.int def __init__( self, *, @@ -100,13 +91,13 @@ class FailoverStatus(google.protobuf.message.Message): failover_version: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failover_time", b"failover_time"] + self, field_name: typing_extensions.Literal["failover_time", b"failover_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failover_time", b"failover_time", "failover_version", b"failover_version" ], ) -> None: ... -Global___FailoverStatus: typing_extensions.TypeAlias = FailoverStatus +global___FailoverStatus = FailoverStatus diff --git a/temporalio/api/rules/v1/message_pb2.py b/temporalio/api/rules/v1/message_pb2.py index b9099ead4..ad0d0014c 100644 --- a/temporalio/api/rules/v1/message_pb2.py +++ b/temporalio/api/rules/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/rules/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/rules/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -25,24 +20,80 @@ b'\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.rules.v1.message_pb2", _globals + +_WORKFLOWRULEACTION = DESCRIPTOR.message_types_by_name["WorkflowRuleAction"] +_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE = _WORKFLOWRULEACTION.nested_types_by_name[ + "ActionActivityPause" +] +_WORKFLOWRULESPEC = DESCRIPTOR.message_types_by_name["WorkflowRuleSpec"] +_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER = _WORKFLOWRULESPEC.nested_types_by_name[ + "ActivityStartingTrigger" +] +_WORKFLOWRULE = DESCRIPTOR.message_types_by_name["WorkflowRule"] +WorkflowRuleAction = _reflection.GeneratedProtocolMessageType( + "WorkflowRuleAction", + (_message.Message,), + { + "ActionActivityPause": _reflection.GeneratedProtocolMessageType( + "ActionActivityPause", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE, + "__module__": "temporalio.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause) + }, + ), + "DESCRIPTOR": _WORKFLOWRULEACTION, + "__module__": "temporalio.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction) + }, +) +_sym_db.RegisterMessage(WorkflowRuleAction) +_sym_db.RegisterMessage(WorkflowRuleAction.ActionActivityPause) + +WorkflowRuleSpec = _reflection.GeneratedProtocolMessageType( + "WorkflowRuleSpec", + (_message.Message,), + { + "ActivityStartingTrigger": _reflection.GeneratedProtocolMessageType( + "ActivityStartingTrigger", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER, + "__module__": "temporalio.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger) + }, + ), + "DESCRIPTOR": _WORKFLOWRULESPEC, + "__module__": "temporalio.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1" - _globals["_WORKFLOWRULEACTION"]._serialized_start = 96 - _globals["_WORKFLOWRULEACTION"]._serialized_end = 239 - _globals["_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE"]._serialized_start = 207 - _globals["_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE"]._serialized_end = 228 - _globals["_WORKFLOWRULESPEC"]._serialized_start = 242 - _globals["_WORKFLOWRULESPEC"]._serialized_end = 559 - _globals["_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER"]._serialized_start = 504 - _globals["_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER"]._serialized_end = 548 - _globals["_WORKFLOWRULE"]._serialized_start = 562 - _globals["_WORKFLOWRULE"]._serialized_end = 730 +_sym_db.RegisterMessage(WorkflowRuleSpec) +_sym_db.RegisterMessage(WorkflowRuleSpec.ActivityStartingTrigger) + +WorkflowRule = _reflection.GeneratedProtocolMessageType( + "WorkflowRule", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWRULE, + "__module__": "temporalio.api.rules.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRule) + }, +) +_sym_db.RegisterMessage(WorkflowRule) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1" + _WORKFLOWRULEACTION._serialized_start = 96 + _WORKFLOWRULEACTION._serialized_end = 239 + _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_start = 207 + _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_end = 228 + _WORKFLOWRULESPEC._serialized_start = 242 + _WORKFLOWRULESPEC._serialized_end = 559 + _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_start = 504 + _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_end = 548 + _WORKFLOWRULE._serialized_start = 562 + _WORKFLOWRULE._serialized_end = 730 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/rules/v1/message_pb2.pyi b/temporalio/api/rules/v1/message_pb2.pyi index e9bcba551..ef036f554 100644 --- a/temporalio/api/rules/v1/message_pb2.pyi +++ b/temporalio/api/rules/v1/message_pb2.pyi @@ -6,25 +6,22 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowRuleAction(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ActionActivityPause(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -34,35 +31,33 @@ class WorkflowRuleAction(google.protobuf.message.Message): ACTIVITY_PAUSE_FIELD_NUMBER: builtins.int @property - def activity_pause(self) -> Global___WorkflowRuleAction.ActionActivityPause: ... + def activity_pause(self) -> global___WorkflowRuleAction.ActionActivityPause: ... def __init__( self, *, - activity_pause: Global___WorkflowRuleAction.ActionActivityPause | None = ..., + activity_pause: global___WorkflowRuleAction.ActionActivityPause | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_pause", b"activity_pause", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_pause", b"activity_pause", "variant", b"variant" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["activity_pause"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["activity_pause"] | None: ... -Global___WorkflowRuleAction: typing_extensions.TypeAlias = WorkflowRuleAction +global___WorkflowRuleAction = WorkflowRuleAction -@typing.final class WorkflowRuleSpec(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ActivityStartingTrigger(google.protobuf.message.Message): """Activity trigger will be triggered when an activity is about to start.""" @@ -91,7 +86,7 @@ class WorkflowRuleSpec(google.protobuf.message.Message): predicate: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["predicate", b"predicate"] + self, field_name: typing_extensions.Literal["predicate", b"predicate"] ) -> None: ... ID_FIELD_NUMBER: builtins.int @@ -103,6 +98,8 @@ class WorkflowRuleSpec(google.protobuf.message.Message): """The id of the new workflow rule. Must be unique within the namespace. Can be set by the user, and can have business meaning. """ + @property + def activity_start(self) -> global___WorkflowRuleSpec.ActivityStartingTrigger: ... visibility_query: builtins.str """Restricted Visibility query. This query is used to filter workflows in this namespace to which this rule should apply. @@ -114,33 +111,29 @@ class WorkflowRuleSpec(google.protobuf.message.Message): - ExecutionStatus """ @property - def activity_start(self) -> Global___WorkflowRuleSpec.ActivityStartingTrigger: ... - @property def actions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkflowRuleAction + global___WorkflowRuleAction ]: """WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.""" - @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Expiration time of the rule. After this time, the rule will be deleted. Can be empty if the rule should never expire. """ - def __init__( self, *, id: builtins.str = ..., - activity_start: Global___WorkflowRuleSpec.ActivityStartingTrigger | None = ..., + activity_start: global___WorkflowRuleSpec.ActivityStartingTrigger | None = ..., visibility_query: builtins.str = ..., - actions: collections.abc.Iterable[Global___WorkflowRuleAction] | None = ..., + actions: collections.abc.Iterable[global___WorkflowRuleAction] | None = ..., expiration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_start", b"activity_start", "expiration_time", @@ -151,7 +144,7 @@ class WorkflowRuleSpec(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "actions", b"actions", "activity_start", @@ -167,12 +160,11 @@ class WorkflowRuleSpec(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["trigger", b"trigger"] - ) -> typing.Literal["activity_start"] | None: ... + self, oneof_group: typing_extensions.Literal["trigger", b"trigger"] + ) -> typing_extensions.Literal["activity_start"] | None: ... -Global___WorkflowRuleSpec: typing_extensions.TypeAlias = WorkflowRuleSpec +global___WorkflowRuleSpec = WorkflowRuleSpec -@typing.final class WorkflowRule(google.protobuf.message.Message): """WorkflowRule describes a rule that can be applied to any workflow in this namespace.""" @@ -182,6 +174,12 @@ class WorkflowRule(google.protobuf.message.Message): SPEC_FIELD_NUMBER: builtins.int CREATED_BY_IDENTITY_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int + @property + def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Rule creation time.""" + @property + def spec(self) -> global___WorkflowRuleSpec: + """Rule specification""" created_by_identity: builtins.str """Identity of the actor that created the rule (-- api-linter: core::0140::prepositions=disabled @@ -191,28 +189,23 @@ class WorkflowRule(google.protobuf.message.Message): """ description: builtins.str """Rule description.""" - @property - def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Rule creation time.""" - - @property - def spec(self) -> Global___WorkflowRuleSpec: - """Rule specification""" - def __init__( self, *, create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - spec: Global___WorkflowRuleSpec | None = ..., + spec: global___WorkflowRuleSpec | None = ..., created_by_identity: builtins.str = ..., description: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["create_time", b"create_time", "spec", b"spec"] + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "spec", b"spec" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "created_by_identity", @@ -224,4 +217,4 @@ class WorkflowRule(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowRule: typing_extensions.TypeAlias = WorkflowRule +global___WorkflowRule = WorkflowRule diff --git a/temporalio/api/schedule/v1/message_pb2.py b/temporalio/api/schedule/v1/message_pb2.py index a356d61fa..de57c94ed 100644 --- a/temporalio/api/schedule/v1/message_pb2.py +++ b/temporalio/api/schedule/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/schedule/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/schedule/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -44,56 +34,240 @@ b'\n&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto"\x95\x01\n\x0c\x43\x61lendarSpec\x12\x0e\n\x06second\x18\x01 \x01(\t\x12\x0e\n\x06minute\x18\x02 \x01(\t\x12\x0c\n\x04hour\x18\x03 \x01(\t\x12\x14\n\x0c\x64\x61y_of_month\x18\x04 \x01(\t\x12\r\n\x05month\x18\x05 \x01(\t\x12\x0c\n\x04year\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x61y_of_week\x18\x07 \x01(\t\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"1\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\x05"\x86\x03\n\x16StructuredCalendarSpec\x12/\n\x06second\x18\x01 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12/\n\x06minute\x18\x02 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04hour\x18\x03 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x35\n\x0c\x64\x61y_of_month\x18\x04 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12.\n\x05month\x18\x05 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04year\x18\x06 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x34\n\x0b\x64\x61y_of_week\x18\x07 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t"e\n\x0cIntervalSpec\x12+\n\x08interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x05phase\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\xba\x04\n\x0cScheduleSpec\x12M\n\x13structured_calendar\x18\x07 \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12\x13\n\x0b\x63ron_string\x18\x08 \x03(\t\x12\x38\n\x08\x63\x61lendar\x18\x01 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpec\x12\x38\n\x08interval\x18\x02 \x03(\x0b\x32&.temporal.api.schedule.v1.IntervalSpec\x12\x44\n\x10\x65xclude_calendar\x18\x03 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01\x12U\n\x1b\x65xclude_structured_calendar\x18\t \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rtimezone_name\x18\n \x01(\t\x12\x15\n\rtimezone_data\x18\x0b \x01(\x0c"\xc8\x01\n\x10SchedulePolicies\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x31\n\x0e\x63\x61tchup_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10pause_on_failure\x18\x03 \x01(\x08\x12!\n\x19keep_original_workflow_id\x18\x04 \x01(\x08"h\n\x0eScheduleAction\x12L\n\x0estart_workflow\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00\x42\x08\n\x06\x61\x63tion"\x93\x02\n\x14ScheduleActionResult\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x61\x63tual_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x15start_workflow_result\x18\x0b \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12M\n\x15start_workflow_status\x18\x0c \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus"b\n\rScheduleState\x12\r\n\x05notes\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x12\x17\n\x0flimited_actions\x18\x03 \x01(\x08\x12\x19\n\x11remaining_actions\x18\x04 \x01(\x03"\x95\x01\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb5\x01\n\x0f\x42\x61\x63kfillRequest\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x0eoverlap_policy\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy"\xc6\x01\n\rSchedulePatch\x12P\n\x13trigger_immediately\x18\x01 \x01(\x0b\x32\x33.temporal.api.schedule.v1.TriggerImmediatelyRequest\x12\x43\n\x10\x62\x61\x63kfill_request\x18\x02 \x03(\x0b\x32).temporal.api.schedule.v1.BackfillRequest\x12\r\n\x05pause\x18\x03 \x01(\t\x12\x0f\n\x07unpause\x18\x04 \x01(\t"\xf0\x03\n\x0cScheduleInfo\x12\x14\n\x0c\x61\x63tion_count\x18\x01 \x01(\x03\x12\x1d\n\x15missed_catchup_window\x18\x02 \x01(\x03\x12\x17\n\x0foverlap_skipped\x18\x03 \x01(\x03\x12\x16\n\x0e\x62uffer_dropped\x18\n \x01(\x03\x12\x13\n\x0b\x62uffer_size\x18\x0b \x01(\x03\x12\x44\n\x11running_workflows\x18\t \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x46\n\x0erecent_actions\x18\x04 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x05 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12"\n\x16invalid_schedule_error\x18\x08 \x01(\tB\x02\x18\x01\x12\x18\n\x10state_size_bytes\x18\x0c \x01(\x03"\xf0\x01\n\x08Schedule\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32(.temporal.api.schedule.v1.ScheduleAction\x12<\n\x08policies\x18\x03 \x01(\x0b\x32*.temporal.api.schedule.v1.SchedulePolicies\x12\x36\n\x05state\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.ScheduleState"\xbf\x02\n\x10ScheduleListInfo\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\r\n\x05notes\x18\x03 \x01(\t\x12\x0e\n\x06paused\x18\x04 \x01(\x08\x12\x46\n\x0erecent_actions\x18\x05 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10state_size_bytes\x18\x07 \x01(\x03"\xd3\x01\n\x11ScheduleListEntry\x12\x13\n\x0bschedule_id\x18\x01 \x01(\t\x12*\n\x04memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x03 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x38\n\x04info\x18\x04 \x01(\x0b\x32*.temporal.api.schedule.v1.ScheduleListInfoB\x93\x01\n\x1bio.temporal.api.schedule.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.schedule.v1.message_pb2", _globals + +_CALENDARSPEC = DESCRIPTOR.message_types_by_name["CalendarSpec"] +_RANGE = DESCRIPTOR.message_types_by_name["Range"] +_STRUCTUREDCALENDARSPEC = DESCRIPTOR.message_types_by_name["StructuredCalendarSpec"] +_INTERVALSPEC = DESCRIPTOR.message_types_by_name["IntervalSpec"] +_SCHEDULESPEC = DESCRIPTOR.message_types_by_name["ScheduleSpec"] +_SCHEDULEPOLICIES = DESCRIPTOR.message_types_by_name["SchedulePolicies"] +_SCHEDULEACTION = DESCRIPTOR.message_types_by_name["ScheduleAction"] +_SCHEDULEACTIONRESULT = DESCRIPTOR.message_types_by_name["ScheduleActionResult"] +_SCHEDULESTATE = DESCRIPTOR.message_types_by_name["ScheduleState"] +_TRIGGERIMMEDIATELYREQUEST = DESCRIPTOR.message_types_by_name[ + "TriggerImmediatelyRequest" +] +_BACKFILLREQUEST = DESCRIPTOR.message_types_by_name["BackfillRequest"] +_SCHEDULEPATCH = DESCRIPTOR.message_types_by_name["SchedulePatch"] +_SCHEDULEINFO = DESCRIPTOR.message_types_by_name["ScheduleInfo"] +_SCHEDULE = DESCRIPTOR.message_types_by_name["Schedule"] +_SCHEDULELISTINFO = DESCRIPTOR.message_types_by_name["ScheduleListInfo"] +_SCHEDULELISTENTRY = DESCRIPTOR.message_types_by_name["ScheduleListEntry"] +CalendarSpec = _reflection.GeneratedProtocolMessageType( + "CalendarSpec", + (_message.Message,), + { + "DESCRIPTOR": _CALENDARSPEC, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.CalendarSpec) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1" - _globals["_SCHEDULESPEC"].fields_by_name["exclude_calendar"]._loaded_options = None - _globals["_SCHEDULESPEC"].fields_by_name[ - "exclude_calendar" - ]._serialized_options = b"\030\001" - _globals["_SCHEDULEINFO"].fields_by_name[ - "invalid_schedule_error" - ]._loaded_options = None - _globals["_SCHEDULEINFO"].fields_by_name[ +_sym_db.RegisterMessage(CalendarSpec) + +Range = _reflection.GeneratedProtocolMessageType( + "Range", + (_message.Message,), + { + "DESCRIPTOR": _RANGE, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Range) + }, +) +_sym_db.RegisterMessage(Range) + +StructuredCalendarSpec = _reflection.GeneratedProtocolMessageType( + "StructuredCalendarSpec", + (_message.Message,), + { + "DESCRIPTOR": _STRUCTUREDCALENDARSPEC, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.StructuredCalendarSpec) + }, +) +_sym_db.RegisterMessage(StructuredCalendarSpec) + +IntervalSpec = _reflection.GeneratedProtocolMessageType( + "IntervalSpec", + (_message.Message,), + { + "DESCRIPTOR": _INTERVALSPEC, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.IntervalSpec) + }, +) +_sym_db.RegisterMessage(IntervalSpec) + +ScheduleSpec = _reflection.GeneratedProtocolMessageType( + "ScheduleSpec", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULESPEC, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleSpec) + }, +) +_sym_db.RegisterMessage(ScheduleSpec) + +SchedulePolicies = _reflection.GeneratedProtocolMessageType( + "SchedulePolicies", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEPOLICIES, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePolicies) + }, +) +_sym_db.RegisterMessage(SchedulePolicies) + +ScheduleAction = _reflection.GeneratedProtocolMessageType( + "ScheduleAction", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTION, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleAction) + }, +) +_sym_db.RegisterMessage(ScheduleAction) + +ScheduleActionResult = _reflection.GeneratedProtocolMessageType( + "ScheduleActionResult", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTIONRESULT, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleActionResult) + }, +) +_sym_db.RegisterMessage(ScheduleActionResult) + +ScheduleState = _reflection.GeneratedProtocolMessageType( + "ScheduleState", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULESTATE, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleState) + }, +) +_sym_db.RegisterMessage(ScheduleState) + +TriggerImmediatelyRequest = _reflection.GeneratedProtocolMessageType( + "TriggerImmediatelyRequest", + (_message.Message,), + { + "DESCRIPTOR": _TRIGGERIMMEDIATELYREQUEST, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.TriggerImmediatelyRequest) + }, +) +_sym_db.RegisterMessage(TriggerImmediatelyRequest) + +BackfillRequest = _reflection.GeneratedProtocolMessageType( + "BackfillRequest", + (_message.Message,), + { + "DESCRIPTOR": _BACKFILLREQUEST, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.BackfillRequest) + }, +) +_sym_db.RegisterMessage(BackfillRequest) + +SchedulePatch = _reflection.GeneratedProtocolMessageType( + "SchedulePatch", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEPATCH, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.SchedulePatch) + }, +) +_sym_db.RegisterMessage(SchedulePatch) + +ScheduleInfo = _reflection.GeneratedProtocolMessageType( + "ScheduleInfo", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEINFO, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleInfo) + }, +) +_sym_db.RegisterMessage(ScheduleInfo) + +Schedule = _reflection.GeneratedProtocolMessageType( + "Schedule", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULE, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.Schedule) + }, +) +_sym_db.RegisterMessage(Schedule) + +ScheduleListInfo = _reflection.GeneratedProtocolMessageType( + "ScheduleListInfo", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULELISTINFO, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListInfo) + }, +) +_sym_db.RegisterMessage(ScheduleListInfo) + +ScheduleListEntry = _reflection.GeneratedProtocolMessageType( + "ScheduleListEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULELISTENTRY, + "__module__": "temporalio.api.schedule.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleListEntry) + }, +) +_sym_db.RegisterMessage(ScheduleListEntry) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.schedule.v1B\014MessageProtoP\001Z'go.temporal.io/api/schedule/v1;schedule\252\002\032Temporalio.Api.Schedule.V1\352\002\035Temporalio::Api::Schedule::V1" + _SCHEDULESPEC.fields_by_name["exclude_calendar"]._options = None + _SCHEDULESPEC.fields_by_name["exclude_calendar"]._serialized_options = b"\030\001" + _SCHEDULEINFO.fields_by_name["invalid_schedule_error"]._options = None + _SCHEDULEINFO.fields_by_name[ "invalid_schedule_error" ]._serialized_options = b"\030\001" - _globals["_CALENDARSPEC"]._serialized_start = 288 - _globals["_CALENDARSPEC"]._serialized_end = 437 - _globals["_RANGE"]._serialized_start = 439 - _globals["_RANGE"]._serialized_end = 488 - _globals["_STRUCTUREDCALENDARSPEC"]._serialized_start = 491 - _globals["_STRUCTUREDCALENDARSPEC"]._serialized_end = 881 - _globals["_INTERVALSPEC"]._serialized_start = 883 - _globals["_INTERVALSPEC"]._serialized_end = 984 - _globals["_SCHEDULESPEC"]._serialized_start = 987 - _globals["_SCHEDULESPEC"]._serialized_end = 1557 - _globals["_SCHEDULEPOLICIES"]._serialized_start = 1560 - _globals["_SCHEDULEPOLICIES"]._serialized_end = 1760 - _globals["_SCHEDULEACTION"]._serialized_start = 1762 - _globals["_SCHEDULEACTION"]._serialized_end = 1866 - _globals["_SCHEDULEACTIONRESULT"]._serialized_start = 1869 - _globals["_SCHEDULEACTIONRESULT"]._serialized_end = 2144 - _globals["_SCHEDULESTATE"]._serialized_start = 2146 - _globals["_SCHEDULESTATE"]._serialized_end = 2244 - _globals["_TRIGGERIMMEDIATELYREQUEST"]._serialized_start = 2247 - _globals["_TRIGGERIMMEDIATELYREQUEST"]._serialized_end = 2396 - _globals["_BACKFILLREQUEST"]._serialized_start = 2399 - _globals["_BACKFILLREQUEST"]._serialized_end = 2580 - _globals["_SCHEDULEPATCH"]._serialized_start = 2583 - _globals["_SCHEDULEPATCH"]._serialized_end = 2781 - _globals["_SCHEDULEINFO"]._serialized_start = 2784 - _globals["_SCHEDULEINFO"]._serialized_end = 3280 - _globals["_SCHEDULE"]._serialized_start = 3283 - _globals["_SCHEDULE"]._serialized_end = 3523 - _globals["_SCHEDULELISTINFO"]._serialized_start = 3526 - _globals["_SCHEDULELISTINFO"]._serialized_end = 3845 - _globals["_SCHEDULELISTENTRY"]._serialized_start = 3848 - _globals["_SCHEDULELISTENTRY"]._serialized_end = 4059 + _CALENDARSPEC._serialized_start = 288 + _CALENDARSPEC._serialized_end = 437 + _RANGE._serialized_start = 439 + _RANGE._serialized_end = 488 + _STRUCTUREDCALENDARSPEC._serialized_start = 491 + _STRUCTUREDCALENDARSPEC._serialized_end = 881 + _INTERVALSPEC._serialized_start = 883 + _INTERVALSPEC._serialized_end = 984 + _SCHEDULESPEC._serialized_start = 987 + _SCHEDULESPEC._serialized_end = 1557 + _SCHEDULEPOLICIES._serialized_start = 1560 + _SCHEDULEPOLICIES._serialized_end = 1760 + _SCHEDULEACTION._serialized_start = 1762 + _SCHEDULEACTION._serialized_end = 1866 + _SCHEDULEACTIONRESULT._serialized_start = 1869 + _SCHEDULEACTIONRESULT._serialized_end = 2144 + _SCHEDULESTATE._serialized_start = 2146 + _SCHEDULESTATE._serialized_end = 2244 + _TRIGGERIMMEDIATELYREQUEST._serialized_start = 2247 + _TRIGGERIMMEDIATELYREQUEST._serialized_end = 2396 + _BACKFILLREQUEST._serialized_start = 2399 + _BACKFILLREQUEST._serialized_end = 2580 + _SCHEDULEPATCH._serialized_start = 2583 + _SCHEDULEPATCH._serialized_end = 2781 + _SCHEDULEINFO._serialized_start = 2784 + _SCHEDULEINFO._serialized_end = 3280 + _SCHEDULE._serialized_start = 3283 + _SCHEDULE._serialized_end = 3523 + _SCHEDULELISTINFO._serialized_start = 3526 + _SCHEDULELISTINFO._serialized_end = 3845 + _SCHEDULELISTENTRY._serialized_start = 3848 + _SCHEDULELISTENTRY._serialized_end = 4059 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/schedule/v1/message_pb2.pyi b/temporalio/api/schedule/v1/message_pb2.pyi index 517b509eb..fe7c1e900 100644 --- a/temporalio/api/schedule/v1/message_pb2.pyi +++ b/temporalio/api/schedule/v1/message_pb2.pyi @@ -10,7 +10,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -23,14 +22,13 @@ import temporalio.api.enums.v1.schedule_pb2 import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class CalendarSpec(google.protobuf.message.Message): """CalendarSpec describes an event specification relative to the calendar, similar to a traditional cron specification, but with labeled fields. Each @@ -95,7 +93,7 @@ class CalendarSpec(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "comment", b"comment", "day_of_month", @@ -115,9 +113,8 @@ class CalendarSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___CalendarSpec: typing_extensions.TypeAlias = CalendarSpec +global___CalendarSpec = CalendarSpec -@typing.final class Range(google.protobuf.message.Message): """Range represents a set of integer values, used to match fields of a calendar time in StructuredCalendarSpec. If end < start, then end is interpreted as @@ -145,12 +142,13 @@ class Range(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["end", b"end", "start", b"start", "step", b"step"], + field_name: typing_extensions.Literal[ + "end", b"end", "start", b"start", "step", b"step" + ], ) -> None: ... -Global___Range: typing_extensions.TypeAlias = Range +global___Range = Range -@typing.final class StructuredCalendarSpec(google.protobuf.message.Message): """StructuredCalendarSpec describes an event specification relative to the calendar, in a form that's easy to work with programmatically. Each field can @@ -173,82 +171,75 @@ class StructuredCalendarSpec(google.protobuf.message.Message): YEAR_FIELD_NUMBER: builtins.int DAY_OF_WEEK_FIELD_NUMBER: builtins.int COMMENT_FIELD_NUMBER: builtins.int - comment: builtins.str - """Free-form comment describing the intention of this spec.""" @property def second( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Range + global___Range ]: """Match seconds (0-59)""" - @property def minute( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Range + global___Range ]: """Match minutes (0-59)""" - @property def hour( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Range + global___Range ]: """Match hours (0-23)""" - @property def day_of_month( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Range + global___Range ]: """Match days of the month (1-31) (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: standard name of field --) """ - @property def month( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Range + global___Range ]: """Match months (1-12)""" - @property def year( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Range + global___Range ]: """Match years.""" - @property def day_of_week( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Range + global___Range ]: """Match days of the week (0-6; 0 is Sunday).""" - + comment: builtins.str + """Free-form comment describing the intention of this spec.""" def __init__( self, *, - second: collections.abc.Iterable[Global___Range] | None = ..., - minute: collections.abc.Iterable[Global___Range] | None = ..., - hour: collections.abc.Iterable[Global___Range] | None = ..., - day_of_month: collections.abc.Iterable[Global___Range] | None = ..., - month: collections.abc.Iterable[Global___Range] | None = ..., - year: collections.abc.Iterable[Global___Range] | None = ..., - day_of_week: collections.abc.Iterable[Global___Range] | None = ..., + second: collections.abc.Iterable[global___Range] | None = ..., + minute: collections.abc.Iterable[global___Range] | None = ..., + hour: collections.abc.Iterable[global___Range] | None = ..., + day_of_month: collections.abc.Iterable[global___Range] | None = ..., + month: collections.abc.Iterable[global___Range] | None = ..., + year: collections.abc.Iterable[global___Range] | None = ..., + day_of_week: collections.abc.Iterable[global___Range] | None = ..., comment: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "comment", b"comment", "day_of_month", @@ -268,9 +259,8 @@ class StructuredCalendarSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___StructuredCalendarSpec: typing_extensions.TypeAlias = StructuredCalendarSpec +global___StructuredCalendarSpec = StructuredCalendarSpec -@typing.final class IntervalSpec(google.protobuf.message.Message): """IntervalSpec matches times that can be expressed as: epoch + n * interval + phase @@ -300,15 +290,20 @@ class IntervalSpec(google.protobuf.message.Message): phase: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["interval", b"interval", "phase", b"phase"] + self, + field_name: typing_extensions.Literal[ + "interval", b"interval", "phase", b"phase" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["interval", b"interval", "phase", b"phase"] + self, + field_name: typing_extensions.Literal[ + "interval", b"interval", "phase", b"phase" + ], ) -> None: ... -Global___IntervalSpec: typing_extensions.TypeAlias = IntervalSpec +global___IntervalSpec = IntervalSpec -@typing.final class ScheduleSpec(google.protobuf.message.Message): """ScheduleSpec is a complete description of a set of absolute timestamps (possibly infinite) that an action should occur at. The meaning of a @@ -343,39 +338,13 @@ class ScheduleSpec(google.protobuf.message.Message): JITTER_FIELD_NUMBER: builtins.int TIMEZONE_NAME_FIELD_NUMBER: builtins.int TIMEZONE_DATA_FIELD_NUMBER: builtins.int - timezone_name: builtins.str - """Time zone to interpret all calendar-based specs in. - - If unset, defaults to UTC. We recommend using UTC for your application if - at all possible, to avoid various surprising properties of time zones. - - Time zones may be provided by name, corresponding to names in the IANA - time zone database (see https://www.iana.org/time-zones). The definition - will be loaded by the Temporal server from the environment it runs in. - - If your application requires more control over the time zone definition - used, it may pass in a complete definition in the form of a TZif file - from the time zone database. If present, this will be used instead of - loading anything from the environment. You are then responsible for - updating timezone_data when the definition changes. - - Calendar spec matching is based on literal matching of the clock time - with no special handling of DST: if you write a calendar spec that fires - at 2:30am and specify a time zone that follows DST, that action will not - be triggered on the day that has no 2:30am. Similarly, an action that - fires at 1:30am will be triggered twice on the day that has two 1:30s. - - Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC). - """ - timezone_data: builtins.bytes @property def structured_calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___StructuredCalendarSpec + global___StructuredCalendarSpec ]: """Calendar-based specifications of times.""" - @property def cron_string( self, @@ -401,66 +370,84 @@ class ScheduleSpec(google.protobuf.message.Message): IntervalSpec instead. and should be a decimal integer with a unit suffix s, m, h, or d. """ - @property def calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CalendarSpec + global___CalendarSpec ]: """Calendar-based specifications of times.""" - @property def interval( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___IntervalSpec + global___IntervalSpec ]: """Interval-based specifications of times.""" - @property def exclude_calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CalendarSpec + global___CalendarSpec ]: """Any timestamps matching any of exclude_* will be skipped. Deprecated. Use exclude_structured_calendar. """ - @property def exclude_structured_calendar( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___StructuredCalendarSpec + global___StructuredCalendarSpec ]: ... @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If start_time is set, any timestamps before start_time will be skipped. (Together, start_time and end_time make an inclusive interval.) """ - @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If end_time is set, any timestamps after end_time will be skipped.""" - @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """All timestamps will be incremented by a random value from 0 to this amount of jitter. Default: 0 """ + timezone_name: builtins.str + """Time zone to interpret all calendar-based specs in. + + If unset, defaults to UTC. We recommend using UTC for your application if + at all possible, to avoid various surprising properties of time zones. + + Time zones may be provided by name, corresponding to names in the IANA + time zone database (see https://www.iana.org/time-zones). The definition + will be loaded by the Temporal server from the environment it runs in. + If your application requires more control over the time zone definition + used, it may pass in a complete definition in the form of a TZif file + from the time zone database. If present, this will be used instead of + loading anything from the environment. You are then responsible for + updating timezone_data when the definition changes. + + Calendar spec matching is based on literal matching of the clock time + with no special handling of DST: if you write a calendar spec that fires + at 2:30am and specify a time zone that follows DST, that action will not + be triggered on the day that has no 2:30am. Similarly, an action that + fires at 1:30am will be triggered twice on the day that has two 1:30s. + + Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC). + """ + timezone_data: builtins.bytes def __init__( self, *, - structured_calendar: collections.abc.Iterable[Global___StructuredCalendarSpec] + structured_calendar: collections.abc.Iterable[global___StructuredCalendarSpec] | None = ..., cron_string: collections.abc.Iterable[builtins.str] | None = ..., - calendar: collections.abc.Iterable[Global___CalendarSpec] | None = ..., - interval: collections.abc.Iterable[Global___IntervalSpec] | None = ..., - exclude_calendar: collections.abc.Iterable[Global___CalendarSpec] | None = ..., + calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., + interval: collections.abc.Iterable[global___IntervalSpec] | None = ..., + exclude_calendar: collections.abc.Iterable[global___CalendarSpec] | None = ..., exclude_structured_calendar: collections.abc.Iterable[ - Global___StructuredCalendarSpec + global___StructuredCalendarSpec ] | None = ..., start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., @@ -471,13 +458,13 @@ class ScheduleSpec(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "jitter", b"jitter", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "calendar", b"calendar", "cron_string", @@ -503,9 +490,8 @@ class ScheduleSpec(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleSpec: typing_extensions.TypeAlias = ScheduleSpec +global___ScheduleSpec = ScheduleSpec -@typing.final class SchedulePolicies(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -519,6 +505,14 @@ class SchedulePolicies(google.protobuf.message.Message): and some changes might produce unintuitive results. In general, the later policy overrides the earlier policy. """ + @property + def catchup_window(self) -> google.protobuf.duration_pb2.Duration: + """Policy for catchups: + If the Temporal server misses an action due to one or more components + being down, and comes back up, the action will be run if the scheduled + time is within this window from the current time. + This value defaults to one year, and can't be less than 10 seconds. + """ pause_on_failure: builtins.bool """If true, and a workflow run fails or times out, turn on "paused". This applies after retry policies: the full chain of retries must fail to @@ -528,15 +522,6 @@ class SchedulePolicies(google.protobuf.message.Message): """If true, and the action would start a workflow, a timestamp will not be appended to the scheduled workflow id. """ - @property - def catchup_window(self) -> google.protobuf.duration_pb2.Duration: - """Policy for catchups: - If the Temporal server misses an action due to one or more components - being down, and comes back up, the action will be run if the scheduled - time is within this window from the current time. - This value defaults to one year, and can't be less than 10 seconds. - """ - def __init__( self, *, @@ -546,11 +531,11 @@ class SchedulePolicies(google.protobuf.message.Message): keep_original_workflow_id: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["catchup_window", b"catchup_window"] + self, field_name: typing_extensions.Literal["catchup_window", b"catchup_window"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "catchup_window", b"catchup_window", "keep_original_workflow_id", @@ -562,9 +547,8 @@ class SchedulePolicies(google.protobuf.message.Message): ], ) -> None: ... -Global___SchedulePolicies: typing_extensions.TypeAlias = SchedulePolicies +global___SchedulePolicies = SchedulePolicies -@typing.final class ScheduleAction(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -579,7 +563,6 @@ class ScheduleAction(google.protobuf.message.Message): The workflow id of the started workflow may not match this exactly, it may have a timestamp appended for uniqueness. """ - def __init__( self, *, @@ -588,23 +571,22 @@ class ScheduleAction(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "action", b"action", "start_workflow", b"start_workflow" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "action", b"action", "start_workflow", b"start_workflow" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["action", b"action"] - ) -> typing.Literal["start_workflow"] | None: ... + self, oneof_group: typing_extensions.Literal["action", b"action"] + ) -> typing_extensions.Literal["start_workflow"] | None: ... -Global___ScheduleAction: typing_extensions.TypeAlias = ScheduleAction +global___ScheduleAction = ScheduleAction -@typing.final class ScheduleActionResult(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -612,26 +594,23 @@ class ScheduleActionResult(google.protobuf.message.Message): ACTUAL_TIME_FIELD_NUMBER: builtins.int START_WORKFLOW_RESULT_FIELD_NUMBER: builtins.int START_WORKFLOW_STATUS_FIELD_NUMBER: builtins.int - start_workflow_status: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType - ) - """If the action was start_workflow, this field will reflect an - eventually-consistent view of the started workflow's status. - """ @property def schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time that the action was taken (according to the schedule, including jitter).""" - @property def actual_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time that the action was taken (real time).""" - @property def start_workflow_result( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """If action was start_workflow:""" - + start_workflow_status: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType + ) + """If the action was start_workflow, this field will reflect an + eventually-consistent view of the started workflow's status. + """ def __init__( self, *, @@ -643,7 +622,7 @@ class ScheduleActionResult(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "actual_time", b"actual_time", "schedule_time", @@ -654,7 +633,7 @@ class ScheduleActionResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "actual_time", b"actual_time", "schedule_time", @@ -666,9 +645,8 @@ class ScheduleActionResult(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleActionResult: typing_extensions.TypeAlias = ScheduleActionResult +global___ScheduleActionResult = ScheduleActionResult -@typing.final class ScheduleState(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -703,7 +681,7 @@ class ScheduleState(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "limited_actions", b"limited_actions", "notes", @@ -715,9 +693,8 @@ class ScheduleState(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleState: typing_extensions.TypeAlias = ScheduleState +global___ScheduleState = ScheduleState -@typing.final class TriggerImmediatelyRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -730,7 +707,6 @@ class TriggerImmediatelyRequest(google.protobuf.message.Message): """Timestamp used for the identity of the target workflow. If not set the default value is the current time. """ - def __init__( self, *, @@ -738,28 +714,23 @@ class TriggerImmediatelyRequest(google.protobuf.message.Message): scheduled_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["scheduled_time", b"scheduled_time"] + self, field_name: typing_extensions.Literal["scheduled_time", b"scheduled_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "overlap_policy", b"overlap_policy", "scheduled_time", b"scheduled_time" ], ) -> None: ... -Global___TriggerImmediatelyRequest: typing_extensions.TypeAlias = ( - TriggerImmediatelyRequest -) +global___TriggerImmediatelyRequest = TriggerImmediatelyRequest -@typing.final class BackfillRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor START_TIME_FIELD_NUMBER: builtins.int END_TIME_FIELD_NUMBER: builtins.int OVERLAP_POLICY_FIELD_NUMBER: builtins.int - overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType - """If set, override overlap policy for this request.""" @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time range to evaluate schedule in. Currently, this time range is @@ -769,9 +740,10 @@ class BackfillRequest(google.protobuf.message.Message): nominally scheduled in the interval but with jitter that pushes it after end_time will not be included. """ - @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + overlap_policy: temporalio.api.enums.v1.schedule_pb2.ScheduleOverlapPolicy.ValueType + """If set, override overlap policy for this request.""" def __init__( self, *, @@ -781,13 +753,13 @@ class BackfillRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "overlap_policy", @@ -797,9 +769,8 @@ class BackfillRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___BackfillRequest: typing_extensions.TypeAlias = BackfillRequest +global___BackfillRequest = BackfillRequest -@typing.final class SchedulePatch(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -807,41 +778,42 @@ class SchedulePatch(google.protobuf.message.Message): BACKFILL_REQUEST_FIELD_NUMBER: builtins.int PAUSE_FIELD_NUMBER: builtins.int UNPAUSE_FIELD_NUMBER: builtins.int - pause: builtins.str - """If set, change the state to paused or unpaused (respectively) and set the - notes field to the value of the string. - """ - unpause: builtins.str @property - def trigger_immediately(self) -> Global___TriggerImmediatelyRequest: + def trigger_immediately(self) -> global___TriggerImmediatelyRequest: """If set, trigger one action immediately.""" - @property def backfill_request( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___BackfillRequest + global___BackfillRequest ]: """If set, runs though the specified time period(s) and takes actions as if that time passed by right now, all at once. The overlap policy can be overridden for the scope of the backfill. """ - + pause: builtins.str + """If set, change the state to paused or unpaused (respectively) and set the + notes field to the value of the string. + """ + unpause: builtins.str def __init__( self, *, - trigger_immediately: Global___TriggerImmediatelyRequest | None = ..., - backfill_request: collections.abc.Iterable[Global___BackfillRequest] + trigger_immediately: global___TriggerImmediatelyRequest | None = ..., + backfill_request: collections.abc.Iterable[global___BackfillRequest] | None = ..., pause: builtins.str = ..., unpause: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["trigger_immediately", b"trigger_immediately"] + self, + field_name: typing_extensions.Literal[ + "trigger_immediately", b"trigger_immediately" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backfill_request", b"backfill_request", "pause", @@ -853,9 +825,8 @@ class SchedulePatch(google.protobuf.message.Message): ], ) -> None: ... -Global___SchedulePatch: typing_extensions.TypeAlias = SchedulePatch +global___SchedulePatch = SchedulePatch -@typing.final class ScheduleInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -884,10 +855,6 @@ class ScheduleInfo(google.protobuf.message.Message): be immediately triggered (due to the overlap policy). These actions can be a result of the normal schedule or a backfill. """ - invalid_schedule_error: builtins.str - """Deprecated.""" - state_size_bytes: builtins.int - """Size of the schedule's internal state (including payloads) in bytes.""" @property def running_workflows( self, @@ -900,15 +867,13 @@ class ScheduleInfo(google.protobuf.message.Message): started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id. """ - @property def recent_actions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ScheduleActionResult + global___ScheduleActionResult ]: """Most recent ten actual action times (including manual triggers).""" - @property def future_action_times( self, @@ -916,13 +881,15 @@ class ScheduleInfo(google.protobuf.message.Message): google.protobuf.timestamp_pb2.Timestamp ]: """Next ten scheduled action times.""" - @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamps of schedule creation and last update.""" - @property def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + invalid_schedule_error: builtins.str + """Deprecated.""" + state_size_bytes: builtins.int + """Size of the schedule's internal state (including payloads) in bytes.""" def __init__( self, *, @@ -935,7 +902,7 @@ class ScheduleInfo(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.WorkflowExecution ] | None = ..., - recent_actions: collections.abc.Iterable[Global___ScheduleActionResult] + recent_actions: collections.abc.Iterable[global___ScheduleActionResult] | None = ..., future_action_times: collections.abc.Iterable[ google.protobuf.timestamp_pb2.Timestamp @@ -948,13 +915,13 @@ class ScheduleInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "update_time", b"update_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "action_count", b"action_count", "buffer_dropped", @@ -982,9 +949,8 @@ class ScheduleInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleInfo: typing_extensions.TypeAlias = ScheduleInfo +global___ScheduleInfo = ScheduleInfo -@typing.final class Schedule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -993,24 +959,24 @@ class Schedule(google.protobuf.message.Message): POLICIES_FIELD_NUMBER: builtins.int STATE_FIELD_NUMBER: builtins.int @property - def spec(self) -> Global___ScheduleSpec: ... + def spec(self) -> global___ScheduleSpec: ... @property - def action(self) -> Global___ScheduleAction: ... + def action(self) -> global___ScheduleAction: ... @property - def policies(self) -> Global___SchedulePolicies: ... + def policies(self) -> global___SchedulePolicies: ... @property - def state(self) -> Global___ScheduleState: ... + def state(self) -> global___ScheduleState: ... def __init__( self, *, - spec: Global___ScheduleSpec | None = ..., - action: Global___ScheduleAction | None = ..., - policies: Global___SchedulePolicies | None = ..., - state: Global___ScheduleState | None = ..., + spec: global___ScheduleSpec | None = ..., + action: global___ScheduleAction | None = ..., + policies: global___SchedulePolicies | None = ..., + state: global___ScheduleState | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "action", b"action", "policies", @@ -1023,7 +989,7 @@ class Schedule(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "action", b"action", "policies", @@ -1035,9 +1001,8 @@ class Schedule(google.protobuf.message.Message): ], ) -> None: ... -Global___Schedule: typing_extensions.TypeAlias = Schedule +global___Schedule = Schedule -@typing.final class ScheduleListInfo(google.protobuf.message.Message): """ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo that's returned in ListSchedules. @@ -1052,46 +1017,43 @@ class ScheduleListInfo(google.protobuf.message.Message): RECENT_ACTIONS_FIELD_NUMBER: builtins.int FUTURE_ACTION_TIMES_FIELD_NUMBER: builtins.int STATE_SIZE_BYTES_FIELD_NUMBER: builtins.int - notes: builtins.str - """From state:""" - paused: builtins.bool - state_size_bytes: builtins.int - """Size of the schedule's internal state (including payloads) in bytes.""" @property - def spec(self) -> Global___ScheduleSpec: + def spec(self) -> global___ScheduleSpec: """From spec: Some fields are dropped from this copy of spec: timezone_data """ - @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: """From action: Action is a oneof field, but we need to encode this in JSON and oneof fields don't work well with JSON. If action is start_workflow, this is set: """ - + notes: builtins.str + """From state:""" + paused: builtins.bool @property def recent_actions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ScheduleActionResult + global___ScheduleActionResult ]: """From info (maybe fewer entries):""" - @property def future_action_times( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ google.protobuf.timestamp_pb2.Timestamp ]: ... + state_size_bytes: builtins.int + """Size of the schedule's internal state (including payloads) in bytes.""" def __init__( self, *, - spec: Global___ScheduleSpec | None = ..., + spec: global___ScheduleSpec | None = ..., workflow_type: temporalio.api.common.v1.message_pb2.WorkflowType | None = ..., notes: builtins.str = ..., paused: builtins.bool = ..., - recent_actions: collections.abc.Iterable[Global___ScheduleActionResult] + recent_actions: collections.abc.Iterable[global___ScheduleActionResult] | None = ..., future_action_times: collections.abc.Iterable[ google.protobuf.timestamp_pb2.Timestamp @@ -1101,11 +1063,13 @@ class ScheduleListInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["spec", b"spec", "workflow_type", b"workflow_type"], + field_name: typing_extensions.Literal[ + "spec", b"spec", "workflow_type", b"workflow_type" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "future_action_times", b"future_action_times", "notes", @@ -1123,9 +1087,8 @@ class ScheduleListInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleListInfo: typing_extensions.TypeAlias = ScheduleListInfo +global___ScheduleListInfo = ScheduleListInfo -@typing.final class ScheduleListEntry(google.protobuf.message.Message): """ScheduleListEntry is returned by ListSchedules.""" @@ -1143,7 +1106,7 @@ class ScheduleListEntry(google.protobuf.message.Message): self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property - def info(self) -> Global___ScheduleListInfo: ... + def info(self) -> global___ScheduleListInfo: ... def __init__( self, *, @@ -1151,17 +1114,17 @@ class ScheduleListEntry(google.protobuf.message.Message): memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., - info: Global___ScheduleListInfo | None = ..., + info: global___ScheduleListInfo | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "info", b"info", "memo", b"memo", "search_attributes", b"search_attributes" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "info", b"info", "memo", @@ -1173,4 +1136,4 @@ class ScheduleListEntry(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleListEntry: typing_extensions.TypeAlias = ScheduleListEntry +global___ScheduleListEntry = ScheduleListEntry diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py index 4402d75ba..0890a547a 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/enhanced_stack_trace.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/sdk/v1/enhanced_stack_trace.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,28 +18,95 @@ b'\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.sdk.v1.enhanced_stack_trace_pb2", _globals + +_ENHANCEDSTACKTRACE = DESCRIPTOR.message_types_by_name["EnhancedStackTrace"] +_ENHANCEDSTACKTRACE_SOURCESENTRY = _ENHANCEDSTACKTRACE.nested_types_by_name[ + "SourcesEntry" +] +_STACKTRACESDKINFO = DESCRIPTOR.message_types_by_name["StackTraceSDKInfo"] +_STACKTRACEFILESLICE = DESCRIPTOR.message_types_by_name["StackTraceFileSlice"] +_STACKTRACEFILELOCATION = DESCRIPTOR.message_types_by_name["StackTraceFileLocation"] +_STACKTRACE = DESCRIPTOR.message_types_by_name["StackTrace"] +EnhancedStackTrace = _reflection.GeneratedProtocolMessageType( + "EnhancedStackTrace", + (_message.Message,), + { + "SourcesEntry": _reflection.GeneratedProtocolMessageType( + "SourcesEntry", + (_message.Message,), + { + "DESCRIPTOR": _ENHANCEDSTACKTRACE_SOURCESENTRY, + "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry) + }, + ), + "DESCRIPTOR": _ENHANCEDSTACKTRACE, + "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EnhancedStackTrace) + }, +) +_sym_db.RegisterMessage(EnhancedStackTrace) +_sym_db.RegisterMessage(EnhancedStackTrace.SourcesEntry) + +StackTraceSDKInfo = _reflection.GeneratedProtocolMessageType( + "StackTraceSDKInfo", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACESDKINFO, + "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceSDKInfo) + }, +) +_sym_db.RegisterMessage(StackTraceSDKInfo) + +StackTraceFileSlice = _reflection.GeneratedProtocolMessageType( + "StackTraceFileSlice", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACEFILESLICE, + "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileSlice) + }, +) +_sym_db.RegisterMessage(StackTraceFileSlice) + +StackTraceFileLocation = _reflection.GeneratedProtocolMessageType( + "StackTraceFileLocation", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACEFILELOCATION, + "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._loaded_options = None - _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._serialized_options = b"8\001" - _globals["_ENHANCEDSTACKTRACE"]._serialized_start = 72 - _globals["_ENHANCEDSTACKTRACE"]._serialized_end = 355 - _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._serialized_start = 267 - _globals["_ENHANCEDSTACKTRACE_SOURCESENTRY"]._serialized_end = 355 - _globals["_STACKTRACESDKINFO"]._serialized_start = 357 - _globals["_STACKTRACESDKINFO"]._serialized_end = 407 - _globals["_STACKTRACEFILESLICE"]._serialized_start = 409 - _globals["_STACKTRACEFILESLICE"]._serialized_end = 468 - _globals["_STACKTRACEFILELOCATION"]._serialized_start = 470 - _globals["_STACKTRACEFILELOCATION"]._serialized_end = 589 - _globals["_STACKTRACE"]._serialized_start = 591 - _globals["_STACKTRACE"]._serialized_end = 667 +_sym_db.RegisterMessage(StackTraceFileLocation) + +StackTrace = _reflection.GeneratedProtocolMessageType( + "StackTrace", + (_message.Message,), + { + "DESCRIPTOR": _STACKTRACE, + "__module__": "temporalio.api.sdk.v1.enhanced_stack_trace_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTrace) + }, +) +_sym_db.RegisterMessage(StackTrace) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\027EnhancedStackTraceProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _ENHANCEDSTACKTRACE_SOURCESENTRY._options = None + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_options = b"8\001" + _ENHANCEDSTACKTRACE._serialized_start = 72 + _ENHANCEDSTACKTRACE._serialized_end = 355 + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_start = 267 + _ENHANCEDSTACKTRACE_SOURCESENTRY._serialized_end = 355 + _STACKTRACESDKINFO._serialized_start = 357 + _STACKTRACESDKINFO._serialized_end = 407 + _STACKTRACEFILESLICE._serialized_start = 409 + _STACKTRACEFILESLICE._serialized_end = 468 + _STACKTRACEFILELOCATION._serialized_start = 470 + _STACKTRACEFILELOCATION._serialized_end = 589 + _STACKTRACE._serialized_start = 591 + _STACKTRACE._serialized_end = 667 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi index 93bffc7cc..29767cbf8 100644 --- a/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi +++ b/temporalio/api/sdk/v1/enhanced_stack_trace_pb2.pyi @@ -6,26 +6,23 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class EnhancedStackTrace(google.protobuf.message.Message): """Internal structure used to create worker stack traces with references to code.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class SourcesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -33,62 +30,61 @@ class EnhancedStackTrace(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___StackTraceFileSlice: ... + def value(self) -> global___StackTraceFileSlice: ... def __init__( self, *, key: builtins.str = ..., - value: Global___StackTraceFileSlice | None = ..., + value: global___StackTraceFileSlice | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SDK_FIELD_NUMBER: builtins.int SOURCES_FIELD_NUMBER: builtins.int STACKS_FIELD_NUMBER: builtins.int @property - def sdk(self) -> Global___StackTraceSDKInfo: + def sdk(self) -> global___StackTraceSDKInfo: """Information pertaining to the SDK that the trace has been captured from.""" - @property def sources( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___StackTraceFileSlice + builtins.str, global___StackTraceFileSlice ]: """Mapping of file path to file contents.""" - @property def stacks( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___StackTrace + global___StackTrace ]: """Collection of stacks captured.""" - def __init__( self, *, - sdk: Global___StackTraceSDKInfo | None = ..., - sources: collections.abc.Mapping[builtins.str, Global___StackTraceFileSlice] + sdk: global___StackTraceSDKInfo | None = ..., + sources: collections.abc.Mapping[builtins.str, global___StackTraceFileSlice] | None = ..., - stacks: collections.abc.Iterable[Global___StackTrace] | None = ..., + stacks: collections.abc.Iterable[global___StackTrace] | None = ..., ) -> None: ... - def HasField(self, field_name: typing.Literal["sdk", b"sdk"]) -> builtins.bool: ... + def HasField( + self, field_name: typing_extensions.Literal["sdk", b"sdk"] + ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "sdk", b"sdk", "sources", b"sources", "stacks", b"stacks" ], ) -> None: ... -Global___EnhancedStackTrace: typing_extensions.TypeAlias = EnhancedStackTrace +global___EnhancedStackTrace = EnhancedStackTrace -@typing.final class StackTraceSDKInfo(google.protobuf.message.Message): """Information pertaining to the SDK that the trace has been captured from. (-- api-linter: core::0123::resource-annotation=disabled @@ -110,12 +106,12 @@ class StackTraceSDKInfo(google.protobuf.message.Message): version: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "version", b"version"] + self, + field_name: typing_extensions.Literal["name", b"name", "version", b"version"], ) -> None: ... -Global___StackTraceSDKInfo: typing_extensions.TypeAlias = StackTraceSDKInfo +global___StackTraceSDKInfo = StackTraceSDKInfo -@typing.final class StackTraceFileSlice(google.protobuf.message.Message): """ "Slice" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack.""" @@ -139,14 +135,13 @@ class StackTraceFileSlice(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "content", b"content", "line_offset", b"line_offset" ], ) -> None: ... -Global___StackTraceFileSlice: typing_extensions.TypeAlias = StackTraceFileSlice +global___StackTraceFileSlice = StackTraceFileSlice -@typing.final class StackTraceFileLocation(google.protobuf.message.Message): """More specific location details of a file: its path, precise line and column numbers if applicable, and function name if available. In essence, a pointer to a location in a file @@ -188,7 +183,7 @@ class StackTraceFileLocation(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "column", b"column", "file_path", @@ -202,9 +197,8 @@ class StackTraceFileLocation(google.protobuf.message.Message): ], ) -> None: ... -Global___StackTraceFileLocation: typing_extensions.TypeAlias = StackTraceFileLocation +global___StackTraceFileLocation = StackTraceFileLocation -@typing.final class StackTrace(google.protobuf.message.Message): """Collection of FileLocation messages from a single stack.""" @@ -215,18 +209,17 @@ class StackTrace(google.protobuf.message.Message): def locations( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___StackTraceFileLocation + global___StackTraceFileLocation ]: """Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.""" - def __init__( self, *, - locations: collections.abc.Iterable[Global___StackTraceFileLocation] + locations: collections.abc.Iterable[global___StackTraceFileLocation] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["locations", b"locations"] + self, field_name: typing_extensions.Literal["locations", b"locations"] ) -> None: ... -Global___StackTrace: typing_extensions.TypeAlias = StackTrace +global___StackTrace = StackTrace diff --git a/temporalio/api/sdk/v1/event_group_marker_pb2.py b/temporalio/api/sdk/v1/event_group_marker_pb2.py index fad073bf5..3475c8588 100644 --- a/temporalio/api/sdk/v1/event_group_marker_pb2.py +++ b/temporalio/api/sdk/v1/event_group_marker_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/event_group_marker.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/sdk/v1/event_group_marker.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,22 +22,63 @@ b'\n,temporal/api/sdk/v1/event_group_marker.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto"\x92\x03\n\x10\x45ventGroupMarker\x12<\n\x05label\x18\x01 \x01(\x0b\x32+.temporal.api.sdk.v1.EventGroupMarker.LabelH\x00\x12K\n\rinbound_event\x18\x02 \x01(\x0b\x32\x32.temporal.api.sdk.v1.EventGroupMarker.InboundEventH\x00\x12M\n\x0einbound_update\x18\x03 \x01(\x0b\x32\x33.temporal.api.sdk.v1.EventGroupMarker.InboundUpdateH\x00\x1a\x43\n\x05Label\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\x05label\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x1a(\n\x0cInboundEvent\x12\x18\n\x10inbound_event_id\x18\x01 \x01(\x03\x1a*\n\rInboundUpdate\x12\x19\n\x11inbound_update_id\x18\x01 \x01(\tB\t\n\x07variantB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15\x45ventGroupMarkerProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.sdk.v1.event_group_marker_pb2", _globals + +_EVENTGROUPMARKER = DESCRIPTOR.message_types_by_name["EventGroupMarker"] +_EVENTGROUPMARKER_LABEL = _EVENTGROUPMARKER.nested_types_by_name["Label"] +_EVENTGROUPMARKER_INBOUNDEVENT = _EVENTGROUPMARKER.nested_types_by_name["InboundEvent"] +_EVENTGROUPMARKER_INBOUNDUPDATE = _EVENTGROUPMARKER.nested_types_by_name[ + "InboundUpdate" +] +EventGroupMarker = _reflection.GeneratedProtocolMessageType( + "EventGroupMarker", + (_message.Message,), + { + "Label": _reflection.GeneratedProtocolMessageType( + "Label", + (_message.Message,), + { + "DESCRIPTOR": _EVENTGROUPMARKER_LABEL, + "__module__": "temporalio.api.sdk.v1.event_group_marker_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EventGroupMarker.Label) + }, + ), + "InboundEvent": _reflection.GeneratedProtocolMessageType( + "InboundEvent", + (_message.Message,), + { + "DESCRIPTOR": _EVENTGROUPMARKER_INBOUNDEVENT, + "__module__": "temporalio.api.sdk.v1.event_group_marker_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EventGroupMarker.InboundEvent) + }, + ), + "InboundUpdate": _reflection.GeneratedProtocolMessageType( + "InboundUpdate", + (_message.Message,), + { + "DESCRIPTOR": _EVENTGROUPMARKER_INBOUNDUPDATE, + "__module__": "temporalio.api.sdk.v1.event_group_marker_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EventGroupMarker.InboundUpdate) + }, + ), + "DESCRIPTOR": _EVENTGROUPMARKER, + "__module__": "temporalio.api.sdk.v1.event_group_marker_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.EventGroupMarker) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025EventGroupMarkerProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _globals["_EVENTGROUPMARKER"]._serialized_start = 108 - _globals["_EVENTGROUPMARKER"]._serialized_end = 510 - _globals["_EVENTGROUPMARKER_LABEL"]._serialized_start = 346 - _globals["_EVENTGROUPMARKER_LABEL"]._serialized_end = 413 - _globals["_EVENTGROUPMARKER_INBOUNDEVENT"]._serialized_start = 415 - _globals["_EVENTGROUPMARKER_INBOUNDEVENT"]._serialized_end = 455 - _globals["_EVENTGROUPMARKER_INBOUNDUPDATE"]._serialized_start = 457 - _globals["_EVENTGROUPMARKER_INBOUNDUPDATE"]._serialized_end = 499 +_sym_db.RegisterMessage(EventGroupMarker) +_sym_db.RegisterMessage(EventGroupMarker.Label) +_sym_db.RegisterMessage(EventGroupMarker.InboundEvent) +_sym_db.RegisterMessage(EventGroupMarker.InboundUpdate) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025EventGroupMarkerProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _EVENTGROUPMARKER._serialized_start = 108 + _EVENTGROUPMARKER._serialized_end = 510 + _EVENTGROUPMARKER_LABEL._serialized_start = 346 + _EVENTGROUPMARKER_LABEL._serialized_end = 413 + _EVENTGROUPMARKER_INBOUNDEVENT._serialized_start = 415 + _EVENTGROUPMARKER_INBOUNDEVENT._serialized_end = 455 + _EVENTGROUPMARKER_INBOUNDUPDATE._serialized_start = 457 + _EVENTGROUPMARKER_INBOUNDUPDATE._serialized_end = 499 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/event_group_marker_pb2.pyi b/temporalio/api/sdk/v1/event_group_marker_pb2.pyi index 1731f5259..63a5f53eb 100644 --- a/temporalio/api/sdk/v1/event_group_marker_pb2.pyi +++ b/temporalio/api/sdk/v1/event_group_marker_pb2.pyi @@ -5,25 +5,22 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class EventGroupMarker(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Label(google.protobuf.message.Message): """A user-defined short-form string value to be used as the group's label.""" @@ -48,7 +45,6 @@ class EventGroupMarker(google.protobuf.message.Message): in a given workflow execution that carry the same label, provided that they have the distinct ID. """ - def __init__( self, *, @@ -56,13 +52,12 @@ class EventGroupMarker(google.protobuf.message.Message): label: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["label", b"label"] + self, field_name: typing_extensions.Literal["label", b"label"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["id", b"id", "label", b"label"] + self, field_name: typing_extensions.Literal["id", b"id", "label", b"label"] ) -> None: ... - @typing.final class InboundEvent(google.protobuf.message.Message): """The event ID of an event in the present workflow that triggered implicit creation of this group Marker. @@ -82,10 +77,12 @@ class EventGroupMarker(google.protobuf.message.Message): inbound_event_id: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["inbound_event_id", b"inbound_event_id"] + self, + field_name: typing_extensions.Literal[ + "inbound_event_id", b"inbound_event_id" + ], ) -> None: ... - @typing.final class InboundUpdate(google.protobuf.message.Message): """The identifier of an inbound Update (request.meta.update_id) whose handler triggered implicit creation of this group Marker. @@ -105,28 +102,31 @@ class EventGroupMarker(google.protobuf.message.Message): inbound_update_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["inbound_update_id", b"inbound_update_id"] + self, + field_name: typing_extensions.Literal[ + "inbound_update_id", b"inbound_update_id" + ], ) -> None: ... LABEL_FIELD_NUMBER: builtins.int INBOUND_EVENT_FIELD_NUMBER: builtins.int INBOUND_UPDATE_FIELD_NUMBER: builtins.int @property - def label(self) -> Global___EventGroupMarker.Label: ... + def label(self) -> global___EventGroupMarker.Label: ... @property - def inbound_event(self) -> Global___EventGroupMarker.InboundEvent: ... + def inbound_event(self) -> global___EventGroupMarker.InboundEvent: ... @property - def inbound_update(self) -> Global___EventGroupMarker.InboundUpdate: ... + def inbound_update(self) -> global___EventGroupMarker.InboundUpdate: ... def __init__( self, *, - label: Global___EventGroupMarker.Label | None = ..., - inbound_event: Global___EventGroupMarker.InboundEvent | None = ..., - inbound_update: Global___EventGroupMarker.InboundUpdate | None = ..., + label: global___EventGroupMarker.Label | None = ..., + inbound_event: global___EventGroupMarker.InboundEvent | None = ..., + inbound_update: global___EventGroupMarker.InboundUpdate | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "inbound_event", b"inbound_event", "inbound_update", @@ -139,7 +139,7 @@ class EventGroupMarker(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "inbound_event", b"inbound_event", "inbound_update", @@ -151,7 +151,9 @@ class EventGroupMarker(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["label", "inbound_event", "inbound_update"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> ( + typing_extensions.Literal["label", "inbound_event", "inbound_update"] | None + ): ... -Global___EventGroupMarker: typing_extensions.TypeAlias = EventGroupMarker +global___EventGroupMarker = EventGroupMarker diff --git a/temporalio/api/sdk/v1/external_storage_pb2.py b/temporalio/api/sdk/v1/external_storage_pb2.py index c64bd0f5e..75676a90a 100644 --- a/temporalio/api/sdk/v1/external_storage_pb2.py +++ b/temporalio/api/sdk/v1/external_storage_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/external_storage.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/sdk/v1/external_storage.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,20 +18,39 @@ b'\n*temporal/api/sdk/v1/external_storage.proto\x12\x13temporal.api.sdk.v1"\xb3\x01\n\x18\x45xternalStorageReference\x12\x13\n\x0b\x64river_name\x18\x01 \x01(\t\x12P\n\nclaim_data\x18\x02 \x03(\x0b\x32<.temporal.api.sdk.v1.ExternalStorageReference.ClaimDataEntry\x1a\x30\n\x0e\x43laimDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x82\x01\n\x16io.temporal.api.sdk.v1B\x14\x45xternalStorageProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.sdk.v1.external_storage_pb2", _globals + +_EXTERNALSTORAGEREFERENCE = DESCRIPTOR.message_types_by_name["ExternalStorageReference"] +_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY = ( + _EXTERNALSTORAGEREFERENCE.nested_types_by_name["ClaimDataEntry"] ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\024ExternalStorageProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._loaded_options = None - _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._serialized_options = b"8\001" - _globals["_EXTERNALSTORAGEREFERENCE"]._serialized_start = 68 - _globals["_EXTERNALSTORAGEREFERENCE"]._serialized_end = 247 - _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._serialized_start = 199 - _globals["_EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY"]._serialized_end = 247 +ExternalStorageReference = _reflection.GeneratedProtocolMessageType( + "ExternalStorageReference", + (_message.Message,), + { + "ClaimDataEntry": _reflection.GeneratedProtocolMessageType( + "ClaimDataEntry", + (_message.Message,), + { + "DESCRIPTOR": _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY, + "__module__": "temporalio.api.sdk.v1.external_storage_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.ExternalStorageReference.ClaimDataEntry) + }, + ), + "DESCRIPTOR": _EXTERNALSTORAGEREFERENCE, + "__module__": "temporalio.api.sdk.v1.external_storage_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.ExternalStorageReference) + }, +) +_sym_db.RegisterMessage(ExternalStorageReference) +_sym_db.RegisterMessage(ExternalStorageReference.ClaimDataEntry) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\024ExternalStorageProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._options = None + _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._serialized_options = b"8\001" + _EXTERNALSTORAGEREFERENCE._serialized_start = 68 + _EXTERNALSTORAGEREFERENCE._serialized_end = 247 + _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._serialized_start = 199 + _EXTERNALSTORAGEREFERENCE_CLAIMDATAENTRY._serialized_end = 247 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/external_storage_pb2.pyi b/temporalio/api/sdk/v1/external_storage_pb2.pyi index 8bc951b24..9a27636a2 100644 --- a/temporalio/api/sdk/v1/external_storage_pb2.pyi +++ b/temporalio/api/sdk/v1/external_storage_pb2.pyi @@ -6,20 +6,18 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ExternalStorageReference(google.protobuf.message.Message): """ExternalStorageReference identifies a payload stored in an external storage system. It is used as a claim-check token, allowing the actual payload data to be retrieved @@ -28,7 +26,6 @@ class ExternalStorageReference(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ClaimDataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -43,7 +40,8 @@ class ExternalStorageReference(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... DRIVER_NAME_FIELD_NUMBER: builtins.int @@ -55,7 +53,6 @@ class ExternalStorageReference(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """Driver-specific key-value pairs that identify and provide access to the stored payload.""" - def __init__( self, *, @@ -64,11 +61,9 @@ class ExternalStorageReference(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "claim_data", b"claim_data", "driver_name", b"driver_name" ], ) -> None: ... -Global___ExternalStorageReference: typing_extensions.TypeAlias = ( - ExternalStorageReference -) +global___ExternalStorageReference = ExternalStorageReference diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py index c2ea5f6e7..0b95e1710 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.py +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/task_complete_metadata.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/sdk/v1/task_complete_metadata.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,16 +18,24 @@ b'\n0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1"x\n\x1dWorkflowTaskCompletedMetadata\x12\x17\n\x0f\x63ore_used_flags\x18\x01 \x03(\r\x12\x17\n\x0flang_used_flags\x18\x02 \x03(\r\x12\x10\n\x08sdk_name\x18\x03 \x01(\t\x12\x13\n\x0bsdk_version\x18\x04 \x01(\tB\x87\x01\n\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.sdk.v1.task_complete_metadata_pb2", _globals + +_WORKFLOWTASKCOMPLETEDMETADATA = DESCRIPTOR.message_types_by_name[ + "WorkflowTaskCompletedMetadata" +] +WorkflowTaskCompletedMetadata = _reflection.GeneratedProtocolMessageType( + "WorkflowTaskCompletedMetadata", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWTASKCOMPLETEDMETADATA, + "__module__": "temporalio.api.sdk.v1.task_complete_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowTaskCompletedMetadata) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _globals["_WORKFLOWTASKCOMPLETEDMETADATA"]._serialized_start = 73 - _globals["_WORKFLOWTASKCOMPLETEDMETADATA"]._serialized_end = 193 +_sym_db.RegisterMessage(WorkflowTaskCompletedMetadata) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\031TaskCompleteMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _WORKFLOWTASKCOMPLETEDMETADATA._serialized_start = 73 + _WORKFLOWTASKCOMPLETEDMETADATA._serialized_end = 193 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi index 5e84c9f23..2491881a3 100644 --- a/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/task_complete_metadata_pb2.pyi @@ -6,20 +6,18 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -27,19 +25,6 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): LANG_USED_FLAGS_FIELD_NUMBER: builtins.int SDK_NAME_FIELD_NUMBER: builtins.int SDK_VERSION_FIELD_NUMBER: builtins.int - sdk_name: builtins.str - """Name of the SDK that processed the task. This is usually something like "temporal-go" and is - usually the same as client-name gRPC header. This should only be set if its value changed - since the last time recorded on the workflow (or be set on the first task). - - (-- api-linter: core::0122::name-suffix=disabled - aip.dev/not-precedent: We're ok with a name suffix here. --) - """ - sdk_version: builtins.str - """Version of the SDK that processed the task. This is usually something like "1.20.0" and is - usually the same as client-version gRPC header. This should only be set if its value changed - since the last time recorded on the workflow (or be set on the first task). - """ @property def core_used_flags( self, @@ -64,7 +49,6 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --) """ - @property def lang_used_flags( self, @@ -76,7 +60,19 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --) """ + sdk_name: builtins.str + """Name of the SDK that processed the task. This is usually something like "temporal-go" and is + usually the same as client-name gRPC header. This should only be set if its value changed + since the last time recorded on the workflow (or be set on the first task). + (-- api-linter: core::0122::name-suffix=disabled + aip.dev/not-precedent: We're ok with a name suffix here. --) + """ + sdk_version: builtins.str + """Version of the SDK that processed the task. This is usually something like "1.20.0" and is + usually the same as client-version gRPC header. This should only be set if its value changed + since the last time recorded on the workflow (or be set on the first task). + """ def __init__( self, *, @@ -87,7 +83,7 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "core_used_flags", b"core_used_flags", "lang_used_flags", @@ -99,6 +95,4 @@ class WorkflowTaskCompletedMetadata(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowTaskCompletedMetadata: typing_extensions.TypeAlias = ( - WorkflowTaskCompletedMetadata -) +global___WorkflowTaskCompletedMetadata = WorkflowTaskCompletedMetadata diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.py b/temporalio/api/sdk/v1/user_metadata_pb2.py index edeb80ce9..4fcbee2bb 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.py +++ b/temporalio/api/sdk/v1/user_metadata_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/user_metadata.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/sdk/v1/user_metadata.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -32,16 +22,22 @@ b"\n'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"r\n\x0cUserMetadata\x12\x30\n\x07summary\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x7f\n\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.sdk.v1.user_metadata_pb2", _globals + +_USERMETADATA = DESCRIPTOR.message_types_by_name["UserMetadata"] +UserMetadata = _reflection.GeneratedProtocolMessageType( + "UserMetadata", + (_message.Message,), + { + "DESCRIPTOR": _USERMETADATA, + "__module__": "temporalio.api.sdk.v1.user_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.UserMetadata) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _globals["_USERMETADATA"]._serialized_start = 102 - _globals["_USERMETADATA"]._serialized_end = 216 +_sym_db.RegisterMessage(UserMetadata) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021UserMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _USERMETADATA._serialized_start = 102 + _USERMETADATA._serialized_end = 216 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/user_metadata_pb2.pyi b/temporalio/api/sdk/v1/user_metadata_pb2.pyi index 5db07e79a..d198be8a8 100644 --- a/temporalio/api/sdk/v1/user_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/user_metadata_pb2.pyi @@ -5,21 +5,19 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message import temporalio.api.common.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class UserMetadata(google.protobuf.message.Message): """Information a user can set, often for use by user interfaces.""" @@ -34,14 +32,12 @@ class UserMetadata(google.protobuf.message.Message): apply to this text when used in "title" situations. The payload data section is limited to 400 bytes by default. """ - @property def details(self) -> temporalio.api.common.v1.message_pb2.Payload: """Long-form text that provides details. This payload should be a "json/plain"-encoded payload that is a single JSON string for use in user interfaces. User interface formatting may apply to this text in common use. The payload data section is limited to 20000 bytes by default. """ - def __init__( self, *, @@ -49,10 +45,16 @@ class UserMetadata(google.protobuf.message.Message): details: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details", "summary", b"summary"] + self, + field_name: typing_extensions.Literal[ + "details", b"details", "summary", b"summary" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["details", b"details", "summary", b"summary"] + self, + field_name: typing_extensions.Literal[ + "details", b"details", "summary", b"summary" + ], ) -> None: ... -Global___UserMetadata: typing_extensions.TypeAlias = UserMetadata +global___UserMetadata = UserMetadata diff --git a/temporalio/api/sdk/v1/worker_config_pb2.py b/temporalio/api/sdk/v1/worker_config_pb2.py index 10946982e..2a1304f6b 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.py +++ b/temporalio/api/sdk/v1/worker_config_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/worker_config.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/sdk/v1/worker_config.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,20 +18,52 @@ b"\n'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x89\x03\n\x0cWorkerConfig\x12\x1b\n\x13workflow_cache_size\x18\x01 \x01(\x05\x12X\n\x16simple_poller_behavior\x18\x02 \x01(\x0b\x32\x36.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00\x12\x62\n\x1b\x61utoscaling_poller_behavior\x18\x03 \x01(\x0b\x32;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00\x1a+\n\x14SimplePollerBehavior\x12\x13\n\x0bmax_pollers\x18\x01 \x01(\x05\x1a^\n\x19\x41utoscalingPollerBehavior\x12\x13\n\x0bmin_pollers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_pollers\x18\x02 \x01(\x05\x12\x17\n\x0finitial_pollers\x18\x03 \x01(\x05\x42\x11\n\x0fpoller_behaviorB\x7f\n\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.sdk.v1.worker_config_pb2", _globals + +_WORKERCONFIG = DESCRIPTOR.message_types_by_name["WorkerConfig"] +_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ + "SimplePollerBehavior" +] +_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR = _WORKERCONFIG.nested_types_by_name[ + "AutoscalingPollerBehavior" +] +WorkerConfig = _reflection.GeneratedProtocolMessageType( + "WorkerConfig", + (_message.Message,), + { + "SimplePollerBehavior": _reflection.GeneratedProtocolMessageType( + "SimplePollerBehavior", + (_message.Message,), + { + "DESCRIPTOR": _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR, + "__module__": "temporalio.api.sdk.v1.worker_config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior) + }, + ), + "AutoscalingPollerBehavior": _reflection.GeneratedProtocolMessageType( + "AutoscalingPollerBehavior", + (_message.Message,), + { + "DESCRIPTOR": _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR, + "__module__": "temporalio.api.sdk.v1.worker_config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior) + }, + ), + "DESCRIPTOR": _WORKERCONFIG, + "__module__": "temporalio.api.sdk.v1.worker_config_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkerConfig) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _globals["_WORKERCONFIG"]._serialized_start = 65 - _globals["_WORKERCONFIG"]._serialized_end = 458 - _globals["_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR"]._serialized_start = 300 - _globals["_WORKERCONFIG_SIMPLEPOLLERBEHAVIOR"]._serialized_end = 343 - _globals["_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR"]._serialized_start = 345 - _globals["_WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR"]._serialized_end = 439 +_sym_db.RegisterMessage(WorkerConfig) +_sym_db.RegisterMessage(WorkerConfig.SimplePollerBehavior) +_sym_db.RegisterMessage(WorkerConfig.AutoscalingPollerBehavior) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\021WorkerConfigProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _WORKERCONFIG._serialized_start = 65 + _WORKERCONFIG._serialized_end = 458 + _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_start = 300 + _WORKERCONFIG_SIMPLEPOLLERBEHAVIOR._serialized_end = 343 + _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_start = 345 + _WORKERCONFIG_AUTOSCALINGPOLLERBEHAVIOR._serialized_end = 439 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/worker_config_pb2.pyi b/temporalio/api/sdk/v1/worker_config_pb2.pyi index aed73f2b4..cc0906d24 100644 --- a/temporalio/api/sdk/v1/worker_config_pb2.pyi +++ b/temporalio/api/sdk/v1/worker_config_pb2.pyi @@ -5,23 +5,20 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkerConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class SimplePollerBehavior(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -33,10 +30,9 @@ class WorkerConfig(google.protobuf.message.Message): max_pollers: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["max_pollers", b"max_pollers"] + self, field_name: typing_extensions.Literal["max_pollers", b"max_pollers"] ) -> None: ... - @typing.final class AutoscalingPollerBehavior(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -62,7 +58,7 @@ class WorkerConfig(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initial_pollers", b"initial_pollers", "max_pollers", @@ -77,22 +73,22 @@ class WorkerConfig(google.protobuf.message.Message): AUTOSCALING_POLLER_BEHAVIOR_FIELD_NUMBER: builtins.int workflow_cache_size: builtins.int @property - def simple_poller_behavior(self) -> Global___WorkerConfig.SimplePollerBehavior: ... + def simple_poller_behavior(self) -> global___WorkerConfig.SimplePollerBehavior: ... @property def autoscaling_poller_behavior( self, - ) -> Global___WorkerConfig.AutoscalingPollerBehavior: ... + ) -> global___WorkerConfig.AutoscalingPollerBehavior: ... def __init__( self, *, workflow_cache_size: builtins.int = ..., - simple_poller_behavior: Global___WorkerConfig.SimplePollerBehavior | None = ..., - autoscaling_poller_behavior: Global___WorkerConfig.AutoscalingPollerBehavior + simple_poller_behavior: global___WorkerConfig.SimplePollerBehavior | None = ..., + autoscaling_poller_behavior: global___WorkerConfig.AutoscalingPollerBehavior | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", @@ -103,7 +99,7 @@ class WorkerConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "autoscaling_poller_behavior", b"autoscaling_poller_behavior", "poller_behavior", @@ -115,9 +111,13 @@ class WorkerConfig(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["poller_behavior", b"poller_behavior"] + self, + oneof_group: typing_extensions.Literal["poller_behavior", b"poller_behavior"], ) -> ( - typing.Literal["simple_poller_behavior", "autoscaling_poller_behavior"] | None + typing_extensions.Literal[ + "simple_poller_behavior", "autoscaling_poller_behavior" + ] + | None ): ... -Global___WorkerConfig: typing_extensions.TypeAlias = WorkerConfig +global___WorkerConfig = WorkerConfig diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.py b/temporalio/api/sdk/v1/workflow_metadata_pb2.py index 3d3ea28ff..c872c59f2 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.py +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/sdk/v1/workflow_metadata.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/sdk/v1/workflow_metadata.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -28,20 +18,52 @@ b'\n+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1"h\n\x10WorkflowMetadata\x12;\n\ndefinition\x18\x01 \x01(\x0b\x32\'.temporal.api.sdk.v1.WorkflowDefinition\x12\x17\n\x0f\x63urrent_details\x18\x02 \x01(\t"\x91\x02\n\x12WorkflowDefinition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x11query_definitions\x18\x02 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12signal_definitions\x18\x03 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12update_definitions\x18\x04 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition"B\n\x1dWorkflowInteractionDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.sdk.v1.workflow_metadata_pb2", _globals + +_WORKFLOWMETADATA = DESCRIPTOR.message_types_by_name["WorkflowMetadata"] +_WORKFLOWDEFINITION = DESCRIPTOR.message_types_by_name["WorkflowDefinition"] +_WORKFLOWINTERACTIONDEFINITION = DESCRIPTOR.message_types_by_name[ + "WorkflowInteractionDefinition" +] +WorkflowMetadata = _reflection.GeneratedProtocolMessageType( + "WorkflowMetadata", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWMETADATA, + "__module__": "temporalio.api.sdk.v1.workflow_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowMetadata) + }, +) +_sym_db.RegisterMessage(WorkflowMetadata) + +WorkflowDefinition = _reflection.GeneratedProtocolMessageType( + "WorkflowDefinition", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWDEFINITION, + "__module__": "temporalio.api.sdk.v1.workflow_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowDefinition) + }, +) +_sym_db.RegisterMessage(WorkflowDefinition) + +WorkflowInteractionDefinition = _reflection.GeneratedProtocolMessageType( + "WorkflowInteractionDefinition", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWINTERACTIONDEFINITION, + "__module__": "temporalio.api.sdk.v1.workflow_metadata_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.WorkflowInteractionDefinition) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" - _globals["_WORKFLOWMETADATA"]._serialized_start = 68 - _globals["_WORKFLOWMETADATA"]._serialized_end = 172 - _globals["_WORKFLOWDEFINITION"]._serialized_start = 175 - _globals["_WORKFLOWDEFINITION"]._serialized_end = 448 - _globals["_WORKFLOWINTERACTIONDEFINITION"]._serialized_start = 450 - _globals["_WORKFLOWINTERACTIONDEFINITION"]._serialized_end = 516 +_sym_db.RegisterMessage(WorkflowInteractionDefinition) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\026io.temporal.api.sdk.v1B\025WorkflowMetadataProtoP\001Z\035go.temporal.io/api/sdk/v1;sdk\252\002\025Temporalio.Api.Sdk.V1\352\002\030Temporalio::Api::Sdk::V1" + _WORKFLOWMETADATA._serialized_start = 68 + _WORKFLOWMETADATA._serialized_end = 172 + _WORKFLOWDEFINITION._serialized_start = 175 + _WORKFLOWDEFINITION._serialized_end = 448 + _WORKFLOWINTERACTIONDEFINITION._serialized_start = 450 + _WORKFLOWINTERACTIONDEFINITION._serialized_end = 516 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi index c1b1f0089..ded58390b 100644 --- a/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi +++ b/temporalio/api/sdk/v1/workflow_metadata_pb2.pyi @@ -6,20 +6,18 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers import google.protobuf.message -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowMetadata(google.protobuf.message.Message): """The name of the query to retrieve this information is `__temporal_workflow_metadata`.""" @@ -27,33 +25,31 @@ class WorkflowMetadata(google.protobuf.message.Message): DEFINITION_FIELD_NUMBER: builtins.int CURRENT_DETAILS_FIELD_NUMBER: builtins.int + @property + def definition(self) -> global___WorkflowDefinition: + """Metadata provided at declaration or creation time.""" current_details: builtins.str """Current long-form details of the workflow's state. This is used by user interfaces to show long-form text. This text may be formatted by the user interface. """ - @property - def definition(self) -> Global___WorkflowDefinition: - """Metadata provided at declaration or creation time.""" - def __init__( self, *, - definition: Global___WorkflowDefinition | None = ..., + definition: global___WorkflowDefinition | None = ..., current_details: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["definition", b"definition"] + self, field_name: typing_extensions.Literal["definition", b"definition"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_details", b"current_details", "definition", b"definition" ], ) -> None: ... -Global___WorkflowMetadata: typing_extensions.TypeAlias = WorkflowMetadata +global___WorkflowMetadata = WorkflowMetadata -@typing.final class WorkflowDefinition(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled --)""" @@ -71,46 +67,43 @@ class WorkflowDefinition(google.protobuf.message.Message): def query_definitions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkflowInteractionDefinition + global___WorkflowInteractionDefinition ]: """Query definitions, sorted by name.""" - @property def signal_definitions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkflowInteractionDefinition + global___WorkflowInteractionDefinition ]: """Signal definitions, sorted by name.""" - @property def update_definitions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkflowInteractionDefinition + global___WorkflowInteractionDefinition ]: """Update definitions, sorted by name.""" - def __init__( self, *, type: builtins.str = ..., query_definitions: collections.abc.Iterable[ - Global___WorkflowInteractionDefinition + global___WorkflowInteractionDefinition ] | None = ..., signal_definitions: collections.abc.Iterable[ - Global___WorkflowInteractionDefinition + global___WorkflowInteractionDefinition ] | None = ..., update_definitions: collections.abc.Iterable[ - Global___WorkflowInteractionDefinition + global___WorkflowInteractionDefinition ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "query_definitions", b"query_definitions", "signal_definitions", @@ -122,9 +115,8 @@ class WorkflowDefinition(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowDefinition: typing_extensions.TypeAlias = WorkflowDefinition +global___WorkflowDefinition = WorkflowDefinition -@typing.final class WorkflowInteractionDefinition(google.protobuf.message.Message): """(-- api-linter: core::0123::resource-annotation=disabled aip.dev/not-precedent: The `name` field is optional. --) @@ -152,9 +144,10 @@ class WorkflowInteractionDefinition(google.protobuf.message.Message): description: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["description", b"description", "name", b"name"] + self, + field_name: typing_extensions.Literal[ + "description", b"description", "name", b"name" + ], ) -> None: ... -Global___WorkflowInteractionDefinition: typing_extensions.TypeAlias = ( - WorkflowInteractionDefinition -) +global___WorkflowInteractionDefinition = WorkflowInteractionDefinition diff --git a/temporalio/api/taskqueue/v1/message_pb2.py b/temporalio/api/taskqueue/v1/message_pb2.py index c46b8676d..bf0eab1d0 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.py +++ b/temporalio/api/taskqueue/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/taskqueue/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/taskqueue/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -42,94 +32,430 @@ b'\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"-\n\x0fPollerGroupInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06weight\x18\x02 \x01(\x02">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata"\xd9\x02\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12j\n\x19\x66\x61irness_weight_overrides\x18\x03 \x03(\x0b\x32G.temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry\x1a>\n\x1c\x46\x61irnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x42\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.taskqueue.v1.message_pb2", _globals + +_TASKQUEUE = DESCRIPTOR.message_types_by_name["TaskQueue"] +_TASKQUEUEMETADATA = DESCRIPTOR.message_types_by_name["TaskQueueMetadata"] +_TASKQUEUEVERSIONINGINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersioningInfo"] +_TASKQUEUEVERSIONSELECTION = DESCRIPTOR.message_types_by_name[ + "TaskQueueVersionSelection" +] +_TASKQUEUEVERSIONINFO = DESCRIPTOR.message_types_by_name["TaskQueueVersionInfo"] +_TASKQUEUEVERSIONINFO_TYPESINFOENTRY = _TASKQUEUEVERSIONINFO.nested_types_by_name[ + "TypesInfoEntry" +] +_TASKQUEUETYPEINFO = DESCRIPTOR.message_types_by_name["TaskQueueTypeInfo"] +_TASKQUEUESTATS = DESCRIPTOR.message_types_by_name["TaskQueueStats"] +_TASKQUEUESTATUS = DESCRIPTOR.message_types_by_name["TaskQueueStatus"] +_TASKIDBLOCK = DESCRIPTOR.message_types_by_name["TaskIdBlock"] +_TASKQUEUEPARTITIONMETADATA = DESCRIPTOR.message_types_by_name[ + "TaskQueuePartitionMetadata" +] +_POLLERINFO = DESCRIPTOR.message_types_by_name["PollerInfo"] +_STICKYEXECUTIONATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "StickyExecutionAttributes" +] +_COMPATIBLEVERSIONSET = DESCRIPTOR.message_types_by_name["CompatibleVersionSet"] +_TASKQUEUEREACHABILITY = DESCRIPTOR.message_types_by_name["TaskQueueReachability"] +_BUILDIDREACHABILITY = DESCRIPTOR.message_types_by_name["BuildIdReachability"] +_RAMPBYPERCENTAGE = DESCRIPTOR.message_types_by_name["RampByPercentage"] +_BUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name["BuildIdAssignmentRule"] +_COMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ + "CompatibleBuildIdRedirectRule" +] +_TIMESTAMPEDBUILDIDASSIGNMENTRULE = DESCRIPTOR.message_types_by_name[ + "TimestampedBuildIdAssignmentRule" +] +_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE = DESCRIPTOR.message_types_by_name[ + "TimestampedCompatibleBuildIdRedirectRule" +] +_POLLERGROUPINFO = DESCRIPTOR.message_types_by_name["PollerGroupInfo"] +_POLLERSCALINGDECISION = DESCRIPTOR.message_types_by_name["PollerScalingDecision"] +_RATELIMIT = DESCRIPTOR.message_types_by_name["RateLimit"] +_CONFIGMETADATA = DESCRIPTOR.message_types_by_name["ConfigMetadata"] +_RATELIMITCONFIG = DESCRIPTOR.message_types_by_name["RateLimitConfig"] +_TASKQUEUECONFIG = DESCRIPTOR.message_types_by_name["TaskQueueConfig"] +_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY = _TASKQUEUECONFIG.nested_types_by_name[ + "FairnessWeightOverridesEntry" +] +TaskQueue = _reflection.GeneratedProtocolMessageType( + "TaskQueue", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUE, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueue) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1" - _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ - "current_version" - ]._loaded_options = None - _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ +_sym_db.RegisterMessage(TaskQueue) + +TaskQueueMetadata = _reflection.GeneratedProtocolMessageType( + "TaskQueueMetadata", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEMETADATA, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueMetadata) + }, +) +_sym_db.RegisterMessage(TaskQueueMetadata) + +TaskQueueVersioningInfo = _reflection.GeneratedProtocolMessageType( + "TaskQueueVersioningInfo", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEVERSIONINGINFO, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersioningInfo) + }, +) +_sym_db.RegisterMessage(TaskQueueVersioningInfo) + +TaskQueueVersionSelection = _reflection.GeneratedProtocolMessageType( + "TaskQueueVersionSelection", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEVERSIONSELECTION, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionSelection) + }, +) +_sym_db.RegisterMessage(TaskQueueVersionSelection) + +TaskQueueVersionInfo = _reflection.GeneratedProtocolMessageType( + "TaskQueueVersionInfo", + (_message.Message,), + { + "TypesInfoEntry": _reflection.GeneratedProtocolMessageType( + "TypesInfoEntry", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEVERSIONINFO_TYPESINFOENTRY, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry) + }, + ), + "DESCRIPTOR": _TASKQUEUEVERSIONINFO, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueVersionInfo) + }, +) +_sym_db.RegisterMessage(TaskQueueVersionInfo) +_sym_db.RegisterMessage(TaskQueueVersionInfo.TypesInfoEntry) + +TaskQueueTypeInfo = _reflection.GeneratedProtocolMessageType( + "TaskQueueTypeInfo", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUETYPEINFO, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueTypeInfo) + }, +) +_sym_db.RegisterMessage(TaskQueueTypeInfo) + +TaskQueueStats = _reflection.GeneratedProtocolMessageType( + "TaskQueueStats", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUESTATS, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStats) + }, +) +_sym_db.RegisterMessage(TaskQueueStats) + +TaskQueueStatus = _reflection.GeneratedProtocolMessageType( + "TaskQueueStatus", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUESTATUS, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueStatus) + }, +) +_sym_db.RegisterMessage(TaskQueueStatus) + +TaskIdBlock = _reflection.GeneratedProtocolMessageType( + "TaskIdBlock", + (_message.Message,), + { + "DESCRIPTOR": _TASKIDBLOCK, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskIdBlock) + }, +) +_sym_db.RegisterMessage(TaskIdBlock) + +TaskQueuePartitionMetadata = _reflection.GeneratedProtocolMessageType( + "TaskQueuePartitionMetadata", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEPARTITIONMETADATA, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueuePartitionMetadata) + }, +) +_sym_db.RegisterMessage(TaskQueuePartitionMetadata) + +PollerInfo = _reflection.GeneratedProtocolMessageType( + "PollerInfo", + (_message.Message,), + { + "DESCRIPTOR": _POLLERINFO, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerInfo) + }, +) +_sym_db.RegisterMessage(PollerInfo) + +StickyExecutionAttributes = _reflection.GeneratedProtocolMessageType( + "StickyExecutionAttributes", + (_message.Message,), + { + "DESCRIPTOR": _STICKYEXECUTIONATTRIBUTES, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.StickyExecutionAttributes) + }, +) +_sym_db.RegisterMessage(StickyExecutionAttributes) + +CompatibleVersionSet = _reflection.GeneratedProtocolMessageType( + "CompatibleVersionSet", + (_message.Message,), + { + "DESCRIPTOR": _COMPATIBLEVERSIONSET, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleVersionSet) + }, +) +_sym_db.RegisterMessage(CompatibleVersionSet) + +TaskQueueReachability = _reflection.GeneratedProtocolMessageType( + "TaskQueueReachability", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUEREACHABILITY, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueReachability) + }, +) +_sym_db.RegisterMessage(TaskQueueReachability) + +BuildIdReachability = _reflection.GeneratedProtocolMessageType( + "BuildIdReachability", + (_message.Message,), + { + "DESCRIPTOR": _BUILDIDREACHABILITY, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdReachability) + }, +) +_sym_db.RegisterMessage(BuildIdReachability) + +RampByPercentage = _reflection.GeneratedProtocolMessageType( + "RampByPercentage", + (_message.Message,), + { + "DESCRIPTOR": _RAMPBYPERCENTAGE, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RampByPercentage) + }, +) +_sym_db.RegisterMessage(RampByPercentage) + +BuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( + "BuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _BUILDIDASSIGNMENTRULE, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.BuildIdAssignmentRule) + }, +) +_sym_db.RegisterMessage(BuildIdAssignmentRule) + +CompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( + "CompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _COMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule) + }, +) +_sym_db.RegisterMessage(CompatibleBuildIdRedirectRule) + +TimestampedBuildIdAssignmentRule = _reflection.GeneratedProtocolMessageType( + "TimestampedBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _TIMESTAMPEDBUILDIDASSIGNMENTRULE, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule) + }, +) +_sym_db.RegisterMessage(TimestampedBuildIdAssignmentRule) + +TimestampedCompatibleBuildIdRedirectRule = _reflection.GeneratedProtocolMessageType( + "TimestampedCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule) + }, +) +_sym_db.RegisterMessage(TimestampedCompatibleBuildIdRedirectRule) + +PollerGroupInfo = _reflection.GeneratedProtocolMessageType( + "PollerGroupInfo", + (_message.Message,), + { + "DESCRIPTOR": _POLLERGROUPINFO, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerGroupInfo) + }, +) +_sym_db.RegisterMessage(PollerGroupInfo) + +PollerScalingDecision = _reflection.GeneratedProtocolMessageType( + "PollerScalingDecision", + (_message.Message,), + { + "DESCRIPTOR": _POLLERSCALINGDECISION, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.PollerScalingDecision) + }, +) +_sym_db.RegisterMessage(PollerScalingDecision) + +RateLimit = _reflection.GeneratedProtocolMessageType( + "RateLimit", + (_message.Message,), + { + "DESCRIPTOR": _RATELIMIT, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimit) + }, +) +_sym_db.RegisterMessage(RateLimit) + +ConfigMetadata = _reflection.GeneratedProtocolMessageType( + "ConfigMetadata", + (_message.Message,), + { + "DESCRIPTOR": _CONFIGMETADATA, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.ConfigMetadata) + }, +) +_sym_db.RegisterMessage(ConfigMetadata) + +RateLimitConfig = _reflection.GeneratedProtocolMessageType( + "RateLimitConfig", + (_message.Message,), + { + "DESCRIPTOR": _RATELIMITCONFIG, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.RateLimitConfig) + }, +) +_sym_db.RegisterMessage(RateLimitConfig) + +TaskQueueConfig = _reflection.GeneratedProtocolMessageType( + "TaskQueueConfig", + (_message.Message,), + { + "FairnessWeightOverridesEntry": _reflection.GeneratedProtocolMessageType( + "FairnessWeightOverridesEntry", + (_message.Message,), + { + "DESCRIPTOR": _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry) + }, + ), + "DESCRIPTOR": _TASKQUEUECONFIG, + "__module__": "temporalio.api.taskqueue.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.taskqueue.v1.TaskQueueConfig) + }, +) +_sym_db.RegisterMessage(TaskQueueConfig) +_sym_db.RegisterMessage(TaskQueueConfig.FairnessWeightOverridesEntry) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\034io.temporal.api.taskqueue.v1B\014MessageProtoP\001Z)go.temporal.io/api/taskqueue/v1;taskqueue\252\002\033Temporalio.Api.TaskQueue.V1\352\002\036Temporalio::Api::TaskQueue::V1" + _TASKQUEUEVERSIONINGINFO.fields_by_name["current_version"]._options = None + _TASKQUEUEVERSIONINGINFO.fields_by_name[ "current_version" ]._serialized_options = b"\030\001" - _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ - "ramping_version" - ]._loaded_options = None - _globals["_TASKQUEUEVERSIONINGINFO"].fields_by_name[ + _TASKQUEUEVERSIONINGINFO.fields_by_name["ramping_version"]._options = None + _TASKQUEUEVERSIONINGINFO.fields_by_name[ "ramping_version" ]._serialized_options = b"\030\001" - _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._loaded_options = None - _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._serialized_options = b"8\001" - _globals["_POLLERINFO"].fields_by_name[ - "worker_version_capabilities" - ]._loaded_options = None - _globals["_POLLERINFO"].fields_by_name[ + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._options = None + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_options = b"8\001" + _POLLERINFO.fields_by_name["worker_version_capabilities"]._options = None + _POLLERINFO.fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _globals["_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY"]._loaded_options = None - _globals[ - "_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY" - ]._serialized_options = b"8\001" - _globals["_TASKQUEUE"]._serialized_start = 287 - _globals["_TASKQUEUE"]._serialized_end = 385 - _globals["_TASKQUEUEMETADATA"]._serialized_start = 387 - _globals["_TASKQUEUEMETADATA"]._serialized_end = 466 - _globals["_TASKQUEUEVERSIONINGINFO"]._serialized_start = 469 - _globals["_TASKQUEUEVERSIONINGINFO"]._serialized_end = 815 - _globals["_TASKQUEUEVERSIONSELECTION"]._serialized_start = 817 - _globals["_TASKQUEUEVERSIONSELECTION"]._serialized_end = 904 - _globals["_TASKQUEUEVERSIONINFO"]._serialized_start = 907 - _globals["_TASKQUEUEVERSIONINFO"]._serialized_end = 1184 - _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._serialized_start = 1090 - _globals["_TASKQUEUEVERSIONINFO_TYPESINFOENTRY"]._serialized_end = 1184 - _globals["_TASKQUEUETYPEINFO"]._serialized_start = 1187 - _globals["_TASKQUEUETYPEINFO"]._serialized_end = 1320 - _globals["_TASKQUEUESTATS"]._serialized_start = 1323 - _globals["_TASKQUEUESTATS"]._serialized_end = 1487 - _globals["_TASKQUEUESTATUS"]._serialized_start = 1490 - _globals["_TASKQUEUESTATUS"]._serialized_end = 1662 - _globals["_TASKIDBLOCK"]._serialized_start = 1664 - _globals["_TASKIDBLOCK"]._serialized_end = 1711 - _globals["_TASKQUEUEPARTITIONMETADATA"]._serialized_start = 1713 - _globals["_TASKQUEUEPARTITIONMETADATA"]._serialized_end = 1779 - _globals["_POLLERINFO"]._serialized_start = 1782 - _globals["_POLLERINFO"]._serialized_end = 2064 - _globals["_STICKYEXECUTIONATTRIBUTES"]._serialized_start = 2067 - _globals["_STICKYEXECUTIONATTRIBUTES"]._serialized_end = 2221 - _globals["_COMPATIBLEVERSIONSET"]._serialized_start = 2223 - _globals["_COMPATIBLEVERSIONSET"]._serialized_end = 2264 - _globals["_TASKQUEUEREACHABILITY"]._serialized_start = 2266 - _globals["_TASKQUEUEREACHABILITY"]._serialized_end = 2372 - _globals["_BUILDIDREACHABILITY"]._serialized_start = 2374 - _globals["_BUILDIDREACHABILITY"]._serialized_end = 2496 - _globals["_RAMPBYPERCENTAGE"]._serialized_start = 2498 - _globals["_RAMPBYPERCENTAGE"]._serialized_end = 2541 - _globals["_BUILDIDASSIGNMENTRULE"]._serialized_start = 2544 - _globals["_BUILDIDASSIGNMENTRULE"]._serialized_end = 2672 - _globals["_COMPATIBLEBUILDIDREDIRECTRULE"]._serialized_start = 2674 - _globals["_COMPATIBLEBUILDIDREDIRECTRULE"]._serialized_end = 2755 - _globals["_TIMESTAMPEDBUILDIDASSIGNMENTRULE"]._serialized_start = 2758 - _globals["_TIMESTAMPEDBUILDIDASSIGNMENTRULE"]._serialized_end = 2905 - _globals["_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE"]._serialized_start = 2908 - _globals["_TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE"]._serialized_end = 3071 - _globals["_POLLERGROUPINFO"]._serialized_start = 3073 - _globals["_POLLERGROUPINFO"]._serialized_end = 3118 - _globals["_POLLERSCALINGDECISION"]._serialized_start = 3120 - _globals["_POLLERSCALINGDECISION"]._serialized_end = 3182 - _globals["_RATELIMIT"]._serialized_start = 3184 - _globals["_RATELIMIT"]._serialized_end = 3224 - _globals["_CONFIGMETADATA"]._serialized_start = 3226 - _globals["_CONFIGMETADATA"]._serialized_end = 3332 - _globals["_RATELIMITCONFIG"]._serialized_start = 3335 - _globals["_RATELIMITCONFIG"]._serialized_end = 3471 - _globals["_TASKQUEUECONFIG"]._serialized_start = 3474 - _globals["_TASKQUEUECONFIG"]._serialized_end = 3819 - _globals["_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY"]._serialized_start = 3757 - _globals["_TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY"]._serialized_end = 3819 + _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._options = None + _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._serialized_options = b"8\001" + _TASKQUEUE._serialized_start = 287 + _TASKQUEUE._serialized_end = 385 + _TASKQUEUEMETADATA._serialized_start = 387 + _TASKQUEUEMETADATA._serialized_end = 466 + _TASKQUEUEVERSIONINGINFO._serialized_start = 469 + _TASKQUEUEVERSIONINGINFO._serialized_end = 815 + _TASKQUEUEVERSIONSELECTION._serialized_start = 817 + _TASKQUEUEVERSIONSELECTION._serialized_end = 904 + _TASKQUEUEVERSIONINFO._serialized_start = 907 + _TASKQUEUEVERSIONINFO._serialized_end = 1184 + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_start = 1090 + _TASKQUEUEVERSIONINFO_TYPESINFOENTRY._serialized_end = 1184 + _TASKQUEUETYPEINFO._serialized_start = 1187 + _TASKQUEUETYPEINFO._serialized_end = 1320 + _TASKQUEUESTATS._serialized_start = 1323 + _TASKQUEUESTATS._serialized_end = 1487 + _TASKQUEUESTATUS._serialized_start = 1490 + _TASKQUEUESTATUS._serialized_end = 1662 + _TASKIDBLOCK._serialized_start = 1664 + _TASKIDBLOCK._serialized_end = 1711 + _TASKQUEUEPARTITIONMETADATA._serialized_start = 1713 + _TASKQUEUEPARTITIONMETADATA._serialized_end = 1779 + _POLLERINFO._serialized_start = 1782 + _POLLERINFO._serialized_end = 2064 + _STICKYEXECUTIONATTRIBUTES._serialized_start = 2067 + _STICKYEXECUTIONATTRIBUTES._serialized_end = 2221 + _COMPATIBLEVERSIONSET._serialized_start = 2223 + _COMPATIBLEVERSIONSET._serialized_end = 2264 + _TASKQUEUEREACHABILITY._serialized_start = 2266 + _TASKQUEUEREACHABILITY._serialized_end = 2372 + _BUILDIDREACHABILITY._serialized_start = 2374 + _BUILDIDREACHABILITY._serialized_end = 2496 + _RAMPBYPERCENTAGE._serialized_start = 2498 + _RAMPBYPERCENTAGE._serialized_end = 2541 + _BUILDIDASSIGNMENTRULE._serialized_start = 2544 + _BUILDIDASSIGNMENTRULE._serialized_end = 2672 + _COMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2674 + _COMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 2755 + _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_start = 2758 + _TIMESTAMPEDBUILDIDASSIGNMENTRULE._serialized_end = 2905 + _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 2908 + _TIMESTAMPEDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 3071 + _POLLERGROUPINFO._serialized_start = 3073 + _POLLERGROUPINFO._serialized_end = 3118 + _POLLERSCALINGDECISION._serialized_start = 3120 + _POLLERSCALINGDECISION._serialized_end = 3182 + _RATELIMIT._serialized_start = 3184 + _RATELIMIT._serialized_end = 3224 + _CONFIGMETADATA._serialized_start = 3226 + _CONFIGMETADATA._serialized_end = 3332 + _RATELIMITCONFIG._serialized_start = 3335 + _RATELIMITCONFIG._serialized_end = 3471 + _TASKQUEUECONFIG._serialized_start = 3474 + _TASKQUEUECONFIG._serialized_end = 3819 + _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._serialized_start = 3757 + _TASKQUEUECONFIG_FAIRNESSWEIGHTOVERRIDESENTRY._serialized_end = 3819 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/taskqueue/v1/message_pb2.pyi b/temporalio/api/taskqueue/v1/message_pb2.pyi index 7e0d840a9..e614430d6 100644 --- a/temporalio/api/taskqueue/v1/message_pb2.pyi +++ b/temporalio/api/taskqueue/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -19,14 +18,13 @@ import temporalio.api.common.v1.message_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.task_queue_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class TaskQueue(google.protobuf.message.Message): """See https://docs.temporal.io/docs/concepts/task-queues/""" @@ -51,14 +49,13 @@ class TaskQueue(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "kind", b"kind", "name", b"name", "normal_name", b"normal_name" ], ) -> None: ... -Global___TaskQueue: typing_extensions.TypeAlias = TaskQueue +global___TaskQueue = TaskQueue -@typing.final class TaskQueueMetadata(google.protobuf.message.Message): """Only applies to activity task queues""" @@ -68,7 +65,6 @@ class TaskQueueMetadata(google.protobuf.message.Message): @property def max_tasks_per_second(self) -> google.protobuf.wrappers_pb2.DoubleValue: """Allows throttling dispatch of tasks from this queue""" - def __init__( self, *, @@ -76,16 +72,19 @@ class TaskQueueMetadata(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["max_tasks_per_second", b"max_tasks_per_second"], + field_name: typing_extensions.Literal[ + "max_tasks_per_second", b"max_tasks_per_second" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal["max_tasks_per_second", b"max_tasks_per_second"], + field_name: typing_extensions.Literal[ + "max_tasks_per_second", b"max_tasks_per_second" + ], ) -> None: ... -Global___TaskQueueMetadata: typing_extensions.TypeAlias = TaskQueueMetadata +global___TaskQueueMetadata = TaskQueueMetadata -@typing.final class TaskQueueVersioningInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -95,16 +94,6 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): RAMPING_VERSION_FIELD_NUMBER: builtins.int RAMPING_VERSION_PERCENTAGE_FIELD_NUMBER: builtins.int UPDATE_TIME_FIELD_NUMBER: builtins.int - current_version: builtins.str - """Deprecated. Use `current_deployment_version`.""" - ramping_version: builtins.str - """Deprecated. Use `ramping_deployment_version`.""" - ramping_version_percentage: builtins.float - """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. - Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but - not yet "promoted" to be the Current Version, likely due to pending validations. - A 0% value means the Ramping Version is receiving no traffic. - """ @property def current_deployment_version( self, @@ -115,7 +104,8 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`). """ - + current_version: builtins.str + """Deprecated. Use `current_deployment_version`.""" @property def ramping_deployment_version( self, @@ -126,11 +116,17 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): Note that it is possible to ramp from one Version to another Version, or from unversioned workers to a particular Version, or from a particular Version to unversioned workers. """ - + ramping_version: builtins.str + """Deprecated. Use `ramping_deployment_version`.""" + ramping_version_percentage: builtins.float + """Percentage of tasks that are routed to the Ramping Version instead of the Current Version. + Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but + not yet "promoted" to be the Current Version, likely due to pending validations. + A 0% value means the Ramping Version is receiving no traffic. + """ @property def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last time versioning information of this Task Queue changed.""" - def __init__( self, *, @@ -145,7 +141,7 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_version", b"current_deployment_version", "ramping_deployment_version", @@ -156,7 +152,7 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_version", b"current_deployment_version", "current_version", @@ -172,9 +168,8 @@ class TaskQueueVersioningInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___TaskQueueVersioningInfo: typing_extensions.TypeAlias = TaskQueueVersioningInfo +global___TaskQueueVersioningInfo = TaskQueueVersioningInfo -@typing.final class TaskQueueVersionSelection(google.protobuf.message.Message): """Used for specifying versions the caller is interested in.""" @@ -183,18 +178,17 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): BUILD_IDS_FIELD_NUMBER: builtins.int UNVERSIONED_FIELD_NUMBER: builtins.int ALL_ACTIVE_FIELD_NUMBER: builtins.int + @property + def build_ids( + self, + ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """Include specific Build IDs.""" unversioned: builtins.bool """Include the unversioned queue.""" all_active: builtins.bool """Include all active versions. A version is considered active if, in the last few minutes, it has had new tasks or polls, or it has been the subject of certain task queue API calls. """ - @property - def build_ids( - self, - ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: - """Include specific Build IDs.""" - def __init__( self, *, @@ -204,7 +198,7 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "all_active", b"all_active", "build_ids", @@ -214,15 +208,11 @@ class TaskQueueVersionSelection(google.protobuf.message.Message): ], ) -> None: ... -Global___TaskQueueVersionSelection: typing_extensions.TypeAlias = ( - TaskQueueVersionSelection -) +global___TaskQueueVersionSelection = TaskQueueVersionSelection -@typing.final class TaskQueueVersionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class TypesInfoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -230,22 +220,30 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.int @property - def value(self) -> Global___TaskQueueTypeInfo: ... + def value(self) -> global___TaskQueueTypeInfo: ... def __init__( self, *, key: builtins.int = ..., - value: Global___TaskQueueTypeInfo | None = ..., + value: global___TaskQueueTypeInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... TYPES_INFO_FIELD_NUMBER: builtins.int TASK_REACHABILITY_FIELD_NUMBER: builtins.int + @property + def types_info( + self, + ) -> google.protobuf.internal.containers.MessageMap[ + builtins.int, global___TaskQueueTypeInfo + ]: + """Task Queue info per Task Type. Key is the numerical value of the temporalio.api.enums.v1.TaskQueueType enum.""" task_reachability: ( temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType ) @@ -259,31 +257,22 @@ class TaskQueueVersionInfo(google.protobuf.message.Message): who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well. """ - @property - def types_info( - self, - ) -> google.protobuf.internal.containers.MessageMap[ - builtins.int, Global___TaskQueueTypeInfo - ]: - """Task Queue info per Task Type. Key is the numerical value of the temporalio.api.enums.v1.TaskQueueType enum.""" - def __init__( self, *, - types_info: collections.abc.Mapping[builtins.int, Global___TaskQueueTypeInfo] + types_info: collections.abc.Mapping[builtins.int, global___TaskQueueTypeInfo] | None = ..., task_reachability: temporalio.api.enums.v1.task_queue_pb2.BuildIdTaskReachability.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "task_reachability", b"task_reachability", "types_info", b"types_info" ], ) -> None: ... -Global___TaskQueueVersionInfo: typing_extensions.TypeAlias = TaskQueueVersionInfo +global___TaskQueueVersionInfo = TaskQueueVersionInfo -@typing.final class TaskQueueTypeInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -293,28 +282,27 @@ class TaskQueueTypeInfo(google.protobuf.message.Message): def pollers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___PollerInfo + global___PollerInfo ]: """Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID.""" - @property - def stats(self) -> Global___TaskQueueStats: ... + def stats(self) -> global___TaskQueueStats: ... def __init__( self, *, - pollers: collections.abc.Iterable[Global___PollerInfo] | None = ..., - stats: Global___TaskQueueStats | None = ..., + pollers: collections.abc.Iterable[global___PollerInfo] | None = ..., + stats: global___TaskQueueStats | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["stats", b"stats"] + self, field_name: typing_extensions.Literal["stats", b"stats"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["pollers", b"pollers", "stats", b"stats"] + self, + field_name: typing_extensions.Literal["pollers", b"pollers", "stats", b"stats"], ) -> None: ... -Global___TaskQueueTypeInfo: typing_extensions.TypeAlias = TaskQueueTypeInfo +global___TaskQueueTypeInfo = TaskQueueTypeInfo -@typing.final class TaskQueueStats(google.protobuf.message.Message): """TaskQueueStats contains statistics about task queue backlog and activity. @@ -336,6 +324,15 @@ class TaskQueueStats(google.protobuf.message.Message): those tasks only remain valid for a few seconds, the inaccuracy becomes less significant as the backlog size grows. """ + @property + def approximate_backlog_age(self) -> google.protobuf.duration_pb2.Duration: + """Approximate age of the oldest task in the backlog based on the creation time of the task at the head of + the queue. Can be relied upon for scaling decisions. + + Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because + those tasks only remain valid for a few seconds, they should not affect the result when backlog is older than + few seconds. + """ tasks_add_rate: builtins.float """The approximate tasks per second added to the task queue, averaging the last 30 seconds. These includes tasks whether or not they were added to/dispatched from the backlog or they were dispatched immediately without going @@ -368,16 +365,6 @@ class TaskQueueStats(google.protobuf.message.Message): workflow goes to a normal queue, and the rest workflow tasks go to the Sticky queue associated with a specific worker instance. """ - @property - def approximate_backlog_age(self) -> google.protobuf.duration_pb2.Duration: - """Approximate age of the oldest task in the backlog based on the creation time of the task at the head of - the queue. Can be relied upon for scaling decisions. - - Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because - those tasks only remain valid for a few seconds, they should not affect the result when backlog is older than - few seconds. - """ - def __init__( self, *, @@ -388,13 +375,13 @@ class TaskQueueStats(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "approximate_backlog_age", b"approximate_backlog_age" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "approximate_backlog_age", b"approximate_backlog_age", "approximate_backlog_count", @@ -406,9 +393,8 @@ class TaskQueueStats(google.protobuf.message.Message): ], ) -> None: ... -Global___TaskQueueStats: typing_extensions.TypeAlias = TaskQueueStats +global___TaskQueueStats = TaskQueueStats -@typing.final class TaskQueueStatus(google.protobuf.message.Message): """Deprecated. Use `InternalTaskQueueStatus`. This is kept until `DescribeTaskQueue` supports legacy behavior.""" @@ -424,7 +410,7 @@ class TaskQueueStatus(google.protobuf.message.Message): ack_level: builtins.int rate_per_second: builtins.float @property - def task_id_block(self) -> Global___TaskIdBlock: ... + def task_id_block(self) -> global___TaskIdBlock: ... def __init__( self, *, @@ -432,14 +418,14 @@ class TaskQueueStatus(google.protobuf.message.Message): read_level: builtins.int = ..., ack_level: builtins.int = ..., rate_per_second: builtins.float = ..., - task_id_block: Global___TaskIdBlock | None = ..., + task_id_block: global___TaskIdBlock | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["task_id_block", b"task_id_block"] + self, field_name: typing_extensions.Literal["task_id_block", b"task_id_block"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "ack_level", b"ack_level", "backlog_count_hint", @@ -453,9 +439,8 @@ class TaskQueueStatus(google.protobuf.message.Message): ], ) -> None: ... -Global___TaskQueueStatus: typing_extensions.TypeAlias = TaskQueueStatus +global___TaskQueueStatus = TaskQueueStatus -@typing.final class TaskIdBlock(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -470,12 +455,14 @@ class TaskIdBlock(google.protobuf.message.Message): end_id: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["end_id", b"end_id", "start_id", b"start_id"] + self, + field_name: typing_extensions.Literal[ + "end_id", b"end_id", "start_id", b"start_id" + ], ) -> None: ... -Global___TaskIdBlock: typing_extensions.TypeAlias = TaskIdBlock +global___TaskIdBlock = TaskIdBlock -@typing.final class TaskQueuePartitionMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -491,16 +478,13 @@ class TaskQueuePartitionMetadata(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "key", b"key", "owner_host_name", b"owner_host_name" ], ) -> None: ... -Global___TaskQueuePartitionMetadata: typing_extensions.TypeAlias = ( - TaskQueuePartitionMetadata -) +global___TaskQueuePartitionMetadata = TaskQueuePartitionMetadata -@typing.final class PollerInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -509,10 +493,10 @@ class PollerInfo(google.protobuf.message.Message): RATE_PER_SECOND_FIELD_NUMBER: builtins.int WORKER_VERSION_CAPABILITIES_FIELD_NUMBER: builtins.int DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int - identity: builtins.str - rate_per_second: builtins.float @property def last_access_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + identity: builtins.str + rate_per_second: builtins.float @property def worker_version_capabilities( self, @@ -521,13 +505,11 @@ class PollerInfo(google.protobuf.message.Message): appear here. Deprecated. Replaced by deployment_options. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that SDK sent to server.""" - def __init__( self, *, @@ -541,7 +523,7 @@ class PollerInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "last_access_time", @@ -552,7 +534,7 @@ class PollerInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "identity", @@ -566,31 +548,29 @@ class PollerInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___PollerInfo: typing_extensions.TypeAlias = PollerInfo +global___PollerInfo = PollerInfo -@typing.final class StickyExecutionAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKER_TASK_QUEUE_FIELD_NUMBER: builtins.int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER: builtins.int @property - def worker_task_queue(self) -> Global___TaskQueue: ... + def worker_task_queue(self) -> global___TaskQueue: ... @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - def __init__( self, *, - worker_task_queue: Global___TaskQueue | None = ..., + worker_task_queue: global___TaskQueue | None = ..., schedule_to_start_timeout: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", @@ -599,7 +579,7 @@ class StickyExecutionAttributes(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "schedule_to_start_timeout", b"schedule_to_start_timeout", "worker_task_queue", @@ -607,11 +587,8 @@ class StickyExecutionAttributes(google.protobuf.message.Message): ], ) -> None: ... -Global___StickyExecutionAttributes: typing_extensions.TypeAlias = ( - StickyExecutionAttributes -) +global___StickyExecutionAttributes = StickyExecutionAttributes -@typing.final class CompatibleVersionSet(google.protobuf.message.Message): """Used by the worker versioning APIs, represents an unordered set of one or more versions which are considered to be compatible with each other. Currently the versions are always worker build IDs. @@ -625,19 +602,17 @@ class CompatibleVersionSet(google.protobuf.message.Message): self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """All the compatible versions, unordered, except for the last element, which is considered the set "default".""" - def __init__( self, *, build_ids: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["build_ids", b"build_ids"] + self, field_name: typing_extensions.Literal["build_ids", b"build_ids"] ) -> None: ... -Global___CompatibleVersionSet: typing_extensions.TypeAlias = CompatibleVersionSet +global___CompatibleVersionSet = CompatibleVersionSet -@typing.final class TaskQueueReachability(google.protobuf.message.Message): """Reachability of tasks for a worker on a single task queue.""" @@ -656,7 +631,6 @@ class TaskQueueReachability(google.protobuf.message.Message): See the TaskReachability docstring for information about each enum variant. If reachability is empty, this worker is considered unreachable in this task queue. """ - def __init__( self, *, @@ -668,14 +642,13 @@ class TaskQueueReachability(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "reachability", b"reachability", "task_queue", b"task_queue" ], ) -> None: ... -Global___TaskQueueReachability: typing_extensions.TypeAlias = TaskQueueReachability +global___TaskQueueReachability = TaskQueueReachability -@typing.final class BuildIdReachability(google.protobuf.message.Message): """Reachability of tasks for a worker by build id, in one or more task queues.""" @@ -689,22 +662,21 @@ class BuildIdReachability(google.protobuf.message.Message): def task_queue_reachability( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___TaskQueueReachability + global___TaskQueueReachability ]: """Reachability per task queue.""" - def __init__( self, *, build_id: builtins.str = ..., task_queue_reachability: collections.abc.Iterable[ - Global___TaskQueueReachability + global___TaskQueueReachability ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "task_queue_reachability", @@ -712,9 +684,8 @@ class BuildIdReachability(google.protobuf.message.Message): ], ) -> None: ... -Global___BuildIdReachability: typing_extensions.TypeAlias = BuildIdReachability +global___BuildIdReachability = BuildIdReachability -@typing.final class RampByPercentage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -727,12 +698,12 @@ class RampByPercentage(google.protobuf.message.Message): ramp_percentage: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["ramp_percentage", b"ramp_percentage"] + self, + field_name: typing_extensions.Literal["ramp_percentage", b"ramp_percentage"], ) -> None: ... -Global___RampByPercentage: typing_extensions.TypeAlias = RampByPercentage +global___RampByPercentage = RampByPercentage -@typing.final class BuildIdAssignmentRule(google.protobuf.message.Message): """Assignment rules are applied to *new* Workflow and Activity executions at schedule time to assign them to a Build ID. @@ -779,27 +750,26 @@ class BuildIdAssignmentRule(google.protobuf.message.Message): PERCENTAGE_RAMP_FIELD_NUMBER: builtins.int target_build_id: builtins.str @property - def percentage_ramp(self) -> Global___RampByPercentage: + def percentage_ramp(self) -> global___RampByPercentage: """This ramp is useful for gradual Blue/Green deployments (and similar) where you want to send a certain portion of the traffic to the target Build ID. """ - def __init__( self, *, target_build_id: builtins.str = ..., - percentage_ramp: Global___RampByPercentage | None = ..., + percentage_ramp: global___RampByPercentage | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "percentage_ramp", b"percentage_ramp", "ramp", b"ramp" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "percentage_ramp", b"percentage_ramp", "ramp", @@ -809,12 +779,11 @@ class BuildIdAssignmentRule(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["ramp", b"ramp"] - ) -> typing.Literal["percentage_ramp"] | None: ... + self, oneof_group: typing_extensions.Literal["ramp", b"ramp"] + ) -> typing_extensions.Literal["percentage_ramp"] | None: ... -Global___BuildIdAssignmentRule: typing_extensions.TypeAlias = BuildIdAssignmentRule +global___BuildIdAssignmentRule = BuildIdAssignmentRule -@typing.final class CompatibleBuildIdRedirectRule(google.protobuf.message.Message): """These rules apply to tasks assigned to a particular Build ID (`source_build_id`) to redirect them to another *compatible* Build ID @@ -857,70 +826,75 @@ class CompatibleBuildIdRedirectRule(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "source_build_id", b"source_build_id", "target_build_id", b"target_build_id" ], ) -> None: ... -Global___CompatibleBuildIdRedirectRule: typing_extensions.TypeAlias = ( - CompatibleBuildIdRedirectRule -) +global___CompatibleBuildIdRedirectRule = CompatibleBuildIdRedirectRule -@typing.final class TimestampedBuildIdAssignmentRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULE_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int @property - def rule(self) -> Global___BuildIdAssignmentRule: ... + def rule(self) -> global___BuildIdAssignmentRule: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - rule: Global___BuildIdAssignmentRule | None = ..., + rule: global___BuildIdAssignmentRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], ) -> None: ... -Global___TimestampedBuildIdAssignmentRule: typing_extensions.TypeAlias = ( - TimestampedBuildIdAssignmentRule -) +global___TimestampedBuildIdAssignmentRule = TimestampedBuildIdAssignmentRule -@typing.final class TimestampedCompatibleBuildIdRedirectRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULE_FIELD_NUMBER: builtins.int CREATE_TIME_FIELD_NUMBER: builtins.int @property - def rule(self) -> Global___CompatibleBuildIdRedirectRule: ... + def rule(self) -> global___CompatibleBuildIdRedirectRule: ... @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - rule: Global___CompatibleBuildIdRedirectRule | None = ..., + rule: global___CompatibleBuildIdRedirectRule | None = ..., create_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["create_time", b"create_time", "rule", b"rule"] + self, + field_name: typing_extensions.Literal[ + "create_time", b"create_time", "rule", b"rule" + ], ) -> None: ... -Global___TimestampedCompatibleBuildIdRedirectRule: typing_extensions.TypeAlias = ( +global___TimestampedCompatibleBuildIdRedirectRule = ( TimestampedCompatibleBuildIdRedirectRule ) -@typing.final class PollerGroupInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -935,12 +909,11 @@ class PollerGroupInfo(google.protobuf.message.Message): weight: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["id", b"id", "weight", b"weight"] + self, field_name: typing_extensions.Literal["id", b"id", "weight", b"weight"] ) -> None: ... -Global___PollerGroupInfo: typing_extensions.TypeAlias = PollerGroupInfo +global___PollerGroupInfo = PollerGroupInfo -@typing.final class PollerScalingDecision(google.protobuf.message.Message): """Attached to task responses to give hints to the SDK about how it may adjust its number of pollers. @@ -964,14 +937,13 @@ class PollerScalingDecision(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "poll_request_delta_suggestion", b"poll_request_delta_suggestion" ], ) -> None: ... -Global___PollerScalingDecision: typing_extensions.TypeAlias = PollerScalingDecision +global___PollerScalingDecision = PollerScalingDecision -@typing.final class RateLimit(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -984,12 +956,14 @@ class RateLimit(google.protobuf.message.Message): requests_per_second: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["requests_per_second", b"requests_per_second"] + self, + field_name: typing_extensions.Literal[ + "requests_per_second", b"requests_per_second" + ], ) -> None: ... -Global___RateLimit: typing_extensions.TypeAlias = RateLimit +global___RateLimit = RateLimit -@typing.final class ConfigMetadata(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1005,7 +979,6 @@ class ConfigMetadata(google.protobuf.message.Message): @property def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time of the last update.""" - def __init__( self, *, @@ -1014,11 +987,11 @@ class ConfigMetadata(google.protobuf.message.Message): update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["update_time", b"update_time"] + self, field_name: typing_extensions.Literal["update_time", b"update_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "reason", b"reason", "update_identity", @@ -1028,44 +1001,41 @@ class ConfigMetadata(google.protobuf.message.Message): ], ) -> None: ... -Global___ConfigMetadata: typing_extensions.TypeAlias = ConfigMetadata +global___ConfigMetadata = ConfigMetadata -@typing.final class RateLimitConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RATE_LIMIT_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int @property - def rate_limit(self) -> Global___RateLimit: ... + def rate_limit(self) -> global___RateLimit: ... @property - def metadata(self) -> Global___ConfigMetadata: ... + def metadata(self) -> global___ConfigMetadata: ... def __init__( self, *, - rate_limit: Global___RateLimit | None = ..., - metadata: Global___ConfigMetadata | None = ..., + rate_limit: global___RateLimit | None = ..., + metadata: global___ConfigMetadata | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "metadata", b"metadata", "rate_limit", b"rate_limit" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "metadata", b"metadata", "rate_limit", b"rate_limit" ], ) -> None: ... -Global___RateLimitConfig: typing_extensions.TypeAlias = RateLimitConfig +global___RateLimitConfig = RateLimitConfig -@typing.final class TaskQueueConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class FairnessWeightOverridesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1080,37 +1050,35 @@ class TaskQueueConfig(google.protobuf.message.Message): value: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... QUEUE_RATE_LIMIT_FIELD_NUMBER: builtins.int FAIRNESS_KEYS_RATE_LIMIT_DEFAULT_FIELD_NUMBER: builtins.int FAIRNESS_WEIGHT_OVERRIDES_FIELD_NUMBER: builtins.int @property - def queue_rate_limit(self) -> Global___RateLimitConfig: + def queue_rate_limit(self) -> global___RateLimitConfig: """Unless modified, this is the system-defined rate limit.""" - @property - def fairness_keys_rate_limit_default(self) -> Global___RateLimitConfig: + def fairness_keys_rate_limit_default(self) -> global___RateLimitConfig: """If set, each individual fairness key will be limited to this rate, scaled by the weight of the fairness key.""" - @property def fairness_weight_overrides( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.float]: """If set, overrides the fairness weights for the corresponding fairness keys.""" - def __init__( self, *, - queue_rate_limit: Global___RateLimitConfig | None = ..., - fairness_keys_rate_limit_default: Global___RateLimitConfig | None = ..., + queue_rate_limit: global___RateLimitConfig | None = ..., + fairness_keys_rate_limit_default: global___RateLimitConfig | None = ..., fairness_weight_overrides: collections.abc.Mapping[builtins.str, builtins.float] | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "queue_rate_limit", @@ -1119,7 +1087,7 @@ class TaskQueueConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "fairness_keys_rate_limit_default", b"fairness_keys_rate_limit_default", "fairness_weight_overrides", @@ -1129,4 +1097,4 @@ class TaskQueueConfig(google.protobuf.message.Message): ], ) -> None: ... -Global___TaskQueueConfig: typing_extensions.TypeAlias = TaskQueueConfig +global___TaskQueueConfig = TaskQueueConfig diff --git a/temporalio/api/testservice/v1/request_response_pb2.py b/temporalio/api/testservice/v1/request_response_pb2.py index 4f84d9704..65e52f72a 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.py +++ b/temporalio/api/testservice/v1/request_response_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/testservice/v1/request_response.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/testservice/v1/request_response.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,30 +21,124 @@ b'\n2temporal/api/testservice/v1/request_response.proto\x12\x1btemporal.api.testservice.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x19\n\x17LockTimeSkippingRequest"\x1a\n\x18LockTimeSkippingResponse"\x1b\n\x19UnlockTimeSkippingRequest"\x1c\n\x1aUnlockTimeSkippingResponse"B\n\x11SleepUntilRequest\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp";\n\x0cSleepRequest\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration"\x0f\n\rSleepResponse"B\n\x16GetCurrentTimeResponse\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xaa\x01\n\x1eio.temporal.api.testservice.v1B\x14RequestResponseProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.testservice.v1.request_response_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" - _globals["_LOCKTIMESKIPPINGREQUEST"]._serialized_start = 148 - _globals["_LOCKTIMESKIPPINGREQUEST"]._serialized_end = 173 - _globals["_LOCKTIMESKIPPINGRESPONSE"]._serialized_start = 175 - _globals["_LOCKTIMESKIPPINGRESPONSE"]._serialized_end = 201 - _globals["_UNLOCKTIMESKIPPINGREQUEST"]._serialized_start = 203 - _globals["_UNLOCKTIMESKIPPINGREQUEST"]._serialized_end = 230 - _globals["_UNLOCKTIMESKIPPINGRESPONSE"]._serialized_start = 232 - _globals["_UNLOCKTIMESKIPPINGRESPONSE"]._serialized_end = 260 - _globals["_SLEEPUNTILREQUEST"]._serialized_start = 262 - _globals["_SLEEPUNTILREQUEST"]._serialized_end = 328 - _globals["_SLEEPREQUEST"]._serialized_start = 330 - _globals["_SLEEPREQUEST"]._serialized_end = 389 - _globals["_SLEEPRESPONSE"]._serialized_start = 391 - _globals["_SLEEPRESPONSE"]._serialized_end = 406 - _globals["_GETCURRENTTIMERESPONSE"]._serialized_start = 408 - _globals["_GETCURRENTTIMERESPONSE"]._serialized_end = 474 + +_LOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name["LockTimeSkippingRequest"] +_LOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name["LockTimeSkippingResponse"] +_UNLOCKTIMESKIPPINGREQUEST = DESCRIPTOR.message_types_by_name[ + "UnlockTimeSkippingRequest" +] +_UNLOCKTIMESKIPPINGRESPONSE = DESCRIPTOR.message_types_by_name[ + "UnlockTimeSkippingResponse" +] +_SLEEPUNTILREQUEST = DESCRIPTOR.message_types_by_name["SleepUntilRequest"] +_SLEEPREQUEST = DESCRIPTOR.message_types_by_name["SleepRequest"] +_SLEEPRESPONSE = DESCRIPTOR.message_types_by_name["SleepResponse"] +_GETCURRENTTIMERESPONSE = DESCRIPTOR.message_types_by_name["GetCurrentTimeResponse"] +LockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( + "LockTimeSkippingRequest", + (_message.Message,), + { + "DESCRIPTOR": _LOCKTIMESKIPPINGREQUEST, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingRequest) + }, +) +_sym_db.RegisterMessage(LockTimeSkippingRequest) + +LockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( + "LockTimeSkippingResponse", + (_message.Message,), + { + "DESCRIPTOR": _LOCKTIMESKIPPINGRESPONSE, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.LockTimeSkippingResponse) + }, +) +_sym_db.RegisterMessage(LockTimeSkippingResponse) + +UnlockTimeSkippingRequest = _reflection.GeneratedProtocolMessageType( + "UnlockTimeSkippingRequest", + (_message.Message,), + { + "DESCRIPTOR": _UNLOCKTIMESKIPPINGREQUEST, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingRequest) + }, +) +_sym_db.RegisterMessage(UnlockTimeSkippingRequest) + +UnlockTimeSkippingResponse = _reflection.GeneratedProtocolMessageType( + "UnlockTimeSkippingResponse", + (_message.Message,), + { + "DESCRIPTOR": _UNLOCKTIMESKIPPINGRESPONSE, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.UnlockTimeSkippingResponse) + }, +) +_sym_db.RegisterMessage(UnlockTimeSkippingResponse) + +SleepUntilRequest = _reflection.GeneratedProtocolMessageType( + "SleepUntilRequest", + (_message.Message,), + { + "DESCRIPTOR": _SLEEPUNTILREQUEST, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepUntilRequest) + }, +) +_sym_db.RegisterMessage(SleepUntilRequest) + +SleepRequest = _reflection.GeneratedProtocolMessageType( + "SleepRequest", + (_message.Message,), + { + "DESCRIPTOR": _SLEEPREQUEST, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepRequest) + }, +) +_sym_db.RegisterMessage(SleepRequest) + +SleepResponse = _reflection.GeneratedProtocolMessageType( + "SleepResponse", + (_message.Message,), + { + "DESCRIPTOR": _SLEEPRESPONSE, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.SleepResponse) + }, +) +_sym_db.RegisterMessage(SleepResponse) + +GetCurrentTimeResponse = _reflection.GeneratedProtocolMessageType( + "GetCurrentTimeResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTTIMERESPONSE, + "__module__": "temporalio.api.testservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.testservice.v1.GetCurrentTimeResponse) + }, +) +_sym_db.RegisterMessage(GetCurrentTimeResponse) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\024RequestResponseProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" + _LOCKTIMESKIPPINGREQUEST._serialized_start = 148 + _LOCKTIMESKIPPINGREQUEST._serialized_end = 173 + _LOCKTIMESKIPPINGRESPONSE._serialized_start = 175 + _LOCKTIMESKIPPINGRESPONSE._serialized_end = 201 + _UNLOCKTIMESKIPPINGREQUEST._serialized_start = 203 + _UNLOCKTIMESKIPPINGREQUEST._serialized_end = 230 + _UNLOCKTIMESKIPPINGRESPONSE._serialized_start = 232 + _UNLOCKTIMESKIPPINGRESPONSE._serialized_end = 260 + _SLEEPUNTILREQUEST._serialized_start = 262 + _SLEEPUNTILREQUEST._serialized_end = 328 + _SLEEPREQUEST._serialized_start = 330 + _SLEEPREQUEST._serialized_end = 389 + _SLEEPRESPONSE._serialized_start = 391 + _SLEEPRESPONSE._serialized_end = 406 + _GETCURRENTTIMERESPONSE._serialized_start = 408 + _GETCURRENTTIMERESPONSE._serialized_end = 474 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/request_response_pb2.pyi b/temporalio/api/testservice/v1/request_response_pb2.pyi index 2e119dbf3..e86bba03d 100644 --- a/temporalio/api/testservice/v1/request_response_pb2.pyi +++ b/temporalio/api/testservice/v1/request_response_pb2.pyi @@ -26,21 +26,19 @@ THE SOFTWARE. import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class LockTimeSkippingRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -48,9 +46,8 @@ class LockTimeSkippingRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___LockTimeSkippingRequest: typing_extensions.TypeAlias = LockTimeSkippingRequest +global___LockTimeSkippingRequest = LockTimeSkippingRequest -@typing.final class LockTimeSkippingResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -58,11 +55,8 @@ class LockTimeSkippingResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___LockTimeSkippingResponse: typing_extensions.TypeAlias = ( - LockTimeSkippingResponse -) +global___LockTimeSkippingResponse = LockTimeSkippingResponse -@typing.final class UnlockTimeSkippingRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -70,11 +64,8 @@ class UnlockTimeSkippingRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___UnlockTimeSkippingRequest: typing_extensions.TypeAlias = ( - UnlockTimeSkippingRequest -) +global___UnlockTimeSkippingRequest = UnlockTimeSkippingRequest -@typing.final class UnlockTimeSkippingResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -82,11 +73,8 @@ class UnlockTimeSkippingResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___UnlockTimeSkippingResponse: typing_extensions.TypeAlias = ( - UnlockTimeSkippingResponse -) +global___UnlockTimeSkippingResponse = UnlockTimeSkippingResponse -@typing.final class SleepUntilRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -99,15 +87,14 @@ class SleepUntilRequest(google.protobuf.message.Message): timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["timestamp", b"timestamp"] + self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["timestamp", b"timestamp"] + self, field_name: typing_extensions.Literal["timestamp", b"timestamp"] ) -> None: ... -Global___SleepUntilRequest: typing_extensions.TypeAlias = SleepUntilRequest +global___SleepUntilRequest = SleepUntilRequest -@typing.final class SleepRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -120,15 +107,14 @@ class SleepRequest(google.protobuf.message.Message): duration: google.protobuf.duration_pb2.Duration | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["duration", b"duration"] + self, field_name: typing_extensions.Literal["duration", b"duration"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["duration", b"duration"] + self, field_name: typing_extensions.Literal["duration", b"duration"] ) -> None: ... -Global___SleepRequest: typing_extensions.TypeAlias = SleepRequest +global___SleepRequest = SleepRequest -@typing.final class SleepResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -136,9 +122,8 @@ class SleepResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___SleepResponse: typing_extensions.TypeAlias = SleepResponse +global___SleepResponse = SleepResponse -@typing.final class GetCurrentTimeResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -151,8 +136,10 @@ class GetCurrentTimeResponse(google.protobuf.message.Message): time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["time", b"time"] + self, field_name: typing_extensions.Literal["time", b"time"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["time", b"time"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["time", b"time"] + ) -> None: ... -Global___GetCurrentTimeResponse: typing_extensions.TypeAlias = GetCurrentTimeResponse +global___GetCurrentTimeResponse = GetCurrentTimeResponse diff --git a/temporalio/api/testservice/v1/request_response_pb2_grpc.py b/temporalio/api/testservice/v1/request_response_pb2_grpc.py index 94cca5a45..bf947056a 100644 --- a/temporalio/api/testservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/testservice/v1/request_response_pb2_grpc.py @@ -1,28 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc - -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/testservice/v1/request_response_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) diff --git a/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi index 3d9cd1b20..4fb00c5be 100644 --- a/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/testservice/v1/request_response_pb2_grpc.pyi @@ -23,23 +23,3 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ - -import abc -import collections.abc -import typing - -import grpc -import grpc.aio - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str diff --git a/temporalio/api/testservice/v1/service_pb2.py b/temporalio/api/testservice/v1/service_pb2.py index 9762a18d7..86a4260fd 100644 --- a/temporalio/api/testservice/v1/service_pb2.py +++ b/temporalio/api/testservice/v1/service_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/testservice/v1/service.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/testservice/v1/service.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,16 +24,11 @@ b'\n)temporal/api/testservice/v1/service.proto\x12\x1btemporal.api.testservice.v1\x1a\x32temporal/api/testservice/v1/request_response.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc2\x05\n\x0bTestService\x12\x81\x01\n\x10LockTimeSkipping\x12\x34.temporal.api.testservice.v1.LockTimeSkippingRequest\x1a\x35.temporal.api.testservice.v1.LockTimeSkippingResponse"\x00\x12\x87\x01\n\x12UnlockTimeSkipping\x12\x36.temporal.api.testservice.v1.UnlockTimeSkippingRequest\x1a\x37.temporal.api.testservice.v1.UnlockTimeSkippingResponse"\x00\x12`\n\x05Sleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12j\n\nSleepUntil\x12..temporal.api.testservice.v1.SleepUntilRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12v\n\x1bUnlockTimeSkippingWithSleep\x12).temporal.api.testservice.v1.SleepRequest\x1a*.temporal.api.testservice.v1.SleepResponse"\x00\x12_\n\x0eGetCurrentTime\x12\x16.google.protobuf.Empty\x1a\x33.temporal.api.testservice.v1.GetCurrentTimeResponse"\x00\x42\xa2\x01\n\x1eio.temporal.api.testservice.v1B\x0cServiceProtoP\x01Z-go.temporal.io/api/testservice/v1;testservice\xaa\x02\x1dTemporalio.Api.TestService.V1\xea\x02 Temporalio::Api::TestService::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.testservice.v1.service_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" - _globals["_TESTSERVICE"]._serialized_start = 156 - _globals["_TESTSERVICE"]._serialized_end = 862 + +_TESTSERVICE = DESCRIPTOR.services_by_name["TestService"] +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\036io.temporal.api.testservice.v1B\014ServiceProtoP\001Z-go.temporal.io/api/testservice/v1;testservice\252\002\035Temporalio.Api.TestService.V1\352\002 Temporalio::Api::TestService::V1" + _TESTSERVICE._serialized_start = 156 + _TESTSERVICE._serialized_end = 862 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.py b/temporalio/api/testservice/v1/service_pb2_grpc.py index 57f72be32..56893d1d1 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.py +++ b/temporalio/api/testservice/v1/service_pb2_grpc.py @@ -1,8 +1,6 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 @@ -10,30 +8,8 @@ request_response_pb2 as temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2, ) -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/testservice/v1/service_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) - -class TestServiceStub: +class TestServiceStub(object): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -50,41 +26,35 @@ def __init__(self, channel): "/temporal.api.testservice.v1.TestService/LockTimeSkipping", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.LockTimeSkippingResponse.FromString, - _registered_method=True, ) self.UnlockTimeSkipping = channel.unary_unary( "/temporal.api.testservice.v1.TestService/UnlockTimeSkipping", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.UnlockTimeSkippingResponse.FromString, - _registered_method=True, ) self.Sleep = channel.unary_unary( "/temporal.api.testservice.v1.TestService/Sleep", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - _registered_method=True, ) self.SleepUntil = channel.unary_unary( "/temporal.api.testservice.v1.TestService/SleepUntil", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepUntilRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - _registered_method=True, ) self.UnlockTimeSkippingWithSleep = channel.unary_unary( "/temporal.api.testservice.v1.TestService/UnlockTimeSkippingWithSleep", request_serializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.SleepResponse.FromString, - _registered_method=True, ) self.GetCurrentTime = channel.unary_unary( "/temporal.api.testservice.v1.TestService/GetCurrentTime", request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, response_deserializer=temporal_dot_api_dot_testservice_dot_v1_dot_request__response__pb2.GetCurrentTimeResponse.FromString, - _registered_method=True, ) -class TestServiceServicer: +class TestServiceServicer(object): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -196,13 +166,10 @@ def add_TestServiceServicer_to_server(servicer, server): "temporal.api.testservice.v1.TestService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers( - "temporal.api.testservice.v1.TestService", rpc_method_handlers - ) # This class is part of an EXPERIMENTAL API. -class TestService: +class TestService(object): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -236,7 +203,6 @@ def LockTimeSkipping( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -266,7 +232,6 @@ def UnlockTimeSkipping( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -296,7 +261,6 @@ def Sleep( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -326,7 +290,6 @@ def SleepUntil( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -356,7 +319,6 @@ def UnlockTimeSkippingWithSleep( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -386,5 +348,4 @@ def GetCurrentTime( wait_for_ready, timeout, metadata, - _registered_method=True, ) diff --git a/temporalio/api/testservice/v1/service_pb2_grpc.pyi b/temporalio/api/testservice/v1/service_pb2_grpc.pyi index b094a8342..f3162f003 100644 --- a/temporalio/api/testservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/testservice/v1/service_pb2_grpc.pyi @@ -25,207 +25,24 @@ THE SOFTWARE. """ import abc -import collections.abc -import sys -import typing import google.protobuf.empty_pb2 import grpc -import grpc.aio import temporalio.api.testservice.v1.request_response_pb2 -if sys.version_info >= (3, 13): - import typing as typing_extensions -else: - import typing_extensions - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str -_TestServiceLockTimeSkippingType = typing_extensions.TypeVar( - "_TestServiceLockTimeSkippingType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - ], -) - -_TestServiceUnlockTimeSkippingType = typing_extensions.TypeVar( - "_TestServiceUnlockTimeSkippingType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - ], -) - -_TestServiceSleepType = typing_extensions.TypeVar( - "_TestServiceSleepType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], -) - -_TestServiceSleepUntilType = typing_extensions.TypeVar( - "_TestServiceSleepUntilType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], -) - -_TestServiceUnlockTimeSkippingWithSleepType = typing_extensions.TypeVar( - "_TestServiceUnlockTimeSkippingWithSleepType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], -) - -_TestServiceGetCurrentTimeType = typing_extensions.TypeVar( - "_TestServiceGetCurrentTimeType", - grpc.UnaryUnaryMultiCallable[ - google.protobuf.empty_pb2.Empty, - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - google.protobuf.empty_pb2.Empty, - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - google.protobuf.empty_pb2.Empty, - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - ], -) - -class TestServiceStub( - typing.Generic[ - _TestServiceLockTimeSkippingType, - _TestServiceUnlockTimeSkippingType, - _TestServiceSleepType, - _TestServiceSleepUntilType, - _TestServiceUnlockTimeSkippingWithSleepType, - _TestServiceGetCurrentTimeType, - ] -): +class TestServiceStub: """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. This is an EXPERIMENTAL API. """ - @typing.overload - def __init__( - self: TestServiceStub[ - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.UnaryUnaryMultiCallable[ - google.protobuf.empty_pb2.Empty, - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - ], - ], - channel: grpc.Channel, - ) -> None: ... - @typing.overload - def __init__( - self: TestServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - google.protobuf.empty_pb2.Empty, - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - ], - ], - channel: grpc.aio.Channel, - ) -> None: ... - - LockTimeSkipping: _TestServiceLockTimeSkippingType + def __init__(self, channel: grpc.Channel) -> None: ... + LockTimeSkipping: grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, + ] """LockTimeSkipping increments Time Locking Counter by one. If Time Locking Counter is positive, time skipping is locked (disabled). @@ -234,8 +51,10 @@ class TestServiceStub( LockTimeSkipping and UnlockTimeSkipping calls are counted. """ - - UnlockTimeSkipping: _TestServiceUnlockTimeSkippingType + UnlockTimeSkipping: grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, + temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, + ] """UnlockTimeSkipping decrements Time Locking Counter by one. If the counter reaches 0, it unlocks time skipping and fast forwards time. @@ -244,19 +63,25 @@ class TestServiceStub( Time Locking Counter can't be negative, unbalanced calls to UnlockTimeSkipping will lead to rpc call failure """ - - Sleep: _TestServiceSleepType + Sleep: grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ] """This call returns only when the Test Server Time advances by the specified duration. This is an EXPERIMENTAL API. """ - - SleepUntil: _TestServiceSleepUntilType + SleepUntil: grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ] """This call returns only when the Test Server Time advances to the specified timestamp. If the current Test Server Time is beyond the specified timestamp, returns immediately. This is an EXPERIMENTAL API. """ - - UnlockTimeSkippingWithSleep: _TestServiceUnlockTimeSkippingWithSleepType + UnlockTimeSkippingWithSleep: grpc.UnaryUnaryMultiCallable[ + temporalio.api.testservice.v1.request_response_pb2.SleepRequest, + temporalio.api.testservice.v1.request_response_pb2.SleepResponse, + ] """UnlockTimeSkippingWhileSleep decreases time locking counter by one and increases it back once the Test Server Time advances by the duration specified in the request. @@ -267,40 +92,15 @@ class TestServiceStub( - 1, it will lead to fast forwarding of the time by the duration specified in the request and quick return of this rpc call. - 0 will lead to rpc call failure same way as an unbalanced UnlockTimeSkipping. """ - - GetCurrentTime: _TestServiceGetCurrentTimeType + GetCurrentTime: grpc.UnaryUnaryMultiCallable[ + google.protobuf.empty_pb2.Empty, + temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, + ] """GetCurrentTime returns the current Temporal Test Server time This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ -TestServiceAsyncStub: typing_extensions.TypeAlias = TestServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - google.protobuf.empty_pb2.Empty, - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - ], -] - class TestServiceServicer(metaclass=abc.ABCMeta): """TestService API defines an interface supported only by the Temporal Test Server. It provides functionality needed or supported for testing purposes only. @@ -312,13 +112,8 @@ class TestServiceServicer(metaclass=abc.ABCMeta): def LockTimeSkipping( self, request: temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse, - collections.abc.Awaitable[ - temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.testservice.v1.request_response_pb2.LockTimeSkippingResponse: """LockTimeSkipping increments Time Locking Counter by one. If Time Locking Counter is positive, time skipping is locked (disabled). @@ -327,18 +122,12 @@ class TestServiceServicer(metaclass=abc.ABCMeta): LockTimeSkipping and UnlockTimeSkipping calls are counted. """ - @abc.abstractmethod def UnlockTimeSkipping( self, request: temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse, - collections.abc.Awaitable[ - temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.testservice.v1.request_response_pb2.UnlockTimeSkippingResponse: """UnlockTimeSkipping decrements Time Locking Counter by one. If the counter reaches 0, it unlocks time skipping and fast forwards time. @@ -347,49 +136,31 @@ class TestServiceServicer(metaclass=abc.ABCMeta): Time Locking Counter can't be negative, unbalanced calls to UnlockTimeSkipping will lead to rpc call failure """ - @abc.abstractmethod def Sleep( self, request: temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - collections.abc.Awaitable[ - temporalio.api.testservice.v1.request_response_pb2.SleepResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.testservice.v1.request_response_pb2.SleepResponse: """This call returns only when the Test Server Time advances by the specified duration. This is an EXPERIMENTAL API. """ - @abc.abstractmethod def SleepUntil( self, request: temporalio.api.testservice.v1.request_response_pb2.SleepUntilRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - collections.abc.Awaitable[ - temporalio.api.testservice.v1.request_response_pb2.SleepResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.testservice.v1.request_response_pb2.SleepResponse: """This call returns only when the Test Server Time advances to the specified timestamp. If the current Test Server Time is beyond the specified timestamp, returns immediately. This is an EXPERIMENTAL API. """ - @abc.abstractmethod def UnlockTimeSkippingWithSleep( self, request: temporalio.api.testservice.v1.request_response_pb2.SleepRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.testservice.v1.request_response_pb2.SleepResponse, - collections.abc.Awaitable[ - temporalio.api.testservice.v1.request_response_pb2.SleepResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.testservice.v1.request_response_pb2.SleepResponse: """UnlockTimeSkippingWhileSleep decreases time locking counter by one and increases it back once the Test Server Time advances by the duration specified in the request. @@ -400,23 +171,17 @@ class TestServiceServicer(metaclass=abc.ABCMeta): - 1, it will lead to fast forwarding of the time by the duration specified in the request and quick return of this rpc call. - 0 will lead to rpc call failure same way as an unbalanced UnlockTimeSkipping. """ - @abc.abstractmethod def GetCurrentTime( self, request: google.protobuf.empty_pb2.Empty, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse, - collections.abc.Awaitable[ - temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.testservice.v1.request_response_pb2.GetCurrentTimeResponse: """GetCurrentTime returns the current Temporal Test Server time This time might not be equal to {@link System#currentTimeMillis()} due to time skipping. """ def add_TestServiceServicer_to_server( - servicer: TestServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server] + servicer: TestServiceServicer, server: grpc.Server ) -> None: ... diff --git a/temporalio/api/update/v1/message_pb2.py b/temporalio/api/update/v1/message_pb2.py index e374cc95f..d136516bc 100644 --- a/temporalio/api/update/v1/message_pb2.py +++ b/temporalio/api/update/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/update/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/update/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,32 +28,134 @@ b'\n$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto"c\n\nWaitPolicy\x12U\n\x0flifecycle_stage\x18\x01 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage"e\n\tUpdateRef\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x11\n\tupdate_id\x18\x02 \x01(\t"|\n\x07Outcome\x12\x33\n\x07success\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value"+\n\x04Meta\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t"u\n\x05Input\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads"\xe4\x01\n\x07Request\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12,\n\x05input\x18\x02 \x01(\x0b\x32\x1d.temporal.api.update.v1.Input\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12>\n\x14\x63ompletion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x05 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"\xcc\x01\n\tRejection\x12#\n\x1brejected_request_message_id\x18\x01 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10rejected_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x9a\x01\n\nAcceptance\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x01 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"h\n\x08Response\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.OutcomeB\x89\x01\n\x19io.temporal.api.update.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.update.v1.message_pb2", _globals + +_WAITPOLICY = DESCRIPTOR.message_types_by_name["WaitPolicy"] +_UPDATEREF = DESCRIPTOR.message_types_by_name["UpdateRef"] +_OUTCOME = DESCRIPTOR.message_types_by_name["Outcome"] +_META = DESCRIPTOR.message_types_by_name["Meta"] +_INPUT = DESCRIPTOR.message_types_by_name["Input"] +_REQUEST = DESCRIPTOR.message_types_by_name["Request"] +_REJECTION = DESCRIPTOR.message_types_by_name["Rejection"] +_ACCEPTANCE = DESCRIPTOR.message_types_by_name["Acceptance"] +_RESPONSE = DESCRIPTOR.message_types_by_name["Response"] +WaitPolicy = _reflection.GeneratedProtocolMessageType( + "WaitPolicy", + (_message.Message,), + { + "DESCRIPTOR": _WAITPOLICY, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.WaitPolicy) + }, +) +_sym_db.RegisterMessage(WaitPolicy) + +UpdateRef = _reflection.GeneratedProtocolMessageType( + "UpdateRef", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEREF, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.UpdateRef) + }, +) +_sym_db.RegisterMessage(UpdateRef) + +Outcome = _reflection.GeneratedProtocolMessageType( + "Outcome", + (_message.Message,), + { + "DESCRIPTOR": _OUTCOME, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Outcome) + }, +) +_sym_db.RegisterMessage(Outcome) + +Meta = _reflection.GeneratedProtocolMessageType( + "Meta", + (_message.Message,), + { + "DESCRIPTOR": _META, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Meta) + }, +) +_sym_db.RegisterMessage(Meta) + +Input = _reflection.GeneratedProtocolMessageType( + "Input", + (_message.Message,), + { + "DESCRIPTOR": _INPUT, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Input) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1" - _globals["_WAITPOLICY"]._serialized_start = 177 - _globals["_WAITPOLICY"]._serialized_end = 276 - _globals["_UPDATEREF"]._serialized_start = 278 - _globals["_UPDATEREF"]._serialized_end = 379 - _globals["_OUTCOME"]._serialized_start = 381 - _globals["_OUTCOME"]._serialized_end = 505 - _globals["_META"]._serialized_start = 507 - _globals["_META"]._serialized_end = 550 - _globals["_INPUT"]._serialized_start = 552 - _globals["_INPUT"]._serialized_end = 669 - _globals["_REQUEST"]._serialized_start = 672 - _globals["_REQUEST"]._serialized_end = 900 - _globals["_REJECTION"]._serialized_start = 903 - _globals["_REJECTION"]._serialized_end = 1107 - _globals["_ACCEPTANCE"]._serialized_start = 1110 - _globals["_ACCEPTANCE"]._serialized_end = 1264 - _globals["_RESPONSE"]._serialized_start = 1266 - _globals["_RESPONSE"]._serialized_end = 1370 +_sym_db.RegisterMessage(Input) + +Request = _reflection.GeneratedProtocolMessageType( + "Request", + (_message.Message,), + { + "DESCRIPTOR": _REQUEST, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Request) + }, +) +_sym_db.RegisterMessage(Request) + +Rejection = _reflection.GeneratedProtocolMessageType( + "Rejection", + (_message.Message,), + { + "DESCRIPTOR": _REJECTION, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Rejection) + }, +) +_sym_db.RegisterMessage(Rejection) + +Acceptance = _reflection.GeneratedProtocolMessageType( + "Acceptance", + (_message.Message,), + { + "DESCRIPTOR": _ACCEPTANCE, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Acceptance) + }, +) +_sym_db.RegisterMessage(Acceptance) + +Response = _reflection.GeneratedProtocolMessageType( + "Response", + (_message.Message,), + { + "DESCRIPTOR": _RESPONSE, + "__module__": "temporalio.api.update.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.update.v1.Response) + }, +) +_sym_db.RegisterMessage(Response) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.update.v1B\014MessageProtoP\001Z#go.temporal.io/api/update/v1;update\252\002\030Temporalio.Api.Update.V1\352\002\033Temporalio::Api::Update::V1" + _WAITPOLICY._serialized_start = 177 + _WAITPOLICY._serialized_end = 276 + _UPDATEREF._serialized_start = 278 + _UPDATEREF._serialized_end = 379 + _OUTCOME._serialized_start = 381 + _OUTCOME._serialized_end = 505 + _META._serialized_start = 507 + _META._serialized_end = 550 + _INPUT._serialized_start = 552 + _INPUT._serialized_end = 669 + _REQUEST._serialized_start = 672 + _REQUEST._serialized_end = 900 + _REJECTION._serialized_start = 903 + _REJECTION._serialized_end = 1107 + _ACCEPTANCE._serialized_start = 1110 + _ACCEPTANCE._serialized_end = 1264 + _RESPONSE._serialized_start = 1266 + _RESPONSE._serialized_end = 1370 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/update/v1/message_pb2.pyi b/temporalio/api/update/v1/message_pb2.pyi index 4e7e5a50e..de3c6682c 100644 --- a/temporalio/api/update/v1/message_pb2.pyi +++ b/temporalio/api/update/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -16,14 +15,13 @@ import temporalio.api.common.v1.message_pb2 import temporalio.api.enums.v1.update_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WaitPolicy(google.protobuf.message.Message): """Specifies client's intent to wait for Update results.""" @@ -43,12 +41,12 @@ class WaitPolicy(google.protobuf.message.Message): lifecycle_stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["lifecycle_stage", b"lifecycle_stage"] + self, + field_name: typing_extensions.Literal["lifecycle_stage", b"lifecycle_stage"], ) -> None: ... -Global___WaitPolicy: typing_extensions.TypeAlias = WaitPolicy +global___WaitPolicy = WaitPolicy -@typing.final class UpdateRef(google.protobuf.message.Message): """The data needed by a client to refer to a previously invoked Workflow Update.""" @@ -56,11 +54,11 @@ class UpdateRef(google.protobuf.message.Message): WORKFLOW_EXECUTION_FIELD_NUMBER: builtins.int UPDATE_ID_FIELD_NUMBER: builtins.int - update_id: builtins.str @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + update_id: builtins.str def __init__( self, *, @@ -69,18 +67,20 @@ class UpdateRef(google.protobuf.message.Message): update_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_id", b"update_id", "workflow_execution", b"workflow_execution" ], ) -> None: ... -Global___UpdateRef: typing_extensions.TypeAlias = UpdateRef +global___UpdateRef = UpdateRef -@typing.final class Outcome(google.protobuf.message.Message): """The outcome of a Workflow Update: success or failure.""" @@ -100,23 +100,22 @@ class Outcome(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "success", b"success", "value", b"value" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "success", b"success", "value", b"value" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["value", b"value"] - ) -> typing.Literal["success", "failure"] | None: ... + self, oneof_group: typing_extensions.Literal["value", b"value"] + ) -> typing_extensions.Literal["success", "failure"] | None: ... -Global___Outcome: typing_extensions.TypeAlias = Outcome +global___Outcome = Outcome -@typing.final class Meta(google.protobuf.message.Message): """Metadata about a Workflow Update.""" @@ -136,30 +135,29 @@ class Meta(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["identity", b"identity", "update_id", b"update_id"], + field_name: typing_extensions.Literal[ + "identity", b"identity", "update_id", b"update_id" + ], ) -> None: ... -Global___Meta: typing_extensions.TypeAlias = Meta +global___Meta = Meta -@typing.final class Input(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor HEADER_FIELD_NUMBER: builtins.int NAME_FIELD_NUMBER: builtins.int ARGS_FIELD_NUMBER: builtins.int - name: builtins.str - """The name of the Update handler to invoke on the target Workflow.""" @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the Update from the requesting entity. These can include things like auth or tracing tokens. """ - + name: builtins.str + """The name of the Update handler to invoke on the target Workflow.""" @property def args(self) -> temporalio.api.common.v1.message_pb2.Payloads: """The arguments to pass to the named Update handler.""" - def __init__( self, *, @@ -168,18 +166,18 @@ class Input(google.protobuf.message.Message): args: temporalio.api.common.v1.message_pb2.Payloads | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["args", b"args", "header", b"header"] + self, + field_name: typing_extensions.Literal["args", b"args", "header", b"header"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "args", b"args", "header", b"header", "name", b"name" ], ) -> None: ... -Global___Input: typing_extensions.TypeAlias = Input +global___Input = Input -@typing.final class Request(google.protobuf.message.Message): """The client request that triggers a Workflow Update.""" @@ -190,12 +188,12 @@ class Request(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int COMPLETION_CALLBACKS_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int - request_id: builtins.str - """The request ID of the request.""" @property - def meta(self) -> Global___Meta: ... + def meta(self) -> global___Meta: ... @property - def input(self) -> Global___Input: ... + def input(self) -> global___Input: ... + request_id: builtins.str + """The request ID of the request.""" @property def completion_callbacks( self, @@ -203,7 +201,6 @@ class Request(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Callback ]: """Callbacks to be called by the server when this update reaches a terminal state.""" - @property def links( self, @@ -211,12 +208,11 @@ class Request(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with this update.""" - def __init__( self, *, - meta: Global___Meta | None = ..., - input: Global___Input | None = ..., + meta: global___Meta | None = ..., + input: global___Input | None = ..., request_id: builtins.str = ..., completion_callbacks: collections.abc.Iterable[ temporalio.api.common.v1.message_pb2.Callback @@ -226,11 +222,11 @@ class Request(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["input", b"input", "meta", b"meta"] + self, field_name: typing_extensions.Literal["input", b"input", "meta", b"meta"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "completion_callbacks", b"completion_callbacks", "input", @@ -244,9 +240,8 @@ class Request(google.protobuf.message.Message): ], ) -> None: ... -Global___Request: typing_extensions.TypeAlias = Request +global___Request = Request -@typing.final class Rejection(google.protobuf.message.Message): """An Update protocol message indicating that a Workflow Update has been rejected.""" @@ -259,7 +254,7 @@ class Rejection(google.protobuf.message.Message): rejected_request_message_id: builtins.str rejected_request_sequencing_event_id: builtins.int @property - def rejected_request(self) -> Global___Request: ... + def rejected_request(self) -> global___Request: ... @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... def __init__( @@ -267,18 +262,18 @@ class Rejection(google.protobuf.message.Message): *, rejected_request_message_id: builtins.str = ..., rejected_request_sequencing_event_id: builtins.int = ..., - rejected_request: Global___Request | None = ..., + rejected_request: global___Request | None = ..., failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "rejected_request", b"rejected_request" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "rejected_request", @@ -290,9 +285,8 @@ class Rejection(google.protobuf.message.Message): ], ) -> None: ... -Global___Rejection: typing_extensions.TypeAlias = Rejection +global___Rejection = Rejection -@typing.final class Acceptance(google.protobuf.message.Message): """An Update protocol message indicating that a Workflow Update has been accepted (i.e. passed the worker-side validation phase). @@ -306,20 +300,21 @@ class Acceptance(google.protobuf.message.Message): accepted_request_message_id: builtins.str accepted_request_sequencing_event_id: builtins.int @property - def accepted_request(self) -> Global___Request: ... + def accepted_request(self) -> global___Request: ... def __init__( self, *, accepted_request_message_id: builtins.str = ..., accepted_request_sequencing_event_id: builtins.int = ..., - accepted_request: Global___Request | None = ..., + accepted_request: global___Request | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["accepted_request", b"accepted_request"] + self, + field_name: typing_extensions.Literal["accepted_request", b"accepted_request"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "accepted_request", b"accepted_request", "accepted_request_message_id", @@ -329,9 +324,8 @@ class Acceptance(google.protobuf.message.Message): ], ) -> None: ... -Global___Acceptance: typing_extensions.TypeAlias = Acceptance +global___Acceptance = Acceptance -@typing.final class Response(google.protobuf.message.Message): """An Update protocol message indicating that a Workflow Update has completed with the contained outcome. @@ -342,20 +336,22 @@ class Response(google.protobuf.message.Message): META_FIELD_NUMBER: builtins.int OUTCOME_FIELD_NUMBER: builtins.int @property - def meta(self) -> Global___Meta: ... + def meta(self) -> global___Meta: ... @property - def outcome(self) -> Global___Outcome: ... + def outcome(self) -> global___Outcome: ... def __init__( self, *, - meta: Global___Meta | None = ..., - outcome: Global___Outcome | None = ..., + meta: global___Meta | None = ..., + outcome: global___Outcome | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["meta", b"meta", "outcome", b"outcome"] + self, + field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["meta", b"meta", "outcome", b"outcome"] + self, + field_name: typing_extensions.Literal["meta", b"meta", "outcome", b"outcome"], ) -> None: ... -Global___Response: typing_extensions.TypeAlias = Response +global___Response = Response diff --git a/temporalio/api/version/v1/message_pb2.py b/temporalio/api/version/v1/message_pb2.py index 6dc3bab01..e17a3ed9f 100644 --- a/temporalio/api/version/v1/message_pb2.py +++ b/temporalio/api/version/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/version/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/version/v1/message.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -34,20 +24,50 @@ b'\n%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"temporal/api/enums/v1/common.proto"_\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x30\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05notes\x18\x03 \x01(\t"K\n\x05\x41lert\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x31\n\x08severity\x18\x02 \x01(\x0e\x32\x1f.temporal.api.enums.v1.Severity"\xfb\x01\n\x0bVersionInfo\x12\x35\n\x07\x63urrent\x18\x01 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x39\n\x0brecommended\x18\x02 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12.\n\x06\x61lerts\x18\x04 \x03(\x0b\x32\x1e.temporal.api.version.v1.Alert\x12\x34\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x8e\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.version.v1.message_pb2", _globals + +_RELEASEINFO = DESCRIPTOR.message_types_by_name["ReleaseInfo"] +_ALERT = DESCRIPTOR.message_types_by_name["Alert"] +_VERSIONINFO = DESCRIPTOR.message_types_by_name["VersionInfo"] +ReleaseInfo = _reflection.GeneratedProtocolMessageType( + "ReleaseInfo", + (_message.Message,), + { + "DESCRIPTOR": _RELEASEINFO, + "__module__": "temporalio.api.version.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.ReleaseInfo) + }, +) +_sym_db.RegisterMessage(ReleaseInfo) + +Alert = _reflection.GeneratedProtocolMessageType( + "Alert", + (_message.Message,), + { + "DESCRIPTOR": _ALERT, + "__module__": "temporalio.api.version.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.Alert) + }, +) +_sym_db.RegisterMessage(Alert) + +VersionInfo = _reflection.GeneratedProtocolMessageType( + "VersionInfo", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONINFO, + "__module__": "temporalio.api.version.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.version.v1.VersionInfo) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1" - _globals["_RELEASEINFO"]._serialized_start = 135 - _globals["_RELEASEINFO"]._serialized_end = 230 - _globals["_ALERT"]._serialized_start = 232 - _globals["_ALERT"]._serialized_end = 307 - _globals["_VERSIONINFO"]._serialized_start = 310 - _globals["_VERSIONINFO"]._serialized_end = 561 +_sym_db.RegisterMessage(VersionInfo) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\032io.temporal.api.version.v1B\014MessageProtoP\001Z%go.temporal.io/api/version/v1;version\252\002\031Temporalio.Api.Version.V1\352\002\034Temporalio::Api::Version::V1" + _RELEASEINFO._serialized_start = 135 + _RELEASEINFO._serialized_end = 230 + _ALERT._serialized_start = 232 + _ALERT._serialized_end = 307 + _VERSIONINFO._serialized_start = 310 + _VERSIONINFO._serialized_end = 561 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/version/v1/message_pb2.pyi b/temporalio/api/version/v1/message_pb2.pyi index a8911bcb4..dc481aeda 100644 --- a/temporalio/api/version/v1/message_pb2.pyi +++ b/temporalio/api/version/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -15,14 +14,13 @@ import google.protobuf.timestamp_pb2 import temporalio.api.enums.v1.common_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ReleaseInfo(google.protobuf.message.Message): """ReleaseInfo contains information about specific version of temporal.""" @@ -32,9 +30,9 @@ class ReleaseInfo(google.protobuf.message.Message): RELEASE_TIME_FIELD_NUMBER: builtins.int NOTES_FIELD_NUMBER: builtins.int version: builtins.str - notes: builtins.str @property def release_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + notes: builtins.str def __init__( self, *, @@ -43,18 +41,17 @@ class ReleaseInfo(google.protobuf.message.Message): notes: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["release_time", b"release_time"] + self, field_name: typing_extensions.Literal["release_time", b"release_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "notes", b"notes", "release_time", b"release_time", "version", b"version" ], ) -> None: ... -Global___ReleaseInfo: typing_extensions.TypeAlias = ReleaseInfo +global___ReleaseInfo = ReleaseInfo -@typing.final class Alert(google.protobuf.message.Message): """Alert contains notification and severity.""" @@ -71,12 +68,14 @@ class Alert(google.protobuf.message.Message): severity: temporalio.api.enums.v1.common_pb2.Severity.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["message", b"message", "severity", b"severity"] + self, + field_name: typing_extensions.Literal[ + "message", b"message", "severity", b"severity" + ], ) -> None: ... -Global___Alert: typing_extensions.TypeAlias = Alert +global___Alert = Alert -@typing.final class VersionInfo(google.protobuf.message.Message): """VersionInfo contains details about current and recommended release versions as well as alerts and upgrade instructions.""" @@ -87,31 +86,31 @@ class VersionInfo(google.protobuf.message.Message): INSTRUCTIONS_FIELD_NUMBER: builtins.int ALERTS_FIELD_NUMBER: builtins.int LAST_UPDATE_TIME_FIELD_NUMBER: builtins.int - instructions: builtins.str @property - def current(self) -> Global___ReleaseInfo: ... + def current(self) -> global___ReleaseInfo: ... @property - def recommended(self) -> Global___ReleaseInfo: ... + def recommended(self) -> global___ReleaseInfo: ... + instructions: builtins.str @property def alerts( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___Alert + global___Alert ]: ... @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( self, *, - current: Global___ReleaseInfo | None = ..., - recommended: Global___ReleaseInfo | None = ..., + current: global___ReleaseInfo | None = ..., + recommended: global___ReleaseInfo | None = ..., instructions: builtins.str = ..., - alerts: collections.abc.Iterable[Global___Alert] | None = ..., + alerts: collections.abc.Iterable[global___Alert] | None = ..., last_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current", b"current", "last_update_time", @@ -122,7 +121,7 @@ class VersionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "alerts", b"alerts", "current", @@ -136,4 +135,4 @@ class VersionInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___VersionInfo: typing_extensions.TypeAlias = VersionInfo +global___VersionInfo = VersionInfo diff --git a/temporalio/api/worker/v1/message_pb2.py b/temporalio/api/worker/v1/message_pb2.py index 54c2f6b97..4de9c5b24 100644 --- a/temporalio/api/worker/v1/message_pb2.py +++ b/temporalio/api/worker/v1/message_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/worker/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/api/worker/v1/message.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -33,38 +28,176 @@ b'\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a"temporal/api/enums/v1/common.proto"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05"\x94\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02"\x8b\n\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\x18 \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\xec\x03\n\x0eWorkerListInfo\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x05 \x01(\t\x12\x13\n\x0bsdk_version\x18\x06 \x01(\t\x12\x33\n\x06status\x18\x07 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\thost_name\x18\t \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\n \x01(\t\x12\x12\n\nprocess_id\x18\x0b \x01(\t\x12\x33\n\x07plugins\x18\x0c \x03(\x0b\x32".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\r \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t"!\n\x11StorageDriverInfo\x12\x0c\n\x04type\x18\x01 \x01(\t"a\n\rWorkerCommand\x12H\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32-.temporal.api.worker.v1.CancelActivityCommandH\x00\x42\x06\n\x04type"+\n\x15\x43\x61ncelActivityCommand\x12\x12\n\ntask_token\x18\x01 \x01(\x0c"f\n\x13WorkerCommandResult\x12G\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32,.temporal.api.worker.v1.CancelActivityResultH\x00\x42\x06\n\x04type"\x16\n\x14\x43\x61ncelActivityResultB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.worker.v1.message_pb2", _globals + +_WORKERPOLLERINFO = DESCRIPTOR.message_types_by_name["WorkerPollerInfo"] +_WORKERSLOTSINFO = DESCRIPTOR.message_types_by_name["WorkerSlotsInfo"] +_WORKERHOSTINFO = DESCRIPTOR.message_types_by_name["WorkerHostInfo"] +_WORKERHEARTBEAT = DESCRIPTOR.message_types_by_name["WorkerHeartbeat"] +_WORKERINFO = DESCRIPTOR.message_types_by_name["WorkerInfo"] +_WORKERLISTINFO = DESCRIPTOR.message_types_by_name["WorkerListInfo"] +_PLUGININFO = DESCRIPTOR.message_types_by_name["PluginInfo"] +_STORAGEDRIVERINFO = DESCRIPTOR.message_types_by_name["StorageDriverInfo"] +_WORKERCOMMAND = DESCRIPTOR.message_types_by_name["WorkerCommand"] +_CANCELACTIVITYCOMMAND = DESCRIPTOR.message_types_by_name["CancelActivityCommand"] +_WORKERCOMMANDRESULT = DESCRIPTOR.message_types_by_name["WorkerCommandResult"] +_CANCELACTIVITYRESULT = DESCRIPTOR.message_types_by_name["CancelActivityResult"] +WorkerPollerInfo = _reflection.GeneratedProtocolMessageType( + "WorkerPollerInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERPOLLERINFO, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerPollerInfo) + }, +) +_sym_db.RegisterMessage(WorkerPollerInfo) + +WorkerSlotsInfo = _reflection.GeneratedProtocolMessageType( + "WorkerSlotsInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERSLOTSINFO, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerSlotsInfo) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1" - _globals["_WORKERPOLLERINFO"]._serialized_start = 208 - _globals["_WORKERPOLLERINFO"]._serialized_end = 338 - _globals["_WORKERSLOTSINFO"]._serialized_start = 341 - _globals["_WORKERSLOTSINFO"]._serialized_end = 582 - _globals["_WORKERHOSTINFO"]._serialized_start = 585 - _globals["_WORKERHOSTINFO"]._serialized_end = 733 - _globals["_WORKERHEARTBEAT"]._serialized_start = 736 - _globals["_WORKERHEARTBEAT"]._serialized_end = 2027 - _globals["_WORKERINFO"]._serialized_start = 2029 - _globals["_WORKERINFO"]._serialized_end = 2108 - _globals["_WORKERLISTINFO"]._serialized_start = 2111 - _globals["_WORKERLISTINFO"]._serialized_end = 2603 - _globals["_PLUGININFO"]._serialized_start = 2605 - _globals["_PLUGININFO"]._serialized_end = 2648 - _globals["_STORAGEDRIVERINFO"]._serialized_start = 2650 - _globals["_STORAGEDRIVERINFO"]._serialized_end = 2683 - _globals["_WORKERCOMMAND"]._serialized_start = 2685 - _globals["_WORKERCOMMAND"]._serialized_end = 2782 - _globals["_CANCELACTIVITYCOMMAND"]._serialized_start = 2784 - _globals["_CANCELACTIVITYCOMMAND"]._serialized_end = 2827 - _globals["_WORKERCOMMANDRESULT"]._serialized_start = 2829 - _globals["_WORKERCOMMANDRESULT"]._serialized_end = 2931 - _globals["_CANCELACTIVITYRESULT"]._serialized_start = 2933 - _globals["_CANCELACTIVITYRESULT"]._serialized_end = 2955 +_sym_db.RegisterMessage(WorkerSlotsInfo) + +WorkerHostInfo = _reflection.GeneratedProtocolMessageType( + "WorkerHostInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERHOSTINFO, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHostInfo) + }, +) +_sym_db.RegisterMessage(WorkerHostInfo) + +WorkerHeartbeat = _reflection.GeneratedProtocolMessageType( + "WorkerHeartbeat", + (_message.Message,), + { + "DESCRIPTOR": _WORKERHEARTBEAT, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerHeartbeat) + }, +) +_sym_db.RegisterMessage(WorkerHeartbeat) + +WorkerInfo = _reflection.GeneratedProtocolMessageType( + "WorkerInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERINFO, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerInfo) + }, +) +_sym_db.RegisterMessage(WorkerInfo) + +WorkerListInfo = _reflection.GeneratedProtocolMessageType( + "WorkerListInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKERLISTINFO, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerListInfo) + }, +) +_sym_db.RegisterMessage(WorkerListInfo) + +PluginInfo = _reflection.GeneratedProtocolMessageType( + "PluginInfo", + (_message.Message,), + { + "DESCRIPTOR": _PLUGININFO, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.PluginInfo) + }, +) +_sym_db.RegisterMessage(PluginInfo) + +StorageDriverInfo = _reflection.GeneratedProtocolMessageType( + "StorageDriverInfo", + (_message.Message,), + { + "DESCRIPTOR": _STORAGEDRIVERINFO, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.StorageDriverInfo) + }, +) +_sym_db.RegisterMessage(StorageDriverInfo) + +WorkerCommand = _reflection.GeneratedProtocolMessageType( + "WorkerCommand", + (_message.Message,), + { + "DESCRIPTOR": _WORKERCOMMAND, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerCommand) + }, +) +_sym_db.RegisterMessage(WorkerCommand) + +CancelActivityCommand = _reflection.GeneratedProtocolMessageType( + "CancelActivityCommand", + (_message.Message,), + { + "DESCRIPTOR": _CANCELACTIVITYCOMMAND, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.CancelActivityCommand) + }, +) +_sym_db.RegisterMessage(CancelActivityCommand) + +WorkerCommandResult = _reflection.GeneratedProtocolMessageType( + "WorkerCommandResult", + (_message.Message,), + { + "DESCRIPTOR": _WORKERCOMMANDRESULT, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.WorkerCommandResult) + }, +) +_sym_db.RegisterMessage(WorkerCommandResult) + +CancelActivityResult = _reflection.GeneratedProtocolMessageType( + "CancelActivityResult", + (_message.Message,), + { + "DESCRIPTOR": _CANCELACTIVITYRESULT, + "__module__": "temporalio.api.worker.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.worker.v1.CancelActivityResult) + }, +) +_sym_db.RegisterMessage(CancelActivityResult) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\031io.temporal.api.worker.v1B\014MessageProtoP\001Z#go.temporal.io/api/worker/v1;worker\252\002\030Temporalio.Api.Worker.V1\352\002\033Temporalio::Api::Worker::V1" + _WORKERPOLLERINFO._serialized_start = 208 + _WORKERPOLLERINFO._serialized_end = 338 + _WORKERSLOTSINFO._serialized_start = 341 + _WORKERSLOTSINFO._serialized_end = 582 + _WORKERHOSTINFO._serialized_start = 585 + _WORKERHOSTINFO._serialized_end = 733 + _WORKERHEARTBEAT._serialized_start = 736 + _WORKERHEARTBEAT._serialized_end = 2027 + _WORKERINFO._serialized_start = 2029 + _WORKERINFO._serialized_end = 2108 + _WORKERLISTINFO._serialized_start = 2111 + _WORKERLISTINFO._serialized_end = 2603 + _PLUGININFO._serialized_start = 2605 + _PLUGININFO._serialized_end = 2648 + _STORAGEDRIVERINFO._serialized_start = 2650 + _STORAGEDRIVERINFO._serialized_end = 2683 + _WORKERCOMMAND._serialized_start = 2685 + _WORKERCOMMAND._serialized_end = 2782 + _CANCELACTIVITYCOMMAND._serialized_start = 2784 + _CANCELACTIVITYCOMMAND._serialized_end = 2827 + _WORKERCOMMANDRESULT._serialized_start = 2829 + _WORKERCOMMANDRESULT._serialized_end = 2931 + _CANCELACTIVITYRESULT._serialized_start = 2933 + _CANCELACTIVITYRESULT._serialized_end = 2955 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/worker/v1/message_pb2.pyi b/temporalio/api/worker/v1/message_pb2.pyi index b385f1395..f78916ed5 100644 --- a/temporalio/api/worker/v1/message_pb2.pyi +++ b/temporalio/api/worker/v1/message_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -17,14 +16,13 @@ import google.protobuf.timestamp_pb2 import temporalio.api.deployment.v1.message_pb2 import temporalio.api.enums.v1.common_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkerPollerInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -33,10 +31,10 @@ class WorkerPollerInfo(google.protobuf.message.Message): IS_AUTOSCALING_FIELD_NUMBER: builtins.int current_pollers: builtins.int """Number of polling RPCs that are currently in flight.""" - is_autoscaling: builtins.bool - """Set true if the number of concurrent pollers is auto-scaled""" @property def last_successful_poll_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + is_autoscaling: builtins.bool + """Set true if the number of concurrent pollers is auto-scaled""" def __init__( self, *, @@ -46,13 +44,13 @@ class WorkerPollerInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_successful_poll_time", b"last_successful_poll_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_pollers", b"current_pollers", "is_autoscaling", @@ -62,9 +60,8 @@ class WorkerPollerInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerPollerInfo: typing_extensions.TypeAlias = WorkerPollerInfo +global___WorkerPollerInfo = WorkerPollerInfo -@typing.final class WorkerSlotsInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -111,7 +108,7 @@ class WorkerSlotsInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_available_slots", b"current_available_slots", "current_used_slots", @@ -129,9 +126,8 @@ class WorkerSlotsInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerSlotsInfo: typing_extensions.TypeAlias = WorkerSlotsInfo +global___WorkerSlotsInfo = WorkerSlotsInfo -@typing.final class WorkerHostInfo(google.protobuf.message.Message): """Holds everything needed to identify the worker host/process context""" @@ -172,7 +168,7 @@ class WorkerHostInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_host_cpu_usage", b"current_host_cpu_usage", "current_host_mem_usage", @@ -186,9 +182,8 @@ class WorkerHostInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerHostInfo: typing_extensions.TypeAlias = WorkerHostInfo +global___WorkerHostInfo = WorkerHostInfo -@typing.final class WorkerHeartbeat(google.protobuf.message.Message): """Worker info message, contains information about the worker and its current state. All information is provided by the worker itself. @@ -230,80 +225,74 @@ class WorkerHeartbeat(google.protobuf.message.Message): """Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user. """ - task_queue: builtins.str - """Task queue this worker is polling for tasks.""" - sdk_name: builtins.str - sdk_version: builtins.str - status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType - """Worker status. Defined by SDK.""" - total_sticky_cache_hit: builtins.int - """A Workflow Task found a cached Workflow Execution to run against.""" - total_sticky_cache_miss: builtins.int - """A Workflow Task did not find a cached Workflow execution to run against.""" - current_sticky_cache_size: builtins.int - """Current cache size, expressed in number of Workflow Executions.""" @property - def host_info(self) -> Global___WorkerHostInfo: + def host_info(self) -> global___WorkerHostInfo: """Worker host information.""" - + task_queue: builtins.str + """Task queue this worker is polling for tasks.""" @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... + sdk_name: builtins.str + sdk_version: builtins.str + status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType + """Worker status. Defined by SDK.""" @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Worker start time. It can be used to determine worker uptime. (current time - start time) """ - @property def heartbeat_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Timestamp of this heartbeat, coming from the worker. Worker should set it to "now". Note that this timestamp comes directly from the worker and is subject to workers' clock skew. """ - @property def elapsed_since_last_heartbeat(self) -> google.protobuf.duration_pb2.Duration: """Elapsed time since the last heartbeat from the worker.""" - @property - def workflow_task_slots_info(self) -> Global___WorkerSlotsInfo: ... + def workflow_task_slots_info(self) -> global___WorkerSlotsInfo: ... @property - def activity_task_slots_info(self) -> Global___WorkerSlotsInfo: ... + def activity_task_slots_info(self) -> global___WorkerSlotsInfo: ... @property - def nexus_task_slots_info(self) -> Global___WorkerSlotsInfo: ... + def nexus_task_slots_info(self) -> global___WorkerSlotsInfo: ... @property - def local_activity_slots_info(self) -> Global___WorkerSlotsInfo: ... + def local_activity_slots_info(self) -> global___WorkerSlotsInfo: ... @property - def workflow_poller_info(self) -> Global___WorkerPollerInfo: ... + def workflow_poller_info(self) -> global___WorkerPollerInfo: ... @property - def workflow_sticky_poller_info(self) -> Global___WorkerPollerInfo: ... + def workflow_sticky_poller_info(self) -> global___WorkerPollerInfo: ... @property - def activity_poller_info(self) -> Global___WorkerPollerInfo: ... + def activity_poller_info(self) -> global___WorkerPollerInfo: ... @property - def nexus_poller_info(self) -> Global___WorkerPollerInfo: ... + def nexus_poller_info(self) -> global___WorkerPollerInfo: ... + total_sticky_cache_hit: builtins.int + """A Workflow Task found a cached Workflow Execution to run against.""" + total_sticky_cache_miss: builtins.int + """A Workflow Task did not find a cached Workflow execution to run against.""" + current_sticky_cache_size: builtins.int + """Current cache size, expressed in number of Workflow Executions.""" @property def plugins( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___PluginInfo + global___PluginInfo ]: """Plugins currently in use by this SDK.""" - @property def drivers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___StorageDriverInfo + global___StorageDriverInfo ]: """Storage drivers in use by this SDK.""" - def __init__( self, *, worker_instance_key: builtins.str = ..., worker_identity: builtins.str = ..., - host_info: Global___WorkerHostInfo | None = ..., + host_info: global___WorkerHostInfo | None = ..., task_queue: builtins.str = ..., deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., @@ -314,23 +303,23 @@ class WorkerHeartbeat(google.protobuf.message.Message): heartbeat_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., elapsed_since_last_heartbeat: google.protobuf.duration_pb2.Duration | None = ..., - workflow_task_slots_info: Global___WorkerSlotsInfo | None = ..., - activity_task_slots_info: Global___WorkerSlotsInfo | None = ..., - nexus_task_slots_info: Global___WorkerSlotsInfo | None = ..., - local_activity_slots_info: Global___WorkerSlotsInfo | None = ..., - workflow_poller_info: Global___WorkerPollerInfo | None = ..., - workflow_sticky_poller_info: Global___WorkerPollerInfo | None = ..., - activity_poller_info: Global___WorkerPollerInfo | None = ..., - nexus_poller_info: Global___WorkerPollerInfo | None = ..., + workflow_task_slots_info: global___WorkerSlotsInfo | None = ..., + activity_task_slots_info: global___WorkerSlotsInfo | None = ..., + nexus_task_slots_info: global___WorkerSlotsInfo | None = ..., + local_activity_slots_info: global___WorkerSlotsInfo | None = ..., + workflow_poller_info: global___WorkerPollerInfo | None = ..., + workflow_sticky_poller_info: global___WorkerPollerInfo | None = ..., + activity_poller_info: global___WorkerPollerInfo | None = ..., + nexus_poller_info: global___WorkerPollerInfo | None = ..., total_sticky_cache_hit: builtins.int = ..., total_sticky_cache_miss: builtins.int = ..., current_sticky_cache_size: builtins.int = ..., - plugins: collections.abc.Iterable[Global___PluginInfo] | None = ..., - drivers: collections.abc.Iterable[Global___StorageDriverInfo] | None = ..., + plugins: collections.abc.Iterable[global___PluginInfo] | None = ..., + drivers: collections.abc.Iterable[global___StorageDriverInfo] | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_poller_info", b"activity_poller_info", "activity_task_slots_info", @@ -361,7 +350,7 @@ class WorkerHeartbeat(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_poller_info", b"activity_poller_info", "activity_task_slots_info", @@ -413,9 +402,8 @@ class WorkerHeartbeat(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerHeartbeat: typing_extensions.TypeAlias = WorkerHeartbeat +global___WorkerHeartbeat = WorkerHeartbeat -@typing.final class WorkerInfo(google.protobuf.message.Message): """Detailed worker information.""" @@ -423,22 +411,23 @@ class WorkerInfo(google.protobuf.message.Message): WORKER_HEARTBEAT_FIELD_NUMBER: builtins.int @property - def worker_heartbeat(self) -> Global___WorkerHeartbeat: ... + def worker_heartbeat(self) -> global___WorkerHeartbeat: ... def __init__( self, *, - worker_heartbeat: Global___WorkerHeartbeat | None = ..., + worker_heartbeat: global___WorkerHeartbeat | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["worker_heartbeat", b"worker_heartbeat"] + self, + field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["worker_heartbeat", b"worker_heartbeat"] + self, + field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], ) -> None: ... -Global___WorkerInfo: typing_extensions.TypeAlias = WorkerInfo +global___WorkerInfo = WorkerInfo -@typing.final class WorkerListInfo(google.protobuf.message.Message): """Limited worker information returned in the list response. When adding fields here, ensure that it is also added to WorkerInfo (as it carries the full worker information). @@ -469,10 +458,19 @@ class WorkerListInfo(google.protobuf.message.Message): """ task_queue: builtins.str """Task queue this worker is polling for tasks.""" + @property + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... sdk_name: builtins.str sdk_version: builtins.str status: temporalio.api.enums.v1.common_pb2.WorkerStatus.ValueType """Worker status. Defined by SDK.""" + @property + def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Worker start time. + It can be used to determine worker uptime. (current time - start time) + """ host_name: builtins.str """Worker host identifier.""" worker_grouping_key: builtins.str @@ -484,32 +482,20 @@ class WorkerListInfo(google.protobuf.message.Message): """Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate). """ - @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: ... - @property - def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Worker start time. - It can be used to determine worker uptime. (current time - start time) - """ - @property def plugins( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___PluginInfo + global___PluginInfo ]: """Plugins currently in use by this SDK.""" - @property def drivers( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___StorageDriverInfo + global___StorageDriverInfo ]: """Storage drivers in use by this SDK.""" - def __init__( self, *, @@ -525,18 +511,18 @@ class WorkerListInfo(google.protobuf.message.Message): host_name: builtins.str = ..., worker_grouping_key: builtins.str = ..., process_id: builtins.str = ..., - plugins: collections.abc.Iterable[Global___PluginInfo] | None = ..., - drivers: collections.abc.Iterable[Global___StorageDriverInfo] | None = ..., + plugins: collections.abc.Iterable[global___PluginInfo] | None = ..., + drivers: collections.abc.Iterable[global___StorageDriverInfo] | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version", b"deployment_version", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version", b"deployment_version", "drivers", @@ -566,9 +552,8 @@ class WorkerListInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkerListInfo: typing_extensions.TypeAlias = WorkerListInfo +global___WorkerListInfo = WorkerListInfo -@typing.final class PluginInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -585,12 +570,12 @@ class PluginInfo(google.protobuf.message.Message): version: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["name", b"name", "version", b"version"] + self, + field_name: typing_extensions.Literal["name", b"name", "version", b"version"], ) -> None: ... -Global___PluginInfo: typing_extensions.TypeAlias = PluginInfo +global___PluginInfo = PluginInfo -@typing.final class StorageDriverInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -602,11 +587,12 @@ class StorageDriverInfo(google.protobuf.message.Message): *, type: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["type", b"type"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["type", b"type"] + ) -> None: ... -Global___StorageDriverInfo: typing_extensions.TypeAlias = StorageDriverInfo +global___StorageDriverInfo = StorageDriverInfo -@typing.final class WorkerCommand(google.protobuf.message.Message): """A command sent from the server to a worker.""" @@ -614,31 +600,30 @@ class WorkerCommand(google.protobuf.message.Message): CANCEL_ACTIVITY_FIELD_NUMBER: builtins.int @property - def cancel_activity(self) -> Global___CancelActivityCommand: ... + def cancel_activity(self) -> global___CancelActivityCommand: ... def __init__( self, *, - cancel_activity: Global___CancelActivityCommand | None = ..., + cancel_activity: global___CancelActivityCommand | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["type", b"type"] - ) -> typing.Literal["cancel_activity"] | None: ... + self, oneof_group: typing_extensions.Literal["type", b"type"] + ) -> typing_extensions.Literal["cancel_activity"] | None: ... -Global___WorkerCommand: typing_extensions.TypeAlias = WorkerCommand +global___WorkerCommand = WorkerCommand -@typing.final class CancelActivityCommand(google.protobuf.message.Message): """Cancel an activity if it is still running. Otherwise, do nothing.""" @@ -652,12 +637,11 @@ class CancelActivityCommand(google.protobuf.message.Message): task_token: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["task_token", b"task_token"] + self, field_name: typing_extensions.Literal["task_token", b"task_token"] ) -> None: ... -Global___CancelActivityCommand: typing_extensions.TypeAlias = CancelActivityCommand +global___CancelActivityCommand = CancelActivityCommand -@typing.final class WorkerCommandResult(google.protobuf.message.Message): """The result of executing a WorkerCommand.""" @@ -665,31 +649,30 @@ class WorkerCommandResult(google.protobuf.message.Message): CANCEL_ACTIVITY_FIELD_NUMBER: builtins.int @property - def cancel_activity(self) -> Global___CancelActivityResult: ... + def cancel_activity(self) -> global___CancelActivityResult: ... def __init__( self, *, - cancel_activity: Global___CancelActivityResult | None = ..., + cancel_activity: global___CancelActivityResult | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_activity", b"cancel_activity", "type", b"type" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["type", b"type"] - ) -> typing.Literal["cancel_activity"] | None: ... + self, oneof_group: typing_extensions.Literal["type", b"type"] + ) -> typing_extensions.Literal["cancel_activity"] | None: ... -Global___WorkerCommandResult: typing_extensions.TypeAlias = WorkerCommandResult +global___WorkerCommandResult = WorkerCommandResult -@typing.final class CancelActivityResult(google.protobuf.message.Message): """Result of a CancelActivityCommand. Treat both successful cancellation and no-op (activity is no longer running) as success. @@ -701,4 +684,4 @@ class CancelActivityResult(google.protobuf.message.Message): self, ) -> None: ... -Global___CancelActivityResult: typing_extensions.TypeAlias = CancelActivityResult +global___CancelActivityResult = CancelActivityResult diff --git a/temporalio/api/workflow/v1/message_pb2.py b/temporalio/api/workflow/v1/message_pb2.py index c4b5ccf61..24a9f03e2 100644 --- a/temporalio/api/workflow/v1/message_pb2.py +++ b/temporalio/api/workflow/v1/message_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/workflow/v1/message.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/workflow/v1/message.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -61,186 +51,552 @@ b'\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto"\xf0\t\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12#\n\x1b\x65xternal_payload_size_bytes\x18\x19 \x01(\x03\x12\x1e\n\x16\x65xternal_payload_count\x18\x1a \x01(\x03"\xc6\x04\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x12H\n\npause_info\x18\x08 \x01(\x0b\x32\x34.temporal.api.workflow.v1.WorkflowExecutionPauseInfo\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01"\xfb\x04\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\x12\x17\n\x0frevision_number\x18\x08 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\t \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata"\xbd\r\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority"\x82\x06\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x35\n UpdateWorkflowExecutionCompleted\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x1a\xde\x01\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x12v\n#update_workflow_execution_completed\x18\x02 \x01(\x0b\x32G.temporal.api.workflow.v1.CallbackInfo.UpdateWorkflowExecutionCompletedH\x00\x42\t\n\x07variant"\x8b\x06\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t"\xe3\x01\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x03 \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig"\xfa\x05\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12P\n\x08one_time\x18\x05 \x01(\x0b\x32<.temporal.api.workflow.v1.VersioningOverride.OneTimeOverrideH\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x1ai\n\x0fOneTimeOverride\x12V\n\x19target_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variant"o\n\x1aWorkflowExecutionPauseInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\x12/\n\x0bpaused_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.workflow.v1.message_pb2", _globals + +_WORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["WorkflowExecutionInfo"] +_WORKFLOWEXECUTIONEXTENDEDINFO = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionExtendedInfo" +] +_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY = ( + _WORKFLOWEXECUTIONEXTENDEDINFO.nested_types_by_name["RequestIdInfosEntry"] +) +_WORKFLOWEXECUTIONVERSIONINGINFO = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionVersioningInfo" +] +_DEPLOYMENTTRANSITION = DESCRIPTOR.message_types_by_name["DeploymentTransition"] +_DEPLOYMENTVERSIONTRANSITION = DESCRIPTOR.message_types_by_name[ + "DeploymentVersionTransition" +] +_WORKFLOWEXECUTIONCONFIG = DESCRIPTOR.message_types_by_name["WorkflowExecutionConfig"] +_PENDINGACTIVITYINFO = DESCRIPTOR.message_types_by_name["PendingActivityInfo"] +_PENDINGACTIVITYINFO_PAUSEINFO = _PENDINGACTIVITYINFO.nested_types_by_name["PauseInfo"] +_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL = ( + _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Manual"] +) +_PENDINGACTIVITYINFO_PAUSEINFO_RULE = ( + _PENDINGACTIVITYINFO_PAUSEINFO.nested_types_by_name["Rule"] +) +_PENDINGCHILDEXECUTIONINFO = DESCRIPTOR.message_types_by_name[ + "PendingChildExecutionInfo" +] +_PENDINGWORKFLOWTASKINFO = DESCRIPTOR.message_types_by_name["PendingWorkflowTaskInfo"] +_RESETPOINTS = DESCRIPTOR.message_types_by_name["ResetPoints"] +_RESETPOINTINFO = DESCRIPTOR.message_types_by_name["ResetPointInfo"] +_NEWWORKFLOWEXECUTIONINFO = DESCRIPTOR.message_types_by_name["NewWorkflowExecutionInfo"] +_CALLBACKINFO = DESCRIPTOR.message_types_by_name["CallbackInfo"] +_CALLBACKINFO_WORKFLOWCLOSED = _CALLBACKINFO.nested_types_by_name["WorkflowClosed"] +_CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED = _CALLBACKINFO.nested_types_by_name[ + "UpdateWorkflowExecutionCompleted" +] +_CALLBACKINFO_TRIGGER = _CALLBACKINFO.nested_types_by_name["Trigger"] +_PENDINGNEXUSOPERATIONINFO = DESCRIPTOR.message_types_by_name[ + "PendingNexusOperationInfo" +] +_NEXUSOPERATIONCANCELLATIONINFO = DESCRIPTOR.message_types_by_name[ + "NexusOperationCancellationInfo" +] +_WORKFLOWEXECUTIONOPTIONS = DESCRIPTOR.message_types_by_name["WorkflowExecutionOptions"] +_VERSIONINGOVERRIDE = DESCRIPTOR.message_types_by_name["VersioningOverride"] +_VERSIONINGOVERRIDE_PINNEDOVERRIDE = _VERSIONINGOVERRIDE.nested_types_by_name[ + "PinnedOverride" +] +_VERSIONINGOVERRIDE_ONETIMEOVERRIDE = _VERSIONINGOVERRIDE.nested_types_by_name[ + "OneTimeOverride" +] +_ONCONFLICTOPTIONS = DESCRIPTOR.message_types_by_name["OnConflictOptions"] +_REQUESTIDINFO = DESCRIPTOR.message_types_by_name["RequestIdInfo"] +_POSTRESETOPERATION = DESCRIPTOR.message_types_by_name["PostResetOperation"] +_POSTRESETOPERATION_SIGNALWORKFLOW = _POSTRESETOPERATION.nested_types_by_name[ + "SignalWorkflow" +] +_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS = _POSTRESETOPERATION.nested_types_by_name[ + "UpdateWorkflowOptions" +] +_WORKFLOWEXECUTIONPAUSEINFO = DESCRIPTOR.message_types_by_name[ + "WorkflowExecutionPauseInfo" +] +_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR = _VERSIONINGOVERRIDE.enum_types_by_name[ + "PinnedOverrideBehavior" +] +WorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionInfo) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionInfo) + +WorkflowExecutionExtendedInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionExtendedInfo", + (_message.Message,), + { + "RequestIdInfosEntry": _reflection.GeneratedProtocolMessageType( + "RequestIdInfosEntry", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry) + }, + ), + "DESCRIPTOR": _WORKFLOWEXECUTIONEXTENDEDINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionExtendedInfo) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionExtendedInfo) +_sym_db.RegisterMessage(WorkflowExecutionExtendedInfo.RequestIdInfosEntry) + +WorkflowExecutionVersioningInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionVersioningInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONVERSIONINGINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionVersioningInfo) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionVersioningInfo) + +DeploymentTransition = _reflection.GeneratedProtocolMessageType( + "DeploymentTransition", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTTRANSITION, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentTransition) + }, +) +_sym_db.RegisterMessage(DeploymentTransition) + +DeploymentVersionTransition = _reflection.GeneratedProtocolMessageType( + "DeploymentVersionTransition", + (_message.Message,), + { + "DESCRIPTOR": _DEPLOYMENTVERSIONTRANSITION, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.DeploymentVersionTransition) + }, +) +_sym_db.RegisterMessage(DeploymentVersionTransition) + +WorkflowExecutionConfig = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionConfig", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONCONFIG, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionConfig) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionConfig) + +PendingActivityInfo = _reflection.GeneratedProtocolMessageType( + "PendingActivityInfo", + (_message.Message,), + { + "PauseInfo": _reflection.GeneratedProtocolMessageType( + "PauseInfo", + (_message.Message,), + { + "Manual": _reflection.GeneratedProtocolMessageType( + "Manual", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual) + }, + ), + "Rule": _reflection.GeneratedProtocolMessageType( + "Rule", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO_RULE, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule) + }, + ), + "DESCRIPTOR": _PENDINGACTIVITYINFO_PAUSEINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo.PauseInfo) + }, + ), + "DESCRIPTOR": _PENDINGACTIVITYINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingActivityInfo) + }, +) +_sym_db.RegisterMessage(PendingActivityInfo) +_sym_db.RegisterMessage(PendingActivityInfo.PauseInfo) +_sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Manual) +_sym_db.RegisterMessage(PendingActivityInfo.PauseInfo.Rule) + +PendingChildExecutionInfo = _reflection.GeneratedProtocolMessageType( + "PendingChildExecutionInfo", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGCHILDEXECUTIONINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingChildExecutionInfo) + }, +) +_sym_db.RegisterMessage(PendingChildExecutionInfo) + +PendingWorkflowTaskInfo = _reflection.GeneratedProtocolMessageType( + "PendingWorkflowTaskInfo", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGWORKFLOWTASKINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingWorkflowTaskInfo) + }, +) +_sym_db.RegisterMessage(PendingWorkflowTaskInfo) + +ResetPoints = _reflection.GeneratedProtocolMessageType( + "ResetPoints", + (_message.Message,), + { + "DESCRIPTOR": _RESETPOINTS, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPoints) + }, +) +_sym_db.RegisterMessage(ResetPoints) + +ResetPointInfo = _reflection.GeneratedProtocolMessageType( + "ResetPointInfo", + (_message.Message,), + { + "DESCRIPTOR": _RESETPOINTINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.ResetPointInfo) + }, +) +_sym_db.RegisterMessage(ResetPointInfo) + +NewWorkflowExecutionInfo = _reflection.GeneratedProtocolMessageType( + "NewWorkflowExecutionInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEWWORKFLOWEXECUTIONINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NewWorkflowExecutionInfo) + }, +) +_sym_db.RegisterMessage(NewWorkflowExecutionInfo) + +CallbackInfo = _reflection.GeneratedProtocolMessageType( + "CallbackInfo", + (_message.Message,), + { + "WorkflowClosed": _reflection.GeneratedProtocolMessageType( + "WorkflowClosed", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO_WORKFLOWCLOSED, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.WorkflowClosed) + }, + ), + "UpdateWorkflowExecutionCompleted": _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionCompleted", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.UpdateWorkflowExecutionCompleted) + }, + ), + "Trigger": _reflection.GeneratedProtocolMessageType( + "Trigger", + (_message.Message,), + { + "DESCRIPTOR": _CALLBACKINFO_TRIGGER, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo.Trigger) + }, + ), + "DESCRIPTOR": _CALLBACKINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.CallbackInfo) + }, +) +_sym_db.RegisterMessage(CallbackInfo) +_sym_db.RegisterMessage(CallbackInfo.WorkflowClosed) +_sym_db.RegisterMessage(CallbackInfo.UpdateWorkflowExecutionCompleted) +_sym_db.RegisterMessage(CallbackInfo.Trigger) + +PendingNexusOperationInfo = _reflection.GeneratedProtocolMessageType( + "PendingNexusOperationInfo", + (_message.Message,), + { + "DESCRIPTOR": _PENDINGNEXUSOPERATIONINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PendingNexusOperationInfo) + }, +) +_sym_db.RegisterMessage(PendingNexusOperationInfo) + +NexusOperationCancellationInfo = _reflection.GeneratedProtocolMessageType( + "NexusOperationCancellationInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONCANCELLATIONINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.NexusOperationCancellationInfo) + }, +) +_sym_db.RegisterMessage(NexusOperationCancellationInfo) + +WorkflowExecutionOptions = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionOptions", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONOPTIONS, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionOptions) + }, +) +_sym_db.RegisterMessage(WorkflowExecutionOptions) + +VersioningOverride = _reflection.GeneratedProtocolMessageType( + "VersioningOverride", + (_message.Message,), + { + "PinnedOverride": _reflection.GeneratedProtocolMessageType( + "PinnedOverride", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONINGOVERRIDE_PINNEDOVERRIDE, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride.PinnedOverride) + }, + ), + "OneTimeOverride": _reflection.GeneratedProtocolMessageType( + "OneTimeOverride", + (_message.Message,), + { + "DESCRIPTOR": _VERSIONINGOVERRIDE_ONETIMEOVERRIDE, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride.OneTimeOverride) + }, + ), + "DESCRIPTOR": _VERSIONINGOVERRIDE, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.VersioningOverride) + }, +) +_sym_db.RegisterMessage(VersioningOverride) +_sym_db.RegisterMessage(VersioningOverride.PinnedOverride) +_sym_db.RegisterMessage(VersioningOverride.OneTimeOverride) + +OnConflictOptions = _reflection.GeneratedProtocolMessageType( + "OnConflictOptions", + (_message.Message,), + { + "DESCRIPTOR": _ONCONFLICTOPTIONS, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.OnConflictOptions) + }, +) +_sym_db.RegisterMessage(OnConflictOptions) + +RequestIdInfo = _reflection.GeneratedProtocolMessageType( + "RequestIdInfo", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTIDINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.RequestIdInfo) + }, +) +_sym_db.RegisterMessage(RequestIdInfo) + +PostResetOperation = _reflection.GeneratedProtocolMessageType( + "PostResetOperation", + (_message.Message,), + { + "SignalWorkflow": _reflection.GeneratedProtocolMessageType( + "SignalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _POSTRESETOPERATION_SIGNALWORKFLOW, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.SignalWorkflow) + }, + ), + "UpdateWorkflowOptions": _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowOptions", + (_message.Message,), + { + "DESCRIPTOR": _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions) + }, + ), + "DESCRIPTOR": _POSTRESETOPERATION, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.PostResetOperation) + }, +) +_sym_db.RegisterMessage(PostResetOperation) +_sym_db.RegisterMessage(PostResetOperation.SignalWorkflow) +_sym_db.RegisterMessage(PostResetOperation.UpdateWorkflowOptions) + +WorkflowExecutionPauseInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowExecutionPauseInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWEXECUTIONPAUSEINFO, + "__module__": "temporalio.api.workflow.v1.message_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflow.v1.WorkflowExecutionPauseInfo) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1" - _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ +_sym_db.RegisterMessage(WorkflowExecutionPauseInfo) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\033io.temporal.api.workflow.v1B\014MessageProtoP\001Z'go.temporal.io/api/workflow/v1;workflow\252\002\032Temporalio.Api.Workflow.V1\352\002\035Temporalio::Api::Workflow::V1" + _WORKFLOWEXECUTIONINFO.fields_by_name[ "most_recent_worker_version_stamp" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name[ "most_recent_worker_version_stamp" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ - "assigned_build_id" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ + _WORKFLOWEXECUTIONINFO.fields_by_name["assigned_build_id"]._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name[ "assigned_build_id" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ - "inherited_build_id" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONINFO"].fields_by_name[ + _WORKFLOWEXECUTIONINFO.fields_by_name["inherited_build_id"]._options = None + _WORKFLOWEXECUTIONINFO.fields_by_name[ "inherited_build_id" ]._serialized_options = b"\030\001" - _globals[ - "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" - ]._loaded_options = None - _globals[ - "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" - ]._serialized_options = b"8\001" - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ - "deployment" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._options = None + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_options = b"8\001" + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["deployment"]._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ - "version" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name["version"]._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ "deployment_transition" - ]._loaded_options = None - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"].fields_by_name[ + ]._options = None + _WORKFLOWEXECUTIONVERSIONINGINFO.fields_by_name[ "deployment_transition" ]._serialized_options = b"\030\001" - _globals["_DEPLOYMENTVERSIONTRANSITION"].fields_by_name[ - "version" - ]._loaded_options = None - _globals["_DEPLOYMENTVERSIONTRANSITION"].fields_by_name[ + _DEPLOYMENTVERSIONTRANSITION.fields_by_name["version"]._options = None + _DEPLOYMENTVERSIONTRANSITION.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ - "use_workflow_build_id" - ]._loaded_options = None - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + _PENDINGACTIVITYINFO.fields_by_name["use_workflow_build_id"]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ "use_workflow_build_id" ]._serialized_options = b"\030\001" - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + _PENDINGACTIVITYINFO.fields_by_name[ "last_independently_assigned_build_id" - ]._loaded_options = None - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + ]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ "last_independently_assigned_build_id" ]._serialized_options = b"\030\001" - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ - "last_worker_version_stamp" - ]._loaded_options = None - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + _PENDINGACTIVITYINFO.fields_by_name["last_worker_version_stamp"]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ "last_worker_version_stamp" ]._serialized_options = b"\030\001" - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ - "last_deployment" - ]._loaded_options = None - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + _PENDINGACTIVITYINFO.fields_by_name["last_deployment"]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ "last_deployment" ]._serialized_options = b"\030\001" - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + _PENDINGACTIVITYINFO.fields_by_name[ "last_worker_deployment_version" - ]._loaded_options = None - _globals["_PENDINGACTIVITYINFO"].fields_by_name[ + ]._options = None + _PENDINGACTIVITYINFO.fields_by_name[ "last_worker_deployment_version" ]._serialized_options = b"\030\001" - _globals["_RESETPOINTINFO"].fields_by_name["binary_checksum"]._loaded_options = None - _globals["_RESETPOINTINFO"].fields_by_name[ - "binary_checksum" - ]._serialized_options = b"\030\001" - _globals["_PENDINGNEXUSOPERATIONINFO"].fields_by_name[ + _RESETPOINTINFO.fields_by_name["binary_checksum"]._options = None + _RESETPOINTINFO.fields_by_name["binary_checksum"]._serialized_options = b"\030\001" + _PENDINGNEXUSOPERATIONINFO.fields_by_name["operation_id"]._options = None + _PENDINGNEXUSOPERATIONINFO.fields_by_name[ "operation_id" - ]._loaded_options = None - _globals["_PENDINGNEXUSOPERATIONINFO"].fields_by_name[ - "operation_id" - ]._serialized_options = b"\030\001" - _globals["_VERSIONINGOVERRIDE"].fields_by_name["behavior"]._loaded_options = None - _globals["_VERSIONINGOVERRIDE"].fields_by_name[ - "behavior" ]._serialized_options = b"\030\001" - _globals["_VERSIONINGOVERRIDE"].fields_by_name["deployment"]._loaded_options = None - _globals["_VERSIONINGOVERRIDE"].fields_by_name[ - "deployment" - ]._serialized_options = b"\030\001" - _globals["_VERSIONINGOVERRIDE"].fields_by_name[ - "pinned_version" - ]._loaded_options = None - _globals["_VERSIONINGOVERRIDE"].fields_by_name[ + _VERSIONINGOVERRIDE.fields_by_name["behavior"]._options = None + _VERSIONINGOVERRIDE.fields_by_name["behavior"]._serialized_options = b"\030\001" + _VERSIONINGOVERRIDE.fields_by_name["deployment"]._options = None + _VERSIONINGOVERRIDE.fields_by_name["deployment"]._serialized_options = b"\030\001" + _VERSIONINGOVERRIDE.fields_by_name["pinned_version"]._options = None + _VERSIONINGOVERRIDE.fields_by_name[ "pinned_version" ]._serialized_options = b"\030\001" - _globals["_WORKFLOWEXECUTIONINFO"]._serialized_start = 552 - _globals["_WORKFLOWEXECUTIONINFO"]._serialized_end = 1816 - _globals["_WORKFLOWEXECUTIONEXTENDEDINFO"]._serialized_start = 1819 - _globals["_WORKFLOWEXECUTIONEXTENDEDINFO"]._serialized_end = 2401 - _globals[ - "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" - ]._serialized_start = 2307 - _globals[ - "_WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY" - ]._serialized_end = 2401 - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"]._serialized_start = 2404 - _globals["_WORKFLOWEXECUTIONVERSIONINGINFO"]._serialized_end = 3039 - _globals["_DEPLOYMENTTRANSITION"]._serialized_start = 3041 - _globals["_DEPLOYMENTTRANSITION"]._serialized_end = 3123 - _globals["_DEPLOYMENTVERSIONTRANSITION"]._serialized_start = 3126 - _globals["_DEPLOYMENTVERSIONTRANSITION"]._serialized_end = 3257 - _globals["_WORKFLOWEXECUTIONCONFIG"]._serialized_start = 3260 - _globals["_WORKFLOWEXECUTIONCONFIG"]._serialized_end = 3587 - _globals["_PENDINGACTIVITYINFO"]._serialized_start = 3590 - _globals["_PENDINGACTIVITYINFO"]._serialized_end = 5315 - _globals["_PENDINGACTIVITYINFO_PAUSEINFO"]._serialized_start = 4959 - _globals["_PENDINGACTIVITYINFO_PAUSEINFO"]._serialized_end = 5294 - _globals["_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL"]._serialized_start = 5180 - _globals["_PENDINGACTIVITYINFO_PAUSEINFO_MANUAL"]._serialized_end = 5222 - _globals["_PENDINGACTIVITYINFO_PAUSEINFO_RULE"]._serialized_start = 5224 - _globals["_PENDINGACTIVITYINFO_PAUSEINFO_RULE"]._serialized_end = 5281 - _globals["_PENDINGCHILDEXECUTIONINFO"]._serialized_start = 5318 - _globals["_PENDINGCHILDEXECUTIONINFO"]._serialized_end = 5503 - _globals["_PENDINGWORKFLOWTASKINFO"]._serialized_start = 5506 - _globals["_PENDINGWORKFLOWTASKINFO"]._serialized_end = 5775 - _globals["_RESETPOINTS"]._serialized_start = 5777 - _globals["_RESETPOINTS"]._serialized_end = 5848 - _globals["_RESETPOINTINFO"]._serialized_start = 5851 - _globals["_RESETPOINTINFO"]._serialized_end = 6090 - _globals["_NEWWORKFLOWEXECUTIONINFO"]._serialized_start = 6093 - _globals["_NEWWORKFLOWEXECUTIONINFO"]._serialized_end = 6994 - _globals["_CALLBACKINFO"]._serialized_start = 6997 - _globals["_CALLBACKINFO"]._serialized_end = 7767 - _globals["_CALLBACKINFO_WORKFLOWCLOSED"]._serialized_start = 7471 - _globals["_CALLBACKINFO_WORKFLOWCLOSED"]._serialized_end = 7487 - _globals["_CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED"]._serialized_start = 7489 - _globals["_CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED"]._serialized_end = 7542 - _globals["_CALLBACKINFO_TRIGGER"]._serialized_start = 7545 - _globals["_CALLBACKINFO_TRIGGER"]._serialized_end = 7767 - _globals["_PENDINGNEXUSOPERATIONINFO"]._serialized_start = 7770 - _globals["_PENDINGNEXUSOPERATIONINFO"]._serialized_end = 8549 - _globals["_NEXUSOPERATIONCANCELLATIONINFO"]._serialized_start = 8552 - _globals["_NEXUSOPERATIONCANCELLATIONINFO"]._serialized_end = 8940 - _globals["_WORKFLOWEXECUTIONOPTIONS"]._serialized_start = 8943 - _globals["_WORKFLOWEXECUTIONOPTIONS"]._serialized_end = 9170 - _globals["_VERSIONINGOVERRIDE"]._serialized_start = 9173 - _globals["_VERSIONINGOVERRIDE"]._serialized_end = 9935 - _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDE"]._serialized_start = 9538 - _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDE"]._serialized_end = 9711 - _globals["_VERSIONINGOVERRIDE_ONETIMEOVERRIDE"]._serialized_start = 9713 - _globals["_VERSIONINGOVERRIDE_ONETIMEOVERRIDE"]._serialized_end = 9818 - _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR"]._serialized_start = 9820 - _globals["_VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR"]._serialized_end = 9923 - _globals["_ONCONFLICTOPTIONS"]._serialized_start = 9937 - _globals["_ONCONFLICTOPTIONS"]._serialized_end = 10042 - _globals["_REQUESTIDINFO"]._serialized_start = 10044 - _globals["_REQUESTIDINFO"]._serialized_end = 10149 - _globals["_POSTRESETOPERATION"]._serialized_start = 10152 - _globals["_POSTRESETOPERATION"]._serialized_end = 10719 - _globals["_POSTRESETOPERATION_SIGNALWORKFLOW"]._serialized_start = 10366 - _globals["_POSTRESETOPERATION_SIGNALWORKFLOW"]._serialized_end = 10545 - _globals["_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS"]._serialized_start = 10548 - _globals["_POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS"]._serialized_end = 10708 - _globals["_WORKFLOWEXECUTIONPAUSEINFO"]._serialized_start = 10721 - _globals["_WORKFLOWEXECUTIONPAUSEINFO"]._serialized_end = 10832 + _WORKFLOWEXECUTIONINFO._serialized_start = 552 + _WORKFLOWEXECUTIONINFO._serialized_end = 1816 + _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_start = 1819 + _WORKFLOWEXECUTIONEXTENDEDINFO._serialized_end = 2401 + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_start = 2307 + _WORKFLOWEXECUTIONEXTENDEDINFO_REQUESTIDINFOSENTRY._serialized_end = 2401 + _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_start = 2404 + _WORKFLOWEXECUTIONVERSIONINGINFO._serialized_end = 3039 + _DEPLOYMENTTRANSITION._serialized_start = 3041 + _DEPLOYMENTTRANSITION._serialized_end = 3123 + _DEPLOYMENTVERSIONTRANSITION._serialized_start = 3126 + _DEPLOYMENTVERSIONTRANSITION._serialized_end = 3257 + _WORKFLOWEXECUTIONCONFIG._serialized_start = 3260 + _WORKFLOWEXECUTIONCONFIG._serialized_end = 3587 + _PENDINGACTIVITYINFO._serialized_start = 3590 + _PENDINGACTIVITYINFO._serialized_end = 5315 + _PENDINGACTIVITYINFO_PAUSEINFO._serialized_start = 4959 + _PENDINGACTIVITYINFO_PAUSEINFO._serialized_end = 5294 + _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_start = 5180 + _PENDINGACTIVITYINFO_PAUSEINFO_MANUAL._serialized_end = 5222 + _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_start = 5224 + _PENDINGACTIVITYINFO_PAUSEINFO_RULE._serialized_end = 5281 + _PENDINGCHILDEXECUTIONINFO._serialized_start = 5318 + _PENDINGCHILDEXECUTIONINFO._serialized_end = 5503 + _PENDINGWORKFLOWTASKINFO._serialized_start = 5506 + _PENDINGWORKFLOWTASKINFO._serialized_end = 5775 + _RESETPOINTS._serialized_start = 5777 + _RESETPOINTS._serialized_end = 5848 + _RESETPOINTINFO._serialized_start = 5851 + _RESETPOINTINFO._serialized_end = 6090 + _NEWWORKFLOWEXECUTIONINFO._serialized_start = 6093 + _NEWWORKFLOWEXECUTIONINFO._serialized_end = 6994 + _CALLBACKINFO._serialized_start = 6997 + _CALLBACKINFO._serialized_end = 7767 + _CALLBACKINFO_WORKFLOWCLOSED._serialized_start = 7471 + _CALLBACKINFO_WORKFLOWCLOSED._serialized_end = 7487 + _CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED._serialized_start = 7489 + _CALLBACKINFO_UPDATEWORKFLOWEXECUTIONCOMPLETED._serialized_end = 7542 + _CALLBACKINFO_TRIGGER._serialized_start = 7545 + _CALLBACKINFO_TRIGGER._serialized_end = 7767 + _PENDINGNEXUSOPERATIONINFO._serialized_start = 7770 + _PENDINGNEXUSOPERATIONINFO._serialized_end = 8549 + _NEXUSOPERATIONCANCELLATIONINFO._serialized_start = 8552 + _NEXUSOPERATIONCANCELLATIONINFO._serialized_end = 8940 + _WORKFLOWEXECUTIONOPTIONS._serialized_start = 8943 + _WORKFLOWEXECUTIONOPTIONS._serialized_end = 9170 + _VERSIONINGOVERRIDE._serialized_start = 9173 + _VERSIONINGOVERRIDE._serialized_end = 9935 + _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_start = 9538 + _VERSIONINGOVERRIDE_PINNEDOVERRIDE._serialized_end = 9711 + _VERSIONINGOVERRIDE_ONETIMEOVERRIDE._serialized_start = 9713 + _VERSIONINGOVERRIDE_ONETIMEOVERRIDE._serialized_end = 9818 + _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_start = 9820 + _VERSIONINGOVERRIDE_PINNEDOVERRIDEBEHAVIOR._serialized_end = 9923 + _ONCONFLICTOPTIONS._serialized_start = 9937 + _ONCONFLICTOPTIONS._serialized_end = 10042 + _REQUESTIDINFO._serialized_start = 10044 + _REQUESTIDINFO._serialized_end = 10149 + _POSTRESETOPERATION._serialized_start = 10152 + _POSTRESETOPERATION._serialized_end = 10719 + _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_start = 10366 + _POSTRESETOPERATION_SIGNALWORKFLOW._serialized_end = 10545 + _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_start = 10548 + _POSTRESETOPERATION_UPDATEWORKFLOWOPTIONS._serialized_end = 10708 + _WORKFLOWEXECUTIONPAUSEINFO._serialized_start = 10721 + _WORKFLOWEXECUTIONPAUSEINFO._serialized_end = 10832 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflow/v1/message_pb2.pyi b/temporalio/api/workflow/v1/message_pb2.pyi index d19db03b0..2aa370a8e 100644 --- a/temporalio/api/workflow/v1/message_pb2.pyi +++ b/temporalio/api/workflow/v1/message_pb2.pyi @@ -34,7 +34,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowExecutionInfo(google.protobuf.message.Message): """Hold basic information about a workflow execution. This structure is a part of visibility, and thus contain a limited subset of information. @@ -68,40 +67,6 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): PRIORITY_FIELD_NUMBER: builtins.int EXTERNAL_PAYLOAD_SIZE_BYTES_FIELD_NUMBER: builtins.int EXTERNAL_PAYLOAD_COUNT_FIELD_NUMBER: builtins.int - status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType - history_length: builtins.int - parent_namespace_id: builtins.str - task_queue: builtins.str - state_transition_count: builtins.int - history_size_bytes: builtins.int - assigned_build_id: builtins.str - """The currently assigned build ID for this execution. Presence of this value means worker versioning is used - for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules - when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled - again, the assigned build ID may change according to the latest versioning rules. - Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to - this execution. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ - inherited_build_id: builtins.str - """Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead - of using the assignment rules. - Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] - """ - first_run_id: builtins.str - """The first run ID in the execution chain. - Executions created via the following operations are considered to be in the same chain - - ContinueAsNew - - Workflow Retry - - Workflow Reset - - Cron Schedule - """ - worker_deployment_name: builtins.str - """The name of Worker Deployment that completed the most recent workflow task.""" - external_payload_size_bytes: builtins.int - """Total size in bytes of all external payloads referenced in workflow history.""" - external_payload_count: builtins.int - """Count of external payloads referenced in workflow history.""" @property def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... @property @@ -110,6 +75,9 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType + history_length: builtins.int + parent_namespace_id: builtins.str @property def parent_execution( self, @@ -123,7 +91,10 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property - def auto_reset_points(self) -> Global___ResetPoints: ... + def auto_reset_points(self) -> global___ResetPoints: ... + task_queue: builtins.str + state_transition_count: builtins.int + history_size_bytes: builtins.int @property def most_recent_worker_version_stamp( self, @@ -131,13 +102,11 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): """If set, the most recent worker version stamp that appeared in a workflow task completion Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - @property def execution_duration(self) -> google.protobuf.duration_pb2.Duration: """Workflow execution duration is defined as difference between close time and execution time. This field is only populated if the workflow is closed. """ - @property def root_execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about the root workflow execution. @@ -158,18 +127,43 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): Scenario 5: Workflow W1 is reseted, creating W2. - The root workflow of W1 is W1 and the root workflow of W2 is W2. """ - + assigned_build_id: builtins.str + """The currently assigned build ID for this execution. Presence of this value means worker versioning is used + for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules + when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled + again, the assigned build ID may change according to the latest versioning rules. + Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to + this execution. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ + inherited_build_id: builtins.str + """Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead + of using the assignment rules. + Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] + """ + first_run_id: builtins.str + """The first run ID in the execution chain. + Executions created via the following operations are considered to be in the same chain + - ContinueAsNew + - Workflow Retry + - Workflow Reset + - Cron Schedule + """ @property - def versioning_info(self) -> Global___WorkflowExecutionVersioningInfo: + def versioning_info(self) -> global___WorkflowExecutionVersioningInfo: """Absent value means the workflow execution is not versioned. When present, the execution might be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`. Experimental. Versioning info is experimental and might change in the future. """ - + worker_deployment_name: builtins.str + """The name of Worker Deployment that completed the most recent workflow task.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - + external_payload_size_bytes: builtins.int + """Total size in bytes of all external payloads referenced in workflow history.""" + external_payload_count: builtins.int + """Count of external payloads referenced in workflow history.""" def __init__( self, *, @@ -186,7 +180,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., search_attributes: temporalio.api.common.v1.message_pb2.SearchAttributes | None = ..., - auto_reset_points: Global___ResetPoints | None = ..., + auto_reset_points: global___ResetPoints | None = ..., task_queue: builtins.str = ..., state_transition_count: builtins.int = ..., history_size_bytes: builtins.int = ..., @@ -198,7 +192,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): assigned_build_id: builtins.str = ..., inherited_build_id: builtins.str = ..., first_run_id: builtins.str = ..., - versioning_info: Global___WorkflowExecutionVersioningInfo | None = ..., + versioning_info: global___WorkflowExecutionVersioningInfo | None = ..., worker_deployment_name: builtins.str = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., external_payload_size_bytes: builtins.int = ..., @@ -206,7 +200,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "auto_reset_points", b"auto_reset_points", "close_time", @@ -239,7 +233,7 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "assigned_build_id", b"assigned_build_id", "auto_reset_points", @@ -295,15 +289,13 @@ class WorkflowExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionInfo: typing_extensions.TypeAlias = WorkflowExecutionInfo +global___WorkflowExecutionInfo = WorkflowExecutionInfo -@typing.final class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): """Holds all the extra information about workflow execution that is not part of Visibility.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class RequestIdInfosEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -311,18 +303,19 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): VALUE_FIELD_NUMBER: builtins.int key: builtins.str @property - def value(self) -> Global___RequestIdInfo: ... + def value(self) -> global___RequestIdInfo: ... def __init__( self, *, key: builtins.str = ..., - value: Global___RequestIdInfo | None = ..., + value: global___RequestIdInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... EXECUTION_EXPIRATION_TIME_FIELD_NUMBER: builtins.int @@ -333,44 +326,38 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): RESET_RUN_ID_FIELD_NUMBER: builtins.int REQUEST_ID_INFOS_FIELD_NUMBER: builtins.int PAUSE_INFO_FIELD_NUMBER: builtins.int - cancel_requested: builtins.bool - """indicates if the workflow received a cancel request""" - reset_run_id: builtins.str - """Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.""" @property def execution_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset. """ - @property def run_expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.""" - + cancel_requested: builtins.bool + """indicates if the workflow received a cancel request""" @property def last_reset_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Last workflow reset time. Nil if the workflow was never reset.""" - @property def original_start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Original workflow start time.""" - + reset_run_id: builtins.str + """Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.""" @property def request_id_infos( self, ) -> google.protobuf.internal.containers.MessageMap[ - builtins.str, Global___RequestIdInfo + builtins.str, global___RequestIdInfo ]: """Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request). """ - @property - def pause_info(self) -> Global___WorkflowExecutionPauseInfo: + def pause_info(self) -> global___WorkflowExecutionPauseInfo: """Information about the workflow execution pause operation.""" - def __init__( self, *, @@ -380,13 +367,13 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): last_reset_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., original_start_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., reset_run_id: builtins.str = ..., - request_id_infos: collections.abc.Mapping[builtins.str, Global___RequestIdInfo] + request_id_infos: collections.abc.Mapping[builtins.str, global___RequestIdInfo] | None = ..., - pause_info: Global___WorkflowExecutionPauseInfo | None = ..., + pause_info: global___WorkflowExecutionPauseInfo | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution_expiration_time", b"execution_expiration_time", "last_reset_time", @@ -401,7 +388,7 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_requested", b"cancel_requested", "execution_expiration_time", @@ -421,11 +408,8 @@ class WorkflowExecutionExtendedInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionExtendedInfo: typing_extensions.TypeAlias = ( - WorkflowExecutionExtendedInfo -) +global___WorkflowExecutionExtendedInfo = WorkflowExecutionExtendedInfo -@typing.final class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): """Holds all the information about worker versioning for a particular workflow execution. Experimental. Versioning info is experimental and might change in the future. @@ -457,31 +441,6 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Note that `behavior` is overridden by `versioning_override` if the latter is present. """ - version: builtins.str - """Deprecated. Use `deployment_version`.""" - revision_number: builtins.int - """Monotonic counter reflecting the latest routing decision for this workflow execution. - Used for staleness detection between history and matching when dispatching tasks to workers. - Incremented when a workflow execution routes to a new deployment version, which happens - when a worker of the new deployment version completes a workflow task. - Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not - face the problem of inconsistent dispatching that arises from eventual consistency between - task queues and their partitions. - """ - continue_as_new_initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. - If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior - specified in that command. - Only used for the initial task of this run and the initial task of any retries of this run. - Not passed to children or to future continue-as-new. - - Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, - a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility - with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent - to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade. - """ @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """The worker deployment that completed the last workflow task of this workflow execution. Must @@ -492,7 +451,8 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Note that `deployment` is overridden by `versioning_override` if the latter is present. Deprecated. Use `deployment_version`. """ - + version: builtins.str + """Deprecated. Use `deployment_version`.""" @property def deployment_version( self, @@ -512,9 +472,8 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version` will override this value. """ - @property - def versioning_override(self) -> Global___VersioningOverride: + def versioning_override(self) -> global___VersioningOverride: """Present if user has set an execution-specific versioning override. This override takes precedence over SDK-sent `behavior` (and `version` when override is PINNED). An override can be set when starting a new execution, as well as afterwards by calling the @@ -522,9 +481,8 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Pinned overrides are automatically inherited by child workflows, continue-as-new workflows, workflow retries, and cron workflows. """ - @property - def deployment_transition(self) -> Global___DeploymentTransition: + def deployment_transition(self) -> global___DeploymentTransition: """When present, indicates the workflow is transitioning to a different deployment. Can indicate one of the following transitions: unversioned -> versioned, versioned -> versioned on a different deployment, or versioned -> unversioned. @@ -544,9 +502,8 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): completed, pending activities will start their next attempt on the new deployment. Deprecated. Use version_transition. """ - @property - def version_transition(self) -> Global___DeploymentVersionTransition: + def version_transition(self) -> global___DeploymentVersionTransition: """When present, indicates the workflow is transitioning to a different deployment version (which may belong to the same deployment name or another). Can indicate one of the following transitions: unversioned -> versioned, versioned -> versioned @@ -566,7 +523,29 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): Pending activities will not start new attempts during a transition. Once the transition is completed, pending activities will start their next attempt on the new version. """ + revision_number: builtins.int + """Monotonic counter reflecting the latest routing decision for this workflow execution. + Used for staleness detection between history and matching when dispatching tasks to workers. + Incremented when a workflow execution routes to a new deployment version, which happens + when a worker of the new deployment version completes a workflow task. + Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not + face the problem of inconsistent dispatching that arises from eventual consistency between + task queues and their partitions. + """ + continue_as_new_initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. + If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior + specified in that command. + Only used for the initial task of this run and the initial task of any retries of this run. + Not passed to children or to future continue-as-new. + Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, + a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility + with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent + to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade. + """ def __init__( self, *, @@ -575,15 +554,15 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): version: builtins.str = ..., deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., - versioning_override: Global___VersioningOverride | None = ..., - deployment_transition: Global___DeploymentTransition | None = ..., - version_transition: Global___DeploymentVersionTransition | None = ..., + versioning_override: global___VersioningOverride | None = ..., + deployment_transition: global___DeploymentTransition | None = ..., + version_transition: global___DeploymentVersionTransition | None = ..., revision_number: builtins.int = ..., continue_as_new_initial_versioning_behavior: temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_transition", @@ -598,7 +577,7 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "behavior", b"behavior", "continue_as_new_initial_versioning_behavior", @@ -620,11 +599,8 @@ class WorkflowExecutionVersioningInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionVersioningInfo: typing_extensions.TypeAlias = ( - WorkflowExecutionVersioningInfo -) +global___WorkflowExecutionVersioningInfo = WorkflowExecutionVersioningInfo -@typing.final class DeploymentTransition(google.protobuf.message.Message): """Holds information about ongoing transition of a workflow execution from one deployment to another. Deprecated. Use DeploymentVersionTransition. @@ -638,22 +614,20 @@ class DeploymentTransition(google.protobuf.message.Message): """The target deployment of the transition. Null means a so-far-versioned workflow is transitioning to unversioned workers. """ - def __init__( self, *, deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment", b"deployment"] + self, field_name: typing_extensions.Literal["deployment", b"deployment"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["deployment", b"deployment"] + self, field_name: typing_extensions.Literal["deployment", b"deployment"] ) -> None: ... -Global___DeploymentTransition: typing_extensions.TypeAlias = DeploymentTransition +global___DeploymentTransition = DeploymentTransition -@typing.final class DeploymentVersionTransition(google.protobuf.message.Message): """Holds information about ongoing transition of a workflow execution from one worker deployment version to another. @@ -673,7 +647,6 @@ class DeploymentVersionTransition(google.protobuf.message.Message): """The target Version of the transition. If nil, a so-far-versioned workflow is transitioning to unversioned workers. """ - def __init__( self, *, @@ -682,20 +655,20 @@ class DeploymentVersionTransition(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_version", b"deployment_version"] + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version", b"deployment_version", "version", b"version" ], ) -> None: ... -Global___DeploymentVersionTransition: typing_extensions.TypeAlias = ( - DeploymentVersionTransition -) +global___DeploymentVersionTransition = DeploymentVersionTransition -@typing.final class WorkflowExecutionConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -717,7 +690,6 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """User metadata provided on start workflow.""" - def __init__( self, *, @@ -731,7 +703,7 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", @@ -746,7 +718,7 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "default_workflow_task_timeout", b"default_workflow_task_timeout", "task_queue", @@ -760,17 +732,14 @@ class WorkflowExecutionConfig(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionConfig: typing_extensions.TypeAlias = WorkflowExecutionConfig +global___WorkflowExecutionConfig = WorkflowExecutionConfig -@typing.final class PendingActivityInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class PauseInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Manual(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -788,12 +757,11 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "reason", b"reason" ], ) -> None: ... - @typing.final class Rule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -815,7 +783,7 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "reason", b"reason", "rule_id", b"rule_id" ], ) -> None: ... @@ -826,25 +794,22 @@ class PendingActivityInfo(google.protobuf.message.Message): @property def pause_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the activity was paused.""" - @property - def manual(self) -> Global___PendingActivityInfo.PauseInfo.Manual: + def manual(self) -> global___PendingActivityInfo.PauseInfo.Manual: """activity was paused by the manual intervention""" - @property - def rule(self) -> Global___PendingActivityInfo.PauseInfo.Rule: + def rule(self) -> global___PendingActivityInfo.PauseInfo.Rule: """activity was paused by the rule""" - def __init__( self, *, pause_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - manual: Global___PendingActivityInfo.PauseInfo.Manual | None = ..., - rule: Global___PendingActivityInfo.PauseInfo.Rule | None = ..., + manual: global___PendingActivityInfo.PauseInfo.Manual | None = ..., + rule: global___PendingActivityInfo.PauseInfo.Rule | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "manual", b"manual", "pause_time", @@ -857,7 +822,7 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "manual", b"manual", "pause_time", @@ -869,8 +834,8 @@ class PendingActivityInfo(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["paused_by", b"paused_by"] - ) -> typing.Literal["manual", "rule"] | None: ... + self, oneof_group: typing_extensions.Literal["paused_by", b"paused_by"] + ) -> typing_extensions.Literal["manual", "rule"] | None: ... ACTIVITY_ID_FIELD_NUMBER: builtins.int ACTIVITY_TYPE_FIELD_NUMBER: builtins.int @@ -898,40 +863,33 @@ class PendingActivityInfo(google.protobuf.message.Message): PAUSE_INFO_FIELD_NUMBER: builtins.int ACTIVITY_OPTIONS_FIELD_NUMBER: builtins.int activity_id: builtins.str - state: temporalio.api.enums.v1.workflow_pb2.PendingActivityState.ValueType - attempt: builtins.int - maximum_attempts: builtins.int - last_worker_identity: builtins.str - last_independently_assigned_build_id: builtins.str - """Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. - The activity will use the build id in this field instead. - If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning - rules. - """ - paused: builtins.bool - """Indicates if activity is paused.""" - last_worker_deployment_version: builtins.str - """The Worker Deployment Version this activity was dispatched to most recently. - Deprecated. Use `last_deployment_version`. - """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... + state: temporalio.api.enums.v1.workflow_pb2.PendingActivityState.ValueType @property def heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: ... @property def last_heartbeat_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def last_started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + attempt: builtins.int + maximum_attempts: builtins.int @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def expiration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property def last_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... + last_worker_identity: builtins.str @property def use_workflow_build_id(self) -> google.protobuf.empty_pb2.Empty: """Deprecated. When present, it means this activity is assigned to the build ID of its workflow.""" - + last_independently_assigned_build_id: builtins.str + """Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. + The activity will use the build id in this field instead. + If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning + rules. + """ @property def last_worker_version_stamp( self, @@ -939,7 +897,6 @@ class PendingActivityInfo(google.protobuf.message.Message): """Deprecated. The version stamp of the worker to whom this activity was most recently dispatched This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv] """ - @property def current_retry_interval(self) -> google.protobuf.duration_pb2.Duration: """The time activity will wait until the next retry. @@ -947,24 +904,26 @@ class PendingActivityInfo(google.protobuf.message.Message): If activity is currently waiting it will be current retry interval. If there will be no retry it will be null. """ - @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Next time when activity will be scheduled. If activity is currently scheduled or started it will be null. """ - + paused: builtins.bool + """Indicates if activity is paused.""" @property def last_deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """The deployment this activity was dispatched to most recently. Present only if the activity was dispatched to a versioned worker. Deprecated. Use `last_deployment_version`. """ - + last_worker_deployment_version: builtins.str + """The Worker Deployment Version this activity was dispatched to most recently. + Deprecated. Use `last_deployment_version`. + """ @property def last_deployment_version( self, @@ -972,21 +931,18 @@ class PendingActivityInfo(google.protobuf.message.Message): """The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker. """ - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow. """ - @property - def pause_info(self) -> Global___PendingActivityInfo.PauseInfo: ... + def pause_info(self) -> global___PendingActivityInfo.PauseInfo: ... @property def activity_options( self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Current activity options. May be different from the one used to start the activity.""" - def __init__( self, *, @@ -1018,13 +974,13 @@ class PendingActivityInfo(google.protobuf.message.Message): last_deployment_version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., - pause_info: Global___PendingActivityInfo.PauseInfo | None = ..., + pause_info: global___PendingActivityInfo.PauseInfo | None = ..., activity_options: temporalio.api.activity.v1.message_pb2.ActivityOptions | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_options", b"activity_options", "activity_type", @@ -1067,7 +1023,7 @@ class PendingActivityInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_options", @@ -1123,15 +1079,19 @@ class PendingActivityInfo(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["assigned_build_id", b"assigned_build_id"] + self, + oneof_group: typing_extensions.Literal[ + "assigned_build_id", b"assigned_build_id" + ], ) -> ( - typing.Literal["use_workflow_build_id", "last_independently_assigned_build_id"] + typing_extensions.Literal[ + "use_workflow_build_id", "last_independently_assigned_build_id" + ] | None ): ... -Global___PendingActivityInfo: typing_extensions.TypeAlias = PendingActivityInfo +global___PendingActivityInfo = PendingActivityInfo -@typing.final class PendingChildExecutionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1159,7 +1119,7 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initiated_id", b"initiated_id", "parent_close_policy", @@ -1173,11 +1133,8 @@ class PendingChildExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___PendingChildExecutionInfo: typing_extensions.TypeAlias = ( - PendingChildExecutionInfo -) +global___PendingChildExecutionInfo = PendingChildExecutionInfo -@typing.final class PendingWorkflowTaskInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1187,7 +1144,6 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): STARTED_TIME_FIELD_NUMBER: builtins.int ATTEMPT_FIELD_NUMBER: builtins.int state: temporalio.api.enums.v1.workflow_pb2.PendingWorkflowTaskState.ValueType - attempt: builtins.int @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property @@ -1197,9 +1153,9 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds some threshold, the workflow task will be forced timeout. """ - @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + attempt: builtins.int def __init__( self, *, @@ -1211,7 +1167,7 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "original_scheduled_time", b"original_scheduled_time", "scheduled_time", @@ -1222,7 +1178,7 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "original_scheduled_time", @@ -1236,9 +1192,8 @@ class PendingWorkflowTaskInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___PendingWorkflowTaskInfo: typing_extensions.TypeAlias = PendingWorkflowTaskInfo +global___PendingWorkflowTaskInfo = PendingWorkflowTaskInfo -@typing.final class ResetPoints(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1247,18 +1202,19 @@ class ResetPoints(google.protobuf.message.Message): def points( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ResetPointInfo + global___ResetPointInfo ]: ... def __init__( self, *, - points: collections.abc.Iterable[Global___ResetPointInfo] | None = ..., + points: collections.abc.Iterable[global___ResetPointInfo] | None = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["points", b"points"] ) -> None: ... - def ClearField(self, field_name: typing.Literal["points", b"points"]) -> None: ... -Global___ResetPoints: typing_extensions.TypeAlias = ResetPoints +global___ResetPoints = ResetPoints -@typing.final class ResetPointInfo(google.protobuf.message.Message): """ResetPointInfo records the workflow event id that is the first one processed by a given build id or binary checksum. A new reset point will be created if either build id or binary @@ -1282,8 +1238,6 @@ class ResetPointInfo(google.protobuf.message.Message): """The first run ID in the execution chain that was touched by this worker build.""" first_workflow_task_completed_id: builtins.int """Event ID of the first WorkflowTaskCompleted event processed by this worker build.""" - resettable: builtins.bool - """false if the reset point has pending childWFs/reqCancels/signalExternals.""" @property def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... @property @@ -1292,7 +1246,8 @@ class ResetPointInfo(google.protobuf.message.Message): aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --) The time that the run is deleted due to retention. """ - + resettable: builtins.bool + """false if the reset point has pending childWFs/reqCancels/signalExternals.""" def __init__( self, *, @@ -1306,13 +1261,13 @@ class ResetPointInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "expire_time", b"expire_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "binary_checksum", b"binary_checksum", "build_id", @@ -1330,9 +1285,8 @@ class ResetPointInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___ResetPointInfo: typing_extensions.TypeAlias = ResetPointInfo +global___ResetPointInfo = ResetPointInfo -@typing.final class NewWorkflowExecutionInfo(google.protobuf.message.Message): """NewWorkflowExecutionInfo is a shared message that encapsulates all the required arguments to starting a workflow in different contexts. @@ -1357,12 +1311,6 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): VERSIONING_OVERRIDE_FIELD_NUMBER: builtins.int PRIORITY_FIELD_NUMBER: builtins.int workflow_id: builtins.str - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" - cron_schedule: builtins.str - """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property @@ -1370,23 +1318,24 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized arguments to the workflow.""" - @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" - @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.""" - + cron_schedule: builtins.str + """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -1401,17 +1350,14 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): for use by user interfaces to display the fixed as-of-start summary and details of the workflow. """ - @property - def versioning_override(self) -> Global___VersioningOverride: + def versioning_override(self) -> global___VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - def __init__( self, *, @@ -1431,12 +1377,12 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): header: temporalio.api.common.v1.message_pb2.Header | None = ..., user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - versioning_override: Global___VersioningOverride | None = ..., + versioning_override: global___VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "input", @@ -1467,7 +1413,7 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cron_schedule", b"cron_schedule", "header", @@ -1503,17 +1449,13 @@ class NewWorkflowExecutionInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NewWorkflowExecutionInfo: typing_extensions.TypeAlias = ( - NewWorkflowExecutionInfo -) +global___NewWorkflowExecutionInfo = NewWorkflowExecutionInfo -@typing.final class CallbackInfo(google.protobuf.message.Message): """CallbackInfo contains the state of an attached workflow callback.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class WorkflowClosed(google.protobuf.message.Message): """Trigger for when the workflow is closed.""" @@ -1523,7 +1465,6 @@ class CallbackInfo(google.protobuf.message.Message): self, ) -> None: ... - @typing.final class UpdateWorkflowExecutionCompleted(google.protobuf.message.Message): """Trigger for when a workflow update is completed.""" @@ -1537,31 +1478,30 @@ class CallbackInfo(google.protobuf.message.Message): update_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["update_id", b"update_id"] + self, field_name: typing_extensions.Literal["update_id", b"update_id"] ) -> None: ... - @typing.final class Trigger(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_CLOSED_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_EXECUTION_COMPLETED_FIELD_NUMBER: builtins.int @property - def workflow_closed(self) -> Global___CallbackInfo.WorkflowClosed: ... + def workflow_closed(self) -> global___CallbackInfo.WorkflowClosed: ... @property def update_workflow_execution_completed( self, - ) -> Global___CallbackInfo.UpdateWorkflowExecutionCompleted: ... + ) -> global___CallbackInfo.UpdateWorkflowExecutionCompleted: ... def __init__( self, *, - workflow_closed: Global___CallbackInfo.WorkflowClosed | None = ..., - update_workflow_execution_completed: Global___CallbackInfo.UpdateWorkflowExecutionCompleted + workflow_closed: global___CallbackInfo.WorkflowClosed | None = ..., + update_workflow_execution_completed: global___CallbackInfo.UpdateWorkflowExecutionCompleted | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_workflow_execution_completed", b"update_workflow_execution_completed", "variant", @@ -1572,7 +1512,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_workflow_execution_completed", b"update_workflow_execution_completed", "variant", @@ -1582,9 +1522,11 @@ class CallbackInfo(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] + self, oneof_group: typing_extensions.Literal["variant", b"variant"] ) -> ( - typing.Literal["workflow_closed", "update_workflow_execution_completed"] + typing_extensions.Literal[ + "workflow_closed", "update_workflow_execution_completed" + ] | None ): ... @@ -1597,42 +1539,36 @@ class CallbackInfo(google.protobuf.message.Message): LAST_ATTEMPT_FAILURE_FIELD_NUMBER: builtins.int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int - state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType - attempt: builtins.int - """The number of attempts made to deliver the callback. - This number represents a minimum bound since the attempt is incremented after the callback request completes. - """ - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" @property def callback(self) -> temporalio.api.common.v1.message_pb2.Callback: """Information on how this callback should be invoked (e.g. its URL and type).""" - @property - def trigger(self) -> Global___CallbackInfo.Trigger: + def trigger(self) -> global___CallbackInfo.Trigger: """Trigger for this callback.""" - @property def registration_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the callback was registered.""" - + state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType + attempt: builtins.int + """The number of attempts made to deliver the callback. + This number represents a minimum bound since the attempt is incremented after the callback request completes. + """ @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" - @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" def __init__( self, *, callback: temporalio.api.common.v1.message_pb2.Callback | None = ..., - trigger: Global___CallbackInfo.Trigger | None = ..., + trigger: global___CallbackInfo.Trigger | None = ..., registration_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., state: temporalio.api.enums.v1.common_pb2.CallbackState.ValueType = ..., attempt: builtins.int = ..., @@ -1646,7 +1582,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "callback", b"callback", "last_attempt_complete_time", @@ -1663,7 +1599,7 @@ class CallbackInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1685,9 +1621,8 @@ class CallbackInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___CallbackInfo: typing_extensions.TypeAlias = CallbackInfo +global___CallbackInfo = CallbackInfo -@typing.final class PendingNexusOperationInfo(google.protobuf.message.Message): """PendingNexusOperationInfo contains the state of a pending Nexus operation.""" @@ -1723,21 +1658,6 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): Deprecated. Renamed to operation_token. """ - state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType - attempt: builtins.int - """The number of attempts made to deliver the start operation request. - This number is approximate, it is incremented when a task is added to the history queue. - In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task - was never executed. - """ - scheduled_event_id: builtins.int - """The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the - DescribeWorkflowExecution response with workflow history. - """ - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" - operation_token: builtins.str - """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -1745,39 +1665,47 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the operation was scheduled.""" - + state: temporalio.api.enums.v1.common_pb2.PendingNexusOperationState.ValueType + attempt: builtins.int + """The number of attempts made to deliver the start operation request. + This number is approximate, it is incremented when a task is added to the history queue. + In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task + was never executed. + """ @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" - @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - @property - def cancellation_info(self) -> Global___NexusOperationCancellationInfo: ... + def cancellation_info(self) -> global___NexusOperationCancellationInfo: ... + scheduled_event_id: builtins.int + """The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the + DescribeWorkflowExecution response with workflow history. + """ + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" + operation_token: builtins.str + """Operation token. Only set for asynchronous operations after a successful StartOperation call.""" @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - def __init__( self, *, @@ -1795,7 +1723,7 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): | None = ..., next_attempt_schedule_time: google.protobuf.timestamp_pb2.Timestamp | None = ..., - cancellation_info: Global___NexusOperationCancellationInfo | None = ..., + cancellation_info: global___NexusOperationCancellationInfo | None = ..., scheduled_event_id: builtins.int = ..., blocked_reason: builtins.str = ..., operation_token: builtins.str = ..., @@ -1804,7 +1732,7 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancellation_info", b"cancellation_info", "last_attempt_complete_time", @@ -1825,7 +1753,7 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1863,11 +1791,8 @@ class PendingNexusOperationInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___PendingNexusOperationInfo: typing_extensions.TypeAlias = ( - PendingNexusOperationInfo -) +global___PendingNexusOperationInfo = PendingNexusOperationInfo -@typing.final class NexusOperationCancellationInfo(google.protobuf.message.Message): """NexusOperationCancellationInfo contains the state of a nexus operation cancellation.""" @@ -1880,29 +1805,25 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): LAST_ATTEMPT_FAILURE_FIELD_NUMBER: builtins.int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER: builtins.int BLOCKED_REASON_FIELD_NUMBER: builtins.int + @property + def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The time when cancellation was requested.""" state: temporalio.api.enums.v1.common_pb2.NexusOperationCancellationState.ValueType attempt: builtins.int """The number of attempts made to deliver the cancel operation request. This number represents a minimum bound since the attempt is incremented after the request completes. """ - blocked_reason: builtins.str - """If the state is BLOCKED, blocked reason provides additional information.""" - @property - def requested_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The time when cancellation was requested.""" - @property def last_attempt_complete_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the last attempt completed.""" - @property def last_attempt_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The last attempt's failure, if any.""" - @property def next_attempt_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the next attempt is scheduled.""" - + blocked_reason: builtins.str + """If the state is BLOCKED, blocked reason provides additional information.""" def __init__( self, *, @@ -1919,7 +1840,7 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "last_attempt_complete_time", b"last_attempt_complete_time", "last_attempt_failure", @@ -1932,7 +1853,7 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "blocked_reason", @@ -1950,11 +1871,8 @@ class NexusOperationCancellationInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___NexusOperationCancellationInfo: typing_extensions.TypeAlias = ( - NexusOperationCancellationInfo -) +global___NexusOperationCancellationInfo = NexusOperationCancellationInfo -@typing.final class WorkflowExecutionOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1962,13 +1880,11 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): PRIORITY_FIELD_NUMBER: builtins.int TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int @property - def versioning_override(self) -> Global___VersioningOverride: + def versioning_override(self) -> global___VersioningOverride: """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.""" - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """If set, overrides the workflow's priority sent by the SDK.""" - @property def time_skipping_config( self, @@ -1983,18 +1899,17 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`, `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field. """ - def __init__( self, *, - versioning_override: Global___VersioningOverride | None = ..., + versioning_override: global___VersioningOverride | None = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., time_skipping_config: temporalio.api.common.v1.message_pb2.TimeSkippingConfig | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "priority", b"priority", "time_skipping_config", @@ -2005,7 +1920,7 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "priority", b"priority", "time_skipping_config", @@ -2015,11 +1930,8 @@ class WorkflowExecutionOptions(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowExecutionOptions: typing_extensions.TypeAlias = ( - WorkflowExecutionOptions -) +global___WorkflowExecutionOptions = WorkflowExecutionOptions -@typing.final class VersioningOverride(google.protobuf.message.Message): """Used to override the versioning behavior (and pinned deployment version, if applicable) of a specific workflow execution. If set, this override takes precedence over worker-sent values. @@ -2043,7 +1955,7 @@ class VersioningOverride(google.protobuf.message.Message): VersioningOverride._PinnedOverrideBehavior.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED: ( VersioningOverride._PinnedOverrideBehavior.ValueType @@ -2066,13 +1978,12 @@ class VersioningOverride(google.protobuf.message.Message): ) # 1 """Override workflow behavior to be Pinned.""" - @typing.final class PinnedOverride(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor BEHAVIOR_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int - behavior: Global___VersioningOverride.PinnedOverrideBehavior.ValueType + behavior: global___VersioningOverride.PinnedOverrideBehavior.ValueType """Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. See `PinnedOverrideBehavior` for details. """ @@ -2089,23 +2000,23 @@ class VersioningOverride(google.protobuf.message.Message): If omitted and the target workflow is not pinned, the override request will be rejected with a PreconditionFailed error. """ - def __init__( self, *, - behavior: Global___VersioningOverride.PinnedOverrideBehavior.ValueType = ..., + behavior: global___VersioningOverride.PinnedOverrideBehavior.ValueType = ..., version: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["version", b"version"] + self, field_name: typing_extensions.Literal["version", b"version"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal["behavior", b"behavior", "version", b"version"], + field_name: typing_extensions.Literal[ + "behavior", b"behavior", "version", b"version" + ], ) -> None: ... - @typing.final class OneTimeOverride(google.protobuf.message.Message): """Routes Workflow Tasks for this execution to `target_deployment_version` until a Workflow Task completes on that version, then clears the override. @@ -2136,7 +2047,6 @@ class VersioningOverride(google.protobuf.message.Message): self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required. Worker Deployment Version to receive the one-time Workflow Task.""" - def __init__( self, *, @@ -2145,13 +2055,13 @@ class VersioningOverride(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "target_deployment_version", b"target_deployment_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "target_deployment_version", b"target_deployment_version" ], ) -> None: ... @@ -2162,27 +2072,16 @@ class VersioningOverride(google.protobuf.message.Message): BEHAVIOR_FIELD_NUMBER: builtins.int DEPLOYMENT_FIELD_NUMBER: builtins.int PINNED_VERSION_FIELD_NUMBER: builtins.int - auto_upgrade: builtins.bool - """Override the workflow to have AutoUpgrade behavior.""" - behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - """Required. - Deprecated. Use `override`. - """ - pinned_version: builtins.str - """Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`. - Identifies the worker deployment version to pin the workflow to, in the format - ".". - Deprecated. Use `override.pinned.version`. - """ @property - def pinned(self) -> Global___VersioningOverride.PinnedOverride: + def pinned(self) -> global___VersioningOverride.PinnedOverride: """Override the workflow to have Pinned behavior. This is a sticky override: Workflow Tasks continue to route according to this override until it is explicitly removed. """ - + auto_upgrade: builtins.bool + """Override the workflow to have AutoUpgrade behavior.""" @property - def one_time(self) -> Global___VersioningOverride.OneTimeOverride: + def one_time(self) -> global___VersioningOverride.OneTimeOverride: """Override Workflow Task routing to a specific Worker Deployment Version until one Workflow Task completes there. After completion, the workflow execution's Versioning Behavior and Deployment Version come from the worker's completion @@ -2190,27 +2089,35 @@ class VersioningOverride(google.protobuf.message.Message): (-- api-linter: core::0142::time-field-type=disabled aip.dev/not-precedent: one_time describes one-time routing semantics, not a timestamp or duration. --) """ - + behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + """Required. + Deprecated. Use `override`. + """ @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. Identifies the worker deployment to pin the workflow to. Deprecated. Use `override.pinned.version`. """ - + pinned_version: builtins.str + """Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`. + Identifies the worker deployment version to pin the workflow to, in the format + ".". + Deprecated. Use `override.pinned.version`. + """ def __init__( self, *, - pinned: Global___VersioningOverride.PinnedOverride | None = ..., + pinned: global___VersioningOverride.PinnedOverride | None = ..., auto_upgrade: builtins.bool = ..., - one_time: Global___VersioningOverride.OneTimeOverride | None = ..., + one_time: global___VersioningOverride.OneTimeOverride | None = ..., behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., pinned_version: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "auto_upgrade", b"auto_upgrade", "deployment", @@ -2225,7 +2132,7 @@ class VersioningOverride(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "auto_upgrade", b"auto_upgrade", "behavior", @@ -2243,12 +2150,11 @@ class VersioningOverride(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["override", b"override"] - ) -> typing.Literal["pinned", "auto_upgrade", "one_time"] | None: ... + self, oneof_group: typing_extensions.Literal["override", b"override"] + ) -> typing_extensions.Literal["pinned", "auto_upgrade", "one_time"] | None: ... -Global___VersioningOverride: typing_extensions.TypeAlias = VersioningOverride +global___VersioningOverride = VersioningOverride -@typing.final class OnConflictOptions(google.protobuf.message.Message): """When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and there is already an existing running workflow, OnConflictOptions defines actions to be taken on @@ -2276,7 +2182,7 @@ class OnConflictOptions(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attach_completion_callbacks", b"attach_completion_callbacks", "attach_links", @@ -2286,9 +2192,8 @@ class OnConflictOptions(google.protobuf.message.Message): ], ) -> None: ... -Global___OnConflictOptions: typing_extensions.TypeAlias = OnConflictOptions +global___OnConflictOptions = OnConflictOptions -@typing.final class RequestIdInfo(google.protobuf.message.Message): """RequestIdInfo contains details of a request ID.""" @@ -2317,7 +2222,7 @@ class RequestIdInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "buffered", b"buffered", "event_id", @@ -2327,15 +2232,13 @@ class RequestIdInfo(google.protobuf.message.Message): ], ) -> None: ... -Global___RequestIdInfo: typing_extensions.TypeAlias = RequestIdInfo +global___RequestIdInfo = RequestIdInfo -@typing.final class PostResetOperation(google.protobuf.message.Message): """PostResetOperation represents an operation to be performed on the new workflow execution after a workflow reset.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class SignalWorkflow(google.protobuf.message.Message): """SignalWorkflow represents sending a signal after a workflow reset. Keep the parameter in sync with temporalio.api.workflowservice.v1.SignalWorkflowExecutionRequest. @@ -2352,11 +2255,9 @@ class PostResetOperation(google.protobuf.message.Message): @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide with the signal.""" - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow.""" - @property def links( self, @@ -2364,7 +2265,6 @@ class PostResetOperation(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionSignaled event.""" - def __init__( self, *, @@ -2375,11 +2275,14 @@ class PostResetOperation(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["header", b"header", "input", b"input"] + self, + field_name: typing_extensions.Literal[ + "header", b"header", "input", b"input" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "input", @@ -2391,7 +2294,6 @@ class PostResetOperation(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class UpdateWorkflowOptions(google.protobuf.message.Message): """UpdateWorkflowOptions represents updating workflow execution options after a workflow reset. Keep the parameters in sync with temporalio.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest. @@ -2402,24 +2304,22 @@ class PostResetOperation(google.protobuf.message.Message): WORKFLOW_EXECUTION_OPTIONS_FIELD_NUMBER: builtins.int UPDATE_MASK_FIELD_NUMBER: builtins.int @property - def workflow_execution_options(self) -> Global___WorkflowExecutionOptions: + def workflow_execution_options(self) -> global___WorkflowExecutionOptions: """Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.""" - @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. """ - def __init__( self, *, - workflow_execution_options: Global___WorkflowExecutionOptions | None = ..., + workflow_execution_options: global___WorkflowExecutionOptions | None = ..., update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_mask", b"update_mask", "workflow_execution_options", @@ -2428,7 +2328,7 @@ class PostResetOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_mask", b"update_mask", "workflow_execution_options", @@ -2439,21 +2339,21 @@ class PostResetOperation(google.protobuf.message.Message): SIGNAL_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_OPTIONS_FIELD_NUMBER: builtins.int @property - def signal_workflow(self) -> Global___PostResetOperation.SignalWorkflow: ... + def signal_workflow(self) -> global___PostResetOperation.SignalWorkflow: ... @property def update_workflow_options( self, - ) -> Global___PostResetOperation.UpdateWorkflowOptions: ... + ) -> global___PostResetOperation.UpdateWorkflowOptions: ... def __init__( self, *, - signal_workflow: Global___PostResetOperation.SignalWorkflow | None = ..., - update_workflow_options: Global___PostResetOperation.UpdateWorkflowOptions + signal_workflow: global___PostResetOperation.SignalWorkflow | None = ..., + update_workflow_options: global___PostResetOperation.UpdateWorkflowOptions | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "signal_workflow", b"signal_workflow", "update_workflow_options", @@ -2464,7 +2364,7 @@ class PostResetOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "signal_workflow", b"signal_workflow", "update_workflow_options", @@ -2474,12 +2374,13 @@ class PostResetOperation(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["signal_workflow", "update_workflow_options"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> ( + typing_extensions.Literal["signal_workflow", "update_workflow_options"] | None + ): ... -Global___PostResetOperation: typing_extensions.TypeAlias = PostResetOperation +global___PostResetOperation = PostResetOperation -@typing.final class WorkflowExecutionPauseInfo(google.protobuf.message.Message): """WorkflowExecutionPauseInfo contains the information about a workflow execution pause.""" @@ -2490,12 +2391,11 @@ class WorkflowExecutionPauseInfo(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int identity: builtins.str """The identity of the client who paused the workflow execution.""" - reason: builtins.str - """The reason for pausing the workflow execution.""" @property def paused_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time when the workflow execution was paused.""" - + reason: builtins.str + """The reason for pausing the workflow execution.""" def __init__( self, *, @@ -2504,15 +2404,13 @@ class WorkflowExecutionPauseInfo(google.protobuf.message.Message): reason: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["paused_time", b"paused_time"] + self, field_name: typing_extensions.Literal["paused_time", b"paused_time"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "paused_time", b"paused_time", "reason", b"reason" ], ) -> None: ... -Global___WorkflowExecutionPauseInfo: typing_extensions.TypeAlias = ( - WorkflowExecutionPauseInfo -) +global___WorkflowExecutionPauseInfo = WorkflowExecutionPauseInfo diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.py b/temporalio/api/workflowservice/v1/request_response_pb2.py index f492cb574..baabaf6ad 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2.py @@ -1,1120 +1,4736 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/workflowservice/v1/request_response.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/workflowservice/v1/request_response.proto", +# @@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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + +from temporalio.api.activity.v1 import ( + message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, +) +from temporalio.api.batch.v1 import ( + message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2, +) +from temporalio.api.command.v1 import ( + message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2, +) +from temporalio.api.common.v1 import ( + message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +) +from temporalio.api.compute.v1 import ( + config_pb2 as temporal_dot_api_dot_compute_dot_v1_dot_config__pb2, +) +from temporalio.api.deployment.v1 import ( + message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, +) +from temporalio.api.enums.v1 import ( + activity_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_activity__pb2, +) +from temporalio.api.enums.v1 import ( + batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, +) +from temporalio.api.enums.v1 import ( + common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +) +from temporalio.api.enums.v1 import ( + deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, +) +from temporalio.api.enums.v1 import ( + failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, +) +from temporalio.api.enums.v1 import ( + namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, +) +from temporalio.api.enums.v1 import ( + nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, +) +from temporalio.api.enums.v1 import ( + query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, +) +from temporalio.api.enums.v1 import ( + reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, +) +from temporalio.api.enums.v1 import ( + task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, +) +from temporalio.api.enums.v1 import ( + update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, +) +from temporalio.api.enums.v1 import ( + workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +) +from temporalio.api.failure.v1 import ( + message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +) +from temporalio.api.filter.v1 import ( + message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2, +) +from temporalio.api.history.v1 import ( + message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, +) +from temporalio.api.namespace.v1 import ( + message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2, +) +from temporalio.api.nexus.v1 import ( + message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, +) +from temporalio.api.protocol.v1 import ( + message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2, +) +from temporalio.api.query.v1 import ( + message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2, +) +from temporalio.api.replication.v1 import ( + message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2, +) +from temporalio.api.rules.v1 import ( + message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, +) +from temporalio.api.schedule.v1 import ( + message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2, +) +from temporalio.api.sdk.v1 import ( + task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, +) +from temporalio.api.sdk.v1 import ( + user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, +) +from temporalio.api.sdk.v1 import ( + worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2, +) +from temporalio.api.taskqueue.v1 import ( + message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, +) +from temporalio.api.update.v1 import ( + message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, +) +from temporalio.api.version.v1 import ( + message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2, +) +from temporalio.api.worker.v1 import ( + message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2, +) +from temporalio.api.workflow.v1 import ( + message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, +) + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( + b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/activity.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a$temporal/api/compute/v1/config.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1b\n\x19RegisterNamespaceResponse"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"S\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x18\n\x10weak_consistency\x18\x03 \x01(\x08"\xb4\x03\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\x12\x46\n\x12poller_group_infos\x18\x07 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65precateNamespaceResponse"\xd1\x0c\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\\\n\x1f\x65\x61ger_worker_deployment_options\x18\x1c \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12H\n\x14time_skipping_config\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xaa\x02\n"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\xb8\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xf2\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x11 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x12 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01"\x8a\n\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x1b\n\x13worker_instance_key\x18\x13 \x01(\t\x12!\n\x19worker_control_task_queue\x18\x14 \x01(\t\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03"\x8d\x04\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"#\n!RespondWorkflowTaskFailedResponse"\xe6\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xd0\x08\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x17\n\x0f\x61\x63tivity_run_id\x18\x14 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x15 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa5\x01\n"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x05 \x01(\t"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xcf\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xfe\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"&\n$RespondActivityTaskCompletedResponse"\xcf\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"*\n(RespondActivityTaskCompletedByIdResponse"\xbe\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\t \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\x8f\x02\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x0bresource_id\x18\x08 \x01(\t"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xfe\x02\n"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"%\n#RespondActivityTaskCanceledResponse"\xa0\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x13\n\x0bresource_id\x18\x08 \x01(\t")\n\'RespondActivityTaskCanceledByIdResponse"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"(\n&RequestCancelWorkflowExecutionResponse"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n"M\n\x1fSignalWorkflowExecutionResponse\x12*\n\x04link\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xbb\n\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x1b \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfigJ\x04\x08\x15\x10\x16"~\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12\x31\n\x0bsignal_link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"$\n"TerminateWorkflowExecutionResponse"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"!\n\x1f\x44\x65leteWorkflowExecutionResponse"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters"\x82\x01\n"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x1c\n\x1aGetSearchAttributesRequest"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\xe9\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x17\n\x0fpoller_group_id\x18\t \x01(\tJ\x04\x08\x05\x10\x06"#\n!RespondQueryTaskCompletedResponse"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x1e\n\x1cResetStickyTaskQueueResponse"\x9b\x02\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x06 \x01(\t\x12\x12\n\ntask_queue\x18\x07 \x01(\t\x12>\n\x10task_queue_types\x18\x08 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\x18\n\x16ShutdownWorkerResponse"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01"\x17\n\x15GetClusterInfoRequest"\xd1\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x12 \n\x18initial_failover_version\x18\t \x01(\x03\x12"\n\x1a\x66\x61ilover_version_increment\x18\n \x01(\x03\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x16\n\x14GetSystemInfoRequest"\x97\x04\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\x8a\x03\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\x12!\n\x19server_scaled_deployments\x18\x0c \x01(\x08"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c"\xa4\x02\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12*\n\x04memo\x18\x08 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x18\n\x16UpdateScheduleResponse"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\x17\n\x15PatchScheduleResponse"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t"\x18\n\x16\x44\x65leteScheduleResponse"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"9\n\x15\x43ountSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xdb\x01\n\x16\x43ountSchedulesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12X\n\x06groups\x18\x02 \x03(\x0b\x32H.temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet"\xb5\r\n"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\x83\x02\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation"\x1d\n\x1bStartBatchOperationResponse"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t"\x1c\n\x1aStopBatchOperationResponse"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xb9\x01\n"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef"\xa0\x03\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\t \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x95\x02\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x04 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x05 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa7\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\x12\x17\n\x0fpoller_group_id\x18\x05 \x01(\t"#\n!RespondNexusTaskCompletedResponse"\xdc\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x17\n\x0fpoller_group_id\x18\x06 \x01(\t" \n\x1eRespondNexusTaskFailedResponse"\xf4\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x12\x13\n\x0bresource_id\x18\x03 \x01(\t\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xab\x02\n%UpdateActivityExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x06 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x12\x13\n\x0bresource_id\x18\t \x01(\t"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"m\n&UpdateActivityExecutionOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"\xc7\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x12\n\nrequest_id\x18\x07 \x01(\tB\n\n\x08\x61\x63tivity"\xb7\x01\n\x1dPauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\x12\x12\n\nrequest_id\x18\x08 \x01(\t"\x17\n\x15PauseActivityResponse" \n\x1ePauseActivityExecutionResponse"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x81\x02\n\x1fUnpauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x16\n\x0ereset_attempts\x18\x06 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x07 \x01(\x08\x12\x0e\n\x06reason\x18\x08 \x01(\t\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x19\n\x17UnpauseActivityResponse""\n UnpauseActivityExecutionResponse"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity"\x8e\x02\n\x1dResetActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x17\n\x15ResetActivityResponse" \n\x1eResetActivityExecutionResponse"\x9c\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08identity\x18\x05 \x01(\t"\xb1\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xe5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\t \x01(\x08"\xbf\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01"\xf9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\n \x01(\x08"\xe0\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\x12\x1f\n\x13previous_percentage\x18\x03 \x01(\x02\x42\x02\x18\x01"q\n\x1d\x43reateWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"8\n\x1e\x43reateWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary"\xf0\x01\n$CreateWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12>\n\x0e\x63ompute_config\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\'\n%CreateWorkerDeploymentVersionResponse"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t"\'\n%DeleteWorkerDeploymentVersionResponse"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t" \n\x1e\x44\x65leteWorkerDeploymentResponse"\x84\x04\n1UpdateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x99\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32r.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"4\n2UpdateWorkerDeploymentVersionComputeConfigResponse"\xf4\x03\n3ValidateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x9b\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32t.temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"6\n4ValidateWorkerDeploymentVersionComputeConfigResponse"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata"\xbd\x01\n!SetWorkerDeploymentManagerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x1a\n\x10manager_identity\x18\x03 \x01(\tH\x00\x12\x0e\n\x04self\x18\x04 \x01(\x08H\x00\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\tB\x16\n\x14new_manager_identity"c\n"SetWorkerDeploymentManagerResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12%\n\x19previous_manager_identity\x18\x02 \x01(\tB\x02\x18\x01"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08"\x9b\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x13\n\x0bresource_id\x18\x04 \x01(\t"\x1f\n\x1dRecordWorkerHeartbeatResponse"\x82\x01\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\x12\x1e\n\x16include_system_workers\x18\x05 \x01(\x08"\xa5\x01\n\x13ListWorkersResponse\x12<\n\x0cworkers_info\x18\x01 \x03(\x0b\x32".temporal.api.worker.v1.WorkerInfoB\x02\x18\x01\x12\x37\n\x07workers\x18\x03 \x03(\x0b\x32&.temporal.api.worker.v1.WorkerListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd5\x05\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12\x84\x01\n\x1dset_fairness_weight_overrides\x18\x07 \x03(\x0b\x32].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry\x12\'\n\x1funset_fairness_weight_overrides\x18\x08 \x03(\t\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x41\n\x1fSetFairnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig"\x9e\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig"\x8a\x02\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08response"G\n\x15\x44\x65scribeWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x02 \x01(\t"Q\n\x16\x44\x65scribeWorkerResponse\x12\x37\n\x0bworker_info\x18\x01 \x01(\x0b\x32".temporal.api.worker.v1.WorkerInfo"W\n\x13\x43ountWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x1e\n\x16include_system_workers\x18\x03 \x01(\x08"%\n\x14\x43ountWorkersResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03"\x8d\x01\n\x1dPauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t" \n\x1ePauseWorkflowExecutionResponse"\x8f\x01\n\x1fUnpauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t""\n UnpauseWorkflowExecutionResponse"\x99\t\n\x1dStartActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x06 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12/\n\x05input\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x45\n\x0fid_reuse_policy\x18\r \x01(\x0e\x32,.temporal.api.enums.v1.ActivityIdReusePolicy\x12K\n\x12id_conflict_policy\x18\x0e \x01(\x0e\x32/.temporal.api.enums.v1.ActivityIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x11 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12>\n\x14\x63ompletion_callbacks\x18\x13 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x14 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x46\n\x13on_conflict_options\x18\x15 \x01(\x0b\x32).temporal.api.common.v1.OnConflictOptions\x12.\n\x0bstart_delay\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration"m\n\x1eStartActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12*\n\x04link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xe4\x01\n DescribeActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x12!\n\x19include_heartbeat_details\x18\x07 \x01(\x08\x12\x1c\n\x14include_last_failure\x18\x08 \x01(\x08"\xbc\x02\n!DescribeActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.temporal.api.activity.v1.ActivityExecutionInfo\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x07outcome\x18\x04 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\x12\x17\n\x0flong_poll_token\x18\x05 \x01(\x0c\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.activity.v1.CallbackInfo"V\n\x1cPollActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"t\n\x1dPollActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x43\n\x07outcome\x18\x02 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome"m\n\x1dListActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x82\x01\n\x1eListActivityExecutionsResponse\x12G\n\nexecutions\x18\x01 \x03(\x0b\x32\x33.temporal.api.activity.v1.ActivityExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd1\x06\n#StartNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x14\n\x0coperation_id\x18\x04 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x05 \x01(\t\x12\x0f\n\x07service\x18\x06 \x01(\t\x12\x11\n\toperation\x18\x07 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x05input\x18\x0b \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12K\n\x0fid_reuse_policy\x18\x0c \x01(\x0e\x32\x32.temporal.api.enums.v1.NexusOperationIdReusePolicy\x12Q\n\x12id_conflict_policy\x18\r \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusOperationIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12k\n\x0cnexus_header\x18\x0f \x03(\x0b\x32U.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x10 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"G\n$StartNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08"\xaa\x01\n&DescribeNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c"\xb7\x02\n\'DescribeNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12@\n\x04info\x18\x02 \x01(\x0b\x32\x32.temporal.api.nexus.v1.NexusOperationExecutionInfo\x12.\n\x05input\x18\x03 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x42\t\n\x07outcome"\xa1\x01\n"PollNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x42\n\nwait_stage\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage"\x85\x02\n#PollNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x42\n\nwait_stage\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage\x12\x17\n\x0foperation_token\x18\x03 \x01(\t\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07outcome"s\n#ListNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x8b\x01\n$ListNexusOperationExecutionsResponse\x12J\n\noperations\x18\x01 \x03(\x0b\x32\x36.temporal.api.nexus.v1.NexusOperationExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountActivityExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"H\n$CountNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xf9\x01\n%CountNexusOperationExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12g\n\x06groups\x18\x02 \x03(\x0b\x32W.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x95\x01\n%RequestCancelActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"(\n&RequestCancelActivityExecutionResponse"\x91\x01\n!TerminateActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"$\n"TerminateActivityExecutionResponse"X\n\x1e\x44\x65leteActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"!\n\x1f\x44\x65leteActivityExecutionResponse"\x9c\x01\n+RequestCancelNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t".\n,RequestCancelNexusOperationExecutionResponse"\x98\x01\n\'TerminateNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"*\n(TerminateNexusOperationExecutionResponse"_\n$DeleteNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"\'\n%DeleteNexusOperationExecutionResponseB\xbe\x01\n"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' +) + + +_REGISTERNAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["RegisterNamespaceRequest"] +_REGISTERNAMESPACEREQUEST_DATAENTRY = _REGISTERNAMESPACEREQUEST.nested_types_by_name[ + "DataEntry" +] +_REGISTERNAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ + "RegisterNamespaceResponse" +] +_LISTNAMESPACESREQUEST = DESCRIPTOR.message_types_by_name["ListNamespacesRequest"] +_LISTNAMESPACESRESPONSE = DESCRIPTOR.message_types_by_name["ListNamespacesResponse"] +_DESCRIBENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["DescribeNamespaceRequest"] +_DESCRIBENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeNamespaceResponse" +] +_UPDATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name["UpdateNamespaceRequest"] +_UPDATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name["UpdateNamespaceResponse"] +_DEPRECATENAMESPACEREQUEST = DESCRIPTOR.message_types_by_name[ + "DeprecateNamespaceRequest" +] +_DEPRECATENAMESPACERESPONSE = DESCRIPTOR.message_types_by_name[ + "DeprecateNamespaceResponse" +] +_STARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StartWorkflowExecutionRequest" +] +_STARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StartWorkflowExecutionResponse" +] +_GETWORKFLOWEXECUTIONHISTORYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryRequest" +] +_GETWORKFLOWEXECUTIONHISTORYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryResponse" +] +_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryReverseRequest" +] +_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkflowExecutionHistoryReverseResponse" +] +_POLLWORKFLOWTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollWorkflowTaskQueueRequest" +] +_POLLWORKFLOWTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollWorkflowTaskQueueResponse" +] +_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY = ( + _POLLWORKFLOWTASKQUEUERESPONSE.nested_types_by_name["QueriesEntry"] +) +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskCompletedRequest" +] +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY = ( + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["QueryResultsEntry"] +) +_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES = ( + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.nested_types_by_name["Capabilities"] +) +_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskCompletedResponse" +] +_RESPONDWORKFLOWTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskFailedRequest" +] +_RESPONDWORKFLOWTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondWorkflowTaskFailedResponse" +] +_POLLACTIVITYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollActivityTaskQueueRequest" +] +_POLLACTIVITYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollActivityTaskQueueResponse" +] +_RECORDACTIVITYTASKHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatRequest" +] +_RECORDACTIVITYTASKHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatResponse" +] +_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatByIdRequest" +] +_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RecordActivityTaskHeartbeatByIdResponse" +] +_RESPONDACTIVITYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedRequest" +] +_RESPONDACTIVITYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedResponse" +] +_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedByIdRequest" +] +_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCompletedByIdResponse" +] +_RESPONDACTIVITYTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedRequest" +] +_RESPONDACTIVITYTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedResponse" +] +_RESPONDACTIVITYTASKFAILEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedByIdRequest" +] +_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskFailedByIdResponse" +] +_RESPONDACTIVITYTASKCANCELEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledRequest" +] +_RESPONDACTIVITYTASKCANCELEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledResponse" +] +_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledByIdRequest" +] +_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondActivityTaskCanceledByIdResponse" +] +_REQUESTCANCELWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "RequestCancelWorkflowExecutionRequest" +] +_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "RequestCancelWorkflowExecutionResponse" +] +_SIGNALWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SignalWorkflowExecutionRequest" +] +_SIGNALWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SignalWorkflowExecutionResponse" +] +_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SignalWithStartWorkflowExecutionRequest" +] +_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SignalWithStartWorkflowExecutionResponse" +] +_RESETWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "ResetWorkflowExecutionRequest" +] +_RESETWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "ResetWorkflowExecutionResponse" +] +_TERMINATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "TerminateWorkflowExecutionRequest" +] +_TERMINATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "TerminateWorkflowExecutionResponse" +] +_DELETEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowExecutionRequest" +] +_DELETEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowExecutionResponse" +] +_LISTOPENWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListOpenWorkflowExecutionsRequest" +] +_LISTOPENWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListOpenWorkflowExecutionsResponse" +] +_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListClosedWorkflowExecutionsRequest" +] +_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListClosedWorkflowExecutionsResponse" +] +_LISTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListWorkflowExecutionsRequest" +] +_LISTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListWorkflowExecutionsResponse" +] +_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListArchivedWorkflowExecutionsRequest" +] +_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListArchivedWorkflowExecutionsResponse" +] +_SCANWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ScanWorkflowExecutionsRequest" +] +_SCANWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ScanWorkflowExecutionsResponse" +] +_COUNTWORKFLOWEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "CountWorkflowExecutionsRequest" +] +_COUNTWORKFLOWEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "CountWorkflowExecutionsResponse" +] +_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( + _COUNTWORKFLOWEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] +) +_GETSEARCHATTRIBUTESREQUEST = DESCRIPTOR.message_types_by_name[ + "GetSearchAttributesRequest" +] +_GETSEARCHATTRIBUTESRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetSearchAttributesResponse" +] +_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY = ( + _GETSEARCHATTRIBUTESRESPONSE.nested_types_by_name["KeysEntry"] +) +_RESPONDQUERYTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondQueryTaskCompletedRequest" +] +_RESPONDQUERYTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondQueryTaskCompletedResponse" +] +_RESETSTICKYTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "ResetStickyTaskQueueRequest" +] +_RESETSTICKYTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "ResetStickyTaskQueueResponse" +] +_SHUTDOWNWORKERREQUEST = DESCRIPTOR.message_types_by_name["ShutdownWorkerRequest"] +_SHUTDOWNWORKERRESPONSE = DESCRIPTOR.message_types_by_name["ShutdownWorkerResponse"] +_QUERYWORKFLOWREQUEST = DESCRIPTOR.message_types_by_name["QueryWorkflowRequest"] +_QUERYWORKFLOWRESPONSE = DESCRIPTOR.message_types_by_name["QueryWorkflowResponse"] +_DESCRIBEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowExecutionRequest" +] +_DESCRIBEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowExecutionResponse" +] +_DESCRIBETASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name["DescribeTaskQueueRequest"] +_DESCRIBETASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeTaskQueueResponse" +] +_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY = ( + _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["StatsByPriorityKeyEntry"] +) +_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT = ( + _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["EffectiveRateLimit"] +) +_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY = ( + _DESCRIBETASKQUEUERESPONSE.nested_types_by_name["VersionsInfoEntry"] +) +_GETCLUSTERINFOREQUEST = DESCRIPTOR.message_types_by_name["GetClusterInfoRequest"] +_GETCLUSTERINFORESPONSE = DESCRIPTOR.message_types_by_name["GetClusterInfoResponse"] +_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY = ( + _GETCLUSTERINFORESPONSE.nested_types_by_name["SupportedClientsEntry"] +) +_GETSYSTEMINFOREQUEST = DESCRIPTOR.message_types_by_name["GetSystemInfoRequest"] +_GETSYSTEMINFORESPONSE = DESCRIPTOR.message_types_by_name["GetSystemInfoResponse"] +_GETSYSTEMINFORESPONSE_CAPABILITIES = _GETSYSTEMINFORESPONSE.nested_types_by_name[ + "Capabilities" +] +_LISTTASKQUEUEPARTITIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListTaskQueuePartitionsRequest" +] +_LISTTASKQUEUEPARTITIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListTaskQueuePartitionsResponse" +] +_CREATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["CreateScheduleRequest"] +_CREATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["CreateScheduleResponse"] +_DESCRIBESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DescribeScheduleRequest"] +_DESCRIBESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DescribeScheduleResponse"] +_UPDATESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["UpdateScheduleRequest"] +_UPDATESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["UpdateScheduleResponse"] +_PATCHSCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["PatchScheduleRequest"] +_PATCHSCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["PatchScheduleResponse"] +_LISTSCHEDULEMATCHINGTIMESREQUEST = DESCRIPTOR.message_types_by_name[ + "ListScheduleMatchingTimesRequest" +] +_LISTSCHEDULEMATCHINGTIMESRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListScheduleMatchingTimesResponse" +] +_DELETESCHEDULEREQUEST = DESCRIPTOR.message_types_by_name["DeleteScheduleRequest"] +_DELETESCHEDULERESPONSE = DESCRIPTOR.message_types_by_name["DeleteScheduleResponse"] +_LISTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name["ListSchedulesRequest"] +_LISTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name["ListSchedulesResponse"] +_COUNTSCHEDULESREQUEST = DESCRIPTOR.message_types_by_name["CountSchedulesRequest"] +_COUNTSCHEDULESRESPONSE = DESCRIPTOR.message_types_by_name["CountSchedulesResponse"] +_COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP = _COUNTSCHEDULESRESPONSE.nested_types_by_name[ + "AggregationGroup" +] +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerBuildIdCompatibilityRequest" +] +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION = ( + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name[ + "AddNewCompatibleVersion" + ] +) +_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS = ( + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST.nested_types_by_name["MergeSets"] +) +_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerBuildIdCompatibilityResponse" +] +_GETWORKERBUILDIDCOMPATIBILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkerBuildIdCompatibilityRequest" +] +_GETWORKERBUILDIDCOMPATIBILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkerBuildIdCompatibilityResponse" +] +_UPDATEWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerVersioningRulesRequest" +] +_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "InsertBuildIdAssignmentRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "ReplaceBuildIdAssignmentRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "DeleteBuildIdAssignmentRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "AddCompatibleBuildIdRedirectRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "ReplaceCompatibleBuildIdRedirectRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name[ + "DeleteCompatibleBuildIdRedirectRule" + ] +) +_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID = ( + _UPDATEWORKERVERSIONINGRULESREQUEST.nested_types_by_name["CommitBuildId"] +) +_UPDATEWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerVersioningRulesResponse" +] +_GETWORKERVERSIONINGRULESREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkerVersioningRulesRequest" +] +_GETWORKERVERSIONINGRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkerVersioningRulesResponse" +] +_GETWORKERTASKREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetWorkerTaskReachabilityRequest" +] +_GETWORKERTASKREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetWorkerTaskReachabilityResponse" +] +_UPDATEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionRequest" +] +_UPDATEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionResponse" +] +_STARTBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StartBatchOperationRequest" +] +_STARTBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StartBatchOperationResponse" +] +_STOPBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StopBatchOperationRequest" +] +_STOPBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StopBatchOperationResponse" +] +_DESCRIBEBATCHOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeBatchOperationRequest" +] +_DESCRIBEBATCHOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeBatchOperationResponse" +] +_LISTBATCHOPERATIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListBatchOperationsRequest" +] +_LISTBATCHOPERATIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListBatchOperationsResponse" +] +_POLLWORKFLOWEXECUTIONUPDATEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollWorkflowExecutionUpdateRequest" +] +_POLLWORKFLOWEXECUTIONUPDATERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollWorkflowExecutionUpdateResponse" +] +_POLLNEXUSTASKQUEUEREQUEST = DESCRIPTOR.message_types_by_name[ + "PollNexusTaskQueueRequest" +] +_POLLNEXUSTASKQUEUERESPONSE = DESCRIPTOR.message_types_by_name[ + "PollNexusTaskQueueResponse" +] +_RESPONDNEXUSTASKCOMPLETEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskCompletedRequest" +] +_RESPONDNEXUSTASKCOMPLETEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskCompletedResponse" +] +_RESPONDNEXUSTASKFAILEDREQUEST = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskFailedRequest" +] +_RESPONDNEXUSTASKFAILEDRESPONSE = DESCRIPTOR.message_types_by_name[ + "RespondNexusTaskFailedResponse" +] +_EXECUTEMULTIOPERATIONREQUEST = DESCRIPTOR.message_types_by_name[ + "ExecuteMultiOperationRequest" +] +_EXECUTEMULTIOPERATIONREQUEST_OPERATION = ( + _EXECUTEMULTIOPERATIONREQUEST.nested_types_by_name["Operation"] +) +_EXECUTEMULTIOPERATIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "ExecuteMultiOperationResponse" +] +_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE = ( + _EXECUTEMULTIOPERATIONRESPONSE.nested_types_by_name["Response"] +) +_UPDATEACTIVITYOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateActivityOptionsRequest" +] +_UPDATEACTIVITYEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateActivityExecutionOptionsRequest" +] +_UPDATEACTIVITYOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateActivityOptionsResponse" +] +_UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateActivityExecutionOptionsResponse" +] +_PAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["PauseActivityRequest"] +_PAUSEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "PauseActivityExecutionRequest" +] +_PAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["PauseActivityResponse"] +_PAUSEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "PauseActivityExecutionResponse" +] +_UNPAUSEACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["UnpauseActivityRequest"] +_UNPAUSEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "UnpauseActivityExecutionRequest" +] +_UNPAUSEACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["UnpauseActivityResponse"] +_UNPAUSEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "UnpauseActivityExecutionResponse" +] +_RESETACTIVITYREQUEST = DESCRIPTOR.message_types_by_name["ResetActivityRequest"] +_RESETACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "ResetActivityExecutionRequest" +] +_RESETACTIVITYRESPONSE = DESCRIPTOR.message_types_by_name["ResetActivityResponse"] +_RESETACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "ResetActivityExecutionResponse" +] +_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionOptionsRequest" +] +_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkflowExecutionOptionsResponse" +] +_DESCRIBEDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeDeploymentRequest" +] +_DESCRIBEDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeDeploymentResponse" +] +_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentVersionRequest" +] +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentVersionResponse" +] +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE = ( + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE.nested_types_by_name["VersionTaskQueue"] +) +_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY = ( + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE.nested_types_by_name[ + "StatsByPriorityKeyEntry" + ] +) +_DESCRIBEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentRequest" +] +_DESCRIBEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkerDeploymentResponse" +] +_LISTDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name["ListDeploymentsRequest"] +_LISTDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name["ListDeploymentsResponse"] +_SETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "SetCurrentDeploymentRequest" +] +_SETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetCurrentDeploymentResponse" +] +_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentCurrentVersionRequest" +] +_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentCurrentVersionResponse" +] +_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentRampingVersionRequest" +] +_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentRampingVersionResponse" +] +_CREATEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateWorkerDeploymentRequest" +] +_CREATEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateWorkerDeploymentResponse" +] +_LISTWORKERDEPLOYMENTSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListWorkerDeploymentsRequest" +] +_LISTWORKERDEPLOYMENTSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListWorkerDeploymentsResponse" +] +_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY = ( + _LISTWORKERDEPLOYMENTSRESPONSE.nested_types_by_name["WorkerDeploymentSummary"] +) +_CREATEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateWorkerDeploymentVersionRequest" +] +_CREATEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateWorkerDeploymentVersionResponse" +] +_DELETEWORKERDEPLOYMENTVERSIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentVersionRequest" +] +_DELETEWORKERDEPLOYMENTVERSIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentVersionResponse" +] +_DELETEWORKERDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentRequest" +] +_DELETEWORKERDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkerDeploymentResponse" +] +_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerDeploymentVersionComputeConfigRequest" +] +_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY = ( + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST.nested_types_by_name[ + "ComputeConfigScalingGroupsEntry" + ] +) +_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerDeploymentVersionComputeConfigResponse" +] +_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ + "ValidateWorkerDeploymentVersionComputeConfigRequest" +] +_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY = ( + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST.nested_types_by_name[ + "ComputeConfigScalingGroupsEntry" + ] +) +_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE = ( + DESCRIPTOR.message_types_by_name[ + "ValidateWorkerDeploymentVersionComputeConfigResponse" + ] +) +_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerDeploymentVersionMetadataRequest" +] +_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY = ( + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.nested_types_by_name[ + "UpsertEntriesEntry" + ] +) +_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerDeploymentVersionMetadataResponse" +] +_SETWORKERDEPLOYMENTMANAGERREQUEST = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentManagerRequest" +] +_SETWORKERDEPLOYMENTMANAGERRESPONSE = DESCRIPTOR.message_types_by_name[ + "SetWorkerDeploymentManagerResponse" +] +_GETCURRENTDEPLOYMENTREQUEST = DESCRIPTOR.message_types_by_name[ + "GetCurrentDeploymentRequest" +] +_GETCURRENTDEPLOYMENTRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetCurrentDeploymentResponse" +] +_GETDEPLOYMENTREACHABILITYREQUEST = DESCRIPTOR.message_types_by_name[ + "GetDeploymentReachabilityRequest" +] +_GETDEPLOYMENTREACHABILITYRESPONSE = DESCRIPTOR.message_types_by_name[ + "GetDeploymentReachabilityResponse" +] +_CREATEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "CreateWorkflowRuleRequest" +] +_CREATEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "CreateWorkflowRuleResponse" +] +_DESCRIBEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowRuleRequest" +] +_DESCRIBEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeWorkflowRuleResponse" +] +_DELETEWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowRuleRequest" +] +_DELETEWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteWorkflowRuleResponse" +] +_LISTWORKFLOWRULESREQUEST = DESCRIPTOR.message_types_by_name["ListWorkflowRulesRequest"] +_LISTWORKFLOWRULESRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListWorkflowRulesResponse" +] +_TRIGGERWORKFLOWRULEREQUEST = DESCRIPTOR.message_types_by_name[ + "TriggerWorkflowRuleRequest" +] +_TRIGGERWORKFLOWRULERESPONSE = DESCRIPTOR.message_types_by_name[ + "TriggerWorkflowRuleResponse" +] +_RECORDWORKERHEARTBEATREQUEST = DESCRIPTOR.message_types_by_name[ + "RecordWorkerHeartbeatRequest" +] +_RECORDWORKERHEARTBEATRESPONSE = DESCRIPTOR.message_types_by_name[ + "RecordWorkerHeartbeatResponse" +] +_LISTWORKERSREQUEST = DESCRIPTOR.message_types_by_name["ListWorkersRequest"] +_LISTWORKERSRESPONSE = DESCRIPTOR.message_types_by_name["ListWorkersResponse"] +_UPDATETASKQUEUECONFIGREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateTaskQueueConfigRequest" +] +_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE = ( + _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name["RateLimitUpdate"] +) +_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY = ( + _UPDATETASKQUEUECONFIGREQUEST.nested_types_by_name[ + "SetFairnessWeightOverridesEntry" + ] +) +_UPDATETASKQUEUECONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateTaskQueueConfigResponse" +] +_FETCHWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name["FetchWorkerConfigRequest"] +_FETCHWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ + "FetchWorkerConfigResponse" +] +_UPDATEWORKERCONFIGREQUEST = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerConfigRequest" +] +_UPDATEWORKERCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[ + "UpdateWorkerConfigResponse" +] +_DESCRIBEWORKERREQUEST = DESCRIPTOR.message_types_by_name["DescribeWorkerRequest"] +_DESCRIBEWORKERRESPONSE = DESCRIPTOR.message_types_by_name["DescribeWorkerResponse"] +_COUNTWORKERSREQUEST = DESCRIPTOR.message_types_by_name["CountWorkersRequest"] +_COUNTWORKERSRESPONSE = DESCRIPTOR.message_types_by_name["CountWorkersResponse"] +_PAUSEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "PauseWorkflowExecutionRequest" +] +_PAUSEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "PauseWorkflowExecutionResponse" +] +_UNPAUSEWORKFLOWEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "UnpauseWorkflowExecutionRequest" +] +_UNPAUSEWORKFLOWEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "UnpauseWorkflowExecutionResponse" +] +_STARTACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StartActivityExecutionRequest" +] +_STARTACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StartActivityExecutionResponse" +] +_DESCRIBEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeActivityExecutionRequest" +] +_DESCRIBEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeActivityExecutionResponse" +] +_POLLACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "PollActivityExecutionRequest" +] +_POLLACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "PollActivityExecutionResponse" +] +_LISTACTIVITYEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListActivityExecutionsRequest" +] +_LISTACTIVITYEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListActivityExecutionsResponse" +] +_STARTNEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "StartNexusOperationExecutionRequest" +] +_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY = ( + _STARTNEXUSOPERATIONEXECUTIONREQUEST.nested_types_by_name["NexusHeaderEntry"] +) +_STARTNEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "StartNexusOperationExecutionResponse" +] +_DESCRIBENEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DescribeNexusOperationExecutionRequest" +] +_DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DescribeNexusOperationExecutionResponse" +] +_POLLNEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "PollNexusOperationExecutionRequest" +] +_POLLNEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "PollNexusOperationExecutionResponse" +] +_LISTNEXUSOPERATIONEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "ListNexusOperationExecutionsRequest" +] +_LISTNEXUSOPERATIONEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "ListNexusOperationExecutionsResponse" +] +_COUNTACTIVITYEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "CountActivityExecutionsRequest" +] +_COUNTACTIVITYEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "CountActivityExecutionsResponse" +] +_COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( + _COUNTACTIVITYEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] +) +_COUNTNEXUSOPERATIONEXECUTIONSREQUEST = DESCRIPTOR.message_types_by_name[ + "CountNexusOperationExecutionsRequest" +] +_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE = DESCRIPTOR.message_types_by_name[ + "CountNexusOperationExecutionsResponse" +] +_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP = ( + _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE.nested_types_by_name["AggregationGroup"] +) +_REQUESTCANCELACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "RequestCancelActivityExecutionRequest" +] +_REQUESTCANCELACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "RequestCancelActivityExecutionResponse" +] +_TERMINATEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "TerminateActivityExecutionRequest" +] +_TERMINATEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "TerminateActivityExecutionResponse" +] +_DELETEACTIVITYEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteActivityExecutionRequest" +] +_DELETEACTIVITYEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteActivityExecutionResponse" +] +_REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "RequestCancelNexusOperationExecutionRequest" +] +_REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "RequestCancelNexusOperationExecutionResponse" +] +_TERMINATENEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "TerminateNexusOperationExecutionRequest" +] +_TERMINATENEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "TerminateNexusOperationExecutionResponse" +] +_DELETENEXUSOPERATIONEXECUTIONREQUEST = DESCRIPTOR.message_types_by_name[ + "DeleteNexusOperationExecutionRequest" +] +_DELETENEXUSOPERATIONEXECUTIONRESPONSE = DESCRIPTOR.message_types_by_name[ + "DeleteNexusOperationExecutionResponse" +] +RegisterNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "RegisterNamespaceRequest", + (_message.Message,), + { + "DataEntry": _reflection.GeneratedProtocolMessageType( + "DataEntry", + (_message.Message,), + { + "DESCRIPTOR": _REGISTERNAMESPACEREQUEST_DATAENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry) + }, + ), + "DESCRIPTOR": _REGISTERNAMESPACEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceRequest) + }, +) +_sym_db.RegisterMessage(RegisterNamespaceRequest) +_sym_db.RegisterMessage(RegisterNamespaceRequest.DataEntry) + +RegisterNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "RegisterNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _REGISTERNAMESPACERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RegisterNamespaceResponse) + }, +) +_sym_db.RegisterMessage(RegisterNamespaceResponse) + +ListNamespacesRequest = _reflection.GeneratedProtocolMessageType( + "ListNamespacesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTNAMESPACESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesRequest) + }, +) +_sym_db.RegisterMessage(ListNamespacesRequest) + +ListNamespacesResponse = _reflection.GeneratedProtocolMessageType( + "ListNamespacesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTNAMESPACESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNamespacesResponse) + }, +) +_sym_db.RegisterMessage(ListNamespacesResponse) + +DescribeNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DescribeNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBENAMESPACEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceRequest) + }, +) +_sym_db.RegisterMessage(DescribeNamespaceRequest) + +DescribeNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DescribeNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBENAMESPACERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNamespaceResponse) + }, +) +_sym_db.RegisterMessage(DescribeNamespaceResponse) + +UpdateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceRequest) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceRequest) + +UpdateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "UpdateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATENAMESPACERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateNamespaceResponse) + }, +) +_sym_db.RegisterMessage(UpdateNamespaceResponse) + +DeprecateNamespaceRequest = _reflection.GeneratedProtocolMessageType( + "DeprecateNamespaceRequest", + (_message.Message,), + { + "DESCRIPTOR": _DEPRECATENAMESPACEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceRequest) + }, +) +_sym_db.RegisterMessage(DeprecateNamespaceRequest) + +DeprecateNamespaceResponse = _reflection.GeneratedProtocolMessageType( + "DeprecateNamespaceResponse", + (_message.Message,), + { + "DESCRIPTOR": _DEPRECATENAMESPACERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeprecateNamespaceResponse) + }, +) +_sym_db.RegisterMessage(DeprecateNamespaceResponse) + +StartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "StartWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _STARTWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(StartWorkflowExecutionRequest) + +StartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "StartWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _STARTWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(StartWorkflowExecutionResponse) + +GetWorkflowExecutionHistoryRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest) + }, +) +_sym_db.RegisterMessage(GetWorkflowExecutionHistoryRequest) + +GetWorkflowExecutionHistoryResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse) + }, +) +_sym_db.RegisterMessage(GetWorkflowExecutionHistoryResponse) + +GetWorkflowExecutionHistoryReverseRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryReverseRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest) + }, +) +_sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseRequest) + +GetWorkflowExecutionHistoryReverseResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkflowExecutionHistoryReverseResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse) + }, +) +_sym_db.RegisterMessage(GetWorkflowExecutionHistoryReverseResponse) + +PollWorkflowTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "PollWorkflowTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWTASKQUEUEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest) + }, +) +_sym_db.RegisterMessage(PollWorkflowTaskQueueRequest) + +PollWorkflowTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "PollWorkflowTaskQueueResponse", + (_message.Message,), + { + "QueriesEntry": _reflection.GeneratedProtocolMessageType( + "QueriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry) + }, + ), + "DESCRIPTOR": _POLLWORKFLOWTASKQUEUERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse) + }, +) +_sym_db.RegisterMessage(PollWorkflowTaskQueueResponse) +_sym_db.RegisterMessage(PollWorkflowTaskQueueResponse.QueriesEntry) + +RespondWorkflowTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskCompletedRequest", + (_message.Message,), + { + "QueryResultsEntry": _reflection.GeneratedProtocolMessageType( + "QueryResultsEntry", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry) + }, + ), + "Capabilities": _reflection.GeneratedProtocolMessageType( + "Capabilities", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities) + }, + ), + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest) + }, +) +_sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest) +_sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.QueryResultsEntry) +_sym_db.RegisterMessage(RespondWorkflowTaskCompletedRequest.Capabilities) + +RespondWorkflowTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse) + }, +) +_sym_db.RegisterMessage(RespondWorkflowTaskCompletedResponse) + +RespondWorkflowTaskFailedRequest = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskFailedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest) + }, +) +_sym_db.RegisterMessage(RespondWorkflowTaskFailedRequest) + +RespondWorkflowTaskFailedResponse = _reflection.GeneratedProtocolMessageType( + "RespondWorkflowTaskFailedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDWORKFLOWTASKFAILEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse) + }, +) +_sym_db.RegisterMessage(RespondWorkflowTaskFailedResponse) + +PollActivityTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "PollActivityTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLACTIVITYTASKQUEUEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueRequest) + }, +) +_sym_db.RegisterMessage(PollActivityTaskQueueRequest) + +PollActivityTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "PollActivityTaskQueueResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLACTIVITYTASKQUEUERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityTaskQueueResponse) + }, +) +_sym_db.RegisterMessage(PollActivityTaskQueueResponse) + +RecordActivityTaskHeartbeatRequest = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatRequest", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest) + }, +) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatRequest) + +RecordActivityTaskHeartbeatResponse = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatResponse", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse) + }, +) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatResponse) + +RecordActivityTaskHeartbeatByIdRequest = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest) + }, +) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdRequest) + +RecordActivityTaskHeartbeatByIdResponse = _reflection.GeneratedProtocolMessageType( + "RecordActivityTaskHeartbeatByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse) + }, +) +_sym_db.RegisterMessage(RecordActivityTaskHeartbeatByIdResponse) + +RespondActivityTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCompletedRequest) + +RespondActivityTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCompletedResponse) + +RespondActivityTaskCompletedByIdRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCompletedByIdRequest) + +RespondActivityTaskCompletedByIdResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCompletedByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCompletedByIdResponse) + +RespondActivityTaskFailedRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskFailedRequest) + +RespondActivityTaskFailedResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskFailedResponse) + +RespondActivityTaskFailedByIdRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskFailedByIdRequest) + +RespondActivityTaskFailedByIdResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskFailedByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskFailedByIdResponse) + +RespondActivityTaskCanceledRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCanceledRequest) + +RespondActivityTaskCanceledResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCanceledResponse) + +RespondActivityTaskCanceledByIdRequest = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledByIdRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCanceledByIdRequest) + +RespondActivityTaskCanceledByIdResponse = _reflection.GeneratedProtocolMessageType( + "RespondActivityTaskCanceledByIdResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse) + }, +) +_sym_db.RegisterMessage(RespondActivityTaskCanceledByIdResponse) + +RequestCancelWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "RequestCancelWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(RequestCancelWorkflowExecutionRequest) + +RequestCancelWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "RequestCancelWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(RequestCancelWorkflowExecutionResponse) + +SignalWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "SignalWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(SignalWorkflowExecutionRequest) + +SignalWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "SignalWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(SignalWorkflowExecutionResponse) + +SignalWithStartWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "SignalWithStartWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionRequest) + +SignalWithStartWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "SignalWithStartWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(SignalWithStartWorkflowExecutionResponse) + +ResetWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "ResetWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESETWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(ResetWorkflowExecutionRequest) + +ResetWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "ResetWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESETWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(ResetWorkflowExecutionResponse) + +TerminateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "TerminateWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(TerminateWorkflowExecutionRequest) + +TerminateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "TerminateWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(TerminateWorkflowExecutionResponse) + +DeleteWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(DeleteWorkflowExecutionRequest) + +DeleteWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(DeleteWorkflowExecutionResponse) + +ListOpenWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListOpenWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest) + }, +) +_sym_db.RegisterMessage(ListOpenWorkflowExecutionsRequest) + +ListOpenWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListOpenWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTOPENWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse) + }, +) +_sym_db.RegisterMessage(ListOpenWorkflowExecutionsResponse) + +ListClosedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListClosedWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest) + }, +) +_sym_db.RegisterMessage(ListClosedWorkflowExecutionsRequest) + +ListClosedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListClosedWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse) + }, +) +_sym_db.RegisterMessage(ListClosedWorkflowExecutionsResponse) + +ListWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest) + }, +) +_sym_db.RegisterMessage(ListWorkflowExecutionsRequest) + +ListWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse) + }, +) +_sym_db.RegisterMessage(ListWorkflowExecutionsResponse) + +ListArchivedWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListArchivedWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest) + }, +) +_sym_db.RegisterMessage(ListArchivedWorkflowExecutionsRequest) + +ListArchivedWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListArchivedWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse) + }, +) +_sym_db.RegisterMessage(ListArchivedWorkflowExecutionsResponse) + +ScanWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ScanWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest) + }, +) +_sym_db.RegisterMessage(ScanWorkflowExecutionsRequest) + +ScanWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ScanWorkflowExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _SCANWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse) + }, +) +_sym_db.RegisterMessage(ScanWorkflowExecutionsResponse) + +CountWorkflowExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "CountWorkflowExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest) + }, +) +_sym_db.RegisterMessage(CountWorkflowExecutionsRequest) + +CountWorkflowExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "CountWorkflowExecutionsResponse", + (_message.Message,), + { + "AggregationGroup": _reflection.GeneratedProtocolMessageType( + "AggregationGroup", + (_message.Message,), + { + "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup) + }, + ), + "DESCRIPTOR": _COUNTWORKFLOWEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse) + }, +) +_sym_db.RegisterMessage(CountWorkflowExecutionsResponse) +_sym_db.RegisterMessage(CountWorkflowExecutionsResponse.AggregationGroup) + +GetSearchAttributesRequest = _reflection.GeneratedProtocolMessageType( + "GetSearchAttributesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSEARCHATTRIBUTESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesRequest) + }, +) +_sym_db.RegisterMessage(GetSearchAttributesRequest) + +GetSearchAttributesResponse = _reflection.GeneratedProtocolMessageType( + "GetSearchAttributesResponse", + (_message.Message,), + { + "KeysEntry": _reflection.GeneratedProtocolMessageType( + "KeysEntry", + (_message.Message,), + { + "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry) + }, + ), + "DESCRIPTOR": _GETSEARCHATTRIBUTESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSearchAttributesResponse) + }, +) +_sym_db.RegisterMessage(GetSearchAttributesResponse) +_sym_db.RegisterMessage(GetSearchAttributesResponse.KeysEntry) + +RespondQueryTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondQueryTaskCompletedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest) + }, +) +_sym_db.RegisterMessage(RespondQueryTaskCompletedRequest) + +RespondQueryTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondQueryTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDQUERYTASKCOMPLETEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse) + }, +) +_sym_db.RegisterMessage(RespondQueryTaskCompletedResponse) + +ResetStickyTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "ResetStickyTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESETSTICKYTASKQUEUEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest) + }, +) +_sym_db.RegisterMessage(ResetStickyTaskQueueRequest) + +ResetStickyTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "ResetStickyTaskQueueResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESETSTICKYTASKQUEUERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse) + }, +) +_sym_db.RegisterMessage(ResetStickyTaskQueueResponse) + +ShutdownWorkerRequest = _reflection.GeneratedProtocolMessageType( + "ShutdownWorkerRequest", + (_message.Message,), + { + "DESCRIPTOR": _SHUTDOWNWORKERREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerRequest) + }, +) +_sym_db.RegisterMessage(ShutdownWorkerRequest) + +ShutdownWorkerResponse = _reflection.GeneratedProtocolMessageType( + "ShutdownWorkerResponse", + (_message.Message,), + { + "DESCRIPTOR": _SHUTDOWNWORKERRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ShutdownWorkerResponse) + }, +) +_sym_db.RegisterMessage(ShutdownWorkerResponse) + +QueryWorkflowRequest = _reflection.GeneratedProtocolMessageType( + "QueryWorkflowRequest", + (_message.Message,), + { + "DESCRIPTOR": _QUERYWORKFLOWREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowRequest) + }, +) +_sym_db.RegisterMessage(QueryWorkflowRequest) + +QueryWorkflowResponse = _reflection.GeneratedProtocolMessageType( + "QueryWorkflowResponse", + (_message.Message,), + { + "DESCRIPTOR": _QUERYWORKFLOWRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.QueryWorkflowResponse) + }, +) +_sym_db.RegisterMessage(QueryWorkflowResponse) + +DescribeWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(DescribeWorkflowExecutionRequest) + +DescribeWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(DescribeWorkflowExecutionResponse) + +DescribeTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "DescribeTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueRequest) + }, +) +_sym_db.RegisterMessage(DescribeTaskQueueRequest) + +DescribeTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "DescribeTaskQueueResponse", + (_message.Message,), + { + "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( + "StatsByPriorityKeyEntry", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry) + }, + ), + "EffectiveRateLimit": _reflection.GeneratedProtocolMessageType( + "EffectiveRateLimit", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit) + }, + ), + "VersionsInfoEntry": _reflection.GeneratedProtocolMessageType( + "VersionsInfoEntry", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry) + }, + ), + "DESCRIPTOR": _DESCRIBETASKQUEUERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeTaskQueueResponse) + }, +) +_sym_db.RegisterMessage(DescribeTaskQueueResponse) +_sym_db.RegisterMessage(DescribeTaskQueueResponse.StatsByPriorityKeyEntry) +_sym_db.RegisterMessage(DescribeTaskQueueResponse.EffectiveRateLimit) +_sym_db.RegisterMessage(DescribeTaskQueueResponse.VersionsInfoEntry) + +GetClusterInfoRequest = _reflection.GeneratedProtocolMessageType( + "GetClusterInfoRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCLUSTERINFOREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoRequest) + }, +) +_sym_db.RegisterMessage(GetClusterInfoRequest) + +GetClusterInfoResponse = _reflection.GeneratedProtocolMessageType( + "GetClusterInfoResponse", + (_message.Message,), + { + "SupportedClientsEntry": _reflection.GeneratedProtocolMessageType( + "SupportedClientsEntry", + (_message.Message,), + { + "DESCRIPTOR": _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry) + }, + ), + "DESCRIPTOR": _GETCLUSTERINFORESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetClusterInfoResponse) + }, +) +_sym_db.RegisterMessage(GetClusterInfoResponse) +_sym_db.RegisterMessage(GetClusterInfoResponse.SupportedClientsEntry) + +GetSystemInfoRequest = _reflection.GeneratedProtocolMessageType( + "GetSystemInfoRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETSYSTEMINFOREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoRequest) + }, +) +_sym_db.RegisterMessage(GetSystemInfoRequest) + +GetSystemInfoResponse = _reflection.GeneratedProtocolMessageType( + "GetSystemInfoResponse", + (_message.Message,), + { + "Capabilities": _reflection.GeneratedProtocolMessageType( + "Capabilities", + (_message.Message,), + { + "DESCRIPTOR": _GETSYSTEMINFORESPONSE_CAPABILITIES, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities) + }, + ), + "DESCRIPTOR": _GETSYSTEMINFORESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetSystemInfoResponse) + }, +) +_sym_db.RegisterMessage(GetSystemInfoResponse) +_sym_db.RegisterMessage(GetSystemInfoResponse.Capabilities) + +ListTaskQueuePartitionsRequest = _reflection.GeneratedProtocolMessageType( + "ListTaskQueuePartitionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest) + }, +) +_sym_db.RegisterMessage(ListTaskQueuePartitionsRequest) + +ListTaskQueuePartitionsResponse = _reflection.GeneratedProtocolMessageType( + "ListTaskQueuePartitionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTTASKQUEUEPARTITIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse) + }, +) +_sym_db.RegisterMessage(ListTaskQueuePartitionsResponse) + +CreateScheduleRequest = _reflection.GeneratedProtocolMessageType( + "CreateScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATESCHEDULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleRequest) + }, +) +_sym_db.RegisterMessage(CreateScheduleRequest) + +CreateScheduleResponse = _reflection.GeneratedProtocolMessageType( + "CreateScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATESCHEDULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateScheduleResponse) + }, +) +_sym_db.RegisterMessage(CreateScheduleResponse) + +DescribeScheduleRequest = _reflection.GeneratedProtocolMessageType( + "DescribeScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBESCHEDULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleRequest) + }, +) +_sym_db.RegisterMessage(DescribeScheduleRequest) + +DescribeScheduleResponse = _reflection.GeneratedProtocolMessageType( + "DescribeScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBESCHEDULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeScheduleResponse) + }, +) +_sym_db.RegisterMessage(DescribeScheduleResponse) + +UpdateScheduleRequest = _reflection.GeneratedProtocolMessageType( + "UpdateScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESCHEDULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleRequest) + }, +) +_sym_db.RegisterMessage(UpdateScheduleRequest) + +UpdateScheduleResponse = _reflection.GeneratedProtocolMessageType( + "UpdateScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATESCHEDULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateScheduleResponse) + }, +) +_sym_db.RegisterMessage(UpdateScheduleResponse) + +PatchScheduleRequest = _reflection.GeneratedProtocolMessageType( + "PatchScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _PATCHSCHEDULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleRequest) + }, +) +_sym_db.RegisterMessage(PatchScheduleRequest) + +PatchScheduleResponse = _reflection.GeneratedProtocolMessageType( + "PatchScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _PATCHSCHEDULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PatchScheduleResponse) + }, +) +_sym_db.RegisterMessage(PatchScheduleResponse) + +ListScheduleMatchingTimesRequest = _reflection.GeneratedProtocolMessageType( + "ListScheduleMatchingTimesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest) + }, +) +_sym_db.RegisterMessage(ListScheduleMatchingTimesRequest) + +ListScheduleMatchingTimesResponse = _reflection.GeneratedProtocolMessageType( + "ListScheduleMatchingTimesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULEMATCHINGTIMESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse) + }, +) +_sym_db.RegisterMessage(ListScheduleMatchingTimesResponse) + +DeleteScheduleRequest = _reflection.GeneratedProtocolMessageType( + "DeleteScheduleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETESCHEDULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleRequest) + }, +) +_sym_db.RegisterMessage(DeleteScheduleRequest) + +DeleteScheduleResponse = _reflection.GeneratedProtocolMessageType( + "DeleteScheduleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETESCHEDULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteScheduleResponse) + }, +) +_sym_db.RegisterMessage(DeleteScheduleResponse) + +ListSchedulesRequest = _reflection.GeneratedProtocolMessageType( + "ListSchedulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesRequest) + }, +) +_sym_db.RegisterMessage(ListSchedulesRequest) + +ListSchedulesResponse = _reflection.GeneratedProtocolMessageType( + "ListSchedulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTSCHEDULESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListSchedulesResponse) + }, +) +_sym_db.RegisterMessage(ListSchedulesResponse) + +CountSchedulesRequest = _reflection.GeneratedProtocolMessageType( + "CountSchedulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _COUNTSCHEDULESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountSchedulesRequest) + }, +) +_sym_db.RegisterMessage(CountSchedulesRequest) + +CountSchedulesResponse = _reflection.GeneratedProtocolMessageType( + "CountSchedulesResponse", + (_message.Message,), + { + "AggregationGroup": _reflection.GeneratedProtocolMessageType( + "AggregationGroup", + (_message.Message,), + { + "DESCRIPTOR": _COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup) + }, + ), + "DESCRIPTOR": _COUNTSCHEDULESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountSchedulesResponse) + }, +) +_sym_db.RegisterMessage(CountSchedulesResponse) +_sym_db.RegisterMessage(CountSchedulesResponse.AggregationGroup) + +UpdateWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerBuildIdCompatibilityRequest", + (_message.Message,), + { + "AddNewCompatibleVersion": _reflection.GeneratedProtocolMessageType( + "AddNewCompatibleVersion", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) + }, + ), + "MergeSets": _reflection.GeneratedProtocolMessageType( + "MergeSets", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets) + }, + ), + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest) + }, +) +_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest) +_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion) +_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityRequest.MergeSets) + +UpdateWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerBuildIdCompatibilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse) + }, +) +_sym_db.RegisterMessage(UpdateWorkerBuildIdCompatibilityResponse) + +GetWorkerBuildIdCompatibilityRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkerBuildIdCompatibilityRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest) + }, +) +_sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityRequest) + +GetWorkerBuildIdCompatibilityResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkerBuildIdCompatibilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERBUILDIDCOMPATIBILITYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse) + }, +) +_sym_db.RegisterMessage(GetWorkerBuildIdCompatibilityResponse) + +UpdateWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerVersioningRulesRequest", + (_message.Message,), + { + "InsertBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( + "InsertBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) + }, + ), + "ReplaceBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( + "ReplaceBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) + }, + ), + "DeleteBuildIdAssignmentRule": _reflection.GeneratedProtocolMessageType( + "DeleteBuildIdAssignmentRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) + }, + ), + "AddCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( + "AddCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule) + }, + ), + "ReplaceCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( + "ReplaceCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule) + }, + ), + "DeleteCompatibleBuildIdRedirectRule": _reflection.GeneratedProtocolMessageType( + "DeleteCompatibleBuildIdRedirectRule", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule) + }, + ), + "CommitBuildId": _reflection.GeneratedProtocolMessageType( + "CommitBuildId", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId) + }, + ), + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest) + }, +) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule) +_sym_db.RegisterMessage( + UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule +) +_sym_db.RegisterMessage( + UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule +) +_sym_db.RegisterMessage( + UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule +) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesRequest.CommitBuildId) + +UpdateWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerVersioningRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERVERSIONINGRULESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse) + }, +) +_sym_db.RegisterMessage(UpdateWorkerVersioningRulesResponse) + +GetWorkerVersioningRulesRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkerVersioningRulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERVERSIONINGRULESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest) + }, +) +_sym_db.RegisterMessage(GetWorkerVersioningRulesRequest) + +GetWorkerVersioningRulesResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkerVersioningRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERVERSIONINGRULESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse) + }, +) +_sym_db.RegisterMessage(GetWorkerVersioningRulesResponse) + +GetWorkerTaskReachabilityRequest = _reflection.GeneratedProtocolMessageType( + "GetWorkerTaskReachabilityRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERTASKREACHABILITYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest) + }, +) +_sym_db.RegisterMessage(GetWorkerTaskReachabilityRequest) + +GetWorkerTaskReachabilityResponse = _reflection.GeneratedProtocolMessageType( + "GetWorkerTaskReachabilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETWORKERTASKREACHABILITYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse) + }, +) +_sym_db.RegisterMessage(GetWorkerTaskReachabilityResponse) + +UpdateWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(UpdateWorkflowExecutionRequest) + +UpdateWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(UpdateWorkflowExecutionResponse) + +StartBatchOperationRequest = _reflection.GeneratedProtocolMessageType( + "StartBatchOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _STARTBATCHOPERATIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationRequest) + }, +) +_sym_db.RegisterMessage(StartBatchOperationRequest) + +StartBatchOperationResponse = _reflection.GeneratedProtocolMessageType( + "StartBatchOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _STARTBATCHOPERATIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartBatchOperationResponse) + }, +) +_sym_db.RegisterMessage(StartBatchOperationResponse) + +StopBatchOperationRequest = _reflection.GeneratedProtocolMessageType( + "StopBatchOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _STOPBATCHOPERATIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationRequest) + }, +) +_sym_db.RegisterMessage(StopBatchOperationRequest) + +StopBatchOperationResponse = _reflection.GeneratedProtocolMessageType( + "StopBatchOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _STOPBATCHOPERATIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StopBatchOperationResponse) + }, +) +_sym_db.RegisterMessage(StopBatchOperationResponse) + +DescribeBatchOperationRequest = _reflection.GeneratedProtocolMessageType( + "DescribeBatchOperationRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEBATCHOPERATIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationRequest) + }, +) +_sym_db.RegisterMessage(DescribeBatchOperationRequest) + +DescribeBatchOperationResponse = _reflection.GeneratedProtocolMessageType( + "DescribeBatchOperationResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEBATCHOPERATIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeBatchOperationResponse) + }, +) +_sym_db.RegisterMessage(DescribeBatchOperationResponse) + +ListBatchOperationsRequest = _reflection.GeneratedProtocolMessageType( + "ListBatchOperationsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTBATCHOPERATIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsRequest) + }, +) +_sym_db.RegisterMessage(ListBatchOperationsRequest) + +ListBatchOperationsResponse = _reflection.GeneratedProtocolMessageType( + "ListBatchOperationsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTBATCHOPERATIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListBatchOperationsResponse) + }, +) +_sym_db.RegisterMessage(ListBatchOperationsResponse) + +PollWorkflowExecutionUpdateRequest = _reflection.GeneratedProtocolMessageType( + "PollWorkflowExecutionUpdateRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest) + }, +) +_sym_db.RegisterMessage(PollWorkflowExecutionUpdateRequest) + +PollWorkflowExecutionUpdateResponse = _reflection.GeneratedProtocolMessageType( + "PollWorkflowExecutionUpdateResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLWORKFLOWEXECUTIONUPDATERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse) + }, +) +_sym_db.RegisterMessage(PollWorkflowExecutionUpdateResponse) + +PollNexusTaskQueueRequest = _reflection.GeneratedProtocolMessageType( + "PollNexusTaskQueueRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLNEXUSTASKQUEUEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueRequest) + }, +) +_sym_db.RegisterMessage(PollNexusTaskQueueRequest) + +PollNexusTaskQueueResponse = _reflection.GeneratedProtocolMessageType( + "PollNexusTaskQueueResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLNEXUSTASKQUEUERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusTaskQueueResponse) + }, +) +_sym_db.RegisterMessage(PollNexusTaskQueueResponse) + +RespondNexusTaskCompletedRequest = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskCompletedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest) + }, +) +_sym_db.RegisterMessage(RespondNexusTaskCompletedRequest) + +RespondNexusTaskCompletedResponse = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskCompletedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKCOMPLETEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse) + }, +) +_sym_db.RegisterMessage(RespondNexusTaskCompletedResponse) + +RespondNexusTaskFailedRequest = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskFailedRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest) + }, +) +_sym_db.RegisterMessage(RespondNexusTaskFailedRequest) + +RespondNexusTaskFailedResponse = _reflection.GeneratedProtocolMessageType( + "RespondNexusTaskFailedResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESPONDNEXUSTASKFAILEDRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse) + }, +) +_sym_db.RegisterMessage(RespondNexusTaskFailedResponse) + +ExecuteMultiOperationRequest = _reflection.GeneratedProtocolMessageType( + "ExecuteMultiOperationRequest", + (_message.Message,), + { + "Operation": _reflection.GeneratedProtocolMessageType( + "Operation", + (_message.Message,), + { + "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST_OPERATION, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation) + }, + ), + "DESCRIPTOR": _EXECUTEMULTIOPERATIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationRequest) + }, +) +_sym_db.RegisterMessage(ExecuteMultiOperationRequest) +_sym_db.RegisterMessage(ExecuteMultiOperationRequest.Operation) + +ExecuteMultiOperationResponse = _reflection.GeneratedProtocolMessageType( + "ExecuteMultiOperationResponse", + (_message.Message,), + { + "Response": _reflection.GeneratedProtocolMessageType( + "Response", + (_message.Message,), + { + "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response) + }, + ), + "DESCRIPTOR": _EXECUTEMULTIOPERATIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ExecuteMultiOperationResponse) + }, +) +_sym_db.RegisterMessage(ExecuteMultiOperationResponse) +_sym_db.RegisterMessage(ExecuteMultiOperationResponse.Response) + +UpdateActivityOptionsRequest = _reflection.GeneratedProtocolMessageType( + "UpdateActivityOptionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACTIVITYOPTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsRequest) + }, +) +_sym_db.RegisterMessage(UpdateActivityOptionsRequest) + +UpdateActivityExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType( + "UpdateActivityExecutionOptionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACTIVITYEXECUTIONOPTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest) + }, +) +_sym_db.RegisterMessage(UpdateActivityExecutionOptionsRequest) + +UpdateActivityOptionsResponse = _reflection.GeneratedProtocolMessageType( + "UpdateActivityOptionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACTIVITYOPTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityOptionsResponse) + }, +) +_sym_db.RegisterMessage(UpdateActivityOptionsResponse) + +UpdateActivityExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType( + "UpdateActivityExecutionOptionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsResponse) + }, +) +_sym_db.RegisterMessage(UpdateActivityExecutionOptionsResponse) + +PauseActivityRequest = _reflection.GeneratedProtocolMessageType( + "PauseActivityRequest", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEACTIVITYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityRequest) + }, +) +_sym_db.RegisterMessage(PauseActivityRequest) + +PauseActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "PauseActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(PauseActivityExecutionRequest) + +PauseActivityResponse = _reflection.GeneratedProtocolMessageType( + "PauseActivityResponse", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEACTIVITYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityResponse) + }, +) +_sym_db.RegisterMessage(PauseActivityResponse) + +PauseActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "PauseActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(PauseActivityExecutionResponse) + +UnpauseActivityRequest = _reflection.GeneratedProtocolMessageType( + "UnpauseActivityRequest", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEACTIVITYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityRequest) + }, +) +_sym_db.RegisterMessage(UnpauseActivityRequest) + +UnpauseActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "UnpauseActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(UnpauseActivityExecutionRequest) + +UnpauseActivityResponse = _reflection.GeneratedProtocolMessageType( + "UnpauseActivityResponse", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEACTIVITYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityResponse) + }, +) +_sym_db.RegisterMessage(UnpauseActivityResponse) + +UnpauseActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "UnpauseActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(UnpauseActivityExecutionResponse) + +ResetActivityRequest = _reflection.GeneratedProtocolMessageType( + "ResetActivityRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESETACTIVITYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityRequest) + }, +) +_sym_db.RegisterMessage(ResetActivityRequest) + +ResetActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "ResetActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _RESETACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(ResetActivityExecutionRequest) + +ResetActivityResponse = _reflection.GeneratedProtocolMessageType( + "ResetActivityResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESETACTIVITYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityResponse) + }, +) +_sym_db.RegisterMessage(ResetActivityResponse) + +ResetActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "ResetActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _RESETACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ResetActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(ResetActivityExecutionResponse) + +UpdateWorkflowExecutionOptionsRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionOptionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest) + }, +) +_sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsRequest) + +UpdateWorkflowExecutionOptionsResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkflowExecutionOptionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse) + }, +) +_sym_db.RegisterMessage(UpdateWorkflowExecutionOptionsResponse) + +DescribeDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "DescribeDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEDEPLOYMENTREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentRequest) + }, ) -# @@protoc_insertion_point(imports) +_sym_db.RegisterMessage(DescribeDeploymentRequest) -_sym_db = _symbol_database.Default() +DescribeDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "DescribeDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEDEPLOYMENTRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeDeploymentResponse) + }, +) +_sym_db.RegisterMessage(DescribeDeploymentResponse) +DescribeWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest) + }, +) +_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionRequest) -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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +DescribeWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentVersionResponse", + (_message.Message,), + { + "VersionTaskQueue": _reflection.GeneratedProtocolMessageType( + "VersionTaskQueue", + (_message.Message,), + { + "StatsByPriorityKeyEntry": _reflection.GeneratedProtocolMessageType( + "StatsByPriorityKeyEntry", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry) + }, + ), + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) + }, + ), + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse) + }, +) +_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse) +_sym_db.RegisterMessage(DescribeWorkerDeploymentVersionResponse.VersionTaskQueue) +_sym_db.RegisterMessage( + DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry +) -from temporalio.api.activity.v1 import ( - message_pb2 as temporal_dot_api_dot_activity_dot_v1_dot_message__pb2, +DescribeWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest) + }, ) -from temporalio.api.batch.v1 import ( - message_pb2 as temporal_dot_api_dot_batch_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(DescribeWorkerDeploymentRequest) + +DescribeWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERDEPLOYMENTRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse) + }, ) -from temporalio.api.command.v1 import ( - message_pb2 as temporal_dot_api_dot_command_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(DescribeWorkerDeploymentResponse) + +ListDeploymentsRequest = _reflection.GeneratedProtocolMessageType( + "ListDeploymentsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTDEPLOYMENTSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsRequest) + }, ) -from temporalio.api.common.v1 import ( - message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(ListDeploymentsRequest) + +ListDeploymentsResponse = _reflection.GeneratedProtocolMessageType( + "ListDeploymentsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTDEPLOYMENTSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListDeploymentsResponse) + }, ) -from temporalio.api.compute.v1 import ( - config_pb2 as temporal_dot_api_dot_compute_dot_v1_dot_config__pb2, +_sym_db.RegisterMessage(ListDeploymentsResponse) + +SetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "SetCurrentDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETCURRENTDEPLOYMENTREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentRequest) + }, ) -from temporalio.api.deployment.v1 import ( - message_pb2 as temporal_dot_api_dot_deployment_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(SetCurrentDeploymentRequest) + +SetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "SetCurrentDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETCURRENTDEPLOYMENTRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetCurrentDeploymentResponse) + }, ) -from temporalio.api.enums.v1 import ( - activity_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_activity__pb2, +_sym_db.RegisterMessage(SetCurrentDeploymentResponse) + +SetWorkerDeploymentCurrentVersionRequest = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentCurrentVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest) + }, ) -from temporalio.api.enums.v1 import ( - batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2, +_sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionRequest) + +SetWorkerDeploymentCurrentVersionResponse = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentCurrentVersionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse) + }, ) -from temporalio.api.enums.v1 import ( - common_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_common__pb2, +_sym_db.RegisterMessage(SetWorkerDeploymentCurrentVersionResponse) + +SetWorkerDeploymentRampingVersionRequest = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentRampingVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest) + }, ) -from temporalio.api.enums.v1 import ( - deployment_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_deployment__pb2, +_sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionRequest) + +SetWorkerDeploymentRampingVersionResponse = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentRampingVersionResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse) + }, ) -from temporalio.api.enums.v1 import ( - failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2, +_sym_db.RegisterMessage(SetWorkerDeploymentRampingVersionResponse) + +CreateWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "CreateWorkerDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKERDEPLOYMENTREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest) + }, ) -from temporalio.api.enums.v1 import ( - namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2, +_sym_db.RegisterMessage(CreateWorkerDeploymentRequest) + +CreateWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "CreateWorkerDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKERDEPLOYMENTRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse) + }, ) -from temporalio.api.enums.v1 import ( - nexus_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_nexus__pb2, +_sym_db.RegisterMessage(CreateWorkerDeploymentResponse) + +ListWorkerDeploymentsRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkerDeploymentsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERDEPLOYMENTSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest) + }, ) -from temporalio.api.enums.v1 import ( - query_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_query__pb2, +_sym_db.RegisterMessage(ListWorkerDeploymentsRequest) + +ListWorkerDeploymentsResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkerDeploymentsResponse", + (_message.Message,), + { + "WorkerDeploymentSummary": _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentSummary", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary) + }, + ), + "DESCRIPTOR": _LISTWORKERDEPLOYMENTSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse) + }, ) -from temporalio.api.enums.v1 import ( - reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2, +_sym_db.RegisterMessage(ListWorkerDeploymentsResponse) +_sym_db.RegisterMessage(ListWorkerDeploymentsResponse.WorkerDeploymentSummary) + +CreateWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( + "CreateWorkerDeploymentVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKERDEPLOYMENTVERSIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionRequest) + }, ) -from temporalio.api.enums.v1 import ( - task_queue_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_task__queue__pb2, +_sym_db.RegisterMessage(CreateWorkerDeploymentVersionRequest) + +CreateWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( + "CreateWorkerDeploymentVersionResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKERDEPLOYMENTVERSIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionResponse) + }, ) -from temporalio.api.enums.v1 import ( - update_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_update__pb2, +_sym_db.RegisterMessage(CreateWorkerDeploymentVersionResponse) + +DeleteWorkerDeploymentVersionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentVersionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest) + }, ) -from temporalio.api.enums.v1 import ( - workflow_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_workflow__pb2, +_sym_db.RegisterMessage(DeleteWorkerDeploymentVersionRequest) + +DeleteWorkerDeploymentVersionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentVersionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTVERSIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse) + }, ) -from temporalio.api.failure.v1 import ( - message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(DeleteWorkerDeploymentVersionResponse) + +DeleteWorkerDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest) + }, ) -from temporalio.api.filter.v1 import ( - message_pb2 as temporal_dot_api_dot_filter_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(DeleteWorkerDeploymentRequest) + +DeleteWorkerDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkerDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKERDEPLOYMENTRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse) + }, ) -from temporalio.api.history.v1 import ( - message_pb2 as temporal_dot_api_dot_history_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(DeleteWorkerDeploymentResponse) + +UpdateWorkerDeploymentVersionComputeConfigRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerDeploymentVersionComputeConfigRequest", + (_message.Message,), + { + "ComputeConfigScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( + "ComputeConfigScalingGroupsEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry) + }, + ), + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest) + }, ) -from temporalio.api.namespace.v1 import ( - message_pb2 as temporal_dot_api_dot_namespace_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionComputeConfigRequest) +_sym_db.RegisterMessage( + UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry ) -from temporalio.api.nexus.v1 import ( - message_pb2 as temporal_dot_api_dot_nexus_dot_v1_dot_message__pb2, + +UpdateWorkerDeploymentVersionComputeConfigResponse = ( + _reflection.GeneratedProtocolMessageType( + "UpdateWorkerDeploymentVersionComputeConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigResponse) + }, + ) ) -from temporalio.api.protocol.v1 import ( - message_pb2 as temporal_dot_api_dot_protocol_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionComputeConfigResponse) + +ValidateWorkerDeploymentVersionComputeConfigRequest = _reflection.GeneratedProtocolMessageType( + "ValidateWorkerDeploymentVersionComputeConfigRequest", + (_message.Message,), + { + "ComputeConfigScalingGroupsEntry": _reflection.GeneratedProtocolMessageType( + "ComputeConfigScalingGroupsEntry", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry) + }, + ), + "DESCRIPTOR": _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest) + }, ) -from temporalio.api.query.v1 import ( - message_pb2 as temporal_dot_api_dot_query_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(ValidateWorkerDeploymentVersionComputeConfigRequest) +_sym_db.RegisterMessage( + ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry ) -from temporalio.api.replication.v1 import ( - message_pb2 as temporal_dot_api_dot_replication_dot_v1_dot_message__pb2, + +ValidateWorkerDeploymentVersionComputeConfigResponse = ( + _reflection.GeneratedProtocolMessageType( + "ValidateWorkerDeploymentVersionComputeConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigResponse) + }, + ) ) -from temporalio.api.rules.v1 import ( - message_pb2 as temporal_dot_api_dot_rules_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(ValidateWorkerDeploymentVersionComputeConfigResponse) + +UpdateWorkerDeploymentVersionMetadataRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerDeploymentVersionMetadataRequest", + (_message.Message,), + { + "UpsertEntriesEntry": _reflection.GeneratedProtocolMessageType( + "UpsertEntriesEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) + }, + ), + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest) + }, ) -from temporalio.api.schedule.v1 import ( - message_pb2 as temporal_dot_api_dot_schedule_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest) +_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry) + +UpdateWorkerDeploymentVersionMetadataResponse = ( + _reflection.GeneratedProtocolMessageType( + "UpdateWorkerDeploymentVersionMetadataResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) + }, + ) ) -from temporalio.api.sdk.v1 import ( - task_complete_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_task__complete__metadata__pb2, +_sym_db.RegisterMessage(UpdateWorkerDeploymentVersionMetadataResponse) + +SetWorkerDeploymentManagerRequest = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentManagerRequest", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTMANAGERREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest) + }, ) -from temporalio.api.sdk.v1 import ( - user_metadata_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_user__metadata__pb2, +_sym_db.RegisterMessage(SetWorkerDeploymentManagerRequest) + +SetWorkerDeploymentManagerResponse = _reflection.GeneratedProtocolMessageType( + "SetWorkerDeploymentManagerResponse", + (_message.Message,), + { + "DESCRIPTOR": _SETWORKERDEPLOYMENTMANAGERRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse) + }, ) -from temporalio.api.sdk.v1 import ( - worker_config_pb2 as temporal_dot_api_dot_sdk_dot_v1_dot_worker__config__pb2, +_sym_db.RegisterMessage(SetWorkerDeploymentManagerResponse) + +GetCurrentDeploymentRequest = _reflection.GeneratedProtocolMessageType( + "GetCurrentDeploymentRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTDEPLOYMENTREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentRequest) + }, ) -from temporalio.api.taskqueue.v1 import ( - message_pb2 as temporal_dot_api_dot_taskqueue_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(GetCurrentDeploymentRequest) + +GetCurrentDeploymentResponse = _reflection.GeneratedProtocolMessageType( + "GetCurrentDeploymentResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETCURRENTDEPLOYMENTRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetCurrentDeploymentResponse) + }, ) -from temporalio.api.update.v1 import ( - message_pb2 as temporal_dot_api_dot_update_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(GetCurrentDeploymentResponse) + +GetDeploymentReachabilityRequest = _reflection.GeneratedProtocolMessageType( + "GetDeploymentReachabilityRequest", + (_message.Message,), + { + "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest) + }, ) -from temporalio.api.version.v1 import ( - message_pb2 as temporal_dot_api_dot_version_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(GetDeploymentReachabilityRequest) + +GetDeploymentReachabilityResponse = _reflection.GeneratedProtocolMessageType( + "GetDeploymentReachabilityResponse", + (_message.Message,), + { + "DESCRIPTOR": _GETDEPLOYMENTREACHABILITYRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse) + }, ) -from temporalio.api.worker.v1 import ( - message_pb2 as temporal_dot_api_dot_worker_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(GetDeploymentReachabilityResponse) + +CreateWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "CreateWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKFLOWRULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleRequest) + }, ) -from temporalio.api.workflow.v1 import ( - message_pb2 as temporal_dot_api_dot_workflow_dot_v1_dot_message__pb2, +_sym_db.RegisterMessage(CreateWorkflowRuleRequest) + +CreateWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "CreateWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _CREATEWORKFLOWRULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CreateWorkflowRuleResponse) + }, ) +_sym_db.RegisterMessage(CreateWorkflowRuleResponse) -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a"temporal/api/enums/v1/common.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a!temporal/api/enums/v1/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/activity.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a$temporal/api/compute/v1/config.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a#temporal/api/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1b\n\x19RegisterNamespaceResponse"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"S\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x18\n\x10weak_consistency\x18\x03 \x01(\x08"\xb4\x03\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\x12\x46\n\x12poller_group_infos\x18\x07 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xcf\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65precateNamespaceResponse"\xd1\x0c\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\\\n\x1f\x65\x61ger_worker_deployment_options\x18\x1c \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12H\n\x14time_skipping_config\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfig"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xaa\x02\n"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\xb8\x03\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xf2\x07\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x11 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x12 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01"\x8a\n\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x1b\n\x13worker_instance_key\x18\x13 \x01(\t\x12!\n\x19worker_control_task_queue\x18\x14 \x01(\t\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03"\x8d\x04\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"#\n!RespondWorkflowTaskFailedResponse"\xe6\x03\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\n \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat"\xd0\x08\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x17\n\x0f\x61\x63tivity_run_id\x18\x14 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x15 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa5\x01\n"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x05 \x01(\t"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xcf\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08"\xfe\x02\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"&\n$RespondActivityTaskCompletedResponse"\xcf\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"*\n(RespondActivityTaskCompletedByIdResponse"\xbe\x03\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\t \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\x8f\x02\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x0bresource_id\x18\x08 \x01(\t"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure"\xfe\x02\n"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions"%\n#RespondActivityTaskCanceledResponse"\xa0\x02\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x13\n\x0bresource_id\x18\x08 \x01(\t")\n\'RespondActivityTaskCanceledByIdResponse"\x84\x02\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"(\n&RequestCancelWorkflowExecutionResponse"\xde\x02\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n"M\n\x1fSignalWorkflowExecutionResponse\x12*\n\x04link\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xbb\n\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12H\n\x14time_skipping_config\x18\x1b \x01(\x0b\x32*.temporal.api.common.v1.TimeSkippingConfigJ\x04\x08\x15\x10\x16"~\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12\x31\n\x0bsignal_link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xc1\x03\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\x9f\x02\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link"$\n"TerminateWorkflowExecutionResponse"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"!\n\x1f\x44\x65leteWorkflowExecutionResponse"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters"\x82\x01\n"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x1c\n\x1aGetSearchAttributesRequest"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01"\xe9\x02\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x17\n\x0fpoller_group_id\x18\t \x01(\tJ\x04\x08\x05\x10\x06"#\n!RespondQueryTaskCompletedResponse"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x1e\n\x1cResetStickyTaskQueueResponse"\x9b\x02\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x06 \x01(\t\x12\x12\n\ntask_queue\x18\x07 \x01(\t\x12>\n\x10task_queue_types\x18\x08 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType"\x18\n\x16ShutdownWorkerResponse"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution"\x99\x05\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"\x90\x04\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01"\x17\n\x15GetClusterInfoRequest"\xd1\x03\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x12 \n\x18initial_failover_version\x18\t \x01(\x03\x12"\n\x1a\x66\x61ilover_version_increment\x18\n \x01(\x03\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x16\n\x14GetSystemInfoRequest"\x97\x04\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\x8a\x03\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\x12!\n\x19server_scaled_deployments\x18\x0c \x01(\x08"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c"\xa4\x02\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12*\n\x04memo\x18\x08 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\x18\n\x16UpdateScheduleResponse"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\x17\n\x15PatchScheduleResponse"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t"\x18\n\x16\x44\x65leteScheduleResponse"l\n\x14ListSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"9\n\x15\x43ountSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xdb\x01\n\x16\x43ountSchedulesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12X\n\x06groups\x18\x02 \x03(\x0b\x32H.temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet"\xb5\r\n"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request"\x83\x02\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation"\x1d\n\x1bStartBatchOperationResponse"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t"\x1c\n\x1aStopBatchOperationResponse"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t"[\n\x1aListBatchOperationsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xb9\x01\n"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32".temporal.api.update.v1.WaitPolicy"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef"\xa0\x03\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x17\n\x0fpoller_group_id\x18\t \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat"\x95\x02\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x17\n\x0fpoller_group_id\x18\x04 \x01(\t\x12\x46\n\x12poller_group_infos\x18\x05 \x03(\x0b\x32*.temporal.api.taskqueue.v1.PollerGroupInfo"\xa7\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\x12\x17\n\x0fpoller_group_id\x18\x05 \x01(\t"#\n!RespondNexusTaskCompletedResponse"\xdc\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x17\n\x0fpoller_group_id\x18\x06 \x01(\t" \n\x1eRespondNexusTaskFailedResponse"\xf4\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x12\x13\n\x0bresource_id\x18\x03 \x01(\t\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity"\xab\x02\n%UpdateActivityExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x06 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x12\x13\n\x0bresource_id\x18\t \x01(\t"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"m\n&UpdateActivityExecutionOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions"\xc7\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x12\n\nrequest_id\x18\x07 \x01(\tB\n\n\x08\x61\x63tivity"\xb7\x01\n\x1dPauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\x12\x12\n\nrequest_id\x18\x08 \x01(\t"\x17\n\x15PauseActivityResponse" \n\x1ePauseActivityExecutionResponse"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity"\x81\x02\n\x1fUnpauseActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x16\n\x0ereset_attempts\x18\x06 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x07 \x01(\x08\x12\x0e\n\x06reason\x18\x08 \x01(\t\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x19\n\x17UnpauseActivityResponse""\n UnpauseActivityExecutionResponse"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity"\x8e\x02\n\x1dResetActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x0e\n\x06run_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x12\x13\n\x0bresource_id\x18\n \x01(\t"\x17\n\x15ResetActivityResponse" \n\x1eResetActivityExecutionResponse"\x9c\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08identity\x18\x05 \x01(\t"\xb1\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo"l\n\x16ListDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x13\n\x0bseries_name\x18\x04 \x01(\t"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"\xe5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\t \x01(\x08"\xbf\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01"\xf9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\n \x01(\x08"\xe0\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\x12\x1f\n\x13previous_percentage\x18\x03 \x01(\x02\x42\x02\x18\x01"q\n\x1d\x43reateWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"8\n\x1e\x43reateWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c"]\n\x1cListWorkerDeploymentsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary"\xf0\x01\n$CreateWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12>\n\x0e\x63ompute_config\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"\'\n%CreateWorkerDeploymentVersionResponse"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t"\'\n%DeleteWorkerDeploymentVersionResponse"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t" \n\x1e\x44\x65leteWorkerDeploymentResponse"\x84\x04\n1UpdateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x99\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32r.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"4\n2UpdateWorkerDeploymentVersionComputeConfigResponse"\xf4\x03\n3ValidateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x9b\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32t.temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01"6\n4ValidateWorkerDeploymentVersionComputeConfigResponse"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata"\xbd\x01\n!SetWorkerDeploymentManagerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x1a\n\x10manager_identity\x18\x03 \x01(\tH\x00\x12\x0e\n\x04self\x18\x04 \x01(\x08H\x00\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\tB\x16\n\x14new_manager_identity"c\n"SetWorkerDeploymentManagerResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12%\n\x19previous_manager_identity\x18\x02 \x01(\tB\x02\x18\x01"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08"\x9b\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x13\n\x0bresource_id\x18\x04 \x01(\t"\x1f\n\x1dRecordWorkerHeartbeatResponse"\x82\x01\n\x12ListWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\x12\x1e\n\x16include_system_workers\x18\x05 \x01(\x08"\xa5\x01\n\x13ListWorkersResponse\x12<\n\x0cworkers_info\x18\x01 \x03(\x0b\x32".temporal.api.worker.v1.WorkerInfoB\x02\x18\x01\x12\x37\n\x07workers\x18\x03 \x03(\x0b\x32&.temporal.api.worker.v1.WorkerListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd5\x05\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12\x84\x01\n\x1dset_fairness_weight_overrides\x18\x07 \x03(\x0b\x32].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry\x12\'\n\x1funset_fairness_weight_overrides\x18\x08 \x03(\t\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x41\n\x1fSetFairnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig"\x9e\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig"\x8a\x02\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08response"G\n\x15\x44\x65scribeWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x02 \x01(\t"Q\n\x16\x44\x65scribeWorkerResponse\x12\x37\n\x0bworker_info\x18\x01 \x01(\x0b\x32".temporal.api.worker.v1.WorkerInfo"W\n\x13\x43ountWorkersRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x1e\n\x16include_system_workers\x18\x03 \x01(\x08"%\n\x14\x43ountWorkersResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03"\x8d\x01\n\x1dPauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t" \n\x1ePauseWorkflowExecutionResponse"\x8f\x01\n\x1fUnpauseWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t""\n UnpauseWorkflowExecutionResponse"\x99\t\n\x1dStartActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x06 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12/\n\x05input\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x45\n\x0fid_reuse_policy\x18\r \x01(\x0e\x32,.temporal.api.enums.v1.ActivityIdReusePolicy\x12K\n\x12id_conflict_policy\x18\x0e \x01(\x0e\x32/.temporal.api.enums.v1.ActivityIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x11 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12>\n\x14\x63ompletion_callbacks\x18\x13 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x14 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x46\n\x13on_conflict_options\x18\x15 \x01(\x0b\x32).temporal.api.common.v1.OnConflictOptions\x12.\n\x0bstart_delay\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration"m\n\x1eStartActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12*\n\x04link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link"\xe4\x01\n DescribeActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x12!\n\x19include_heartbeat_details\x18\x07 \x01(\x08\x12\x1c\n\x14include_last_failure\x18\x08 \x01(\x08"\xbc\x02\n!DescribeActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.temporal.api.activity.v1.ActivityExecutionInfo\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x07outcome\x18\x04 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\x12\x17\n\x0flong_poll_token\x18\x05 \x01(\x0c\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.activity.v1.CallbackInfo"V\n\x1cPollActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"t\n\x1dPollActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x43\n\x07outcome\x18\x02 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome"m\n\x1dListActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x82\x01\n\x1eListActivityExecutionsResponse\x12G\n\nexecutions\x18\x01 \x03(\x0b\x32\x33.temporal.api.activity.v1.ActivityExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"\xd1\x06\n#StartNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x14\n\x0coperation_id\x18\x04 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x05 \x01(\t\x12\x0f\n\x07service\x18\x06 \x01(\t\x12\x11\n\toperation\x18\x07 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x05input\x18\x0b \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12K\n\x0fid_reuse_policy\x18\x0c \x01(\x0e\x32\x32.temporal.api.enums.v1.NexusOperationIdReusePolicy\x12Q\n\x12id_conflict_policy\x18\r \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusOperationIdConflictPolicy\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12k\n\x0cnexus_header\x18\x0f \x03(\x0b\x32U.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest.NexusHeaderEntry\x12\x38\n\ruser_metadata\x18\x10 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"G\n$StartNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08"\xaa\x01\n&DescribeNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c"\xb7\x02\n\'DescribeNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12@\n\x04info\x18\x02 \x01(\x0b\x32\x32.temporal.api.nexus.v1.NexusOperationExecutionInfo\x12.\n\x05input\x18\x03 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\x42\t\n\x07outcome"\xa1\x01\n"PollNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x42\n\nwait_stage\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage"\x85\x02\n#PollNexusOperationExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x42\n\nwait_stage\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.NexusOperationWaitStage\x12\x17\n\x0foperation_token\x18\x03 \x01(\t\x12\x31\n\x06result\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07outcome"s\n#ListNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t"\x8b\x01\n$ListNexusOperationExecutionsResponse\x12J\n\noperations\x18\x01 \x03(\x0b\x32\x36.temporal.api.nexus.v1.NexusOperationExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c"B\n\x1e\x43ountActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xed\x01\n\x1f\x43ountActivityExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"H\n$CountNexusOperationExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t"\xf9\x01\n%CountNexusOperationExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12g\n\x06groups\x18\x02 \x03(\x0b\x32W.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\x95\x01\n%RequestCancelActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"(\n&RequestCancelActivityExecutionResponse"\x91\x01\n!TerminateActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"$\n"TerminateActivityExecutionResponse"X\n\x1e\x44\x65leteActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"!\n\x1f\x44\x65leteActivityExecutionResponse"\x9c\x01\n+RequestCancelNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t".\n,RequestCancelNexusOperationExecutionResponse"\x98\x01\n\'TerminateNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t"*\n(TerminateNexusOperationExecutionResponse"_\n$DeleteNexusOperationExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"\'\n%DeleteNexusOperationExecutionResponseB\xbe\x01\n"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' +DescribeWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWRULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest) + }, ) +_sym_db.RegisterMessage(DescribeWorkflowRuleRequest) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.workflowservice.v1.request_response_pb2", _globals +DescribeWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKFLOWRULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._loaded_options = None - _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._serialized_options = b"8\001" - _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ - "binary_checksum" - ]._loaded_options = None - _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ +_sym_db.RegisterMessage(DescribeWorkflowRuleResponse) + +DeleteWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWRULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest) + }, +) +_sym_db.RegisterMessage(DeleteWorkflowRuleRequest) + +DeleteWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "DeleteWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEWORKFLOWRULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse) + }, +) +_sym_db.RegisterMessage(DeleteWorkflowRuleResponse) + +ListWorkflowRulesRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkflowRulesRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWRULESREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesRequest) + }, +) +_sym_db.RegisterMessage(ListWorkflowRulesRequest) + +ListWorkflowRulesResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkflowRulesResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKFLOWRULESRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkflowRulesResponse) + }, +) +_sym_db.RegisterMessage(ListWorkflowRulesResponse) + +TriggerWorkflowRuleRequest = _reflection.GeneratedProtocolMessageType( + "TriggerWorkflowRuleRequest", + (_message.Message,), + { + "DESCRIPTOR": _TRIGGERWORKFLOWRULEREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest) + }, +) +_sym_db.RegisterMessage(TriggerWorkflowRuleRequest) + +TriggerWorkflowRuleResponse = _reflection.GeneratedProtocolMessageType( + "TriggerWorkflowRuleResponse", + (_message.Message,), + { + "DESCRIPTOR": _TRIGGERWORKFLOWRULERESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse) + }, +) +_sym_db.RegisterMessage(TriggerWorkflowRuleResponse) + +RecordWorkerHeartbeatRequest = _reflection.GeneratedProtocolMessageType( + "RecordWorkerHeartbeatRequest", + (_message.Message,), + { + "DESCRIPTOR": _RECORDWORKERHEARTBEATREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest) + }, +) +_sym_db.RegisterMessage(RecordWorkerHeartbeatRequest) + +RecordWorkerHeartbeatResponse = _reflection.GeneratedProtocolMessageType( + "RecordWorkerHeartbeatResponse", + (_message.Message,), + { + "DESCRIPTOR": _RECORDWORKERHEARTBEATRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse) + }, +) +_sym_db.RegisterMessage(RecordWorkerHeartbeatResponse) + +ListWorkersRequest = _reflection.GeneratedProtocolMessageType( + "ListWorkersRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersRequest) + }, +) +_sym_db.RegisterMessage(ListWorkersRequest) + +ListWorkersResponse = _reflection.GeneratedProtocolMessageType( + "ListWorkersResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTWORKERSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListWorkersResponse) + }, +) +_sym_db.RegisterMessage(ListWorkersResponse) + +UpdateTaskQueueConfigRequest = _reflection.GeneratedProtocolMessageType( + "UpdateTaskQueueConfigRequest", + (_message.Message,), + { + "RateLimitUpdate": _reflection.GeneratedProtocolMessageType( + "RateLimitUpdate", + (_message.Message,), + { + "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate) + }, + ), + "SetFairnessWeightOverridesEntry": _reflection.GeneratedProtocolMessageType( + "SetFairnessWeightOverridesEntry", + (_message.Message,), + { + "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry) + }, + ), + "DESCRIPTOR": _UPDATETASKQUEUECONFIGREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest) + }, +) +_sym_db.RegisterMessage(UpdateTaskQueueConfigRequest) +_sym_db.RegisterMessage(UpdateTaskQueueConfigRequest.RateLimitUpdate) +_sym_db.RegisterMessage(UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry) + +UpdateTaskQueueConfigResponse = _reflection.GeneratedProtocolMessageType( + "UpdateTaskQueueConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATETASKQUEUECONFIGRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse) + }, +) +_sym_db.RegisterMessage(UpdateTaskQueueConfigResponse) + +FetchWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( + "FetchWorkerConfigRequest", + (_message.Message,), + { + "DESCRIPTOR": _FETCHWORKERCONFIGREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigRequest) + }, +) +_sym_db.RegisterMessage(FetchWorkerConfigRequest) + +FetchWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( + "FetchWorkerConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _FETCHWORKERCONFIGRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.FetchWorkerConfigResponse) + }, +) +_sym_db.RegisterMessage(FetchWorkerConfigResponse) + +UpdateWorkerConfigRequest = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerConfigRequest", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERCONFIGREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigRequest) + }, +) +_sym_db.RegisterMessage(UpdateWorkerConfigRequest) + +UpdateWorkerConfigResponse = _reflection.GeneratedProtocolMessageType( + "UpdateWorkerConfigResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATEWORKERCONFIGRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) + }, +) +_sym_db.RegisterMessage(UpdateWorkerConfigResponse) + +DescribeWorkerRequest = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerRequest) + }, +) +_sym_db.RegisterMessage(DescribeWorkerRequest) + +DescribeWorkerResponse = _reflection.GeneratedProtocolMessageType( + "DescribeWorkerResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEWORKERRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeWorkerResponse) + }, +) +_sym_db.RegisterMessage(DescribeWorkerResponse) + +CountWorkersRequest = _reflection.GeneratedProtocolMessageType( + "CountWorkersRequest", + (_message.Message,), + { + "DESCRIPTOR": _COUNTWORKERSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkersRequest) + }, +) +_sym_db.RegisterMessage(CountWorkersRequest) + +CountWorkersResponse = _reflection.GeneratedProtocolMessageType( + "CountWorkersResponse", + (_message.Message,), + { + "DESCRIPTOR": _COUNTWORKERSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountWorkersResponse) + }, +) +_sym_db.RegisterMessage(CountWorkersResponse) + +PauseWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "PauseWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(PauseWorkflowExecutionRequest) + +PauseWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "PauseWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _PAUSEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(PauseWorkflowExecutionResponse) + +UnpauseWorkflowExecutionRequest = _reflection.GeneratedProtocolMessageType( + "UnpauseWorkflowExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEWORKFLOWEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseWorkflowExecutionRequest) + }, +) +_sym_db.RegisterMessage(UnpauseWorkflowExecutionRequest) + +UnpauseWorkflowExecutionResponse = _reflection.GeneratedProtocolMessageType( + "UnpauseWorkflowExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _UNPAUSEWORKFLOWEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.UnpauseWorkflowExecutionResponse) + }, +) +_sym_db.RegisterMessage(UnpauseWorkflowExecutionResponse) + +StartActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "StartActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _STARTACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(StartActivityExecutionRequest) + +StartActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "StartActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _STARTACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(StartActivityExecutionResponse) + +DescribeActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DescribeActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(DescribeActivityExecutionRequest) + +DescribeActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DescribeActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBEACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(DescribeActivityExecutionResponse) + +PollActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "PollActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(PollActivityExecutionRequest) + +PollActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "PollActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(PollActivityExecutionResponse) + +ListActivityExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListActivityExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTACTIVITYEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListActivityExecutionsRequest) + }, +) +_sym_db.RegisterMessage(ListActivityExecutionsRequest) + +ListActivityExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListActivityExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTACTIVITYEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListActivityExecutionsResponse) + }, +) +_sym_db.RegisterMessage(ListActivityExecutionsResponse) + +StartNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( + "StartNexusOperationExecutionRequest", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _STARTNEXUSOPERATIONEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest) + }, +) +_sym_db.RegisterMessage(StartNexusOperationExecutionRequest) +_sym_db.RegisterMessage(StartNexusOperationExecutionRequest.NexusHeaderEntry) + +StartNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( + "StartNexusOperationExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _STARTNEXUSOPERATIONEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse) + }, +) +_sym_db.RegisterMessage(StartNexusOperationExecutionResponse) + +DescribeNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DescribeNexusOperationExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBENEXUSOPERATIONEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest) + }, +) +_sym_db.RegisterMessage(DescribeNexusOperationExecutionRequest) + +DescribeNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DescribeNexusOperationExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse) + }, +) +_sym_db.RegisterMessage(DescribeNexusOperationExecutionResponse) + +PollNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( + "PollNexusOperationExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _POLLNEXUSOPERATIONEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest) + }, +) +_sym_db.RegisterMessage(PollNexusOperationExecutionRequest) + +PollNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( + "PollNexusOperationExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _POLLNEXUSOPERATIONEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse) + }, +) +_sym_db.RegisterMessage(PollNexusOperationExecutionResponse) + +ListNexusOperationExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "ListNexusOperationExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _LISTNEXUSOPERATIONEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest) + }, +) +_sym_db.RegisterMessage(ListNexusOperationExecutionsRequest) + +ListNexusOperationExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "ListNexusOperationExecutionsResponse", + (_message.Message,), + { + "DESCRIPTOR": _LISTNEXUSOPERATIONEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse) + }, +) +_sym_db.RegisterMessage(ListNexusOperationExecutionsResponse) + +CountActivityExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "CountActivityExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _COUNTACTIVITYEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountActivityExecutionsRequest) + }, +) +_sym_db.RegisterMessage(CountActivityExecutionsRequest) + +CountActivityExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "CountActivityExecutionsResponse", + (_message.Message,), + { + "AggregationGroup": _reflection.GeneratedProtocolMessageType( + "AggregationGroup", + (_message.Message,), + { + "DESCRIPTOR": _COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup) + }, + ), + "DESCRIPTOR": _COUNTACTIVITYEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountActivityExecutionsResponse) + }, +) +_sym_db.RegisterMessage(CountActivityExecutionsResponse) +_sym_db.RegisterMessage(CountActivityExecutionsResponse.AggregationGroup) + +CountNexusOperationExecutionsRequest = _reflection.GeneratedProtocolMessageType( + "CountNexusOperationExecutionsRequest", + (_message.Message,), + { + "DESCRIPTOR": _COUNTNEXUSOPERATIONEXECUTIONSREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest) + }, +) +_sym_db.RegisterMessage(CountNexusOperationExecutionsRequest) + +CountNexusOperationExecutionsResponse = _reflection.GeneratedProtocolMessageType( + "CountNexusOperationExecutionsResponse", + (_message.Message,), + { + "AggregationGroup": _reflection.GeneratedProtocolMessageType( + "AggregationGroup", + (_message.Message,), + { + "DESCRIPTOR": _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse.AggregationGroup) + }, + ), + "DESCRIPTOR": _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse) + }, +) +_sym_db.RegisterMessage(CountNexusOperationExecutionsResponse) +_sym_db.RegisterMessage(CountNexusOperationExecutionsResponse.AggregationGroup) + +RequestCancelActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "RequestCancelActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(RequestCancelActivityExecutionRequest) + +RequestCancelActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "RequestCancelActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(RequestCancelActivityExecutionResponse) + +TerminateActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "TerminateActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(TerminateActivityExecutionRequest) + +TerminateActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "TerminateActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATEACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(TerminateActivityExecutionResponse) + +DeleteActivityExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteActivityExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETEACTIVITYEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteActivityExecutionRequest) + }, +) +_sym_db.RegisterMessage(DeleteActivityExecutionRequest) + +DeleteActivityExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteActivityExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETEACTIVITYEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteActivityExecutionResponse) + }, +) +_sym_db.RegisterMessage(DeleteActivityExecutionResponse) + +RequestCancelNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( + "RequestCancelNexusOperationExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest) + }, +) +_sym_db.RegisterMessage(RequestCancelNexusOperationExecutionRequest) + +RequestCancelNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( + "RequestCancelNexusOperationExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse) + }, +) +_sym_db.RegisterMessage(RequestCancelNexusOperationExecutionResponse) + +TerminateNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( + "TerminateNexusOperationExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATENEXUSOPERATIONEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest) + }, +) +_sym_db.RegisterMessage(TerminateNexusOperationExecutionRequest) + +TerminateNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( + "TerminateNexusOperationExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _TERMINATENEXUSOPERATIONEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse) + }, +) +_sym_db.RegisterMessage(TerminateNexusOperationExecutionResponse) + +DeleteNexusOperationExecutionRequest = _reflection.GeneratedProtocolMessageType( + "DeleteNexusOperationExecutionRequest", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSOPERATIONEXECUTIONREQUEST, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest) + }, +) +_sym_db.RegisterMessage(DeleteNexusOperationExecutionRequest) + +DeleteNexusOperationExecutionResponse = _reflection.GeneratedProtocolMessageType( + "DeleteNexusOperationExecutionResponse", + (_message.Message,), + { + "DESCRIPTOR": _DELETENEXUSOPERATIONEXECUTIONRESPONSE, + "__module__": "temporalio.api.workflowservice.v1.request_response_pb2", + # @@protoc_insertion_point(class_scope:temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse) + }, +) +_sym_db.RegisterMessage(DeleteNexusOperationExecutionResponse) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\024RequestResponseProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _REGISTERNAMESPACEREQUEST_DATAENTRY._options = None + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_options = b"8\001" + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name["binary_checksum"]._options = None + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ "worker_version_capabilities" - ]._loaded_options = None - _globals["_POLLWORKFLOWTASKQUEUEREQUEST"].fields_by_name[ + ]._options = None + _POLLWORKFLOWTASKQUEUEREQUEST.fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _globals["_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY"]._loaded_options = None - _globals[ - "_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY" - ]._serialized_options = b"8\001" - _globals[ - "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" - ]._loaded_options = None - _globals[ - "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" - ]._serialized_options = b"8\001" - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._options = None + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_options = b"8\001" + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_options = ( + b"8\001" + ) + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ "binary_checksum" - ]._loaded_options = None - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ + ]._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ "worker_version_stamp" - ]._loaded_options = None - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ + ]._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ "worker_version_stamp" ]._serialized_options = b"\030\001" - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ - "deployment" - ]._loaded_options = None - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"].fields_by_name[ + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST.fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ - "binary_checksum" - ]._loaded_options = None - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["binary_checksum"]._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ "binary_checksum" ]._serialized_options = b"\030\001" - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ - "worker_version" - ]._loaded_options = None - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ - "deployment" - ]._loaded_options = None - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"].fields_by_name[ + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDWORKFLOWTASKFAILEDREQUEST.fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _globals["_POLLACTIVITYTASKQUEUEREQUEST"].fields_by_name[ + _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ "worker_version_capabilities" - ]._loaded_options = None - _globals["_POLLACTIVITYTASKQUEUEREQUEST"].fields_by_name[ + ]._options = None + _POLLACTIVITYTASKQUEUEREQUEST.fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ "worker_version" - ]._loaded_options = None - _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ + ]._options = None + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ - "deployment" - ]._loaded_options = None - _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"].fields_by_name[ + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDACTIVITYTASKCOMPLETEDREQUEST.fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ - "worker_version" - ]._loaded_options = None - _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["worker_version"]._options = None + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ - "deployment" - ]._loaded_options = None - _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"].fields_by_name[ + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDACTIVITYTASKFAILEDREQUEST.fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ - "worker_version" - ]._loaded_options = None - _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["worker_version"]._options = None + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ "worker_version" ]._serialized_options = b"\030\001" - _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ - "deployment" - ]._loaded_options = None - _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"].fields_by_name[ + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name["deployment"]._options = None + _RESPONDACTIVITYTASKCANCELEDREQUEST.fields_by_name[ "deployment" ]._serialized_options = b"\030\001" - _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"].fields_by_name[ - "control" - ]._loaded_options = None - _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"].fields_by_name[ + _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None + _SIGNALWORKFLOWEXECUTIONREQUEST.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"].fields_by_name[ - "control" - ]._loaded_options = None - _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"].fields_by_name[ + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name["control"]._options = None + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST.fields_by_name[ "control" ]._serialized_options = b"\030\001" - _globals["_RESETWORKFLOWEXECUTIONREQUEST"].fields_by_name[ - "reset_reapply_type" - ]._loaded_options = None - _globals["_RESETWORKFLOWEXECUTIONREQUEST"].fields_by_name[ + _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name["reset_reapply_type"]._options = None + _RESETWORKFLOWEXECUTIONREQUEST.fields_by_name[ "reset_reapply_type" ]._serialized_options = b"\030\001" - _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._loaded_options = None - _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._serialized_options = b"8\001" - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._options = None + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_options = b"8\001" + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ "include_task_queue_status" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + ]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ "include_task_queue_status" ]._serialized_options = b"\030\001" - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ - "api_mode" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + _DESCRIBETASKQUEUEREQUEST.fields_by_name["api_mode"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ "api_mode" ]._serialized_options = b"\030\001" - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ - "versions" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + _DESCRIBETASKQUEUEREQUEST.fields_by_name["versions"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ "versions" ]._serialized_options = b"\030\001" - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ - "task_queue_types" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + _DESCRIBETASKQUEUEREQUEST.fields_by_name["task_queue_types"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ "task_queue_types" ]._serialized_options = b"\030\001" - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ - "report_pollers" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_pollers"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ "report_pollers" ]._serialized_options = b"\030\001" - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ - "report_task_reachability" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUEREQUEST"].fields_by_name[ + _DESCRIBETASKQUEUEREQUEST.fields_by_name["report_task_reachability"]._options = None + _DESCRIBETASKQUEUEREQUEST.fields_by_name[ "report_task_reachability" ]._serialized_options = b"\030\001" - _globals[ - "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" - ]._loaded_options = None - _globals[ - "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" - ]._serialized_options = b"8\001" - _globals["_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY"]._loaded_options = None - _globals[ - "_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY" - ]._serialized_options = b"8\001" - _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ - "task_queue_status" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._options = None + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._options = None + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_options = b"8\001" + _DESCRIBETASKQUEUERESPONSE.fields_by_name["task_queue_status"]._options = None + _DESCRIBETASKQUEUERESPONSE.fields_by_name[ "task_queue_status" ]._serialized_options = b"\030\001" - _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ - "versions_info" - ]._loaded_options = None - _globals["_DESCRIBETASKQUEUERESPONSE"].fields_by_name[ + _DESCRIBETASKQUEUERESPONSE.fields_by_name["versions_info"]._options = None + _DESCRIBETASKQUEUERESPONSE.fields_by_name[ "versions_info" ]._serialized_options = b"\030\001" - _globals["_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY"]._loaded_options = None - _globals[ - "_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY" - ]._serialized_options = b"8\001" - _globals["_POLLNEXUSTASKQUEUEREQUEST"].fields_by_name[ + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._options = None + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_options = b"8\001" + _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ "worker_version_capabilities" - ]._loaded_options = None - _globals["_POLLNEXUSTASKQUEUEREQUEST"].fields_by_name[ + ]._options = None + _POLLNEXUSTASKQUEUEREQUEST.fields_by_name[ "worker_version_capabilities" ]._serialized_options = b"\030\001" - _globals["_RESPONDNEXUSTASKFAILEDREQUEST"].fields_by_name[ - "error" - ]._loaded_options = None - _globals["_RESPONDNEXUSTASKFAILEDREQUEST"].fields_by_name[ + _RESPONDNEXUSTASKFAILEDREQUEST.fields_by_name["error"]._options = None + _RESPONDNEXUSTASKFAILEDREQUEST.fields_by_name[ "error" ]._serialized_options = b"\030\001" - _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ - "version" - ]._loaded_options = None - _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals[ - "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" - ]._loaded_options = None - _globals[ - "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" - ]._serialized_options = b"8\001" - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"].fields_by_name[ - "version" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"].fields_by_name[ + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._options = None + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_options = b"8\001" + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name["version"]._options = None + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ "previous_version" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ + ]._options = None + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ "previous_version" ]._serialized_options = b"\030\001" - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ "previous_deployment_version" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"].fields_by_name[ + ]._options = None + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE.fields_by_name[ "previous_deployment_version" ]._serialized_options = b"\030\001" - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"].fields_by_name[ - "version" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"].fields_by_name[ + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name["version"]._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ "previous_version" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ + ]._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ "previous_version" ]._serialized_options = b"\030\001" - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ "previous_deployment_version" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ + ]._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ "previous_deployment_version" ]._serialized_options = b"\030\001" - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ "previous_percentage" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"].fields_by_name[ + ]._options = None + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE.fields_by_name[ "previous_percentage" ]._serialized_options = b"\030\001" - _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ - "version" - ]._loaded_options = None - _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"].fields_by_name[ + _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name["version"]._options = None + _DELETEWORKERDEPLOYMENTVERSIONREQUEST.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._loaded_options = None - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._serialized_options = b"8\001" - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._loaded_options = None - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._serialized_options = b"8\001" - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" - ]._loaded_options = None - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" - ]._serialized_options = b"8\001" - _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"].fields_by_name[ + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._options = None + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_options = b"8\001" + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._options = None + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_options = b"8\001" + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._options = None + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_options = b"8\001" + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ "version" - ]._loaded_options = None - _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"].fields_by_name[ + ]._options = None + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST.fields_by_name[ "version" ]._serialized_options = b"\030\001" - _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"].fields_by_name[ + _SETWORKERDEPLOYMENTMANAGERRESPONSE.fields_by_name[ "previous_manager_identity" - ]._loaded_options = None - _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"].fields_by_name[ + ]._options = None + _SETWORKERDEPLOYMENTMANAGERRESPONSE.fields_by_name[ "previous_manager_identity" ]._serialized_options = b"\030\001" - _globals["_LISTWORKERSRESPONSE"].fields_by_name[ - "workers_info" - ]._loaded_options = None - _globals["_LISTWORKERSRESPONSE"].fields_by_name[ + _LISTWORKERSRESPONSE.fields_by_name["workers_info"]._options = None + _LISTWORKERSRESPONSE.fields_by_name[ "workers_info" ]._serialized_options = b"\030\001" - _globals[ - "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" - ]._loaded_options = None - _globals[ - "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" - ]._serialized_options = b"8\001" - _globals[ - "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" - ]._loaded_options = None - _globals[ - "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" - ]._serialized_options = b"8\001" - _globals["_REGISTERNAMESPACEREQUEST"]._serialized_start = 1603 - _globals["_REGISTERNAMESPACEREQUEST"]._serialized_end = 2251 - _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._serialized_start = 2208 - _globals["_REGISTERNAMESPACEREQUEST_DATAENTRY"]._serialized_end = 2251 - _globals["_REGISTERNAMESPACERESPONSE"]._serialized_start = 2253 - _globals["_REGISTERNAMESPACERESPONSE"]._serialized_end = 2280 - _globals["_LISTNAMESPACESREQUEST"]._serialized_start = 2283 - _globals["_LISTNAMESPACESREQUEST"]._serialized_end = 2420 - _globals["_LISTNAMESPACESRESPONSE"]._serialized_start = 2423 - _globals["_LISTNAMESPACESRESPONSE"]._serialized_end = 2552 - _globals["_DESCRIBENAMESPACEREQUEST"]._serialized_start = 2554 - _globals["_DESCRIBENAMESPACEREQUEST"]._serialized_end = 2637 - _globals["_DESCRIBENAMESPACERESPONSE"]._serialized_start = 2640 - _globals["_DESCRIBENAMESPACERESPONSE"]._serialized_end = 3076 - _globals["_UPDATENAMESPACEREQUEST"]._serialized_start = 3079 - _globals["_UPDATENAMESPACEREQUEST"]._serialized_end = 3414 - _globals["_UPDATENAMESPACERESPONSE"]._serialized_start = 3417 - _globals["_UPDATENAMESPACERESPONSE"]._serialized_end = 3708 - _globals["_DEPRECATENAMESPACEREQUEST"]._serialized_start = 3710 - _globals["_DEPRECATENAMESPACEREQUEST"]._serialized_end = 3780 - _globals["_DEPRECATENAMESPACERESPONSE"]._serialized_start = 3782 - _globals["_DEPRECATENAMESPACERESPONSE"]._serialized_end = 3810 - _globals["_STARTWORKFLOWEXECUTIONREQUEST"]._serialized_start = 3813 - _globals["_STARTWORKFLOWEXECUTIONREQUEST"]._serialized_end = 5430 - _globals["_STARTWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 5433 - _globals["_STARTWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 5699 - _globals["_GETWORKFLOWEXECUTIONHISTORYREQUEST"]._serialized_start = 5702 - _globals["_GETWORKFLOWEXECUTIONHISTORYREQUEST"]._serialized_end = 6000 - _globals["_GETWORKFLOWEXECUTIONHISTORYRESPONSE"]._serialized_start = 6003 - _globals["_GETWORKFLOWEXECUTIONHISTORYRESPONSE"]._serialized_end = 6189 - _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST"]._serialized_start = 6192 - _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST"]._serialized_end = 6368 - _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE"]._serialized_start = 6370 - _globals["_GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE"]._serialized_end = 6490 - _globals["_POLLWORKFLOWTASKQUEUEREQUEST"]._serialized_start = 6493 - _globals["_POLLWORKFLOWTASKQUEUEREQUEST"]._serialized_end = 6933 - _globals["_POLLWORKFLOWTASKQUEUERESPONSE"]._serialized_start = 6936 - _globals["_POLLWORKFLOWTASKQUEUERESPONSE"]._serialized_end = 7946 - _globals["_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY"]._serialized_start = 7862 - _globals["_POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY"]._serialized_end = 7946 - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"]._serialized_start = 7949 - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST"]._serialized_end = 9239 - _globals[ - "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" - ]._serialized_start = 9073 - _globals[ - "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY" - ]._serialized_end = 9168 - _globals[ - "_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES" - ]._serialized_start = 9170 - _globals["_RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES"]._serialized_end = 9239 - _globals["_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE"]._serialized_start = 9242 - _globals["_RESPONDWORKFLOWTASKCOMPLETEDRESPONSE"]._serialized_end = 9487 - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"]._serialized_start = 9490 - _globals["_RESPONDWORKFLOWTASKFAILEDREQUEST"]._serialized_end = 10015 - _globals["_RESPONDWORKFLOWTASKFAILEDRESPONSE"]._serialized_start = 10017 - _globals["_RESPONDWORKFLOWTASKFAILEDRESPONSE"]._serialized_end = 10052 - _globals["_POLLACTIVITYTASKQUEUEREQUEST"]._serialized_start = 10055 - _globals["_POLLACTIVITYTASKQUEUEREQUEST"]._serialized_end = 10541 - _globals["_POLLACTIVITYTASKQUEUERESPONSE"]._serialized_start = 10544 - _globals["_POLLACTIVITYTASKQUEUERESPONSE"]._serialized_end = 11648 - _globals["_RECORDACTIVITYTASKHEARTBEATREQUEST"]._serialized_start = 11651 - _globals["_RECORDACTIVITYTASKHEARTBEATREQUEST"]._serialized_end = 11816 - _globals["_RECORDACTIVITYTASKHEARTBEATRESPONSE"]._serialized_start = 11818 - _globals["_RECORDACTIVITYTASKHEARTBEATRESPONSE"]._serialized_end = 11930 - _globals["_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST"]._serialized_start = 11933 - _globals["_RECORDACTIVITYTASKHEARTBEATBYIDREQUEST"]._serialized_end = 12140 - _globals["_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE"]._serialized_start = 12142 - _globals["_RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE"]._serialized_end = 12258 - _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"]._serialized_start = 12261 - _globals["_RESPONDACTIVITYTASKCOMPLETEDREQUEST"]._serialized_end = 12643 - _globals["_RESPONDACTIVITYTASKCOMPLETEDRESPONSE"]._serialized_start = 12645 - _globals["_RESPONDACTIVITYTASKCOMPLETEDRESPONSE"]._serialized_end = 12683 - _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST"]._serialized_start = 12686 - _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST"]._serialized_end = 12893 - _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE"]._serialized_start = 12895 - _globals["_RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE"]._serialized_end = 12937 - _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"]._serialized_start = 12940 - _globals["_RESPONDACTIVITYTASKFAILEDREQUEST"]._serialized_end = 13386 - _globals["_RESPONDACTIVITYTASKFAILEDRESPONSE"]._serialized_start = 13388 - _globals["_RESPONDACTIVITYTASKFAILEDRESPONSE"]._serialized_end = 13475 - _globals["_RESPONDACTIVITYTASKFAILEDBYIDREQUEST"]._serialized_start = 13478 - _globals["_RESPONDACTIVITYTASKFAILEDBYIDREQUEST"]._serialized_end = 13749 - _globals["_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE"]._serialized_start = 13751 - _globals["_RESPONDACTIVITYTASKFAILEDBYIDRESPONSE"]._serialized_end = 13842 - _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"]._serialized_start = 13845 - _globals["_RESPONDACTIVITYTASKCANCELEDREQUEST"]._serialized_end = 14227 - _globals["_RESPONDACTIVITYTASKCANCELEDRESPONSE"]._serialized_start = 14229 - _globals["_RESPONDACTIVITYTASKCANCELEDRESPONSE"]._serialized_end = 14266 - _globals["_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST"]._serialized_start = 14269 - _globals["_RESPONDACTIVITYTASKCANCELEDBYIDREQUEST"]._serialized_end = 14557 - _globals["_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE"]._serialized_start = 14559 - _globals["_RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE"]._serialized_end = 14600 - _globals["_REQUESTCANCELWORKFLOWEXECUTIONREQUEST"]._serialized_start = 14603 - _globals["_REQUESTCANCELWORKFLOWEXECUTIONREQUEST"]._serialized_end = 14863 - _globals["_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 14865 - _globals["_REQUESTCANCELWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 14905 - _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"]._serialized_start = 14908 - _globals["_SIGNALWORKFLOWEXECUTIONREQUEST"]._serialized_end = 15258 - _globals["_SIGNALWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 15260 - _globals["_SIGNALWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 15337 - _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"]._serialized_start = 15340 - _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST"]._serialized_end = 16679 - _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 16681 - _globals["_SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 16807 - _globals["_RESETWORKFLOWEXECUTIONREQUEST"]._serialized_start = 16810 - _globals["_RESETWORKFLOWEXECUTIONREQUEST"]._serialized_end = 17259 - _globals["_RESETWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 17261 - _globals["_RESETWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 17309 - _globals["_TERMINATEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 17312 - _globals["_TERMINATEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 17599 - _globals["_TERMINATEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 17601 - _globals["_TERMINATEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 17637 - _globals["_DELETEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 17639 - _globals["_DELETEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 17761 - _globals["_DELETEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 17763 - _globals["_DELETEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 17796 - _globals["_LISTOPENWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 17799 - _globals["_LISTOPENWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 18128 - _globals["_LISTOPENWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 18131 - _globals["_LISTOPENWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 18261 - _globals["_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 18264 - _globals["_LISTCLOSEDWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 18658 - _globals["_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 18661 - _globals["_LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 18793 - _globals["_LISTWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 18795 - _globals["_LISTWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 18904 - _globals["_LISTWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 18906 - _globals["_LISTWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19032 - _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 19034 - _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 19151 - _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 19154 - _globals["_LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19288 - _globals["_SCANWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 19290 - _globals["_SCANWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 19399 - _globals["_SCANWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 19401 - _globals["_SCANWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19527 - _globals["_COUNTWORKFLOWEXECUTIONSREQUEST"]._serialized_start = 19529 - _globals["_COUNTWORKFLOWEXECUTIONSREQUEST"]._serialized_end = 19595 - _globals["_COUNTWORKFLOWEXECUTIONSRESPONSE"]._serialized_start = 19598 - _globals["_COUNTWORKFLOWEXECUTIONSRESPONSE"]._serialized_end = 19835 - _globals[ - "_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP" - ]._serialized_start = 19747 - _globals[ - "_COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP" - ]._serialized_end = 19835 - _globals["_GETSEARCHATTRIBUTESREQUEST"]._serialized_start = 19837 - _globals["_GETSEARCHATTRIBUTESREQUEST"]._serialized_end = 19865 - _globals["_GETSEARCHATTRIBUTESRESPONSE"]._serialized_start = 19868 - _globals["_GETSEARCHATTRIBUTESRESPONSE"]._serialized_end = 20069 - _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._serialized_start = 19985 - _globals["_GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY"]._serialized_end = 20069 - _globals["_RESPONDQUERYTASKCOMPLETEDREQUEST"]._serialized_start = 20072 - _globals["_RESPONDQUERYTASKCOMPLETEDREQUEST"]._serialized_end = 20433 - _globals["_RESPONDQUERYTASKCOMPLETEDRESPONSE"]._serialized_start = 20435 - _globals["_RESPONDQUERYTASKCOMPLETEDRESPONSE"]._serialized_end = 20470 - _globals["_RESETSTICKYTASKQUEUEREQUEST"]._serialized_start = 20472 - _globals["_RESETSTICKYTASKQUEUEREQUEST"]._serialized_end = 20582 - _globals["_RESETSTICKYTASKQUEUERESPONSE"]._serialized_start = 20584 - _globals["_RESETSTICKYTASKQUEUERESPONSE"]._serialized_end = 20614 - _globals["_SHUTDOWNWORKERREQUEST"]._serialized_start = 20617 - _globals["_SHUTDOWNWORKERREQUEST"]._serialized_end = 20900 - _globals["_SHUTDOWNWORKERRESPONSE"]._serialized_start = 20902 - _globals["_SHUTDOWNWORKERRESPONSE"]._serialized_end = 20926 - _globals["_QUERYWORKFLOWREQUEST"]._serialized_start = 20929 - _globals["_QUERYWORKFLOWREQUEST"]._serialized_end = 21162 - _globals["_QUERYWORKFLOWRESPONSE"]._serialized_start = 21165 - _globals["_QUERYWORKFLOWRESPONSE"]._serialized_end = 21306 - _globals["_DESCRIBEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 21308 - _globals["_DESCRIBEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 21423 - _globals["_DESCRIBEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 21426 - _globals["_DESCRIBEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 22091 - _globals["_DESCRIBETASKQUEUEREQUEST"]._serialized_start = 22094 - _globals["_DESCRIBETASKQUEUEREQUEST"]._serialized_end = 22622 - _globals["_DESCRIBETASKQUEUERESPONSE"]._serialized_start = 22625 - _globals["_DESCRIBETASKQUEUERESPONSE"]._serialized_end = 23629 - _globals[ - "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" - ]._serialized_start = 23309 - _globals[ - "_DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY" - ]._serialized_end = 23409 - _globals["_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT"]._serialized_start = 23411 - _globals["_DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT"]._serialized_end = 23527 - _globals["_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY"]._serialized_start = 23529 - _globals["_DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY"]._serialized_end = 23629 - _globals["_GETCLUSTERINFOREQUEST"]._serialized_start = 23631 - _globals["_GETCLUSTERINFOREQUEST"]._serialized_end = 23654 - _globals["_GETCLUSTERINFORESPONSE"]._serialized_start = 23657 - _globals["_GETCLUSTERINFORESPONSE"]._serialized_end = 24122 - _globals["_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY"]._serialized_start = 24067 - _globals["_GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY"]._serialized_end = 24122 - _globals["_GETSYSTEMINFOREQUEST"]._serialized_start = 24124 - _globals["_GETSYSTEMINFOREQUEST"]._serialized_end = 24146 - _globals["_GETSYSTEMINFORESPONSE"]._serialized_start = 24149 - _globals["_GETSYSTEMINFORESPONSE"]._serialized_end = 24684 - _globals["_GETSYSTEMINFORESPONSE_CAPABILITIES"]._serialized_start = 24290 - _globals["_GETSYSTEMINFORESPONSE_CAPABILITIES"]._serialized_end = 24684 - _globals["_LISTTASKQUEUEPARTITIONSREQUEST"]._serialized_start = 24686 - _globals["_LISTTASKQUEUEPARTITIONSREQUEST"]._serialized_end = 24795 - _globals["_LISTTASKQUEUEPARTITIONSRESPONSE"]._serialized_start = 24798 - _globals["_LISTTASKQUEUEPARTITIONSRESPONSE"]._serialized_end = 25021 - _globals["_CREATESCHEDULEREQUEST"]._serialized_start = 25024 - _globals["_CREATESCHEDULEREQUEST"]._serialized_end = 25356 - _globals["_CREATESCHEDULERESPONSE"]._serialized_start = 25358 - _globals["_CREATESCHEDULERESPONSE"]._serialized_end = 25406 - _globals["_DESCRIBESCHEDULEREQUEST"]._serialized_start = 25408 - _globals["_DESCRIBESCHEDULEREQUEST"]._serialized_end = 25473 - _globals["_DESCRIBESCHEDULERESPONSE"]._serialized_start = 25476 - _globals["_DESCRIBESCHEDULERESPONSE"]._serialized_end = 25747 - _globals["_UPDATESCHEDULEREQUEST"]._serialized_start = 25750 - _globals["_UPDATESCHEDULEREQUEST"]._serialized_end = 26042 - _globals["_UPDATESCHEDULERESPONSE"]._serialized_start = 26044 - _globals["_UPDATESCHEDULERESPONSE"]._serialized_end = 26068 - _globals["_PATCHSCHEDULEREQUEST"]._serialized_start = 26071 - _globals["_PATCHSCHEDULEREQUEST"]._serialized_end = 26227 - _globals["_PATCHSCHEDULERESPONSE"]._serialized_start = 26229 - _globals["_PATCHSCHEDULERESPONSE"]._serialized_end = 26252 - _globals["_LISTSCHEDULEMATCHINGTIMESREQUEST"]._serialized_start = 26255 - _globals["_LISTSCHEDULEMATCHINGTIMESREQUEST"]._serialized_end = 26423 - _globals["_LISTSCHEDULEMATCHINGTIMESRESPONSE"]._serialized_start = 26425 - _globals["_LISTSCHEDULEMATCHINGTIMESRESPONSE"]._serialized_end = 26508 - _globals["_DELETESCHEDULEREQUEST"]._serialized_start = 26510 - _globals["_DELETESCHEDULEREQUEST"]._serialized_end = 26591 - _globals["_DELETESCHEDULERESPONSE"]._serialized_start = 26593 - _globals["_DELETESCHEDULERESPONSE"]._serialized_end = 26617 - _globals["_LISTSCHEDULESREQUEST"]._serialized_start = 26619 - _globals["_LISTSCHEDULESREQUEST"]._serialized_end = 26727 - _globals["_LISTSCHEDULESRESPONSE"]._serialized_start = 26729 - _globals["_LISTSCHEDULESRESPONSE"]._serialized_end = 26841 - _globals["_COUNTSCHEDULESREQUEST"]._serialized_start = 26843 - _globals["_COUNTSCHEDULESREQUEST"]._serialized_end = 26900 - _globals["_COUNTSCHEDULESRESPONSE"]._serialized_start = 26903 - _globals["_COUNTSCHEDULESRESPONSE"]._serialized_end = 27122 - _globals["_COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP"]._serialized_start = 19747 - _globals["_COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP"]._serialized_end = 19835 - _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_start = 27125 - _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_end = 27771 - _globals[ - "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION" - ]._serialized_start = 27572 - _globals[ - "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION" - ]._serialized_end = 27683 - _globals[ - "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS" - ]._serialized_start = 27685 - _globals[ - "_UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS" - ]._serialized_end = 27758 - _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_start = 27773 - _globals["_UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_end = 27837 - _globals["_GETWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_start = 27839 - _globals["_GETWORKERBUILDIDCOMPATIBILITYREQUEST"]._serialized_end = 27934 - _globals["_GETWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_start = 27936 - _globals["_GETWORKERBUILDIDCOMPATIBILITYRESPONSE"]._serialized_end = 28052 - _globals["_UPDATEWORKERVERSIONINGRULESREQUEST"]._serialized_start = 28055 - _globals["_UPDATEWORKERVERSIONINGRULESREQUEST"]._serialized_end = 29772 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE" - ]._serialized_start = 29107 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE" - ]._serialized_end = 29220 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE" - ]._serialized_start = 29223 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE" - ]._serialized_end = 29352 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE" - ]._serialized_start = 29354 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE" - ]._serialized_end = 29418 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE" - ]._serialized_start = 29420 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE" - ]._serialized_end = 29526 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE" - ]._serialized_start = 29528 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE" - ]._serialized_end = 29638 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE" - ]._serialized_start = 29640 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE" - ]._serialized_end = 29702 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID" - ]._serialized_start = 29704 - _globals[ - "_UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID" - ]._serialized_end = 29759 - _globals["_UPDATEWORKERVERSIONINGRULESRESPONSE"]._serialized_start = 29775 - _globals["_UPDATEWORKERVERSIONINGRULESRESPONSE"]._serialized_end = 30027 - _globals["_GETWORKERVERSIONINGRULESREQUEST"]._serialized_start = 30029 - _globals["_GETWORKERVERSIONINGRULESREQUEST"]._serialized_end = 30101 - _globals["_GETWORKERVERSIONINGRULESRESPONSE"]._serialized_start = 30104 - _globals["_GETWORKERVERSIONINGRULESRESPONSE"]._serialized_end = 30353 - _globals["_GETWORKERTASKREACHABILITYREQUEST"]._serialized_start = 30356 - _globals["_GETWORKERTASKREACHABILITYREQUEST"]._serialized_end = 30512 - _globals["_GETWORKERTASKREACHABILITYRESPONSE"]._serialized_start = 30514 - _globals["_GETWORKERTASKREACHABILITYRESPONSE"]._serialized_end = 30628 - _globals["_UPDATEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 30631 - _globals["_UPDATEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 30892 - _globals["_UPDATEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 30895 - _globals["_UPDATEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 31154 - _globals["_STARTBATCHOPERATIONREQUEST"]._serialized_start = 31157 - _globals["_STARTBATCHOPERATIONREQUEST"]._serialized_end = 32169 - _globals["_STARTBATCHOPERATIONRESPONSE"]._serialized_start = 32171 - _globals["_STARTBATCHOPERATIONRESPONSE"]._serialized_end = 32200 - _globals["_STOPBATCHOPERATIONREQUEST"]._serialized_start = 32202 - _globals["_STOPBATCHOPERATIONREQUEST"]._serialized_end = 32298 - _globals["_STOPBATCHOPERATIONRESPONSE"]._serialized_start = 32300 - _globals["_STOPBATCHOPERATIONRESPONSE"]._serialized_end = 32328 - _globals["_DESCRIBEBATCHOPERATIONREQUEST"]._serialized_start = 32330 - _globals["_DESCRIBEBATCHOPERATIONREQUEST"]._serialized_end = 32396 - _globals["_DESCRIBEBATCHOPERATIONRESPONSE"]._serialized_start = 32399 - _globals["_DESCRIBEBATCHOPERATIONRESPONSE"]._serialized_end = 32801 - _globals["_LISTBATCHOPERATIONSREQUEST"]._serialized_start = 32803 - _globals["_LISTBATCHOPERATIONSREQUEST"]._serialized_end = 32894 - _globals["_LISTBATCHOPERATIONSRESPONSE"]._serialized_start = 32896 - _globals["_LISTBATCHOPERATIONSRESPONSE"]._serialized_end = 33017 - _globals["_POLLWORKFLOWEXECUTIONUPDATEREQUEST"]._serialized_start = 33020 - _globals["_POLLWORKFLOWEXECUTIONUPDATEREQUEST"]._serialized_end = 33205 - _globals["_POLLWORKFLOWEXECUTIONUPDATERESPONSE"]._serialized_start = 33208 - _globals["_POLLWORKFLOWEXECUTIONUPDATERESPONSE"]._serialized_end = 33427 - _globals["_POLLNEXUSTASKQUEUEREQUEST"]._serialized_start = 33430 - _globals["_POLLNEXUSTASKQUEUEREQUEST"]._serialized_end = 33846 - _globals["_POLLNEXUSTASKQUEUERESPONSE"]._serialized_start = 33849 - _globals["_POLLNEXUSTASKQUEUERESPONSE"]._serialized_end = 34126 - _globals["_RESPONDNEXUSTASKCOMPLETEDREQUEST"]._serialized_start = 34129 - _globals["_RESPONDNEXUSTASKCOMPLETEDREQUEST"]._serialized_end = 34296 - _globals["_RESPONDNEXUSTASKCOMPLETEDRESPONSE"]._serialized_start = 34298 - _globals["_RESPONDNEXUSTASKCOMPLETEDRESPONSE"]._serialized_end = 34333 - _globals["_RESPONDNEXUSTASKFAILEDREQUEST"]._serialized_start = 34336 - _globals["_RESPONDNEXUSTASKFAILEDREQUEST"]._serialized_end = 34556 - _globals["_RESPONDNEXUSTASKFAILEDRESPONSE"]._serialized_start = 34558 - _globals["_RESPONDNEXUSTASKFAILEDRESPONSE"]._serialized_end = 34590 - _globals["_EXECUTEMULTIOPERATIONREQUEST"]._serialized_start = 34593 - _globals["_EXECUTEMULTIOPERATIONREQUEST"]._serialized_end = 34965 - _globals["_EXECUTEMULTIOPERATIONREQUEST_OPERATION"]._serialized_start = 34759 - _globals["_EXECUTEMULTIOPERATIONREQUEST_OPERATION"]._serialized_end = 34965 - _globals["_EXECUTEMULTIOPERATIONRESPONSE"]._serialized_start = 34968 - _globals["_EXECUTEMULTIOPERATIONRESPONSE"]._serialized_end = 35300 - _globals["_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE"]._serialized_start = 35094 - _globals["_EXECUTEMULTIOPERATIONRESPONSE_RESPONSE"]._serialized_end = 35300 - _globals["_UPDATEACTIVITYOPTIONSREQUEST"]._serialized_start = 35303 - _globals["_UPDATEACTIVITYOPTIONSREQUEST"]._serialized_end = 35639 - _globals["_UPDATEACTIVITYEXECUTIONOPTIONSREQUEST"]._serialized_start = 35642 - _globals["_UPDATEACTIVITYEXECUTIONOPTIONSREQUEST"]._serialized_end = 35941 - _globals["_UPDATEACTIVITYOPTIONSRESPONSE"]._serialized_start = 35943 - _globals["_UPDATEACTIVITYOPTIONSRESPONSE"]._serialized_end = 36043 - _globals["_UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE"]._serialized_start = 36045 - _globals["_UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE"]._serialized_end = 36154 - _globals["_PAUSEACTIVITYREQUEST"]._serialized_start = 36157 - _globals["_PAUSEACTIVITYREQUEST"]._serialized_end = 36356 - _globals["_PAUSEACTIVITYEXECUTIONREQUEST"]._serialized_start = 36359 - _globals["_PAUSEACTIVITYEXECUTIONREQUEST"]._serialized_end = 36542 - _globals["_PAUSEACTIVITYRESPONSE"]._serialized_start = 36544 - _globals["_PAUSEACTIVITYRESPONSE"]._serialized_end = 36567 - _globals["_PAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 36569 - _globals["_PAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 36601 - _globals["_UNPAUSEACTIVITYREQUEST"]._serialized_start = 36604 - _globals["_UNPAUSEACTIVITYREQUEST"]._serialized_end = 36884 - _globals["_UNPAUSEACTIVITYEXECUTIONREQUEST"]._serialized_start = 36887 - _globals["_UNPAUSEACTIVITYEXECUTIONREQUEST"]._serialized_end = 37144 - _globals["_UNPAUSEACTIVITYRESPONSE"]._serialized_start = 37146 - _globals["_UNPAUSEACTIVITYRESPONSE"]._serialized_end = 37171 - _globals["_UNPAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 37173 - _globals["_UNPAUSEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 37207 - _globals["_RESETACTIVITYREQUEST"]._serialized_start = 37210 - _globals["_RESETACTIVITYREQUEST"]._serialized_end = 37517 - _globals["_RESETACTIVITYEXECUTIONREQUEST"]._serialized_start = 37520 - _globals["_RESETACTIVITYEXECUTIONREQUEST"]._serialized_end = 37790 - _globals["_RESETACTIVITYRESPONSE"]._serialized_start = 37792 - _globals["_RESETACTIVITYRESPONSE"]._serialized_end = 37815 - _globals["_RESETACTIVITYEXECUTIONRESPONSE"]._serialized_start = 37817 - _globals["_RESETACTIVITYEXECUTIONRESPONSE"]._serialized_end = 37849 - _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST"]._serialized_start = 37852 - _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST"]._serialized_end = 38136 - _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE"]._serialized_start = 38139 - _globals["_UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE"]._serialized_end = 38316 - _globals["_DESCRIBEDEPLOYMENTREQUEST"]._serialized_start = 38318 - _globals["_DESCRIBEDEPLOYMENTREQUEST"]._serialized_end = 38424 - _globals["_DESCRIBEDEPLOYMENTRESPONSE"]._serialized_start = 38426 - _globals["_DESCRIBEDEPLOYMENTRESPONSE"]._serialized_end = 38523 - _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_start = 38526 - _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_end = 38720 - _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_start = 38723 - _globals["_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_end = 39375 - _globals[ - "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE" - ]._serialized_start = 38984 - _globals[ - "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE" - ]._serialized_end = 39375 - _globals[ - "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" - ]._serialized_start = 23309 - _globals[ - "_DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY" - ]._serialized_end = 23409 - _globals["_DESCRIBEWORKERDEPLOYMENTREQUEST"]._serialized_start = 39377 - _globals["_DESCRIBEWORKERDEPLOYMENTREQUEST"]._serialized_end = 39454 - _globals["_DESCRIBEWORKERDEPLOYMENTRESPONSE"]._serialized_start = 39457 - _globals["_DESCRIBEWORKERDEPLOYMENTRESPONSE"]._serialized_end = 39597 - _globals["_LISTDEPLOYMENTSREQUEST"]._serialized_start = 39599 - _globals["_LISTDEPLOYMENTSREQUEST"]._serialized_end = 39707 - _globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_start = 39709 - _globals["_LISTDEPLOYMENTSRESPONSE"]._serialized_end = 39828 - _globals["_SETCURRENTDEPLOYMENTREQUEST"]._serialized_start = 39831 - _globals["_SETCURRENTDEPLOYMENTREQUEST"]._serialized_end = 40036 - _globals["_SETCURRENTDEPLOYMENTRESPONSE"]._serialized_start = 40039 - _globals["_SETCURRENTDEPLOYMENTRESPONSE"]._serialized_end = 40224 - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"]._serialized_start = 40227 - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST"]._serialized_end = 40456 - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"]._serialized_start = 40459 - _globals["_SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE"]._serialized_end = 40650 - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"]._serialized_start = 40653 - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST"]._serialized_end = 40902 - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"]._serialized_start = 40905 - _globals["_SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE"]._serialized_end = 41129 - _globals["_CREATEWORKERDEPLOYMENTREQUEST"]._serialized_start = 41131 - _globals["_CREATEWORKERDEPLOYMENTREQUEST"]._serialized_end = 41244 - _globals["_CREATEWORKERDEPLOYMENTRESPONSE"]._serialized_start = 41246 - _globals["_CREATEWORKERDEPLOYMENTRESPONSE"]._serialized_end = 41302 - _globals["_LISTWORKERDEPLOYMENTSREQUEST"]._serialized_start = 41304 - _globals["_LISTWORKERDEPLOYMENTSREQUEST"]._serialized_end = 41397 - _globals["_LISTWORKERDEPLOYMENTSRESPONSE"]._serialized_start = 41400 - _globals["_LISTWORKERDEPLOYMENTSRESPONSE"]._serialized_end = 42071 - _globals[ - "_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY" - ]._serialized_start = 41575 - _globals[ - "_LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY" - ]._serialized_end = 42071 - _globals["_CREATEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_start = 42074 - _globals["_CREATEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_end = 42314 - _globals["_CREATEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_start = 42316 - _globals["_CREATEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_end = 42355 - _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_start = 42358 - _globals["_DELETEWORKERDEPLOYMENTVERSIONREQUEST"]._serialized_end = 42558 - _globals["_DELETEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_start = 42560 - _globals["_DELETEWORKERDEPLOYMENTVERSIONRESPONSE"]._serialized_end = 42599 - _globals["_DELETEWORKERDEPLOYMENTREQUEST"]._serialized_start = 42601 - _globals["_DELETEWORKERDEPLOYMENTREQUEST"]._serialized_end = 42694 - _globals["_DELETEWORKERDEPLOYMENTRESPONSE"]._serialized_start = 42696 - _globals["_DELETEWORKERDEPLOYMENTRESPONSE"]._serialized_end = 42728 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" - ]._serialized_start = 42731 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" - ]._serialized_end = 43247 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._serialized_start = 43124 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._serialized_end = 43247 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" - ]._serialized_start = 43249 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" - ]._serialized_end = 43301 - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" - ]._serialized_start = 43304 - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST" - ]._serialized_end = 43804 - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._serialized_start = 43124 - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY" - ]._serialized_end = 43247 - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" - ]._serialized_start = 43806 - _globals[ - "_VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE" - ]._serialized_end = 43860 - _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"]._serialized_start = 43863 - _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST"]._serialized_end = 44281 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" - ]._serialized_start = 44196 - _globals[ - "_UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY" - ]._serialized_end = 44281 - _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE"]._serialized_start = 44283 - _globals["_UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE"]._serialized_end = 44393 - _globals["_SETWORKERDEPLOYMENTMANAGERREQUEST"]._serialized_start = 44396 - _globals["_SETWORKERDEPLOYMENTMANAGERREQUEST"]._serialized_end = 44585 - _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"]._serialized_start = 44587 - _globals["_SETWORKERDEPLOYMENTMANAGERRESPONSE"]._serialized_end = 44686 - _globals["_GETCURRENTDEPLOYMENTREQUEST"]._serialized_start = 44688 - _globals["_GETCURRENTDEPLOYMENTREQUEST"]._serialized_end = 44757 - _globals["_GETCURRENTDEPLOYMENTRESPONSE"]._serialized_start = 44759 - _globals["_GETCURRENTDEPLOYMENTRESPONSE"]._serialized_end = 44866 - _globals["_GETDEPLOYMENTREACHABILITYREQUEST"]._serialized_start = 44868 - _globals["_GETDEPLOYMENTREACHABILITYREQUEST"]._serialized_end = 44981 - _globals["_GETDEPLOYMENTREACHABILITYRESPONSE"]._serialized_start = 44984 - _globals["_GETDEPLOYMENTREACHABILITYRESPONSE"]._serialized_end = 45211 - _globals["_CREATEWORKFLOWRULEREQUEST"]._serialized_start = 45214 - _globals["_CREATEWORKFLOWRULEREQUEST"]._serialized_end = 45394 - _globals["_CREATEWORKFLOWRULERESPONSE"]._serialized_start = 45396 - _globals["_CREATEWORKFLOWRULERESPONSE"]._serialized_end = 45491 - _globals["_DESCRIBEWORKFLOWRULEREQUEST"]._serialized_start = 45493 - _globals["_DESCRIBEWORKFLOWRULEREQUEST"]._serialized_end = 45558 - _globals["_DESCRIBEWORKFLOWRULERESPONSE"]._serialized_start = 45560 - _globals["_DESCRIBEWORKFLOWRULERESPONSE"]._serialized_end = 45641 - _globals["_DELETEWORKFLOWRULEREQUEST"]._serialized_start = 45643 - _globals["_DELETEWORKFLOWRULEREQUEST"]._serialized_end = 45706 - _globals["_DELETEWORKFLOWRULERESPONSE"]._serialized_start = 45708 - _globals["_DELETEWORKFLOWRULERESPONSE"]._serialized_end = 45736 - _globals["_LISTWORKFLOWRULESREQUEST"]._serialized_start = 45738 - _globals["_LISTWORKFLOWRULESREQUEST"]._serialized_end = 45808 - _globals["_LISTWORKFLOWRULESRESPONSE"]._serialized_start = 45810 - _globals["_LISTWORKFLOWRULESRESPONSE"]._serialized_end = 45914 - _globals["_TRIGGERWORKFLOWRULEREQUEST"]._serialized_start = 45917 - _globals["_TRIGGERWORKFLOWRULEREQUEST"]._serialized_end = 46123 - _globals["_TRIGGERWORKFLOWRULERESPONSE"]._serialized_start = 46125 - _globals["_TRIGGERWORKFLOWRULERESPONSE"]._serialized_end = 46171 - _globals["_RECORDWORKERHEARTBEATREQUEST"]._serialized_start = 46174 - _globals["_RECORDWORKERHEARTBEATREQUEST"]._serialized_end = 46329 - _globals["_RECORDWORKERHEARTBEATRESPONSE"]._serialized_start = 46331 - _globals["_RECORDWORKERHEARTBEATRESPONSE"]._serialized_end = 46362 - _globals["_LISTWORKERSREQUEST"]._serialized_start = 46365 - _globals["_LISTWORKERSREQUEST"]._serialized_end = 46495 - _globals["_LISTWORKERSRESPONSE"]._serialized_start = 46498 - _globals["_LISTWORKERSRESPONSE"]._serialized_end = 46663 - _globals["_UPDATETASKQUEUECONFIGREQUEST"]._serialized_start = 46666 - _globals["_UPDATETASKQUEUECONFIGREQUEST"]._serialized_end = 47391 - _globals["_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE"]._serialized_start = 47233 - _globals["_UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE"]._serialized_end = 47324 - _globals[ - "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" - ]._serialized_start = 47326 - _globals[ - "_UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY" - ]._serialized_end = 47391 - _globals["_UPDATETASKQUEUECONFIGRESPONSE"]._serialized_start = 47393 - _globals["_UPDATETASKQUEUECONFIGRESPONSE"]._serialized_end = 47484 - _globals["_FETCHWORKERCONFIGREQUEST"]._serialized_start = 47487 - _globals["_FETCHWORKERCONFIGREQUEST"]._serialized_end = 47645 - _globals["_FETCHWORKERCONFIGRESPONSE"]._serialized_start = 47647 - _globals["_FETCHWORKERCONFIGRESPONSE"]._serialized_end = 47732 - _globals["_UPDATEWORKERCONFIGREQUEST"]._serialized_start = 47735 - _globals["_UPDATEWORKERCONFIGREQUEST"]._serialized_end = 48001 - _globals["_UPDATEWORKERCONFIGRESPONSE"]._serialized_start = 48003 - _globals["_UPDATEWORKERCONFIGRESPONSE"]._serialized_end = 48103 - _globals["_DESCRIBEWORKERREQUEST"]._serialized_start = 48105 - _globals["_DESCRIBEWORKERREQUEST"]._serialized_end = 48176 - _globals["_DESCRIBEWORKERRESPONSE"]._serialized_start = 48178 - _globals["_DESCRIBEWORKERRESPONSE"]._serialized_end = 48259 - _globals["_COUNTWORKERSREQUEST"]._serialized_start = 48261 - _globals["_COUNTWORKERSREQUEST"]._serialized_end = 48348 - _globals["_COUNTWORKERSRESPONSE"]._serialized_start = 48350 - _globals["_COUNTWORKERSRESPONSE"]._serialized_end = 48387 - _globals["_PAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 48390 - _globals["_PAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 48531 - _globals["_PAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 48533 - _globals["_PAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 48565 - _globals["_UNPAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_start = 48568 - _globals["_UNPAUSEWORKFLOWEXECUTIONREQUEST"]._serialized_end = 48711 - _globals["_UNPAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 48713 - _globals["_UNPAUSEWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 48747 - _globals["_STARTACTIVITYEXECUTIONREQUEST"]._serialized_start = 48750 - _globals["_STARTACTIVITYEXECUTIONREQUEST"]._serialized_end = 49927 - _globals["_STARTACTIVITYEXECUTIONRESPONSE"]._serialized_start = 49929 - _globals["_STARTACTIVITYEXECUTIONRESPONSE"]._serialized_end = 50038 - _globals["_DESCRIBEACTIVITYEXECUTIONREQUEST"]._serialized_start = 50041 - _globals["_DESCRIBEACTIVITYEXECUTIONREQUEST"]._serialized_end = 50269 - _globals["_DESCRIBEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 50272 - _globals["_DESCRIBEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 50588 - _globals["_POLLACTIVITYEXECUTIONREQUEST"]._serialized_start = 50590 - _globals["_POLLACTIVITYEXECUTIONREQUEST"]._serialized_end = 50676 - _globals["_POLLACTIVITYEXECUTIONRESPONSE"]._serialized_start = 50678 - _globals["_POLLACTIVITYEXECUTIONRESPONSE"]._serialized_end = 50794 - _globals["_LISTACTIVITYEXECUTIONSREQUEST"]._serialized_start = 50796 - _globals["_LISTACTIVITYEXECUTIONSREQUEST"]._serialized_end = 50905 - _globals["_LISTACTIVITYEXECUTIONSRESPONSE"]._serialized_start = 50908 - _globals["_LISTACTIVITYEXECUTIONSRESPONSE"]._serialized_end = 51038 - _globals["_STARTNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 51041 - _globals["_STARTNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 51890 - _globals[ - "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" - ]._serialized_start = 51840 - _globals[ - "_STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY" - ]._serialized_end = 51890 - _globals["_STARTNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 51892 - _globals["_STARTNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 51963 - _globals["_DESCRIBENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 51966 - _globals["_DESCRIBENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 52136 - _globals["_DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 52139 - _globals["_DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 52450 - _globals["_POLLNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 52453 - _globals["_POLLNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 52614 - _globals["_POLLNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 52617 - _globals["_POLLNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 52878 - _globals["_LISTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_start = 52880 - _globals["_LISTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_end = 52995 - _globals["_LISTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_start = 52998 - _globals["_LISTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_end = 53137 - _globals["_COUNTACTIVITYEXECUTIONSREQUEST"]._serialized_start = 53139 - _globals["_COUNTACTIVITYEXECUTIONSREQUEST"]._serialized_end = 53205 - _globals["_COUNTACTIVITYEXECUTIONSRESPONSE"]._serialized_start = 53208 - _globals["_COUNTACTIVITYEXECUTIONSRESPONSE"]._serialized_end = 53445 - _globals[ - "_COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP" - ]._serialized_start = 19747 - _globals[ - "_COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP" - ]._serialized_end = 19835 - _globals["_COUNTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_start = 53447 - _globals["_COUNTNEXUSOPERATIONEXECUTIONSREQUEST"]._serialized_end = 53519 - _globals["_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_start = 53522 - _globals["_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE"]._serialized_end = 53771 - _globals[ - "_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP" - ]._serialized_start = 19747 - _globals[ - "_COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP" - ]._serialized_end = 19835 - _globals["_REQUESTCANCELACTIVITYEXECUTIONREQUEST"]._serialized_start = 53774 - _globals["_REQUESTCANCELACTIVITYEXECUTIONREQUEST"]._serialized_end = 53923 - _globals["_REQUESTCANCELACTIVITYEXECUTIONRESPONSE"]._serialized_start = 53925 - _globals["_REQUESTCANCELACTIVITYEXECUTIONRESPONSE"]._serialized_end = 53965 - _globals["_TERMINATEACTIVITYEXECUTIONREQUEST"]._serialized_start = 53968 - _globals["_TERMINATEACTIVITYEXECUTIONREQUEST"]._serialized_end = 54113 - _globals["_TERMINATEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 54115 - _globals["_TERMINATEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 54151 - _globals["_DELETEACTIVITYEXECUTIONREQUEST"]._serialized_start = 54153 - _globals["_DELETEACTIVITYEXECUTIONREQUEST"]._serialized_end = 54241 - _globals["_DELETEACTIVITYEXECUTIONRESPONSE"]._serialized_start = 54243 - _globals["_DELETEACTIVITYEXECUTIONRESPONSE"]._serialized_end = 54276 - _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 54279 - _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 54435 - _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 54437 - _globals["_REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 54483 - _globals["_TERMINATENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 54486 - _globals["_TERMINATENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 54638 - _globals["_TERMINATENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 54640 - _globals["_TERMINATENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 54682 - _globals["_DELETENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_start = 54684 - _globals["_DELETENEXUSOPERATIONEXECUTIONREQUEST"]._serialized_end = 54779 - _globals["_DELETENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_start = 54781 - _globals["_DELETENEXUSOPERATIONEXECUTIONRESPONSE"]._serialized_end = 54820 + _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._options = None + _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._serialized_options = b"8\001" + _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._options = None + _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._serialized_options = b"8\001" + _REGISTERNAMESPACEREQUEST._serialized_start = 1603 + _REGISTERNAMESPACEREQUEST._serialized_end = 2251 + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_start = 2208 + _REGISTERNAMESPACEREQUEST_DATAENTRY._serialized_end = 2251 + _REGISTERNAMESPACERESPONSE._serialized_start = 2253 + _REGISTERNAMESPACERESPONSE._serialized_end = 2280 + _LISTNAMESPACESREQUEST._serialized_start = 2283 + _LISTNAMESPACESREQUEST._serialized_end = 2420 + _LISTNAMESPACESRESPONSE._serialized_start = 2423 + _LISTNAMESPACESRESPONSE._serialized_end = 2552 + _DESCRIBENAMESPACEREQUEST._serialized_start = 2554 + _DESCRIBENAMESPACEREQUEST._serialized_end = 2637 + _DESCRIBENAMESPACERESPONSE._serialized_start = 2640 + _DESCRIBENAMESPACERESPONSE._serialized_end = 3076 + _UPDATENAMESPACEREQUEST._serialized_start = 3079 + _UPDATENAMESPACEREQUEST._serialized_end = 3414 + _UPDATENAMESPACERESPONSE._serialized_start = 3417 + _UPDATENAMESPACERESPONSE._serialized_end = 3708 + _DEPRECATENAMESPACEREQUEST._serialized_start = 3710 + _DEPRECATENAMESPACEREQUEST._serialized_end = 3780 + _DEPRECATENAMESPACERESPONSE._serialized_start = 3782 + _DEPRECATENAMESPACERESPONSE._serialized_end = 3810 + _STARTWORKFLOWEXECUTIONREQUEST._serialized_start = 3813 + _STARTWORKFLOWEXECUTIONREQUEST._serialized_end = 5430 + _STARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 5433 + _STARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 5699 + _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_start = 5702 + _GETWORKFLOWEXECUTIONHISTORYREQUEST._serialized_end = 6000 + _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_start = 6003 + _GETWORKFLOWEXECUTIONHISTORYRESPONSE._serialized_end = 6189 + _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_start = 6192 + _GETWORKFLOWEXECUTIONHISTORYREVERSEREQUEST._serialized_end = 6368 + _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_start = 6370 + _GETWORKFLOWEXECUTIONHISTORYREVERSERESPONSE._serialized_end = 6490 + _POLLWORKFLOWTASKQUEUEREQUEST._serialized_start = 6493 + _POLLWORKFLOWTASKQUEUEREQUEST._serialized_end = 6933 + _POLLWORKFLOWTASKQUEUERESPONSE._serialized_start = 6936 + _POLLWORKFLOWTASKQUEUERESPONSE._serialized_end = 7946 + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_start = 7862 + _POLLWORKFLOWTASKQUEUERESPONSE_QUERIESENTRY._serialized_end = 7946 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_start = 7949 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST._serialized_end = 9239 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_start = 9073 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_QUERYRESULTSENTRY._serialized_end = 9168 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_start = 9170 + _RESPONDWORKFLOWTASKCOMPLETEDREQUEST_CAPABILITIES._serialized_end = 9239 + _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_start = 9242 + _RESPONDWORKFLOWTASKCOMPLETEDRESPONSE._serialized_end = 9487 + _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_start = 9490 + _RESPONDWORKFLOWTASKFAILEDREQUEST._serialized_end = 10015 + _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_start = 10017 + _RESPONDWORKFLOWTASKFAILEDRESPONSE._serialized_end = 10052 + _POLLACTIVITYTASKQUEUEREQUEST._serialized_start = 10055 + _POLLACTIVITYTASKQUEUEREQUEST._serialized_end = 10541 + _POLLACTIVITYTASKQUEUERESPONSE._serialized_start = 10544 + _POLLACTIVITYTASKQUEUERESPONSE._serialized_end = 11648 + _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_start = 11651 + _RECORDACTIVITYTASKHEARTBEATREQUEST._serialized_end = 11816 + _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_start = 11818 + _RECORDACTIVITYTASKHEARTBEATRESPONSE._serialized_end = 11930 + _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_start = 11933 + _RECORDACTIVITYTASKHEARTBEATBYIDREQUEST._serialized_end = 12140 + _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_start = 12142 + _RECORDACTIVITYTASKHEARTBEATBYIDRESPONSE._serialized_end = 12258 + _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_start = 12261 + _RESPONDACTIVITYTASKCOMPLETEDREQUEST._serialized_end = 12643 + _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_start = 12645 + _RESPONDACTIVITYTASKCOMPLETEDRESPONSE._serialized_end = 12683 + _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_start = 12686 + _RESPONDACTIVITYTASKCOMPLETEDBYIDREQUEST._serialized_end = 12893 + _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_start = 12895 + _RESPONDACTIVITYTASKCOMPLETEDBYIDRESPONSE._serialized_end = 12937 + _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_start = 12940 + _RESPONDACTIVITYTASKFAILEDREQUEST._serialized_end = 13386 + _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_start = 13388 + _RESPONDACTIVITYTASKFAILEDRESPONSE._serialized_end = 13475 + _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_start = 13478 + _RESPONDACTIVITYTASKFAILEDBYIDREQUEST._serialized_end = 13749 + _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_start = 13751 + _RESPONDACTIVITYTASKFAILEDBYIDRESPONSE._serialized_end = 13842 + _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_start = 13845 + _RESPONDACTIVITYTASKCANCELEDREQUEST._serialized_end = 14227 + _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_start = 14229 + _RESPONDACTIVITYTASKCANCELEDRESPONSE._serialized_end = 14266 + _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_start = 14269 + _RESPONDACTIVITYTASKCANCELEDBYIDREQUEST._serialized_end = 14557 + _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_start = 14559 + _RESPONDACTIVITYTASKCANCELEDBYIDRESPONSE._serialized_end = 14600 + _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_start = 14603 + _REQUESTCANCELWORKFLOWEXECUTIONREQUEST._serialized_end = 14863 + _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_start = 14865 + _REQUESTCANCELWORKFLOWEXECUTIONRESPONSE._serialized_end = 14905 + _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_start = 14908 + _SIGNALWORKFLOWEXECUTIONREQUEST._serialized_end = 15258 + _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_start = 15260 + _SIGNALWORKFLOWEXECUTIONRESPONSE._serialized_end = 15337 + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_start = 15340 + _SIGNALWITHSTARTWORKFLOWEXECUTIONREQUEST._serialized_end = 16679 + _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_start = 16681 + _SIGNALWITHSTARTWORKFLOWEXECUTIONRESPONSE._serialized_end = 16807 + _RESETWORKFLOWEXECUTIONREQUEST._serialized_start = 16810 + _RESETWORKFLOWEXECUTIONREQUEST._serialized_end = 17259 + _RESETWORKFLOWEXECUTIONRESPONSE._serialized_start = 17261 + _RESETWORKFLOWEXECUTIONRESPONSE._serialized_end = 17309 + _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_start = 17312 + _TERMINATEWORKFLOWEXECUTIONREQUEST._serialized_end = 17599 + _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 17601 + _TERMINATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 17637 + _DELETEWORKFLOWEXECUTIONREQUEST._serialized_start = 17639 + _DELETEWORKFLOWEXECUTIONREQUEST._serialized_end = 17761 + _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_start = 17763 + _DELETEWORKFLOWEXECUTIONRESPONSE._serialized_end = 17796 + _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_start = 17799 + _LISTOPENWORKFLOWEXECUTIONSREQUEST._serialized_end = 18128 + _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18131 + _LISTOPENWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18261 + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 18264 + _LISTCLOSEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 18658 + _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18661 + _LISTCLOSEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 18793 + _LISTWORKFLOWEXECUTIONSREQUEST._serialized_start = 18795 + _LISTWORKFLOWEXECUTIONSREQUEST._serialized_end = 18904 + _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 18906 + _LISTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19032 + _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_start = 19034 + _LISTARCHIVEDWORKFLOWEXECUTIONSREQUEST._serialized_end = 19151 + _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_start = 19154 + _LISTARCHIVEDWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19288 + _SCANWORKFLOWEXECUTIONSREQUEST._serialized_start = 19290 + _SCANWORKFLOWEXECUTIONSREQUEST._serialized_end = 19399 + _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_start = 19401 + _SCANWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19527 + _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_start = 19529 + _COUNTWORKFLOWEXECUTIONSREQUEST._serialized_end = 19595 + _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_start = 19598 + _COUNTWORKFLOWEXECUTIONSRESPONSE._serialized_end = 19835 + _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 19747 + _COUNTWORKFLOWEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 19835 + _GETSEARCHATTRIBUTESREQUEST._serialized_start = 19837 + _GETSEARCHATTRIBUTESREQUEST._serialized_end = 19865 + _GETSEARCHATTRIBUTESRESPONSE._serialized_start = 19868 + _GETSEARCHATTRIBUTESRESPONSE._serialized_end = 20069 + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_start = 19985 + _GETSEARCHATTRIBUTESRESPONSE_KEYSENTRY._serialized_end = 20069 + _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_start = 20072 + _RESPONDQUERYTASKCOMPLETEDREQUEST._serialized_end = 20433 + _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_start = 20435 + _RESPONDQUERYTASKCOMPLETEDRESPONSE._serialized_end = 20470 + _RESETSTICKYTASKQUEUEREQUEST._serialized_start = 20472 + _RESETSTICKYTASKQUEUEREQUEST._serialized_end = 20582 + _RESETSTICKYTASKQUEUERESPONSE._serialized_start = 20584 + _RESETSTICKYTASKQUEUERESPONSE._serialized_end = 20614 + _SHUTDOWNWORKERREQUEST._serialized_start = 20617 + _SHUTDOWNWORKERREQUEST._serialized_end = 20900 + _SHUTDOWNWORKERRESPONSE._serialized_start = 20902 + _SHUTDOWNWORKERRESPONSE._serialized_end = 20926 + _QUERYWORKFLOWREQUEST._serialized_start = 20929 + _QUERYWORKFLOWREQUEST._serialized_end = 21162 + _QUERYWORKFLOWRESPONSE._serialized_start = 21165 + _QUERYWORKFLOWRESPONSE._serialized_end = 21306 + _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_start = 21308 + _DESCRIBEWORKFLOWEXECUTIONREQUEST._serialized_end = 21423 + _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_start = 21426 + _DESCRIBEWORKFLOWEXECUTIONRESPONSE._serialized_end = 22091 + _DESCRIBETASKQUEUEREQUEST._serialized_start = 22094 + _DESCRIBETASKQUEUEREQUEST._serialized_end = 22622 + _DESCRIBETASKQUEUERESPONSE._serialized_start = 22625 + _DESCRIBETASKQUEUERESPONSE._serialized_end = 23629 + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_start = 23309 + _DESCRIBETASKQUEUERESPONSE_STATSBYPRIORITYKEYENTRY._serialized_end = 23409 + _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_start = 23411 + _DESCRIBETASKQUEUERESPONSE_EFFECTIVERATELIMIT._serialized_end = 23527 + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_start = 23529 + _DESCRIBETASKQUEUERESPONSE_VERSIONSINFOENTRY._serialized_end = 23629 + _GETCLUSTERINFOREQUEST._serialized_start = 23631 + _GETCLUSTERINFOREQUEST._serialized_end = 23654 + _GETCLUSTERINFORESPONSE._serialized_start = 23657 + _GETCLUSTERINFORESPONSE._serialized_end = 24122 + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_start = 24067 + _GETCLUSTERINFORESPONSE_SUPPORTEDCLIENTSENTRY._serialized_end = 24122 + _GETSYSTEMINFOREQUEST._serialized_start = 24124 + _GETSYSTEMINFOREQUEST._serialized_end = 24146 + _GETSYSTEMINFORESPONSE._serialized_start = 24149 + _GETSYSTEMINFORESPONSE._serialized_end = 24684 + _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_start = 24290 + _GETSYSTEMINFORESPONSE_CAPABILITIES._serialized_end = 24684 + _LISTTASKQUEUEPARTITIONSREQUEST._serialized_start = 24686 + _LISTTASKQUEUEPARTITIONSREQUEST._serialized_end = 24795 + _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_start = 24798 + _LISTTASKQUEUEPARTITIONSRESPONSE._serialized_end = 25021 + _CREATESCHEDULEREQUEST._serialized_start = 25024 + _CREATESCHEDULEREQUEST._serialized_end = 25356 + _CREATESCHEDULERESPONSE._serialized_start = 25358 + _CREATESCHEDULERESPONSE._serialized_end = 25406 + _DESCRIBESCHEDULEREQUEST._serialized_start = 25408 + _DESCRIBESCHEDULEREQUEST._serialized_end = 25473 + _DESCRIBESCHEDULERESPONSE._serialized_start = 25476 + _DESCRIBESCHEDULERESPONSE._serialized_end = 25747 + _UPDATESCHEDULEREQUEST._serialized_start = 25750 + _UPDATESCHEDULEREQUEST._serialized_end = 26042 + _UPDATESCHEDULERESPONSE._serialized_start = 26044 + _UPDATESCHEDULERESPONSE._serialized_end = 26068 + _PATCHSCHEDULEREQUEST._serialized_start = 26071 + _PATCHSCHEDULEREQUEST._serialized_end = 26227 + _PATCHSCHEDULERESPONSE._serialized_start = 26229 + _PATCHSCHEDULERESPONSE._serialized_end = 26252 + _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_start = 26255 + _LISTSCHEDULEMATCHINGTIMESREQUEST._serialized_end = 26423 + _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_start = 26425 + _LISTSCHEDULEMATCHINGTIMESRESPONSE._serialized_end = 26508 + _DELETESCHEDULEREQUEST._serialized_start = 26510 + _DELETESCHEDULEREQUEST._serialized_end = 26591 + _DELETESCHEDULERESPONSE._serialized_start = 26593 + _DELETESCHEDULERESPONSE._serialized_end = 26617 + _LISTSCHEDULESREQUEST._serialized_start = 26619 + _LISTSCHEDULESREQUEST._serialized_end = 26727 + _LISTSCHEDULESRESPONSE._serialized_start = 26729 + _LISTSCHEDULESRESPONSE._serialized_end = 26841 + _COUNTSCHEDULESREQUEST._serialized_start = 26843 + _COUNTSCHEDULESREQUEST._serialized_end = 26900 + _COUNTSCHEDULESRESPONSE._serialized_start = 26903 + _COUNTSCHEDULESRESPONSE._serialized_end = 27122 + _COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP._serialized_start = 19747 + _COUNTSCHEDULESRESPONSE_AGGREGATIONGROUP._serialized_end = 19835 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 27125 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 27771 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_start = 27572 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_ADDNEWCOMPATIBLEVERSION._serialized_end = ( + 27683 + ) + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_start = 27685 + _UPDATEWORKERBUILDIDCOMPATIBILITYREQUEST_MERGESETS._serialized_end = 27758 + _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 27773 + _UPDATEWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 27837 + _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_start = 27839 + _GETWORKERBUILDIDCOMPATIBILITYREQUEST._serialized_end = 27934 + _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_start = 27936 + _GETWORKERBUILDIDCOMPATIBILITYRESPONSE._serialized_end = 28052 + _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_start = 28055 + _UPDATEWORKERVERSIONINGRULESREQUEST._serialized_end = 29772 + _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_start = 29107 + _UPDATEWORKERVERSIONINGRULESREQUEST_INSERTBUILDIDASSIGNMENTRULE._serialized_end = ( + 29220 + ) + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_start = 29223 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACEBUILDIDASSIGNMENTRULE._serialized_end = ( + 29352 + ) + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_start = 29354 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETEBUILDIDASSIGNMENTRULE._serialized_end = ( + 29418 + ) + _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 29420 + _UPDATEWORKERVERSIONINGRULESREQUEST_ADDCOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 29526 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 29528 + _UPDATEWORKERVERSIONINGRULESREQUEST_REPLACECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 29638 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_start = 29640 + _UPDATEWORKERVERSIONINGRULESREQUEST_DELETECOMPATIBLEBUILDIDREDIRECTRULE._serialized_end = 29702 + _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_start = 29704 + _UPDATEWORKERVERSIONINGRULESREQUEST_COMMITBUILDID._serialized_end = 29759 + _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_start = 29775 + _UPDATEWORKERVERSIONINGRULESRESPONSE._serialized_end = 30027 + _GETWORKERVERSIONINGRULESREQUEST._serialized_start = 30029 + _GETWORKERVERSIONINGRULESREQUEST._serialized_end = 30101 + _GETWORKERVERSIONINGRULESRESPONSE._serialized_start = 30104 + _GETWORKERVERSIONINGRULESRESPONSE._serialized_end = 30353 + _GETWORKERTASKREACHABILITYREQUEST._serialized_start = 30356 + _GETWORKERTASKREACHABILITYREQUEST._serialized_end = 30512 + _GETWORKERTASKREACHABILITYRESPONSE._serialized_start = 30514 + _GETWORKERTASKREACHABILITYRESPONSE._serialized_end = 30628 + _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_start = 30631 + _UPDATEWORKFLOWEXECUTIONREQUEST._serialized_end = 30892 + _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_start = 30895 + _UPDATEWORKFLOWEXECUTIONRESPONSE._serialized_end = 31154 + _STARTBATCHOPERATIONREQUEST._serialized_start = 31157 + _STARTBATCHOPERATIONREQUEST._serialized_end = 32169 + _STARTBATCHOPERATIONRESPONSE._serialized_start = 32171 + _STARTBATCHOPERATIONRESPONSE._serialized_end = 32200 + _STOPBATCHOPERATIONREQUEST._serialized_start = 32202 + _STOPBATCHOPERATIONREQUEST._serialized_end = 32298 + _STOPBATCHOPERATIONRESPONSE._serialized_start = 32300 + _STOPBATCHOPERATIONRESPONSE._serialized_end = 32328 + _DESCRIBEBATCHOPERATIONREQUEST._serialized_start = 32330 + _DESCRIBEBATCHOPERATIONREQUEST._serialized_end = 32396 + _DESCRIBEBATCHOPERATIONRESPONSE._serialized_start = 32399 + _DESCRIBEBATCHOPERATIONRESPONSE._serialized_end = 32801 + _LISTBATCHOPERATIONSREQUEST._serialized_start = 32803 + _LISTBATCHOPERATIONSREQUEST._serialized_end = 32894 + _LISTBATCHOPERATIONSRESPONSE._serialized_start = 32896 + _LISTBATCHOPERATIONSRESPONSE._serialized_end = 33017 + _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_start = 33020 + _POLLWORKFLOWEXECUTIONUPDATEREQUEST._serialized_end = 33205 + _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_start = 33208 + _POLLWORKFLOWEXECUTIONUPDATERESPONSE._serialized_end = 33427 + _POLLNEXUSTASKQUEUEREQUEST._serialized_start = 33430 + _POLLNEXUSTASKQUEUEREQUEST._serialized_end = 33846 + _POLLNEXUSTASKQUEUERESPONSE._serialized_start = 33849 + _POLLNEXUSTASKQUEUERESPONSE._serialized_end = 34126 + _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_start = 34129 + _RESPONDNEXUSTASKCOMPLETEDREQUEST._serialized_end = 34296 + _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_start = 34298 + _RESPONDNEXUSTASKCOMPLETEDRESPONSE._serialized_end = 34333 + _RESPONDNEXUSTASKFAILEDREQUEST._serialized_start = 34336 + _RESPONDNEXUSTASKFAILEDREQUEST._serialized_end = 34556 + _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_start = 34558 + _RESPONDNEXUSTASKFAILEDRESPONSE._serialized_end = 34590 + _EXECUTEMULTIOPERATIONREQUEST._serialized_start = 34593 + _EXECUTEMULTIOPERATIONREQUEST._serialized_end = 34965 + _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_start = 34759 + _EXECUTEMULTIOPERATIONREQUEST_OPERATION._serialized_end = 34965 + _EXECUTEMULTIOPERATIONRESPONSE._serialized_start = 34968 + _EXECUTEMULTIOPERATIONRESPONSE._serialized_end = 35300 + _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_start = 35094 + _EXECUTEMULTIOPERATIONRESPONSE_RESPONSE._serialized_end = 35300 + _UPDATEACTIVITYOPTIONSREQUEST._serialized_start = 35303 + _UPDATEACTIVITYOPTIONSREQUEST._serialized_end = 35639 + _UPDATEACTIVITYEXECUTIONOPTIONSREQUEST._serialized_start = 35642 + _UPDATEACTIVITYEXECUTIONOPTIONSREQUEST._serialized_end = 35941 + _UPDATEACTIVITYOPTIONSRESPONSE._serialized_start = 35943 + _UPDATEACTIVITYOPTIONSRESPONSE._serialized_end = 36043 + _UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE._serialized_start = 36045 + _UPDATEACTIVITYEXECUTIONOPTIONSRESPONSE._serialized_end = 36154 + _PAUSEACTIVITYREQUEST._serialized_start = 36157 + _PAUSEACTIVITYREQUEST._serialized_end = 36356 + _PAUSEACTIVITYEXECUTIONREQUEST._serialized_start = 36359 + _PAUSEACTIVITYEXECUTIONREQUEST._serialized_end = 36542 + _PAUSEACTIVITYRESPONSE._serialized_start = 36544 + _PAUSEACTIVITYRESPONSE._serialized_end = 36567 + _PAUSEACTIVITYEXECUTIONRESPONSE._serialized_start = 36569 + _PAUSEACTIVITYEXECUTIONRESPONSE._serialized_end = 36601 + _UNPAUSEACTIVITYREQUEST._serialized_start = 36604 + _UNPAUSEACTIVITYREQUEST._serialized_end = 36884 + _UNPAUSEACTIVITYEXECUTIONREQUEST._serialized_start = 36887 + _UNPAUSEACTIVITYEXECUTIONREQUEST._serialized_end = 37144 + _UNPAUSEACTIVITYRESPONSE._serialized_start = 37146 + _UNPAUSEACTIVITYRESPONSE._serialized_end = 37171 + _UNPAUSEACTIVITYEXECUTIONRESPONSE._serialized_start = 37173 + _UNPAUSEACTIVITYEXECUTIONRESPONSE._serialized_end = 37207 + _RESETACTIVITYREQUEST._serialized_start = 37210 + _RESETACTIVITYREQUEST._serialized_end = 37517 + _RESETACTIVITYEXECUTIONREQUEST._serialized_start = 37520 + _RESETACTIVITYEXECUTIONREQUEST._serialized_end = 37790 + _RESETACTIVITYRESPONSE._serialized_start = 37792 + _RESETACTIVITYRESPONSE._serialized_end = 37815 + _RESETACTIVITYEXECUTIONRESPONSE._serialized_start = 37817 + _RESETACTIVITYEXECUTIONRESPONSE._serialized_end = 37849 + _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_start = 37852 + _UPDATEWORKFLOWEXECUTIONOPTIONSREQUEST._serialized_end = 38136 + _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_start = 38139 + _UPDATEWORKFLOWEXECUTIONOPTIONSRESPONSE._serialized_end = 38316 + _DESCRIBEDEPLOYMENTREQUEST._serialized_start = 38318 + _DESCRIBEDEPLOYMENTREQUEST._serialized_end = 38424 + _DESCRIBEDEPLOYMENTRESPONSE._serialized_start = 38426 + _DESCRIBEDEPLOYMENTRESPONSE._serialized_end = 38523 + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 38526 + _DESCRIBEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 38720 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 38723 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 39375 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_start = 38984 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE._serialized_end = 39375 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_start = 23309 + _DESCRIBEWORKERDEPLOYMENTVERSIONRESPONSE_VERSIONTASKQUEUE_STATSBYPRIORITYKEYENTRY._serialized_end = 23409 + _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_start = 39377 + _DESCRIBEWORKERDEPLOYMENTREQUEST._serialized_end = 39454 + _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_start = 39457 + _DESCRIBEWORKERDEPLOYMENTRESPONSE._serialized_end = 39597 + _LISTDEPLOYMENTSREQUEST._serialized_start = 39599 + _LISTDEPLOYMENTSREQUEST._serialized_end = 39707 + _LISTDEPLOYMENTSRESPONSE._serialized_start = 39709 + _LISTDEPLOYMENTSRESPONSE._serialized_end = 39828 + _SETCURRENTDEPLOYMENTREQUEST._serialized_start = 39831 + _SETCURRENTDEPLOYMENTREQUEST._serialized_end = 40036 + _SETCURRENTDEPLOYMENTRESPONSE._serialized_start = 40039 + _SETCURRENTDEPLOYMENTRESPONSE._serialized_end = 40224 + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_start = 40227 + _SETWORKERDEPLOYMENTCURRENTVERSIONREQUEST._serialized_end = 40456 + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_start = 40459 + _SETWORKERDEPLOYMENTCURRENTVERSIONRESPONSE._serialized_end = 40650 + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_start = 40653 + _SETWORKERDEPLOYMENTRAMPINGVERSIONREQUEST._serialized_end = 40902 + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_start = 40905 + _SETWORKERDEPLOYMENTRAMPINGVERSIONRESPONSE._serialized_end = 41129 + _CREATEWORKERDEPLOYMENTREQUEST._serialized_start = 41131 + _CREATEWORKERDEPLOYMENTREQUEST._serialized_end = 41244 + _CREATEWORKERDEPLOYMENTRESPONSE._serialized_start = 41246 + _CREATEWORKERDEPLOYMENTRESPONSE._serialized_end = 41302 + _LISTWORKERDEPLOYMENTSREQUEST._serialized_start = 41304 + _LISTWORKERDEPLOYMENTSREQUEST._serialized_end = 41397 + _LISTWORKERDEPLOYMENTSRESPONSE._serialized_start = 41400 + _LISTWORKERDEPLOYMENTSRESPONSE._serialized_end = 42071 + _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_start = 41575 + _LISTWORKERDEPLOYMENTSRESPONSE_WORKERDEPLOYMENTSUMMARY._serialized_end = 42071 + _CREATEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 42074 + _CREATEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 42314 + _CREATEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 42316 + _CREATEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 42355 + _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_start = 42358 + _DELETEWORKERDEPLOYMENTVERSIONREQUEST._serialized_end = 42558 + _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_start = 42560 + _DELETEWORKERDEPLOYMENTVERSIONRESPONSE._serialized_end = 42599 + _DELETEWORKERDEPLOYMENTREQUEST._serialized_start = 42601 + _DELETEWORKERDEPLOYMENTREQUEST._serialized_end = 42694 + _DELETEWORKERDEPLOYMENTRESPONSE._serialized_start = 42696 + _DELETEWORKERDEPLOYMENTRESPONSE._serialized_end = 42728 + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_start = 42731 + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_end = 43247 + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_start = 43124 + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_end = 43247 + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_start = 43249 + _UPDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_end = 43301 + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_start = 43304 + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST._serialized_end = 43804 + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_start = 43124 + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGREQUEST_COMPUTECONFIGSCALINGGROUPSENTRY._serialized_end = 43247 + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_start = 43806 + _VALIDATEWORKERDEPLOYMENTVERSIONCOMPUTECONFIGRESPONSE._serialized_end = 43860 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_start = 43863 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST._serialized_end = 44281 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_start = 44196 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATAREQUEST_UPSERTENTRIESENTRY._serialized_end = ( + 44281 + ) + _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_start = 44283 + _UPDATEWORKERDEPLOYMENTVERSIONMETADATARESPONSE._serialized_end = 44393 + _SETWORKERDEPLOYMENTMANAGERREQUEST._serialized_start = 44396 + _SETWORKERDEPLOYMENTMANAGERREQUEST._serialized_end = 44585 + _SETWORKERDEPLOYMENTMANAGERRESPONSE._serialized_start = 44587 + _SETWORKERDEPLOYMENTMANAGERRESPONSE._serialized_end = 44686 + _GETCURRENTDEPLOYMENTREQUEST._serialized_start = 44688 + _GETCURRENTDEPLOYMENTREQUEST._serialized_end = 44757 + _GETCURRENTDEPLOYMENTRESPONSE._serialized_start = 44759 + _GETCURRENTDEPLOYMENTRESPONSE._serialized_end = 44866 + _GETDEPLOYMENTREACHABILITYREQUEST._serialized_start = 44868 + _GETDEPLOYMENTREACHABILITYREQUEST._serialized_end = 44981 + _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_start = 44984 + _GETDEPLOYMENTREACHABILITYRESPONSE._serialized_end = 45211 + _CREATEWORKFLOWRULEREQUEST._serialized_start = 45214 + _CREATEWORKFLOWRULEREQUEST._serialized_end = 45394 + _CREATEWORKFLOWRULERESPONSE._serialized_start = 45396 + _CREATEWORKFLOWRULERESPONSE._serialized_end = 45491 + _DESCRIBEWORKFLOWRULEREQUEST._serialized_start = 45493 + _DESCRIBEWORKFLOWRULEREQUEST._serialized_end = 45558 + _DESCRIBEWORKFLOWRULERESPONSE._serialized_start = 45560 + _DESCRIBEWORKFLOWRULERESPONSE._serialized_end = 45641 + _DELETEWORKFLOWRULEREQUEST._serialized_start = 45643 + _DELETEWORKFLOWRULEREQUEST._serialized_end = 45706 + _DELETEWORKFLOWRULERESPONSE._serialized_start = 45708 + _DELETEWORKFLOWRULERESPONSE._serialized_end = 45736 + _LISTWORKFLOWRULESREQUEST._serialized_start = 45738 + _LISTWORKFLOWRULESREQUEST._serialized_end = 45808 + _LISTWORKFLOWRULESRESPONSE._serialized_start = 45810 + _LISTWORKFLOWRULESRESPONSE._serialized_end = 45914 + _TRIGGERWORKFLOWRULEREQUEST._serialized_start = 45917 + _TRIGGERWORKFLOWRULEREQUEST._serialized_end = 46123 + _TRIGGERWORKFLOWRULERESPONSE._serialized_start = 46125 + _TRIGGERWORKFLOWRULERESPONSE._serialized_end = 46171 + _RECORDWORKERHEARTBEATREQUEST._serialized_start = 46174 + _RECORDWORKERHEARTBEATREQUEST._serialized_end = 46329 + _RECORDWORKERHEARTBEATRESPONSE._serialized_start = 46331 + _RECORDWORKERHEARTBEATRESPONSE._serialized_end = 46362 + _LISTWORKERSREQUEST._serialized_start = 46365 + _LISTWORKERSREQUEST._serialized_end = 46495 + _LISTWORKERSRESPONSE._serialized_start = 46498 + _LISTWORKERSRESPONSE._serialized_end = 46663 + _UPDATETASKQUEUECONFIGREQUEST._serialized_start = 46666 + _UPDATETASKQUEUECONFIGREQUEST._serialized_end = 47391 + _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_start = 47233 + _UPDATETASKQUEUECONFIGREQUEST_RATELIMITUPDATE._serialized_end = 47324 + _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._serialized_start = ( + 47326 + ) + _UPDATETASKQUEUECONFIGREQUEST_SETFAIRNESSWEIGHTOVERRIDESENTRY._serialized_end = ( + 47391 + ) + _UPDATETASKQUEUECONFIGRESPONSE._serialized_start = 47393 + _UPDATETASKQUEUECONFIGRESPONSE._serialized_end = 47484 + _FETCHWORKERCONFIGREQUEST._serialized_start = 47487 + _FETCHWORKERCONFIGREQUEST._serialized_end = 47645 + _FETCHWORKERCONFIGRESPONSE._serialized_start = 47647 + _FETCHWORKERCONFIGRESPONSE._serialized_end = 47732 + _UPDATEWORKERCONFIGREQUEST._serialized_start = 47735 + _UPDATEWORKERCONFIGREQUEST._serialized_end = 48001 + _UPDATEWORKERCONFIGRESPONSE._serialized_start = 48003 + _UPDATEWORKERCONFIGRESPONSE._serialized_end = 48103 + _DESCRIBEWORKERREQUEST._serialized_start = 48105 + _DESCRIBEWORKERREQUEST._serialized_end = 48176 + _DESCRIBEWORKERRESPONSE._serialized_start = 48178 + _DESCRIBEWORKERRESPONSE._serialized_end = 48259 + _COUNTWORKERSREQUEST._serialized_start = 48261 + _COUNTWORKERSREQUEST._serialized_end = 48348 + _COUNTWORKERSRESPONSE._serialized_start = 48350 + _COUNTWORKERSRESPONSE._serialized_end = 48387 + _PAUSEWORKFLOWEXECUTIONREQUEST._serialized_start = 48390 + _PAUSEWORKFLOWEXECUTIONREQUEST._serialized_end = 48531 + _PAUSEWORKFLOWEXECUTIONRESPONSE._serialized_start = 48533 + _PAUSEWORKFLOWEXECUTIONRESPONSE._serialized_end = 48565 + _UNPAUSEWORKFLOWEXECUTIONREQUEST._serialized_start = 48568 + _UNPAUSEWORKFLOWEXECUTIONREQUEST._serialized_end = 48711 + _UNPAUSEWORKFLOWEXECUTIONRESPONSE._serialized_start = 48713 + _UNPAUSEWORKFLOWEXECUTIONRESPONSE._serialized_end = 48747 + _STARTACTIVITYEXECUTIONREQUEST._serialized_start = 48750 + _STARTACTIVITYEXECUTIONREQUEST._serialized_end = 49927 + _STARTACTIVITYEXECUTIONRESPONSE._serialized_start = 49929 + _STARTACTIVITYEXECUTIONRESPONSE._serialized_end = 50038 + _DESCRIBEACTIVITYEXECUTIONREQUEST._serialized_start = 50041 + _DESCRIBEACTIVITYEXECUTIONREQUEST._serialized_end = 50269 + _DESCRIBEACTIVITYEXECUTIONRESPONSE._serialized_start = 50272 + _DESCRIBEACTIVITYEXECUTIONRESPONSE._serialized_end = 50588 + _POLLACTIVITYEXECUTIONREQUEST._serialized_start = 50590 + _POLLACTIVITYEXECUTIONREQUEST._serialized_end = 50676 + _POLLACTIVITYEXECUTIONRESPONSE._serialized_start = 50678 + _POLLACTIVITYEXECUTIONRESPONSE._serialized_end = 50794 + _LISTACTIVITYEXECUTIONSREQUEST._serialized_start = 50796 + _LISTACTIVITYEXECUTIONSREQUEST._serialized_end = 50905 + _LISTACTIVITYEXECUTIONSRESPONSE._serialized_start = 50908 + _LISTACTIVITYEXECUTIONSRESPONSE._serialized_end = 51038 + _STARTNEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 51041 + _STARTNEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 51890 + _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._serialized_start = 51840 + _STARTNEXUSOPERATIONEXECUTIONREQUEST_NEXUSHEADERENTRY._serialized_end = 51890 + _STARTNEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 51892 + _STARTNEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 51963 + _DESCRIBENEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 51966 + _DESCRIBENEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 52136 + _DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 52139 + _DESCRIBENEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 52450 + _POLLNEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 52453 + _POLLNEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 52614 + _POLLNEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 52617 + _POLLNEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 52878 + _LISTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_start = 52880 + _LISTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_end = 52995 + _LISTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_start = 52998 + _LISTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_end = 53137 + _COUNTACTIVITYEXECUTIONSREQUEST._serialized_start = 53139 + _COUNTACTIVITYEXECUTIONSREQUEST._serialized_end = 53205 + _COUNTACTIVITYEXECUTIONSRESPONSE._serialized_start = 53208 + _COUNTACTIVITYEXECUTIONSRESPONSE._serialized_end = 53445 + _COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 19747 + _COUNTACTIVITYEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 19835 + _COUNTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_start = 53447 + _COUNTNEXUSOPERATIONEXECUTIONSREQUEST._serialized_end = 53519 + _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_start = 53522 + _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE._serialized_end = 53771 + _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_start = 19747 + _COUNTNEXUSOPERATIONEXECUTIONSRESPONSE_AGGREGATIONGROUP._serialized_end = 19835 + _REQUESTCANCELACTIVITYEXECUTIONREQUEST._serialized_start = 53774 + _REQUESTCANCELACTIVITYEXECUTIONREQUEST._serialized_end = 53923 + _REQUESTCANCELACTIVITYEXECUTIONRESPONSE._serialized_start = 53925 + _REQUESTCANCELACTIVITYEXECUTIONRESPONSE._serialized_end = 53965 + _TERMINATEACTIVITYEXECUTIONREQUEST._serialized_start = 53968 + _TERMINATEACTIVITYEXECUTIONREQUEST._serialized_end = 54113 + _TERMINATEACTIVITYEXECUTIONRESPONSE._serialized_start = 54115 + _TERMINATEACTIVITYEXECUTIONRESPONSE._serialized_end = 54151 + _DELETEACTIVITYEXECUTIONREQUEST._serialized_start = 54153 + _DELETEACTIVITYEXECUTIONREQUEST._serialized_end = 54241 + _DELETEACTIVITYEXECUTIONRESPONSE._serialized_start = 54243 + _DELETEACTIVITYEXECUTIONRESPONSE._serialized_end = 54276 + _REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 54279 + _REQUESTCANCELNEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 54435 + _REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 54437 + _REQUESTCANCELNEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 54483 + _TERMINATENEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 54486 + _TERMINATENEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 54638 + _TERMINATENEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 54640 + _TERMINATENEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 54682 + _DELETENEXUSOPERATIONEXECUTIONREQUEST._serialized_start = 54684 + _DELETENEXUSOPERATIONEXECUTIONREQUEST._serialized_end = 54779 + _DELETENEXUSOPERATIONEXECUTIONRESPONSE._serialized_start = 54781 + _DELETENEXUSOPERATIONEXECUTIONRESPONSE._serialized_end = 54820 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/request_response_pb2.pyi b/temporalio/api/workflowservice/v1/request_response_pb2.pyi index b734e01db..8f1069d3d 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2.pyi +++ b/temporalio/api/workflowservice/v1/request_response_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -52,18 +51,16 @@ import temporalio.api.version.v1.message_pb2 import temporalio.api.worker.v1.message_pb2 import temporalio.api.workflow.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class RegisterNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class DataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -78,7 +75,8 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -97,19 +95,6 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): namespace: builtins.str description: builtins.str owner_email: builtins.str - active_cluster_name: builtins.str - security_token: builtins.str - is_global_namespace: builtins.bool - history_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) - """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" - history_archival_uri: builtins.str - visibility_archival_state: ( - temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType - ) - """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" - visibility_archival_uri: builtins.str @property def workflow_execution_retention_period( self, @@ -120,12 +105,24 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.replication.v1.message_pb2.ClusterReplicationConfig ]: ... + active_cluster_name: builtins.str @property def data( self, ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """A key-value map for any customized purpose.""" - + security_token: builtins.str + is_global_namespace: builtins.bool + history_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) + """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" + history_archival_uri: builtins.str + visibility_archival_state: ( + temporalio.api.enums.v1.namespace_pb2.ArchivalState.ValueType + ) + """If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.""" + visibility_archival_uri: builtins.str def __init__( self, *, @@ -149,14 +146,14 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "workflow_execution_retention_period", b"workflow_execution_retention_period", ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "active_cluster_name", b"active_cluster_name", "clusters", @@ -186,11 +183,8 @@ class RegisterNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RegisterNamespaceRequest: typing_extensions.TypeAlias = ( - RegisterNamespaceRequest -) +global___RegisterNamespaceRequest = RegisterNamespaceRequest -@typing.final class RegisterNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -198,11 +192,8 @@ class RegisterNamespaceResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RegisterNamespaceResponse: typing_extensions.TypeAlias = ( - RegisterNamespaceResponse -) +global___RegisterNamespaceResponse = RegisterNamespaceResponse -@typing.final class ListNamespacesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -224,11 +215,12 @@ class ListNamespacesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["namespace_filter", b"namespace_filter"] + self, + field_name: typing_extensions.Literal["namespace_filter", b"namespace_filter"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace_filter", b"namespace_filter", "next_page_token", @@ -238,38 +230,36 @@ class ListNamespacesRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListNamespacesRequest: typing_extensions.TypeAlias = ListNamespacesRequest +global___ListNamespacesRequest = ListNamespacesRequest -@typing.final class ListNamespacesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor NAMESPACES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def namespaces( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___DescribeNamespaceResponse + global___DescribeNamespaceResponse ]: ... + next_page_token: builtins.bytes def __init__( self, *, - namespaces: collections.abc.Iterable[Global___DescribeNamespaceResponse] + namespaces: collections.abc.Iterable[global___DescribeNamespaceResponse] | None = ..., next_page_token: builtins.bytes = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespaces", b"namespaces", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListNamespacesResponse: typing_extensions.TypeAlias = ListNamespacesResponse +global___ListNamespacesResponse = ListNamespacesResponse -@typing.final class DescribeNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -293,7 +283,7 @@ class DescribeNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "id", b"id", "namespace", @@ -303,11 +293,8 @@ class DescribeNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeNamespaceRequest: typing_extensions.TypeAlias = ( - DescribeNamespaceRequest -) +global___DescribeNamespaceRequest = DescribeNamespaceRequest -@typing.final class DescribeNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -318,8 +305,6 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int FAILOVER_HISTORY_FIELD_NUMBER: builtins.int POLLER_GROUP_INFOS_FIELD_NUMBER: builtins.int - failover_version: builtins.int - is_global_namespace: builtins.bool @property def namespace_info( self, @@ -330,6 +315,8 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): def replication_config( self, ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + failover_version: builtins.int + is_global_namespace: builtins.bool @property def failover_history( self, @@ -339,7 +326,6 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): """Contains the historical state of failover_versions for the cluster, truncated to contain only the last N states to ensure that the list does not grow unbounded. """ - @property def poller_group_infos( self, @@ -350,7 +336,6 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): updated through poll response. Client is supposed to use the info received in the latest poll response. """ - def __init__( self, *, @@ -372,7 +357,7 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "namespace_info", @@ -383,7 +368,7 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "failover_history", @@ -401,11 +386,8 @@ class DescribeNamespaceResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeNamespaceResponse: typing_extensions.TypeAlias = ( - DescribeNamespaceResponse -) +global___DescribeNamespaceResponse = DescribeNamespaceResponse -@typing.final class UpdateNamespaceRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -417,10 +399,6 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): DELETE_BAD_BINARY_FIELD_NUMBER: builtins.int PROMOTE_NAMESPACE_FIELD_NUMBER: builtins.int namespace: builtins.str - security_token: builtins.str - delete_bad_binary: builtins.str - promote_namespace: builtins.bool - """promote local namespace to global namespace. Ignored if namespace is already global namespace.""" @property def update_info( self, @@ -431,6 +409,10 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): def replication_config( self, ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + security_token: builtins.str + delete_bad_binary: builtins.str + promote_namespace: builtins.bool + """promote local namespace to global namespace. Ignored if namespace is already global namespace.""" def __init__( self, *, @@ -446,7 +428,7 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "replication_config", @@ -457,7 +439,7 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "delete_bad_binary", @@ -475,9 +457,8 @@ class UpdateNamespaceRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateNamespaceRequest: typing_extensions.TypeAlias = UpdateNamespaceRequest +global___UpdateNamespaceRequest = UpdateNamespaceRequest -@typing.final class UpdateNamespaceResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -486,8 +467,6 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): REPLICATION_CONFIG_FIELD_NUMBER: builtins.int FAILOVER_VERSION_FIELD_NUMBER: builtins.int IS_GLOBAL_NAMESPACE_FIELD_NUMBER: builtins.int - failover_version: builtins.int - is_global_namespace: builtins.bool @property def namespace_info( self, @@ -498,6 +477,8 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): def replication_config( self, ) -> temporalio.api.replication.v1.message_pb2.NamespaceReplicationConfig: ... + failover_version: builtins.int + is_global_namespace: builtins.bool def __init__( self, *, @@ -511,7 +492,7 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "namespace_info", @@ -522,7 +503,7 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "failover_version", @@ -536,9 +517,8 @@ class UpdateNamespaceResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateNamespaceResponse: typing_extensions.TypeAlias = UpdateNamespaceResponse +global___UpdateNamespaceResponse = UpdateNamespaceResponse -@typing.final class DeprecateNamespaceRequest(google.protobuf.message.Message): """Deprecated.""" @@ -556,16 +536,13 @@ class DeprecateNamespaceRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "security_token", b"security_token" ], ) -> None: ... -Global___DeprecateNamespaceRequest: typing_extensions.TypeAlias = ( - DeprecateNamespaceRequest -) +global___DeprecateNamespaceRequest = DeprecateNamespaceRequest -@typing.final class DeprecateNamespaceResponse(google.protobuf.message.Message): """Deprecated.""" @@ -575,11 +552,8 @@ class DeprecateNamespaceResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeprecateNamespaceResponse: typing_extensions.TypeAlias = ( - DeprecateNamespaceResponse -) +global___DeprecateNamespaceResponse = DeprecateNamespaceResponse -@typing.final class StartWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -614,6 +588,22 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int namespace: builtins.str workflow_id: builtins.str + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" + @property + def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Total workflow execution timeout including retries and continue as new.""" + @property + def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow run.""" + @property + def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow task.""" identity: builtins.str """The identity of the client who initiated this request""" request_id: builtins.str @@ -634,38 +624,11 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): See `workflow_id_reuse_policy` for handling a workflow id duplication with a *closed* workflow. """ - cron_schedule: builtins.str - """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" - request_eager_execution: builtins.bool - """Request to get the first workflow task inline in the response bypassing matching service and worker polling. - If set to `true` the caller is expected to have a worker available and capable of processing the task. - The returned task will be marked as started and is expected to be completed by the specified - `workflow_task_timeout`. - """ - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" - - @property - def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Total workflow execution timeout including retries and continue as new.""" - - @property - def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow run.""" - - @property - def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow task.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.""" - + cron_schedule: builtins.str + """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -674,6 +637,12 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: ... + request_eager_execution: builtins.bool + """Request to get the first workflow task inline in the response bypassing matching service and worker polling. + If set to `true` the caller is expected to have a worker available and capable of processing the task. + The returned task will be marked as started and is expected to be completed by the specified + `workflow_task_timeout`. + """ @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """These values will be available as ContinuedFailure and LastCompletionResult in the @@ -681,7 +650,6 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): server itself (for the schedules feature) and are not intended to be exposed in StartWorkflowExecution. """ - @property def last_completion_result( self, @@ -692,7 +660,6 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest of the delay will be ignored. """ - @property def completion_callbacks( self, @@ -703,14 +670,12 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): If the workflow continues-as-new, these callbacks will be carried over to the new execution. Callback addresses must be whitelisted in the server's dynamic configuration. """ - @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo for use by user interfaces to display the fixed as-of-start summary and details of the workflow. """ - @property def links( self, @@ -718,7 +683,6 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the workflow.""" - @property def versioning_override( self, @@ -726,7 +690,6 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ - @property def on_conflict_options( self, @@ -736,23 +699,19 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): empty object (ie., all options with default value), it won't do anything to the existing running workflow. If set, it will add a history event to the running workflow. """ - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - @property def eager_worker_deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`.""" - @property def time_skipping_config( self, ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """Time-skipping configuration. If not set, time skipping is disabled.""" - def __init__( self, *, @@ -799,7 +758,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "continued_failure", b"continued_failure", "eager_worker_deployment_options", @@ -842,7 +801,7 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "completion_callbacks", b"completion_callbacks", "continued_failure", @@ -904,11 +863,8 @@ class StartWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___StartWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - StartWorkflowExecutionRequest -) +global___StartWorkflowExecutionRequest = StartWorkflowExecutionRequest -@typing.final class StartWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -926,34 +882,32 @@ class StartWorkflowExecutionResponse(google.protobuf.message.Message): unless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs). """ @property - def eager_workflow_task(self) -> Global___PollWorkflowTaskQueueResponse: + def eager_workflow_task(self) -> global___PollWorkflowTaskQueueResponse: """When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task. """ - @property def link(self) -> temporalio.api.common.v1.message_pb2.Link: """Link to the workflow event.""" - def __init__( self, *, run_id: builtins.str = ..., started: builtins.bool = ..., status: temporalio.api.enums.v1.workflow_pb2.WorkflowExecutionStatus.ValueType = ..., - eager_workflow_task: Global___PollWorkflowTaskQueueResponse | None = ..., + eager_workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "eager_workflow_task", b"eager_workflow_task", "link", b"link" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "eager_workflow_task", b"eager_workflow_task", "link", @@ -967,11 +921,8 @@ class StartWorkflowExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___StartWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - StartWorkflowExecutionResponse -) +global___StartWorkflowExecutionResponse = StartWorkflowExecutionResponse -@typing.final class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -983,6 +934,8 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): HISTORY_EVENT_FILTER_TYPE_FIELD_NUMBER: builtins.int SKIP_ARCHIVAL_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... maximum_page_size: builtins.int next_page_token: builtins.bytes """If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of @@ -999,8 +952,6 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT. """ skip_archival: builtins.bool - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... def __init__( self, *, @@ -1013,11 +964,11 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): skip_archival: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["execution", b"execution"] + self, field_name: typing_extensions.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "history_event_filter_type", @@ -1035,11 +986,8 @@ class GetWorkflowExecutionHistoryRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetWorkflowExecutionHistoryRequest: typing_extensions.TypeAlias = ( - GetWorkflowExecutionHistoryRequest -) +global___GetWorkflowExecutionHistoryRequest = GetWorkflowExecutionHistoryRequest -@typing.final class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1047,9 +995,6 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): RAW_HISTORY_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int ARCHIVED_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes - """Will be set if there are more history events than were included in this response""" - archived: builtins.bool @property def history(self) -> temporalio.api.history.v1.message_pb2.History: ... @property @@ -1061,7 +1006,9 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): """Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set. """ - + next_page_token: builtins.bytes + """Will be set if there are more history events than were included in this response""" + archived: builtins.bool def __init__( self, *, @@ -1074,11 +1021,11 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): archived: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["history", b"history"] + self, field_name: typing_extensions.Literal["history", b"history"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "archived", b"archived", "history", @@ -1090,11 +1037,8 @@ class GetWorkflowExecutionHistoryResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___GetWorkflowExecutionHistoryResponse: typing_extensions.TypeAlias = ( - GetWorkflowExecutionHistoryResponse -) +global___GetWorkflowExecutionHistoryResponse = GetWorkflowExecutionHistoryResponse -@typing.final class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1103,10 +1047,10 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) MAXIMUM_PAGE_SIZE_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int namespace: builtins.str - maximum_page_size: builtins.int - next_page_token: builtins.bytes @property def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + maximum_page_size: builtins.int + next_page_token: builtins.bytes def __init__( self, *, @@ -1116,11 +1060,11 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) next_page_token: builtins.bytes = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["execution", b"execution"] + self, field_name: typing_extensions.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "maximum_page_size", @@ -1132,20 +1076,19 @@ class GetWorkflowExecutionHistoryReverseRequest(google.protobuf.message.Message) ], ) -> None: ... -Global___GetWorkflowExecutionHistoryReverseRequest: typing_extensions.TypeAlias = ( +global___GetWorkflowExecutionHistoryReverseRequest = ( GetWorkflowExecutionHistoryReverseRequest ) -@typing.final class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor HISTORY_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes - """Will be set if there are more history events than were included in this response""" @property def history(self) -> temporalio.api.history.v1.message_pb2.History: ... + next_page_token: builtins.bytes + """Will be set if there are more history events than were included in this response""" def __init__( self, *, @@ -1153,20 +1096,19 @@ class GetWorkflowExecutionHistoryReverseResponse(google.protobuf.message.Message next_page_token: builtins.bytes = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["history", b"history"] + self, field_name: typing_extensions.Literal["history", b"history"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "history", b"history", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___GetWorkflowExecutionHistoryReverseResponse: typing_extensions.TypeAlias = ( +global___GetWorkflowExecutionHistoryReverseResponse = ( GetWorkflowExecutionHistoryReverseResponse ) -@typing.final class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1180,6 +1122,8 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): WORKER_VERSION_CAPABILITIES_FIELD_NUMBER: builtins.int DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... poller_group_id: builtins.str """Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollWorkflowTaskQueueResponse according to the @@ -1202,8 +1146,6 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): "checksum" in this field name isn't very accurate, it should be though of as an id. """ @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... - @property def worker_version_capabilities( self, ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: @@ -1211,13 +1153,11 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - def __init__( self, *, @@ -1235,7 +1175,7 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "task_queue", @@ -1246,7 +1186,7 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "binary_checksum", b"binary_checksum", "deployment_options", @@ -1268,15 +1208,11 @@ class PollWorkflowTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PollWorkflowTaskQueueRequest: typing_extensions.TypeAlias = ( - PollWorkflowTaskQueueRequest -) +global___PollWorkflowTaskQueueRequest = PollWorkflowTaskQueueRequest -@typing.final class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class QueriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1292,10 +1228,11 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): value: temporalio.api.query.v1.message_pb2.WorkflowQuery | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... TASK_TOKEN_FIELD_NUMBER: builtins.int @@ -1318,6 +1255,12 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): POLLER_GROUP_INFOS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """A unique identifier for this task""" + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... previous_started_event_id: builtins.int """The last workflow task started event which was processed by some worker for this execution. Will be zero if no task has ever started. @@ -1342,27 +1285,16 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): overall backlog. Subsequent RPCs may not hit the same partition as this call. """ - next_page_token: builtins.bytes - """Will be set if there are more history events than were included in this response. Such events - should be fetched via `GetWorkflowExecutionHistory`. - """ - poller_group_id: builtins.str - """This poller group ID identifies the owner of the workflow task awaiting for query response. - Corresponding RespondQueryTaskCompleted should pass this value for proper routing. - """ - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... @property def history(self) -> temporalio.api.history.v1.message_pb2.History: """The history for this workflow, which will either be complete or partial. Partial histories are sent to workers who have signaled that they are using a sticky queue when completing a workflow task. """ - + next_page_token: builtins.bytes + """Will be set if there are more history events than were included in this response. Such events + should be fetched via `GetWorkflowExecutionHistory`. + """ @property def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: """Legacy queries appear in this field. The query must be responded to via @@ -1370,7 +1302,6 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): closed workflows) then the `history` field will be populated with the entire history. It may also be populated if this task originates on a non-sticky queue. """ - @property def workflow_execution_task_queue( self, @@ -1378,15 +1309,12 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): """The task queue this task originated from, which will always be the original non-sticky name for the queue, even if this response came from polling a sticky queue. """ - @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When this task was scheduled by the server""" - @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the current workflow task started event was generated, meaning the current attempt.""" - @property def queries( self, @@ -1396,7 +1324,6 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): """Queries that should be executed after applying the history in this task. Responses should be attached to `RespondWorkflowTaskCompletedRequest::query_results` """ - @property def messages( self, @@ -1404,13 +1331,15 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): temporalio.api.protocol.v1.message_pb2.Message ]: """Protocol messages piggybacking on a WFT as a transport""" - @property def poller_scaling_decision( self, ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" - + poller_group_id: builtins.str + """This poller group ID identifies the owner of the workflow task awaiting for query response. + Corresponding RespondQueryTaskCompleted should pass this value for proper routing. + """ @property def poller_group_infos( self, @@ -1424,7 +1353,6 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. """ - def __init__( self, *, @@ -1461,7 +1389,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "history", b"history", "poller_scaling_decision", @@ -1482,7 +1410,7 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "backlog_count_hint", @@ -1522,15 +1450,11 @@ class PollWorkflowTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___PollWorkflowTaskQueueResponse: typing_extensions.TypeAlias = ( - PollWorkflowTaskQueueResponse -) +global___PollWorkflowTaskQueueResponse = PollWorkflowTaskQueueResponse -@typing.final class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class QueryResultsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1546,13 +1470,13 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): value: temporalio.api.query.v1.message_pb2.WorkflowQueryResult | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class Capabilities(google.protobuf.message.Message): """SDK capability details.""" @@ -1574,7 +1498,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "discard_speculative_workflow_task_with_events", b"discard_speculative_workflow_task_with_events", ], @@ -1602,8 +1526,22 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): WORKER_CONTROL_TASK_QUEUE_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollWorkflowTaskQueueResponse`""" + @property + def commands( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + temporalio.api.command.v1.message_pb2.Command + ]: + """A list of commands generated when driving the workflow code in response to the new task""" identity: builtins.str """The identity of the worker/client""" + @property + def sticky_attributes( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: + """May be set by workers to indicate that the worker desires future tasks to be provided with + incremental history on a sticky queue. + """ return_new_workflow_task: builtins.bool """If set, the worker wishes to immediately receive the next workflow task as a response to this completion. This can save on polling round-trips. @@ -1618,39 +1556,6 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): """Deprecated. Use `deployment_options` instead. Worker process' unique binary id """ - namespace: builtins.str - resource_id: builtins.str - """Resource ID for routing. Contains the workflow ID from the original task.""" - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) - """Versioning behavior of this workflow execution as set on the worker that completed this task. - UNSPECIFIED means versioning is not enabled in the worker. - """ - worker_instance_key: builtins.str - """A unique key for this worker instance, used for tracking worker lifecycle. - This is guaranteed to be unique, whereas identity is not guaranteed to be unique. - """ - worker_control_task_queue: builtins.str - """A dedicated per-worker Nexus task queue on which the server sends control - tasks (e.g. activity cancellation) to this specific worker instance. - """ - @property - def commands( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - temporalio.api.command.v1.message_pb2.Command - ]: - """A list of commands generated when driving the workflow code in response to the new task""" - - @property - def sticky_attributes( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.StickyExecutionAttributes: - """May be set by workers to indicate that the worker desires future tasks to be provided with - incremental history on a sticky queue. - """ - @property def query_results( self, @@ -1658,7 +1563,9 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): builtins.str, temporalio.api.query.v1.message_pb2.WorkflowQueryResult ]: """Responses to the `queries` field in the task being responded to""" - + namespace: builtins.str + resource_id: builtins.str + """Resource ID for routing. Contains the workflow ID from the original task.""" @property def worker_version_stamp( self, @@ -1668,7 +1575,6 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead. """ - @property def messages( self, @@ -1676,7 +1582,6 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): temporalio.api.protocol.v1.message_pb2.Message ]: """Protocol messages piggybacking on a WFT as a transport""" - @property def sdk_metadata( self, @@ -1684,30 +1589,39 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): """Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state. """ - @property def metering_metadata( self, ) -> temporalio.api.common.v1.message_pb2.MeteringMetadata: """Local usage data collected for metering""" - @property - def capabilities(self) -> Global___RespondWorkflowTaskCompletedRequest.Capabilities: + def capabilities(self) -> global___RespondWorkflowTaskCompletedRequest.Capabilities: """All capabilities the SDK supports.""" - @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) + """Versioning behavior of this workflow execution as set on the worker that completed this task. + UNSPECIFIED means versioning is not enabled in the worker. + """ @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - + worker_instance_key: builtins.str + """A unique key for this worker instance, used for tracking worker lifecycle. + This is guaranteed to be unique, whereas identity is not guaranteed to be unique. + """ + worker_control_task_queue: builtins.str + """A dedicated per-worker Nexus task queue on which the server sends control + tasks (e.g. activity cancellation) to this specific worker instance. + """ def __init__( self, *, @@ -1738,7 +1652,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): | None = ..., metering_metadata: temporalio.api.common.v1.message_pb2.MeteringMetadata | None = ..., - capabilities: Global___RespondWorkflowTaskCompletedRequest.Capabilities + capabilities: global___RespondWorkflowTaskCompletedRequest.Capabilities | None = ..., deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., versioning_behavior: temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType = ..., @@ -1749,7 +1663,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "capabilities", b"capabilities", "deployment", @@ -1768,7 +1682,7 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "binary_checksum", b"binary_checksum", "capabilities", @@ -1812,48 +1726,43 @@ class RespondWorkflowTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondWorkflowTaskCompletedRequest: typing_extensions.TypeAlias = ( - RespondWorkflowTaskCompletedRequest -) +global___RespondWorkflowTaskCompletedRequest = RespondWorkflowTaskCompletedRequest -@typing.final class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKFLOW_TASK_FIELD_NUMBER: builtins.int ACTIVITY_TASKS_FIELD_NUMBER: builtins.int RESET_HISTORY_EVENT_ID_FIELD_NUMBER: builtins.int - reset_history_event_id: builtins.int - """If non zero, indicates the server has discarded the workflow task that was being responded to. - Will be the event ID of the last workflow task started event in the history before the new workflow task. - Server is only expected to discard a workflow task if it could not have modified the workflow state. - """ @property - def workflow_task(self) -> Global___PollWorkflowTaskQueueResponse: + def workflow_task(self) -> global___PollWorkflowTaskQueueResponse: """See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`""" - @property def activity_tasks( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___PollActivityTaskQueueResponse + global___PollActivityTaskQueueResponse ]: """See `ScheduleActivityTaskCommandAttributes::request_eager_execution`""" - + reset_history_event_id: builtins.int + """If non zero, indicates the server has discarded the workflow task that was being responded to. + Will be the event ID of the last workflow task started event in the history before the new workflow task. + Server is only expected to discard a workflow task if it could not have modified the workflow state. + """ def __init__( self, *, - workflow_task: Global___PollWorkflowTaskQueueResponse | None = ..., - activity_tasks: collections.abc.Iterable[Global___PollActivityTaskQueueResponse] + workflow_task: global___PollWorkflowTaskQueueResponse | None = ..., + activity_tasks: collections.abc.Iterable[global___PollActivityTaskQueueResponse] | None = ..., reset_history_event_id: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_task", b"workflow_task"] + self, field_name: typing_extensions.Literal["workflow_task", b"workflow_task"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_tasks", b"activity_tasks", "reset_history_event_id", @@ -1863,11 +1772,8 @@ class RespondWorkflowTaskCompletedResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondWorkflowTaskCompletedResponse: typing_extensions.TypeAlias = ( - RespondWorkflowTaskCompletedResponse -) +global___RespondWorkflowTaskCompletedResponse = RespondWorkflowTaskCompletedResponse -@typing.final class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1888,6 +1794,9 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): """Why did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses. See the type's doc for more. """ + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Failure details""" identity: builtins.str """The identity of the worker/client""" binary_checksum: builtins.str @@ -1897,10 +1806,6 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID from the original task.""" - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Failure details""" - @property def messages( self, @@ -1908,7 +1813,6 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): temporalio.api.protocol.v1.message_pb2.Message ]: """Protocol messages piggybacking on a WFT as a transport""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -1916,20 +1820,17 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ - @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - def __init__( self, *, @@ -1952,7 +1853,7 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_options", @@ -1965,7 +1866,7 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "binary_checksum", b"binary_checksum", "cause", @@ -1991,11 +1892,8 @@ class RespondWorkflowTaskFailedRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondWorkflowTaskFailedRequest: typing_extensions.TypeAlias = ( - RespondWorkflowTaskFailedRequest -) +global___RespondWorkflowTaskFailedRequest = RespondWorkflowTaskFailedRequest -@typing.final class RespondWorkflowTaskFailedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2003,11 +1901,8 @@ class RespondWorkflowTaskFailedResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondWorkflowTaskFailedResponse: typing_extensions.TypeAlias = ( - RespondWorkflowTaskFailedResponse -) +global___RespondWorkflowTaskFailedResponse = RespondWorkflowTaskFailedResponse -@typing.final class PollActivityTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2021,6 +1916,8 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): WORKER_VERSION_CAPABILITIES_FIELD_NUMBER: builtins.int DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... poller_group_id: builtins.str """Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollActivityTaskQueueResponse according to the @@ -2038,8 +1935,6 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): tasks (e.g. activity cancellation) to this specific worker instance. """ @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... - @property def task_queue_metadata( self, ) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueMetadata: ... @@ -2051,13 +1946,11 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - def __init__( self, *, @@ -2076,7 +1969,7 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "task_queue", @@ -2089,7 +1982,7 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "identity", @@ -2111,11 +2004,8 @@ class PollActivityTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PollActivityTaskQueueRequest: typing_extensions.TypeAlias = ( - PollActivityTaskQueueRequest -) +global___PollActivityTaskQueueRequest = PollActivityTaskQueueRequest -@typing.final class PollActivityTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2147,56 +2037,46 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities. """ - activity_id: builtins.str - """The autogenerated or user specified identifier of this activity. Can be used to complete the - activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage - has resolved, but unique IDs for every activity invocation is a good idea. - Note that only a workflow activity ID may be autogenerated. - """ - attempt: builtins.int - """Starting at 1, the number of attempts to perform this activity""" - activity_run_id: builtins.str - """The run ID of the activity execution, only set for standalone activities.""" @property def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: """Type of the requesting workflow (if this is a workflow activity).""" - @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Execution info of the requesting workflow (if this is a workflow activity)""" - @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: ... + activity_id: builtins.str + """The autogenerated or user specified identifier of this activity. Can be used to complete the + activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage + has resolved, but unique IDs for every activity invocation is a good idea. + Note that only a workflow activity ID may be autogenerated. + """ @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts. """ - @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Arguments to the activity invocation""" - @property def heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Details of the last heartbeat that was recorded for this activity as of the time this task was delivered. """ - @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When was this task first scheduled""" - @property def current_attempt_scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When was this task attempt scheduled""" - @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When was this task started (this attempt)""" - + attempt: builtins.int + """Starting at 1, the number of attempts to perform this activity""" @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """First scheduled -> final result reported timeout @@ -2204,7 +2084,6 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Current attempt start -> final result reported timeout @@ -2212,28 +2091,25 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Window within which the activity must report a heartbeat, or be timed out.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits. """ - @property def poller_scaling_decision( self, ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - + activity_run_id: builtins.str + """The run ID of the activity execution, only set for standalone activities.""" @property def poller_group_infos( self, @@ -2247,7 +2123,6 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. """ - def __init__( self, *, @@ -2281,7 +2156,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_type", b"activity_type", "current_attempt_scheduled_time", @@ -2316,7 +2191,7 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_run_id", @@ -2362,11 +2237,8 @@ class PollActivityTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___PollActivityTaskQueueResponse: typing_extensions.TypeAlias = ( - PollActivityTaskQueueResponse -) +global___PollActivityTaskQueueResponse = PollActivityTaskQueueResponse -@typing.final class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2377,15 +2249,14 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): RESOURCE_ID_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Arbitrary data, of which the most recent call is kept, to store for this activity""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Arbitrary data, of which the most recent call is kept, to store for this activity""" - def __init__( self, *, @@ -2396,11 +2267,11 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "identity", @@ -2414,11 +2285,8 @@ class RecordActivityTaskHeartbeatRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RecordActivityTaskHeartbeatRequest: typing_extensions.TypeAlias = ( - RecordActivityTaskHeartbeatRequest -) +global___RecordActivityTaskHeartbeatRequest = RecordActivityTaskHeartbeatRequest -@typing.final class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2444,7 +2312,7 @@ class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_paused", b"activity_paused", "activity_reset", @@ -2454,11 +2322,8 @@ class RecordActivityTaskHeartbeatResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___RecordActivityTaskHeartbeatResponse: typing_extensions.TypeAlias = ( - RecordActivityTaskHeartbeatResponse -) +global___RecordActivityTaskHeartbeatResponse = RecordActivityTaskHeartbeatResponse -@typing.final class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2479,14 +2344,13 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity we're heartbeating""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Arbitrary data, of which the most recent call is kept, to store for this activity""" identity: builtins.str """The identity of the worker/client""" resource_id: builtins.str """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Arbitrary data, of which the most recent call is kept, to store for this activity""" - def __init__( self, *, @@ -2499,11 +2363,11 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "details", @@ -2521,11 +2385,8 @@ class RecordActivityTaskHeartbeatByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RecordActivityTaskHeartbeatByIdRequest: typing_extensions.TypeAlias = ( - RecordActivityTaskHeartbeatByIdRequest -) +global___RecordActivityTaskHeartbeatByIdRequest = RecordActivityTaskHeartbeatByIdRequest -@typing.final class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2551,7 +2412,7 @@ class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_paused", b"activity_paused", "activity_reset", @@ -2561,11 +2422,10 @@ class RecordActivityTaskHeartbeatByIdResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___RecordActivityTaskHeartbeatByIdResponse: typing_extensions.TypeAlias = ( +global___RecordActivityTaskHeartbeatByIdResponse = ( RecordActivityTaskHeartbeatByIdResponse ) -@typing.final class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2579,15 +2439,14 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """The result of successfully executing the activity""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """The result of successfully executing the activity""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -2595,20 +2454,17 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ - @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - def __init__( self, *, @@ -2625,7 +2481,7 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_options", @@ -2638,7 +2494,7 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_options", @@ -2658,11 +2514,8 @@ class RespondActivityTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondActivityTaskCompletedRequest: typing_extensions.TypeAlias = ( - RespondActivityTaskCompletedRequest -) +global___RespondActivityTaskCompletedRequest = RespondActivityTaskCompletedRequest -@typing.final class RespondActivityTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2670,11 +2523,8 @@ class RespondActivityTaskCompletedResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondActivityTaskCompletedResponse: typing_extensions.TypeAlias = ( - RespondActivityTaskCompletedResponse -) +global___RespondActivityTaskCompletedResponse = RespondActivityTaskCompletedResponse -@typing.final class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2695,14 +2545,13 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity to complete""" + @property + def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """The serialized result of activity execution""" identity: builtins.str """The identity of the worker/client""" resource_id: builtins.str """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" - @property - def result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """The serialized result of activity execution""" - def __init__( self, *, @@ -2715,11 +2564,11 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "identity", @@ -2737,11 +2586,10 @@ class RespondActivityTaskCompletedByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondActivityTaskCompletedByIdRequest: typing_extensions.TypeAlias = ( +global___RespondActivityTaskCompletedByIdRequest = ( RespondActivityTaskCompletedByIdRequest ) -@typing.final class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2749,11 +2597,10 @@ class RespondActivityTaskCompletedByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondActivityTaskCompletedByIdResponse: typing_extensions.TypeAlias = ( +global___RespondActivityTaskCompletedByIdResponse = ( RespondActivityTaskCompletedByIdResponse ) -@typing.final class RespondActivityTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2768,19 +2615,17 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """Detailed failure information""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """Detailed failure information""" - @property def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Additional details to be stored as last activity heartbeat""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -2788,20 +2633,17 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ - @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - def __init__( self, *, @@ -2820,7 +2662,7 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_options", @@ -2835,7 +2677,7 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_options", @@ -2857,11 +2699,8 @@ class RespondActivityTaskFailedRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondActivityTaskFailedRequest: typing_extensions.TypeAlias = ( - RespondActivityTaskFailedRequest -) +global___RespondActivityTaskFailedRequest = RespondActivityTaskFailedRequest -@typing.final class RespondActivityTaskFailedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2875,7 +2714,6 @@ class RespondActivityTaskFailedResponse(google.protobuf.message.Message): """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ - def __init__( self, *, @@ -2885,14 +2723,11 @@ class RespondActivityTaskFailedResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["failures", b"failures"] + self, field_name: typing_extensions.Literal["failures", b"failures"] ) -> None: ... -Global___RespondActivityTaskFailedResponse: typing_extensions.TypeAlias = ( - RespondActivityTaskFailedResponse -) +global___RespondActivityTaskFailedResponse = RespondActivityTaskFailedResponse -@typing.final class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2914,18 +2749,16 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity to fail""" - identity: builtins.str - """The identity of the worker/client""" - resource_id: builtins.str - """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Detailed failure information""" - + identity: builtins.str + """The identity of the worker/client""" @property def last_heartbeat_details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Additional details to be stored as last activity heartbeat""" - + resource_id: builtins.str + """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" def __init__( self, *, @@ -2941,13 +2774,13 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "last_heartbeat_details", b"last_heartbeat_details" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "failure", @@ -2967,11 +2800,8 @@ class RespondActivityTaskFailedByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondActivityTaskFailedByIdRequest: typing_extensions.TypeAlias = ( - RespondActivityTaskFailedByIdRequest -) +global___RespondActivityTaskFailedByIdRequest = RespondActivityTaskFailedByIdRequest -@typing.final class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2985,7 +2815,6 @@ class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): """Server validation failures could include last_heartbeat_details payload is too large, request failure is too large """ - def __init__( self, *, @@ -2995,14 +2824,11 @@ class RespondActivityTaskFailedByIdResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["failures", b"failures"] + self, field_name: typing_extensions.Literal["failures", b"failures"] ) -> None: ... -Global___RespondActivityTaskFailedByIdResponse: typing_extensions.TypeAlias = ( - RespondActivityTaskFailedByIdResponse -) +global___RespondActivityTaskFailedByIdResponse = RespondActivityTaskFailedByIdResponse -@typing.final class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3016,15 +2842,14 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token as received in `PollActivityTaskQueueResponse`""" + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized additional information to attach to the cancellation""" identity: builtins.str """The identity of the worker/client""" namespace: builtins.str resource_id: builtins.str """Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.""" - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized additional information to attach to the cancellation""" - @property def worker_version(self) -> temporalio.api.common.v1.message_pb2.WorkerVersionStamp: """Version info of the worker who processed this task. This message's `build_id` field should @@ -3032,20 +2857,17 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): field to true. See message docstrings for more. Deprecated. Use `deployment_options` instead. """ - @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: """Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - def __init__( self, *, @@ -3062,7 +2884,7 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_options", @@ -3075,7 +2897,7 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "deployment_options", @@ -3095,11 +2917,8 @@ class RespondActivityTaskCanceledRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondActivityTaskCanceledRequest: typing_extensions.TypeAlias = ( - RespondActivityTaskCanceledRequest -) +global___RespondActivityTaskCanceledRequest = RespondActivityTaskCanceledRequest -@typing.final class RespondActivityTaskCanceledResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3107,11 +2926,8 @@ class RespondActivityTaskCanceledResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondActivityTaskCanceledResponse: typing_extensions.TypeAlias = ( - RespondActivityTaskCanceledResponse -) +global___RespondActivityTaskCanceledResponse = RespondActivityTaskCanceledResponse -@typing.final class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3133,20 +2949,18 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): """ activity_id: builtins.str """Id of the activity to confirm is cancelled""" - identity: builtins.str - """The identity of the worker/client""" - resource_id: builtins.str - """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" @property def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized additional information to attach to the cancellation""" - + identity: builtins.str + """The identity of the worker/client""" @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - + resource_id: builtins.str + """Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.""" def __init__( self, *, @@ -3162,13 +2976,13 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "details", b"details" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "deployment_options", @@ -3188,11 +3002,8 @@ class RespondActivityTaskCanceledByIdRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondActivityTaskCanceledByIdRequest: typing_extensions.TypeAlias = ( - RespondActivityTaskCanceledByIdRequest -) +global___RespondActivityTaskCanceledByIdRequest = RespondActivityTaskCanceledByIdRequest -@typing.final class RespondActivityTaskCanceledByIdResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3200,11 +3011,10 @@ class RespondActivityTaskCanceledByIdResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondActivityTaskCanceledByIdResponse: typing_extensions.TypeAlias = ( +global___RespondActivityTaskCanceledByIdResponse = ( RespondActivityTaskCanceledByIdResponse ) -@typing.final class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3216,6 +3026,10 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... identity: builtins.str """The identity of the worker/client""" request_id: builtins.str @@ -3228,17 +3042,12 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): reason: builtins.str """Reason for requesting the cancellation""" @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property def links( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionCanceled event.""" - def __init__( self, *, @@ -3253,11 +3062,14 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "first_execution_run_id", b"first_execution_run_id", "identity", @@ -3275,11 +3087,8 @@ class RequestCancelWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RequestCancelWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - RequestCancelWorkflowExecutionRequest -) +global___RequestCancelWorkflowExecutionRequest = RequestCancelWorkflowExecutionRequest -@typing.final class RequestCancelWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3287,11 +3096,8 @@ class RequestCancelWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RequestCancelWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - RequestCancelWorkflowExecutionResponse -) +global___RequestCancelWorkflowExecutionResponse = RequestCancelWorkflowExecutionResponse -@typing.final class SignalWorkflowExecutionRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - temporalio.api.batch.v1.BatchOperationSignal. @@ -3310,28 +3116,26 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): HEADER_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow""" + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized value(s) to provide with the signal""" identity: builtins.str """The identity of the worker/client""" request_id: builtins.str """Used to de-dupe sent signals""" control: builtins.str """Deprecated.""" - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized value(s) to provide with the signal""" - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Headers that are passed with the signal to the processing workflow. These can include things like auth or tracing tokens. """ - @property def links( self, @@ -3339,7 +3143,6 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionSignaled event.""" - def __init__( self, *, @@ -3357,7 +3160,7 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "input", @@ -3368,7 +3171,7 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "control", b"control", "header", @@ -3390,11 +3193,8 @@ class SignalWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SignalWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - SignalWorkflowExecutionRequest -) +global___SignalWorkflowExecutionRequest = SignalWorkflowExecutionRequest -@typing.final class SignalWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3405,22 +3205,20 @@ class SignalWorkflowExecutionResponse(google.protobuf.message.Message): Added on the response to propagate the backlink. Available from Temporal server 1.31 and up. """ - def __init__( self, *, link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["link", b"link"] + self, field_name: typing_extensions.Literal["link", b"link"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["link", b"link"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["link", b"link"] + ) -> None: ... -Global___SignalWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - SignalWorkflowExecutionResponse -) +global___SignalWorkflowExecutionResponse = SignalWorkflowExecutionResponse -@typing.final class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3452,6 +3250,23 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): TIME_SKIPPING_CONFIG_FIELD_NUMBER: builtins.int namespace: builtins.str workflow_id: builtins.str + @property + def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: + """The task queue to start this workflow on, if it will be started""" + @property + def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" + @property + def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Total workflow execution timeout including retries and continue as new""" + @property + def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow run""" + @property + def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: + """Timeout of a single workflow task""" identity: builtins.str """The identity of the worker/client""" request_id: builtins.str @@ -3475,40 +3290,16 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): """ signal_name: builtins.str """The workflow author-defined name of the signal to send to the workflow""" - control: builtins.str - """Deprecated.""" - cron_schedule: builtins.str - """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" - @property - def workflow_type(self) -> temporalio.api.common.v1.message_pb2.WorkflowType: ... - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: - """The task queue to start this workflow on, if it will be started""" - - @property - def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized arguments to the workflow. These are passed as arguments to the workflow function.""" - - @property - def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Total workflow execution timeout including retries and continue as new""" - - @property - def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow run""" - - @property - def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: - """Timeout of a single workflow task""" - @property def signal_input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized value(s) to provide with the signal""" - + control: builtins.str + """Deprecated.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Retry policy for the workflow""" - + cron_schedule: builtins.str + """See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/""" @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: ... @property @@ -3525,14 +3316,12 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): and the rest of the delay period will be ignored, even if that request also had a delay. Signal via SignalWorkflowExecution will not unblock the workflow. """ - @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionInfo for use by user interfaces to display the fixed as-of-start summary and details of the workflow. """ - @property def links( self, @@ -3540,7 +3329,6 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionStarted and WorkflowExecutionSignaled events.""" - @property def versioning_override( self, @@ -3548,17 +3336,14 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): """If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions. """ - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata""" - @property def time_skipping_config( self, ) -> temporalio.api.common.v1.message_pb2.TimeSkippingConfig: """Time-skipping configuration. If not set, time skipping is disabled.""" - def __init__( self, *, @@ -3596,7 +3381,7 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "header", b"header", "input", @@ -3633,7 +3418,7 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "control", b"control", "cron_schedule", @@ -3689,11 +3474,10 @@ class SignalWithStartWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SignalWithStartWorkflowExecutionRequest: typing_extensions.TypeAlias = ( +global___SignalWithStartWorkflowExecutionRequest = ( SignalWithStartWorkflowExecutionRequest ) -@typing.final class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3710,7 +3494,6 @@ class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): Added on the response to propagate the backlink. Available from Temporal server 1.31 and up. """ - def __init__( self, *, @@ -3719,20 +3502,19 @@ class SignalWithStartWorkflowExecutionResponse(google.protobuf.message.Message): signal_link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["signal_link", b"signal_link"] + self, field_name: typing_extensions.Literal["signal_link", b"signal_link"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "run_id", b"run_id", "signal_link", b"signal_link", "started", b"started" ], ) -> None: ... -Global___SignalWithStartWorkflowExecutionResponse: typing_extensions.TypeAlias = ( +global___SignalWithStartWorkflowExecutionResponse = ( SignalWithStartWorkflowExecutionResponse ) -@typing.final class ResetWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3746,6 +3528,14 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): POST_RESET_OPERATIONS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """The workflow to reset. If this contains a run ID then the workflow will be reset back to the + provided event ID in that run. Otherwise it will be reset to the provided event ID in the + current run. In all cases the current run will be terminated and a new run started. + """ reason: builtins.str workflow_task_finish_event_id: builtins.int """The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or @@ -3757,17 +3547,6 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): """Deprecated. Use `options`. Default: RESET_REAPPLY_TYPE_SIGNAL """ - identity: builtins.str - """The identity of the worker/client""" - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """The workflow to reset. If this contains a run ID then the workflow will be reset back to the - provided event ID in that run. Otherwise it will be reset to the provided event ID in the - current run. In all cases the current run will be terminated and a new run started. - """ - @property def reset_reapply_exclude_types( self, @@ -3775,7 +3554,6 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.enums.v1.reset_pb2.ResetReapplyExcludeType.ValueType ]: """Event types not to be reapplied""" - @property def post_reset_operations( self, @@ -3786,7 +3564,8 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated """ - + identity: builtins.str + """The identity of the worker/client""" def __init__( self, *, @@ -3808,11 +3587,14 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -3834,11 +3616,8 @@ class ResetWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ResetWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - ResetWorkflowExecutionRequest -) +global___ResetWorkflowExecutionRequest = ResetWorkflowExecutionRequest -@typing.final class ResetWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3849,13 +3628,12 @@ class ResetWorkflowExecutionResponse(google.protobuf.message.Message): *, run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["run_id", b"run_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["run_id", b"run_id"] + ) -> None: ... -Global___ResetWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - ResetWorkflowExecutionResponse -) +global___ResetWorkflowExecutionResponse = ResetWorkflowExecutionResponse -@typing.final class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3867,7 +3645,14 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: builtins.int LINKS_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def workflow_execution( + self, + ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... reason: builtins.str + @property + def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """Serialized additional information to attach to the termination event""" identity: builtins.str """The identity of the worker/client""" first_execution_run_id: builtins.str @@ -3875,14 +3660,6 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): `workflow_execution`), or specified (if it is) workflow execution is not part of the same execution chain as this id. """ - @property - def workflow_execution( - self, - ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def details(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """Serialized additional information to attach to the termination event""" - @property def links( self, @@ -3890,7 +3667,6 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Link ]: """Links to be associated with the WorkflowExecutionTerminated event.""" - def __init__( self, *, @@ -3906,13 +3682,13 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "workflow_execution", b"workflow_execution" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "details", b"details", "first_execution_run_id", @@ -3930,11 +3706,8 @@ class TerminateWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___TerminateWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - TerminateWorkflowExecutionRequest -) +global___TerminateWorkflowExecutionRequest = TerminateWorkflowExecutionRequest -@typing.final class TerminateWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3942,11 +3715,8 @@ class TerminateWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___TerminateWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - TerminateWorkflowExecutionResponse -) +global___TerminateWorkflowExecutionResponse = TerminateWorkflowExecutionResponse -@typing.final class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3958,7 +3728,6 @@ class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Workflow Execution to delete. If run_id is not specified, the latest one is used.""" - def __init__( self, *, @@ -3967,20 +3736,20 @@ class DeleteWorkflowExecutionRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "workflow_execution", b"workflow_execution" ], ) -> None: ... -Global___DeleteWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - DeleteWorkflowExecutionRequest -) +global___DeleteWorkflowExecutionRequest = DeleteWorkflowExecutionRequest -@typing.final class DeleteWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -3988,11 +3757,8 @@ class DeleteWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - DeleteWorkflowExecutionResponse -) +global___DeleteWorkflowExecutionResponse = DeleteWorkflowExecutionResponse -@typing.final class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4032,7 +3798,7 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution_filter", b"execution_filter", "filters", @@ -4045,7 +3811,7 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution_filter", b"execution_filter", "filters", @@ -4063,26 +3829,23 @@ class ListOpenWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["filters", b"filters"] - ) -> typing.Literal["execution_filter", "type_filter"] | None: ... + self, oneof_group: typing_extensions.Literal["filters", b"filters"] + ) -> typing_extensions.Literal["execution_filter", "type_filter"] | None: ... -Global___ListOpenWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( - ListOpenWorkflowExecutionsRequest -) +global___ListOpenWorkflowExecutionsRequest = ListOpenWorkflowExecutionsRequest -@typing.final class ListOpenWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... + next_page_token: builtins.bytes def __init__( self, *, @@ -4094,16 +3857,13 @@ class ListOpenWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListOpenWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( - ListOpenWorkflowExecutionsResponse -) +global___ListOpenWorkflowExecutionsResponse = ListOpenWorkflowExecutionsResponse -@typing.final class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4147,7 +3907,7 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution_filter", b"execution_filter", "filters", @@ -4162,7 +3922,7 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution_filter", b"execution_filter", "filters", @@ -4182,26 +3942,26 @@ class ListClosedWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["filters", b"filters"] - ) -> typing.Literal["execution_filter", "type_filter", "status_filter"] | None: ... + self, oneof_group: typing_extensions.Literal["filters", b"filters"] + ) -> ( + typing_extensions.Literal["execution_filter", "type_filter", "status_filter"] + | None + ): ... -Global___ListClosedWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( - ListClosedWorkflowExecutionsRequest -) +global___ListClosedWorkflowExecutionsRequest = ListClosedWorkflowExecutionsRequest -@typing.final class ListClosedWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... + next_page_token: builtins.bytes def __init__( self, *, @@ -4213,16 +3973,13 @@ class ListClosedWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListClosedWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( - ListClosedWorkflowExecutionsResponse -) +global___ListClosedWorkflowExecutionsResponse = ListClosedWorkflowExecutionsResponse -@typing.final class ListWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4244,7 +4001,7 @@ class ListWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -4256,23 +4013,20 @@ class ListWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( - ListWorkflowExecutionsRequest -) +global___ListWorkflowExecutionsRequest = ListWorkflowExecutionsRequest -@typing.final class ListWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... + next_page_token: builtins.bytes def __init__( self, *, @@ -4284,16 +4038,13 @@ class ListWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( - ListWorkflowExecutionsResponse -) +global___ListWorkflowExecutionsResponse = ListWorkflowExecutionsResponse -@typing.final class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4315,7 +4066,7 @@ class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -4327,23 +4078,20 @@ class ListArchivedWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListArchivedWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( - ListArchivedWorkflowExecutionsRequest -) +global___ListArchivedWorkflowExecutionsRequest = ListArchivedWorkflowExecutionsRequest -@typing.final class ListArchivedWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... + next_page_token: builtins.bytes def __init__( self, *, @@ -4355,16 +4103,13 @@ class ListArchivedWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListArchivedWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( - ListArchivedWorkflowExecutionsResponse -) +global___ListArchivedWorkflowExecutionsResponse = ListArchivedWorkflowExecutionsResponse -@typing.final class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): """Deprecated: Use with `ListWorkflowExecutions`.""" @@ -4388,7 +4133,7 @@ class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -4400,11 +4145,8 @@ class ScanWorkflowExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ScanWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( - ScanWorkflowExecutionsRequest -) +global___ScanWorkflowExecutionsRequest = ScanWorkflowExecutionsRequest -@typing.final class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): """Deprecated: Use with `ListWorkflowExecutions`.""" @@ -4412,13 +4154,13 @@ class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.workflow.v1.message_pb2.WorkflowExecutionInfo ]: ... + next_page_token: builtins.bytes def __init__( self, *, @@ -4430,16 +4172,13 @@ class ScanWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ScanWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( - ScanWorkflowExecutionsResponse -) +global___ScanWorkflowExecutionsResponse = ScanWorkflowExecutionsResponse -@typing.final class CountWorkflowExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4454,30 +4193,29 @@ class CountWorkflowExecutionsRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "query", b"query" + ], ) -> None: ... -Global___CountWorkflowExecutionsRequest: typing_extensions.TypeAlias = ( - CountWorkflowExecutionsRequest -) +global___CountWorkflowExecutionsRequest = CountWorkflowExecutionsRequest -@typing.final class CountWorkflowExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int - count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... + count: builtins.int def __init__( self, *, @@ -4489,7 +4227,7 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -4507,30 +4245,27 @@ class CountWorkflowExecutionsResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CountWorkflowExecutionsResponse.AggregationGroup + global___CountWorkflowExecutionsResponse.AggregationGroup ]: """`groups` contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ - def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - Global___CountWorkflowExecutionsResponse.AggregationGroup + global___CountWorkflowExecutionsResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["count", b"count", "groups", b"groups"] + self, + field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], ) -> None: ... -Global___CountWorkflowExecutionsResponse: typing_extensions.TypeAlias = ( - CountWorkflowExecutionsResponse -) +global___CountWorkflowExecutionsResponse = CountWorkflowExecutionsResponse -@typing.final class GetSearchAttributesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4538,15 +4273,11 @@ class GetSearchAttributesRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___GetSearchAttributesRequest: typing_extensions.TypeAlias = ( - GetSearchAttributesRequest -) +global___GetSearchAttributesRequest = GetSearchAttributesRequest -@typing.final class GetSearchAttributesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class KeysEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4561,7 +4292,8 @@ class GetSearchAttributesResponse(google.protobuf.message.Message): value: temporalio.api.enums.v1.common_pb2.IndexedValueType.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... KEYS_FIELD_NUMBER: builtins.int @@ -4579,13 +4311,12 @@ class GetSearchAttributesResponse(google.protobuf.message.Message): ] | None = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["keys", b"keys"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["keys", b"keys"] + ) -> None: ... -Global___GetSearchAttributesResponse: typing_extensions.TypeAlias = ( - GetSearchAttributesResponse -) +global___GetSearchAttributesResponse = GetSearchAttributesResponse -@typing.final class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4599,6 +4330,11 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): POLLER_GROUP_ID_FIELD_NUMBER: builtins.int task_token: builtins.bytes completed_type: temporalio.api.enums.v1.query_pb2.QueryResultType.ValueType + @property + def query_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: + """The result of the query. + Mutually exclusive with `error_message` and `failure`. Set when the query succeeds. + """ error_message: builtins.str """A plain error message that must be set if completed_type is QUERY_RESULT_TYPE_FAILED. SDKs should also fill in the more complete `failure` field to provide the full context and @@ -4609,6 +4345,13 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): Mutually exclusive with `query_result`. Set when the query fails. """ namespace: builtins.str + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: + """The full reason for this query failure. This field is newer than `error_message` and can be + encoded by the SDK's failure converter to support E2E encryption of messages and stack + traces. + Mutually exclusive with `query_result`. Set when the query fails. + """ cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType """Why did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses. See the type's doc for more. @@ -4617,20 +4360,6 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): """Client must forward the poller_group_id received in PollWorkflowTaskQueueResponse for proper routing of the response. """ - @property - def query_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: - """The result of the query. - Mutually exclusive with `error_message` and `failure`. Set when the query succeeds. - """ - - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: - """The full reason for this query failure. This field is newer than `error_message` and can be - encoded by the SDK's failure converter to support E2E encryption of messages and stack - traces. - Mutually exclusive with `query_result`. Set when the query fails. - """ - def __init__( self, *, @@ -4645,13 +4374,13 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "query_result", b"query_result" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cause", b"cause", "completed_type", @@ -4671,11 +4400,8 @@ class RespondQueryTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondQueryTaskCompletedRequest: typing_extensions.TypeAlias = ( - RespondQueryTaskCompletedRequest -) +global___RespondQueryTaskCompletedRequest = RespondQueryTaskCompletedRequest -@typing.final class RespondQueryTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4683,11 +4409,8 @@ class RespondQueryTaskCompletedResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondQueryTaskCompletedResponse: typing_extensions.TypeAlias = ( - RespondQueryTaskCompletedResponse -) +global___RespondQueryTaskCompletedResponse = RespondQueryTaskCompletedResponse -@typing.final class ResetStickyTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4703,20 +4426,17 @@ class ResetStickyTaskQueueRequest(google.protobuf.message.Message): execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["execution", b"execution"] + self, field_name: typing_extensions.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "namespace", b"namespace" ], ) -> None: ... -Global___ResetStickyTaskQueueRequest: typing_extensions.TypeAlias = ( - ResetStickyTaskQueueRequest -) +global___ResetStickyTaskQueueRequest = ResetStickyTaskQueueRequest -@typing.final class ResetStickyTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4724,11 +4444,8 @@ class ResetStickyTaskQueueResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ResetStickyTaskQueueResponse: typing_extensions.TypeAlias = ( - ResetStickyTaskQueueResponse -) +global___ResetStickyTaskQueueResponse = ResetStickyTaskQueueResponse -@typing.final class ShutdownWorkerRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4748,6 +4465,10 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): """ identity: builtins.str reason: builtins.str + @property + def worker_heartbeat( + self, + ) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... worker_instance_key: builtins.str """Technically this is also sent in the WorkerHeartbeat, but since worker heartbeating can be turned off, this needs @@ -4759,10 +4480,6 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): can lead to tasks being lost. """ @property - def worker_heartbeat( - self, - ) -> temporalio.api.worker.v1.message_pb2.WorkerHeartbeat: ... - @property def task_queue_types( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[ @@ -4771,7 +4488,6 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): """Task queue types that help server cancel outstanding poll RPC calls from SDK. This avoids a race condition that can lead to tasks being lost. """ - def __init__( self, *, @@ -4789,11 +4505,12 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["worker_heartbeat", b"worker_heartbeat"] + self, + field_name: typing_extensions.Literal["worker_heartbeat", b"worker_heartbeat"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -4813,9 +4530,8 @@ class ShutdownWorkerRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ShutdownWorkerRequest: typing_extensions.TypeAlias = ShutdownWorkerRequest +global___ShutdownWorkerRequest = ShutdownWorkerRequest -@typing.final class ShutdownWorkerResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4823,9 +4539,8 @@ class ShutdownWorkerResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ShutdownWorkerResponse: typing_extensions.TypeAlias = ShutdownWorkerResponse +global___ShutdownWorkerResponse = ShutdownWorkerResponse -@typing.final class QueryWorkflowRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4834,16 +4549,16 @@ class QueryWorkflowRequest(google.protobuf.message.Message): QUERY_FIELD_NUMBER: builtins.int QUERY_REJECT_CONDITION_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... + @property + def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: ... query_reject_condition: ( temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType ) """QueryRejectCondition can used to reject the query if workflow state does not satisfy condition. Default: QUERY_REJECT_CONDITION_NONE. """ - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: ... - @property - def query(self) -> temporalio.api.query.v1.message_pb2.WorkflowQuery: ... def __init__( self, *, @@ -4853,11 +4568,14 @@ class QueryWorkflowRequest(google.protobuf.message.Message): query_reject_condition: temporalio.api.enums.v1.query_pb2.QueryRejectCondition.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["execution", b"execution", "query", b"query"] + self, + field_name: typing_extensions.Literal[ + "execution", b"execution", "query", b"query" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "namespace", @@ -4869,9 +4587,8 @@ class QueryWorkflowRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___QueryWorkflowRequest: typing_extensions.TypeAlias = QueryWorkflowRequest +global___QueryWorkflowRequest = QueryWorkflowRequest -@typing.final class QueryWorkflowResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4889,20 +4606,19 @@ class QueryWorkflowResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "query_rejected", b"query_rejected", "query_result", b"query_result" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "query_rejected", b"query_rejected", "query_result", b"query_result" ], ) -> None: ... -Global___QueryWorkflowResponse: typing_extensions.TypeAlias = QueryWorkflowResponse +global___QueryWorkflowResponse = QueryWorkflowResponse -@typing.final class DescribeWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -4918,20 +4634,17 @@ class DescribeWorkflowExecutionRequest(google.protobuf.message.Message): execution: temporalio.api.common.v1.message_pb2.WorkflowExecution | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["execution", b"execution"] + self, field_name: typing_extensions.Literal["execution", b"execution"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "namespace", b"namespace" ], ) -> None: ... -Global___DescribeWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - DescribeWorkflowExecutionRequest -) +global___DescribeWorkflowExecutionRequest = DescribeWorkflowExecutionRequest -@typing.final class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5013,7 +4726,7 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution_config", b"execution_config", "pending_workflow_task", @@ -5026,7 +4739,7 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "callbacks", b"callbacks", "execution_config", @@ -5046,11 +4759,8 @@ class DescribeWorkflowExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - DescribeWorkflowExecutionResponse -) +global___DescribeWorkflowExecutionResponse = DescribeWorkflowExecutionResponse -@typing.final class DescribeTaskQueueRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) @@ -5070,6 +4780,9 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): REPORT_POLLERS_FIELD_NUMBER: builtins.int REPORT_TASK_REACHABILITY_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: + """Sticky queues are not supported in deprecated ENHANCED mode.""" task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType """If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used. Only supported in default mode (use `task_queue_types` in ENHANCED mode instead). @@ -5087,19 +4800,6 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): Select the API mode to use for this request: DEFAULT mode (if unset) or ENHANCED mode. Consult the documentation for each field to understand which mode it is supported in. """ - report_pollers: builtins.bool - """Deprecated (as part of the ENHANCED mode deprecation). - Report list of pollers for requested task queue types and versions. - """ - report_task_reachability: builtins.bool - """Deprecated (as part of the ENHANCED mode deprecation). - Report task reachability for the requested versions and all task types (task reachability is not reported - per task type). - """ - @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: - """Sticky queues are not supported in deprecated ENHANCED mode.""" - @property def versions( self, @@ -5110,7 +4810,6 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): unversioned queue will be returned. (-- api-linter: core::0140::prepositions --) """ - @property def task_queue_types( self, @@ -5120,7 +4819,15 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): """Deprecated (as part of the ENHANCED mode deprecation). Task queue types to report info about. If not specified, all types are considered. """ - + report_pollers: builtins.bool + """Deprecated (as part of the ENHANCED mode deprecation). + Report list of pollers for requested task queue types and versions. + """ + report_task_reachability: builtins.bool + """Deprecated (as part of the ENHANCED mode deprecation). + Report task reachability for the requested versions and all task types (task reachability is not reported + per task type). + """ def __init__( self, *, @@ -5142,13 +4849,13 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "task_queue", b"task_queue", "versions", b"versions" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "api_mode", b"api_mode", "include_task_queue_status", @@ -5174,15 +4881,11 @@ class DescribeTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeTaskQueueRequest: typing_extensions.TypeAlias = ( - DescribeTaskQueueRequest -) +global___DescribeTaskQueueRequest = DescribeTaskQueueRequest -@typing.final class DescribeTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class StatsByPriorityKeyEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5198,13 +4901,13 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): value: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class EffectiveRateLimit(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5228,7 +4931,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "rate_limit_source", b"rate_limit_source", "requests_per_second", @@ -5236,7 +4939,6 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class VersionsInfoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5255,10 +4957,11 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... POLLERS_FIELD_NUMBER: builtins.int @@ -5280,7 +4983,6 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): """Statistics for the task queue. Only set if `report_stats` is set on the request. """ - @property def stats_by_priority_key( self, @@ -5292,7 +4994,6 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the keys and values. --) """ - @property def versioning_info( self, @@ -5307,15 +5008,13 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): are typically not Pinned until they complete their first task (unless they are started with a Pinned VersioningOverride or are Child Workflows of a Pinned parent). """ - @property def config(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig: """Only populated if report_task_queue_config is set to true.""" - @property def effective_rate_limit( self, - ) -> Global___DescribeTaskQueueResponse.EffectiveRateLimit: ... + ) -> global___DescribeTaskQueueResponse.EffectiveRateLimit: ... @property def task_queue_status( self, @@ -5323,7 +5022,6 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): """Deprecated. Status of the task queue. Only populated when `include_task_queue_status` is set to true in the request. """ - @property def versions_info( self, @@ -5334,7 +5032,6 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): Only returned in ENHANCED mode. This map contains Task Queue information for each Build ID. Empty string as key value means unversioned. """ - def __init__( self, *, @@ -5350,7 +5047,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): versioning_info: temporalio.api.taskqueue.v1.message_pb2.TaskQueueVersioningInfo | None = ..., config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., - effective_rate_limit: Global___DescribeTaskQueueResponse.EffectiveRateLimit + effective_rate_limit: global___DescribeTaskQueueResponse.EffectiveRateLimit | None = ..., task_queue_status: temporalio.api.taskqueue.v1.message_pb2.TaskQueueStatus | None = ..., @@ -5361,7 +5058,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "effective_rate_limit", @@ -5376,7 +5073,7 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "config", b"config", "effective_rate_limit", @@ -5396,11 +5093,8 @@ class DescribeTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeTaskQueueResponse: typing_extensions.TypeAlias = ( - DescribeTaskQueueResponse -) +global___DescribeTaskQueueResponse = DescribeTaskQueueResponse -@typing.final class GetClusterInfoRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5408,15 +5102,13 @@ class GetClusterInfoRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___GetClusterInfoRequest: typing_extensions.TypeAlias = GetClusterInfoRequest +global___GetClusterInfoRequest = GetClusterInfoRequest -@typing.final class GetClusterInfoResponse(google.protobuf.message.Message): """GetClusterInfoResponse contains information about Temporal cluster.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class SupportedClientsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5431,7 +5123,8 @@ class GetClusterInfoResponse(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SUPPORTED_CLIENTS_FIELD_NUMBER: builtins.int @@ -5444,14 +5137,6 @@ class GetClusterInfoResponse(google.protobuf.message.Message): VISIBILITY_STORE_FIELD_NUMBER: builtins.int INITIAL_FAILOVER_VERSION_FIELD_NUMBER: builtins.int FAILOVER_VERSION_INCREMENT_FIELD_NUMBER: builtins.int - server_version: builtins.str - cluster_id: builtins.str - cluster_name: builtins.str - history_shard_count: builtins.int - persistence_store: builtins.str - visibility_store: builtins.str - initial_failover_version: builtins.int - failover_version_increment: builtins.int @property def supported_clients( self, @@ -5459,9 +5144,16 @@ class GetClusterInfoResponse(google.protobuf.message.Message): """Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0". """ - + server_version: builtins.str + cluster_id: builtins.str @property def version_info(self) -> temporalio.api.version.v1.message_pb2.VersionInfo: ... + cluster_name: builtins.str + history_shard_count: builtins.int + persistence_store: builtins.str + visibility_store: builtins.str + initial_failover_version: builtins.int + failover_version_increment: builtins.int def __init__( self, *, @@ -5478,11 +5170,11 @@ class GetClusterInfoResponse(google.protobuf.message.Message): failover_version_increment: builtins.int = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["version_info", b"version_info"] + self, field_name: typing_extensions.Literal["version_info", b"version_info"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cluster_id", b"cluster_id", "cluster_name", @@ -5506,9 +5198,8 @@ class GetClusterInfoResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___GetClusterInfoResponse: typing_extensions.TypeAlias = GetClusterInfoResponse +global___GetClusterInfoResponse = GetClusterInfoResponse -@typing.final class GetSystemInfoRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5516,13 +5207,11 @@ class GetSystemInfoRequest(google.protobuf.message.Message): self, ) -> None: ... -Global___GetSystemInfoRequest: typing_extensions.TypeAlias = GetSystemInfoRequest +global___GetSystemInfoRequest = GetSystemInfoRequest -@typing.final class GetSystemInfoResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Capabilities(google.protobuf.message.Message): """System capability details.""" @@ -5599,7 +5288,7 @@ class GetSystemInfoResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_failure_include_heartbeat", b"activity_failure_include_heartbeat", "build_id_based_versioning", @@ -5632,28 +5321,26 @@ class GetSystemInfoResponse(google.protobuf.message.Message): server_version: builtins.str """Version of the server.""" @property - def capabilities(self) -> Global___GetSystemInfoResponse.Capabilities: + def capabilities(self) -> global___GetSystemInfoResponse.Capabilities: """All capabilities the system supports.""" - def __init__( self, *, server_version: builtins.str = ..., - capabilities: Global___GetSystemInfoResponse.Capabilities | None = ..., + capabilities: global___GetSystemInfoResponse.Capabilities | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["capabilities", b"capabilities"] + self, field_name: typing_extensions.Literal["capabilities", b"capabilities"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "capabilities", b"capabilities", "server_version", b"server_version" ], ) -> None: ... -Global___GetSystemInfoResponse: typing_extensions.TypeAlias = GetSystemInfoResponse +global___GetSystemInfoResponse = GetSystemInfoResponse -@typing.final class ListTaskQueuePartitionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5669,20 +5356,17 @@ class ListTaskQueuePartitionsRequest(google.protobuf.message.Message): task_queue: temporalio.api.taskqueue.v1.message_pb2.TaskQueue | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["task_queue", b"task_queue"] + self, field_name: typing_extensions.Literal["task_queue", b"task_queue"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "task_queue", b"task_queue" ], ) -> None: ... -Global___ListTaskQueuePartitionsRequest: typing_extensions.TypeAlias = ( - ListTaskQueuePartitionsRequest -) +global___ListTaskQueuePartitionsRequest = ListTaskQueuePartitionsRequest -@typing.final class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5714,7 +5398,7 @@ class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_task_queue_partitions", b"activity_task_queue_partitions", "workflow_task_queue_partitions", @@ -5722,11 +5406,8 @@ class ListTaskQueuePartitionsResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___ListTaskQueuePartitionsResponse: typing_extensions.TypeAlias = ( - ListTaskQueuePartitionsResponse -) +global___ListTaskQueuePartitionsResponse = ListTaskQueuePartitionsResponse -@typing.final class CreateScheduleRequest(google.protobuf.message.Message): """(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --) @@ -5746,22 +5427,19 @@ class CreateScheduleRequest(google.protobuf.message.Message): """The namespace the schedule should be created in.""" schedule_id: builtins.str """The id of the new schedule.""" - identity: builtins.str - """The identity of the client who initiated this request.""" - request_id: builtins.str - """A unique identifier for this create request for idempotence. Typically UUIDv4.""" @property def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: """The schedule spec, policies, action, and initial state.""" - @property def initial_patch(self) -> temporalio.api.schedule.v1.message_pb2.SchedulePatch: """Optional initial patch (e.g. to run the action once immediately).""" - + identity: builtins.str + """The identity of the client who initiated this request.""" + request_id: builtins.str + """A unique identifier for this create request for idempotence. Typically UUIDv4.""" @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Memo and search attributes to attach to the schedule itself.""" - @property def search_attributes( self, @@ -5782,7 +5460,7 @@ class CreateScheduleRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "initial_patch", b"initial_patch", "memo", @@ -5795,7 +5473,7 @@ class CreateScheduleRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "initial_patch", @@ -5815,9 +5493,8 @@ class CreateScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateScheduleRequest: typing_extensions.TypeAlias = CreateScheduleRequest +global___CreateScheduleRequest = CreateScheduleRequest -@typing.final class CreateScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5829,12 +5506,11 @@ class CreateScheduleResponse(google.protobuf.message.Message): conflict_token: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["conflict_token", b"conflict_token"] + self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"] ) -> None: ... -Global___CreateScheduleResponse: typing_extensions.TypeAlias = CreateScheduleResponse +global___CreateScheduleResponse = CreateScheduleResponse -@typing.final class DescribeScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5852,14 +5528,13 @@ class DescribeScheduleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "schedule_id", b"schedule_id" ], ) -> None: ... -Global___DescribeScheduleRequest: typing_extensions.TypeAlias = DescribeScheduleRequest +global___DescribeScheduleRequest = DescribeScheduleRequest -@typing.final class DescribeScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5868,11 +5543,6 @@ class DescribeScheduleResponse(google.protobuf.message.Message): MEMO_FIELD_NUMBER: builtins.int SEARCH_ATTRIBUTES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int - conflict_token: builtins.bytes - """This value can be passed back to UpdateSchedule to ensure that the - schedule was not modified between a Describe and an Update, which could - lead to lost updates and other confusion. - """ @property def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: """The complete current schedule details. This may not match the schedule as @@ -5883,19 +5553,21 @@ class DescribeScheduleResponse(google.protobuf.message.Message): - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule """ - @property def info(self) -> temporalio.api.schedule.v1.message_pb2.ScheduleInfo: """Extra schedule state info.""" - @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """The memo and search attributes that the schedule was created with.""" - @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: ... + conflict_token: builtins.bytes + """This value can be passed back to UpdateSchedule to ensure that the + schedule was not modified between a Describe and an Update, which could + lead to lost updates and other confusion. + """ def __init__( self, *, @@ -5908,7 +5580,7 @@ class DescribeScheduleResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "info", b"info", "memo", @@ -5921,7 +5593,7 @@ class DescribeScheduleResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "conflict_token", b"conflict_token", "info", @@ -5935,11 +5607,8 @@ class DescribeScheduleResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeScheduleResponse: typing_extensions.TypeAlias = ( - DescribeScheduleResponse -) +global___DescribeScheduleResponse = DescribeScheduleResponse -@typing.final class UpdateScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -5955,6 +5624,11 @@ class UpdateScheduleRequest(google.protobuf.message.Message): """The namespace of the schedule to update.""" schedule_id: builtins.str """The id of the schedule to update.""" + @property + def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: + """The new schedule. The four main fields of the schedule (spec, action, + policies, state) are replaced completely by the values in this message. + """ conflict_token: builtins.bytes """This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified @@ -5965,12 +5639,6 @@ class UpdateScheduleRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" request_id: builtins.str """A unique identifier for this update request for idempotence. Typically UUIDv4.""" - @property - def schedule(self) -> temporalio.api.schedule.v1.message_pb2.Schedule: - """The new schedule. The four main fields of the schedule (spec, action, - policies, state) are replaced completely by the values in this message. - """ - @property def search_attributes( self, @@ -5981,14 +5649,12 @@ class UpdateScheduleRequest(google.protobuf.message.Message): Note: you cannot only update the search attributes with `UpdateScheduleRequest`, you must also set the `schedule` field; otherwise, it will unset the schedule. """ - @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """Schedule memo to replace. If set, replaces the entire memo. Do not set this field if you do not want to update the memo. A non-null empty object will clear the memo. """ - def __init__( self, *, @@ -6004,7 +5670,7 @@ class UpdateScheduleRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "memo", b"memo", "schedule", @@ -6015,7 +5681,7 @@ class UpdateScheduleRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "conflict_token", b"conflict_token", "identity", @@ -6035,9 +5701,8 @@ class UpdateScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateScheduleRequest: typing_extensions.TypeAlias = UpdateScheduleRequest +global___UpdateScheduleRequest = UpdateScheduleRequest -@typing.final class UpdateScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6045,9 +5710,8 @@ class UpdateScheduleResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___UpdateScheduleResponse: typing_extensions.TypeAlias = UpdateScheduleResponse +global___UpdateScheduleResponse = UpdateScheduleResponse -@typing.final class PatchScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6060,12 +5724,12 @@ class PatchScheduleRequest(google.protobuf.message.Message): """The namespace of the schedule to patch.""" schedule_id: builtins.str """The id of the schedule to patch.""" + @property + def patch(self) -> temporalio.api.schedule.v1.message_pb2.SchedulePatch: ... identity: builtins.str """The identity of the client who initiated this request.""" request_id: builtins.str """A unique identifier for this update request for idempotence. Typically UUIDv4.""" - @property - def patch(self) -> temporalio.api.schedule.v1.message_pb2.SchedulePatch: ... def __init__( self, *, @@ -6076,11 +5740,11 @@ class PatchScheduleRequest(google.protobuf.message.Message): request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["patch", b"patch"] + self, field_name: typing_extensions.Literal["patch", b"patch"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -6094,9 +5758,8 @@ class PatchScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PatchScheduleRequest: typing_extensions.TypeAlias = PatchScheduleRequest +global___PatchScheduleRequest = PatchScheduleRequest -@typing.final class PatchScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6104,9 +5767,8 @@ class PatchScheduleResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___PatchScheduleResponse: typing_extensions.TypeAlias = PatchScheduleResponse +global___PatchScheduleResponse = PatchScheduleResponse -@typing.final class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6121,7 +5783,6 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Time range to query.""" - @property def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ... def __init__( @@ -6134,13 +5795,13 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "end_time", b"end_time", "namespace", @@ -6152,11 +5813,8 @@ class ListScheduleMatchingTimesRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListScheduleMatchingTimesRequest: typing_extensions.TypeAlias = ( - ListScheduleMatchingTimesRequest -) +global___ListScheduleMatchingTimesRequest = ListScheduleMatchingTimesRequest -@typing.final class ListScheduleMatchingTimesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6174,14 +5832,11 @@ class ListScheduleMatchingTimesResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["start_time", b"start_time"] + self, field_name: typing_extensions.Literal["start_time", b"start_time"] ) -> None: ... -Global___ListScheduleMatchingTimesResponse: typing_extensions.TypeAlias = ( - ListScheduleMatchingTimesResponse -) +global___ListScheduleMatchingTimesResponse = ListScheduleMatchingTimesResponse -@typing.final class DeleteScheduleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6203,7 +5858,7 @@ class DeleteScheduleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -6213,9 +5868,8 @@ class DeleteScheduleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteScheduleRequest: typing_extensions.TypeAlias = DeleteScheduleRequest +global___DeleteScheduleRequest = DeleteScheduleRequest -@typing.final class DeleteScheduleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6223,9 +5877,8 @@ class DeleteScheduleResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteScheduleResponse: typing_extensions.TypeAlias = DeleteScheduleResponse +global___DeleteScheduleResponse = DeleteScheduleResponse -@typing.final class ListSchedulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6251,7 +5904,7 @@ class ListSchedulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "maximum_page_size", b"maximum_page_size", "namespace", @@ -6263,21 +5916,20 @@ class ListSchedulesRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListSchedulesRequest: typing_extensions.TypeAlias = ListSchedulesRequest +global___ListSchedulesRequest = ListSchedulesRequest -@typing.final class ListSchedulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SCHEDULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def schedules( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.schedule.v1.message_pb2.ScheduleListEntry ]: ... + next_page_token: builtins.bytes def __init__( self, *, @@ -6289,14 +5941,13 @@ class ListSchedulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "schedules", b"schedules" ], ) -> None: ... -Global___ListSchedulesResponse: typing_extensions.TypeAlias = ListSchedulesResponse +global___ListSchedulesResponse = ListSchedulesResponse -@typing.final class CountSchedulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6312,28 +5963,29 @@ class CountSchedulesRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "query", b"query" + ], ) -> None: ... -Global___CountSchedulesRequest: typing_extensions.TypeAlias = CountSchedulesRequest +global___CountSchedulesRequest = CountSchedulesRequest -@typing.final class CountSchedulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int - count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... + count: builtins.int def __init__( self, *, @@ -6345,7 +5997,7 @@ class CountSchedulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -6363,34 +6015,32 @@ class CountSchedulesResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CountSchedulesResponse.AggregationGroup + global___CountSchedulesResponse.AggregationGroup ]: """Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ - def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - Global___CountSchedulesResponse.AggregationGroup + global___CountSchedulesResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["count", b"count", "groups", b"groups"] + self, + field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], ) -> None: ... -Global___CountSchedulesResponse: typing_extensions.TypeAlias = CountSchedulesResponse +global___CountSchedulesResponse = CountSchedulesResponse -@typing.final class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class AddNewCompatibleVersion(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6418,7 +6068,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "existing_compatible_build_id", b"existing_compatible_build_id", "make_set_default", @@ -6428,7 +6078,6 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ], ) -> None: ... - @typing.final class MergeSets(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6446,7 +6095,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "primary_set_build_id", b"primary_set_build_id", "secondary_set_build_id", @@ -6475,6 +6124,11 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: In makes perfect sense here. --) """ + @property + def add_new_compatible_build_id( + self, + ) -> global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: + """Adds a new id to an existing compatible set, see sub-message definition for more.""" promote_set_by_build_id: builtins.str """Promote an existing set to be the current default (if it isn't already) by targeting an existing build id within it. This field's value is the extant build id. @@ -6489,36 +6143,29 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): aip.dev/not-precedent: Within makes perfect sense here. --) """ @property - def add_new_compatible_build_id( - self, - ) -> Global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion: - """Adds a new id to an existing compatible set, see sub-message definition for more.""" - - @property - def merge_sets(self) -> Global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets: + def merge_sets(self) -> global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets: """Merge two existing sets together, thus declaring all build IDs in both sets compatible with one another. The primary set's default will become the default for the merged set. This is useful if you've accidentally declared a new ID as incompatible you meant to declare as compatible. The unusual case of incomplete replication during failover could also result in a split set, which this operation can repair. """ - def __init__( self, *, namespace: builtins.str = ..., task_queue: builtins.str = ..., add_new_build_id_in_new_default_set: builtins.str = ..., - add_new_compatible_build_id: Global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion + add_new_compatible_build_id: global___UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion | None = ..., promote_set_by_build_id: builtins.str = ..., promote_build_id_within_set: builtins.str = ..., - merge_sets: Global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets + merge_sets: global___UpdateWorkerBuildIdCompatibilityRequest.MergeSets | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", @@ -6535,7 +6182,7 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "add_new_build_id_in_new_default_set", b"add_new_build_id_in_new_default_set", "add_new_compatible_build_id", @@ -6555,9 +6202,9 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["operation", b"operation"] + self, oneof_group: typing_extensions.Literal["operation", b"operation"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "add_new_build_id_in_new_default_set", "add_new_compatible_build_id", "promote_set_by_build_id", @@ -6567,11 +6214,10 @@ class UpdateWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): | None ): ... -Global___UpdateWorkerBuildIdCompatibilityRequest: typing_extensions.TypeAlias = ( +global___UpdateWorkerBuildIdCompatibilityRequest = ( UpdateWorkerBuildIdCompatibilityRequest ) -@typing.final class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6581,11 +6227,10 @@ class UpdateWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___UpdateWorkerBuildIdCompatibilityResponse: typing_extensions.TypeAlias = ( +global___UpdateWorkerBuildIdCompatibilityResponse = ( UpdateWorkerBuildIdCompatibilityResponse ) -@typing.final class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6610,7 +6255,7 @@ class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "max_sets", b"max_sets", "namespace", @@ -6620,11 +6265,8 @@ class GetWorkerBuildIdCompatibilityRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetWorkerBuildIdCompatibilityRequest: typing_extensions.TypeAlias = ( - GetWorkerBuildIdCompatibilityRequest -) +global___GetWorkerBuildIdCompatibilityRequest = GetWorkerBuildIdCompatibilityRequest -@typing.final class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -6643,7 +6285,6 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): There may be fewer sets returned than exist, if the request chose to limit this response. """ - def __init__( self, *, @@ -6653,14 +6294,14 @@ class GetWorkerBuildIdCompatibilityResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["major_version_sets", b"major_version_sets"] + self, + field_name: typing_extensions.Literal[ + "major_version_sets", b"major_version_sets" + ], ) -> None: ... -Global___GetWorkerBuildIdCompatibilityResponse: typing_extensions.TypeAlias = ( - GetWorkerBuildIdCompatibilityResponse -) +global___GetWorkerBuildIdCompatibilityResponse = GetWorkerBuildIdCompatibilityResponse -@typing.final class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): """(-- api-linter: core::0134::request-mask-required=disabled aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --) @@ -6671,7 +6312,6 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class InsertBuildIdAssignmentRule(google.protobuf.message.Message): """Inserts the rule to the list of assignment rules for this Task Queue. The rules are evaluated in order, starting from index 0. The first @@ -6700,14 +6340,15 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["rule", b"rule"] + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal["rule", b"rule", "rule_index", b"rule_index"], + field_name: typing_extensions.Literal[ + "rule", b"rule", "rule_index", b"rule_index" + ], ) -> None: ... - @typing.final class ReplaceBuildIdAssignmentRule(google.protobuf.message.Message): """Replaces the assignment rule at a given index.""" @@ -6717,6 +6358,10 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): RULE_FIELD_NUMBER: builtins.int FORCE_FIELD_NUMBER: builtins.int rule_index: builtins.int + @property + def rule( + self, + ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... force: builtins.bool """By default presence of one unconditional rule is enforced, otherwise the replace operation will be rejected. Set `force` to true to @@ -6724,10 +6369,6 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): - Has no hint filter - Has no ramp """ - @property - def rule( - self, - ) -> temporalio.api.taskqueue.v1.message_pb2.BuildIdAssignmentRule: ... def __init__( self, *, @@ -6737,16 +6378,15 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): force: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["rule", b"rule"] + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "force", b"force", "rule", b"rule", "rule_index", b"rule_index" ], ) -> None: ... - @typing.final class DeleteBuildIdAssignmentRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6768,10 +6408,11 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["force", b"force", "rule_index", b"rule_index"], + field_name: typing_extensions.Literal[ + "force", b"force", "rule_index", b"rule_index" + ], ) -> None: ... - @typing.final class AddCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Adds the rule to the list of redirect rules for this Task Queue. There can be at most one redirect rule for each distinct Source Build ID. @@ -6791,11 +6432,12 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["rule", b"rule"] + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["rule", b"rule"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> None: ... - @typing.final class ReplaceCompatibleBuildIdRedirectRule(google.protobuf.message.Message): """Replaces the routing rule with the given source Build ID.""" @@ -6813,11 +6455,12 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["rule", b"rule"] + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["rule", b"rule"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> None: ... - @typing.final class DeleteCompatibleBuildIdRedirectRule(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -6829,10 +6472,12 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): source_build_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["source_build_id", b"source_build_id"] + self, + field_name: typing_extensions.Literal[ + "source_build_id", b"source_build_id" + ], ) -> None: ... - @typing.final class CommitBuildId(google.protobuf.message.Message): """This command is intended to be used to complete the rollout of a Build ID and cleanup unnecessary rules possibly created during a gradual @@ -6863,7 +6508,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "force", b"force", "target_build_id", b"target_build_id" ], ) -> None: ... @@ -6890,61 +6535,61 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): @property def insert_assignment_rule( self, - ) -> Global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... + ) -> global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule: ... @property def replace_assignment_rule( self, - ) -> Global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... + ) -> global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule: ... @property def delete_assignment_rule( self, - ) -> Global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... + ) -> global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule: ... @property def add_compatible_redirect_rule( self, ) -> ( - Global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule + global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule ): ... @property def replace_compatible_redirect_rule( self, ) -> ( - Global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule + global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule ): ... @property def delete_compatible_redirect_rule( self, ) -> ( - Global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule + global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule ): ... @property def commit_build_id( self, - ) -> Global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... + ) -> global___UpdateWorkerVersioningRulesRequest.CommitBuildId: ... def __init__( self, *, namespace: builtins.str = ..., task_queue: builtins.str = ..., conflict_token: builtins.bytes = ..., - insert_assignment_rule: Global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule + insert_assignment_rule: global___UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule | None = ..., - replace_assignment_rule: Global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule + replace_assignment_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule | None = ..., - delete_assignment_rule: Global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule + delete_assignment_rule: global___UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule | None = ..., - add_compatible_redirect_rule: Global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule + add_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule | None = ..., - replace_compatible_redirect_rule: Global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule + replace_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule | None = ..., - delete_compatible_redirect_rule: Global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule + delete_compatible_redirect_rule: global___UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule | None = ..., - commit_build_id: Global___UpdateWorkerVersioningRulesRequest.CommitBuildId + commit_build_id: global___UpdateWorkerVersioningRulesRequest.CommitBuildId | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", @@ -6965,7 +6610,7 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "add_compatible_redirect_rule", b"add_compatible_redirect_rule", "commit_build_id", @@ -6991,9 +6636,9 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["operation", b"operation"] + self, oneof_group: typing_extensions.Literal["operation", b"operation"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "insert_assignment_rule", "replace_assignment_rule", "delete_assignment_rule", @@ -7005,11 +6650,8 @@ class UpdateWorkerVersioningRulesRequest(google.protobuf.message.Message): | None ): ... -Global___UpdateWorkerVersioningRulesRequest: typing_extensions.TypeAlias = ( - UpdateWorkerVersioningRulesRequest -) +global___UpdateWorkerVersioningRulesRequest = UpdateWorkerVersioningRulesRequest -@typing.final class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -7018,11 +6660,6 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ASSIGNMENT_RULES_FIELD_NUMBER: builtins.int COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int - conflict_token: builtins.bytes - """This value can be passed back to UpdateWorkerVersioningRulesRequest to - ensure that the rules were not modified between the two updates, which - could lead to lost updates and other confusion. - """ @property def assignment_rules( self, @@ -7035,6 +6672,11 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule ]: ... + conflict_token: builtins.bytes + """This value can be passed back to UpdateWorkerVersioningRulesRequest to + ensure that the rules were not modified between the two updates, which + could lead to lost updates and other confusion. + """ def __init__( self, *, @@ -7050,7 +6692,7 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "assignment_rules", b"assignment_rules", "compatible_redirect_rules", @@ -7060,11 +6702,8 @@ class UpdateWorkerVersioningRulesResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateWorkerVersioningRulesResponse: typing_extensions.TypeAlias = ( - UpdateWorkerVersioningRulesResponse -) +global___UpdateWorkerVersioningRulesResponse = UpdateWorkerVersioningRulesResponse -@typing.final class GetWorkerVersioningRulesRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -7082,16 +6721,13 @@ class GetWorkerVersioningRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "task_queue", b"task_queue" ], ) -> None: ... -Global___GetWorkerVersioningRulesRequest: typing_extensions.TypeAlias = ( - GetWorkerVersioningRulesRequest -) +global___GetWorkerVersioningRulesRequest = GetWorkerVersioningRulesRequest -@typing.final class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release]""" @@ -7100,11 +6736,6 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ASSIGNMENT_RULES_FIELD_NUMBER: builtins.int COMPATIBLE_REDIRECT_RULES_FIELD_NUMBER: builtins.int CONFLICT_TOKEN_FIELD_NUMBER: builtins.int - conflict_token: builtins.bytes - """This value can be passed back to UpdateWorkerVersioningRulesRequest to - ensure that the rules were not modified between this List and the Update, - which could lead to lost updates and other confusion. - """ @property def assignment_rules( self, @@ -7117,6 +6748,11 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.taskqueue.v1.message_pb2.TimestampedCompatibleBuildIdRedirectRule ]: ... + conflict_token: builtins.bytes + """This value can be passed back to UpdateWorkerVersioningRulesRequest to + ensure that the rules were not modified between this List and the Update, + which could lead to lost updates and other confusion. + """ def __init__( self, *, @@ -7132,7 +6768,7 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "assignment_rules", b"assignment_rules", "compatible_redirect_rules", @@ -7142,11 +6778,8 @@ class GetWorkerVersioningRulesResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___GetWorkerVersioningRulesResponse: typing_extensions.TypeAlias = ( - GetWorkerVersioningRulesResponse -) +global___GetWorkerVersioningRulesResponse = GetWorkerVersioningRulesResponse -@typing.final class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Deprecated. Use `DescribeTaskQueue`. @@ -7159,14 +6792,6 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): TASK_QUEUES_FIELD_NUMBER: builtins.int REACHABILITY_FIELD_NUMBER: builtins.int namespace: builtins.str - reachability: temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType - """Type of reachability to query for. - `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. - Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. - Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left - unspecified. - See the TaskReachability docstring for information about each enum variant. - """ @property def build_ids( self, @@ -7176,7 +6801,6 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store. """ - @property def task_queues( self, @@ -7187,7 +6811,14 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information. """ - + reachability: temporalio.api.enums.v1.task_queue_pb2.TaskReachability.ValueType + """Type of reachability to query for. + `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. + Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. + Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left + unspecified. + See the TaskReachability docstring for information about each enum variant. + """ def __init__( self, *, @@ -7198,7 +6829,7 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_ids", b"build_ids", "namespace", @@ -7210,11 +6841,8 @@ class GetWorkerTaskReachabilityRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___GetWorkerTaskReachabilityRequest: typing_extensions.TypeAlias = ( - GetWorkerTaskReachabilityRequest -) +global___GetWorkerTaskReachabilityRequest = GetWorkerTaskReachabilityRequest -@typing.final class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Deprecated. Use `DescribeTaskQueue`. @@ -7239,7 +6867,6 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. """ - def __init__( self, *, @@ -7250,14 +6877,13 @@ class GetWorkerTaskReachabilityResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["build_id_reachability", b"build_id_reachability"], + field_name: typing_extensions.Literal[ + "build_id_reachability", b"build_id_reachability" + ], ) -> None: ... -Global___GetWorkerTaskReachabilityResponse: typing_extensions.TypeAlias = ( - GetWorkerTaskReachabilityResponse -) +global___GetWorkerTaskReachabilityResponse = GetWorkerTaskReachabilityResponse -@typing.final class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): """(-- api-linter: core::0134=disabled aip.dev/not-precedent: Update RPCs don't follow Google API format. --) @@ -7272,11 +6898,6 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): REQUEST_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace name of the target Workflow.""" - first_execution_run_id: builtins.str - """If set, this call will error if the most recent (if no Run Id is set on - `workflow_execution`), or specified (if it is) Workflow Execution is not - part of the same execution chain as this Id. - """ @property def workflow_execution( self, @@ -7285,7 +6906,11 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) """ - + first_execution_run_id: builtins.str + """If set, this call will error if the most recent (if no Run Id is set on + `workflow_execution`), or specified (if it is) Workflow Execution is not + part of the same execution chain as this Id. + """ @property def wait_policy(self) -> temporalio.api.update.v1.message_pb2.WaitPolicy: """Specifies client's intent to wait for Update results. @@ -7294,13 +6919,11 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response. """ - @property def request(self) -> temporalio.api.update.v1.message_pb2.Request: """The request information that will be delivered all the way down to the Workflow Execution. """ - def __init__( self, *, @@ -7313,7 +6936,7 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "request", b"request", "wait_policy", @@ -7324,7 +6947,7 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "first_execution_run_id", b"first_execution_run_id", "namespace", @@ -7338,11 +6961,8 @@ class UpdateWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - UpdateWorkflowExecutionRequest -) +global___UpdateWorkflowExecutionRequest = UpdateWorkflowExecutionRequest -@typing.final class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7350,6 +6970,15 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): OUTCOME_FIELD_NUMBER: builtins.int STAGE_FIELD_NUMBER: builtins.int LINK_FIELD_NUMBER: builtins.int + @property + def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: + """Enough information for subsequent poll calls if needed. Never null.""" + @property + def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: + """The outcome of the Update if and only if the Workflow Update + has completed. If this response is being returned before the Update has + completed then this field will not be set. + """ stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType """The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered @@ -7362,21 +6991,9 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed. """ - @property - def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: - """Enough information for subsequent poll calls if needed. Never null.""" - - @property - def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: - """The outcome of the Update if and only if the Workflow Update - has completed. If this response is being returned before the Update has - completed then this field will not be set. - """ - @property def link(self) -> temporalio.api.common.v1.message_pb2.Link: """Link to the update event. May be null if the update has not yet been accepted.""" - def __init__( self, *, @@ -7387,13 +7004,13 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "link", b"link", "outcome", b"outcome", "update_ref", b"update_ref" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "link", b"link", "outcome", @@ -7405,11 +7022,8 @@ class UpdateWorkflowExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - UpdateWorkflowExecutionResponse -) +global___UpdateWorkflowExecutionResponse = UpdateWorkflowExecutionResponse -@typing.final class StartBatchOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7438,14 +7052,6 @@ class StartBatchOperationRequest(google.protobuf.message.Message): """Job ID defines the unique ID for the batch job""" reason: builtins.str """Reason to perform the batch operation""" - max_operations_per_second: builtins.float - """Limit for the number of operations processed per second within this batch. - Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system - overload and minimize potential delays in executing ongoing tasks for user workers. - Note that when no explicit limit is provided, the server will operate according to its limit defined by the - dynamic configuration key `worker.batcherRPS`. This also applies if the value in this field exceeds the - server's configured limit. - """ @property def executions( self, @@ -7455,7 +7061,14 @@ class StartBatchOperationRequest(google.protobuf.message.Message): """Executions to apply the batch operation This field and `visibility_query` are mutually exclusive """ - + max_operations_per_second: builtins.float + """Limit for the number of operations processed per second within this batch. + Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system + overload and minimize potential delays in executing ongoing tasks for user workers. + Note that when no explicit limit is provided, the server will operate according to its limit defined by the + dynamic configuration key `worker.batcherRPS`. This also applies if the value in this field exceeds the + server's configured limit. + """ @property def termination_operation( self, @@ -7527,7 +7140,7 @@ class StartBatchOperationRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancellation_operation", b"cancellation_operation", "deletion_operation", @@ -7552,7 +7165,7 @@ class StartBatchOperationRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancellation_operation", b"cancellation_operation", "deletion_operation", @@ -7588,9 +7201,9 @@ class StartBatchOperationRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["operation", b"operation"] + self, oneof_group: typing_extensions.Literal["operation", b"operation"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "termination_operation", "signal_operation", "cancellation_operation", @@ -7604,11 +7217,8 @@ class StartBatchOperationRequest(google.protobuf.message.Message): | None ): ... -Global___StartBatchOperationRequest: typing_extensions.TypeAlias = ( - StartBatchOperationRequest -) +global___StartBatchOperationRequest = StartBatchOperationRequest -@typing.final class StartBatchOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7616,11 +7226,8 @@ class StartBatchOperationResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___StartBatchOperationResponse: typing_extensions.TypeAlias = ( - StartBatchOperationResponse -) +global___StartBatchOperationResponse = StartBatchOperationResponse -@typing.final class StopBatchOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7646,7 +7253,7 @@ class StopBatchOperationRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "job_id", @@ -7658,11 +7265,8 @@ class StopBatchOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___StopBatchOperationRequest: typing_extensions.TypeAlias = ( - StopBatchOperationRequest -) +global___StopBatchOperationRequest = StopBatchOperationRequest -@typing.final class StopBatchOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7670,11 +7274,8 @@ class StopBatchOperationResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___StopBatchOperationResponse: typing_extensions.TypeAlias = ( - StopBatchOperationResponse -) +global___StopBatchOperationResponse = StopBatchOperationResponse -@typing.final class DescribeBatchOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7691,14 +7292,14 @@ class DescribeBatchOperationRequest(google.protobuf.message.Message): job_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["job_id", b"job_id", "namespace", b"namespace"] + self, + field_name: typing_extensions.Literal[ + "job_id", b"job_id", "namespace", b"namespace" + ], ) -> None: ... -Global___DescribeBatchOperationRequest: typing_extensions.TypeAlias = ( - DescribeBatchOperationRequest -) +global___DescribeBatchOperationRequest = DescribeBatchOperationRequest -@typing.final class DescribeBatchOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7720,6 +7321,12 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): """Batch job ID""" state: temporalio.api.enums.v1.batch_operation_pb2.BatchOperationState.ValueType """Batch operation state""" + @property + def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Batch operation start time""" + @property + def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: + """Batch operation close time""" total_operation_count: builtins.int """Total operation count""" complete_operation_count: builtins.int @@ -7730,14 +7337,6 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): """Identity indicates the operator identity""" reason: builtins.str """Reason indicates the reason to stop a operation""" - @property - def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Batch operation start time""" - - @property - def close_time(self) -> google.protobuf.timestamp_pb2.Timestamp: - """Batch operation close time""" - def __init__( self, *, @@ -7754,13 +7353,13 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "close_time", b"close_time", "start_time", b"start_time" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "close_time", b"close_time", "complete_operation_count", @@ -7784,11 +7383,8 @@ class DescribeBatchOperationResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeBatchOperationResponse: typing_extensions.TypeAlias = ( - DescribeBatchOperationResponse -) +global___DescribeBatchOperationResponse = DescribeBatchOperationResponse -@typing.final class ListBatchOperationsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7810,7 +7406,7 @@ class ListBatchOperationsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -7820,17 +7416,13 @@ class ListBatchOperationsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListBatchOperationsRequest: typing_extensions.TypeAlias = ( - ListBatchOperationsRequest -) +global___ListBatchOperationsRequest = ListBatchOperationsRequest -@typing.final class ListBatchOperationsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor OPERATION_INFO_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def operation_info( self, @@ -7838,7 +7430,7 @@ class ListBatchOperationsResponse(google.protobuf.message.Message): temporalio.api.batch.v1.message_pb2.BatchOperationInfo ]: """BatchOperationInfo contains the basic info about batch operation""" - + next_page_token: builtins.bytes def __init__( self, *, @@ -7850,16 +7442,13 @@ class ListBatchOperationsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "operation_info", b"operation_info" ], ) -> None: ... -Global___ListBatchOperationsResponse: typing_extensions.TypeAlias = ( - ListBatchOperationsResponse -) +global___ListBatchOperationsResponse = ListBatchOperationsResponse -@typing.final class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7871,18 +7460,16 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): """The namespace of the Workflow Execution to which the Update was originally issued. """ - identity: builtins.str - """The identity of the worker/client who is polling this Update outcome.""" @property def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: """The Update reference returned in the initial UpdateWorkflowExecutionResponse.""" - + identity: builtins.str + """The identity of the worker/client who is polling this Update outcome.""" @property def wait_policy(self) -> temporalio.api.update.v1.message_pb2.WaitPolicy: """Specifies client's intent to wait for Update results. Omit to request a non-blocking poll. """ - def __init__( self, *, @@ -7893,13 +7480,13 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_ref", b"update_ref", "wait_policy", b"wait_policy" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -7911,17 +7498,22 @@ class PollWorkflowExecutionUpdateRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PollWorkflowExecutionUpdateRequest: typing_extensions.TypeAlias = ( - PollWorkflowExecutionUpdateRequest -) +global___PollWorkflowExecutionUpdateRequest = PollWorkflowExecutionUpdateRequest -@typing.final class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor OUTCOME_FIELD_NUMBER: builtins.int STAGE_FIELD_NUMBER: builtins.int UPDATE_REF_FIELD_NUMBER: builtins.int + @property + def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: + """The outcome of the update if and only if the update has completed. If + this response is being returned before the update has completed (e.g. due + to the specification of a wait policy that only waits on + UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will + not be set. + """ stage: temporalio.api.enums.v1.update_pb2.UpdateWorkflowExecutionLifecycleStage.ValueType """The most advanced lifecycle stage that the Update is known to have reached, where lifecycle stages are ordered @@ -7934,19 +7526,9 @@ class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): request WaitPolicy, and before the context deadline expired; clients may may then retry the call as needed. """ - @property - def outcome(self) -> temporalio.api.update.v1.message_pb2.Outcome: - """The outcome of the update if and only if the update has completed. If - this response is being returned before the update has completed (e.g. due - to the specification of a wait policy that only waits on - UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED) then this field will - not be set. - """ - @property def update_ref(self) -> temporalio.api.update.v1.message_pb2.UpdateRef: """Sufficient information to address this Update.""" - def __init__( self, *, @@ -7956,20 +7538,19 @@ class PollWorkflowExecutionUpdateResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["outcome", b"outcome", "update_ref", b"update_ref"], + field_name: typing_extensions.Literal[ + "outcome", b"outcome", "update_ref", b"update_ref" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "outcome", b"outcome", "stage", b"stage", "update_ref", b"update_ref" ], ) -> None: ... -Global___PollWorkflowExecutionUpdateResponse: typing_extensions.TypeAlias = ( - PollWorkflowExecutionUpdateResponse -) +global___PollWorkflowExecutionUpdateResponse = PollWorkflowExecutionUpdateResponse -@typing.final class PollNexusTaskQueueRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -7982,6 +7563,8 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): DEPLOYMENT_OPTIONS_FIELD_NUMBER: builtins.int WORKER_HEARTBEAT_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... poller_group_id: builtins.str """Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollNexusTaskQueueResponse according to the @@ -7995,8 +7578,6 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): This is guaranteed to be unique, whereas identity is not guaranteed to be unique. """ @property - def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: ... - @property def worker_version_capabilities( self, ) -> temporalio.api.common.v1.message_pb2.WorkerVersionCapabilities: @@ -8004,13 +7585,11 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options. """ - @property def deployment_options( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentOptions: """Worker deployment options that user has set in the worker.""" - @property def worker_heartbeat( self, @@ -8018,7 +7597,6 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): temporalio.api.worker.v1.message_pb2.WorkerHeartbeat ]: """Worker info to be sent to the server.""" - def __init__( self, *, @@ -8038,7 +7616,7 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "task_queue", @@ -8049,7 +7627,7 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_options", b"deployment_options", "identity", @@ -8069,11 +7647,8 @@ class PollNexusTaskQueueRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PollNexusTaskQueueRequest: typing_extensions.TypeAlias = ( - PollNexusTaskQueueRequest -) +global___PollNexusTaskQueueRequest = PollNexusTaskQueueRequest -@typing.final class PollNexusTaskQueueResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8084,22 +7659,20 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): POLLER_GROUP_INFOS_FIELD_NUMBER: builtins.int task_token: builtins.bytes """An opaque unique identifier for this task for correlating a completion request the embedded request.""" - poller_group_id: builtins.str - """This poller group ID identifies the owner of the nexus task awaiting for synchronous - response. - Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this - value for proper response routing. - """ @property def request(self) -> temporalio.api.nexus.v1.message_pb2.Request: """Embedded request as translated from the incoming frontend request.""" - @property def poller_scaling_decision( self, ) -> temporalio.api.taskqueue.v1.message_pb2.PollerScalingDecision: """Server-advised information the SDK may use to adjust its poller count.""" - + poller_group_id: builtins.str + """This poller group ID identifies the owner of the nexus task awaiting for synchronous + response. + Corresponding `RespondNexusTaskCompleted` and `RespondNexusTaskFailed` calls should pass this + value for proper response routing. + """ @property def poller_group_infos( self, @@ -8113,7 +7686,6 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights. """ - def __init__( self, *, @@ -8129,13 +7701,13 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "poller_scaling_decision", b"poller_scaling_decision", "request", b"request" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "poller_group_id", b"poller_group_id", "poller_group_infos", @@ -8149,11 +7721,8 @@ class PollNexusTaskQueueResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___PollNexusTaskQueueResponse: typing_extensions.TypeAlias = ( - PollNexusTaskQueueResponse -) +global___PollNexusTaskQueueResponse = PollNexusTaskQueueResponse -@typing.final class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8167,14 +7736,13 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" task_token: builtins.bytes """A unique identifier for this task as received via a poll response.""" + @property + def response(self) -> temporalio.api.nexus.v1.message_pb2.Response: + """Embedded response to be translated into a frontend response.""" poller_group_id: builtins.str """Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper routing of the response. """ - @property - def response(self) -> temporalio.api.nexus.v1.message_pb2.Response: - """Embedded response to be translated into a frontend response.""" - def __init__( self, *, @@ -8185,11 +7753,11 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): poller_group_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["response", b"response"] + self, field_name: typing_extensions.Literal["response", b"response"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -8203,11 +7771,8 @@ class RespondNexusTaskCompletedRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondNexusTaskCompletedRequest: typing_extensions.TypeAlias = ( - RespondNexusTaskCompletedRequest -) +global___RespondNexusTaskCompletedRequest = RespondNexusTaskCompletedRequest -@typing.final class RespondNexusTaskCompletedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8215,11 +7780,8 @@ class RespondNexusTaskCompletedResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondNexusTaskCompletedResponse: typing_extensions.TypeAlias = ( - RespondNexusTaskCompletedResponse -) +global___RespondNexusTaskCompletedResponse = RespondNexusTaskCompletedResponse -@typing.final class RespondNexusTaskFailedRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8234,18 +7796,16 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" task_token: builtins.bytes """A unique identifier for this task.""" - poller_group_id: builtins.str - """Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper - routing of the response. - """ @property def error(self) -> temporalio.api.nexus.v1.message_pb2.HandlerError: """Deprecated. Use the failure field instead.""" - @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The error the handler failed with. Must contain a NexusHandlerFailureInfo object.""" - + poller_group_id: builtins.str + """Client must forward the poller_group_id received in PollNexusTaskQueueResponse for proper + routing of the response. + """ def __init__( self, *, @@ -8257,11 +7817,12 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): poller_group_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["error", b"error", "failure", b"failure"] + self, + field_name: typing_extensions.Literal["error", b"error", "failure", b"failure"], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "error", b"error", "failure", @@ -8277,11 +7838,8 @@ class RespondNexusTaskFailedRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RespondNexusTaskFailedRequest: typing_extensions.TypeAlias = ( - RespondNexusTaskFailedRequest -) +global___RespondNexusTaskFailedRequest = RespondNexusTaskFailedRequest -@typing.final class RespondNexusTaskFailedResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8289,44 +7847,38 @@ class RespondNexusTaskFailedResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RespondNexusTaskFailedResponse: typing_extensions.TypeAlias = ( - RespondNexusTaskFailedResponse -) +global___RespondNexusTaskFailedResponse = RespondNexusTaskFailedResponse -@typing.final class ExecuteMultiOperationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Operation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor START_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_FIELD_NUMBER: builtins.int @property - def start_workflow(self) -> Global___StartWorkflowExecutionRequest: + def start_workflow(self) -> global___StartWorkflowExecutionRequest: """Additional restrictions: - setting `cron_schedule` is invalid - setting `request_eager_execution` is invalid - setting `workflow_start_delay` is invalid """ - @property - def update_workflow(self) -> Global___UpdateWorkflowExecutionRequest: + def update_workflow(self) -> global___UpdateWorkflowExecutionRequest: """Additional restrictions: - setting `first_execution_run_id` is invalid - setting `workflow_execution.run_id` is invalid """ - def __init__( self, *, - start_workflow: Global___StartWorkflowExecutionRequest | None = ..., - update_workflow: Global___UpdateWorkflowExecutionRequest | None = ..., + start_workflow: global___StartWorkflowExecutionRequest | None = ..., + update_workflow: global___UpdateWorkflowExecutionRequest | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "operation", b"operation", "start_workflow", @@ -8337,7 +7889,7 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "operation", b"operation", "start_workflow", @@ -8347,20 +7899,18 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["operation", b"operation"] - ) -> typing.Literal["start_workflow", "update_workflow"] | None: ... + self, oneof_group: typing_extensions.Literal["operation", b"operation"] + ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... NAMESPACE_FIELD_NUMBER: builtins.int OPERATIONS_FIELD_NUMBER: builtins.int RESOURCE_ID_FIELD_NUMBER: builtins.int namespace: builtins.str - resource_id: builtins.str - """Resource ID for routing. Should match operations[0].start_workflow.workflow_id""" @property def operations( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ExecuteMultiOperationRequest.Operation + global___ExecuteMultiOperationRequest.Operation ]: """List of operations to execute within a single workflow. @@ -8371,20 +7921,21 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): Note that additional operation-specific restrictions have to be considered. """ - + resource_id: builtins.str + """Resource ID for routing. Should match operations[0].start_workflow.workflow_id""" def __init__( self, *, namespace: builtins.str = ..., operations: collections.abc.Iterable[ - Global___ExecuteMultiOperationRequest.Operation + global___ExecuteMultiOperationRequest.Operation ] | None = ..., resource_id: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "operations", @@ -8394,11 +7945,8 @@ class ExecuteMultiOperationRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ExecuteMultiOperationRequest: typing_extensions.TypeAlias = ( - ExecuteMultiOperationRequest -) +global___ExecuteMultiOperationRequest = ExecuteMultiOperationRequest -@typing.final class ExecuteMultiOperationResponse(google.protobuf.message.Message): """IMPORTANT: For [StartWorkflow, UpdateWorkflow] combination ("Update-with-Start") when both 1. the workflow update for the requested update ID has already completed, and @@ -8410,25 +7958,24 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Response(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor START_WORKFLOW_FIELD_NUMBER: builtins.int UPDATE_WORKFLOW_FIELD_NUMBER: builtins.int @property - def start_workflow(self) -> Global___StartWorkflowExecutionResponse: ... + def start_workflow(self) -> global___StartWorkflowExecutionResponse: ... @property - def update_workflow(self) -> Global___UpdateWorkflowExecutionResponse: ... + def update_workflow(self) -> global___UpdateWorkflowExecutionResponse: ... def __init__( self, *, - start_workflow: Global___StartWorkflowExecutionResponse | None = ..., - update_workflow: Global___UpdateWorkflowExecutionResponse | None = ..., + start_workflow: global___StartWorkflowExecutionResponse | None = ..., + update_workflow: global___UpdateWorkflowExecutionResponse | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "response", b"response", "start_workflow", @@ -8439,7 +7986,7 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "response", b"response", "start_workflow", @@ -8449,33 +7996,30 @@ class ExecuteMultiOperationResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["response", b"response"] - ) -> typing.Literal["start_workflow", "update_workflow"] | None: ... + self, oneof_group: typing_extensions.Literal["response", b"response"] + ) -> typing_extensions.Literal["start_workflow", "update_workflow"] | None: ... RESPONSES_FIELD_NUMBER: builtins.int @property def responses( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ExecuteMultiOperationResponse.Response + global___ExecuteMultiOperationResponse.Response ]: ... def __init__( self, *, responses: collections.abc.Iterable[ - Global___ExecuteMultiOperationResponse.Response + global___ExecuteMultiOperationResponse.Response ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["responses", b"responses"] + self, field_name: typing_extensions.Literal["responses", b"responses"] ) -> None: ... -Global___ExecuteMultiOperationResponse: typing_extensions.TypeAlias = ( - ExecuteMultiOperationResponse -) +global___ExecuteMultiOperationResponse = ExecuteMultiOperationResponse -@typing.final class UpdateActivityOptionsRequest(google.protobuf.message.Message): """NOTE: keep in sync with temporalio.api.batch.v1.BatchOperationUpdateActivityOptions Deprecated. Use `UpdateActivityExecutionOptionsRequest`. @@ -8494,8 +8038,19 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): RESTORE_ORIGINAL_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity""" + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request""" + @property + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + """Activity options. Partial updates are accepted and controlled by update_mask""" + @property + def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: + """Controls which fields from `activity_options` will be applied""" id: builtins.str """Only activity with this ID will be updated.""" type: builtins.str @@ -8509,20 +8064,6 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): This flag cannot be combined with any other option; if you supply restore_original together with other options, the request will be rejected. """ - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" - - @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: - """Activity options. Partial updates are accepted and controlled by update_mask""" - - @property - def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: - """Controls which fields from `activity_options` will be applied""" - def __init__( self, *, @@ -8539,7 +8080,7 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "activity_options", @@ -8558,7 +8099,7 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "activity_options", @@ -8582,14 +8123,11 @@ class UpdateActivityOptionsRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["activity", b"activity"] - ) -> typing.Literal["id", "type", "match_all"] | None: ... + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... -Global___UpdateActivityOptionsRequest: typing_extensions.TypeAlias = ( - UpdateActivityOptionsRequest -) +global___UpdateActivityOptionsRequest = UpdateActivityOptionsRequest -@typing.final class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8614,6 +8152,14 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): """Run ID of the workflow or standalone activity.""" identity: builtins.str """The identity of the client who initiated this request""" + @property + def activity_options( + self, + ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: + """Activity options. Partial updates are accepted and controlled by update_mask""" + @property + def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: + """Controls which fields from `activity_options` will be applied""" restore_original: builtins.bool """If set, the activity options will be restored to the default. Default options are then options activity was created with. @@ -8623,16 +8169,6 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): """ resource_id: builtins.str """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" - @property - def activity_options( - self, - ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: - """Activity options. Partial updates are accepted and controlled by update_mask""" - - @property - def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: - """Controls which fields from `activity_options` will be applied""" - def __init__( self, *, @@ -8649,13 +8185,13 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_options", b"activity_options", "update_mask", b"update_mask" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_options", @@ -8677,11 +8213,8 @@ class UpdateActivityExecutionOptionsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateActivityExecutionOptionsRequest: typing_extensions.TypeAlias = ( - UpdateActivityExecutionOptionsRequest -) +global___UpdateActivityExecutionOptionsRequest = UpdateActivityExecutionOptionsRequest -@typing.final class UpdateActivityOptionsResponse(google.protobuf.message.Message): """Deprecated. Use `UpdateActivityExecutionOptionsResponse`.""" @@ -8693,7 +8226,6 @@ class UpdateActivityOptionsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options after an update""" - def __init__( self, *, @@ -8701,17 +8233,16 @@ class UpdateActivityOptionsResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["activity_options", b"activity_options"] + self, + field_name: typing_extensions.Literal["activity_options", b"activity_options"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["activity_options", b"activity_options"] + self, + field_name: typing_extensions.Literal["activity_options", b"activity_options"], ) -> None: ... -Global___UpdateActivityOptionsResponse: typing_extensions.TypeAlias = ( - UpdateActivityOptionsResponse -) +global___UpdateActivityOptionsResponse = UpdateActivityOptionsResponse -@typing.final class UpdateActivityExecutionOptionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8721,7 +8252,6 @@ class UpdateActivityExecutionOptionsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.activity.v1.message_pb2.ActivityOptions: """Activity options after an update""" - def __init__( self, *, @@ -8729,17 +8259,16 @@ class UpdateActivityExecutionOptionsResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["activity_options", b"activity_options"] + self, + field_name: typing_extensions.Literal["activity_options", b"activity_options"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["activity_options", b"activity_options"] + self, + field_name: typing_extensions.Literal["activity_options", b"activity_options"], ) -> None: ... -Global___UpdateActivityExecutionOptionsResponse: typing_extensions.TypeAlias = ( - UpdateActivityExecutionOptionsResponse -) +global___UpdateActivityExecutionOptionsResponse = UpdateActivityExecutionOptionsResponse -@typing.final class PauseActivityRequest(google.protobuf.message.Message): """Deprecated. Use `PauseActivityExecutionRequest`.""" @@ -8754,6 +8283,9 @@ class PauseActivityRequest(google.protobuf.message.Message): REQUEST_ID_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity.""" + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request.""" id: builtins.str @@ -8766,10 +8298,6 @@ class PauseActivityRequest(google.protobuf.message.Message): """Reason to pause the activity.""" request_id: builtins.str """Used to de-dupe pause requests.""" - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" - def __init__( self, *, @@ -8783,7 +8311,7 @@ class PauseActivityRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "execution", @@ -8796,7 +8324,7 @@ class PauseActivityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "execution", @@ -8816,12 +8344,11 @@ class PauseActivityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["activity", b"activity"] - ) -> typing.Literal["id", "type"] | None: ... + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type"] | None: ... -Global___PauseActivityRequest: typing_extensions.TypeAlias = PauseActivityRequest +global___PauseActivityRequest = PauseActivityRequest -@typing.final class PauseActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8865,7 +8392,7 @@ class PauseActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "identity", @@ -8885,11 +8412,8 @@ class PauseActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PauseActivityExecutionRequest: typing_extensions.TypeAlias = ( - PauseActivityExecutionRequest -) +global___PauseActivityExecutionRequest = PauseActivityExecutionRequest -@typing.final class PauseActivityResponse(google.protobuf.message.Message): """Deprecated. Use `PauseActivityExecutionResponse`.""" @@ -8899,9 +8423,8 @@ class PauseActivityResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___PauseActivityResponse: typing_extensions.TypeAlias = PauseActivityResponse +global___PauseActivityResponse = PauseActivityResponse -@typing.final class PauseActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -8909,11 +8432,8 @@ class PauseActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___PauseActivityExecutionResponse: typing_extensions.TypeAlias = ( - PauseActivityExecutionResponse -) +global___PauseActivityExecutionResponse = PauseActivityExecutionResponse -@typing.final class UnpauseActivityRequest(google.protobuf.message.Message): """Deprecated. Use `UnpauseActivityExecutionRequest`.""" @@ -8930,6 +8450,9 @@ class UnpauseActivityRequest(google.protobuf.message.Message): JITTER_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity.""" + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request.""" id: builtins.str @@ -8942,14 +8465,9 @@ class UnpauseActivityRequest(google.protobuf.message.Message): """Providing this flag will also reset the number of attempts.""" reset_heartbeat: builtins.bool """Providing this flag will also reset the heartbeat details.""" - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" - @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """If set, the activity will start at a random time within the specified jitter duration.""" - def __init__( self, *, @@ -8965,7 +8483,7 @@ class UnpauseActivityRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "execution", @@ -8982,7 +8500,7 @@ class UnpauseActivityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "execution", @@ -9006,12 +8524,11 @@ class UnpauseActivityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["activity", b"activity"] - ) -> typing.Literal["id", "type", "unpause_all"] | None: ... + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type", "unpause_all"] | None: ... -Global___UnpauseActivityRequest: typing_extensions.TypeAlias = UnpauseActivityRequest +global___UnpauseActivityRequest = UnpauseActivityRequest -@typing.final class UnpauseActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9043,12 +8560,11 @@ class UnpauseActivityExecutionRequest(google.protobuf.message.Message): """Providing this flag will also reset the heartbeat details.""" reason: builtins.str """Reason to unpause the activity.""" - resource_id: builtins.str - """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """If set, the activity will start at a random time within the specified jitter duration.""" - + resource_id: builtins.str + """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" def __init__( self, *, @@ -9064,11 +8580,11 @@ class UnpauseActivityExecutionRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["jitter", b"jitter"] + self, field_name: typing_extensions.Literal["jitter", b"jitter"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "identity", @@ -9092,11 +8608,8 @@ class UnpauseActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UnpauseActivityExecutionRequest: typing_extensions.TypeAlias = ( - UnpauseActivityExecutionRequest -) +global___UnpauseActivityExecutionRequest = UnpauseActivityExecutionRequest -@typing.final class UnpauseActivityResponse(google.protobuf.message.Message): """Deprecated. Use `UnpauseActivityExecutionResponse`.""" @@ -9106,9 +8619,8 @@ class UnpauseActivityResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___UnpauseActivityResponse: typing_extensions.TypeAlias = UnpauseActivityResponse +global___UnpauseActivityResponse = UnpauseActivityResponse -@typing.final class UnpauseActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9116,11 +8628,8 @@ class UnpauseActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___UnpauseActivityExecutionResponse: typing_extensions.TypeAlias = ( - UnpauseActivityExecutionResponse -) +global___UnpauseActivityExecutionResponse = UnpauseActivityExecutionResponse -@typing.final class ResetActivityRequest(google.protobuf.message.Message): """NOTE: keep in sync with temporalio.api.batch.v1.BatchOperationResetActivities Deprecated. Use `ResetActivityExecutionRequest`. @@ -9140,6 +8649,9 @@ class ResetActivityRequest(google.protobuf.message.Message): RESTORE_ORIGINAL_OPTIONS_FIELD_NUMBER: builtins.int namespace: builtins.str """Namespace of the workflow which scheduled this activity.""" + @property + def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: + """Execution info of the workflow which scheduled this activity""" identity: builtins.str """The identity of the client who initiated this request.""" id: builtins.str @@ -9154,21 +8666,16 @@ class ResetActivityRequest(google.protobuf.message.Message): """ keep_paused: builtins.bool """If activity is paused, it will remain paused after reset""" - restore_original_options: builtins.bool - """If set, the activity options will be restored to the defaults. - Default options are then options activity was created with. - They are part of the first schedule event. - """ - @property - def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: - """Execution info of the workflow which scheduled this activity""" - @property def jitter(self) -> google.protobuf.duration_pb2.Duration: """If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. (unless it is paused and keep_paused is set) """ - + restore_original_options: builtins.bool + """If set, the activity options will be restored to the defaults. + Default options are then options activity was created with. + They are part of the first schedule event. + """ def __init__( self, *, @@ -9185,7 +8692,7 @@ class ResetActivityRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "execution", @@ -9202,7 +8709,7 @@ class ResetActivityRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity", b"activity", "execution", @@ -9228,12 +8735,11 @@ class ResetActivityRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["activity", b"activity"] - ) -> typing.Literal["id", "type", "match_all"] | None: ... + self, oneof_group: typing_extensions.Literal["activity", b"activity"] + ) -> typing_extensions.Literal["id", "type", "match_all"] | None: ... -Global___ResetActivityRequest: typing_extensions.TypeAlias = ResetActivityRequest +global___ResetActivityRequest = ResetActivityRequest -@typing.final class ResetActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9265,6 +8771,11 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): """ keep_paused: builtins.bool """If activity is paused, it will remain paused after reset""" + @property + def jitter(self) -> google.protobuf.duration_pb2.Duration: + """If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. + (unless it is paused and keep_paused is set) + """ restore_original_options: builtins.bool """If set, the activity options will be restored to the defaults. Default options are then options activity was created with. @@ -9272,12 +8783,6 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): """ resource_id: builtins.str """Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.""" - @property - def jitter(self) -> google.protobuf.duration_pb2.Duration: - """If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. - (unless it is paused and keep_paused is set) - """ - def __init__( self, *, @@ -9293,11 +8798,11 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["jitter", b"jitter"] + self, field_name: typing_extensions.Literal["jitter", b"jitter"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "identity", @@ -9321,11 +8826,8 @@ class ResetActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ResetActivityExecutionRequest: typing_extensions.TypeAlias = ( - ResetActivityExecutionRequest -) +global___ResetActivityExecutionRequest = ResetActivityExecutionRequest -@typing.final class ResetActivityResponse(google.protobuf.message.Message): """Deprecated. Use `ResetActivityExecutionRequest`.""" @@ -9335,9 +8837,8 @@ class ResetActivityResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ResetActivityResponse: typing_extensions.TypeAlias = ResetActivityResponse +global___ResetActivityResponse = ResetActivityResponse -@typing.final class ResetActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9345,11 +8846,8 @@ class ResetActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___ResetActivityExecutionResponse: typing_extensions.TypeAlias = ( - ResetActivityExecutionResponse -) +global___ResetActivityExecutionResponse = ResetActivityExecutionResponse -@typing.final class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): """Keep the parameters in sync with: - temporalio.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. @@ -9365,8 +8863,6 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str """The namespace name of the target Workflow.""" - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" @property def workflow_execution( self, @@ -9375,19 +8871,18 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --) """ - @property def workflow_execution_options( self, ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options. Partial updates are accepted and controlled by update_mask.""" - @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated. """ - + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" def __init__( self, *, @@ -9401,7 +8896,7 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_mask", b"update_mask", "workflow_execution", @@ -9412,7 +8907,7 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -9426,11 +8921,8 @@ class UpdateWorkflowExecutionOptionsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateWorkflowExecutionOptionsRequest: typing_extensions.TypeAlias = ( - UpdateWorkflowExecutionOptionsRequest -) +global___UpdateWorkflowExecutionOptionsRequest = UpdateWorkflowExecutionOptionsRequest -@typing.final class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9441,13 +8933,11 @@ class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.workflow.v1.message_pb2.WorkflowExecutionOptions: """Workflow Execution options after update.""" - @property def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The Workflow Execution time when the options were updated. When time skipping is enabled, this is the workflow's virtual time rather than wall-clock time. """ - def __init__( self, *, @@ -9457,7 +8947,7 @@ class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_time", b"update_time", "workflow_execution_options", @@ -9466,7 +8956,7 @@ class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_time", b"update_time", "workflow_execution_options", @@ -9474,11 +8964,8 @@ class UpdateWorkflowExecutionOptionsResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateWorkflowExecutionOptionsResponse: typing_extensions.TypeAlias = ( - UpdateWorkflowExecutionOptionsResponse -) +global___UpdateWorkflowExecutionOptionsResponse = UpdateWorkflowExecutionOptionsResponse -@typing.final class DescribeDeploymentRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9496,20 +8983,17 @@ class DescribeDeploymentRequest(google.protobuf.message.Message): deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment", b"deployment"] + self, field_name: typing_extensions.Literal["deployment", b"deployment"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "namespace", b"namespace" ], ) -> None: ... -Global___DescribeDeploymentRequest: typing_extensions.TypeAlias = ( - DescribeDeploymentRequest -) +global___DescribeDeploymentRequest = DescribeDeploymentRequest -@typing.final class DescribeDeploymentResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9527,17 +9011,16 @@ class DescribeDeploymentResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_info", b"deployment_info"] + self, + field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["deployment_info", b"deployment_info"] + self, + field_name: typing_extensions.Literal["deployment_info", b"deployment_info"], ) -> None: ... -Global___DescribeDeploymentResponse: typing_extensions.TypeAlias = ( - DescribeDeploymentResponse -) +global___DescribeDeploymentResponse = DescribeDeploymentResponse -@typing.final class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9548,14 +9031,13 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): namespace: builtins.str version: builtins.str """Deprecated. Use `deployment_version`.""" - report_task_queue_stats: builtins.bool - """Report stats for task queues which have been polled by this version.""" @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" - + report_task_queue_stats: builtins.bool + """Report stats for task queues which have been polled by this version.""" def __init__( self, *, @@ -9566,11 +9048,14 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): report_task_queue_stats: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_version", b"deployment_version"] + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version", b"deployment_version", "namespace", @@ -9582,21 +9067,16 @@ class DescribeWorkerDeploymentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeWorkerDeploymentVersionRequest: typing_extensions.TypeAlias = ( - DescribeWorkerDeploymentVersionRequest -) +global___DescribeWorkerDeploymentVersionRequest = DescribeWorkerDeploymentVersionRequest -@typing.final class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class VersionTaskQueue(google.protobuf.message.Message): """(-- api-linter: core::0123::resource-annotation=disabled --)""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class StatsByPriorityKeyEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9615,10 +9095,11 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAME_FIELD_NUMBER: builtins.int @@ -9630,7 +9111,6 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): @property def stats(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueueStats: """Only set if `report_task_queue_stats` is set on the request.""" - @property def stats_by_priority_key( self, @@ -9642,7 +9122,6 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the key. --) """ - def __init__( self, *, @@ -9655,11 +9134,11 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["stats", b"stats"] + self, field_name: typing_extensions.Literal["stats", b"stats"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "name", b"name", "stats", @@ -9681,29 +9160,28 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): def version_task_queues( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue + global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue ]: """All the Task Queues that have ever polled from this Deployment version.""" - def __init__( self, *, worker_deployment_version_info: temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersionInfo | None = ..., version_task_queues: collections.abc.Iterable[ - Global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue + global___DescribeWorkerDeploymentVersionResponse.VersionTaskQueue ] | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "worker_deployment_version_info", b"worker_deployment_version_info" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "version_task_queues", b"version_task_queues", "worker_deployment_version_info", @@ -9711,11 +9189,10 @@ class DescribeWorkerDeploymentVersionResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeWorkerDeploymentVersionResponse: typing_extensions.TypeAlias = ( +global___DescribeWorkerDeploymentVersionResponse = ( DescribeWorkerDeploymentVersionResponse ) -@typing.final class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9731,16 +9208,13 @@ class DescribeWorkerDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_name", b"deployment_name", "namespace", b"namespace" ], ) -> None: ... -Global___DescribeWorkerDeploymentRequest: typing_extensions.TypeAlias = ( - DescribeWorkerDeploymentRequest -) +global___DescribeWorkerDeploymentRequest = DescribeWorkerDeploymentRequest -@typing.final class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -9764,11 +9238,13 @@ class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["worker_deployment_info", b"worker_deployment_info"], + field_name: typing_extensions.Literal[ + "worker_deployment_info", b"worker_deployment_info" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "conflict_token", b"conflict_token", "worker_deployment_info", @@ -9776,11 +9252,8 @@ class DescribeWorkerDeploymentResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeWorkerDeploymentResponse: typing_extensions.TypeAlias = ( - DescribeWorkerDeploymentResponse -) +global___DescribeWorkerDeploymentResponse = DescribeWorkerDeploymentResponse -@typing.final class ListDeploymentsRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9805,7 +9278,7 @@ class ListDeploymentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -9817,9 +9290,8 @@ class ListDeploymentsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListDeploymentsRequest: typing_extensions.TypeAlias = ListDeploymentsRequest +global___ListDeploymentsRequest = ListDeploymentsRequest -@typing.final class ListDeploymentsResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9845,14 +9317,13 @@ class ListDeploymentsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployments", b"deployments", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListDeploymentsResponse: typing_extensions.TypeAlias = ListDeploymentsResponse +global___ListDeploymentsResponse = ListDeploymentsResponse -@typing.final class SetCurrentDeploymentRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9863,10 +9334,10 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int UPDATE_METADATA_FIELD_NUMBER: builtins.int namespace: builtins.str - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" @property def deployment(self) -> temporalio.api.deployment.v1.message_pb2.Deployment: ... + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" @property def update_metadata( self, @@ -9875,7 +9346,6 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): when describing a deployment. It is a good place for information such as operator name, links to internal deployment pipelines, etc. """ - def __init__( self, *, @@ -9887,13 +9357,13 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "update_metadata", b"update_metadata" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "identity", @@ -9905,11 +9375,8 @@ class SetCurrentDeploymentRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SetCurrentDeploymentRequest: typing_extensions.TypeAlias = ( - SetCurrentDeploymentRequest -) +global___SetCurrentDeploymentRequest = SetCurrentDeploymentRequest -@typing.final class SetCurrentDeploymentResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -9926,7 +9393,6 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): self, ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: """Info of the deployment that was current before executing this operation.""" - def __init__( self, *, @@ -9937,7 +9403,7 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_info", b"current_deployment_info", "previous_deployment_info", @@ -9946,7 +9412,7 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_info", b"current_deployment_info", "previous_deployment_info", @@ -9954,11 +9420,8 @@ class SetCurrentDeploymentResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___SetCurrentDeploymentResponse: typing_extensions.TypeAlias = ( - SetCurrentDeploymentResponse -) +global___SetCurrentDeploymentResponse = SetCurrentDeploymentResponse -@typing.final class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): """Set/unset the Current Version of a Worker Deployment.""" @@ -10023,7 +9486,7 @@ class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "allow_no_pollers", b"allow_no_pollers", "build_id", @@ -10043,11 +9506,10 @@ class SetWorkerDeploymentCurrentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SetWorkerDeploymentCurrentVersionRequest: typing_extensions.TypeAlias = ( +global___SetWorkerDeploymentCurrentVersionRequest = ( SetWorkerDeploymentCurrentVersionRequest ) -@typing.final class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10071,7 +9533,6 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls. """ - def __init__( self, *, @@ -10082,13 +9543,13 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "previous_deployment_version", b"previous_deployment_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "conflict_token", b"conflict_token", "previous_deployment_version", @@ -10098,11 +9559,10 @@ class SetWorkerDeploymentCurrentVersionResponse(google.protobuf.message.Message) ], ) -> None: ... -Global___SetWorkerDeploymentCurrentVersionResponse: typing_extensions.TypeAlias = ( +global___SetWorkerDeploymentCurrentVersionResponse = ( SetWorkerDeploymentCurrentVersionResponse ) -@typing.final class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage.""" @@ -10174,7 +9634,7 @@ class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "allow_no_pollers", b"allow_no_pollers", "build_id", @@ -10196,11 +9656,10 @@ class SetWorkerDeploymentRampingVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___SetWorkerDeploymentRampingVersionRequest: typing_extensions.TypeAlias = ( +global___SetWorkerDeploymentRampingVersionRequest = ( SetWorkerDeploymentRampingVersionRequest ) -@typing.final class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10215,13 +9674,6 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) """ previous_version: builtins.str """Deprecated. Use `previous_deployment_version`.""" - previous_percentage: builtins.float - """The ramping version percentage before executing this operation. - Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the - Ramping version info before calling this API. By passing the `conflict_token` got from the - `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes - between the two calls. - """ @property def previous_deployment_version( self, @@ -10232,7 +9684,13 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls. """ - + previous_percentage: builtins.float + """The ramping version percentage before executing this operation. + Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the + Ramping version info before calling this API. By passing the `conflict_token` got from the + `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes + between the two calls. + """ def __init__( self, *, @@ -10244,13 +9702,13 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "previous_deployment_version", b"previous_deployment_version" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "conflict_token", b"conflict_token", "previous_deployment_version", @@ -10262,11 +9720,10 @@ class SetWorkerDeploymentRampingVersionResponse(google.protobuf.message.Message) ], ) -> None: ... -Global___SetWorkerDeploymentRampingVersionResponse: typing_extensions.TypeAlias = ( +global___SetWorkerDeploymentRampingVersionResponse = ( SetWorkerDeploymentRampingVersionResponse ) -@typing.final class CreateWorkerDeploymentRequest(google.protobuf.message.Message): """Creates a new WorkerDeployment.""" @@ -10295,7 +9752,7 @@ class CreateWorkerDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_name", b"deployment_name", "identity", @@ -10307,11 +9764,8 @@ class CreateWorkerDeploymentRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateWorkerDeploymentRequest: typing_extensions.TypeAlias = ( - CreateWorkerDeploymentRequest -) +global___CreateWorkerDeploymentRequest = CreateWorkerDeploymentRequest -@typing.final class CreateWorkerDeploymentResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10327,14 +9781,11 @@ class CreateWorkerDeploymentResponse(google.protobuf.message.Message): conflict_token: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["conflict_token", b"conflict_token"] + self, field_name: typing_extensions.Literal["conflict_token", b"conflict_token"] ) -> None: ... -Global___CreateWorkerDeploymentResponse: typing_extensions.TypeAlias = ( - CreateWorkerDeploymentResponse -) +global___CreateWorkerDeploymentResponse = CreateWorkerDeploymentResponse -@typing.final class ListWorkerDeploymentsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10353,7 +9804,7 @@ class ListWorkerDeploymentsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -10363,15 +9814,11 @@ class ListWorkerDeploymentsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListWorkerDeploymentsRequest: typing_extensions.TypeAlias = ( - ListWorkerDeploymentsRequest -) +global___ListWorkerDeploymentsRequest = ListWorkerDeploymentsRequest -@typing.final class ListWorkerDeploymentsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class WorkerDeploymentSummary(google.protobuf.message.Message): """(-- api-linter: core::0123::resource-annotation=disabled --) A subset of WorkerDeploymentInfo @@ -10397,19 +9844,16 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the version that was added most recently in the Worker Deployment.""" - @property def current_version_summary( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the current version of the Worker Deployment.""" - @property def ramping_version_summary( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentInfo.WorkerDeploymentVersionSummary: """Summary of the ramping version of the Worker Deployment.""" - def __init__( self, *, @@ -10426,7 +9870,7 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "current_version_summary", @@ -10441,7 +9885,7 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "create_time", b"create_time", "current_version_summary", @@ -10464,22 +9908,21 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): def worker_deployments( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary + global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary ]: """The list of worker deployments.""" - def __init__( self, *, next_page_token: builtins.bytes = ..., worker_deployments: collections.abc.Iterable[ - Global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary + global___ListWorkerDeploymentsResponse.WorkerDeploymentSummary ] | None = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "worker_deployments", @@ -10487,11 +9930,8 @@ class ListWorkerDeploymentsResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___ListWorkerDeploymentsResponse: typing_extensions.TypeAlias = ( - ListWorkerDeploymentsResponse -) +global___ListWorkerDeploymentsResponse = ListWorkerDeploymentsResponse -@typing.final class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): """Creates a new WorkerDeploymentVersion.""" @@ -10503,25 +9943,23 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int REQUEST_ID_FIELD_NUMBER: builtins.int namespace: builtins.str - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" - request_id: builtins.str - """A unique identifier for this create request for idempotence. Typically UUIDv4. - If a second request with the same ID is recieved, it is considered a successful no-op. - Retrying with a different request ID for the same deployment name + build ID is an error. - """ @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" - @property def compute_config(self) -> temporalio.api.compute.v1.config_pb2.ComputeConfig: """Optional. Contains the new worker compute configuration for the Worker Deployment. Used for worker scale management. """ - + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" + request_id: builtins.str + """A unique identifier for this create request for idempotence. Typically UUIDv4. + If a second request with the same ID is recieved, it is considered a successful no-op. + Retrying with a different request ID for the same deployment name + build ID is an error. + """ def __init__( self, *, @@ -10534,7 +9972,7 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config", b"compute_config", "deployment_version", @@ -10543,7 +9981,7 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config", b"compute_config", "deployment_version", @@ -10557,11 +9995,8 @@ class CreateWorkerDeploymentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateWorkerDeploymentVersionRequest: typing_extensions.TypeAlias = ( - CreateWorkerDeploymentVersionRequest -) +global___CreateWorkerDeploymentVersionRequest = CreateWorkerDeploymentVersionRequest -@typing.final class CreateWorkerDeploymentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10569,11 +10004,8 @@ class CreateWorkerDeploymentVersionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___CreateWorkerDeploymentVersionResponse: typing_extensions.TypeAlias = ( - CreateWorkerDeploymentVersionResponse -) +global___CreateWorkerDeploymentVersionResponse = CreateWorkerDeploymentVersionResponse -@typing.final class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): """Used for manual deletion of Versions. User can delete a Version only when all the following conditions are met: @@ -10593,18 +10025,17 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): namespace: builtins.str version: builtins.str """Deprecated. Use `deployment_version`.""" + @property + def deployment_version( + self, + ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: + """Required.""" skip_drainage: builtins.bool """Pass to force deletion even if the Version is draining. In this case the open pinned workflows will be stuck until manually moved to another version by UpdateWorkflowExecutionOptions. """ identity: builtins.str """Optional. The identity of the client who initiated this request.""" - @property - def deployment_version( - self, - ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: - """Required.""" - def __init__( self, *, @@ -10616,11 +10047,14 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_version", b"deployment_version"] + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version", b"deployment_version", "identity", @@ -10634,11 +10068,8 @@ class DeleteWorkerDeploymentVersionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteWorkerDeploymentVersionRequest: typing_extensions.TypeAlias = ( - DeleteWorkerDeploymentVersionRequest -) +global___DeleteWorkerDeploymentVersionRequest = DeleteWorkerDeploymentVersionRequest -@typing.final class DeleteWorkerDeploymentVersionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10646,11 +10077,8 @@ class DeleteWorkerDeploymentVersionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteWorkerDeploymentVersionResponse: typing_extensions.TypeAlias = ( - DeleteWorkerDeploymentVersionResponse -) +global___DeleteWorkerDeploymentVersionResponse = DeleteWorkerDeploymentVersionResponse -@typing.final class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): """Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it. @@ -10674,7 +10102,7 @@ class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_name", b"deployment_name", "identity", @@ -10684,11 +10112,8 @@ class DeleteWorkerDeploymentRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteWorkerDeploymentRequest: typing_extensions.TypeAlias = ( - DeleteWorkerDeploymentRequest -) +global___DeleteWorkerDeploymentRequest = DeleteWorkerDeploymentRequest -@typing.final class DeleteWorkerDeploymentResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10696,11 +10121,8 @@ class DeleteWorkerDeploymentResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteWorkerDeploymentResponse: typing_extensions.TypeAlias = ( - DeleteWorkerDeploymentResponse -) +global___DeleteWorkerDeploymentResponse = DeleteWorkerDeploymentResponse -@typing.final class UpdateWorkerDeploymentVersionComputeConfigRequest( google.protobuf.message.Message ): @@ -10708,7 +10130,6 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ComputeConfigScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10727,10 +10148,11 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -10740,19 +10162,11 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( IDENTITY_FIELD_NUMBER: builtins.int REQUEST_ID_FIELD_NUMBER: builtins.int namespace: builtins.str - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" - request_id: builtins.str - """A unique identifier for this create request for idempotence. Typically UUIDv4. - If a second request with the same ID is recieved, it is considered a successful no-op. - Retrying with a different request ID for the same deployment name + build ID is an error. - """ @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" - @property def compute_config_scaling_groups( self, @@ -10763,13 +10177,18 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( """Optional. Contains the compute config scaling groups to add or update for the Worker Deployment. """ - @property def remove_compute_config_scaling_groups( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Optional. Contains the compute config scaling groups to remove from the Worker Deployment.""" - + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" + request_id: builtins.str + """A unique identifier for this create request for idempotence. Typically UUIDv4. + If a second request with the same ID is recieved, it is considered a successful no-op. + Retrying with a different request ID for the same deployment name + build ID is an error. + """ def __init__( self, *, @@ -10787,11 +10206,14 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( request_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_version", b"deployment_version"] + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config_scaling_groups", b"compute_config_scaling_groups", "deployment_version", @@ -10807,9 +10229,10 @@ class UpdateWorkerDeploymentVersionComputeConfigRequest( ], ) -> None: ... -Global___UpdateWorkerDeploymentVersionComputeConfigRequest: typing_extensions.TypeAlias = UpdateWorkerDeploymentVersionComputeConfigRequest +global___UpdateWorkerDeploymentVersionComputeConfigRequest = ( + UpdateWorkerDeploymentVersionComputeConfigRequest +) -@typing.final class UpdateWorkerDeploymentVersionComputeConfigResponse( google.protobuf.message.Message ): @@ -10819,9 +10242,10 @@ class UpdateWorkerDeploymentVersionComputeConfigResponse( self, ) -> None: ... -Global___UpdateWorkerDeploymentVersionComputeConfigResponse: typing_extensions.TypeAlias = UpdateWorkerDeploymentVersionComputeConfigResponse +global___UpdateWorkerDeploymentVersionComputeConfigResponse = ( + UpdateWorkerDeploymentVersionComputeConfigResponse +) -@typing.final class ValidateWorkerDeploymentVersionComputeConfigRequest( google.protobuf.message.Message ): @@ -10829,7 +10253,6 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class ComputeConfigScalingGroupsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10848,10 +10271,11 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -10860,14 +10284,11 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( REMOVE_COMPUTE_CONFIG_SCALING_GROUPS_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" - @property def compute_config_scaling_groups( self, @@ -10878,13 +10299,13 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( """Optional. Contains the compute config scaling groups to add or update for the Worker Deployment. """ - @property def remove_compute_config_scaling_groups( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """Optional. Contains the compute config scaling groups to remove from the Worker Deployment.""" - + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" def __init__( self, *, @@ -10901,11 +10322,14 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_version", b"deployment_version"] + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "compute_config_scaling_groups", b"compute_config_scaling_groups", "deployment_version", @@ -10919,9 +10343,10 @@ class ValidateWorkerDeploymentVersionComputeConfigRequest( ], ) -> None: ... -Global___ValidateWorkerDeploymentVersionComputeConfigRequest: typing_extensions.TypeAlias = ValidateWorkerDeploymentVersionComputeConfigRequest +global___ValidateWorkerDeploymentVersionComputeConfigRequest = ( + ValidateWorkerDeploymentVersionComputeConfigRequest +) -@typing.final class ValidateWorkerDeploymentVersionComputeConfigResponse( google.protobuf.message.Message ): @@ -10931,15 +10356,15 @@ class ValidateWorkerDeploymentVersionComputeConfigResponse( self, ) -> None: ... -Global___ValidateWorkerDeploymentVersionComputeConfigResponse: typing_extensions.TypeAlias = ValidateWorkerDeploymentVersionComputeConfigResponse +global___ValidateWorkerDeploymentVersionComputeConfigResponse = ( + ValidateWorkerDeploymentVersionComputeConfigResponse +) -@typing.final class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Message): """Used to update the user-defined metadata of a Worker Deployment Version.""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class UpsertEntriesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -10955,10 +10380,11 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -10970,14 +10396,11 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa namespace: builtins.str version: builtins.str """Deprecated. Use `deployment_version`.""" - identity: builtins.str - """Optional. The identity of the client who initiated this request.""" @property def deployment_version( self, ) -> temporalio.api.deployment.v1.message_pb2.WorkerDeploymentVersion: """Required.""" - @property def upsert_entries( self, @@ -10989,7 +10412,8 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """List of keys to remove from the metadata.""" - + identity: builtins.str + """Optional. The identity of the client who initiated this request.""" def __init__( self, *, @@ -11005,11 +10429,14 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa identity: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment_version", b"deployment_version"] + self, + field_name: typing_extensions.Literal[ + "deployment_version", b"deployment_version" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version", b"deployment_version", "identity", @@ -11025,11 +10452,10 @@ class UpdateWorkerDeploymentVersionMetadataRequest(google.protobuf.message.Messa ], ) -> None: ... -Global___UpdateWorkerDeploymentVersionMetadataRequest: typing_extensions.TypeAlias = ( +global___UpdateWorkerDeploymentVersionMetadataRequest = ( UpdateWorkerDeploymentVersionMetadataRequest ) -@typing.final class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11037,24 +10463,22 @@ class UpdateWorkerDeploymentVersionMetadataResponse(google.protobuf.message.Mess @property def metadata(self) -> temporalio.api.deployment.v1.message_pb2.VersionMetadata: """Full metadata after performing the update.""" - def __init__( self, *, metadata: temporalio.api.deployment.v1.message_pb2.VersionMetadata | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["metadata", b"metadata"] + self, field_name: typing_extensions.Literal["metadata", b"metadata"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["metadata", b"metadata"] + self, field_name: typing_extensions.Literal["metadata", b"metadata"] ) -> None: ... -Global___UpdateWorkerDeploymentVersionMetadataResponse: typing_extensions.TypeAlias = ( +global___UpdateWorkerDeploymentVersionMetadataResponse = ( UpdateWorkerDeploymentVersionMetadataResponse ) -@typing.final class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): """Update the ManagerIdentity of a Worker Deployment.""" @@ -11083,7 +10507,8 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): identity: builtins.str """Required. The identity of the client who initiated this request.""" def __init__( - self_, # pyright: ignore[reportSelfClsParameterName] + # pyright: reportSelfClsParameterName=false + self_, *, namespace: builtins.str = ..., deployment_name: builtins.str = ..., @@ -11094,7 +10519,7 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "manager_identity", b"manager_identity", "new_manager_identity", @@ -11105,7 +10530,7 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "conflict_token", b"conflict_token", "deployment_name", @@ -11124,14 +10549,13 @@ class SetWorkerDeploymentManagerRequest(google.protobuf.message.Message): ) -> None: ... def WhichOneof( self, - oneof_group: typing.Literal["new_manager_identity", b"new_manager_identity"], - ) -> typing.Literal["manager_identity", "self"] | None: ... + oneof_group: typing_extensions.Literal[ + "new_manager_identity", b"new_manager_identity" + ], + ) -> typing_extensions.Literal["manager_identity", "self"] | None: ... -Global___SetWorkerDeploymentManagerRequest: typing_extensions.TypeAlias = ( - SetWorkerDeploymentManagerRequest -) +global___SetWorkerDeploymentManagerRequest = SetWorkerDeploymentManagerRequest -@typing.final class SetWorkerDeploymentManagerResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11157,7 +10581,7 @@ class SetWorkerDeploymentManagerResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "conflict_token", b"conflict_token", "previous_manager_identity", @@ -11165,11 +10589,8 @@ class SetWorkerDeploymentManagerResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___SetWorkerDeploymentManagerResponse: typing_extensions.TypeAlias = ( - SetWorkerDeploymentManagerResponse -) +global___SetWorkerDeploymentManagerResponse = SetWorkerDeploymentManagerResponse -@typing.final class GetCurrentDeploymentRequest(google.protobuf.message.Message): """Returns the Current Deployment of a deployment series. [cleanup-wv-pre-release] Pre-release deployment APIs, clean up later @@ -11189,16 +10610,13 @@ class GetCurrentDeploymentRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "series_name", b"series_name" ], ) -> None: ... -Global___GetCurrentDeploymentRequest: typing_extensions.TypeAlias = ( - GetCurrentDeploymentRequest -) +global___GetCurrentDeploymentRequest = GetCurrentDeploymentRequest -@typing.final class GetCurrentDeploymentResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -11217,22 +10635,19 @@ class GetCurrentDeploymentResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_info", b"current_deployment_info" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_deployment_info", b"current_deployment_info" ], ) -> None: ... -Global___GetCurrentDeploymentResponse: typing_extensions.TypeAlias = ( - GetCurrentDeploymentResponse -) +global___GetCurrentDeploymentResponse = GetCurrentDeploymentResponse -@typing.final class GetDeploymentReachabilityRequest(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -11250,20 +10665,17 @@ class GetDeploymentReachabilityRequest(google.protobuf.message.Message): deployment: temporalio.api.deployment.v1.message_pb2.Deployment | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["deployment", b"deployment"] + self, field_name: typing_extensions.Literal["deployment", b"deployment"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment", b"deployment", "namespace", b"namespace" ], ) -> None: ... -Global___GetDeploymentReachabilityRequest: typing_extensions.TypeAlias = ( - GetDeploymentReachabilityRequest -) +global___GetDeploymentReachabilityRequest = GetDeploymentReachabilityRequest -@typing.final class GetDeploymentReachabilityResponse(google.protobuf.message.Message): """[cleanup-wv-pre-release] Pre-release deployment APIs, clean up later""" @@ -11272,19 +10684,18 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): DEPLOYMENT_INFO_FIELD_NUMBER: builtins.int REACHABILITY_FIELD_NUMBER: builtins.int LAST_UPDATE_TIME_FIELD_NUMBER: builtins.int - reachability: ( - temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType - ) @property def deployment_info( self, ) -> temporalio.api.deployment.v1.message_pb2.DeploymentInfo: ... + reachability: ( + temporalio.api.enums.v1.deployment_pb2.DeploymentReachability.ValueType + ) @property def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """Reachability level might come from server cache. This timestamp specifies when the value was actually calculated. """ - def __init__( self, *, @@ -11295,7 +10706,7 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_info", b"deployment_info", "last_update_time", @@ -11304,7 +10715,7 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_info", b"deployment_info", "last_update_time", @@ -11314,11 +10725,8 @@ class GetDeploymentReachabilityResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___GetDeploymentReachabilityResponse: typing_extensions.TypeAlias = ( - GetDeploymentReachabilityResponse -) +global___GetDeploymentReachabilityResponse = GetDeploymentReachabilityResponse -@typing.final class CreateWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11329,6 +10737,9 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int DESCRIPTION_FIELD_NUMBER: builtins.int namespace: builtins.str + @property + def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: + """The rule specification .""" force_scan: builtins.bool """If true, the rule will be applied to the currently running workflows via batch job. If not set , the rule will only be applied when triggering condition is satisfied. @@ -11340,10 +10751,6 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): """Identity of the actor who created the rule. Will be stored with the rule.""" description: builtins.str """Rule description.Will be stored with the rule.""" - @property - def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: - """The rule specification .""" - def __init__( self, *, @@ -11355,11 +10762,11 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): description: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["spec", b"spec"] + self, field_name: typing_extensions.Literal["spec", b"spec"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "description", b"description", "force_scan", @@ -11375,22 +10782,18 @@ class CreateWorkflowRuleRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CreateWorkflowRuleRequest: typing_extensions.TypeAlias = ( - CreateWorkflowRuleRequest -) +global___CreateWorkflowRuleRequest = CreateWorkflowRuleRequest -@typing.final class CreateWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULE_FIELD_NUMBER: builtins.int JOB_ID_FIELD_NUMBER: builtins.int - job_id: builtins.str - """Batch Job ID if force-scan flag was provided. Otherwise empty.""" @property def rule(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRule: """Created rule.""" - + job_id: builtins.str + """Batch Job ID if force-scan flag was provided. Otherwise empty.""" def __init__( self, *, @@ -11398,17 +10801,15 @@ class CreateWorkflowRuleResponse(google.protobuf.message.Message): job_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["rule", b"rule"] + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["job_id", b"job_id", "rule", b"rule"] + self, + field_name: typing_extensions.Literal["job_id", b"job_id", "rule", b"rule"], ) -> None: ... -Global___CreateWorkflowRuleResponse: typing_extensions.TypeAlias = ( - CreateWorkflowRuleResponse -) +global___CreateWorkflowRuleResponse = CreateWorkflowRuleResponse -@typing.final class DescribeWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11425,14 +10826,13 @@ class DescribeWorkflowRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["namespace", b"namespace", "rule_id", b"rule_id"], + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "rule_id", b"rule_id" + ], ) -> None: ... -Global___DescribeWorkflowRuleRequest: typing_extensions.TypeAlias = ( - DescribeWorkflowRuleRequest -) +global___DescribeWorkflowRuleRequest = DescribeWorkflowRuleRequest -@typing.final class DescribeWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11440,22 +10840,20 @@ class DescribeWorkflowRuleResponse(google.protobuf.message.Message): @property def rule(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRule: """The rule that was read.""" - def __init__( self, *, rule: temporalio.api.rules.v1.message_pb2.WorkflowRule | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["rule", b"rule"] + self, field_name: typing_extensions.Literal["rule", b"rule"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["rule", b"rule"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["rule", b"rule"] + ) -> None: ... -Global___DescribeWorkflowRuleResponse: typing_extensions.TypeAlias = ( - DescribeWorkflowRuleResponse -) +global___DescribeWorkflowRuleResponse = DescribeWorkflowRuleResponse -@typing.final class DeleteWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11472,14 +10870,13 @@ class DeleteWorkflowRuleRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["namespace", b"namespace", "rule_id", b"rule_id"], + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "rule_id", b"rule_id" + ], ) -> None: ... -Global___DeleteWorkflowRuleRequest: typing_extensions.TypeAlias = ( - DeleteWorkflowRuleRequest -) +global___DeleteWorkflowRuleRequest = DeleteWorkflowRuleRequest -@typing.final class DeleteWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11487,11 +10884,8 @@ class DeleteWorkflowRuleResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteWorkflowRuleResponse: typing_extensions.TypeAlias = ( - DeleteWorkflowRuleResponse -) +global___DeleteWorkflowRuleResponse = DeleteWorkflowRuleResponse -@typing.final class ListWorkflowRulesRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11507,28 +10901,25 @@ class ListWorkflowRulesRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListWorkflowRulesRequest: typing_extensions.TypeAlias = ( - ListWorkflowRulesRequest -) +global___ListWorkflowRulesRequest = ListWorkflowRulesRequest -@typing.final class ListWorkflowRulesResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RULES_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes @property def rules( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.rules.v1.message_pb2.WorkflowRule ]: ... + next_page_token: builtins.bytes def __init__( self, *, @@ -11540,16 +10931,13 @@ class ListWorkflowRulesResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "rules", b"rules" ], ) -> None: ... -Global___ListWorkflowRulesResponse: typing_extensions.TypeAlias = ( - ListWorkflowRulesResponse -) +global___ListWorkflowRulesResponse = ListWorkflowRulesResponse -@typing.final class TriggerWorkflowRuleRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11559,17 +10947,15 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): SPEC_FIELD_NUMBER: builtins.int IDENTITY_FIELD_NUMBER: builtins.int namespace: builtins.str - id: builtins.str - identity: builtins.str - """The identity of the client who initiated this request""" @property def execution(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Execution info of the workflow which scheduled this activity""" - + id: builtins.str @property def spec(self) -> temporalio.api.rules.v1.message_pb2.WorkflowRuleSpec: """Note: Rule ID and expiration date are not used in the trigger request.""" - + identity: builtins.str + """The identity of the client who initiated this request""" def __init__( self, *, @@ -11581,13 +10967,13 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "id", b"id", "rule", b"rule", "spec", b"spec" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "execution", b"execution", "id", @@ -11603,14 +10989,11 @@ class TriggerWorkflowRuleRequest(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["rule", b"rule"] - ) -> typing.Literal["id", "spec"] | None: ... + self, oneof_group: typing_extensions.Literal["rule", b"rule"] + ) -> typing_extensions.Literal["id", "spec"] | None: ... -Global___TriggerWorkflowRuleRequest: typing_extensions.TypeAlias = ( - TriggerWorkflowRuleRequest -) +global___TriggerWorkflowRuleRequest = TriggerWorkflowRuleRequest -@typing.final class TriggerWorkflowRuleResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11622,13 +11005,12 @@ class TriggerWorkflowRuleResponse(google.protobuf.message.Message): *, applied: builtins.bool = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["applied", b"applied"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["applied", b"applied"] + ) -> None: ... -Global___TriggerWorkflowRuleResponse: typing_extensions.TypeAlias = ( - TriggerWorkflowRuleResponse -) +global___TriggerWorkflowRuleResponse = TriggerWorkflowRuleResponse -@typing.final class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11640,14 +11022,14 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): """Namespace this worker belongs to.""" identity: builtins.str """The identity of the client who initiated this request.""" - resource_id: builtins.str - """Resource ID for routing. Contains the worker grouping key.""" @property def worker_heartbeat( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.worker.v1.message_pb2.WorkerHeartbeat ]: ... + resource_id: builtins.str + """Resource ID for routing. Contains the worker grouping key.""" def __init__( self, *, @@ -11661,7 +11043,7 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -11673,11 +11055,8 @@ class RecordWorkerHeartbeatRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RecordWorkerHeartbeatRequest: typing_extensions.TypeAlias = ( - RecordWorkerHeartbeatRequest -) +global___RecordWorkerHeartbeatRequest = RecordWorkerHeartbeatRequest -@typing.final class RecordWorkerHeartbeatResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11685,11 +11064,8 @@ class RecordWorkerHeartbeatResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RecordWorkerHeartbeatResponse: typing_extensions.TypeAlias = ( - RecordWorkerHeartbeatResponse -) +global___RecordWorkerHeartbeatResponse = RecordWorkerHeartbeatResponse -@typing.final class ListWorkersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11730,7 +11106,7 @@ class ListWorkersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "include_system_workers", b"include_system_workers", "namespace", @@ -11744,17 +11120,14 @@ class ListWorkersRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListWorkersRequest: typing_extensions.TypeAlias = ListWorkersRequest +global___ListWorkersRequest = ListWorkersRequest -@typing.final class ListWorkersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor WORKERS_INFO_FIELD_NUMBER: builtins.int WORKERS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes - """Next page token""" @property def workers_info( self, @@ -11764,7 +11137,6 @@ class ListWorkersResponse(google.protobuf.message.Message): """Deprecated: Use workers instead. This field returns full WorkerInfo which includes expensive runtime metrics. We will stop populating this field in the future. """ - @property def workers( self, @@ -11772,7 +11144,8 @@ class ListWorkersResponse(google.protobuf.message.Message): temporalio.api.worker.v1.message_pb2.WorkerListInfo ]: """Limited worker information.""" - + next_page_token: builtins.bytes + """Next page token""" def __init__( self, *, @@ -11788,7 +11161,7 @@ class ListWorkersResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "workers", @@ -11798,24 +11171,21 @@ class ListWorkersResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___ListWorkersResponse: typing_extensions.TypeAlias = ListWorkersResponse +global___ListWorkersResponse = ListWorkersResponse -@typing.final class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class RateLimitUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor RATE_LIMIT_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int - reason: builtins.str - """Reason for why the rate limit was set.""" @property def rate_limit(self) -> temporalio.api.taskqueue.v1.message_pb2.RateLimit: """Rate Limit to be updated""" - + reason: builtins.str + """Reason for why the rate limit was set.""" def __init__( self, *, @@ -11823,16 +11193,15 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): reason: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["rate_limit", b"rate_limit"] + self, field_name: typing_extensions.Literal["rate_limit", b"rate_limit"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "rate_limit", b"rate_limit", "reason", b"reason" ], ) -> None: ... - @typing.final class SetFairnessWeightOverridesEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11847,7 +11216,8 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): value: builtins.float = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -11866,22 +11236,20 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): @property def update_queue_rate_limit( self, - ) -> Global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to queue-wide rate limit. If not set, this configuration is unchanged. NOTE: A limit set by the worker is overriden; and restored again when reset. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. """ - @property def update_fairness_key_rate_limit_default( self, - ) -> Global___UpdateTaskQueueConfigRequest.RateLimitUpdate: + ) -> global___UpdateTaskQueueConfigRequest.RateLimitUpdate: """Update to the default fairness key rate limit. If not set, this configuration is unchanged. If the `rate_limit` field in the `RateLimitUpdate` is missing, remove the existing rate limit. """ - @property def set_fairness_weight_overrides( self, @@ -11889,7 +11257,6 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): """If set, overrides the fairness weight for each specified fairness key. Fairness keys not listed in this map will keep their existing overrides (if any). """ - @property def unset_fairness_weight_overrides( self, @@ -11898,7 +11265,6 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): Fairness weights for corresponding keys fall back to the values set during task creation (if any), or to the default weight of 1.0. """ - def __init__( self, *, @@ -11906,9 +11272,9 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): identity: builtins.str = ..., task_queue: builtins.str = ..., task_queue_type: temporalio.api.enums.v1.task_queue_pb2.TaskQueueType.ValueType = ..., - update_queue_rate_limit: Global___UpdateTaskQueueConfigRequest.RateLimitUpdate + update_queue_rate_limit: global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., - update_fairness_key_rate_limit_default: Global___UpdateTaskQueueConfigRequest.RateLimitUpdate + update_fairness_key_rate_limit_default: global___UpdateTaskQueueConfigRequest.RateLimitUpdate | None = ..., set_fairness_weight_overrides: collections.abc.Mapping[ builtins.str, builtins.float @@ -11919,7 +11285,7 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "update_fairness_key_rate_limit_default", b"update_fairness_key_rate_limit_default", "update_queue_rate_limit", @@ -11928,7 +11294,7 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -11948,11 +11314,8 @@ class UpdateTaskQueueConfigRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateTaskQueueConfigRequest: typing_extensions.TypeAlias = ( - UpdateTaskQueueConfigRequest -) +global___UpdateTaskQueueConfigRequest = UpdateTaskQueueConfigRequest -@typing.final class UpdateTaskQueueConfigResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11965,15 +11328,14 @@ class UpdateTaskQueueConfigResponse(google.protobuf.message.Message): config: temporalio.api.taskqueue.v1.message_pb2.TaskQueueConfig | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["config", b"config"] + self, field_name: typing_extensions.Literal["config", b"config"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["config", b"config"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["config", b"config"] + ) -> None: ... -Global___UpdateTaskQueueConfigResponse: typing_extensions.TypeAlias = ( - UpdateTaskQueueConfigResponse -) +global___UpdateTaskQueueConfigResponse = UpdateTaskQueueConfigResponse -@typing.final class FetchWorkerConfigRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -11988,14 +11350,13 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" reason: builtins.str """Reason for sending worker command, can be used for audit purpose.""" - resource_id: builtins.str - """Resource ID for routing. Contains the worker grouping key.""" @property def selector(self) -> temporalio.api.common.v1.message_pb2.WorkerSelector: """Defines which workers should receive this command. only single worker is supported at this time. """ - + resource_id: builtins.str + """Resource ID for routing. Contains the worker grouping key.""" def __init__( self, *, @@ -12006,11 +11367,11 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): resource_id: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["selector", b"selector"] + self, field_name: typing_extensions.Literal["selector", b"selector"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -12024,11 +11385,8 @@ class FetchWorkerConfigRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___FetchWorkerConfigRequest: typing_extensions.TypeAlias = ( - FetchWorkerConfigRequest -) +global___FetchWorkerConfigRequest = FetchWorkerConfigRequest -@typing.final class FetchWorkerConfigResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12036,7 +11394,6 @@ class FetchWorkerConfigResponse(google.protobuf.message.Message): @property def worker_config(self) -> temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig: """The worker configuration.""" - def __init__( self, *, @@ -12044,17 +11401,14 @@ class FetchWorkerConfigResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["worker_config", b"worker_config"] + self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["worker_config", b"worker_config"] + self, field_name: typing_extensions.Literal["worker_config", b"worker_config"] ) -> None: ... -Global___FetchWorkerConfigResponse: typing_extensions.TypeAlias = ( - FetchWorkerConfigResponse -) +global___FetchWorkerConfigResponse = FetchWorkerConfigResponse -@typing.final class UpdateWorkerConfigRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12071,22 +11425,19 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): """The identity of the client who initiated this request.""" reason: builtins.str """Reason for sending worker command, can be used for audit purpose.""" - resource_id: builtins.str - """Resource ID for routing. Contains the worker grouping key.""" @property def worker_config(self) -> temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig: """Partial updates are accepted and controlled by update_mask. The worker configuration to set. """ - @property def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: """Controls which fields from `worker_config` will be applied""" - @property def selector(self) -> temporalio.api.common.v1.message_pb2.WorkerSelector: """Defines which workers should receive this command.""" - + resource_id: builtins.str + """Resource ID for routing. Contains the worker grouping key.""" def __init__( self, *, @@ -12101,7 +11452,7 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "selector", b"selector", "update_mask", @@ -12112,7 +11463,7 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -12130,11 +11481,8 @@ class UpdateWorkerConfigRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UpdateWorkerConfigRequest: typing_extensions.TypeAlias = ( - UpdateWorkerConfigRequest -) +global___UpdateWorkerConfigRequest = UpdateWorkerConfigRequest -@typing.final class UpdateWorkerConfigResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12142,7 +11490,6 @@ class UpdateWorkerConfigResponse(google.protobuf.message.Message): @property def worker_config(self) -> temporalio.api.sdk.v1.worker_config_pb2.WorkerConfig: """The worker configuration. Will be returned if the command was sent to a single worker.""" - def __init__( self, *, @@ -12151,25 +11498,22 @@ class UpdateWorkerConfigResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "response", b"response", "worker_config", b"worker_config" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "response", b"response", "worker_config", b"worker_config" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["response", b"response"] - ) -> typing.Literal["worker_config"] | None: ... + self, oneof_group: typing_extensions.Literal["response", b"response"] + ) -> typing_extensions.Literal["worker_config"] | None: ... -Global___UpdateWorkerConfigResponse: typing_extensions.TypeAlias = ( - UpdateWorkerConfigResponse -) +global___UpdateWorkerConfigResponse = UpdateWorkerConfigResponse -@typing.final class DescribeWorkerRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12187,14 +11531,13 @@ class DescribeWorkerRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "worker_instance_key", b"worker_instance_key" ], ) -> None: ... -Global___DescribeWorkerRequest: typing_extensions.TypeAlias = DescribeWorkerRequest +global___DescribeWorkerRequest = DescribeWorkerRequest -@typing.final class DescribeWorkerResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12207,15 +11550,14 @@ class DescribeWorkerResponse(google.protobuf.message.Message): worker_info: temporalio.api.worker.v1.message_pb2.WorkerInfo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["worker_info", b"worker_info"] + self, field_name: typing_extensions.Literal["worker_info", b"worker_info"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["worker_info", b"worker_info"] + self, field_name: typing_extensions.Literal["worker_info", b"worker_info"] ) -> None: ... -Global___DescribeWorkerResponse: typing_extensions.TypeAlias = DescribeWorkerResponse +global___DescribeWorkerResponse = DescribeWorkerResponse -@typing.final class CountWorkersRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12240,7 +11582,7 @@ class CountWorkersRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "include_system_workers", b"include_system_workers", "namespace", @@ -12250,9 +11592,8 @@ class CountWorkersRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___CountWorkersRequest: typing_extensions.TypeAlias = CountWorkersRequest +global___CountWorkersRequest = CountWorkersRequest -@typing.final class CountWorkersResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12264,11 +11605,12 @@ class CountWorkersResponse(google.protobuf.message.Message): *, count: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["count", b"count"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["count", b"count"] + ) -> None: ... -Global___CountWorkersResponse: typing_extensions.TypeAlias = CountWorkersResponse +global___CountWorkersResponse = CountWorkersResponse -@typing.final class PauseWorkflowExecutionRequest(google.protobuf.message.Message): """Request to pause a workflow execution.""" @@ -12304,7 +11646,7 @@ class PauseWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -12320,11 +11662,8 @@ class PauseWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PauseWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - PauseWorkflowExecutionRequest -) +global___PauseWorkflowExecutionRequest = PauseWorkflowExecutionRequest -@typing.final class PauseWorkflowExecutionResponse(google.protobuf.message.Message): """Response to a successful PauseWorkflowExecution request.""" @@ -12334,11 +11673,8 @@ class PauseWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___PauseWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - PauseWorkflowExecutionResponse -) +global___PauseWorkflowExecutionResponse = PauseWorkflowExecutionResponse -@typing.final class UnpauseWorkflowExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12372,7 +11708,7 @@ class UnpauseWorkflowExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -12388,11 +11724,8 @@ class UnpauseWorkflowExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___UnpauseWorkflowExecutionRequest: typing_extensions.TypeAlias = ( - UnpauseWorkflowExecutionRequest -) +global___UnpauseWorkflowExecutionRequest = UnpauseWorkflowExecutionRequest -@typing.final class UnpauseWorkflowExecutionResponse(google.protobuf.message.Message): """Response to a successful UnpauseWorkflowExecution request.""" @@ -12402,11 +11735,8 @@ class UnpauseWorkflowExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___UnpauseWorkflowExecutionResponse: typing_extensions.TypeAlias = ( - UnpauseWorkflowExecutionResponse -) +global___UnpauseWorkflowExecutionResponse = UnpauseWorkflowExecutionResponse -@typing.final class StartActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12442,26 +11772,12 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy. """ - id_reuse_policy: ( - temporalio.api.enums.v1.activity_pb2.ActivityIdReusePolicy.ValueType - ) - """Defines whether to allow re-using the activity id from a previously *closed* activity. - The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE. - """ - id_conflict_policy: ( - temporalio.api.enums.v1.activity_pb2.ActivityIdConflictPolicy.ValueType - ) - """Defines how to resolve an activity id conflict with a *running* activity. - The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL. - """ @property def activity_type(self) -> temporalio.api.common.v1.message_pb2.ActivityType: """The type of the activity, a string that corresponds to a registered activity on a worker.""" - @property def task_queue(self) -> temporalio.api.taskqueue.v1.message_pb2.TaskQueue: """Task queue to schedule this activity on.""" - @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for an activity completion. Limits how long @@ -12470,7 +11786,6 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This @@ -12480,7 +11795,6 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after being picked up by a worker. This @@ -12490,37 +11804,41 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum permitted time between successful worker heartbeats.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.""" - @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized arguments to the activity. These are passed as arguments to the activity function.""" - + id_reuse_policy: ( + temporalio.api.enums.v1.activity_pb2.ActivityIdReusePolicy.ValueType + ) + """Defines whether to allow re-using the activity id from a previously *closed* activity. + The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE. + """ + id_conflict_policy: ( + temporalio.api.enums.v1.activity_pb2.ActivityIdConflictPolicy.ValueType + ) + """Defines how to resolve an activity id conflict with a *running* activity. + The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL. + """ @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes for indexing.""" - @property def header(self) -> temporalio.api.common.v1.message_pb2.Header: """Header for context propagation and tracing purposes.""" - @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.""" - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority metadata.""" - @property def completion_callbacks( self, @@ -12530,7 +11848,6 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): """Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration. """ - @property def links( self, @@ -12540,17 +11857,14 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): """Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here. """ - @property def on_conflict_options( self, ) -> temporalio.api.common.v1.message_pb2.OnConflictOptions: """Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.""" - @property def start_delay(self) -> google.protobuf.duration_pb2.Duration: """Time to wait before dispatching the first activity task. This delay is not applied to retry attempts.""" - def __init__( self, *, @@ -12586,7 +11900,7 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_type", b"activity_type", "header", @@ -12619,7 +11933,7 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -12667,11 +11981,8 @@ class StartActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___StartActivityExecutionRequest: typing_extensions.TypeAlias = ( - StartActivityExecutionRequest -) +global___StartActivityExecutionRequest = StartActivityExecutionRequest -@typing.final class StartActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12685,7 +11996,6 @@ class StartActivityExecutionResponse(google.protobuf.message.Message): @property def link(self) -> temporalio.api.common.v1.message_pb2.Link: """Link to the started activity.""" - def __init__( self, *, @@ -12694,20 +12004,17 @@ class StartActivityExecutionResponse(google.protobuf.message.Message): link: temporalio.api.common.v1.message_pb2.Link | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["link", b"link"] + self, field_name: typing_extensions.Literal["link", b"link"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "link", b"link", "run_id", b"run_id", "started", b"started" ], ) -> None: ... -Global___StartActivityExecutionResponse: typing_extensions.TypeAlias = ( - StartActivityExecutionResponse -) +global___StartActivityExecutionResponse = StartActivityExecutionResponse -@typing.final class DescribeActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12753,7 +12060,7 @@ class DescribeActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "include_heartbeat_details", @@ -12773,11 +12080,8 @@ class DescribeActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeActivityExecutionRequest: typing_extensions.TypeAlias = ( - DescribeActivityExecutionRequest -) +global___DescribeActivityExecutionRequest = DescribeActivityExecutionRequest -@typing.final class DescribeActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12789,26 +12093,23 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): CALLBACKS_FIELD_NUMBER: builtins.int run_id: builtins.str """The run ID of the activity, useful when run_id was not specified in the request.""" - long_poll_token: builtins.bytes - """Token for follow-on long-poll requests. Absent only if the activity is complete.""" @property def info(self) -> temporalio.api.activity.v1.message_pb2.ActivityExecutionInfo: """Information about the activity execution. Fields heartbeat_details and last_failure are omitted unless the request has include_heartbeat_details or include_last_failure set to true, respectively. """ - @property def input(self) -> temporalio.api.common.v1.message_pb2.Payloads: """Serialized activity input, passed as arguments to the activity function. Only set if include_input was true in the request. """ - @property def outcome( self, ) -> temporalio.api.activity.v1.message_pb2.ActivityExecutionOutcome: """Only set if the activity is completed and include_outcome was true in the request.""" - + long_poll_token: builtins.bytes + """Token for follow-on long-poll requests. Absent only if the activity is complete.""" @property def callbacks( self, @@ -12816,7 +12117,6 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): temporalio.api.activity.v1.message_pb2.CallbackInfo ]: """Callbacks attached to this activity execution and their current state.""" - def __init__( self, *, @@ -12833,13 +12133,13 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "info", b"info", "input", b"input", "outcome", b"outcome" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "callbacks", b"callbacks", "info", @@ -12855,11 +12155,8 @@ class DescribeActivityExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeActivityExecutionResponse: typing_extensions.TypeAlias = ( - DescribeActivityExecutionResponse -) +global___DescribeActivityExecutionResponse = DescribeActivityExecutionResponse -@typing.final class PollActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12879,7 +12176,7 @@ class PollActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "namespace", @@ -12889,11 +12186,8 @@ class PollActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PollActivityExecutionRequest: typing_extensions.TypeAlias = ( - PollActivityExecutionRequest -) +global___PollActivityExecutionRequest = PollActivityExecutionRequest -@typing.final class PollActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12913,17 +12207,17 @@ class PollActivityExecutionResponse(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["outcome", b"outcome"] + self, field_name: typing_extensions.Literal["outcome", b"outcome"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["outcome", b"outcome", "run_id", b"run_id"] + self, + field_name: typing_extensions.Literal[ + "outcome", b"outcome", "run_id", b"run_id" + ], ) -> None: ... -Global___PollActivityExecutionResponse: typing_extensions.TypeAlias = ( - PollActivityExecutionResponse -) +global___PollActivityExecutionResponse = PollActivityExecutionResponse -@typing.final class ListActivityExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -12948,7 +12242,7 @@ class ListActivityExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -12960,24 +12254,21 @@ class ListActivityExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListActivityExecutionsRequest: typing_extensions.TypeAlias = ( - ListActivityExecutionsRequest -) +global___ListActivityExecutionsRequest = ListActivityExecutionsRequest -@typing.final class ListActivityExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes - """Token to use to fetch the next page. If empty, there is no next page.""" @property def executions( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.activity.v1.message_pb2.ActivityExecutionListInfo ]: ... + next_page_token: builtins.bytes + """Token to use to fetch the next page. If empty, there is no next page.""" def __init__( self, *, @@ -12989,20 +12280,16 @@ class ListActivityExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "executions", b"executions", "next_page_token", b"next_page_token" ], ) -> None: ... -Global___ListActivityExecutionsResponse: typing_extensions.TypeAlias = ( - ListActivityExecutionsResponse -) +global___ListActivityExecutionsResponse = ListActivityExecutionsResponse -@typing.final class StartNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13017,7 +12304,8 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... NAMESPACE_FIELD_NUMBER: builtins.int @@ -13054,18 +12342,6 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" - id_reuse_policy: ( - temporalio.api.enums.v1.nexus_pb2.NexusOperationIdReusePolicy.ValueType - ) - """Defines whether to allow re-using the operation id from a previously *closed* operation. - The default policy is NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE. - """ - id_conflict_policy: ( - temporalio.api.enums.v1.nexus_pb2.NexusOperationIdConflictPolicy.ValueType - ) - """Defines how to resolve an operation id conflict with a *running* operation. - The default policy is NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL. - """ @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. @@ -13074,7 +12350,6 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -13084,7 +12359,6 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -13094,17 +12368,26 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --) """ - @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Serialized input to the operation. Passed as the request payload.""" - + id_reuse_policy: ( + temporalio.api.enums.v1.nexus_pb2.NexusOperationIdReusePolicy.ValueType + ) + """Defines whether to allow re-using the operation id from a previously *closed* operation. + The default policy is NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE. + """ + id_conflict_policy: ( + temporalio.api.enums.v1.nexus_pb2.NexusOperationIdConflictPolicy.ValueType + ) + """Defines how to resolve an operation id conflict with a *running* operation. + The default policy is NEXUS_OPERATION_ID_CONFLICT_POLICY_FAIL. + """ @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes for indexing.""" - @property def nexus_header( self, @@ -13116,11 +12399,9 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - @property def user_metadata(self) -> temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata: """Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.""" - def __init__( self, *, @@ -13145,7 +12426,7 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -13162,7 +12443,7 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "endpoint", b"endpoint", "id_conflict_policy", @@ -13198,11 +12479,8 @@ class StartNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___StartNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( - StartNexusOperationExecutionRequest -) +global___StartNexusOperationExecutionRequest = StartNexusOperationExecutionRequest -@typing.final class StartNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13219,14 +12497,14 @@ class StartNexusOperationExecutionResponse(google.protobuf.message.Message): started: builtins.bool = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["run_id", b"run_id", "started", b"started"] + self, + field_name: typing_extensions.Literal[ + "run_id", b"run_id", "started", b"started" + ], ) -> None: ... -Global___StartNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( - StartNexusOperationExecutionResponse -) +global___StartNexusOperationExecutionResponse = StartNexusOperationExecutionResponse -@typing.final class DescribeNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13264,7 +12542,7 @@ class DescribeNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "include_input", b"include_input", "include_outcome", @@ -13280,11 +12558,8 @@ class DescribeNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DescribeNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( - DescribeNexusOperationExecutionRequest -) +global___DescribeNexusOperationExecutionRequest = DescribeNexusOperationExecutionRequest -@typing.final class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13296,26 +12571,22 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): LONG_POLL_TOKEN_FIELD_NUMBER: builtins.int run_id: builtins.str """The run ID of the operation, useful when run_id was not specified in the request.""" - long_poll_token: builtins.bytes - """Token for follow-on long-poll requests. Absent only if the operation is complete.""" @property def info(self) -> temporalio.api.nexus.v1.message_pb2.NexusOperationExecutionInfo: """Information about the operation.""" - @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Serialized operation input, passed as the request payload. Only set if include_input was true in the request. """ - @property def result(self) -> temporalio.api.common.v1.message_pb2.Payload: """The result if the operation completed successfully.""" - @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The failure if the operation completed unsuccessfully.""" - + long_poll_token: builtins.bytes + """Token for follow-on long-poll requests. Absent only if the operation is complete.""" def __init__( self, *, @@ -13329,7 +12600,7 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "info", @@ -13344,7 +12615,7 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "info", @@ -13362,14 +12633,13 @@ class DescribeNexusOperationExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["outcome", b"outcome"] - ) -> typing.Literal["result", "failure"] | None: ... + self, oneof_group: typing_extensions.Literal["outcome", b"outcome"] + ) -> typing_extensions.Literal["result", "failure"] | None: ... -Global___DescribeNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( +global___DescribeNexusOperationExecutionResponse = ( DescribeNexusOperationExecutionResponse ) -@typing.final class PollNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13393,7 +12663,7 @@ class PollNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "operation_id", @@ -13405,11 +12675,8 @@ class PollNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___PollNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( - PollNexusOperationExecutionRequest -) +global___PollNexusOperationExecutionRequest = PollNexusOperationExecutionRequest -@typing.final class PollNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13427,11 +12694,9 @@ class PollNexusOperationExecutionResponse(google.protobuf.message.Message): @property def result(self) -> temporalio.api.common.v1.message_pb2.Payload: """The result if the operation completed successfully.""" - @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The failure if the operation completed unsuccessfully.""" - def __init__( self, *, @@ -13443,13 +12708,13 @@ class PollNexusOperationExecutionResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "outcome", b"outcome", "result", b"result" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "operation_token", @@ -13465,14 +12730,11 @@ class PollNexusOperationExecutionResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["outcome", b"outcome"] - ) -> typing.Literal["result", "failure"] | None: ... + self, oneof_group: typing_extensions.Literal["outcome", b"outcome"] + ) -> typing_extensions.Literal["result", "failure"] | None: ... -Global___PollNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( - PollNexusOperationExecutionResponse -) +global___PollNexusOperationExecutionResponse = PollNexusOperationExecutionResponse -@typing.final class ListNexusOperationExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13511,7 +12773,7 @@ class ListNexusOperationExecutionsRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "next_page_token", @@ -13523,24 +12785,21 @@ class ListNexusOperationExecutionsRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___ListNexusOperationExecutionsRequest: typing_extensions.TypeAlias = ( - ListNexusOperationExecutionsRequest -) +global___ListNexusOperationExecutionsRequest = ListNexusOperationExecutionsRequest -@typing.final class ListNexusOperationExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor OPERATIONS_FIELD_NUMBER: builtins.int NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int - next_page_token: builtins.bytes - """Token to use to fetch the next page. If empty, there is no next page.""" @property def operations( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.nexus.v1.message_pb2.NexusOperationExecutionListInfo ]: ... + next_page_token: builtins.bytes + """Token to use to fetch the next page. If empty, there is no next page.""" def __init__( self, *, @@ -13552,16 +12811,13 @@ class ListNexusOperationExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "next_page_token", b"next_page_token", "operations", b"operations" ], ) -> None: ... -Global___ListNexusOperationExecutionsResponse: typing_extensions.TypeAlias = ( - ListNexusOperationExecutionsResponse -) +global___ListNexusOperationExecutionsResponse = ListNexusOperationExecutionsResponse -@typing.final class CountActivityExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13577,30 +12833,29 @@ class CountActivityExecutionsRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "query", b"query" + ], ) -> None: ... -Global___CountActivityExecutionsRequest: typing_extensions.TypeAlias = ( - CountActivityExecutionsRequest -) +global___CountActivityExecutionsRequest = CountActivityExecutionsRequest -@typing.final class CountActivityExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int - count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... + count: builtins.int def __init__( self, *, @@ -13612,7 +12867,7 @@ class CountActivityExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -13630,30 +12885,27 @@ class CountActivityExecutionsResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CountActivityExecutionsResponse.AggregationGroup + global___CountActivityExecutionsResponse.AggregationGroup ]: """Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ - def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - Global___CountActivityExecutionsResponse.AggregationGroup + global___CountActivityExecutionsResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["count", b"count", "groups", b"groups"] + self, + field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], ) -> None: ... -Global___CountActivityExecutionsResponse: typing_extensions.TypeAlias = ( - CountActivityExecutionsResponse -) +global___CountActivityExecutionsResponse = CountActivityExecutionsResponse -@typing.final class CountNexusOperationExecutionsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13671,30 +12923,29 @@ class CountNexusOperationExecutionsRequest(google.protobuf.message.Message): query: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["namespace", b"namespace", "query", b"query"] + self, + field_name: typing_extensions.Literal[ + "namespace", b"namespace", "query", b"query" + ], ) -> None: ... -Global___CountNexusOperationExecutionsRequest: typing_extensions.TypeAlias = ( - CountNexusOperationExecutionsRequest -) +global___CountNexusOperationExecutionsRequest = CountNexusOperationExecutionsRequest -@typing.final class CountNexusOperationExecutionsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class AggregationGroup(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor GROUP_VALUES_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int - count: builtins.int @property def group_values( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... + count: builtins.int def __init__( self, *, @@ -13706,7 +12957,7 @@ class CountNexusOperationExecutionsResponse(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "count", b"count", "group_values", b"group_values" ], ) -> None: ... @@ -13724,30 +12975,27 @@ class CountNexusOperationExecutionsResponse(google.protobuf.message.Message): def groups( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___CountNexusOperationExecutionsResponse.AggregationGroup + global___CountNexusOperationExecutionsResponse.AggregationGroup ]: """Contains the groups if the request is grouping by a field. The list might not be complete, and the counts of each group is approximate. """ - def __init__( self, *, count: builtins.int = ..., groups: collections.abc.Iterable[ - Global___CountNexusOperationExecutionsResponse.AggregationGroup + global___CountNexusOperationExecutionsResponse.AggregationGroup ] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["count", b"count", "groups", b"groups"] + self, + field_name: typing_extensions.Literal["count", b"count", "groups", b"groups"], ) -> None: ... -Global___CountNexusOperationExecutionsResponse: typing_extensions.TypeAlias = ( - CountNexusOperationExecutionsResponse -) +global___CountNexusOperationExecutionsResponse = CountNexusOperationExecutionsResponse -@typing.final class RequestCancelActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13781,7 +13029,7 @@ class RequestCancelActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "identity", @@ -13797,11 +13045,8 @@ class RequestCancelActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___RequestCancelActivityExecutionRequest: typing_extensions.TypeAlias = ( - RequestCancelActivityExecutionRequest -) +global___RequestCancelActivityExecutionRequest = RequestCancelActivityExecutionRequest -@typing.final class RequestCancelActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13809,11 +13054,8 @@ class RequestCancelActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___RequestCancelActivityExecutionResponse: typing_extensions.TypeAlias = ( - RequestCancelActivityExecutionResponse -) +global___RequestCancelActivityExecutionResponse = RequestCancelActivityExecutionResponse -@typing.final class TerminateActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13845,7 +13087,7 @@ class TerminateActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "identity", @@ -13861,11 +13103,8 @@ class TerminateActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___TerminateActivityExecutionRequest: typing_extensions.TypeAlias = ( - TerminateActivityExecutionRequest -) +global___TerminateActivityExecutionRequest = TerminateActivityExecutionRequest -@typing.final class TerminateActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13873,11 +13112,8 @@ class TerminateActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___TerminateActivityExecutionResponse: typing_extensions.TypeAlias = ( - TerminateActivityExecutionResponse -) +global___TerminateActivityExecutionResponse = TerminateActivityExecutionResponse -@typing.final class DeleteActivityExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13897,7 +13133,7 @@ class DeleteActivityExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "namespace", @@ -13907,11 +13143,8 @@ class DeleteActivityExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteActivityExecutionRequest: typing_extensions.TypeAlias = ( - DeleteActivityExecutionRequest -) +global___DeleteActivityExecutionRequest = DeleteActivityExecutionRequest -@typing.final class DeleteActivityExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13919,11 +13152,8 @@ class DeleteActivityExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteActivityExecutionResponse: typing_extensions.TypeAlias = ( - DeleteActivityExecutionResponse -) +global___DeleteActivityExecutionResponse = DeleteActivityExecutionResponse -@typing.final class RequestCancelNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13955,7 +13185,7 @@ class RequestCancelNexusOperationExecutionRequest(google.protobuf.message.Messag ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -13971,11 +13201,10 @@ class RequestCancelNexusOperationExecutionRequest(google.protobuf.message.Messag ], ) -> None: ... -Global___RequestCancelNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( +global___RequestCancelNexusOperationExecutionRequest = ( RequestCancelNexusOperationExecutionRequest ) -@typing.final class RequestCancelNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -13983,11 +13212,10 @@ class RequestCancelNexusOperationExecutionResponse(google.protobuf.message.Messa self, ) -> None: ... -Global___RequestCancelNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( +global___RequestCancelNexusOperationExecutionResponse = ( RequestCancelNexusOperationExecutionResponse ) -@typing.final class TerminateNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -14019,7 +13247,7 @@ class TerminateNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "identity", b"identity", "namespace", @@ -14035,11 +13263,10 @@ class TerminateNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___TerminateNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( +global___TerminateNexusOperationExecutionRequest = ( TerminateNexusOperationExecutionRequest ) -@typing.final class TerminateNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -14047,11 +13274,10 @@ class TerminateNexusOperationExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___TerminateNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( +global___TerminateNexusOperationExecutionResponse = ( TerminateNexusOperationExecutionResponse ) -@typing.final class DeleteNexusOperationExecutionRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -14071,7 +13297,7 @@ class DeleteNexusOperationExecutionRequest(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "operation_id", @@ -14081,11 +13307,8 @@ class DeleteNexusOperationExecutionRequest(google.protobuf.message.Message): ], ) -> None: ... -Global___DeleteNexusOperationExecutionRequest: typing_extensions.TypeAlias = ( - DeleteNexusOperationExecutionRequest -) +global___DeleteNexusOperationExecutionRequest = DeleteNexusOperationExecutionRequest -@typing.final class DeleteNexusOperationExecutionResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -14093,6 +13316,4 @@ class DeleteNexusOperationExecutionResponse(google.protobuf.message.Message): self, ) -> None: ... -Global___DeleteNexusOperationExecutionResponse: typing_extensions.TypeAlias = ( - DeleteNexusOperationExecutionResponse -) +global___DeleteNexusOperationExecutionResponse = DeleteNexusOperationExecutionResponse diff --git a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py index 05d174276..bf947056a 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.py @@ -1,28 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc - -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/workflowservice/v1/request_response_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) diff --git a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi index 56d3cebc2..f3a5a087e 100644 --- a/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi +++ b/temporalio/api/workflowservice/v1/request_response_pb2_grpc.pyi @@ -2,23 +2,3 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ - -import abc -import collections.abc -import typing - -import grpc -import grpc.aio - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str diff --git a/temporalio/api/workflowservice/v1/service_pb2.py b/temporalio/api/workflowservice/v1/service_pb2.py index 02b7dd745..502f68ba6 100644 --- a/temporalio/api/workflowservice/v1/service_pb2.py +++ b/temporalio/api/workflowservice/v1/service_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/api/workflowservice/v1/service.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/api/workflowservice/v1/service.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -37,697 +27,498 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x1cgoogle/api/annotations.proto\x1a!nexusannotations/v1/options.proto\x1a+temporal/api/protometa/v1/annotations.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto2\x98\xaf\x02\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse"7\x82\xd3\xe4\x93\x02\x31"\x13/cluster/namespaces:\x01*Z\x17"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse"]\x82\xd3\xe4\x93\x02W"&/cluster/namespaces/{namespace}/update:\x01*Z*"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse"\x00\x12\xc6\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse"\xaa\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xc2\x01\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfe\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse"\xd3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xa3\x03\n"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse"\xe3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\xcd\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd7\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xce\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcd\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xc2\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse"\x97\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02g"*/namespaces/{namespace}/activity-heartbeat:\x01*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\x01*\x12\xa8\x04\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse"\xf1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xc0\x02":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*\x12\xc3\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/activity-complete:\x01*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\x01*\x12\xa7\x04\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse"\xed\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xbc\x02"9/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*\x12\xb2\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse"\x8d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02]"%/namespaces/{namespace}/activity-fail:\x01*Z1",/api/v1/namespaces/{namespace}/activity-fail:\x01*\x12\x8e\x04\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse"\xdd\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xac\x02"5/namespaces/{namespace}/activities/{activity_id}/fail:\x01*ZA".temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse"\xf0\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xa3\x01"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xa0\x03\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse"\xf8\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xab\x01"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\xe4\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse"F\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse"\x00\x12\xd9\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd2\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse"=\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse"\x00\x12\xfc\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse"\xfb\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\xb7\x01"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xe7\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse"\xc2\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\xc2\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse"\xb5\x01\x8a\x9d\xcc\x1b\x33\n\x14temporal-resource-id\x12\x1btaskqueue:{task_queue.name}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xa8\x02\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse"\xa4\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xe2\x01\n\x0e\x43ountSchedules\x12\x36.temporal.api.workflowservice.v1.CountSchedulesRequest\x1a\x37.temporal.api.workflowservice.v1.CountSchedulesResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/schedule-countZ/\x12-/api/v1/namespaces/{namespace}/schedule-count\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\x81\x04\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse"\xca\x02\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xb0\x03\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse"\xf3\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\xb3\x01"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xe7\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xae\x02\n\x16\x43reateWorkerDeployment\x12>.temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse"\x92\x01\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse"\xa0\x01\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\xc4\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd9\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd0\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xe8\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse"\xcf\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/workers/heartbeat:\x01*Z5"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xd8\x01\n\x0c\x43ountWorkers\x12\x34.temporal.api.workflowservice.v1.CountWorkersRequest\x1a\x35.temporal.api.workflowservice.v1.CountWorkersResponse"[\x82\xd3\xe4\x93\x02U\x12$/namespaces/{namespace}/worker-countZ-\x12+/api/v1/namespaces/{namespace}/worker-count\x12\xe2\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse"\xc9\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16taskqueue:{task_queue}\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xa8\x02\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse"\x9b\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/workers/fetch-config:\x01*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\xad\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse"\x9d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/workers/update-config:\x01*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x12\xcd\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse"\xc9\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1cworker:{worker_instance_key}\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\x12\x45/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x12\xd2\x02\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02}"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*ZA"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x12\xc8\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse"\xac\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02s"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x12\xb6\x02\n\x1cStartNexusOperationExecution\x12\x44.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest\x1a\x45.temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse"\x88\x01\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*ZC">/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*\x12\xcb\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse"\xa6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x12\xb8\x02\n\x1f\x44\x65scribeNexusOperationExecution\x12G.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest\x1aH.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse"\x81\x01\x82\xd3\xe4\x93\x02{\x12\x37/namespaces/{namespace}/nexus-operations/{operation_id}Z@\x12>/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}\x12\xcf\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x12\xb7\x02\n\x1bPollNexusOperationExecution\x12\x43.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest\x1a\x44.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse"W\x82\xd3\xe4\x93\x02Q\x12"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\x90\x02\n\x1cListNexusOperationExecutions\x12\x44.temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/nexus-operationsZ1\x12//api/v1/namespaces/{namespace}/nexus-operations\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\x9d\x02\n\x1d\x43ountNexusOperationExecutions\x12\x45.temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest\x1a\x46.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse"m\x82\xd3\xe4\x93\x02g\x12-/namespaces/{namespace}/nexus-operation-countZ6\x12\x34/api/v1/namespaces/{namespace}/nexus-operation-count\x12\xef\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse"\xbb\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x12\xdc\x02\n$RequestCancelNexusOperationExecution\x12L.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest\x1aM.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*ZJ"E/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*\x12\xe9\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse"\xc1\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x87\x01":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse"\x00\x12\xfd\x03\n\x16PauseActivityExecution\x12>.temporal.api.workflowservice.v1.PauseActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseActivityExecutionResponse"\xe1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*\x12\xfd\x03\n\x16ResetActivityExecution\x12>.temporal.api.workflowservice.v1.ResetActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetActivityExecutionResponse"\xe1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*\x12\x8b\x04\n\x18UnpauseActivityExecution\x12@.temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest\x1a\x41.temporal.api.workflowservice.v1.UnpauseActivityExecutionResponse"\xe9\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xb8\x02"8/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*\x12\xb9\x04\n\x1eUpdateActivityExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsResponse"\x85\x03\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xd4\x02"?/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*\x12\xd6\x02\n TerminateNexusOperationExecution\x12H.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest\x1aI.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01"A/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*ZM"H/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*\x12\xb0\x01\n\x1d\x44\x65leteNexusOperationExecution\x12\x45.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest\x1a\x46.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse"\x00\x42\xb6\x01\n"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' + b'\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x1cgoogle/api/annotations.proto\x1a!nexusannotations/v1/options.proto\x1a+temporal/api/protometa/v1/annotations.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto2\x98\xaf\x02\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse"7\x82\xd3\xe4\x93\x02\x31"\x13/cluster/namespaces:\x01*Z\x17"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse"]\x82\xd3\xe4\x93\x02W"&/cluster/namespaces/{namespace}/update:\x01*Z*"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse"\x00\x12\xc6\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse"\xaa\x01\x82\xd3\xe4\x93\x02q"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x12\xc2\x01\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfe\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse"\xd3\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xa3\x03\n"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse"\xe3\x01\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xcd\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd7\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xce\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcd\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xc2\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse"\x97\x01\x82\xd3\xe4\x93\x02g"*/namespaces/{namespace}/activity-heartbeat:\x01*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xa8\x04\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse"\xf1\x02\x82\xd3\xe4\x93\x02\xc0\x02":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xc3\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse"\x95\x01\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/activity-complete:\x01*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xa7\x04\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse"\xed\x02\x82\xd3\xe4\x93\x02\xbc\x02"9/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xb2\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse"\x8d\x01\x82\xd3\xe4\x93\x02]"%/namespaces/{namespace}/activity-fail:\x01*Z1",/api/v1/namespaces/{namespace}/activity-fail:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\x8e\x04\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse"\xdd\x02\x82\xd3\xe4\x93\x02\xac\x02"5/namespaces/{namespace}/activities/{activity_id}/fail:\x01*ZA".temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse"\xf0\x01\x82\xd3\xe4\x93\x02\xa3\x01"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa0\x03\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse"\xf8\x01\x82\xd3\xe4\x93\x02\xab\x01"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xe4\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse"F\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse"\x00\x12\xd9\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd2\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse"=\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse"\x00\x12\xfc\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse"\xfb\x01\x82\xd3\xe4\x93\x02\xb7\x01"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xe7\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse"\xc2\x01\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\xc2\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse"\xb5\x01\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x12\xa8\x02\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse"\xa4\x01\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xe2\x01\n\x0e\x43ountSchedules\x12\x36.temporal.api.workflowservice.v1.CountSchedulesRequest\x1a\x37.temporal.api.workflowservice.v1.CountSchedulesResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/schedule-countZ/\x12-/api/v1/namespaces/{namespace}/schedule-count\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\x81\x04\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse"\xca\x02\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xb0\x03\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse"\xf3\x01\x82\xd3\xe4\x93\x02\xb3\x01"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x12\xe7\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse"\xc5\x01\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xae\x02\n\x16\x43reateWorkerDeployment\x12>.temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse"\x92\x01\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse"\xa0\x01\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\xc4\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd9\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xd0\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse"5\x8a\x9d\xcc\x1b\x30\n\x14temporal-resource-id\x12\x18poller:{poller_group_id}\x12\xe8\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse"\xcf\x01\x82\xd3\xe4\x93\x02\x8b\x01".temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse"\x95\x01\x82\xd3\xe4\x93\x02\x65")/namespaces/{namespace}/workers/heartbeat:\x01*Z5"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xd8\x01\n\x0c\x43ountWorkers\x12\x34.temporal.api.workflowservice.v1.CountWorkersRequest\x1a\x35.temporal.api.workflowservice.v1.CountWorkersResponse"[\x82\xd3\xe4\x93\x02U\x12$/namespaces/{namespace}/worker-countZ-\x12+/api/v1/namespaces/{namespace}/worker-count\x12\xe2\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse"\xc9\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16taskqueue:{task_queue}\x12\xa8\x02\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse"\x9b\x01\x82\xd3\xe4\x93\x02k",/namespaces/{namespace}/workers/fetch-config:\x01*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xad\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse"\x9d\x01\x82\xd3\xe4\x93\x02m"-/namespaces/{namespace}/workers/update-config:\x01*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xcd\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse"\xc9\x01\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\x12\x45/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1cworker:{worker_instance_key}\x12\xd2\x02\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse"\xb6\x01\x82\xd3\xe4\x93\x02}"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*ZA"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x12\xc8\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse"\xac\x01\x82\xd3\xe4\x93\x02s"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xb6\x02\n\x1cStartNexusOperationExecution\x12\x44.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest\x1a\x45.temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse"\x88\x01\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*ZC">/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}:\x01*\x12\xcb\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse"\xa6\x01\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xb8\x02\n\x1f\x44\x65scribeNexusOperationExecution\x12G.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest\x1aH.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse"\x81\x01\x82\xd3\xe4\x93\x02{\x12\x37/namespaces/{namespace}/nexus-operations/{operation_id}Z@\x12>/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}\x12\xcf\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse"\xb6\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xb7\x02\n\x1bPollNexusOperationExecution\x12\x43.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest\x1a\x44.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse"W\x82\xd3\xe4\x93\x02Q\x12"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\x90\x02\n\x1cListNexusOperationExecutions\x12\x44.temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/nexus-operationsZ1\x12//api/v1/namespaces/{namespace}/nexus-operations\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\x9d\x02\n\x1d\x43ountNexusOperationExecutions\x12\x45.temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest\x1a\x46.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse"m\x82\xd3\xe4\x93\x02g\x12-/namespaces/{namespace}/nexus-operation-countZ6\x12\x34/api/v1/namespaces/{namespace}/nexus-operation-count\x12\xef\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse"\xbb\x01\x82\xd3\xe4\x93\x02\x81\x01"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\xdc\x02\n$RequestCancelNexusOperationExecution\x12L.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest\x1aM.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01">/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*ZJ"E/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\x01*\x12\xe9\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse"\xc1\x01\x82\xd3\xe4\x93\x02\x87\x01":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse"\x00\x12\xfd\x03\n\x16PauseActivityExecution\x12>.temporal.api.workflowservice.v1.PauseActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseActivityExecutionResponse"\xe1\x02\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfd\x03\n\x16ResetActivityExecution\x12>.temporal.api.workflowservice.v1.ResetActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetActivityExecutionResponse"\xe1\x02\x82\xd3\xe4\x93\x02\xb0\x02"6/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\x01*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\x8b\x04\n\x18UnpauseActivityExecution\x12@.temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest\x1a\x41.temporal.api.workflowservice.v1.UnpauseActivityExecutionResponse"\xe9\x02\x82\xd3\xe4\x93\x02\xb8\x02"8/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\x01*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xb9\x04\n\x1eUpdateActivityExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateActivityExecutionOptionsResponse"\x85\x03\x82\xd3\xe4\x93\x02\xd4\x02"?/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\x01*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\x01*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xd6\x02\n TerminateNexusOperationExecution\x12H.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest\x1aI.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01"A/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*ZM"H/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\x01*\x12\xb0\x01\n\x1d\x44\x65leteNexusOperationExecution\x12\x45.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest\x1a\x46.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse"\x00\x42\xb6\x01\n"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.api.workflowservice.v1.service_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RegisterNamespace" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + +_WORKFLOWSERVICE = DESCRIPTOR.services_by_name["WorkflowService"] +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n"io.temporal.api.workflowservice.v1B\014ServiceProtoP\001Z5go.temporal.io/api/workflowservice/v1;workflowservice\252\002!Temporalio.Api.WorkflowService.V1\352\002$Temporalio::Api::WorkflowService::V1' + _WORKFLOWSERVICE.methods_by_name["RegisterNamespace"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RegisterNamespace" ]._serialized_options = b'\202\323\344\223\0021"\023/cluster/namespaces:\001*Z\027"\022/api/v1/namespaces:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DescribeNamespace" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["DescribeNamespace"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DescribeNamespace" ]._serialized_options = b"\202\323\344\223\002C\022\037/cluster/namespaces/{namespace}Z \022\036/api/v1/namespaces/{namespace}" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "ListNamespaces" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["ListNamespaces"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "ListNamespaces" ]._serialized_options = b"\202\323\344\223\002+\022\023/cluster/namespacesZ\024\022\022/api/v1/namespaces" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "UpdateNamespace" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["UpdateNamespace"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "UpdateNamespace" ]._serialized_options = b'\202\323\344\223\002W"&/cluster/namespaces/{namespace}/update:\001*Z*"%/api/v1/namespaces/{namespace}/update:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["StartWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "StartWorkflowExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "StartWorkflowExecution" - ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}\202\323\344\223\002q"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "ExecuteMultiOperation" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002q"//namespaces/{namespace}/workflows/{workflow_id}:\001*Z;"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\001*\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}' + _WORKFLOWSERVICE.methods_by_name["ExecuteMultiOperation"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "ExecuteMultiOperation" ]._serialized_options = ( b"\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}" ) - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "GetWorkflowExecutionHistory" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["GetWorkflowExecutionHistory"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "GetWorkflowExecutionHistory" - ]._serialized_options = b"\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history" - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\217\001\022A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\022H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}" + _WORKFLOWSERVICE.methods_by_name[ "GetWorkflowExecutionHistoryReverse" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._options = None + _WORKFLOWSERVICE.methods_by_name[ "GetWorkflowExecutionHistoryReverse" - ]._serialized_options = b"\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "PollWorkflowTaskQueue" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\237\001\022I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\022P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\212\235\314\0338\n\024temporal-resource-id\022 workflow:{execution.workflow_id}" + _WORKFLOWSERVICE.methods_by_name["PollWorkflowTaskQueue"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "PollWorkflowTaskQueue" ]._serialized_options = ( b"\212\235\314\0330\n\024temporal-resource-id\022\030poller:{poller_group_id}" ) - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RespondWorkflowTaskCompleted" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["RespondWorkflowTaskCompleted"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RespondWorkflowTaskCompleted" ]._serialized_options = ( b"\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}" ) - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RespondWorkflowTaskFailed" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["RespondWorkflowTaskFailed"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RespondWorkflowTaskFailed" ]._serialized_options = ( b"\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}" ) - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "PollActivityTaskQueue" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["PollActivityTaskQueue"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "PollActivityTaskQueue" ]._serialized_options = ( b"\212\235\314\0330\n\024temporal-resource-id\022\030poller:{poller_group_id}" ) - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RecordActivityTaskHeartbeat" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeat"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RecordActivityTaskHeartbeat" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002g"*/namespaces/{namespace}/activity-heartbeat:\001*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RecordActivityTaskHeartbeatById" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002g"*/namespaces/{namespace}/activity-heartbeat:\001*Z6"1/api/v1/namespaces/{namespace}/activity-heartbeat:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["RecordActivityTaskHeartbeatById"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RecordActivityTaskHeartbeatById" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\300\002":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\300\002":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\001*ZW"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*Z^"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompleted"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RespondActivityTaskCompleted" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RespondActivityTaskCompleted" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002e")/namespaces/{namespace}/activity-complete:\001*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RespondActivityTaskCompletedById" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002e")/namespaces/{namespace}/activity-complete:\001*Z5"0/api/v1/namespaces/{namespace}/activity-complete:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskCompletedById"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RespondActivityTaskCompletedById" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\274\002"9/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RespondActivityTaskFailed" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\274\002"9/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZE"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\001*ZV"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*Z]"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailed"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RespondActivityTaskFailed" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002]"%/namespaces/{namespace}/activity-fail:\001*Z1",/api/v1/namespaces/{namespace}/activity-fail:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002]"%/namespaces/{namespace}/activity-fail:\001*Z1",/api/v1/namespaces/{namespace}/activity-fail:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["RespondActivityTaskFailedById"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RespondActivityTaskFailedById" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "RespondActivityTaskFailedById" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\254\002"5/namespaces/{namespace}/activities/{activity_id}/fail:\001*ZA"\022\022/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times" - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\211\001\022>/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\022E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\212\235\314\033.\n\024temporal-resource-id\022\026schedule:{schedule_id}" + _WORKFLOWSERVICE.methods_by_name["DeleteSchedule"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DeleteSchedule" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DeleteSchedule" - ]._serialized_options = b"\212\235\314\033.\n\024temporal-resource-id\022\026schedule:{schedule_id}\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}" - _globals["_WORKFLOWSERVICE"].methods_by_name["ListSchedules"]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\212\235\314\033.\n\024temporal-resource-id\022\026schedule:{schedule_id}" + _WORKFLOWSERVICE.methods_by_name["ListSchedules"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "ListSchedules" ]._serialized_options = b"\202\323\344\223\002O\022!/namespaces/{namespace}/schedulesZ*\022(/api/v1/namespaces/{namespace}/schedules" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "CountSchedules" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["CountSchedules"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "CountSchedules" ]._serialized_options = b"\202\323\344\223\002Y\022&/namespaces/{namespace}/schedule-countZ/\022-/api/v1/namespaces/{namespace}/schedule-count" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "GetWorkerBuildIdCompatibility" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["GetWorkerBuildIdCompatibility"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "GetWorkerBuildIdCompatibility" ]._serialized_options = b"\202\323\344\223\002\251\001\022N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\022U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "GetWorkerVersioningRules" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["GetWorkerVersioningRules"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "GetWorkerVersioningRules" ]._serialized_options = b"\202\323\344\223\002\235\001\022H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\022O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "GetWorkerTaskReachability" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["GetWorkerTaskReachability"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "GetWorkerTaskReachability" ]._serialized_options = b"\202\323\344\223\002m\0220/namespaces/{namespace}/worker-task-reachabilityZ9\0227/api/v1/namespaces/{namespace}/worker-task-reachability" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DescribeDeployment" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["DescribeDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DescribeDeployment" ]._serialized_options = b"\202\323\344\223\002\261\001\022R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\022Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}" - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeploymentVersion"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DescribeWorkerDeploymentVersion" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DescribeWorkerDeploymentVersion" - ]._serialized_options = b"\212\235\314\033G\n\024temporal-resource-id\022/deployment:{deployment_version.deployment_name}\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "ListDeployments" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\367\001\022u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\022|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\212\235\314\033G\n\024temporal-resource-id\022/deployment:{deployment_version.deployment_name}" + _WORKFLOWSERVICE.methods_by_name["ListDeployments"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "ListDeployments" ]._serialized_options = b"\202\323\344\223\002S\022#/namespaces/{namespace}/deploymentsZ,\022*/api/v1/namespaces/{namespace}/deployments" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "GetDeploymentReachability" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["GetDeploymentReachability"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "GetDeploymentReachability" ]._serialized_options = b"\202\323\344\223\002\313\001\022_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\022f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "GetCurrentDeployment" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["GetCurrentDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "GetCurrentDeployment" ]._serialized_options = b"\202\323\344\223\002}\0228/namespaces/{namespace}/current-deployment/{series_name}ZA\022?/api/v1/namespaces/{namespace}/current-deployment/{series_name}" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "SetCurrentDeployment" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["SetCurrentDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "SetCurrentDeployment" ]._serialized_options = b'\202\323\344\223\002\231\001"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*ZO"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name[ "SetWorkerDeploymentCurrentVersion" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._options = None + _WORKFLOWSERVICE.methods_by_name[ "SetWorkerDeploymentCurrentVersion" - ]._serialized_options = b'\212\235\314\0334\n\024temporal-resource-id\022\034deployment:{deployment_name}\202\323\344\223\002\263\001"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\263\001"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*Z\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\001*\212\235\314\0334\n\024temporal-resource-id\022\034deployment:{deployment_name}' + _WORKFLOWSERVICE.methods_by_name["DescribeWorkerDeployment"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DescribeWorkerDeployment" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DescribeWorkerDeployment" - ]._serialized_options = b"\212\235\314\0334\n\024temporal-resource-id\022\034deployment:{deployment_name}\202\323\344\223\002\205\001\022/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "FetchWorkerConfig" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\217\001">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*ZJ"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\001*\212\235\314\033.\n\024temporal-resource-id\022\026taskqueue:{task_queue}' + _WORKFLOWSERVICE.methods_by_name["FetchWorkerConfig"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "FetchWorkerConfig" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002k",/namespaces/{namespace}/workers/fetch-config:\001*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002k",/namespaces/{namespace}/workers/fetch-config:\001*Z8"3/api/v1/namespaces/{namespace}/workers/fetch-config:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["UpdateWorkerConfig"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "UpdateWorkerConfig" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "UpdateWorkerConfig" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002m"-/namespaces/{namespace}/workers/update-config:\001*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DescribeWorker" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002m"-/namespaces/{namespace}/workers/update-config:\001*Z9"4/api/v1/namespaces/{namespace}/workers/update-config:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["DescribeWorker"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DescribeWorker" - ]._serialized_options = b"\212\235\314\0334\n\024temporal-resource-id\022\034worker:{worker_instance_key}\202\323\344\223\002\211\001\022>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\022E/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "PauseWorkflowExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002\211\001\022>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\022E/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\212\235\314\0334\n\024temporal-resource-id\022\034worker:{worker_instance_key}" + _WORKFLOWSERVICE.methods_by_name["PauseWorkflowExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "PauseWorkflowExecution" - ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}\202\323\344\223\002}"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\001*ZA"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "StartActivityExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\201\001"7/namespaces/{namespace}/workflows/{workflow_id}/unpause:\001*ZC">/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\001*\212\235\314\033.\n\024temporal-resource-id\022\026workflow:{workflow_id}' + _WORKFLOWSERVICE.methods_by_name["StartActivityExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "StartActivityExecution" - ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002s"0/namespaces/{namespace}/activities/{activity_id}:\001*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "StartNexusOperationExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002s"0/namespaces/{namespace}/activities/{activity_id}:\001*Z<"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\001*\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}' + _WORKFLOWSERVICE.methods_by_name["StartNexusOperationExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "StartNexusOperationExecution" ]._serialized_options = b'\202\323\344\223\002\201\001"7/namespaces/{namespace}/nexus-operations/{operation_id}:\001*ZC">/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["DescribeActivityExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DescribeActivityExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DescribeActivityExecution" - ]._serialized_options = b"\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002m\0220/namespaces/{namespace}/activities/{activity_id}Z9\0227/api/v1/namespaces/{namespace}/activities/{activity_id}" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "DescribeNexusOperationExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002m\0220/namespaces/{namespace}/activities/{activity_id}Z9\0227/api/v1/namespaces/{namespace}/activities/{activity_id}\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}" + _WORKFLOWSERVICE.methods_by_name["DescribeNexusOperationExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "DescribeNexusOperationExecution" ]._serialized_options = b"\202\323\344\223\002{\0227/namespaces/{namespace}/nexus-operations/{operation_id}Z@\022>/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "PollActivityExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["PollActivityExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "PollActivityExecution" - ]._serialized_options = b"\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002}\0228/namespaces/{namespace}/activities/{activity_id}/outcomeZA\022?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome" - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "PollNexusOperationExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b"\202\323\344\223\002}\0228/namespaces/{namespace}/activities/{activity_id}/outcomeZA\022?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}" + _WORKFLOWSERVICE.methods_by_name["PollNexusOperationExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "PollNexusOperationExecution" ]._serialized_options = b"\202\323\344\223\002\205\001\022/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\201\001"7/namespaces/{namespace}/activities/{activity_id}/cancel:\001*ZC">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\001*\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}' + _WORKFLOWSERVICE.methods_by_name[ "RequestCancelNexusOperationExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._options = None + _WORKFLOWSERVICE.methods_by_name[ "RequestCancelNexusOperationExecution" ]._serialized_options = b'\202\323\344\223\002\217\001">/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\001*ZJ"E/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/cancel:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + _WORKFLOWSERVICE.methods_by_name["TerminateActivityExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "TerminateActivityExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "TerminateActivityExecution" - ]._serialized_options = b'\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}\202\323\344\223\002\207\001":/namespaces/{namespace}/activities/{activity_id}/terminate:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "PauseActivityExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\207\001":/namespaces/{namespace}/activities/{activity_id}/terminate:\001*ZF"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\001*\212\235\314\033.\n\024temporal-resource-id\022\026activity:{activity_id}' + _WORKFLOWSERVICE.methods_by_name["PauseActivityExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "PauseActivityExecution" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "ResetActivityExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/pause:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/pause:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["ResetActivityExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "ResetActivityExecution" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\260\002"6/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZB"=/api/v1/namespaces/{namespace}/activities/{activity_id}/reset:\001*ZS"N/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*ZZ"U/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/reset:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["UnpauseActivityExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "UnpauseActivityExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "UnpauseActivityExecution" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\270\002"8/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "UpdateActivityExecutionOptions" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\270\002"8/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZD"?/api/v1/namespaces/{namespace}/activities/{activity_id}/unpause:\001*ZU"P/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*Z\\"W/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/unpause:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["UpdateActivityExecutionOptions"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "UpdateActivityExecutionOptions" - ]._serialized_options = b'\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}\202\323\344\223\002\324\002"?/namespaces/{namespace}/activities/{activity_id}/update-options:\001*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\001*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*' - _globals["_WORKFLOWSERVICE"].methods_by_name[ - "TerminateNexusOperationExecution" - ]._loaded_options = None - _globals["_WORKFLOWSERVICE"].methods_by_name[ + ]._serialized_options = b'\202\323\344\223\002\324\002"?/namespaces/{namespace}/activities/{activity_id}/update-options:\001*ZK"F/api/v1/namespaces/{namespace}/activities/{activity_id}/update-options:\001*Z\\"W/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*Zc"^/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/update-options:\001*\212\235\314\033%\n\024temporal-resource-id\022\r{resource_id}' + _WORKFLOWSERVICE.methods_by_name["TerminateNexusOperationExecution"]._options = None + _WORKFLOWSERVICE.methods_by_name[ "TerminateNexusOperationExecution" ]._serialized_options = b'\202\323\344\223\002\225\001"A/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\001*ZM"H/api/v1/namespaces/{namespace}/nexus-operations/{operation_id}/terminate:\001*' - _globals["_WORKFLOWSERVICE"]._serialized_start = 250 - _globals["_WORKFLOWSERVICE"]._serialized_end = 39058 + _WORKFLOWSERVICE._serialized_start = 250 + _WORKFLOWSERVICE._serialized_end = 39058 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.py b/temporalio/api/workflowservice/v1/service_pb2_grpc.py index b8ca1350c..f0b093213 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.py +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.py @@ -1,38 +1,14 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" -import warnings - import grpc from temporalio.api.workflowservice.v1 import ( request_response_pb2 as temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2, ) -GRPC_GENERATED_VERSION = "1.81.1" -GRPC_VERSION = grpc.__version__ -_version_not_supported = False - -try: - from grpc._utilities import first_version_is_lower - - _version_not_supported = first_version_is_lower( - GRPC_VERSION, GRPC_GENERATED_VERSION - ) -except ImportError: - _version_not_supported = True - -if _version_not_supported: - raise RuntimeError( - f"The grpc package installed is at version {GRPC_VERSION}," - + " but the generated code in temporal/api/workflowservice/v1/service_pb2_grpc.py depends on" - + f" grpcio>={GRPC_GENERATED_VERSION}." - + f" Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}" - + f" or downgrade your generated code using grpcio-tools<={GRPC_VERSION}." - ) - -class WorkflowServiceStub: +class WorkflowServiceStub(object): """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -56,737 +32,615 @@ def __init__(self, channel): "/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RegisterNamespaceResponse.FromString, - _registered_method=True, ) self.DescribeNamespace = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNamespaceResponse.FromString, - _registered_method=True, ) self.ListNamespaces = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNamespacesResponse.FromString, - _registered_method=True, ) self.UpdateNamespace = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateNamespaceResponse.FromString, - _registered_method=True, ) self.DeprecateNamespace = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeprecateNamespaceResponse.FromString, - _registered_method=True, ) self.StartWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.ExecuteMultiOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ExecuteMultiOperationResponse.FromString, - _registered_method=True, ) self.GetWorkflowExecutionHistory = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryResponse.FromString, - _registered_method=True, ) self.GetWorkflowExecutionHistoryReverse = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkflowExecutionHistoryReverseResponse.FromString, - _registered_method=True, ) self.PollWorkflowTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowTaskQueueResponse.FromString, - _registered_method=True, ) self.RespondWorkflowTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskCompletedResponse.FromString, - _registered_method=True, ) self.RespondWorkflowTaskFailed = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondWorkflowTaskFailedResponse.FromString, - _registered_method=True, ) self.PollActivityTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityTaskQueueResponse.FromString, - _registered_method=True, ) self.RecordActivityTaskHeartbeat = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatResponse.FromString, - _registered_method=True, ) self.RecordActivityTaskHeartbeatById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordActivityTaskHeartbeatByIdResponse.FromString, - _registered_method=True, ) self.RespondActivityTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedResponse.FromString, - _registered_method=True, ) self.RespondActivityTaskCompletedById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCompletedByIdResponse.FromString, - _registered_method=True, ) self.RespondActivityTaskFailed = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedResponse.FromString, - _registered_method=True, ) self.RespondActivityTaskFailedById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskFailedByIdResponse.FromString, - _registered_method=True, ) self.RespondActivityTaskCanceled = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledResponse.FromString, - _registered_method=True, ) self.RespondActivityTaskCanceledById = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondActivityTaskCanceledByIdResponse.FromString, - _registered_method=True, ) self.RequestCancelWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.SignalWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.SignalWithStartWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SignalWithStartWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.ResetWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.TerminateWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.DeleteWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.ListOpenWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListOpenWorkflowExecutionsResponse.FromString, - _registered_method=True, ) self.ListClosedWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListClosedWorkflowExecutionsResponse.FromString, - _registered_method=True, ) self.ListWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowExecutionsResponse.FromString, - _registered_method=True, ) self.ListArchivedWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListArchivedWorkflowExecutionsResponse.FromString, - _registered_method=True, ) self.ScanWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ScanWorkflowExecutionsResponse.FromString, - _registered_method=True, ) self.CountWorkflowExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkflowExecutionsResponse.FromString, - _registered_method=True, ) self.GetSearchAttributes = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSearchAttributesResponse.FromString, - _registered_method=True, ) self.RespondQueryTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondQueryTaskCompletedResponse.FromString, - _registered_method=True, ) self.ResetStickyTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetStickyTaskQueueResponse.FromString, - _registered_method=True, ) self.ShutdownWorker = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ShutdownWorkerResponse.FromString, - _registered_method=True, ) self.QueryWorkflow = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.QueryWorkflowResponse.FromString, - _registered_method=True, ) self.DescribeWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.DescribeTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeTaskQueueResponse.FromString, - _registered_method=True, ) self.GetClusterInfo = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetClusterInfoResponse.FromString, - _registered_method=True, ) self.GetSystemInfo = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetSystemInfoResponse.FromString, - _registered_method=True, ) self.ListTaskQueuePartitions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListTaskQueuePartitionsResponse.FromString, - _registered_method=True, ) self.CreateSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateScheduleResponse.FromString, - _registered_method=True, ) self.DescribeSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeScheduleResponse.FromString, - _registered_method=True, ) self.UpdateSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateScheduleResponse.FromString, - _registered_method=True, ) self.PatchSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PatchScheduleResponse.FromString, - _registered_method=True, ) self.ListScheduleMatchingTimes = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListScheduleMatchingTimesResponse.FromString, - _registered_method=True, ) self.DeleteSchedule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteScheduleResponse.FromString, - _registered_method=True, ) self.ListSchedules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListSchedules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListSchedulesResponse.FromString, - _registered_method=True, ) self.CountSchedules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountSchedules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountSchedulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountSchedulesResponse.FromString, - _registered_method=True, ) self.UpdateWorkerBuildIdCompatibility = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerBuildIdCompatibilityResponse.FromString, - _registered_method=True, ) self.GetWorkerBuildIdCompatibility = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerBuildIdCompatibilityResponse.FromString, - _registered_method=True, ) self.UpdateWorkerVersioningRules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerVersioningRulesResponse.FromString, - _registered_method=True, ) self.GetWorkerVersioningRules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerVersioningRulesResponse.FromString, - _registered_method=True, ) self.GetWorkerTaskReachability = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetWorkerTaskReachabilityResponse.FromString, - _registered_method=True, ) self.DescribeDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeDeploymentResponse.FromString, - _registered_method=True, ) self.DescribeWorkerDeploymentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentVersionResponse.FromString, - _registered_method=True, ) self.ListDeployments = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListDeployments", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListDeploymentsResponse.FromString, - _registered_method=True, ) self.GetDeploymentReachability = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetDeploymentReachabilityResponse.FromString, - _registered_method=True, ) self.GetCurrentDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.GetCurrentDeploymentResponse.FromString, - _registered_method=True, ) self.SetCurrentDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetCurrentDeploymentResponse.FromString, - _registered_method=True, ) self.SetWorkerDeploymentCurrentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentCurrentVersionResponse.FromString, - _registered_method=True, ) self.DescribeWorkerDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerDeploymentResponse.FromString, - _registered_method=True, ) self.DeleteWorkerDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentResponse.FromString, - _registered_method=True, ) self.DeleteWorkerDeploymentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkerDeploymentVersionResponse.FromString, - _registered_method=True, ) self.SetWorkerDeploymentRampingVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentRampingVersionResponse.FromString, - _registered_method=True, ) self.ListWorkerDeployments = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkerDeploymentsResponse.FromString, - _registered_method=True, ) self.CreateWorkerDeployment = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeployment", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentResponse.FromString, - _registered_method=True, ) self.CreateWorkerDeploymentVersion = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeploymentVersion", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentVersionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkerDeploymentVersionResponse.FromString, - _registered_method=True, ) self.UpdateWorkerDeploymentVersionComputeConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionComputeConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionComputeConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionComputeConfigResponse.FromString, - _registered_method=True, ) self.ValidateWorkerDeploymentVersionComputeConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ValidateWorkerDeploymentVersionComputeConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ValidateWorkerDeploymentVersionComputeConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ValidateWorkerDeploymentVersionComputeConfigResponse.FromString, - _registered_method=True, ) self.UpdateWorkerDeploymentVersionMetadata = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerDeploymentVersionMetadataResponse.FromString, - _registered_method=True, ) self.SetWorkerDeploymentManager = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentManager", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentManagerRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.SetWorkerDeploymentManagerResponse.FromString, - _registered_method=True, ) self.UpdateWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.PollWorkflowExecutionUpdate = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollWorkflowExecutionUpdateResponse.FromString, - _registered_method=True, ) self.StartBatchOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartBatchOperationResponse.FromString, - _registered_method=True, ) self.StopBatchOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StopBatchOperationResponse.FromString, - _registered_method=True, ) self.DescribeBatchOperation = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeBatchOperationResponse.FromString, - _registered_method=True, ) self.ListBatchOperations = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListBatchOperationsResponse.FromString, - _registered_method=True, ) self.PollNexusTaskQueue = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusTaskQueueResponse.FromString, - _registered_method=True, ) self.RespondNexusTaskCompleted = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskCompletedResponse.FromString, - _registered_method=True, ) self.RespondNexusTaskFailed = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RespondNexusTaskFailedResponse.FromString, - _registered_method=True, ) self.UpdateActivityOptions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityOptionsResponse.FromString, - _registered_method=True, ) self.UpdateWorkflowExecutionOptions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkflowExecutionOptionsResponse.FromString, - _registered_method=True, ) self.PauseActivity = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PauseActivity", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityResponse.FromString, - _registered_method=True, ) self.UnpauseActivity = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityResponse.FromString, - _registered_method=True, ) self.ResetActivity = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetActivity", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityResponse.FromString, - _registered_method=True, ) self.CreateWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CreateWorkflowRuleResponse.FromString, - _registered_method=True, ) self.DescribeWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkflowRuleResponse.FromString, - _registered_method=True, ) self.DeleteWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteWorkflowRuleResponse.FromString, - _registered_method=True, ) self.ListWorkflowRules = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkflowRulesResponse.FromString, - _registered_method=True, ) self.TriggerWorkflowRule = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TriggerWorkflowRuleResponse.FromString, - _registered_method=True, ) self.RecordWorkerHeartbeat = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RecordWorkerHeartbeatResponse.FromString, - _registered_method=True, ) self.ListWorkers = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListWorkers", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListWorkersResponse.FromString, - _registered_method=True, ) self.CountWorkers = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountWorkers", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountWorkersResponse.FromString, - _registered_method=True, ) self.UpdateTaskQueueConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateTaskQueueConfigResponse.FromString, - _registered_method=True, ) self.FetchWorkerConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.FetchWorkerConfigResponse.FromString, - _registered_method=True, ) self.UpdateWorkerConfig = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateWorkerConfigResponse.FromString, - _registered_method=True, ) self.DescribeWorker = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeWorker", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeWorkerResponse.FromString, - _registered_method=True, ) self.PauseWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PauseWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.UnpauseWorkflowExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UnpauseWorkflowExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseWorkflowExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseWorkflowExecutionResponse.FromString, - _registered_method=True, ) self.StartActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartActivityExecutionResponse.FromString, - _registered_method=True, ) self.StartNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/StartNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.StartNexusOperationExecutionResponse.FromString, - _registered_method=True, ) self.DescribeActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeActivityExecutionResponse.FromString, - _registered_method=True, ) self.DescribeNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DescribeNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DescribeNexusOperationExecutionResponse.FromString, - _registered_method=True, ) self.PollActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollActivityExecutionResponse.FromString, - _registered_method=True, ) self.PollNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PollNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PollNexusOperationExecutionResponse.FromString, - _registered_method=True, ) self.ListActivityExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListActivityExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListActivityExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListActivityExecutionsResponse.FromString, - _registered_method=True, ) self.ListNexusOperationExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ListNexusOperationExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNexusOperationExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ListNexusOperationExecutionsResponse.FromString, - _registered_method=True, ) self.CountActivityExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountActivityExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountActivityExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountActivityExecutionsResponse.FromString, - _registered_method=True, ) self.CountNexusOperationExecutions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/CountNexusOperationExecutions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountNexusOperationExecutionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.CountNexusOperationExecutionsResponse.FromString, - _registered_method=True, ) self.RequestCancelActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelActivityExecutionResponse.FromString, - _registered_method=True, ) self.RequestCancelNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/RequestCancelNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.RequestCancelNexusOperationExecutionResponse.FromString, - _registered_method=True, ) self.TerminateActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TerminateActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateActivityExecutionResponse.FromString, - _registered_method=True, ) self.DeleteActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteActivityExecutionResponse.FromString, - _registered_method=True, ) self.PauseActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/PauseActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.PauseActivityExecutionResponse.FromString, - _registered_method=True, ) self.ResetActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/ResetActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.ResetActivityExecutionResponse.FromString, - _registered_method=True, ) self.UnpauseActivityExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivityExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UnpauseActivityExecutionResponse.FromString, - _registered_method=True, ) self.UpdateActivityExecutionOptions = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityExecutionOptions", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityExecutionOptionsRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.UpdateActivityExecutionOptionsResponse.FromString, - _registered_method=True, ) self.TerminateNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/TerminateNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.TerminateNexusOperationExecutionResponse.FromString, - _registered_method=True, ) self.DeleteNexusOperationExecution = channel.unary_unary( "/temporal.api.workflowservice.v1.WorkflowService/DeleteNexusOperationExecution", request_serializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteNexusOperationExecutionRequest.SerializeToString, response_deserializer=temporal_dot_api_dot_workflowservice_dot_v1_dot_request__response__pb2.DeleteNexusOperationExecutionResponse.FromString, - _registered_method=True, ) -class WorkflowServiceServicer: +class WorkflowServiceServicer(object): """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -2690,13 +2544,10 @@ def add_WorkflowServiceServicer_to_server(servicer, server): "temporal.api.workflowservice.v1.WorkflowService", rpc_method_handlers ) server.add_generic_rpc_handlers((generic_handler,)) - server.add_registered_method_handlers( - "temporal.api.workflowservice.v1.WorkflowService", rpc_method_handlers - ) # This class is part of an EXPERIMENTAL API. -class WorkflowService: +class WorkflowService(object): """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server to create and interact with workflows and activities. @@ -2737,7 +2588,6 @@ def RegisterNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2767,7 +2617,6 @@ def DescribeNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2797,7 +2646,6 @@ def ListNamespaces( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2827,7 +2675,6 @@ def UpdateNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2857,7 +2704,6 @@ def DeprecateNamespace( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2887,7 +2733,6 @@ def StartWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2917,7 +2762,6 @@ def ExecuteMultiOperation( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2947,7 +2791,6 @@ def GetWorkflowExecutionHistory( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -2977,7 +2820,6 @@ def GetWorkflowExecutionHistoryReverse( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3007,7 +2849,6 @@ def PollWorkflowTaskQueue( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3037,7 +2878,6 @@ def RespondWorkflowTaskCompleted( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3067,7 +2907,6 @@ def RespondWorkflowTaskFailed( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3097,7 +2936,6 @@ def PollActivityTaskQueue( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3127,7 +2965,6 @@ def RecordActivityTaskHeartbeat( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3157,7 +2994,6 @@ def RecordActivityTaskHeartbeatById( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3187,7 +3023,6 @@ def RespondActivityTaskCompleted( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3217,7 +3052,6 @@ def RespondActivityTaskCompletedById( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3247,7 +3081,6 @@ def RespondActivityTaskFailed( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3277,7 +3110,6 @@ def RespondActivityTaskFailedById( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3307,7 +3139,6 @@ def RespondActivityTaskCanceled( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3337,7 +3168,6 @@ def RespondActivityTaskCanceledById( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3367,7 +3197,6 @@ def RequestCancelWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3397,7 +3226,6 @@ def SignalWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3427,7 +3255,6 @@ def SignalWithStartWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3457,7 +3284,6 @@ def ResetWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3487,7 +3313,6 @@ def TerminateWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3517,7 +3342,6 @@ def DeleteWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3547,7 +3371,6 @@ def ListOpenWorkflowExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3577,7 +3400,6 @@ def ListClosedWorkflowExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3607,7 +3429,6 @@ def ListWorkflowExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3637,7 +3458,6 @@ def ListArchivedWorkflowExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3667,7 +3487,6 @@ def ScanWorkflowExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3697,7 +3516,6 @@ def CountWorkflowExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3727,7 +3545,6 @@ def GetSearchAttributes( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3757,7 +3574,6 @@ def RespondQueryTaskCompleted( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3787,7 +3603,6 @@ def ResetStickyTaskQueue( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3817,7 +3632,6 @@ def ShutdownWorker( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3847,7 +3661,6 @@ def QueryWorkflow( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3877,7 +3690,6 @@ def DescribeWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3907,7 +3719,6 @@ def DescribeTaskQueue( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3937,7 +3748,6 @@ def GetClusterInfo( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3967,7 +3777,6 @@ def GetSystemInfo( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -3997,7 +3806,6 @@ def ListTaskQueuePartitions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4027,7 +3835,6 @@ def CreateSchedule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4057,7 +3864,6 @@ def DescribeSchedule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4087,7 +3893,6 @@ def UpdateSchedule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4117,7 +3922,6 @@ def PatchSchedule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4147,7 +3951,6 @@ def ListScheduleMatchingTimes( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4177,7 +3980,6 @@ def DeleteSchedule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4207,7 +4009,6 @@ def ListSchedules( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4237,7 +4038,6 @@ def CountSchedules( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4267,7 +4067,6 @@ def UpdateWorkerBuildIdCompatibility( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4297,7 +4096,6 @@ def GetWorkerBuildIdCompatibility( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4327,7 +4125,6 @@ def UpdateWorkerVersioningRules( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4357,7 +4154,6 @@ def GetWorkerVersioningRules( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4387,7 +4183,6 @@ def GetWorkerTaskReachability( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4417,7 +4212,6 @@ def DescribeDeployment( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4447,7 +4241,6 @@ def DescribeWorkerDeploymentVersion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4477,7 +4270,6 @@ def ListDeployments( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4507,7 +4299,6 @@ def GetDeploymentReachability( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4537,7 +4328,6 @@ def GetCurrentDeployment( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4567,7 +4357,6 @@ def SetCurrentDeployment( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4597,7 +4386,6 @@ def SetWorkerDeploymentCurrentVersion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4627,7 +4415,6 @@ def DescribeWorkerDeployment( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4657,7 +4444,6 @@ def DeleteWorkerDeployment( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4687,7 +4473,6 @@ def DeleteWorkerDeploymentVersion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4717,7 +4502,6 @@ def SetWorkerDeploymentRampingVersion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4747,7 +4531,6 @@ def ListWorkerDeployments( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4777,7 +4560,6 @@ def CreateWorkerDeployment( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4807,7 +4589,6 @@ def CreateWorkerDeploymentVersion( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4837,7 +4618,6 @@ def UpdateWorkerDeploymentVersionComputeConfig( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4867,7 +4647,6 @@ def ValidateWorkerDeploymentVersionComputeConfig( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4897,7 +4676,6 @@ def UpdateWorkerDeploymentVersionMetadata( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4927,7 +4705,6 @@ def SetWorkerDeploymentManager( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4957,7 +4734,6 @@ def UpdateWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -4987,7 +4763,6 @@ def PollWorkflowExecutionUpdate( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5017,7 +4792,6 @@ def StartBatchOperation( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5047,7 +4821,6 @@ def StopBatchOperation( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5077,7 +4850,6 @@ def DescribeBatchOperation( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5107,7 +4879,6 @@ def ListBatchOperations( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5137,7 +4908,6 @@ def PollNexusTaskQueue( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5167,7 +4937,6 @@ def RespondNexusTaskCompleted( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5197,7 +4966,6 @@ def RespondNexusTaskFailed( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5227,7 +4995,6 @@ def UpdateActivityOptions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5257,7 +5024,6 @@ def UpdateWorkflowExecutionOptions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5287,7 +5053,6 @@ def PauseActivity( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5317,7 +5082,6 @@ def UnpauseActivity( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5347,7 +5111,6 @@ def ResetActivity( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5377,7 +5140,6 @@ def CreateWorkflowRule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5407,7 +5169,6 @@ def DescribeWorkflowRule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5437,7 +5198,6 @@ def DeleteWorkflowRule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5467,7 +5227,6 @@ def ListWorkflowRules( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5497,7 +5256,6 @@ def TriggerWorkflowRule( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5527,7 +5285,6 @@ def RecordWorkerHeartbeat( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5557,7 +5314,6 @@ def ListWorkers( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5587,7 +5343,6 @@ def CountWorkers( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5617,7 +5372,6 @@ def UpdateTaskQueueConfig( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5647,7 +5401,6 @@ def FetchWorkerConfig( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5677,7 +5430,6 @@ def UpdateWorkerConfig( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5707,7 +5459,6 @@ def DescribeWorker( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5737,7 +5488,6 @@ def PauseWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5767,7 +5517,6 @@ def UnpauseWorkflowExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5797,7 +5546,6 @@ def StartActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5827,7 +5575,6 @@ def StartNexusOperationExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5857,7 +5604,6 @@ def DescribeActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5887,7 +5633,6 @@ def DescribeNexusOperationExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5917,7 +5662,6 @@ def PollActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5947,7 +5691,6 @@ def PollNexusOperationExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -5977,7 +5720,6 @@ def ListActivityExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6007,7 +5749,6 @@ def ListNexusOperationExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6037,7 +5778,6 @@ def CountActivityExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6067,7 +5807,6 @@ def CountNexusOperationExecutions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6097,7 +5836,6 @@ def RequestCancelActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6127,7 +5865,6 @@ def RequestCancelNexusOperationExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6157,7 +5894,6 @@ def TerminateActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6187,7 +5923,6 @@ def DeleteActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6217,7 +5952,6 @@ def PauseActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6247,7 +5981,6 @@ def ResetActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6277,7 +6010,6 @@ def UnpauseActivityExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6307,7 +6039,6 @@ def UpdateActivityExecutionOptions( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6337,7 +6068,6 @@ def TerminateNexusOperationExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) @staticmethod @@ -6367,5 +6097,4 @@ def DeleteNexusOperationExecution( wait_for_ready, timeout, metadata, - _registered_method=True, ) diff --git a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi index 8cb7c91c8..9c9713144 100644 --- a/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi +++ b/temporalio/api/workflowservice/v1/service_pb2_grpc.pyi @@ -4,4530 +4,1176 @@ isort:skip_file """ import abc -import collections.abc -import sys -import typing import grpc -import grpc.aio import temporalio.api.workflowservice.v1.request_response_pb2 -if sys.version_info >= (3, 13): - import typing as typing_extensions -else: - import typing_extensions - -_T = typing.TypeVar("_T") - -class _MaybeAsyncIterator( - collections.abc.AsyncIterator[_T], - collections.abc.Iterator[_T], - metaclass=abc.ABCMeta, -): ... -class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg] - ... - -GRPC_GENERATED_VERSION: str -GRPC_VERSION: str -_WorkflowServiceRegisterNamespaceType = typing_extensions.TypeVar( - "_WorkflowServiceRegisterNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - ], -) - -_WorkflowServiceDescribeNamespaceType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - ], -) - -_WorkflowServiceListNamespacesType = typing_extensions.TypeVar( - "_WorkflowServiceListNamespacesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - ], -) - -_WorkflowServiceUpdateNamespaceType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], -) - -_WorkflowServiceDeprecateNamespaceType = typing_extensions.TypeVar( - "_WorkflowServiceDeprecateNamespaceType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - ], -) - -_WorkflowServiceStartWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceStartWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - ], -) - -_WorkflowServiceExecuteMultiOperationType = typing_extensions.TypeVar( - "_WorkflowServiceExecuteMultiOperationType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - ], -) - -_WorkflowServiceGetWorkflowExecutionHistoryType = typing_extensions.TypeVar( - "_WorkflowServiceGetWorkflowExecutionHistoryType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - ], -) - -_WorkflowServiceGetWorkflowExecutionHistoryReverseType = typing_extensions.TypeVar( - "_WorkflowServiceGetWorkflowExecutionHistoryReverseType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - ], -) - -_WorkflowServicePollWorkflowTaskQueueType = typing_extensions.TypeVar( - "_WorkflowServicePollWorkflowTaskQueueType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - ], -) - -_WorkflowServiceRespondWorkflowTaskCompletedType = typing_extensions.TypeVar( - "_WorkflowServiceRespondWorkflowTaskCompletedType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - ], -) - -_WorkflowServiceRespondWorkflowTaskFailedType = typing_extensions.TypeVar( - "_WorkflowServiceRespondWorkflowTaskFailedType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - ], -) - -_WorkflowServicePollActivityTaskQueueType = typing_extensions.TypeVar( - "_WorkflowServicePollActivityTaskQueueType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - ], -) - -_WorkflowServiceRecordActivityTaskHeartbeatType = typing_extensions.TypeVar( - "_WorkflowServiceRecordActivityTaskHeartbeatType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - ], -) - -_WorkflowServiceRecordActivityTaskHeartbeatByIdType = typing_extensions.TypeVar( - "_WorkflowServiceRecordActivityTaskHeartbeatByIdType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - ], -) - -_WorkflowServiceRespondActivityTaskCompletedType = typing_extensions.TypeVar( - "_WorkflowServiceRespondActivityTaskCompletedType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - ], -) - -_WorkflowServiceRespondActivityTaskCompletedByIdType = typing_extensions.TypeVar( - "_WorkflowServiceRespondActivityTaskCompletedByIdType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - ], -) - -_WorkflowServiceRespondActivityTaskFailedType = typing_extensions.TypeVar( - "_WorkflowServiceRespondActivityTaskFailedType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - ], -) - -_WorkflowServiceRespondActivityTaskFailedByIdType = typing_extensions.TypeVar( - "_WorkflowServiceRespondActivityTaskFailedByIdType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - ], -) - -_WorkflowServiceRespondActivityTaskCanceledType = typing_extensions.TypeVar( - "_WorkflowServiceRespondActivityTaskCanceledType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - ], -) - -_WorkflowServiceRespondActivityTaskCanceledByIdType = typing_extensions.TypeVar( - "_WorkflowServiceRespondActivityTaskCanceledByIdType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - ], -) - -_WorkflowServiceRequestCancelWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceRequestCancelWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - ], -) - -_WorkflowServiceSignalWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceSignalWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - ], -) - -_WorkflowServiceSignalWithStartWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceSignalWithStartWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - ], -) - -_WorkflowServiceResetWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceResetWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - ], -) - -_WorkflowServiceTerminateWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceTerminateWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - ], -) - -_WorkflowServiceDeleteWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceDeleteWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - ], -) - -_WorkflowServiceListOpenWorkflowExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceListOpenWorkflowExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - ], -) - -_WorkflowServiceListClosedWorkflowExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceListClosedWorkflowExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - ], -) - -_WorkflowServiceListWorkflowExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceListWorkflowExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - ], -) - -_WorkflowServiceListArchivedWorkflowExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceListArchivedWorkflowExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - ], -) - -_WorkflowServiceScanWorkflowExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceScanWorkflowExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - ], -) - -_WorkflowServiceCountWorkflowExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceCountWorkflowExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - ], -) - -_WorkflowServiceGetSearchAttributesType = typing_extensions.TypeVar( - "_WorkflowServiceGetSearchAttributesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - ], -) - -_WorkflowServiceRespondQueryTaskCompletedType = typing_extensions.TypeVar( - "_WorkflowServiceRespondQueryTaskCompletedType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - ], -) - -_WorkflowServiceResetStickyTaskQueueType = typing_extensions.TypeVar( - "_WorkflowServiceResetStickyTaskQueueType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - ], -) - -_WorkflowServiceShutdownWorkerType = typing_extensions.TypeVar( - "_WorkflowServiceShutdownWorkerType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - ], -) - -_WorkflowServiceQueryWorkflowType = typing_extensions.TypeVar( - "_WorkflowServiceQueryWorkflowType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - ], -) - -_WorkflowServiceDescribeWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - ], -) - -_WorkflowServiceDescribeTaskQueueType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeTaskQueueType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - ], -) - -_WorkflowServiceGetClusterInfoType = typing_extensions.TypeVar( - "_WorkflowServiceGetClusterInfoType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - ], -) - -_WorkflowServiceGetSystemInfoType = typing_extensions.TypeVar( - "_WorkflowServiceGetSystemInfoType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - ], -) - -_WorkflowServiceListTaskQueuePartitionsType = typing_extensions.TypeVar( - "_WorkflowServiceListTaskQueuePartitionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - ], -) - -_WorkflowServiceCreateScheduleType = typing_extensions.TypeVar( - "_WorkflowServiceCreateScheduleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - ], -) - -_WorkflowServiceDescribeScheduleType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeScheduleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - ], -) - -_WorkflowServiceUpdateScheduleType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateScheduleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - ], -) - -_WorkflowServicePatchScheduleType = typing_extensions.TypeVar( - "_WorkflowServicePatchScheduleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - ], -) - -_WorkflowServiceListScheduleMatchingTimesType = typing_extensions.TypeVar( - "_WorkflowServiceListScheduleMatchingTimesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - ], -) - -_WorkflowServiceDeleteScheduleType = typing_extensions.TypeVar( - "_WorkflowServiceDeleteScheduleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - ], -) - -_WorkflowServiceListSchedulesType = typing_extensions.TypeVar( - "_WorkflowServiceListSchedulesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - ], -) - -_WorkflowServiceCountSchedulesType = typing_extensions.TypeVar( - "_WorkflowServiceCountSchedulesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - ], -) - -_WorkflowServiceUpdateWorkerBuildIdCompatibilityType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateWorkerBuildIdCompatibilityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - ], -) - -_WorkflowServiceGetWorkerBuildIdCompatibilityType = typing_extensions.TypeVar( - "_WorkflowServiceGetWorkerBuildIdCompatibilityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - ], -) - -_WorkflowServiceUpdateWorkerVersioningRulesType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateWorkerVersioningRulesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - ], -) - -_WorkflowServiceGetWorkerVersioningRulesType = typing_extensions.TypeVar( - "_WorkflowServiceGetWorkerVersioningRulesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - ], -) - -_WorkflowServiceGetWorkerTaskReachabilityType = typing_extensions.TypeVar( - "_WorkflowServiceGetWorkerTaskReachabilityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - ], -) - -_WorkflowServiceDescribeDeploymentType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeDeploymentType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - ], -) - -_WorkflowServiceDescribeWorkerDeploymentVersionType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeWorkerDeploymentVersionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - ], -) - -_WorkflowServiceListDeploymentsType = typing_extensions.TypeVar( - "_WorkflowServiceListDeploymentsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - ], -) - -_WorkflowServiceGetDeploymentReachabilityType = typing_extensions.TypeVar( - "_WorkflowServiceGetDeploymentReachabilityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - ], -) - -_WorkflowServiceGetCurrentDeploymentType = typing_extensions.TypeVar( - "_WorkflowServiceGetCurrentDeploymentType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - ], -) - -_WorkflowServiceSetCurrentDeploymentType = typing_extensions.TypeVar( - "_WorkflowServiceSetCurrentDeploymentType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - ], -) - -_WorkflowServiceSetWorkerDeploymentCurrentVersionType = typing_extensions.TypeVar( - "_WorkflowServiceSetWorkerDeploymentCurrentVersionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - ], -) - -_WorkflowServiceDescribeWorkerDeploymentType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeWorkerDeploymentType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - ], -) - -_WorkflowServiceDeleteWorkerDeploymentType = typing_extensions.TypeVar( - "_WorkflowServiceDeleteWorkerDeploymentType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - ], -) - -_WorkflowServiceDeleteWorkerDeploymentVersionType = typing_extensions.TypeVar( - "_WorkflowServiceDeleteWorkerDeploymentVersionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - ], -) - -_WorkflowServiceSetWorkerDeploymentRampingVersionType = typing_extensions.TypeVar( - "_WorkflowServiceSetWorkerDeploymentRampingVersionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - ], -) - -_WorkflowServiceListWorkerDeploymentsType = typing_extensions.TypeVar( - "_WorkflowServiceListWorkerDeploymentsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - ], -) - -_WorkflowServiceCreateWorkerDeploymentType = typing_extensions.TypeVar( - "_WorkflowServiceCreateWorkerDeploymentType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - ], -) - -_WorkflowServiceCreateWorkerDeploymentVersionType = typing_extensions.TypeVar( - "_WorkflowServiceCreateWorkerDeploymentVersionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - ], -) - -_WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - ], -) - -_WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType = typing_extensions.TypeVar( - "_WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - ], -) - -_WorkflowServiceUpdateWorkerDeploymentVersionMetadataType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateWorkerDeploymentVersionMetadataType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - ], -) - -_WorkflowServiceSetWorkerDeploymentManagerType = typing_extensions.TypeVar( - "_WorkflowServiceSetWorkerDeploymentManagerType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - ], -) - -_WorkflowServiceUpdateWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - ], -) - -_WorkflowServicePollWorkflowExecutionUpdateType = typing_extensions.TypeVar( - "_WorkflowServicePollWorkflowExecutionUpdateType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - ], -) - -_WorkflowServiceStartBatchOperationType = typing_extensions.TypeVar( - "_WorkflowServiceStartBatchOperationType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - ], -) - -_WorkflowServiceStopBatchOperationType = typing_extensions.TypeVar( - "_WorkflowServiceStopBatchOperationType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - ], -) - -_WorkflowServiceDescribeBatchOperationType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeBatchOperationType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - ], -) - -_WorkflowServiceListBatchOperationsType = typing_extensions.TypeVar( - "_WorkflowServiceListBatchOperationsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - ], -) - -_WorkflowServicePollNexusTaskQueueType = typing_extensions.TypeVar( - "_WorkflowServicePollNexusTaskQueueType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - ], -) - -_WorkflowServiceRespondNexusTaskCompletedType = typing_extensions.TypeVar( - "_WorkflowServiceRespondNexusTaskCompletedType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - ], -) - -_WorkflowServiceRespondNexusTaskFailedType = typing_extensions.TypeVar( - "_WorkflowServiceRespondNexusTaskFailedType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - ], -) - -_WorkflowServiceUpdateActivityOptionsType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateActivityOptionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - ], -) - -_WorkflowServiceUpdateWorkflowExecutionOptionsType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateWorkflowExecutionOptionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - ], -) - -_WorkflowServicePauseActivityType = typing_extensions.TypeVar( - "_WorkflowServicePauseActivityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - ], -) - -_WorkflowServiceUnpauseActivityType = typing_extensions.TypeVar( - "_WorkflowServiceUnpauseActivityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - ], -) - -_WorkflowServiceResetActivityType = typing_extensions.TypeVar( - "_WorkflowServiceResetActivityType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - ], -) - -_WorkflowServiceCreateWorkflowRuleType = typing_extensions.TypeVar( - "_WorkflowServiceCreateWorkflowRuleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - ], -) - -_WorkflowServiceDescribeWorkflowRuleType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeWorkflowRuleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - ], -) - -_WorkflowServiceDeleteWorkflowRuleType = typing_extensions.TypeVar( - "_WorkflowServiceDeleteWorkflowRuleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - ], -) - -_WorkflowServiceListWorkflowRulesType = typing_extensions.TypeVar( - "_WorkflowServiceListWorkflowRulesType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - ], -) - -_WorkflowServiceTriggerWorkflowRuleType = typing_extensions.TypeVar( - "_WorkflowServiceTriggerWorkflowRuleType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - ], -) - -_WorkflowServiceRecordWorkerHeartbeatType = typing_extensions.TypeVar( - "_WorkflowServiceRecordWorkerHeartbeatType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - ], -) - -_WorkflowServiceListWorkersType = typing_extensions.TypeVar( - "_WorkflowServiceListWorkersType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - ], -) - -_WorkflowServiceCountWorkersType = typing_extensions.TypeVar( - "_WorkflowServiceCountWorkersType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, - ], -) - -_WorkflowServiceUpdateTaskQueueConfigType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateTaskQueueConfigType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - ], -) - -_WorkflowServiceFetchWorkerConfigType = typing_extensions.TypeVar( - "_WorkflowServiceFetchWorkerConfigType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - ], -) - -_WorkflowServiceUpdateWorkerConfigType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateWorkerConfigType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - ], -) - -_WorkflowServiceDescribeWorkerType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeWorkerType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - ], -) - -_WorkflowServicePauseWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServicePauseWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - ], -) - -_WorkflowServiceUnpauseWorkflowExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceUnpauseWorkflowExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - ], -) - -_WorkflowServiceStartActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceStartActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - ], -) - -_WorkflowServiceStartNexusOperationExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceStartNexusOperationExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - ], -) - -_WorkflowServiceDescribeActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - ], -) - -_WorkflowServiceDescribeNexusOperationExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceDescribeNexusOperationExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - ], -) - -_WorkflowServicePollActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServicePollActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - ], -) - -_WorkflowServicePollNexusOperationExecutionType = typing_extensions.TypeVar( - "_WorkflowServicePollNexusOperationExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - ], -) - -_WorkflowServiceListActivityExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceListActivityExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - ], -) - -_WorkflowServiceListNexusOperationExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceListNexusOperationExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - ], -) - -_WorkflowServiceCountActivityExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceCountActivityExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - ], -) - -_WorkflowServiceCountNexusOperationExecutionsType = typing_extensions.TypeVar( - "_WorkflowServiceCountNexusOperationExecutionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - ], -) - -_WorkflowServiceRequestCancelActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceRequestCancelActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - ], -) - -_WorkflowServiceRequestCancelNexusOperationExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceRequestCancelNexusOperationExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - ], -) - -_WorkflowServiceTerminateActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceTerminateActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - ], -) - -_WorkflowServiceDeleteActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceDeleteActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - ], -) - -_WorkflowServicePauseActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServicePauseActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - ], -) - -_WorkflowServiceResetActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceResetActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - ], -) - -_WorkflowServiceUnpauseActivityExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceUnpauseActivityExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - ], -) - -_WorkflowServiceUpdateActivityExecutionOptionsType = typing_extensions.TypeVar( - "_WorkflowServiceUpdateActivityExecutionOptionsType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - ], -) - -_WorkflowServiceTerminateNexusOperationExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceTerminateNexusOperationExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - ], -) - -_WorkflowServiceDeleteNexusOperationExecutionType = typing_extensions.TypeVar( - "_WorkflowServiceDeleteNexusOperationExecutionType", - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - ], - default=grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - ], -) - -class WorkflowServiceStub( - typing.Generic[ - _WorkflowServiceRegisterNamespaceType, - _WorkflowServiceDescribeNamespaceType, - _WorkflowServiceListNamespacesType, - _WorkflowServiceUpdateNamespaceType, - _WorkflowServiceDeprecateNamespaceType, - _WorkflowServiceStartWorkflowExecutionType, - _WorkflowServiceExecuteMultiOperationType, - _WorkflowServiceGetWorkflowExecutionHistoryType, - _WorkflowServiceGetWorkflowExecutionHistoryReverseType, - _WorkflowServicePollWorkflowTaskQueueType, - _WorkflowServiceRespondWorkflowTaskCompletedType, - _WorkflowServiceRespondWorkflowTaskFailedType, - _WorkflowServicePollActivityTaskQueueType, - _WorkflowServiceRecordActivityTaskHeartbeatType, - _WorkflowServiceRecordActivityTaskHeartbeatByIdType, - _WorkflowServiceRespondActivityTaskCompletedType, - _WorkflowServiceRespondActivityTaskCompletedByIdType, - _WorkflowServiceRespondActivityTaskFailedType, - _WorkflowServiceRespondActivityTaskFailedByIdType, - _WorkflowServiceRespondActivityTaskCanceledType, - _WorkflowServiceRespondActivityTaskCanceledByIdType, - _WorkflowServiceRequestCancelWorkflowExecutionType, - _WorkflowServiceSignalWorkflowExecutionType, - _WorkflowServiceSignalWithStartWorkflowExecutionType, - _WorkflowServiceResetWorkflowExecutionType, - _WorkflowServiceTerminateWorkflowExecutionType, - _WorkflowServiceDeleteWorkflowExecutionType, - _WorkflowServiceListOpenWorkflowExecutionsType, - _WorkflowServiceListClosedWorkflowExecutionsType, - _WorkflowServiceListWorkflowExecutionsType, - _WorkflowServiceListArchivedWorkflowExecutionsType, - _WorkflowServiceScanWorkflowExecutionsType, - _WorkflowServiceCountWorkflowExecutionsType, - _WorkflowServiceGetSearchAttributesType, - _WorkflowServiceRespondQueryTaskCompletedType, - _WorkflowServiceResetStickyTaskQueueType, - _WorkflowServiceShutdownWorkerType, - _WorkflowServiceQueryWorkflowType, - _WorkflowServiceDescribeWorkflowExecutionType, - _WorkflowServiceDescribeTaskQueueType, - _WorkflowServiceGetClusterInfoType, - _WorkflowServiceGetSystemInfoType, - _WorkflowServiceListTaskQueuePartitionsType, - _WorkflowServiceCreateScheduleType, - _WorkflowServiceDescribeScheduleType, - _WorkflowServiceUpdateScheduleType, - _WorkflowServicePatchScheduleType, - _WorkflowServiceListScheduleMatchingTimesType, - _WorkflowServiceDeleteScheduleType, - _WorkflowServiceListSchedulesType, - _WorkflowServiceCountSchedulesType, - _WorkflowServiceUpdateWorkerBuildIdCompatibilityType, - _WorkflowServiceGetWorkerBuildIdCompatibilityType, - _WorkflowServiceUpdateWorkerVersioningRulesType, - _WorkflowServiceGetWorkerVersioningRulesType, - _WorkflowServiceGetWorkerTaskReachabilityType, - _WorkflowServiceDescribeDeploymentType, - _WorkflowServiceDescribeWorkerDeploymentVersionType, - _WorkflowServiceListDeploymentsType, - _WorkflowServiceGetDeploymentReachabilityType, - _WorkflowServiceGetCurrentDeploymentType, - _WorkflowServiceSetCurrentDeploymentType, - _WorkflowServiceSetWorkerDeploymentCurrentVersionType, - _WorkflowServiceDescribeWorkerDeploymentType, - _WorkflowServiceDeleteWorkerDeploymentType, - _WorkflowServiceDeleteWorkerDeploymentVersionType, - _WorkflowServiceSetWorkerDeploymentRampingVersionType, - _WorkflowServiceListWorkerDeploymentsType, - _WorkflowServiceCreateWorkerDeploymentType, - _WorkflowServiceCreateWorkerDeploymentVersionType, - _WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType, - _WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType, - _WorkflowServiceUpdateWorkerDeploymentVersionMetadataType, - _WorkflowServiceSetWorkerDeploymentManagerType, - _WorkflowServiceUpdateWorkflowExecutionType, - _WorkflowServicePollWorkflowExecutionUpdateType, - _WorkflowServiceStartBatchOperationType, - _WorkflowServiceStopBatchOperationType, - _WorkflowServiceDescribeBatchOperationType, - _WorkflowServiceListBatchOperationsType, - _WorkflowServicePollNexusTaskQueueType, - _WorkflowServiceRespondNexusTaskCompletedType, - _WorkflowServiceRespondNexusTaskFailedType, - _WorkflowServiceUpdateActivityOptionsType, - _WorkflowServiceUpdateWorkflowExecutionOptionsType, - _WorkflowServicePauseActivityType, - _WorkflowServiceUnpauseActivityType, - _WorkflowServiceResetActivityType, - _WorkflowServiceCreateWorkflowRuleType, - _WorkflowServiceDescribeWorkflowRuleType, - _WorkflowServiceDeleteWorkflowRuleType, - _WorkflowServiceListWorkflowRulesType, - _WorkflowServiceTriggerWorkflowRuleType, - _WorkflowServiceRecordWorkerHeartbeatType, - _WorkflowServiceListWorkersType, - _WorkflowServiceCountWorkersType, - _WorkflowServiceUpdateTaskQueueConfigType, - _WorkflowServiceFetchWorkerConfigType, - _WorkflowServiceUpdateWorkerConfigType, - _WorkflowServiceDescribeWorkerType, - _WorkflowServicePauseWorkflowExecutionType, - _WorkflowServiceUnpauseWorkflowExecutionType, - _WorkflowServiceStartActivityExecutionType, - _WorkflowServiceStartNexusOperationExecutionType, - _WorkflowServiceDescribeActivityExecutionType, - _WorkflowServiceDescribeNexusOperationExecutionType, - _WorkflowServicePollActivityExecutionType, - _WorkflowServicePollNexusOperationExecutionType, - _WorkflowServiceListActivityExecutionsType, - _WorkflowServiceListNexusOperationExecutionsType, - _WorkflowServiceCountActivityExecutionsType, - _WorkflowServiceCountNexusOperationExecutionsType, - _WorkflowServiceRequestCancelActivityExecutionType, - _WorkflowServiceRequestCancelNexusOperationExecutionType, - _WorkflowServiceTerminateActivityExecutionType, - _WorkflowServiceDeleteActivityExecutionType, - _WorkflowServicePauseActivityExecutionType, - _WorkflowServiceResetActivityExecutionType, - _WorkflowServiceUnpauseActivityExecutionType, - _WorkflowServiceUpdateActivityExecutionOptionsType, - _WorkflowServiceTerminateNexusOperationExecutionType, - _WorkflowServiceDeleteNexusOperationExecutionType, - ] -): - """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server - to create and interact with workflows and activities. - - Users are expected to call `StartWorkflowExecution` to create a new workflow execution. - - To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow - and activity tasks from the service. For each workflow task, the sdk must process the - (incremental or complete) event history and respond back with any newly generated commands. - - For each activity task, the worker is expected to execute the user's code which implements that - activity, responding with completion or failure. - """ - - @typing.overload - def __init__( - self: WorkflowServiceStub[ - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - ], - grpc.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - ], - ], - channel: grpc.Channel, - ) -> None: ... - @typing.overload - def __init__( - self: WorkflowServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - ], - ], - channel: grpc.aio.Channel, - ) -> None: ... - - RegisterNamespace: _WorkflowServiceRegisterNamespaceType - """RegisterNamespace creates a new namespace which can be used as a container for all resources. - - A Namespace is a top level entity within Temporal, and is used as a container for resources - like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides - isolation for all resources within the namespace. All resources belongs to exactly one - namespace. - """ - - DescribeNamespace: _WorkflowServiceDescribeNamespaceType - """DescribeNamespace returns the information and configuration for a registered namespace.""" - - ListNamespaces: _WorkflowServiceListNamespacesType - """ListNamespaces returns the information and configuration for all namespaces.""" - - UpdateNamespace: _WorkflowServiceUpdateNamespaceType - """UpdateNamespace is used to update the information and configuration of a registered - namespace. - """ - - DeprecateNamespace: _WorkflowServiceDeprecateNamespaceType - """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. - - Once the namespace is deprecated it cannot be used to start new workflow executions. Existing - workflow executions will continue to run on deprecated namespaces. - Deprecated. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Deprecated --) - """ - - StartWorkflowExecution: _WorkflowServiceStartWorkflowExecutionType - """StartWorkflowExecution starts a new workflow execution. - - It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and - also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an - instance already exists with same workflow id. - """ - - ExecuteMultiOperation: _WorkflowServiceExecuteMultiOperationType - """ExecuteMultiOperation executes multiple operations within a single workflow. - - Operations are started atomically, meaning if *any* operation fails to be started, none are, - and the request fails. Upon start, the API returns only when *all* operations have a response. - - Upon failure, it returns `MultiOperationExecutionFailure` where the status code - equals the status code of the *first* operation that failed to be started. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: To be exposed over HTTP in the future. --) - """ - - GetWorkflowExecutionHistory: _WorkflowServiceGetWorkflowExecutionHistoryType - """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with - `NotFound` if the specified workflow execution is unknown to the service. - """ - - GetWorkflowExecutionHistoryReverse: ( - _WorkflowServiceGetWorkflowExecutionHistoryReverseType - ) - """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - order (starting from last event). Fails with`NotFound` if the specified workflow execution is - unknown to the service. - """ - - PollWorkflowTaskQueue: _WorkflowServicePollWorkflowTaskQueueType - """PollWorkflowTaskQueue is called by workers to make progress on workflows. - - A WorkflowTask is dispatched to callers for active workflow executions with pending workflow - tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done - processing the task. The service will create a `WorkflowTaskStarted` event in the history for - this task before handing it to the worker. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - RespondWorkflowTaskCompleted: _WorkflowServiceRespondWorkflowTaskCompletedType - """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks - they received from `PollWorkflowTaskQueue`. - - Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's - history, along with events corresponding to whatever commands the SDK generated while - executing the task (ex timer started, activity task scheduled, etc). - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - RespondWorkflowTaskFailed: _WorkflowServiceRespondWorkflowTaskFailedType - """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task - failed. - - This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow - task will be scheduled. This API can be used to report unhandled failures resulting from - applying the workflow task. - - Temporal will only append first WorkflowTaskFailed event to the history of workflow execution - for consecutive failures. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - PollActivityTaskQueue: _WorkflowServicePollActivityTaskQueueType - """PollActivityTaskQueue is called by workers to process activity tasks from a specific task - queue. - - The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done - processing the task. - - An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during - workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state - before the task is dispatched to the worker. The started event, and the final event - (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be - written permanently to Workflow execution history when Activity is finished. This is done to - avoid writing many events in the case of a failure/retry loop. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - RecordActivityTaskHeartbeat: _WorkflowServiceRecordActivityTaskHeartbeatType - """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. - - If a worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, - then the current attempt times out. Depending on RetryPolicy, this may trigger a retry or - time out the activity. - - For workflow activities, an `ACTIVITY_TASK_TIMED_OUT` event will be written to the workflow - history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in such situations, - in that event, the SDK should request cancellation of the activity. - - The request may contain response `details` which will be persisted by the server and may be - used by the activity to checkpoint progress. The `cancel_requested` field in the response - indicates whether cancellation has been requested for the activity. - """ - - RecordActivityTaskHeartbeatById: _WorkflowServiceRecordActivityTaskHeartbeatByIdType - """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by - namespace/workflow id/activity id instead of task token. - - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - - RespondActivityTaskCompleted: _WorkflowServiceRespondActivityTaskCompletedType - """RespondActivityTaskCompleted is called by workers when they successfully complete an activity - task. - - For workflow activities, this results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history - and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - no longer valid due to activity timeout, already being completed, or never having existed. - """ - - RespondActivityTaskCompletedById: ( - _WorkflowServiceRespondActivityTaskCompletedByIdType - ) - """See `RespondActivityTaskCompleted`. This version allows clients to record completions by - namespace/workflow id/activity id instead of task token. - - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - - RespondActivityTaskFailed: _WorkflowServiceRespondActivityTaskFailedType - """RespondActivityTaskFailed is called by workers when processing an activity task fails. - - This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and - a new workflow task created for the workflow. Fails with `NotFound` if the task token is no - longer valid due to activity timeout, already being completed, or never having existed. - """ - - RespondActivityTaskFailedById: _WorkflowServiceRespondActivityTaskFailedByIdType - """See `RecordActivityTaskFailed`. This version allows clients to record failures by - namespace/workflow id/activity id instead of task token. - - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - - RespondActivityTaskCanceled: _WorkflowServiceRespondActivityTaskCanceledType - """RespondActivityTaskFailed is called by workers when processing an activity task fails. - - For workflow activities, this results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history - and a new workflow task created for the workflow. Fails with `NotFound` if the task token is - no longer valid due to activity timeout, already being completed, or never having existed. - """ - - RespondActivityTaskCanceledById: _WorkflowServiceRespondActivityTaskCanceledByIdType - """See `RespondActivityTaskCanceled`. This version allows clients to record failures by - namespace/workflow id/activity id instead of task token. - - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "By" is used to indicate request type. --) - """ - - RequestCancelWorkflowExecution: _WorkflowServiceRequestCancelWorkflowExecutionType - """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of - a workflow execution. - - This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the - workflow history and a new workflow task created for the workflow. It returns success if the requested - workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. - """ - - SignalWorkflowExecution: _WorkflowServiceSignalWorkflowExecutionType - """SignalWorkflowExecution is used to send a signal to a running workflow execution. - - This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow - task being created for the execution. - """ - - SignalWithStartWorkflowExecution: ( - _WorkflowServiceSignalWithStartWorkflowExecutionType - ) - """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if - it isn't yet started. - - If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history - and a workflow task is generated. - - If the workflow is not running or not found, then the workflow is created with - `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a - workflow task is generated. - - (-- api-linter: core::0136::prepositions=disabled - aip.dev/not-precedent: "With" is used to indicate combined operation. --) - """ - - ResetWorkflowExecution: _WorkflowServiceResetWorkflowExecutionType - """ResetWorkflowExecution will reset an existing workflow execution to a specified - `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current - execution instance. "Exclusive" means the identified completed event itself is not replayed - in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed - immediately, and a new workflow task will be scheduled to retry it. - """ - - TerminateWorkflowExecution: _WorkflowServiceTerminateWorkflowExecutionType - """TerminateWorkflowExecution terminates an existing workflow execution by recording a - `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the - execution instance. - """ - - DeleteWorkflowExecution: _WorkflowServiceDeleteWorkflowExecutionType - """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when - WorkflowExecution.run_id is provided) or the latest Workflow Execution (when - WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be - terminated before deletion. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) - """ - - ListOpenWorkflowExecutions: _WorkflowServiceListOpenWorkflowExecutionsType - """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - """ - - ListClosedWorkflowExecutions: _WorkflowServiceListClosedWorkflowExecutionsType - """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - """ - - ListWorkflowExecutions: _WorkflowServiceListWorkflowExecutionsType - """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" - - ListArchivedWorkflowExecutions: _WorkflowServiceListArchivedWorkflowExecutionsType - """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" - - ScanWorkflowExecutions: _WorkflowServiceScanWorkflowExecutionsType - """ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. - It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. - - Deprecated: Replaced with `ListWorkflowExecutions`. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) - """ - - CountWorkflowExecutions: _WorkflowServiceCountWorkflowExecutionsType - """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" - - GetSearchAttributes: _WorkflowServiceGetSearchAttributesType - """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) - """ - - RespondQueryTaskCompleted: _WorkflowServiceRespondQueryTaskCompletedType - """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on - the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. - - Completing the query will unblock the corresponding client call to `QueryWorkflow` and return - the query result a response. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - ResetStickyTaskQueue: _WorkflowServiceResetStickyTaskQueueType - """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of - a given workflow. This is prudent for workers to perform if a workflow has been paged out of - their cache. - - Things cleared are: - 1. StickyTaskQueue - 2. StickyScheduleToStartTimeout - - When possible, ShutdownWorker should be preferred over - ResetStickyTaskQueue (particularly when a worker is shutting down or - cycling). - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - ShutdownWorker: _WorkflowServiceShutdownWorkerType - """ShutdownWorker is used to indicate that the given sticky task - queue is no longer being polled by its worker. Following the completion of - ShutdownWorker, newly-added workflow tasks will instead be placed - in the normal task queue, eligible for any worker to pick up. - - ShutdownWorker should be called by workers while shutting down, - after they've shut down their pollers. If another sticky poll - request is issued, the sticky task queue will be revived. - - As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - QueryWorkflow: _WorkflowServiceQueryWorkflowType - """QueryWorkflow requests a query be executed for a specified workflow execution.""" - - DescribeWorkflowExecution: _WorkflowServiceDescribeWorkflowExecutionType - """DescribeWorkflowExecution returns information about the specified workflow execution.""" - - DescribeTaskQueue: _WorkflowServiceDescribeTaskQueueType - """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - - List of pollers - - Workflow Reachability status - - Backlog info for Workflow and/or Activity tasks - """ - - GetClusterInfo: _WorkflowServiceGetClusterInfoType - """GetClusterInfo returns information about temporal cluster""" - - GetSystemInfo: _WorkflowServiceGetSystemInfoType - """GetSystemInfo returns information about the system.""" - - ListTaskQueuePartitions: _WorkflowServiceListTaskQueuePartitionsType - """(-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) - """ - - CreateSchedule: _WorkflowServiceCreateScheduleType - """Creates a new schedule.""" - - DescribeSchedule: _WorkflowServiceDescribeScheduleType - """Returns the schedule description and current state of an existing schedule.""" - - UpdateSchedule: _WorkflowServiceUpdateScheduleType - """Changes the configuration or state of an existing schedule.""" - - PatchSchedule: _WorkflowServicePatchScheduleType - """Makes a specific change to a schedule or triggers an immediate action.""" - - ListScheduleMatchingTimes: _WorkflowServiceListScheduleMatchingTimesType - """Lists matching times within a range.""" - - DeleteSchedule: _WorkflowServiceDeleteScheduleType - """Deletes a schedule, removing it from the system.""" - - ListSchedules: _WorkflowServiceListSchedulesType - """List all schedules in a namespace.""" - - CountSchedules: _WorkflowServiceCountSchedulesType - """CountSchedules is a visibility API to count schedules in a specific namespace.""" - - UpdateWorkerBuildIdCompatibility: ( - _WorkflowServiceUpdateWorkerBuildIdCompatibilityType - ) - """Deprecated. Use `UpdateWorkerVersioningRules`. - Will be removed in server version v1.32.0. - - Allows users to specify sets of worker build id versions on a per task queue basis. Versions - are ordered, and may be either compatible with some extant version, or a new incompatible - version, forming sets of ids which are incompatible with each other, but whose contained - members are compatible with one another. - - A single build id may be mapped to multiple task queues using this API for cases where a single process hosts - multiple workers. - - To query which workers can be retired, use the `GetWorkerTaskReachability` API. - - NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId` - (default is 20), if this limit is exceeded this API will error with a FailedPrecondition. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - """ - - GetWorkerBuildIdCompatibility: _WorkflowServiceGetWorkerBuildIdCompatibilityType - """Deprecated. Use `GetWorkerVersioningRules`. - Will be removed in server version v1.32.0. - Fetches the worker build id versioning sets for a task queue. - """ - - UpdateWorkerVersioningRules: _WorkflowServiceUpdateWorkerVersioningRulesType - """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of - rules: Build ID Assignment rules and Compatible Build ID Redirect rules. - - Assignment rules determine how to assign new executions to a Build IDs. Their primary - use case is to specify the latest Build ID but they have powerful features for gradual rollout - of a new Build ID. - - Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, - the workflow stays on the assigned Build ID regardless of changes in assignment rules. This - eliminates the need for compatibility between versions when you only care about using the new - version for new workflows and let existing workflows finish in their own version. - - Activities, Child Workflows and Continue-as-New executions have the option to inherit the - Build ID of their parent/previous workflow or use the latest assignment rules to independently - select a Build ID. - - Redirect rules should only be used when you want to move workflows and activities assigned to - one Build ID (source) to another compatible Build ID (target). You are responsible to make sure - the target Build ID of a redirect rule is able to process event histories made by the source - Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. - - Will be removed in server version v1.32.0. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) - """ - - GetWorkerVersioningRules: _WorkflowServiceGetWorkerVersioningRulesType - """Fetches the Build ID assignment and redirect rules for a Task Queue. - Will be removed in server version v1.32.0. - """ - - GetWorkerTaskReachability: _WorkflowServiceGetWorkerTaskReachabilityType - """Deprecated. Use `DescribeTaskQueue`. - Will be removed in server version v1.32.0. - - Fetches task reachability to determine whether a worker may be retired. - The request may specify task queues to query for or let the server fetch all task queues mapped to the given - build IDs. - - When requesting a large number of task queues or all task queues associated with the given build ids in a - namespace, all task queues will be listed in the response but some of them may not contain reachability - information due to a server enforced limit. When reaching the limit, task queues that reachability information - could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue - another call to get the reachability for those task queues. - - Open source users can adjust this limit by setting the server's dynamic config value for - `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. - """ - - DescribeDeployment: _WorkflowServiceDescribeDeploymentType - """Describes a worker deployment. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. - """ - - DescribeWorkerDeploymentVersion: _WorkflowServiceDescribeWorkerDeploymentVersionType - """Describes a worker deployment version. - Experimental. This API might significantly change or be removed in a future release. - """ - - ListDeployments: _WorkflowServiceListDeploymentsType - """Lists worker deployments in the namespace. Optionally can filter based on deployment series - name. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced with `ListWorkerDeployments`. - """ - - GetDeploymentReachability: _WorkflowServiceGetDeploymentReachabilityType - """Returns the reachability level of a worker deployment to help users decide when it is time - to decommission a deployment. Reachability level is calculated based on the deployment's - `status` and existing workflows that depend on the given deployment for their execution. - Calculating reachability is relatively expensive. Therefore, server might return a recently - cached value. In such a case, the `last_update_time` will inform you about the actual - reachability calculation time. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. - """ - - GetCurrentDeployment: _WorkflowServiceGetCurrentDeploymentType - """Returns the current deployment (and its info) for a given deployment series. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. - """ - - SetCurrentDeployment: _WorkflowServiceSetCurrentDeploymentType - """Sets a deployment as the current deployment for its deployment series. Can optionally update - the metadata of the deployment as well. - Experimental. This API might significantly change or be removed in a future release. - Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. - """ - - SetWorkerDeploymentCurrentVersion: ( - _WorkflowServiceSetWorkerDeploymentCurrentVersionType - ) - """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping - Version if it is the Version being set as Current. - Experimental. This API might significantly change or be removed in a future release. - """ - - DescribeWorkerDeployment: _WorkflowServiceDescribeWorkerDeploymentType - """Describes a Worker Deployment. - Experimental. This API might significantly change or be removed in a future release. - """ - - DeleteWorkerDeployment: _WorkflowServiceDeleteWorkerDeploymentType - """Deletes records of (an old) Deployment. A deployment can only be deleted if - it has no Version in it. - Experimental. This API might significantly change or be removed in a future release. - """ - - DeleteWorkerDeploymentVersion: _WorkflowServiceDeleteWorkerDeploymentVersionType - """Used for manual deletion of Versions. User can delete a Version only when all the - following conditions are met: - - It is not the Current or Ramping Version of its Deployment. - - It has no active pollers (none of the task queues in the Version have pollers) - - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition - can be skipped by passing `skip-drainage=true`. - Experimental. This API might significantly change or be removed in a future release. - """ - - SetWorkerDeploymentRampingVersion: ( - _WorkflowServiceSetWorkerDeploymentRampingVersionType - ) - """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for - gradual ramp to unversioned workers too. - Experimental. This API might significantly change or be removed in a future release. - """ - - ListWorkerDeployments: _WorkflowServiceListWorkerDeploymentsType - """Lists all Worker Deployments that are tracked in the Namespace. - Experimental. This API might significantly change or be removed in a future release. - """ - - CreateWorkerDeployment: _WorkflowServiceCreateWorkerDeploymentType - """Creates a new Worker Deployment. - - Experimental. This API might significantly change or be removed in a - future release. - """ - - CreateWorkerDeploymentVersion: _WorkflowServiceCreateWorkerDeploymentVersionType - """Creates a new Worker Deployment Version. - - Experimental. This API might significantly change or be removed in a - future release. - """ - - UpdateWorkerDeploymentVersionComputeConfig: ( - _WorkflowServiceUpdateWorkerDeploymentVersionComputeConfigType - ) - """Updates the compute config attached to a Worker Deployment Version. - Experimental. This API might significantly change or be removed in a future release. - """ - - ValidateWorkerDeploymentVersionComputeConfig: ( - _WorkflowServiceValidateWorkerDeploymentVersionComputeConfigType - ) - """Validates the compute config without attaching it to a Worker Deployment Version. - Experimental. This API might significantly change or be removed in a future release. - """ - - UpdateWorkerDeploymentVersionMetadata: ( - _WorkflowServiceUpdateWorkerDeploymentVersionMetadataType - ) - """Updates the user-given metadata attached to a Worker Deployment Version. - Experimental. This API might significantly change or be removed in a future release. - """ - - SetWorkerDeploymentManager: _WorkflowServiceSetWorkerDeploymentManagerType - """Set/unset the ManagerIdentity of a Worker Deployment. - Experimental. This API might significantly change or be removed in a future release. - """ - - UpdateWorkflowExecution: _WorkflowServiceUpdateWorkflowExecutionType - """Invokes the specified Update function on user Workflow code.""" - - PollWorkflowExecutionUpdate: _WorkflowServicePollWorkflowExecutionUpdateType - """Polls a Workflow Execution for the outcome of a Workflow Update - previously issued through the UpdateWorkflowExecution RPC. The effective - timeout on this call will be shorter of the the caller-supplied gRPC - timeout and the server's configured long-poll timeout. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) - """ - - StartBatchOperation: _WorkflowServiceStartBatchOperationType - """StartBatchOperation starts a new batch operation""" - - StopBatchOperation: _WorkflowServiceStopBatchOperationType - """StopBatchOperation stops a batch operation""" - - DescribeBatchOperation: _WorkflowServiceDescribeBatchOperationType - """DescribeBatchOperation returns the information about a batch operation""" - - ListBatchOperations: _WorkflowServiceListBatchOperationsType - """ListBatchOperations returns a list of batch operations""" - - PollNexusTaskQueue: _WorkflowServicePollNexusTaskQueueType - """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - RespondNexusTaskCompleted: _WorkflowServiceRespondNexusTaskCompletedType - """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - RespondNexusTaskFailed: _WorkflowServiceRespondNexusTaskFailedType - """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: We do not expose worker API to HTTP. --) - """ - - UpdateActivityOptions: _WorkflowServiceUpdateActivityOptionsType - """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. - If there are multiple pending activities of the provided type - all of them will be updated. - This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and - structured to work well for standalone activities. - """ - - UpdateWorkflowExecutionOptions: _WorkflowServiceUpdateWorkflowExecutionOptionsType - """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" - - PauseActivity: _WorkflowServicePauseActivityType - """PauseActivity pauses the execution of an activity specified by its ID or type. - If there are multiple pending activities of the provided type - all of them will be paused - - Pausing an activity means: - - If the activity is currently waiting for a retry or is running and subsequently fails, - it will not be rescheduled until it is unpaused. - - If the activity is already paused, calling this method will have no effect. - - If the activity is running and finishes successfully, the activity will be completed. - - If the activity is running and finishes with failure: - * if there is no retry left - the activity will be completed. - * if there are more retries left - the activity will be paused. - For long-running activities: - - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. - - The activity should respond to the cancellation accordingly. - - Returns a `NotFound` error if there is no pending activity with the provided ID or type - This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and - structured to work well for standalone activities. - """ - - UnpauseActivity: _WorkflowServiceUnpauseActivityType - """UnpauseActivity unpauses the execution of an activity specified by its ID or type. - If there are multiple pending activities of the provided type - all of them will be unpaused. - - If activity is not paused, this call will have no effect. - If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). - Once the activity is unpaused, all timeout timers will be regenerated. - - Flags: - 'jitter': the activity will be scheduled at a random time within the jitter duration. - 'reset_attempts': the number of attempts will be reset. - 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset. - - Returns a `NotFound` error if there is no pending activity with the provided ID or type - This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and - structured to work well for standalone activities. - """ - - ResetActivity: _WorkflowServiceResetActivityType - """ResetActivity resets the execution of an activity specified by its ID or type. - If there are multiple pending activities of the provided type - all of them will be reset. - - Resetting an activity means: - * number of attempts will be reset to 0. - * activity timeouts will be reset. - * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: - it will be scheduled immediately (* see 'jitter' flag), - - Flags: - - 'jitter': the activity will be scheduled at a random time within the jitter duration. - If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. - 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. - 'keep_paused': if the activity is paused, it will remain paused. - - Returns a `NotFound` error if there is no pending activity with the provided ID or type. - This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and - structured to work well for standalone activities. - """ - - CreateWorkflowRule: _WorkflowServiceCreateWorkflowRuleType - """Create a new workflow rule. The rules are used to control the workflow execution. - The rule will be applied to all running and new workflows in the namespace. - If the rule with such ID already exist this call will fail - Note: the rules are part of namespace configuration and will be stored in the namespace config. - Namespace config is eventually consistent. - """ - - DescribeWorkflowRule: _WorkflowServiceDescribeWorkflowRuleType - """DescribeWorkflowRule return the rule specification for existing rule id. - If there is no rule with such id - NOT FOUND error will be returned. - """ - - DeleteWorkflowRule: _WorkflowServiceDeleteWorkflowRuleType - """Delete rule by rule id""" - - ListWorkflowRules: _WorkflowServiceListWorkflowRulesType - """Return all namespace workflow rules""" - - TriggerWorkflowRule: _WorkflowServiceTriggerWorkflowRuleType - """TriggerWorkflowRule allows to: - * trigger existing rule for a specific workflow execution; - * trigger rule for a specific workflow execution without creating a rule; - This is useful for one-off operations. - """ - - RecordWorkerHeartbeat: _WorkflowServiceRecordWorkerHeartbeatType - """WorkerHeartbeat receive heartbeat request from the worker.""" - - ListWorkers: _WorkflowServiceListWorkersType - """ListWorkers is a visibility API to list worker status information in a specific namespace.""" - - CountWorkers: _WorkflowServiceCountWorkersType - """CountWorkers counts the number of workers in a specific namespace.""" - - UpdateTaskQueueConfig: _WorkflowServiceUpdateTaskQueueConfigType - """Updates task queue configuration. - For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, - which uncouples the rate limit from the worker lifecycle. - If the overall queue rate limit is unset, the worker-set rate limit takes effect. - """ - - FetchWorkerConfig: _WorkflowServiceFetchWorkerConfigType - """FetchWorkerConfig returns the worker configuration for a specific worker.""" - - UpdateWorkerConfig: _WorkflowServiceUpdateWorkerConfigType - """UpdateWorkerConfig updates the worker configuration of one or more workers. - Can be used to partially update the worker configuration. - Can be used to update the configuration of multiple workers. - """ - - DescribeWorker: _WorkflowServiceDescribeWorkerType - """DescribeWorker returns information about the specified worker.""" - - PauseWorkflowExecution: _WorkflowServicePauseWorkflowExecutionType - """Note: This is an experimental API and the behavior may change in a future release. - PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in - - The workflow execution status changes to `PAUSED` and a new WORKFLOW_EXECUTION_PAUSED event is added to the history - - No new workflow tasks or activity tasks are dispatched. - - Any workflow task currently executing on the worker will be allowed to complete. - - Any activity task currently executing will be paused. - - All server-side events will continue to be processed by the server. - - Queries & Updates on a paused workflow will be rejected. - """ - - UnpauseWorkflowExecution: _WorkflowServiceUnpauseWorkflowExecutionType - """Note: This is an experimental API and the behavior may change in a future release. - UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. - Unpausing a workflow execution results in - - The workflow execution status changes to `RUNNING` and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history - - Workflow tasks and activity tasks are resumed. - """ - - StartActivityExecution: _WorkflowServiceStartActivityExecutionType - """StartActivityExecution starts a new activity execution. - - Returns an `ActivityExecutionAlreadyStarted` error if an instance already exists with same activity ID in this namespace - unless permitted by the specified ID conflict policy. - """ - - StartNexusOperationExecution: _WorkflowServiceStartNexusOperationExecutionType - """StartNexusOperationExecution starts a new Nexus operation. - - Returns a `NexusOperationExecutionAlreadyStarted` error if an instance already exists with same operation ID in this - namespace unless permitted by the specified ID conflict policy. - """ - - DescribeActivityExecution: _WorkflowServiceDescribeActivityExecutionType - """DescribeActivityExecution returns information about an activity execution. - It can be used to: - - Get current activity info without waiting - - Long-poll for next state change and return new activity info - Response can optionally include activity input or outcome (if the activity has completed). - """ - - DescribeNexusOperationExecution: _WorkflowServiceDescribeNexusOperationExecutionType - """DescribeNexusOperationExecution returns information about a Nexus operation. - Supported use cases include: - - Get current operation info without waiting - - Long-poll for next state change and return new operation info - Response can optionally include operation input or outcome (if the operation has completed). - """ - - PollActivityExecution: _WorkflowServicePollActivityExecutionType - """PollActivityExecution long-polls for an activity execution to complete and returns the - outcome (result or failure). - """ - - PollNexusOperationExecution: _WorkflowServicePollNexusOperationExecutionType - """PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns - the outcome (result or failure). - """ - - ListActivityExecutions: _WorkflowServiceListActivityExecutionsType - """ListActivityExecutions is a visibility API to list activity executions in a specific namespace.""" - - ListNexusOperationExecutions: _WorkflowServiceListNexusOperationExecutionsType - """ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.""" - - CountActivityExecutions: _WorkflowServiceCountActivityExecutionsType - """CountActivityExecutions is a visibility API to count activity executions in a specific namespace.""" - - CountNexusOperationExecutions: _WorkflowServiceCountNexusOperationExecutionsType - """CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.""" - - RequestCancelActivityExecution: _WorkflowServiceRequestCancelActivityExecutionType - """RequestCancelActivityExecution requests cancellation of an activity execution. - - Cancellation is cooperative: this call records the request, but the activity must detect and - acknowledge it for the activity to reach CANCELED status. The cancellation signal is - delivered via `cancel_requested` in the heartbeat response; SDKs surface this via - language-idiomatic mechanisms (context cancellation, exceptions, abort signals). - """ - - RequestCancelNexusOperationExecution: ( - _WorkflowServiceRequestCancelNexusOperationExecutionType - ) - """RequestCancelNexusOperationExecution requests cancellation of a Nexus operation. - - Requesting to cancel an operation does not automatically transition the operation to canceled status. - The operation will only transition to canceled status if it supports cancellation and the handler - processes the cancellation request. - """ - - TerminateActivityExecution: _WorkflowServiceTerminateActivityExecutionType - """TerminateActivityExecution terminates an existing activity execution immediately. - - Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a - running attempt. - """ - - DeleteActivityExecution: _WorkflowServiceDeleteActivityExecutionType - """DeleteActivityExecution asynchronously deletes a specific activity execution (when - ActivityExecution.run_id is provided) or the latest activity execution (when - ActivityExecution.run_id is not provided). If the activity Execution is running, it will be - terminated before deletion. - - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --) - """ - - PauseActivityExecution: _WorkflowServicePauseActivityExecutionType - """PauseActivityExecution pauses the execution of an activity specified by its ID. - This API can be used to target a workflow activity or a standalone activity - - Pausing an activity means: - - If the activity is currently waiting for a retry or is running and subsequently fails, - it will not be rescheduled until it is unpaused. - - If the activity is already paused, calling this method will have no effect. - - If the activity is running and finishes successfully, the activity will be completed. - - If the activity is running and finishes with failure: - * if there is no retry left - the activity will be completed. - * if there are more retries left - the activity will be paused. - For long-running activities: - - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. - - Returns a `NotFound` error if there is no pending activity with the provided ID - """ - - ResetActivityExecution: _WorkflowServiceResetActivityExecutionType - """ResetActivityExecution resets the execution of an activity specified by its ID. - This API can be used to target a workflow activity or a standalone activity. - - Resetting an activity means: - * number of attempts will be reset to 0. - * activity timeouts will be reset. - * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: - it will be scheduled immediately (* see 'jitter' flag) - - Returns a `NotFound` error if there is no pending activity with the provided ID or type. - """ - - UnpauseActivityExecution: _WorkflowServiceUnpauseActivityExecutionType - """UnpauseActivityExecution unpauses the execution of an activity specified by its ID. - This API can be used to target a workflow activity or a standalone activity. - - If activity is not paused, this call will have no effect. - If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). - Once the activity is unpaused, all timeout timers will be regenerated. - - Returns a `NotFound` error if there is no pending activity with the provided ID - """ +class WorkflowServiceStub: + """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server + to create and interact with workflows and activities. - UpdateActivityExecutionOptions: _WorkflowServiceUpdateActivityExecutionOptionsType - """UpdateActivityExecutionOptions is called by the client to update the options of an activity by its ID. - This API can be used to target a workflow activity or a standalone activity. - """ + Users are expected to call `StartWorkflowExecution` to create a new workflow execution. - TerminateNexusOperationExecution: ( - _WorkflowServiceTerminateNexusOperationExecutionType - ) - """TerminateNexusOperationExecution terminates an existing Nexus operation immediately. + To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow + and activity tasks from the service. For each workflow task, the sdk must process the + (incremental or complete) event history and respond back with any newly generated commands. - Termination happens immediately and the operation handler cannot react to it. A terminated operation will have - its outcome set to a failure with a termination reason. + For each activity task, the worker is expected to execute the user's code which implements that + activity, responding with completion or failure. """ - DeleteNexusOperationExecution: _WorkflowServiceDeleteNexusOperationExecutionType - """DeleteNexusOperationExecution asynchronously deletes a specific Nexus operation run (when - run_id is provided) or the latest run (when run_id is not provided). If the operation - is running, it will be terminated before deletion. + def __init__(self, channel: grpc.Channel) -> None: ... + RegisterNamespace: grpc.UnaryUnaryMultiCallable[ + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, + ] + """RegisterNamespace creates a new namespace which can be used as a container for all resources. - (-- api-linter: core::0127::http-annotation=disabled - aip.dev/not-precedent: Nexus operation deletion not exposed to HTTP, users should use cancel or terminate. --) + A Namespace is a top level entity within Temporal, and is used as a container for resources + like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides + isolation for all resources within the namespace. All resources belongs to exactly one + namespace. """ - -WorkflowServiceAsyncStub: typing_extensions.TypeAlias = WorkflowServiceStub[ - grpc.aio.UnaryUnaryMultiCallable[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + DescribeNamespace: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeNamespace returns the information and configuration for a registered namespace.""" + ListNamespaces: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListNamespaces returns the information and configuration for all namespaces.""" + UpdateNamespace: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """UpdateNamespace is used to update the information and configuration of a registered + namespace. + """ + DeprecateNamespace: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. + + Once the namespace is deprecated it cannot be used to start new workflow executions. Existing + workflow executions will continue to run on deprecated namespaces. + Deprecated. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Deprecated --) + """ + StartWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """StartWorkflowExecution starts a new workflow execution. + + It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and + also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an + instance already exists with same workflow id. + """ + ExecuteMultiOperation: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ExecuteMultiOperation executes multiple operations within a single workflow. + + Operations are started atomically, meaning if *any* operation fails to be started, none are, + and the request fails. Upon start, the API returns only when *all* operations have a response. + + Upon failure, it returns `MultiOperationExecutionFailure` where the status code + equals the status code of the *first* operation that failed to be started. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: To be exposed over HTTP in the future. --) + """ + GetWorkflowExecutionHistory: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with + `NotFound` if the specified workflow execution is unknown to the service. + """ + GetWorkflowExecutionHistoryReverse: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse + order (starting from last event). Fails with`NotFound` if the specified workflow execution is + unknown to the service. + """ + PollWorkflowTaskQueue: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """PollWorkflowTaskQueue is called by workers to make progress on workflows. + + A WorkflowTask is dispatched to callers for active workflow executions with pending workflow + tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done + processing the task. The service will create a `WorkflowTaskStarted` event in the history for + this task before handing it to the worker. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + RespondWorkflowTaskCompleted: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks + they received from `PollWorkflowTaskQueue`. + + Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's + history, along with events corresponding to whatever commands the SDK generated while + executing the task (ex timer started, activity task scheduled, etc). + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + RespondWorkflowTaskFailed: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task + failed. + + This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow + task will be scheduled. This API can be used to report unhandled failures resulting from + applying the workflow task. + + Temporal will only append first WorkflowTaskFailed event to the history of workflow execution + for consecutive failures. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + PollActivityTaskQueue: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """PollActivityTaskQueue is called by workers to process activity tasks from a specific task + queue. + + The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done + processing the task. + + An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during + workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state + before the task is dispatched to the worker. The started event, and the final event + (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be + written permanently to Workflow execution history when Activity is finished. This is done to + avoid writing many events in the case of a failure/retry loop. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + RecordActivityTaskHeartbeat: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. + + If a worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, + then the current attempt times out. Depending on RetryPolicy, this may trigger a retry or + time out the activity. + + For workflow activities, an `ACTIVITY_TASK_TIMED_OUT` event will be written to the workflow + history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in such situations, + in that event, the SDK should request cancellation of the activity. + + The request may contain response `details` which will be persisted by the server and may be + used by the activity to checkpoint progress. The `cancel_requested` field in the response + indicates whether cancellation has been requested for the activity. + """ + RecordActivityTaskHeartbeatById: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + RespondActivityTaskCompleted: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondActivityTaskCompleted is called by workers when they successfully complete an activity + task. + + For workflow activities, this results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history + and a new workflow task created for the workflow. Fails with `NotFound` if the task token is + no longer valid due to activity timeout, already being completed, or never having existed. + """ + RespondActivityTaskCompletedById: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """See `RespondActivityTaskCompleted`. This version allows clients to record completions by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + RespondActivityTaskFailed: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondActivityTaskFailed is called by workers when processing an activity task fails. + + This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and + a new workflow task created for the workflow. Fails with `NotFound` if the task token is no + longer valid due to activity timeout, already being completed, or never having existed. + """ + RespondActivityTaskFailedById: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """See `RecordActivityTaskFailed`. This version allows clients to record failures by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + RespondActivityTaskCanceled: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondActivityTaskFailed is called by workers when processing an activity task fails. + + For workflow activities, this results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history + and a new workflow task created for the workflow. Fails with `NotFound` if the task token is + no longer valid due to activity timeout, already being completed, or never having existed. + """ + RespondActivityTaskCanceledById: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """See `RespondActivityTaskCanceled`. This version allows clients to record failures by + namespace/workflow id/activity id instead of task token. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "By" is used to indicate request type. --) + """ + RequestCancelWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of + a workflow execution. + + This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the + workflow history and a new workflow task created for the workflow. It returns success if the requested + workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. + """ + SignalWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """SignalWorkflowExecution is used to send a signal to a running workflow execution. + + This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow + task being created for the execution. + """ + SignalWithStartWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if + it isn't yet started. + + If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history + and a workflow task is generated. + + If the workflow is not running or not found, then the workflow is created with + `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a + workflow task is generated. + + (-- api-linter: core::0136::prepositions=disabled + aip.dev/not-precedent: "With" is used to indicate combined operation. --) + """ + ResetWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ResetWorkflowExecution will reset an existing workflow execution to a specified + `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current + execution instance. "Exclusive" means the identified completed event itself is not replayed + in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed + immediately, and a new workflow task will be scheduled to retry it. + """ + TerminateWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """TerminateWorkflowExecution terminates an existing workflow execution by recording a + `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the + execution instance. + """ + DeleteWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when + WorkflowExecution.run_id is provided) or the latest Workflow Execution (when + WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be + terminated before deletion. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) + """ + ListOpenWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) + """ + ListClosedWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) + """ + ListWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" + ListArchivedWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" + ScanWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. + It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. + + Deprecated: Replaced with `ListWorkflowExecutions`. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) + """ + CountWorkflowExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" + GetSearchAttributes: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) + """ + RespondQueryTaskCompleted: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on + the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. + + Completing the query will unblock the corresponding client call to `QueryWorkflow` and return + the query result a response. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + ResetStickyTaskQueue: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of + a given workflow. This is prudent for workers to perform if a workflow has been paged out of + their cache. + + Things cleared are: + 1. StickyTaskQueue + 2. StickyScheduleToStartTimeout + + When possible, ShutdownWorker should be preferred over + ResetStickyTaskQueue (particularly when a worker is shutting down or + cycling). + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + ShutdownWorker: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ShutdownWorker is used to indicate that the given sticky task + queue is no longer being polled by its worker. Following the completion of + ShutdownWorker, newly-added workflow tasks will instead be placed + in the normal task queue, eligible for any worker to pick up. + + ShutdownWorker should be called by workers while shutting down, + after they've shut down their pollers. If another sticky poll + request is issued, the sticky task queue will be revived. + + As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + QueryWorkflow: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """QueryWorkflow requests a query be executed for a specified workflow execution.""" + DescribeWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeWorkflowExecution returns information about the specified workflow execution.""" + DescribeTaskQueue: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: + - List of pollers + - Workflow Reachability status + - Backlog info for Workflow and/or Activity tasks + """ + GetClusterInfo: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """GetClusterInfo returns information about temporal cluster""" + GetSystemInfo: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """GetSystemInfo returns information about the system.""" + ListTaskQueuePartitions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """(-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) + """ + CreateSchedule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Creates a new schedule.""" + DescribeSchedule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Returns the schedule description and current state of an existing schedule.""" + UpdateSchedule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Changes the configuration or state of an existing schedule.""" + PatchSchedule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Makes a specific change to a schedule or triggers an immediate action.""" + ListScheduleMatchingTimes: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Lists matching times within a range.""" + DeleteSchedule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Deletes a schedule, removing it from the system.""" + ListSchedules: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """List all schedules in a namespace.""" + CountSchedules: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """CountSchedules is a visibility API to count schedules in a specific namespace.""" + UpdateWorkerBuildIdCompatibility: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Deprecated. Use `UpdateWorkerVersioningRules`. + Will be removed in server version v1.32.0. + + Allows users to specify sets of worker build id versions on a per task queue basis. Versions + are ordered, and may be either compatible with some extant version, or a new incompatible + version, forming sets of ids which are incompatible with each other, but whose contained + members are compatible with one another. + + A single build id may be mapped to multiple task queues using this API for cases where a single process hosts + multiple workers. + + To query which workers can be retired, use the `GetWorkerTaskReachability` API. + + NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId` + (default is 20), if this limit is exceeded this API will error with a FailedPrecondition. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) + """ + GetWorkerBuildIdCompatibility: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Deprecated. Use `GetWorkerVersioningRules`. + Will be removed in server version v1.32.0. + Fetches the worker build id versioning sets for a task queue. + """ + UpdateWorkerVersioningRules: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of + rules: Build ID Assignment rules and Compatible Build ID Redirect rules. + + Assignment rules determine how to assign new executions to a Build IDs. Their primary + use case is to specify the latest Build ID but they have powerful features for gradual rollout + of a new Build ID. + + Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, + the workflow stays on the assigned Build ID regardless of changes in assignment rules. This + eliminates the need for compatibility between versions when you only care about using the new + version for new workflows and let existing workflows finish in their own version. + + Activities, Child Workflows and Continue-as-New executions have the option to inherit the + Build ID of their parent/previous workflow or use the latest assignment rules to independently + select a Build ID. + + Redirect rules should only be used when you want to move workflows and activities assigned to + one Build ID (source) to another compatible Build ID (target). You are responsible to make sure + the target Build ID of a redirect rule is able to process event histories made by the source + Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. + + Will be removed in server version v1.32.0. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) + """ + GetWorkerVersioningRules: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Fetches the Build ID assignment and redirect rules for a Task Queue. + Will be removed in server version v1.32.0. + """ + GetWorkerTaskReachability: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Deprecated. Use `DescribeTaskQueue`. + Will be removed in server version v1.32.0. + + Fetches task reachability to determine whether a worker may be retired. + The request may specify task queues to query for or let the server fetch all task queues mapped to the given + build IDs. + + When requesting a large number of task queues or all task queues associated with the given build ids in a + namespace, all task queues will be listed in the response but some of them may not contain reachability + information due to a server enforced limit. When reaching the limit, task queues that reachability information + could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue + another call to get the reachability for those task queues. + + Open source users can adjust this limit by setting the server's dynamic config value for + `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. + """ + DescribeDeployment: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Describes a worker deployment. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. + """ + DescribeWorkerDeploymentVersion: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Describes a worker deployment version. + Experimental. This API might significantly change or be removed in a future release. + """ + ListDeployments: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Lists worker deployments in the namespace. Optionally can filter based on deployment series + name. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced with `ListWorkerDeployments`. + """ + GetDeploymentReachability: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Returns the reachability level of a worker deployment to help users decide when it is time + to decommission a deployment. Reachability level is calculated based on the deployment's + `status` and existing workflows that depend on the given deployment for their execution. + Calculating reachability is relatively expensive. Therefore, server might return a recently + cached value. In such a case, the `last_update_time` will inform you about the actual + reachability calculation time. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. + """ + GetCurrentDeployment: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Returns the current deployment (and its info) for a given deployment series. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. + """ + SetCurrentDeployment: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Sets a deployment as the current deployment for its deployment series. Can optionally update + the metadata of the deployment as well. + Experimental. This API might significantly change or be removed in a future release. + Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. + """ + SetWorkerDeploymentCurrentVersion: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping + Version if it is the Version being set as Current. + Experimental. This API might significantly change or be removed in a future release. + """ + DescribeWorkerDeployment: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Describes a Worker Deployment. + Experimental. This API might significantly change or be removed in a future release. + """ + DeleteWorkerDeployment: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Deletes records of (an old) Deployment. A deployment can only be deleted if + it has no Version in it. + Experimental. This API might significantly change or be removed in a future release. + """ + DeleteWorkerDeploymentVersion: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Used for manual deletion of Versions. User can delete a Version only when all the + following conditions are met: + - It is not the Current or Ramping Version of its Deployment. + - It has no active pollers (none of the task queues in the Version have pollers) + - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition + can be skipped by passing `skip-drainage=true`. + Experimental. This API might significantly change or be removed in a future release. + """ + SetWorkerDeploymentRampingVersion: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for + gradual ramp to unversioned workers too. + Experimental. This API might significantly change or be removed in a future release. + """ + ListWorkerDeployments: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Lists all Worker Deployments that are tracked in the Namespace. + Experimental. This API might significantly change or be removed in a future release. + """ + CreateWorkerDeployment: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Creates a new Worker Deployment. + + Experimental. This API might significantly change or be removed in a + future release. + """ + CreateWorkerDeploymentVersion: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Creates a new Worker Deployment Version. + + Experimental. This API might significantly change or be removed in a + future release. + """ + UpdateWorkerDeploymentVersionComputeConfig: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Updates the compute config attached to a Worker Deployment Version. + Experimental. This API might significantly change or be removed in a future release. + """ + ValidateWorkerDeploymentVersionComputeConfig: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Validates the compute config without attaching it to a Worker Deployment Version. + Experimental. This API might significantly change or be removed in a future release. + """ + UpdateWorkerDeploymentVersionMetadata: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Updates the user-given metadata attached to a Worker Deployment Version. + Experimental. This API might significantly change or be removed in a future release. + """ + SetWorkerDeploymentManager: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Set/unset the ManagerIdentity of a Worker Deployment. + Experimental. This API might significantly change or be removed in a future release. + """ + UpdateWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Invokes the specified Update function on user Workflow code.""" + PollWorkflowExecutionUpdate: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Polls a Workflow Execution for the outcome of a Workflow Update + previously issued through the UpdateWorkflowExecution RPC. The effective + timeout on this call will be shorter of the the caller-supplied gRPC + timeout and the server's configured long-poll timeout. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) + """ + StartBatchOperation: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """StartBatchOperation starts a new batch operation""" + StopBatchOperation: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """StopBatchOperation stops a batch operation""" + DescribeBatchOperation: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeBatchOperation returns the information about a batch operation""" + ListBatchOperations: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListBatchOperations returns a list of batch operations""" + PollNexusTaskQueue: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + RespondNexusTaskCompleted: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + RespondNexusTaskFailed: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: We do not expose worker API to HTTP. --) + """ + UpdateActivityOptions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. + If there are multiple pending activities of the provided type - all of them will be updated. + This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and + structured to work well for standalone activities. + """ + UpdateWorkflowExecutionOptions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" + PauseActivity: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """PauseActivity pauses the execution of an activity specified by its ID or type. + If there are multiple pending activities of the provided type - all of them will be paused + + Pausing an activity means: + - If the activity is currently waiting for a retry or is running and subsequently fails, + it will not be rescheduled until it is unpaused. + - If the activity is already paused, calling this method will have no effect. + - If the activity is running and finishes successfully, the activity will be completed. + - If the activity is running and finishes with failure: + * if there is no retry left - the activity will be completed. + * if there are more retries left - the activity will be paused. + For long-running activities: + - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. + - The activity should respond to the cancellation accordingly. + + Returns a `NotFound` error if there is no pending activity with the provided ID or type + This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and + structured to work well for standalone activities. + """ + UnpauseActivity: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """UnpauseActivity unpauses the execution of an activity specified by its ID or type. + If there are multiple pending activities of the provided type - all of them will be unpaused. + + If activity is not paused, this call will have no effect. + If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). + Once the activity is unpaused, all timeout timers will be regenerated. + + Flags: + 'jitter': the activity will be scheduled at a random time within the jitter duration. + 'reset_attempts': the number of attempts will be reset. + 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset. + + Returns a `NotFound` error if there is no pending activity with the provided ID or type + This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and + structured to work well for standalone activities. + """ + ResetActivity: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ResetActivity resets the execution of an activity specified by its ID or type. + If there are multiple pending activities of the provided type - all of them will be reset. + + Resetting an activity means: + * number of attempts will be reset to 0. + * activity timeouts will be reset. + * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: + it will be scheduled immediately (* see 'jitter' flag), + + Flags: + + 'jitter': the activity will be scheduled at a random time within the jitter duration. + If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. + 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. + 'keep_paused': if the activity is paused, it will remain paused. + + Returns a `NotFound` error if there is no pending activity with the provided ID or type. + This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and + structured to work well for standalone activities. + """ + CreateWorkflowRule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Create a new workflow rule. The rules are used to control the workflow execution. + The rule will be applied to all running and new workflows in the namespace. + If the rule with such ID already exist this call will fail + Note: the rules are part of namespace configuration and will be stored in the namespace config. + Namespace config is eventually consistent. + """ + DescribeWorkflowRule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeWorkflowRule return the rule specification for existing rule id. + If there is no rule with such id - NOT FOUND error will be returned. + """ + DeleteWorkflowRule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Delete rule by rule id""" + ListWorkflowRules: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Return all namespace workflow rules""" + TriggerWorkflowRule: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """TriggerWorkflowRule allows to: + * trigger existing rule for a specific workflow execution; + * trigger rule for a specific workflow execution without creating a rule; + This is useful for one-off operations. + """ + RecordWorkerHeartbeat: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """WorkerHeartbeat receive heartbeat request from the worker.""" + ListWorkers: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListWorkers is a visibility API to list worker status information in a specific namespace.""" + CountWorkers: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """CountWorkers counts the number of workers in a specific namespace.""" + UpdateTaskQueueConfig: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Updates task queue configuration. + For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, + which uncouples the rate limit from the worker lifecycle. + If the overall queue rate limit is unset, the worker-set rate limit takes effect. + """ + FetchWorkerConfig: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """FetchWorkerConfig returns the worker configuration for a specific worker.""" + UpdateWorkerConfig: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """UpdateWorkerConfig updates the worker configuration of one or more workers. + Can be used to partially update the worker configuration. + Can be used to update the configuration of multiple workers. + """ + DescribeWorker: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeWorker returns information about the specified worker.""" + PauseWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Note: This is an experimental API and the behavior may change in a future release. + PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in + - The workflow execution status changes to `PAUSED` and a new WORKFLOW_EXECUTION_PAUSED event is added to the history + - No new workflow tasks or activity tasks are dispatched. + - Any workflow task currently executing on the worker will be allowed to complete. + - Any activity task currently executing will be paused. + - All server-side events will continue to be processed by the server. + - Queries & Updates on a paused workflow will be rejected. + """ + UnpauseWorkflowExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """Note: This is an experimental API and the behavior may change in a future release. + UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. + Unpausing a workflow execution results in + - The workflow execution status changes to `RUNNING` and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history + - Workflow tasks and activity tasks are resumed. + """ + StartActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """StartActivityExecution starts a new activity execution. + + Returns an `ActivityExecutionAlreadyStarted` error if an instance already exists with same activity ID in this namespace + unless permitted by the specified ID conflict policy. + """ + StartNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """StartNexusOperationExecution starts a new Nexus operation. + + Returns a `NexusOperationExecutionAlreadyStarted` error if an instance already exists with same operation ID in this + namespace unless permitted by the specified ID conflict policy. + """ + DescribeActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeActivityExecution returns information about an activity execution. + It can be used to: + - Get current activity info without waiting + - Long-poll for next state change and return new activity info + Response can optionally include activity input or outcome (if the activity has completed). + """ + DescribeNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DescribeNexusOperationExecution returns information about a Nexus operation. + Supported use cases include: + - Get current operation info without waiting + - Long-poll for next state change and return new operation info + Response can optionally include operation input or outcome (if the operation has completed). + """ + PollActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """PollActivityExecution long-polls for an activity execution to complete and returns the + outcome (result or failure). + """ + PollNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns + the outcome (result or failure). + """ + ListActivityExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListActivityExecutions is a visibility API to list activity executions in a specific namespace.""" + ListNexusOperationExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.""" + CountActivityExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """CountActivityExecutions is a visibility API to count activity executions in a specific namespace.""" + CountNexusOperationExecutions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.""" + RequestCancelActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RequestCancelActivityExecution requests cancellation of an activity execution. + + Cancellation is cooperative: this call records the request, but the activity must detect and + acknowledge it for the activity to reach CANCELED status. The cancellation signal is + delivered via `cancel_requested` in the heartbeat response; SDKs surface this via + language-idiomatic mechanisms (context cancellation, exceptions, abort signals). + """ + RequestCancelNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """RequestCancelNexusOperationExecution requests cancellation of a Nexus operation. + + Requesting to cancel an operation does not automatically transition the operation to canceled status. + The operation will only transition to canceled status if it supports cancellation and the handler + processes the cancellation request. + """ + TerminateActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """TerminateActivityExecution terminates an existing activity execution immediately. + + Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a + running attempt. + """ + DeleteActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """DeleteActivityExecution asynchronously deletes a specific activity execution (when + ActivityExecution.run_id is provided) or the latest activity execution (when + ActivityExecution.run_id is not provided). If the activity Execution is running, it will be + terminated before deletion. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --) + """ + PauseActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """PauseActivityExecution pauses the execution of an activity specified by its ID. + This API can be used to target a workflow activity or a standalone activity + + Pausing an activity means: + - If the activity is currently waiting for a retry or is running and subsequently fails, + it will not be rescheduled until it is unpaused. + - If the activity is already paused, calling this method will have no effect. + - If the activity is running and finishes successfully, the activity will be completed. + - If the activity is running and finishes with failure: + * if there is no retry left - the activity will be completed. + * if there are more retries left - the activity will be paused. + For long-running activities: + - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. + + Returns a `NotFound` error if there is no pending activity with the provided ID + """ + ResetActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """ResetActivityExecution resets the execution of an activity specified by its ID. + This API can be used to target a workflow activity or a standalone activity. + + Resetting an activity means: + * number of attempts will be reset to 0. + * activity timeouts will be reset. + * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: + it will be scheduled immediately (* see 'jitter' flag) + + Returns a `NotFound` error if there is no pending activity with the provided ID or type. + """ + UnpauseActivityExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """UnpauseActivityExecution unpauses the execution of an activity specified by its ID. + This API can be used to target a workflow activity or a standalone activity. + + If activity is not paused, this call will have no effect. + If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). + Once the activity is unpaused, all timeout timers will be regenerated. + + Returns a `NotFound` error if there is no pending activity with the provided ID + """ + UpdateActivityExecutionOptions: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """UpdateActivityExecutionOptions is called by the client to update the options of an activity by its ID. + This API can be used to target a workflow activity or a standalone activity. + """ + TerminateNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - ], - grpc.aio.UnaryUnaryMultiCallable[ + ] + """TerminateNexusOperationExecution terminates an existing Nexus operation immediately. + + Termination happens immediately and the operation handler cannot react to it. A terminated operation will have + its outcome set to a failure with a termination reason. + """ + DeleteNexusOperationExecution: grpc.UnaryUnaryMultiCallable[ temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - ], -] + ] + """DeleteNexusOperationExecution asynchronously deletes a specific Nexus operation run (when + run_id is provided) or the latest run (when run_id is not provided). If the operation + is running, it will be terminated before deletion. + + (-- api-linter: core::0127::http-annotation=disabled + aip.dev/not-precedent: Nexus operation deletion not exposed to HTTP, users should use cancel or terminate. --) + """ class WorkflowServiceServicer(metaclass=abc.ABCMeta): """WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server @@ -4547,13 +1193,10 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): def RegisterNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.RegisterNamespaceResponse + ): """RegisterNamespace creates a new namespace which can be used as a container for all resources. A Namespace is a top level entity within Temporal, and is used as a container for resources @@ -4561,59 +1204,37 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): isolation for all resources within the namespace. All resources belongs to exactly one namespace. """ - @abc.abstractmethod def DescribeNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.DescribeNamespaceResponse + ): """DescribeNamespace returns the information and configuration for a registered namespace.""" - @abc.abstractmethod def ListNamespaces( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListNamespacesResponse: """ListNamespaces returns the information and configuration for all namespaces.""" - @abc.abstractmethod def UpdateNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateNamespaceResponse: """UpdateNamespace is used to update the information and configuration of a registered namespace. """ - @abc.abstractmethod def DeprecateNamespace( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeprecateNamespaceResponse: """DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. Once the namespace is deprecated it cannot be used to start new workflow executions. Existing @@ -4623,36 +1244,24 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Deprecated --) """ - @abc.abstractmethod def StartWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartWorkflowExecutionResponse: """StartWorkflowExecution starts a new workflow execution. It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an instance already exists with same workflow id. """ - @abc.abstractmethod def ExecuteMultiOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ExecuteMultiOperationResponse: """ExecuteMultiOperation executes multiple operations within a single workflow. Operations are started atomically, meaning if *any* operation fails to be started, none are, @@ -4664,49 +1273,31 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: To be exposed over HTTP in the future. --) """ - @abc.abstractmethod def GetWorkflowExecutionHistory( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryResponse: """GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with `NotFound` if the specified workflow execution is unknown to the service. """ - @abc.abstractmethod def GetWorkflowExecutionHistoryReverse( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkflowExecutionHistoryReverseResponse: """GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse order (starting from last event). Fails with`NotFound` if the specified workflow execution is unknown to the service. """ - @abc.abstractmethod def PollWorkflowTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowTaskQueueResponse: """PollWorkflowTaskQueue is called by workers to make progress on workflows. A WorkflowTask is dispatched to callers for active workflow executions with pending workflow @@ -4717,18 +1308,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def RespondWorkflowTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskCompletedResponse: """RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks they received from `PollWorkflowTaskQueue`. @@ -4739,18 +1324,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def RespondWorkflowTaskFailed( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondWorkflowTaskFailedResponse: """RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task failed. @@ -4764,18 +1343,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def PollActivityTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollActivityTaskQueueResponse: """PollActivityTaskQueue is called by workers to process activity tasks from a specific task queue. @@ -4792,18 +1365,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def RecordActivityTaskHeartbeat( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatResponse: """RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. If a worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, @@ -4818,36 +1385,24 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): used by the activity to checkpoint progress. The `cancel_requested` field in the response indicates whether cancellation has been requested for the activity. """ - @abc.abstractmethod def RecordActivityTaskHeartbeatById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RecordActivityTaskHeartbeatByIdResponse: """See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ - @abc.abstractmethod def RespondActivityTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedResponse: """RespondActivityTaskCompleted is called by workers when they successfully complete an activity task. @@ -4855,108 +1410,72 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): and a new workflow task created for the workflow. Fails with `NotFound` if the task token is no longer valid due to activity timeout, already being completed, or never having existed. """ - @abc.abstractmethod def RespondActivityTaskCompletedById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCompletedByIdResponse: """See `RespondActivityTaskCompleted`. This version allows clients to record completions by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ - @abc.abstractmethod def RespondActivityTaskFailed( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedResponse: """RespondActivityTaskFailed is called by workers when processing an activity task fails. This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and a new workflow task created for the workflow. Fails with `NotFound` if the task token is no longer valid due to activity timeout, already being completed, or never having existed. """ - @abc.abstractmethod def RespondActivityTaskFailedById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskFailedByIdResponse: """See `RecordActivityTaskFailed`. This version allows clients to record failures by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ - @abc.abstractmethod def RespondActivityTaskCanceled( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledResponse: """RespondActivityTaskFailed is called by workers when processing an activity task fails. For workflow activities, this results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history and a new workflow task created for the workflow. Fails with `NotFound` if the task token is no longer valid due to activity timeout, already being completed, or never having existed. """ - @abc.abstractmethod def RespondActivityTaskCanceledById( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondActivityTaskCanceledByIdResponse: """See `RespondActivityTaskCanceled`. This version allows clients to record failures by namespace/workflow id/activity id instead of task token. (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --) """ - @abc.abstractmethod def RequestCancelWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelWorkflowExecutionResponse: """RequestCancelWorkflowExecution is called by workers when they want to request cancellation of a workflow execution. @@ -4964,35 +1483,23 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): workflow history and a new workflow task created for the workflow. It returns success if the requested workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist. """ - @abc.abstractmethod def SignalWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.SignalWorkflowExecutionResponse: """SignalWorkflowExecution is used to send a signal to a running workflow execution. This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow task being created for the execution. """ - @abc.abstractmethod def SignalWithStartWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.SignalWithStartWorkflowExecutionResponse: """SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if it isn't yet started. @@ -5006,52 +1513,34 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "With" is used to indicate combined operation. --) """ - @abc.abstractmethod def ResetWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetWorkflowExecutionResponse: """ResetWorkflowExecution will reset an existing workflow execution to a specified `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current execution instance. "Exclusive" means the identified completed event itself is not replayed in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed immediately, and a new workflow task will be scheduled to retry it. """ - @abc.abstractmethod def TerminateWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.TerminateWorkflowExecutionResponse: """TerminateWorkflowExecution terminates an existing workflow execution by recording a `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the execution instance. """ - @abc.abstractmethod def DeleteWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowExecutionResponse: """DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when WorkflowExecution.run_id is provided) or the latest Workflow Execution (when WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be @@ -5060,78 +1549,48 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) """ - @abc.abstractmethod def ListOpenWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListOpenWorkflowExecutionsResponse: """ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ - @abc.abstractmethod def ListClosedWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListClosedWorkflowExecutionsResponse: """ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ - @abc.abstractmethod def ListWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowExecutionsResponse: """ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.""" - @abc.abstractmethod def ListArchivedWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListArchivedWorkflowExecutionsResponse: """ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.""" - @abc.abstractmethod def ScanWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ScanWorkflowExecutionsResponse: """ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. @@ -5139,48 +1598,30 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) """ - @abc.abstractmethod def CountWorkflowExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountWorkflowExecutionsResponse: """CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.""" - @abc.abstractmethod def GetSearchAttributes( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetSearchAttributesResponse: """GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) """ - @abc.abstractmethod def RespondQueryTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondQueryTaskCompletedResponse: """RespondQueryTaskCompleted is called by workers to complete queries which were delivered on the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. @@ -5190,18 +1631,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def ResetStickyTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetStickyTaskQueueResponse: """ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of a given workflow. This is prudent for workers to perform if a workflow has been paged out of their cache. @@ -5217,18 +1652,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def ShutdownWorker( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ShutdownWorkerResponse: """ShutdownWorker is used to indicate that the given sticky task queue is no longer being polled by its worker. Following the completion of ShutdownWorker, newly-added workflow tasks will instead be placed @@ -5243,206 +1672,120 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def QueryWorkflow( self, request: temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.QueryWorkflowResponse: """QueryWorkflow requests a query be executed for a specified workflow execution.""" - @abc.abstractmethod def DescribeWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowExecutionResponse: """DescribeWorkflowExecution returns information about the specified workflow execution.""" - @abc.abstractmethod def DescribeTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.DescribeTaskQueueResponse + ): """DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: - List of pollers - Workflow Reachability status - Backlog info for Workflow and/or Activity tasks """ - @abc.abstractmethod def GetClusterInfo( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetClusterInfoResponse: """GetClusterInfo returns information about temporal cluster""" - @abc.abstractmethod def GetSystemInfo( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetSystemInfoResponse: """GetSystemInfo returns information about the system.""" - @abc.abstractmethod def ListTaskQueuePartitions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListTaskQueuePartitionsResponse: """(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) """ - @abc.abstractmethod def CreateSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateScheduleResponse: """Creates a new schedule.""" - @abc.abstractmethod def DescribeSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.DescribeScheduleResponse + ): """Returns the schedule description and current state of an existing schedule.""" - @abc.abstractmethod def UpdateSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateScheduleResponse: """Changes the configuration or state of an existing schedule.""" - @abc.abstractmethod def PatchSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PatchScheduleResponse: """Makes a specific change to a schedule or triggers an immediate action.""" - @abc.abstractmethod def ListScheduleMatchingTimes( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListScheduleMatchingTimesResponse: """Lists matching times within a range.""" - @abc.abstractmethod def DeleteSchedule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteScheduleResponse: """Deletes a schedule, removing it from the system.""" - @abc.abstractmethod def ListSchedules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListSchedulesResponse: """List all schedules in a namespace.""" - @abc.abstractmethod def CountSchedules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountSchedulesResponse: """CountSchedules is a visibility API to count schedules in a specific namespace.""" - @abc.abstractmethod def UpdateWorkerBuildIdCompatibility( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerBuildIdCompatibilityResponse: """Deprecated. Use `UpdateWorkerVersioningRules`. Will be removed in server version v1.32.0. @@ -5462,34 +1805,22 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ - @abc.abstractmethod def GetWorkerBuildIdCompatibility( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerBuildIdCompatibilityResponse: """Deprecated. Use `GetWorkerVersioningRules`. Will be removed in server version v1.32.0. Fetches the worker build id versioning sets for a task queue. """ - @abc.abstractmethod def UpdateWorkerVersioningRules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerVersioningRulesResponse: """Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of rules: Build ID Assignment rules and Compatible Build ID Redirect rules. @@ -5515,33 +1846,21 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) """ - @abc.abstractmethod def GetWorkerVersioningRules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerVersioningRulesResponse: """Fetches the Build ID assignment and redirect rules for a Task Queue. Will be removed in server version v1.32.0. """ - @abc.abstractmethod def GetWorkerTaskReachability( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetWorkerTaskReachabilityResponse: """Deprecated. Use `DescribeTaskQueue`. Will be removed in server version v1.32.0. @@ -5558,66 +1877,42 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. """ - @abc.abstractmethod def DescribeDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeDeploymentResponse: """Describes a worker deployment. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. """ - @abc.abstractmethod def DescribeWorkerDeploymentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentVersionResponse: """Describes a worker deployment version. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def ListDeployments( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListDeploymentsResponse: """Lists worker deployments in the namespace. Optionally can filter based on deployment series name. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with `ListWorkerDeployments`. """ - @abc.abstractmethod def GetDeploymentReachability( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetDeploymentReachabilityResponse: """Returns the reachability level of a worker deployment to help users decide when it is time to decommission a deployment. Reachability level is calculated based on the deployment's `status` and existing workflows that depend on the given deployment for their execution. @@ -5627,98 +1922,62 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. """ - @abc.abstractmethod def GetCurrentDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.GetCurrentDeploymentResponse: """Returns the current deployment (and its info) for a given deployment series. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. """ - @abc.abstractmethod def SetCurrentDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetCurrentDeploymentResponse: """Sets a deployment as the current deployment for its deployment series. Can optionally update the metadata of the deployment as well. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. """ - @abc.abstractmethod def SetWorkerDeploymentCurrentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentCurrentVersionResponse: """Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping Version if it is the Version being set as Current. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def DescribeWorkerDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerDeploymentResponse: """Describes a Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def DeleteWorkerDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentResponse: """Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def DeleteWorkerDeploymentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkerDeploymentVersionResponse: """Used for manual deletion of Versions. User can delete a Version only when all the following conditions are met: - It is not the Current or Ramping Version of its Deployment. @@ -5727,156 +1986,96 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): can be skipped by passing `skip-drainage=true`. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def SetWorkerDeploymentRampingVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentRampingVersionResponse: """Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for gradual ramp to unversioned workers too. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def ListWorkerDeployments( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkerDeploymentsResponse: """Lists all Worker Deployments that are tracked in the Namespace. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def CreateWorkerDeployment( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentResponse: """Creates a new Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def CreateWorkerDeploymentVersion( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkerDeploymentVersionResponse: """Creates a new Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def UpdateWorkerDeploymentVersionComputeConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionComputeConfigResponse: """Updates the compute config attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def ValidateWorkerDeploymentVersionComputeConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ValidateWorkerDeploymentVersionComputeConfigResponse: """Validates the compute config without attaching it to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def UpdateWorkerDeploymentVersionMetadata( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerDeploymentVersionMetadataResponse: """Updates the user-given metadata attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def SetWorkerDeploymentManager( self, request: temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.SetWorkerDeploymentManagerResponse: """Set/unset the ManagerIdentity of a Worker Deployment. Experimental. This API might significantly change or be removed in a future release. """ - @abc.abstractmethod def UpdateWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionResponse: """Invokes the specified Update function on user Workflow code.""" - @abc.abstractmethod def PollWorkflowExecutionUpdate( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollWorkflowExecutionUpdateResponse: """Polls a Workflow Execution for the outcome of a Workflow Update previously issued through the UpdateWorkflowExecution RPC. The effective timeout on this call will be shorter of the the caller-supplied gRPC @@ -5885,148 +2084,88 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) """ - @abc.abstractmethod def StartBatchOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartBatchOperationResponse: """StartBatchOperation starts a new batch operation""" - @abc.abstractmethod def StopBatchOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.StopBatchOperationResponse: """StopBatchOperation stops a batch operation""" - @abc.abstractmethod def DescribeBatchOperation( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeBatchOperationResponse: """DescribeBatchOperation returns the information about a batch operation""" - @abc.abstractmethod def ListBatchOperations( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListBatchOperationsResponse: """ListBatchOperations returns a list of batch operations""" - @abc.abstractmethod def PollNexusTaskQueue( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: """PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def RespondNexusTaskCompleted( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskCompletedResponse: """RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def RespondNexusTaskFailed( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RespondNexusTaskFailedResponse: """RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --) """ - @abc.abstractmethod def UpdateActivityOptions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityOptionsResponse: """UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. If there are multiple pending activities of the provided type - all of them will be updated. This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and structured to work well for standalone activities. """ - @abc.abstractmethod def UpdateWorkflowExecutionOptions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkflowExecutionOptionsResponse: """UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.""" - @abc.abstractmethod def PauseActivity( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityResponse: """PauseActivity pauses the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be paused @@ -6046,18 +2185,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and structured to work well for standalone activities. """ - @abc.abstractmethod def UnpauseActivity( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityResponse: """UnpauseActivity unpauses the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be unpaused. @@ -6074,18 +2207,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and structured to work well for standalone activities. """ - @abc.abstractmethod def ResetActivity( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityResponse: """ResetActivity resets the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be reset. @@ -6106,192 +2233,118 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and structured to work well for standalone activities. """ - @abc.abstractmethod def CreateWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CreateWorkflowRuleResponse: """Create a new workflow rule. The rules are used to control the workflow execution. The rule will be applied to all running and new workflows in the namespace. If the rule with such ID already exist this call will fail Note: the rules are part of namespace configuration and will be stored in the namespace config. Namespace config is eventually consistent. """ - @abc.abstractmethod def DescribeWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkflowRuleResponse: """DescribeWorkflowRule return the rule specification for existing rule id. If there is no rule with such id - NOT FOUND error will be returned. """ - @abc.abstractmethod def DeleteWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteWorkflowRuleResponse: """Delete rule by rule id""" - @abc.abstractmethod def ListWorkflowRules( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.ListWorkflowRulesResponse + ): """Return all namespace workflow rules""" - @abc.abstractmethod def TriggerWorkflowRule( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.TriggerWorkflowRuleResponse: """TriggerWorkflowRule allows to: * trigger existing rule for a specific workflow execution; * trigger rule for a specific workflow execution without creating a rule; This is useful for one-off operations. """ - @abc.abstractmethod def RecordWorkerHeartbeat( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RecordWorkerHeartbeatResponse: """WorkerHeartbeat receive heartbeat request from the worker.""" - @abc.abstractmethod def ListWorkers( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListWorkersResponse: """ListWorkers is a visibility API to list worker status information in a specific namespace.""" - @abc.abstractmethod def CountWorkers( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountWorkersResponse: """CountWorkers counts the number of workers in a specific namespace.""" - @abc.abstractmethod def UpdateTaskQueueConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateTaskQueueConfigResponse: """Updates task queue configuration. For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, which uncouples the rate limit from the worker lifecycle. If the overall queue rate limit is unset, the worker-set rate limit takes effect. """ - @abc.abstractmethod def FetchWorkerConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse - ], - ]: + context: grpc.ServicerContext, + ) -> ( + temporalio.api.workflowservice.v1.request_response_pb2.FetchWorkerConfigResponse + ): """FetchWorkerConfig returns the worker configuration for a specific worker.""" - @abc.abstractmethod def UpdateWorkerConfig( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateWorkerConfigResponse: """UpdateWorkerConfig updates the worker configuration of one or more workers. Can be used to partially update the worker configuration. Can be used to update the configuration of multiple workers. """ - @abc.abstractmethod def DescribeWorker( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeWorkerResponse: """DescribeWorker returns information about the specified worker.""" - @abc.abstractmethod def PauseWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PauseWorkflowExecutionResponse: """Note: This is an experimental API and the behavior may change in a future release. PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in - The workflow execution status changes to `PAUSED` and a new WORKFLOW_EXECUTION_PAUSED event is added to the history @@ -6301,188 +2354,116 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): - All server-side events will continue to be processed by the server. - Queries & Updates on a paused workflow will be rejected. """ - @abc.abstractmethod def UnpauseWorkflowExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UnpauseWorkflowExecutionResponse: """Note: This is an experimental API and the behavior may change in a future release. UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. Unpausing a workflow execution results in - The workflow execution status changes to `RUNNING` and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history - Workflow tasks and activity tasks are resumed. """ - @abc.abstractmethod def StartActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartActivityExecutionResponse: """StartActivityExecution starts a new activity execution. Returns an `ActivityExecutionAlreadyStarted` error if an instance already exists with same activity ID in this namespace unless permitted by the specified ID conflict policy. """ - @abc.abstractmethod def StartNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.StartNexusOperationExecutionResponse: """StartNexusOperationExecution starts a new Nexus operation. Returns a `NexusOperationExecutionAlreadyStarted` error if an instance already exists with same operation ID in this namespace unless permitted by the specified ID conflict policy. """ - @abc.abstractmethod def DescribeActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeActivityExecutionResponse: """DescribeActivityExecution returns information about an activity execution. It can be used to: - Get current activity info without waiting - Long-poll for next state change and return new activity info Response can optionally include activity input or outcome (if the activity has completed). """ - @abc.abstractmethod def DescribeNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DescribeNexusOperationExecutionResponse: """DescribeNexusOperationExecution returns information about a Nexus operation. Supported use cases include: - Get current operation info without waiting - Long-poll for next state change and return new operation info Response can optionally include operation input or outcome (if the operation has completed). """ - @abc.abstractmethod def PollActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollActivityExecutionResponse: """PollActivityExecution long-polls for an activity execution to complete and returns the outcome (result or failure). """ - @abc.abstractmethod def PollNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusOperationExecutionResponse: """PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns the outcome (result or failure). """ - @abc.abstractmethod def ListActivityExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListActivityExecutionsResponse: """ListActivityExecutions is a visibility API to list activity executions in a specific namespace.""" - @abc.abstractmethod def ListNexusOperationExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ListNexusOperationExecutionsResponse: """ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.""" - @abc.abstractmethod def CountActivityExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountActivityExecutionsResponse: """CountActivityExecutions is a visibility API to count activity executions in a specific namespace.""" - @abc.abstractmethod def CountNexusOperationExecutions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.CountNexusOperationExecutionsResponse: """CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.""" - @abc.abstractmethod def RequestCancelActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelActivityExecutionResponse: """RequestCancelActivityExecution requests cancellation of an activity execution. Cancellation is cooperative: this call records the request, but the activity must detect and @@ -6490,53 +2471,35 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): delivered via `cancel_requested` in the heartbeat response; SDKs surface this via language-idiomatic mechanisms (context cancellation, exceptions, abort signals). """ - @abc.abstractmethod def RequestCancelNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.RequestCancelNexusOperationExecutionResponse: """RequestCancelNexusOperationExecution requests cancellation of a Nexus operation. Requesting to cancel an operation does not automatically transition the operation to canceled status. The operation will only transition to canceled status if it supports cancellation and the handler processes the cancellation request. """ - @abc.abstractmethod def TerminateActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.TerminateActivityExecutionResponse: """TerminateActivityExecution terminates an existing activity execution immediately. Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a running attempt. """ - @abc.abstractmethod def DeleteActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteActivityExecutionResponse: """DeleteActivityExecution asynchronously deletes a specific activity execution (when ActivityExecution.run_id is provided) or the latest activity execution (when ActivityExecution.run_id is not provided). If the activity Execution is running, it will be @@ -6545,18 +2508,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --) """ - @abc.abstractmethod def PauseActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.PauseActivityExecutionResponse: """PauseActivityExecution pauses the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity @@ -6573,18 +2530,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Returns a `NotFound` error if there is no pending activity with the provided ID """ - @abc.abstractmethod def ResetActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.ResetActivityExecutionResponse: """ResetActivityExecution resets the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity. @@ -6596,18 +2547,12 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Returns a `NotFound` error if there is no pending activity with the provided ID or type. """ - @abc.abstractmethod def UnpauseActivityExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UnpauseActivityExecutionResponse: """UnpauseActivityExecution unpauses the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity. @@ -6617,50 +2562,32 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): Returns a `NotFound` error if there is no pending activity with the provided ID """ - @abc.abstractmethod def UpdateActivityExecutionOptions( self, request: temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.UpdateActivityExecutionOptionsResponse: """UpdateActivityExecutionOptions is called by the client to update the options of an activity by its ID. This API can be used to target a workflow activity or a standalone activity. """ - @abc.abstractmethod def TerminateNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.TerminateNexusOperationExecutionResponse: """TerminateNexusOperationExecution terminates an existing Nexus operation immediately. Termination happens immediately and the operation handler cannot react to it. A terminated operation will have its outcome set to a failure with a termination reason. """ - @abc.abstractmethod def DeleteNexusOperationExecution( self, request: temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionRequest, - context: _ServicerContext, - ) -> typing.Union[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse, - collections.abc.Awaitable[ - temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse - ], - ]: + context: grpc.ServicerContext, + ) -> temporalio.api.workflowservice.v1.request_response_pb2.DeleteNexusOperationExecutionResponse: """DeleteNexusOperationExecution asynchronously deletes a specific Nexus operation run (when run_id is provided) or the latest run (when run_id is not provided). If the operation is running, it will be terminated before deletion. @@ -6670,6 +2597,5 @@ class WorkflowServiceServicer(metaclass=abc.ABCMeta): """ def add_WorkflowServiceServicer_to_server( - servicer: WorkflowServiceServicer, - server: typing.Union[grpc.Server, grpc.aio.Server], + servicer: WorkflowServiceServicer, server: grpc.Server ) -> None: ... diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.py b/temporalio/bridge/proto/activity_result/activity_result_pb2.py index 3a847e694..77029baca 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.py +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/activity_result/activity_result.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/activity_result/activity_result.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -38,30 +28,108 @@ b'\n7temporal/sdk/core/activity_result/activity_result.proto\x12\x17\x63oresdk.activity_result\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto"\x95\x02\n\x17\x41\x63tivityExecutionResult\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12I\n\x13will_complete_async\x18\x04 \x01(\x0b\x32*.coresdk.activity_result.WillCompleteAsyncH\x00\x42\x08\n\x06status"\xfc\x01\n\x12\x41\x63tivityResolution\x12\x35\n\tcompleted\x18\x01 \x01(\x0b\x32 .coresdk.activity_result.SuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .coresdk.activity_result.FailureH\x00\x12:\n\tcancelled\x18\x03 \x01(\x0b\x32%.coresdk.activity_result.CancellationH\x00\x12\x35\n\x07\x62\x61\x63koff\x18\x04 \x01(\x0b\x32".coresdk.activity_result.DoBackoffH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x13\n\x11WillCompleteAsync"\x8d\x01\n\tDoBackoff\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x33\n\x10\x62\x61\x63koff_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB4\xea\x02\x31Temporalio::Internal::Bridge::Api::ActivityResultb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.activity_result.activity_result_pb2", _globals + +_ACTIVITYEXECUTIONRESULT = DESCRIPTOR.message_types_by_name["ActivityExecutionResult"] +_ACTIVITYRESOLUTION = DESCRIPTOR.message_types_by_name["ActivityResolution"] +_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] +_WILLCOMPLETEASYNC = DESCRIPTOR.message_types_by_name["WillCompleteAsync"] +_DOBACKOFF = DESCRIPTOR.message_types_by_name["DoBackoff"] +ActivityExecutionResult = _reflection.GeneratedProtocolMessageType( + "ActivityExecutionResult", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYEXECUTIONRESULT, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityExecutionResult) + }, +) +_sym_db.RegisterMessage(ActivityExecutionResult) + +ActivityResolution = _reflection.GeneratedProtocolMessageType( + "ActivityResolution", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYRESOLUTION, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.ActivityResolution) + }, +) +_sym_db.RegisterMessage(ActivityResolution) + +Success = _reflection.GeneratedProtocolMessageType( + "Success", + (_message.Message,), + { + "DESCRIPTOR": _SUCCESS, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Success) + }, +) +_sym_db.RegisterMessage(Success) + +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Failure) + }, +) +_sym_db.RegisterMessage(Failure) + +Cancellation = _reflection.GeneratedProtocolMessageType( + "Cancellation", + (_message.Message,), + { + "DESCRIPTOR": _CANCELLATION, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.Cancellation) + }, +) +_sym_db.RegisterMessage(Cancellation) + +WillCompleteAsync = _reflection.GeneratedProtocolMessageType( + "WillCompleteAsync", + (_message.Message,), + { + "DESCRIPTOR": _WILLCOMPLETEASYNC, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.WillCompleteAsync) + }, +) +_sym_db.RegisterMessage(WillCompleteAsync) + +DoBackoff = _reflection.GeneratedProtocolMessageType( + "DoBackoff", + (_message.Message,), + { + "DESCRIPTOR": _DOBACKOFF, + "__module__": "temporal.sdk.core.activity_result.activity_result_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_result.DoBackoff) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = ( +_sym_db.RegisterMessage(DoBackoff) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"\352\0021Temporalio::Internal::Bridge::Api::ActivityResult" ) - _globals["_ACTIVITYEXECUTIONRESULT"]._serialized_start = 227 - _globals["_ACTIVITYEXECUTIONRESULT"]._serialized_end = 504 - _globals["_ACTIVITYRESOLUTION"]._serialized_start = 507 - _globals["_ACTIVITYRESOLUTION"]._serialized_end = 759 - _globals["_SUCCESS"]._serialized_start = 761 - _globals["_SUCCESS"]._serialized_end = 819 - _globals["_FAILURE"]._serialized_start = 821 - _globals["_FAILURE"]._serialized_end = 881 - _globals["_CANCELLATION"]._serialized_start = 883 - _globals["_CANCELLATION"]._serialized_end = 948 - _globals["_WILLCOMPLETEASYNC"]._serialized_start = 950 - _globals["_WILLCOMPLETEASYNC"]._serialized_end = 969 - _globals["_DOBACKOFF"]._serialized_start = 972 - _globals["_DOBACKOFF"]._serialized_end = 1113 + _ACTIVITYEXECUTIONRESULT._serialized_start = 227 + _ACTIVITYEXECUTIONRESULT._serialized_end = 504 + _ACTIVITYRESOLUTION._serialized_start = 507 + _ACTIVITYRESOLUTION._serialized_end = 759 + _SUCCESS._serialized_start = 761 + _SUCCESS._serialized_end = 819 + _FAILURE._serialized_start = 821 + _FAILURE._serialized_end = 881 + _CANCELLATION._serialized_start = 883 + _CANCELLATION._serialized_end = 948 + _WILLCOMPLETEASYNC._serialized_start = 950 + _WILLCOMPLETEASYNC._serialized_end = 969 + _DOBACKOFF._serialized_start = 972 + _DOBACKOFF._serialized_end = 1113 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi index 886285dee..bae35a91d 100644 --- a/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi +++ b/temporalio/bridge/proto/activity_result/activity_result_pb2.pyi @@ -5,7 +5,6 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 @@ -15,14 +14,13 @@ import google.protobuf.timestamp_pb2 import temporalio.api.common.v1.message_pb2 import temporalio.api.failure.v1.message_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ActivityExecutionResult(google.protobuf.message.Message): """Used to report activity completions to core""" @@ -33,24 +31,24 @@ class ActivityExecutionResult(google.protobuf.message.Message): CANCELLED_FIELD_NUMBER: builtins.int WILL_COMPLETE_ASYNC_FIELD_NUMBER: builtins.int @property - def completed(self) -> Global___Success: ... + def completed(self) -> global___Success: ... @property - def failed(self) -> Global___Failure: ... + def failed(self) -> global___Failure: ... @property - def cancelled(self) -> Global___Cancellation: ... + def cancelled(self) -> global___Cancellation: ... @property - def will_complete_async(self) -> Global___WillCompleteAsync: ... + def will_complete_async(self) -> global___WillCompleteAsync: ... def __init__( self, *, - completed: Global___Success | None = ..., - failed: Global___Failure | None = ..., - cancelled: Global___Cancellation | None = ..., - will_complete_async: Global___WillCompleteAsync | None = ..., + completed: global___Success | None = ..., + failed: global___Failure | None = ..., + cancelled: global___Cancellation | None = ..., + will_complete_async: global___WillCompleteAsync | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "completed", @@ -65,7 +63,7 @@ class ActivityExecutionResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "completed", @@ -79,14 +77,16 @@ class ActivityExecutionResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] + self, oneof_group: typing_extensions.Literal["status", b"status"] ) -> ( - typing.Literal["completed", "failed", "cancelled", "will_complete_async"] | None + typing_extensions.Literal[ + "completed", "failed", "cancelled", "will_complete_async" + ] + | None ): ... -Global___ActivityExecutionResult: typing_extensions.TypeAlias = ActivityExecutionResult +global___ActivityExecutionResult = ActivityExecutionResult -@typing.final class ActivityResolution(google.protobuf.message.Message): """Used to report activity resolutions to lang. IE: This is what the activities are resolved with in the workflow. @@ -99,24 +99,24 @@ class ActivityResolution(google.protobuf.message.Message): CANCELLED_FIELD_NUMBER: builtins.int BACKOFF_FIELD_NUMBER: builtins.int @property - def completed(self) -> Global___Success: ... + def completed(self) -> global___Success: ... @property - def failed(self) -> Global___Failure: ... + def failed(self) -> global___Failure: ... @property - def cancelled(self) -> Global___Cancellation: ... + def cancelled(self) -> global___Cancellation: ... @property - def backoff(self) -> Global___DoBackoff: ... + def backoff(self) -> global___DoBackoff: ... def __init__( self, *, - completed: Global___Success | None = ..., - failed: Global___Failure | None = ..., - cancelled: Global___Cancellation | None = ..., - backoff: Global___DoBackoff | None = ..., + completed: global___Success | None = ..., + failed: global___Failure | None = ..., + cancelled: global___Cancellation | None = ..., + backoff: global___DoBackoff | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff", b"backoff", "cancelled", @@ -131,7 +131,7 @@ class ActivityResolution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff", b"backoff", "cancelled", @@ -145,12 +145,13 @@ class ActivityResolution(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] - ) -> typing.Literal["completed", "failed", "cancelled", "backoff"] | None: ... + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal["completed", "failed", "cancelled", "backoff"] | None + ): ... -Global___ActivityResolution: typing_extensions.TypeAlias = ActivityResolution +global___ActivityResolution = ActivityResolution -@typing.final class Success(google.protobuf.message.Message): """Used to report successful completion either when executing or resolving""" @@ -165,13 +166,14 @@ class Success(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... -Global___Success: typing_extensions.TypeAlias = Success +global___Success = Success -@typing.final class Failure(google.protobuf.message.Message): """Used to report activity failure either when executing or resolving""" @@ -186,13 +188,14 @@ class Failure(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___Failure: typing_extensions.TypeAlias = Failure +global___Failure = Failure -@typing.final class Cancellation(google.protobuf.message.Message): """ Used to report cancellation from both Core and Lang. @@ -212,13 +215,14 @@ class Cancellation(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___Cancellation: typing_extensions.TypeAlias = Cancellation +global___Cancellation = Cancellation -@typing.final class WillCompleteAsync(google.protobuf.message.Message): """ Used in ActivityExecutionResult to notify Core that this Activity will complete asynchronously. @@ -231,9 +235,8 @@ class WillCompleteAsync(google.protobuf.message.Message): self, ) -> None: ... -Global___WillCompleteAsync: typing_extensions.TypeAlias = WillCompleteAsync +global___WillCompleteAsync = WillCompleteAsync -@typing.final class DoBackoff(google.protobuf.message.Message): """ Issued when a local activity needs to retry but also wants to back off more than would be @@ -261,7 +264,6 @@ class DoBackoff(google.protobuf.message.Message): """The time the first attempt of this local activity was scheduled. Must be passed with attempt to the retry LA. """ - def __init__( self, *, @@ -271,7 +273,7 @@ class DoBackoff(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff_duration", b"backoff_duration", "original_schedule_time", @@ -280,7 +282,7 @@ class DoBackoff(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "attempt", b"attempt", "backoff_duration", @@ -290,4 +292,4 @@ class DoBackoff(google.protobuf.message.Message): ], ) -> None: ... -Global___DoBackoff: typing_extensions.TypeAlias = DoBackoff +global___DoBackoff = DoBackoff diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.py b/temporalio/bridge/proto/activity_task/activity_task_pb2.py index 7bee8d7c2..0e09839dc 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.py +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/activity_task/activity_task.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/activity_task/activity_task.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -38,28 +29,94 @@ b'\n3temporal/sdk/core/activity_task/activity_task.proto\x12\x15\x63oresdk.activity_task\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\x8d\x01\n\x0c\x41\x63tivityTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12-\n\x05start\x18\x03 \x01(\x0b\x32\x1c.coresdk.activity_task.StartH\x00\x12/\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\x1d.coresdk.activity_task.CancelH\x00\x42\t\n\x07variant"\xb1\x07\n\x05Start\x12\x1a\n\x12workflow_namespace\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x15\n\ractivity_type\x18\x05 \x01(\t\x12\x45\n\rheader_fields\x18\x06 \x03(\x0b\x32..coresdk.activity_task.Start.HeaderFieldsEntry\x12.\n\x05input\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12:\n\x11heartbeat_details\x18\x08 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0c \x01(\r\x12<\n\x19schedule_to_close_timeout\x18\r \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x10\n\x08is_local\x18\x11 \x01(\x08\x12\x0e\n\x06run_id\x18\x13 \x01(\t\x1aT\n\x11HeaderFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x8a\x01\n\x06\x43\x61ncel\x12;\n\x06reason\x18\x01 \x01(\x0e\x32+.coresdk.activity_task.ActivityCancelReason\x12\x43\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x32.coresdk.activity_task.ActivityCancellationDetails"\xa0\x01\n\x1b\x41\x63tivityCancellationDetails\x12\x14\n\x0cis_not_found\x18\x01 \x01(\x08\x12\x14\n\x0cis_cancelled\x18\x02 \x01(\x08\x12\x11\n\tis_paused\x18\x03 \x01(\x08\x12\x14\n\x0cis_timed_out\x18\x04 \x01(\x08\x12\x1a\n\x12is_worker_shutdown\x18\x05 \x01(\x08\x12\x10\n\x08is_reset\x18\x06 \x01(\x08*o\n\x14\x41\x63tivityCancelReason\x12\r\n\tNOT_FOUND\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\r\n\tTIMED_OUT\x10\x02\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\t\n\x05RESET\x10\x05\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ActivityTaskb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.activity_task.activity_task_pb2", _globals +_ACTIVITYCANCELREASON = DESCRIPTOR.enum_types_by_name["ActivityCancelReason"] +ActivityCancelReason = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELREASON) +NOT_FOUND = 0 +CANCELLED = 1 +TIMED_OUT = 2 +WORKER_SHUTDOWN = 3 +PAUSED = 4 +RESET = 5 + + +_ACTIVITYTASK = DESCRIPTOR.message_types_by_name["ActivityTask"] +_START = DESCRIPTOR.message_types_by_name["Start"] +_START_HEADERFIELDSENTRY = _START.nested_types_by_name["HeaderFieldsEntry"] +_CANCEL = DESCRIPTOR.message_types_by_name["Cancel"] +_ACTIVITYCANCELLATIONDETAILS = DESCRIPTOR.message_types_by_name[ + "ActivityCancellationDetails" +] +ActivityTask = _reflection.GeneratedProtocolMessageType( + "ActivityTask", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASK, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityTask) + }, +) +_sym_db.RegisterMessage(ActivityTask) + +Start = _reflection.GeneratedProtocolMessageType( + "Start", + (_message.Message,), + { + "HeaderFieldsEntry": _reflection.GeneratedProtocolMessageType( + "HeaderFieldsEntry", + (_message.Message,), + { + "DESCRIPTOR": _START_HEADERFIELDSENTRY, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start.HeaderFieldsEntry) + }, + ), + "DESCRIPTOR": _START, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Start) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\352\002/Temporalio::Internal::Bridge::Api::ActivityTask" - _globals["_START_HEADERFIELDSENTRY"]._loaded_options = None - _globals["_START_HEADERFIELDSENTRY"]._serialized_options = b"8\001" - _globals["_ACTIVITYCANCELREASON"]._serialized_start = 1616 - _globals["_ACTIVITYCANCELREASON"]._serialized_end = 1727 - _globals["_ACTIVITYTASK"]._serialized_start = 221 - _globals["_ACTIVITYTASK"]._serialized_end = 362 - _globals["_START"]._serialized_start = 365 - _globals["_START"]._serialized_end = 1310 - _globals["_START_HEADERFIELDSENTRY"]._serialized_start = 1226 - _globals["_START_HEADERFIELDSENTRY"]._serialized_end = 1310 - _globals["_CANCEL"]._serialized_start = 1313 - _globals["_CANCEL"]._serialized_end = 1451 - _globals["_ACTIVITYCANCELLATIONDETAILS"]._serialized_start = 1454 - _globals["_ACTIVITYCANCELLATIONDETAILS"]._serialized_end = 1614 +_sym_db.RegisterMessage(Start) +_sym_db.RegisterMessage(Start.HeaderFieldsEntry) + +Cancel = _reflection.GeneratedProtocolMessageType( + "Cancel", + (_message.Message,), + { + "DESCRIPTOR": _CANCEL, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.Cancel) + }, +) +_sym_db.RegisterMessage(Cancel) + +ActivityCancellationDetails = _reflection.GeneratedProtocolMessageType( + "ActivityCancellationDetails", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYCANCELLATIONDETAILS, + "__module__": "temporal.sdk.core.activity_task.activity_task_pb2", + # @@protoc_insertion_point(class_scope:coresdk.activity_task.ActivityCancellationDetails) + }, +) +_sym_db.RegisterMessage(ActivityCancellationDetails) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002/Temporalio::Internal::Bridge::Api::ActivityTask" + ) + _START_HEADERFIELDSENTRY._options = None + _START_HEADERFIELDSENTRY._serialized_options = b"8\001" + _ACTIVITYCANCELREASON._serialized_start = 1616 + _ACTIVITYCANCELREASON._serialized_end = 1727 + _ACTIVITYTASK._serialized_start = 221 + _ACTIVITYTASK._serialized_end = 362 + _START._serialized_start = 365 + _START._serialized_end = 1310 + _START_HEADERFIELDSENTRY._serialized_start = 1226 + _START_HEADERFIELDSENTRY._serialized_end = 1310 + _CANCEL._serialized_start = 1313 + _CANCEL._serialized_end = 1451 + _ACTIVITYCANCELLATIONDETAILS._serialized_start = 1454 + _ACTIVITYCANCELLATIONDETAILS._serialized_end = 1614 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi index dd3d9c661..1a2f8c7d2 100644 --- a/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi +++ b/temporalio/bridge/proto/activity_task/activity_task_pb2.pyi @@ -35,7 +35,7 @@ class _ActivityCancelReasonEnumTypeWrapper( _ActivityCancelReason.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor NOT_FOUND: _ActivityCancelReason.ValueType # 0 """The activity no longer exists according to server (may be already completed)""" @@ -66,9 +66,8 @@ PAUSED: ActivityCancelReason.ValueType # 4 """Activity was paused""" RESET: ActivityCancelReason.ValueType # 5 """Activity was reset""" -Global___ActivityCancelReason: typing_extensions.TypeAlias = ActivityCancelReason +global___ActivityCancelReason = ActivityCancelReason -@typing.final class ActivityTask(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -78,29 +77,27 @@ class ActivityTask(google.protobuf.message.Message): task_token: builtins.bytes """A unique identifier for this task""" @property - def start(self) -> Global___Start: + def start(self) -> global___Start: """Start activity execution.""" - @property - def cancel(self) -> Global___Cancel: + def cancel(self) -> global___Cancel: """Attempt to cancel activity execution.""" - def __init__( self, *, task_token: builtins.bytes = ..., - start: Global___Start | None = ..., - cancel: Global___Cancel | None = ..., + start: global___Start | None = ..., + cancel: global___Cancel | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel", b"cancel", "start", b"start", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel", b"cancel", "start", @@ -112,18 +109,16 @@ class ActivityTask(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["start", "cancel"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["start", "cancel"] | None: ... -Global___ActivityTask: typing_extensions.TypeAlias = ActivityTask +global___ActivityTask = ActivityTask -@typing.final class Start(google.protobuf.message.Message): """Begin executing an activity""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeaderFieldsEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -139,10 +134,11 @@ class Start(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... WORKFLOW_NAMESPACE_FIELD_NUMBER: builtins.int @@ -168,23 +164,15 @@ class Start(google.protobuf.message.Message): """The namespace the workflow lives in""" workflow_type: builtins.str """The workflow's type name or function identifier""" - activity_id: builtins.str - """The activity's ID""" - activity_type: builtins.str - """The activity's type name or function identifier""" - attempt: builtins.int - is_local: builtins.bool - """Set to true if this is a local activity. Note that heartbeating does not apply to local - activities. - """ - run_id: builtins.str - """Run ID of this activity execution. Only set for standalone activities.""" @property def workflow_execution( self, ) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """The workflow execution which requested this activity""" - + activity_id: builtins.str + """The activity's ID""" + activity_type: builtins.str + """The activity's type name or function identifier""" @property def header_fields( self, @@ -198,7 +186,6 @@ class Start(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments to the activity""" - @property def heartbeat_details( self, @@ -206,42 +193,40 @@ class Start(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """The last details that were recorded by a heartbeat when this task was generated""" - @property def scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the task was *first* scheduled""" - @property def current_attempt_scheduled_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When this current attempt at the task was scheduled""" - @property def started_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When this attempt was started, which is to say when core received it by polling.""" - + attempt: builtins.int @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout from the first schedule time to completion""" - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout from starting an attempt to reporting its result""" - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """If set a heartbeat must be reported within this interval""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """This is an actual retry policy the service uses. It can be different from the one provided (or not) during activity scheduling as the service can override the provided one in case its values are not specified or exceed configured system limits. """ - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority of this activity. Local activities will always have this field set to the default.""" - + is_local: builtins.bool + """Set to true if this is a local activity. Note that heartbeating does not apply to local + activities. + """ + run_id: builtins.str + """Run ID of this activity execution. Only set for standalone activities.""" def __init__( self, *, @@ -276,7 +261,7 @@ class Start(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "current_attempt_scheduled_time", b"current_attempt_scheduled_time", "heartbeat_timeout", @@ -299,7 +284,7 @@ class Start(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -341,9 +326,8 @@ class Start(google.protobuf.message.Message): ], ) -> None: ... -Global___Start: typing_extensions.TypeAlias = Start +global___Start = Start -@typing.final class Cancel(google.protobuf.message.Message): """Attempt to cancel a running activity""" @@ -351,28 +335,29 @@ class Cancel(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int DETAILS_FIELD_NUMBER: builtins.int - reason: Global___ActivityCancelReason.ValueType + reason: global___ActivityCancelReason.ValueType """Primary cancellation reason""" @property - def details(self) -> Global___ActivityCancellationDetails: + def details(self) -> global___ActivityCancellationDetails: """Activity cancellation details, surfaces all cancellation reasons.""" - def __init__( self, *, - reason: Global___ActivityCancelReason.ValueType = ..., - details: Global___ActivityCancellationDetails | None = ..., + reason: global___ActivityCancelReason.ValueType = ..., + details: global___ActivityCancellationDetails | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["details", b"details"] + self, field_name: typing_extensions.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["details", b"details", "reason", b"reason"] + self, + field_name: typing_extensions.Literal[ + "details", b"details", "reason", b"reason" + ], ) -> None: ... -Global___Cancel: typing_extensions.TypeAlias = Cancel +global___Cancel = Cancel -@typing.final class ActivityCancellationDetails(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -400,7 +385,7 @@ class ActivityCancellationDetails(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "is_cancelled", b"is_cancelled", "is_not_found", @@ -416,6 +401,4 @@ class ActivityCancellationDetails(google.protobuf.message.Message): ], ) -> None: ... -Global___ActivityCancellationDetails: typing_extensions.TypeAlias = ( - ActivityCancellationDetails -) +global___ActivityCancellationDetails = ActivityCancellationDetails diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py index ed477da13..e8e485e02 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/child_workflow/child_workflow.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/child_workflow/child_workflow.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -38,28 +29,97 @@ b'\n5temporal/sdk/core/child_workflow/child_workflow.proto\x12\x16\x63oresdk.child_workflow\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a%temporal/sdk/core/common/common.proto"\xc3\x01\n\x13\x43hildWorkflowResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.coresdk.child_workflow.SuccessH\x00\x12\x31\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32\x1f.coresdk.child_workflow.FailureH\x00\x12\x39\n\tcancelled\x18\x03 \x01(\x0b\x32$.coresdk.child_workflow.CancellationH\x00\x42\x08\n\x06status":\n\x07Success\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"<\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"A\n\x0c\x43\x61ncellation\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xae\x01\n&StartChildWorkflowExecutionFailedCause\x12;\n7START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12G\nCSTART_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS\x10\x01*~\n\x1d\x43hildWorkflowCancellationType\x12\x0b\n\x07\x41\x42\x41NDON\x10\x00\x12\x0e\n\nTRY_CANCEL\x10\x01\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::ChildWorkflowb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.child_workflow.child_workflow_pb2", _globals +_PARENTCLOSEPOLICY = DESCRIPTOR.enum_types_by_name["ParentClosePolicy"] +ParentClosePolicy = enum_type_wrapper.EnumTypeWrapper(_PARENTCLOSEPOLICY) +_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE = DESCRIPTOR.enum_types_by_name[ + "StartChildWorkflowExecutionFailedCause" +] +StartChildWorkflowExecutionFailedCause = enum_type_wrapper.EnumTypeWrapper( + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE +) +_CHILDWORKFLOWCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ + "ChildWorkflowCancellationType" +] +ChildWorkflowCancellationType = enum_type_wrapper.EnumTypeWrapper( + _CHILDWORKFLOWCANCELLATIONTYPE +) +PARENT_CLOSE_POLICY_UNSPECIFIED = 0 +PARENT_CLOSE_POLICY_TERMINATE = 1 +PARENT_CLOSE_POLICY_ABANDON = 2 +PARENT_CLOSE_POLICY_REQUEST_CANCEL = 3 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED = 0 +START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS = 1 +ABANDON = 0 +TRY_CANCEL = 1 +WAIT_CANCELLATION_COMPLETED = 2 +WAIT_CANCELLATION_REQUESTED = 3 + + +_CHILDWORKFLOWRESULT = DESCRIPTOR.message_types_by_name["ChildWorkflowResult"] +_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +_CANCELLATION = DESCRIPTOR.message_types_by_name["Cancellation"] +ChildWorkflowResult = _reflection.GeneratedProtocolMessageType( + "ChildWorkflowResult", + (_message.Message,), + { + "DESCRIPTOR": _CHILDWORKFLOWRESULT, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.ChildWorkflowResult) + }, +) +_sym_db.RegisterMessage(ChildWorkflowResult) + +Success = _reflection.GeneratedProtocolMessageType( + "Success", + (_message.Message,), + { + "DESCRIPTOR": _SUCCESS, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Success) + }, +) +_sym_db.RegisterMessage(Success) + +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Failure) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow" - _globals["_PARENTCLOSEPOLICY"]._serialized_start = 585 - _globals["_PARENTCLOSEPOLICY"]._serialized_end = 749 - _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE"]._serialized_start = 752 - _globals["_STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE"]._serialized_end = 926 - _globals["_CHILDWORKFLOWCANCELLATIONTYPE"]._serialized_start = 928 - _globals["_CHILDWORKFLOWCANCELLATIONTYPE"]._serialized_end = 1054 - _globals["_CHILDWORKFLOWRESULT"]._serialized_start = 198 - _globals["_CHILDWORKFLOWRESULT"]._serialized_end = 393 - _globals["_SUCCESS"]._serialized_start = 395 - _globals["_SUCCESS"]._serialized_end = 453 - _globals["_FAILURE"]._serialized_start = 455 - _globals["_FAILURE"]._serialized_end = 515 - _globals["_CANCELLATION"]._serialized_start = 517 - _globals["_CANCELLATION"]._serialized_end = 582 +_sym_db.RegisterMessage(Failure) + +Cancellation = _reflection.GeneratedProtocolMessageType( + "Cancellation", + (_message.Message,), + { + "DESCRIPTOR": _CANCELLATION, + "__module__": "temporal.sdk.core.child_workflow.child_workflow_pb2", + # @@protoc_insertion_point(class_scope:coresdk.child_workflow.Cancellation) + }, +) +_sym_db.RegisterMessage(Cancellation) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0020Temporalio::Internal::Bridge::Api::ChildWorkflow" + ) + _PARENTCLOSEPOLICY._serialized_start = 585 + _PARENTCLOSEPOLICY._serialized_end = 749 + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_start = 752 + _STARTCHILDWORKFLOWEXECUTIONFAILEDCAUSE._serialized_end = 926 + _CHILDWORKFLOWCANCELLATIONTYPE._serialized_start = 928 + _CHILDWORKFLOWCANCELLATIONTYPE._serialized_end = 1054 + _CHILDWORKFLOWRESULT._serialized_start = 198 + _CHILDWORKFLOWRESULT._serialized_end = 393 + _SUCCESS._serialized_start = 395 + _SUCCESS._serialized_end = 453 + _FAILURE._serialized_start = 455 + _FAILURE._serialized_end = 515 + _CANCELLATION._serialized_start = 517 + _CANCELLATION._serialized_end = 582 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi index 3d9acbb7a..a41c5b2be 100644 --- a/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi +++ b/temporalio/bridge/proto/child_workflow/child_workflow_pb2.pyi @@ -30,7 +30,7 @@ class _ParentClosePolicyEnumTypeWrapper( _ParentClosePolicy.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor PARENT_CLOSE_POLICY_UNSPECIFIED: _ParentClosePolicy.ValueType # 0 """Let's the server set the default.""" @@ -56,7 +56,7 @@ PARENT_CLOSE_POLICY_ABANDON: ParentClosePolicy.ValueType # 2 """Abandon means not doing anything on the child workflow.""" PARENT_CLOSE_POLICY_REQUEST_CANCEL: ParentClosePolicy.ValueType # 3 """Cancel means requesting cancellation on the child workflow.""" -Global___ParentClosePolicy: typing_extensions.TypeAlias = ParentClosePolicy +global___ParentClosePolicy = ParentClosePolicy class _StartChildWorkflowExecutionFailedCause: ValueType = typing.NewType("ValueType", builtins.int) @@ -67,7 +67,7 @@ class _StartChildWorkflowExecutionFailedCauseEnumTypeWrapper( _StartChildWorkflowExecutionFailedCause.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( _StartChildWorkflowExecutionFailedCause.ValueType @@ -88,9 +88,7 @@ START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: ( START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: ( StartChildWorkflowExecutionFailedCause.ValueType ) # 1 -Global___StartChildWorkflowExecutionFailedCause: typing_extensions.TypeAlias = ( - StartChildWorkflowExecutionFailedCause -) +global___StartChildWorkflowExecutionFailedCause = StartChildWorkflowExecutionFailedCause class _ChildWorkflowCancellationType: ValueType = typing.NewType("ValueType", builtins.int) @@ -101,7 +99,7 @@ class _ChildWorkflowCancellationTypeEnumTypeWrapper( _ChildWorkflowCancellationType.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor ABANDON: _ChildWorkflowCancellationType.ValueType # 0 """Do not request cancellation of the child workflow if already scheduled""" @@ -126,11 +124,8 @@ WAIT_CANCELLATION_COMPLETED: ChildWorkflowCancellationType.ValueType # 2 """Wait for child cancellation completion.""" WAIT_CANCELLATION_REQUESTED: ChildWorkflowCancellationType.ValueType # 3 """Request cancellation of the child and wait for confirmation that the request was received.""" -Global___ChildWorkflowCancellationType: typing_extensions.TypeAlias = ( - ChildWorkflowCancellationType -) +global___ChildWorkflowCancellationType = ChildWorkflowCancellationType -@typing.final class ChildWorkflowResult(google.protobuf.message.Message): """Used by core to resolve child workflow executions.""" @@ -140,21 +135,21 @@ class ChildWorkflowResult(google.protobuf.message.Message): FAILED_FIELD_NUMBER: builtins.int CANCELLED_FIELD_NUMBER: builtins.int @property - def completed(self) -> Global___Success: ... + def completed(self) -> global___Success: ... @property - def failed(self) -> Global___Failure: ... + def failed(self) -> global___Failure: ... @property - def cancelled(self) -> Global___Cancellation: ... + def cancelled(self) -> global___Cancellation: ... def __init__( self, *, - completed: Global___Success | None = ..., - failed: Global___Failure | None = ..., - cancelled: Global___Cancellation | None = ..., + completed: global___Success | None = ..., + failed: global___Failure | None = ..., + cancelled: global___Cancellation | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "completed", @@ -167,7 +162,7 @@ class ChildWorkflowResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "completed", @@ -179,12 +174,11 @@ class ChildWorkflowResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] - ) -> typing.Literal["completed", "failed", "cancelled"] | None: ... + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> typing_extensions.Literal["completed", "failed", "cancelled"] | None: ... -Global___ChildWorkflowResult: typing_extensions.TypeAlias = ChildWorkflowResult +global___ChildWorkflowResult = ChildWorkflowResult -@typing.final class Success(google.protobuf.message.Message): """Used in ChildWorkflowResult to report successful completion.""" @@ -199,13 +193,14 @@ class Success(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... -Global___Success: typing_extensions.TypeAlias = Success +global___Success = Success -@typing.final class Failure(google.protobuf.message.Message): """Used in ChildWorkflowResult to report non successful outcomes such as application failures, timeouts, terminations, and cancellations. @@ -222,13 +217,14 @@ class Failure(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___Failure: typing_extensions.TypeAlias = Failure +global___Failure = Failure -@typing.final class Cancellation(google.protobuf.message.Message): """Used in ChildWorkflowResult to report cancellation. Failure should be ChildWorkflowFailure with a CanceledFailure cause. @@ -245,8 +241,10 @@ class Cancellation(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___Cancellation: typing_extensions.TypeAlias = Cancellation +global___Cancellation = Cancellation diff --git a/temporalio/bridge/proto/common/common_pb2.py b/temporalio/bridge/proto/common/common_pb2.py index 820f98021..c56456fce 100644 --- a/temporalio/bridge/proto/common/common_pb2.py +++ b/temporalio/bridge/proto/common/common_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/common/common.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/common/common.proto", -) +from google.protobuf.internal import enum_type_wrapper + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -30,20 +21,48 @@ b'\n%temporal/sdk/core/common/common.proto\x12\x0e\x63oresdk.common\x1a\x1egoogle/protobuf/duration.proto"U\n\x1bNamespacedWorkflowExecution\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"D\n\x17WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t*@\n\x10VersioningIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x42,\xea\x02)Temporalio::Internal::Bridge::Api::Commonb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.common.common_pb2", _globals +_VERSIONINGINTENT = DESCRIPTOR.enum_types_by_name["VersioningIntent"] +VersioningIntent = enum_type_wrapper.EnumTypeWrapper(_VERSIONINGINTENT) +UNSPECIFIED = 0 +COMPATIBLE = 1 +DEFAULT = 2 + + +_NAMESPACEDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "NamespacedWorkflowExecution" +] +_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"] +NamespacedWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "NamespacedWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.common.common_pb2", + # @@protoc_insertion_point(class_scope:coresdk.common.NamespacedWorkflowExecution) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\352\002)Temporalio::Internal::Bridge::Api::Common" - _globals["_VERSIONINGINTENT"]._serialized_start = 246 - _globals["_VERSIONINGINTENT"]._serialized_end = 310 - _globals["_NAMESPACEDWORKFLOWEXECUTION"]._serialized_start = 89 - _globals["_NAMESPACEDWORKFLOWEXECUTION"]._serialized_end = 174 - _globals["_WORKERDEPLOYMENTVERSION"]._serialized_start = 176 - _globals["_WORKERDEPLOYMENTVERSION"]._serialized_end = 244 +_sym_db.RegisterMessage(NamespacedWorkflowExecution) + +WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType( + "WorkerDeploymentVersion", + (_message.Message,), + { + "DESCRIPTOR": _WORKERDEPLOYMENTVERSION, + "__module__": "temporal.sdk.core.common.common_pb2", + # @@protoc_insertion_point(class_scope:coresdk.common.WorkerDeploymentVersion) + }, +) +_sym_db.RegisterMessage(WorkerDeploymentVersion) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002)Temporalio::Internal::Bridge::Api::Common" + ) + _VERSIONINGINTENT._serialized_start = 246 + _VERSIONINGINTENT._serialized_end = 310 + _NAMESPACEDWORKFLOWEXECUTION._serialized_start = 89 + _NAMESPACEDWORKFLOWEXECUTION._serialized_end = 174 + _WORKERDEPLOYMENTVERSION._serialized_start = 176 + _WORKERDEPLOYMENTVERSION._serialized_end = 244 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/common/common_pb2.pyi b/temporalio/bridge/proto/common/common_pb2.pyi index 69bcb6f07..739a129e1 100644 --- a/temporalio/bridge/proto/common/common_pb2.pyi +++ b/temporalio/bridge/proto/common/common_pb2.pyi @@ -27,7 +27,7 @@ class _VersioningIntentEnumTypeWrapper( _VersioningIntent.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: _VersioningIntent.ValueType # 0 """Indicates that core should choose the most sensible default behavior for the type of @@ -63,9 +63,8 @@ DEFAULT: VersioningIntent.ValueType # 2 """Indicates that the command should run on the target task queue's current overall-default build ID. """ -Global___VersioningIntent: typing_extensions.TypeAlias = VersioningIntent +global___VersioningIntent = VersioningIntent -@typing.final class NamespacedWorkflowExecution(google.protobuf.message.Message): """Identifying information about a particular workflow execution, including namespace""" @@ -89,7 +88,7 @@ class NamespacedWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "namespace", b"namespace", "run_id", @@ -99,11 +98,8 @@ class NamespacedWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -Global___NamespacedWorkflowExecution: typing_extensions.TypeAlias = ( - NamespacedWorkflowExecution -) +global___NamespacedWorkflowExecution = NamespacedWorkflowExecution -@typing.final class WorkerDeploymentVersion(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -119,9 +115,9 @@ class WorkerDeploymentVersion(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "build_id", b"build_id", "deployment_name", b"deployment_name" ], ) -> None: ... -Global___WorkerDeploymentVersion: typing_extensions.TypeAlias = WorkerDeploymentVersion +global___WorkerDeploymentVersion = WorkerDeploymentVersion diff --git a/temporalio/bridge/proto/core_interface_pb2.py b/temporalio/bridge/proto/core_interface_pb2.py index 12d8977cb..19f330433 100644 --- a/temporalio/bridge/proto/core_interface_pb2.py +++ b/temporalio/bridge/proto/core_interface_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/core_interface.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/core_interface.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -57,30 +47,121 @@ b'\n&temporal/sdk/core/core_interface.proto\x12\x07\x63oresdk\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x33temporal/sdk/core/activity_task/activity_task.proto\x1a%temporal/sdk/core/common/common.proto\x1a\x33temporal/sdk/core/external_data/external_data.proto\x1a?temporal/sdk/core/workflow_activation/workflow_activation.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto\x1a?temporal/sdk/core/workflow_completion/workflow_completion.proto"Y\n\x11\x41\x63tivityHeartbeat\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload"n\n\x16\x41\x63tivityTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12@\n\x06result\x18\x02 \x01(\x0b\x32\x30.coresdk.activity_result.ActivityExecutionResult"<\n\x10WorkflowSlotInfo\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x11\n\tis_sticky\x18\x02 \x01(\x08")\n\x10\x41\x63tivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t".\n\x15LocalActivitySlotInfo\x12\x15\n\ractivity_type\x18\x01 \x01(\t"3\n\rNexusSlotInfo\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t"\x86\x01\n\rNamespaceInfo\x12-\n\x06limits\x18\x01 \x01(\x0b\x32\x1d.coresdk.NamespaceInfo.Limits\x1a\x46\n\x06Limits\x12\x1d\n\x15\x62lob_size_limit_error\x18\x01 \x01(\x03\x12\x1d\n\x15memo_size_limit_error\x18\x02 \x01(\x03\x42\x33\xea\x02\x30Temporalio::Internal::Bridge::Api::CoreInterfaceb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.core_interface_pb2", _globals -) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\352\0020Temporalio::Internal::Bridge::Api::CoreInterface" - _globals["_ACTIVITYHEARTBEAT"]._serialized_start = 576 - _globals["_ACTIVITYHEARTBEAT"]._serialized_end = 665 - _globals["_ACTIVITYTASKCOMPLETION"]._serialized_start = 667 - _globals["_ACTIVITYTASKCOMPLETION"]._serialized_end = 777 - _globals["_WORKFLOWSLOTINFO"]._serialized_start = 779 - _globals["_WORKFLOWSLOTINFO"]._serialized_end = 839 - _globals["_ACTIVITYSLOTINFO"]._serialized_start = 841 - _globals["_ACTIVITYSLOTINFO"]._serialized_end = 882 - _globals["_LOCALACTIVITYSLOTINFO"]._serialized_start = 884 - _globals["_LOCALACTIVITYSLOTINFO"]._serialized_end = 930 - _globals["_NEXUSSLOTINFO"]._serialized_start = 932 - _globals["_NEXUSSLOTINFO"]._serialized_end = 983 - _globals["_NAMESPACEINFO"]._serialized_start = 986 - _globals["_NAMESPACEINFO"]._serialized_end = 1120 - _globals["_NAMESPACEINFO_LIMITS"]._serialized_start = 1050 - _globals["_NAMESPACEINFO_LIMITS"]._serialized_end = 1120 + +_ACTIVITYHEARTBEAT = DESCRIPTOR.message_types_by_name["ActivityHeartbeat"] +_ACTIVITYTASKCOMPLETION = DESCRIPTOR.message_types_by_name["ActivityTaskCompletion"] +_WORKFLOWSLOTINFO = DESCRIPTOR.message_types_by_name["WorkflowSlotInfo"] +_ACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["ActivitySlotInfo"] +_LOCALACTIVITYSLOTINFO = DESCRIPTOR.message_types_by_name["LocalActivitySlotInfo"] +_NEXUSSLOTINFO = DESCRIPTOR.message_types_by_name["NexusSlotInfo"] +_NAMESPACEINFO = DESCRIPTOR.message_types_by_name["NamespaceInfo"] +_NAMESPACEINFO_LIMITS = _NAMESPACEINFO.nested_types_by_name["Limits"] +ActivityHeartbeat = _reflection.GeneratedProtocolMessageType( + "ActivityHeartbeat", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYHEARTBEAT, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.ActivityHeartbeat) + }, +) +_sym_db.RegisterMessage(ActivityHeartbeat) + +ActivityTaskCompletion = _reflection.GeneratedProtocolMessageType( + "ActivityTaskCompletion", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYTASKCOMPLETION, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.ActivityTaskCompletion) + }, +) +_sym_db.RegisterMessage(ActivityTaskCompletion) + +WorkflowSlotInfo = _reflection.GeneratedProtocolMessageType( + "WorkflowSlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.WorkflowSlotInfo) + }, +) +_sym_db.RegisterMessage(WorkflowSlotInfo) + +ActivitySlotInfo = _reflection.GeneratedProtocolMessageType( + "ActivitySlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _ACTIVITYSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.ActivitySlotInfo) + }, +) +_sym_db.RegisterMessage(ActivitySlotInfo) + +LocalActivitySlotInfo = _reflection.GeneratedProtocolMessageType( + "LocalActivitySlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _LOCALACTIVITYSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.LocalActivitySlotInfo) + }, +) +_sym_db.RegisterMessage(LocalActivitySlotInfo) + +NexusSlotInfo = _reflection.GeneratedProtocolMessageType( + "NexusSlotInfo", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSSLOTINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.NexusSlotInfo) + }, +) +_sym_db.RegisterMessage(NexusSlotInfo) + +NamespaceInfo = _reflection.GeneratedProtocolMessageType( + "NamespaceInfo", + (_message.Message,), + { + "Limits": _reflection.GeneratedProtocolMessageType( + "Limits", + (_message.Message,), + { + "DESCRIPTOR": _NAMESPACEINFO_LIMITS, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.NamespaceInfo.Limits) + }, + ), + "DESCRIPTOR": _NAMESPACEINFO, + "__module__": "temporal.sdk.core.core_interface_pb2", + # @@protoc_insertion_point(class_scope:coresdk.NamespaceInfo) + }, +) +_sym_db.RegisterMessage(NamespaceInfo) +_sym_db.RegisterMessage(NamespaceInfo.Limits) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\0020Temporalio::Internal::Bridge::Api::CoreInterface" + ) + _ACTIVITYHEARTBEAT._serialized_start = 576 + _ACTIVITYHEARTBEAT._serialized_end = 665 + _ACTIVITYTASKCOMPLETION._serialized_start = 667 + _ACTIVITYTASKCOMPLETION._serialized_end = 777 + _WORKFLOWSLOTINFO._serialized_start = 779 + _WORKFLOWSLOTINFO._serialized_end = 839 + _ACTIVITYSLOTINFO._serialized_start = 841 + _ACTIVITYSLOTINFO._serialized_end = 882 + _LOCALACTIVITYSLOTINFO._serialized_start = 884 + _LOCALACTIVITYSLOTINFO._serialized_end = 930 + _NEXUSSLOTINFO._serialized_start = 932 + _NEXUSSLOTINFO._serialized_end = 983 + _NAMESPACEINFO._serialized_start = 986 + _NAMESPACEINFO._serialized_end = 1120 + _NAMESPACEINFO_LIMITS._serialized_start = 1050 + _NAMESPACEINFO_LIMITS._serialized_end = 1120 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/core_interface_pb2.pyi b/temporalio/bridge/proto/core_interface_pb2.pyi index c25fcce3a..46fa4eccd 100644 --- a/temporalio/bridge/proto/core_interface_pb2.pyi +++ b/temporalio/bridge/proto/core_interface_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -15,14 +14,13 @@ import google.protobuf.message import temporalio.api.common.v1.message_pb2 import temporalio.bridge.proto.activity_result.activity_result_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class ActivityHeartbeat(google.protobuf.message.Message): """A request as given to `record_activity_heartbeat`""" @@ -46,12 +44,13 @@ class ActivityHeartbeat(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["details", b"details", "task_token", b"task_token"], + field_name: typing_extensions.Literal[ + "details", b"details", "task_token", b"task_token" + ], ) -> None: ... -Global___ActivityHeartbeat: typing_extensions.TypeAlias = ActivityHeartbeat +global___ActivityHeartbeat = ActivityHeartbeat -@typing.final class ActivityTaskCompletion(google.protobuf.message.Message): """A request as given to `complete_activity_task`""" @@ -72,16 +71,17 @@ class ActivityTaskCompletion(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal["result", b"result", "task_token", b"task_token"], + field_name: typing_extensions.Literal[ + "result", b"result", "task_token", b"task_token" + ], ) -> None: ... -Global___ActivityTaskCompletion: typing_extensions.TypeAlias = ActivityTaskCompletion +global___ActivityTaskCompletion = ActivityTaskCompletion -@typing.final class WorkflowSlotInfo(google.protobuf.message.Message): """Info about workflow task slot usage""" @@ -99,14 +99,13 @@ class WorkflowSlotInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "is_sticky", b"is_sticky", "workflow_type", b"workflow_type" ], ) -> None: ... -Global___WorkflowSlotInfo: typing_extensions.TypeAlias = WorkflowSlotInfo +global___WorkflowSlotInfo = WorkflowSlotInfo -@typing.final class ActivitySlotInfo(google.protobuf.message.Message): """Info about activity task slot usage""" @@ -120,12 +119,11 @@ class ActivitySlotInfo(google.protobuf.message.Message): activity_type: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["activity_type", b"activity_type"] + self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] ) -> None: ... -Global___ActivitySlotInfo: typing_extensions.TypeAlias = ActivitySlotInfo +global___ActivitySlotInfo = ActivitySlotInfo -@typing.final class LocalActivitySlotInfo(google.protobuf.message.Message): """Info about local activity slot usage""" @@ -139,12 +137,11 @@ class LocalActivitySlotInfo(google.protobuf.message.Message): activity_type: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["activity_type", b"activity_type"] + self, field_name: typing_extensions.Literal["activity_type", b"activity_type"] ) -> None: ... -Global___LocalActivitySlotInfo: typing_extensions.TypeAlias = LocalActivitySlotInfo +global___LocalActivitySlotInfo = LocalActivitySlotInfo -@typing.final class NexusSlotInfo(google.protobuf.message.Message): """Info about nexus task slot usage""" @@ -162,18 +159,18 @@ class NexusSlotInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal["operation", b"operation", "service", b"service"], + field_name: typing_extensions.Literal[ + "operation", b"operation", "service", b"service" + ], ) -> None: ... -Global___NexusSlotInfo: typing_extensions.TypeAlias = NexusSlotInfo +global___NexusSlotInfo = NexusSlotInfo -@typing.final class NamespaceInfo(google.protobuf.message.Message): """Info about a namespace""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class Limits(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -194,7 +191,7 @@ class NamespaceInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "blob_size_limit_error", b"blob_size_limit_error", "memo_size_limit_error", @@ -204,17 +201,18 @@ class NamespaceInfo(google.protobuf.message.Message): LIMITS_FIELD_NUMBER: builtins.int @property - def limits(self) -> Global___NamespaceInfo.Limits: + def limits(self) -> global___NamespaceInfo.Limits: """Namespace configured limits""" - def __init__( self, *, - limits: Global___NamespaceInfo.Limits | None = ..., + limits: global___NamespaceInfo.Limits | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["limits", b"limits"] + self, field_name: typing_extensions.Literal["limits", b"limits"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["limits", b"limits"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["limits", b"limits"] + ) -> None: ... -Global___NamespaceInfo: typing_extensions.TypeAlias = NamespaceInfo +global___NamespaceInfo = NamespaceInfo diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.py b/temporalio/bridge/proto/external_data/external_data_pb2.py index 1909159c4..e8070efa7 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.py +++ b/temporalio/bridge/proto/external_data/external_data_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/external_data/external_data.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder - -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/external_data/external_data.proto", -) + # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -31,18 +21,38 @@ b'\n3temporal/sdk/core/external_data/external_data.proto\x12\x15\x63oresdk.external_data\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfe\x01\n\x17LocalActivityMarkerData\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x03 \x01(\t\x12\x15\n\ractivity_type\x18\x04 \x01(\t\x12\x31\n\rcomplete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07\x62\x61\x63koff\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x16original_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"3\n\x11PatchedMarkerData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08\x42\x32\xea\x02/Temporalio::Internal::Bridge::Api::ExternalDatab\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.external_data.external_data_pb2", _globals + +_LOCALACTIVITYMARKERDATA = DESCRIPTOR.message_types_by_name["LocalActivityMarkerData"] +_PATCHEDMARKERDATA = DESCRIPTOR.message_types_by_name["PatchedMarkerData"] +LocalActivityMarkerData = _reflection.GeneratedProtocolMessageType( + "LocalActivityMarkerData", + (_message.Message,), + { + "DESCRIPTOR": _LOCALACTIVITYMARKERDATA, + "__module__": "temporal.sdk.core.external_data.external_data_pb2", + # @@protoc_insertion_point(class_scope:coresdk.external_data.LocalActivityMarkerData) + }, +) +_sym_db.RegisterMessage(LocalActivityMarkerData) + +PatchedMarkerData = _reflection.GeneratedProtocolMessageType( + "PatchedMarkerData", + (_message.Message,), + { + "DESCRIPTOR": _PATCHEDMARKERDATA, + "__module__": "temporal.sdk.core.external_data.external_data_pb2", + # @@protoc_insertion_point(class_scope:coresdk.external_data.PatchedMarkerData) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\352\002/Temporalio::Internal::Bridge::Api::ExternalData" - _globals["_LOCALACTIVITYMARKERDATA"]._serialized_start = 144 - _globals["_LOCALACTIVITYMARKERDATA"]._serialized_end = 398 - _globals["_PATCHEDMARKERDATA"]._serialized_start = 400 - _globals["_PATCHEDMARKERDATA"]._serialized_end = 451 +_sym_db.RegisterMessage(PatchedMarkerData) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002/Temporalio::Internal::Bridge::Api::ExternalData" + ) + _LOCALACTIVITYMARKERDATA._serialized_start = 144 + _LOCALACTIVITYMARKERDATA._serialized_end = 398 + _PATCHEDMARKERDATA._serialized_start = 400 + _PATCHEDMARKERDATA._serialized_end = 451 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/external_data/external_data_pb2.pyi b/temporalio/bridge/proto/external_data/external_data_pb2.pyi index 9662a6bf4..a1d29e39d 100644 --- a/temporalio/bridge/proto/external_data/external_data_pb2.pyi +++ b/temporalio/bridge/proto/external_data/external_data_pb2.pyi @@ -5,21 +5,19 @@ isort:skip_file import builtins import sys -import typing import google.protobuf.descriptor import google.protobuf.duration_pb2 import google.protobuf.message import google.protobuf.timestamp_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class LocalActivityMarkerData(google.protobuf.message.Message): """This file defines data that Core might write externally. The first motivating case being storing data in markers in event history. Defining such data as protos provides an easy way @@ -48,20 +46,17 @@ class LocalActivityMarkerData(google.protobuf.message.Message): it was when it completed. Which could be different from wall-clock time because of workflow replay. It's the WFT start time + the LA's runtime """ - @property def backoff(self) -> google.protobuf.duration_pb2.Duration: """If set, this local activity conceptually is retrying after the specified backoff. Implementation wise, they are really two different LA machines, but with the same type & input. The retry starts with an attempt number > 1. """ - @property def original_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """The time the LA was originally scheduled (wall clock time). This is used to track schedule-to-close timeouts when timer-based backoffs are used """ - def __init__( self, *, @@ -75,7 +70,7 @@ class LocalActivityMarkerData(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff", b"backoff", "complete_time", @@ -86,7 +81,7 @@ class LocalActivityMarkerData(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -104,9 +99,8 @@ class LocalActivityMarkerData(google.protobuf.message.Message): ], ) -> None: ... -Global___LocalActivityMarkerData: typing_extensions.TypeAlias = LocalActivityMarkerData +global___LocalActivityMarkerData = LocalActivityMarkerData -@typing.final class PatchedMarkerData(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -123,7 +117,8 @@ class PatchedMarkerData(google.protobuf.message.Message): deprecated: builtins.bool = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["deprecated", b"deprecated", "id", b"id"] + self, + field_name: typing_extensions.Literal["deprecated", b"deprecated", "id", b"id"], ) -> None: ... -Global___PatchedMarkerData: typing_extensions.TypeAlias = PatchedMarkerData +global___PatchedMarkerData = PatchedMarkerData diff --git a/temporalio/bridge/proto/health/v1/health_pb2.py b/temporalio/bridge/proto/health/v1/health_pb2.py index cd1645a16..8e31dcecb 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.py +++ b/temporalio/bridge/proto/health/v1/health_pb2.py @@ -1,19 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: health/v1/health.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "health/v1/health.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -23,20 +18,44 @@ b'\n\x16health/v1/health.proto\x12\x17temporal.grpc.health.v1"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t"\xb2\x01\n\x13HealthCheckResponse\x12J\n\x06status\x18\x01 \x01(\x0e\x32:.temporal.grpc.health.v1.HealthCheckResponse.ServingStatus"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xd2\x01\n\x06Health\x12\x62\n\x05\x43heck\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse\x12\x64\n\x05Watch\x12+.temporal.grpc.health.v1.HealthCheckRequest\x1a,.temporal.grpc.health.v1.HealthCheckResponse0\x01\x42\x61\n\x11io.grpc.health.v1B\x0bHealthProtoP\x01Z,google.golang.org/grpc/health/grpc_health_v1\xaa\x02\x0eGrpc.Health.V1b\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "health.v1.health_pb2", _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1" - _globals["_HEALTHCHECKREQUEST"]._serialized_start = 51 - _globals["_HEALTHCHECKREQUEST"]._serialized_end = 88 - _globals["_HEALTHCHECKRESPONSE"]._serialized_start = 91 - _globals["_HEALTHCHECKRESPONSE"]._serialized_end = 269 - _globals["_HEALTHCHECKRESPONSE_SERVINGSTATUS"]._serialized_start = 190 - _globals["_HEALTHCHECKRESPONSE_SERVINGSTATUS"]._serialized_end = 269 - _globals["_HEALTH"]._serialized_start = 272 - _globals["_HEALTH"]._serialized_end = 482 + +_HEALTHCHECKREQUEST = DESCRIPTOR.message_types_by_name["HealthCheckRequest"] +_HEALTHCHECKRESPONSE = DESCRIPTOR.message_types_by_name["HealthCheckResponse"] +_HEALTHCHECKRESPONSE_SERVINGSTATUS = _HEALTHCHECKRESPONSE.enum_types_by_name[ + "ServingStatus" +] +HealthCheckRequest = _reflection.GeneratedProtocolMessageType( + "HealthCheckRequest", + (_message.Message,), + { + "DESCRIPTOR": _HEALTHCHECKREQUEST, + "__module__": "health.v1.health_pb2", + # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckRequest) + }, +) +_sym_db.RegisterMessage(HealthCheckRequest) + +HealthCheckResponse = _reflection.GeneratedProtocolMessageType( + "HealthCheckResponse", + (_message.Message,), + { + "DESCRIPTOR": _HEALTHCHECKRESPONSE, + "__module__": "health.v1.health_pb2", + # @@protoc_insertion_point(class_scope:temporal.grpc.health.v1.HealthCheckResponse) + }, +) +_sym_db.RegisterMessage(HealthCheckResponse) + +_HEALTH = DESCRIPTOR.services_by_name["Health"] +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1" + _HEALTHCHECKREQUEST._serialized_start = 51 + _HEALTHCHECKREQUEST._serialized_end = 88 + _HEALTHCHECKRESPONSE._serialized_start = 91 + _HEALTHCHECKRESPONSE._serialized_end = 269 + _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_start = 190 + _HEALTHCHECKRESPONSE_SERVINGSTATUS._serialized_end = 269 + _HEALTH._serialized_start = 272 + _HEALTH._serialized_end = 482 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/health/v1/health_pb2.pyi b/temporalio/bridge/proto/health/v1/health_pb2.pyi index ee6ff00d8..2e1121e3c 100644 --- a/temporalio/bridge/proto/health/v1/health_pb2.pyi +++ b/temporalio/bridge/proto/health/v1/health_pb2.pyi @@ -18,7 +18,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class HealthCheckRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -29,11 +28,12 @@ class HealthCheckRequest(google.protobuf.message.Message): *, service: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["service", b"service"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["service", b"service"] + ) -> None: ... -Global___HealthCheckRequest: typing_extensions.TypeAlias = HealthCheckRequest +global___HealthCheckRequest = HealthCheckRequest -@typing.final class HealthCheckResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -46,7 +46,7 @@ class HealthCheckResponse(google.protobuf.message.Message): HealthCheckResponse._ServingStatus.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNKNOWN: HealthCheckResponse._ServingStatus.ValueType # 0 SERVING: HealthCheckResponse._ServingStatus.ValueType # 1 @@ -62,12 +62,14 @@ class HealthCheckResponse(google.protobuf.message.Message): """Used only by the Watch method.""" STATUS_FIELD_NUMBER: builtins.int - status: Global___HealthCheckResponse.ServingStatus.ValueType + status: global___HealthCheckResponse.ServingStatus.ValueType def __init__( self, *, - status: Global___HealthCheckResponse.ServingStatus.ValueType = ..., + status: global___HealthCheckResponse.ServingStatus.ValueType = ..., + ) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["status", b"status"] ) -> None: ... - def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ... -Global___HealthCheckResponse: typing_extensions.TypeAlias = HealthCheckResponse +global___HealthCheckResponse = HealthCheckResponse diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.py b/temporalio/bridge/proto/nexus/nexus_pb2.py index c026db017..d932c3571 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.py +++ b/temporalio/bridge/proto/nexus/nexus_pb2.py @@ -1,19 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/nexus/nexus.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, 6, 33, 5, "", "temporal/sdk/core/nexus/nexus.proto" -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -41,30 +37,87 @@ b'\n#temporal/sdk/core/nexus/nexus.proto\x12\rcoresdk.nexus\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a%temporal/sdk/core/common/common.proto"\xf8\x01\n\x14NexusOperationResult\x12\x34\n\tcompleted\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x12\x32\n\x06\x66\x61iled\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\tcancelled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x35\n\ttimed_out\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"\xee\x01\n\x13NexusTaskCompletion\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\tcompleted\x18\x02 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.ResponseH\x00\x12\x38\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01H\x00\x12\x14\n\nack_cancel\x18\x04 \x01(\x08H\x00\x12\x33\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"\xe2\x01\n\tNexusTask\x12K\n\x04task\x18\x01 \x01(\x0b\x32;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\x00\x12\x35\n\x0b\x63\x61ncel_task\x18\x02 \x01(\x0b\x32\x1e.coresdk.nexus.CancelNexusTaskH\x00\x12\x34\n\x10request_deadline\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x65ndpoint\x18\x04 \x01(\tB\t\n\x07variant"[\n\x0f\x43\x61ncelNexusTask\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x34\n\x06reason\x18\x02 \x01(\x0e\x32$.coresdk.nexus.NexusTaskCancelReason*;\n\x15NexusTaskCancelReason\x12\r\n\tTIMED_OUT\x10\x00\x12\x13\n\x0fWORKER_SHUTDOWN\x10\x01*\x7f\n\x1eNexusOperationCancellationType\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x00\x12\x0b\n\x07\x41\x42\x41NDON\x10\x01\x12\x0e\n\nTRY_CANCEL\x10\x02\x12\x1f\n\x1bWAIT_CANCELLATION_REQUESTED\x10\x03\x42+\xea\x02(Temporalio::Internal::Bridge::Api::Nexusb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.nexus.nexus_pb2", _globals +_NEXUSTASKCANCELREASON = DESCRIPTOR.enum_types_by_name["NexusTaskCancelReason"] +NexusTaskCancelReason = enum_type_wrapper.EnumTypeWrapper(_NEXUSTASKCANCELREASON) +_NEXUSOPERATIONCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name[ + "NexusOperationCancellationType" +] +NexusOperationCancellationType = enum_type_wrapper.EnumTypeWrapper( + _NEXUSOPERATIONCANCELLATIONTYPE +) +TIMED_OUT = 0 +WORKER_SHUTDOWN = 1 +WAIT_CANCELLATION_COMPLETED = 0 +ABANDON = 1 +TRY_CANCEL = 2 +WAIT_CANCELLATION_REQUESTED = 3 + + +_NEXUSOPERATIONRESULT = DESCRIPTOR.message_types_by_name["NexusOperationResult"] +_NEXUSTASKCOMPLETION = DESCRIPTOR.message_types_by_name["NexusTaskCompletion"] +_NEXUSTASK = DESCRIPTOR.message_types_by_name["NexusTask"] +_CANCELNEXUSTASK = DESCRIPTOR.message_types_by_name["CancelNexusTask"] +NexusOperationResult = _reflection.GeneratedProtocolMessageType( + "NexusOperationResult", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSOPERATIONRESULT, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusOperationResult) + }, +) +_sym_db.RegisterMessage(NexusOperationResult) + +NexusTaskCompletion = _reflection.GeneratedProtocolMessageType( + "NexusTaskCompletion", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSTASKCOMPLETION, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTaskCompletion) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = b"\352\002(Temporalio::Internal::Bridge::Api::Nexus" - _globals["_NEXUSTASKCOMPLETION"].fields_by_name["error"]._loaded_options = None - _globals["_NEXUSTASKCOMPLETION"].fields_by_name[ - "error" - ]._serialized_options = b"\030\001" - _globals["_NEXUSTASKCANCELREASON"]._serialized_start = 1110 - _globals["_NEXUSTASKCANCELREASON"]._serialized_end = 1169 - _globals["_NEXUSOPERATIONCANCELLATIONTYPE"]._serialized_start = 1171 - _globals["_NEXUSOPERATIONCANCELLATIONTYPE"]._serialized_end = 1298 - _globals["_NEXUSOPERATIONRESULT"]._serialized_start = 297 - _globals["_NEXUSOPERATIONRESULT"]._serialized_end = 545 - _globals["_NEXUSTASKCOMPLETION"]._serialized_start = 548 - _globals["_NEXUSTASKCOMPLETION"]._serialized_end = 786 - _globals["_NEXUSTASK"]._serialized_start = 789 - _globals["_NEXUSTASK"]._serialized_end = 1015 - _globals["_CANCELNEXUSTASK"]._serialized_start = 1017 - _globals["_CANCELNEXUSTASK"]._serialized_end = 1108 +_sym_db.RegisterMessage(NexusTaskCompletion) + +NexusTask = _reflection.GeneratedProtocolMessageType( + "NexusTask", + (_message.Message,), + { + "DESCRIPTOR": _NEXUSTASK, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.NexusTask) + }, +) +_sym_db.RegisterMessage(NexusTask) + +CancelNexusTask = _reflection.GeneratedProtocolMessageType( + "CancelNexusTask", + (_message.Message,), + { + "DESCRIPTOR": _CANCELNEXUSTASK, + "__module__": "temporal.sdk.core.nexus.nexus_pb2", + # @@protoc_insertion_point(class_scope:coresdk.nexus.CancelNexusTask) + }, +) +_sym_db.RegisterMessage(CancelNexusTask) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( + b"\352\002(Temporalio::Internal::Bridge::Api::Nexus" + ) + _NEXUSTASKCOMPLETION.fields_by_name["error"]._options = None + _NEXUSTASKCOMPLETION.fields_by_name["error"]._serialized_options = b"\030\001" + _NEXUSTASKCANCELREASON._serialized_start = 1110 + _NEXUSTASKCANCELREASON._serialized_end = 1169 + _NEXUSOPERATIONCANCELLATIONTYPE._serialized_start = 1171 + _NEXUSOPERATIONCANCELLATIONTYPE._serialized_end = 1298 + _NEXUSOPERATIONRESULT._serialized_start = 297 + _NEXUSOPERATIONRESULT._serialized_end = 545 + _NEXUSTASKCOMPLETION._serialized_start = 548 + _NEXUSTASKCOMPLETION._serialized_end = 786 + _NEXUSTASK._serialized_start = 789 + _NEXUSTASK._serialized_end = 1015 + _CANCELNEXUSTASK._serialized_start = 1017 + _CANCELNEXUSTASK._serialized_end = 1108 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/nexus/nexus_pb2.pyi b/temporalio/bridge/proto/nexus/nexus_pb2.pyi index 47a4f3163..3cfafac26 100644 --- a/temporalio/bridge/proto/nexus/nexus_pb2.pyi +++ b/temporalio/bridge/proto/nexus/nexus_pb2.pyi @@ -33,7 +33,7 @@ class _NexusTaskCancelReasonEnumTypeWrapper( _NexusTaskCancelReason.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TIMED_OUT: _NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" @@ -48,7 +48,7 @@ TIMED_OUT: NexusTaskCancelReason.ValueType # 0 """The nexus task is known to have timed out""" WORKER_SHUTDOWN: NexusTaskCancelReason.ValueType # 1 """The worker is shutting down""" -Global___NexusTaskCancelReason: typing_extensions.TypeAlias = NexusTaskCancelReason +global___NexusTaskCancelReason = NexusTaskCancelReason class _NexusOperationCancellationType: ValueType = typing.NewType("ValueType", builtins.int) @@ -59,7 +59,7 @@ class _NexusOperationCancellationTypeEnumTypeWrapper( _NexusOperationCancellationType.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor WAIT_CANCELLATION_COMPLETED: _NexusOperationCancellationType.ValueType # 0 """Wait for operation cancellation completion. Default.""" @@ -90,11 +90,8 @@ If you want to ensure that cancellation is delivered to the operation, use WAIT_ """ WAIT_CANCELLATION_REQUESTED: NexusOperationCancellationType.ValueType # 3 """Request cancellation of the operation and wait for confirmation that the request was received.""" -Global___NexusOperationCancellationType: typing_extensions.TypeAlias = ( - NexusOperationCancellationType -) +global___NexusOperationCancellationType = NexusOperationCancellationType -@typing.final class NexusOperationResult(google.protobuf.message.Message): """Used by core to resolve nexus operations.""" @@ -122,7 +119,7 @@ class NexusOperationResult(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "completed", @@ -137,7 +134,7 @@ class NexusOperationResult(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "completed", @@ -151,12 +148,14 @@ class NexusOperationResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] - ) -> typing.Literal["completed", "failed", "cancelled", "timed_out"] | None: ... + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal["completed", "failed", "cancelled", "timed_out"] + | None + ): ... -Global___NexusOperationResult: typing_extensions.TypeAlias = NexusOperationResult +global___NexusOperationResult = NexusOperationResult -@typing.final class NexusTaskCompletion(google.protobuf.message.Message): """A response to a Nexus task""" @@ -169,26 +168,23 @@ class NexusTaskCompletion(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The unique identifier for this task provided in the poll response""" - ack_cancel: builtins.bool - """The lang SDK acknowledges that it is responding to a `CancelNexusTask` and thus the - response is irrelevant. This is not the only way to respond to a cancel, the other - variants can still be used, but this variant should be used when the handler was aborted - by cancellation. - """ @property def completed(self) -> temporalio.api.nexus.v1.message_pb2.Response: """The handler completed (successfully or not). Note that the response kind must match the request kind (start or cancel). """ - @property def error(self) -> temporalio.api.nexus.v1.message_pb2.HandlerError: """The handler could not complete the request for some reason. Deprecated, use failure.""" - + ack_cancel: builtins.bool + """The lang SDK acknowledges that it is responding to a `CancelNexusTask` and thus the + response is irrelevant. This is not the only way to respond to a cancel, the other + variants can still be used, but this variant should be used when the handler was aborted + by cancellation. + """ @property def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """The handler could not complete the request for some reason.""" - def __init__( self, *, @@ -200,7 +196,7 @@ class NexusTaskCompletion(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "ack_cancel", b"ack_cancel", "completed", @@ -215,7 +211,7 @@ class NexusTaskCompletion(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "ack_cancel", b"ack_cancel", "completed", @@ -231,12 +227,13 @@ class NexusTaskCompletion(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] - ) -> typing.Literal["completed", "error", "ack_cancel", "failure"] | None: ... + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal["completed", "error", "ack_cancel", "failure"] | None + ): ... -Global___NexusTaskCompletion: typing_extensions.TypeAlias = NexusTaskCompletion +global___NexusTaskCompletion = NexusTaskCompletion -@typing.final class NexusTask(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -244,18 +241,13 @@ class NexusTask(google.protobuf.message.Message): CANCEL_TASK_FIELD_NUMBER: builtins.int REQUEST_DEADLINE_FIELD_NUMBER: builtins.int ENDPOINT_FIELD_NUMBER: builtins.int - endpoint: builtins.str - """The endpoint this request was addressed to. Extracted from the request for convenient access. - Only set when variant is `task`. - """ @property def task( self, ) -> temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse: """A nexus task from server""" - @property - def cancel_task(self) -> Global___CancelNexusTask: + def cancel_task(self) -> global___CancelNexusTask: """A request by Core to notify an in-progress operation handler that it should cancel. This is distinct from a `CancelOperationRequest` from the server, which results from the user requesting the cancellation of an operation. Handling this variant should result in @@ -268,26 +260,28 @@ class NexusTask(google.protobuf.message.Message): EX: Core knows the nexus operation has timed out, and it does not make sense for the user's operation handler to continue doing work. """ - @property def request_deadline(self) -> google.protobuf.timestamp_pb2.Timestamp: """The deadline for this request, parsed from the "Request-Timeout" header. Only set when variant is `task` and the header was present with a valid value. Represented as an absolute timestamp. """ - + endpoint: builtins.str + """The endpoint this request was addressed to. Extracted from the request for convenient access. + Only set when variant is `task`. + """ def __init__( self, *, task: temporalio.api.workflowservice.v1.request_response_pb2.PollNexusTaskQueueResponse | None = ..., - cancel_task: Global___CancelNexusTask | None = ..., + cancel_task: global___CancelNexusTask | None = ..., request_deadline: google.protobuf.timestamp_pb2.Timestamp | None = ..., endpoint: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_task", b"cancel_task", "request_deadline", @@ -300,7 +294,7 @@ class NexusTask(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_task", b"cancel_task", "endpoint", @@ -314,12 +308,11 @@ class NexusTask(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["task", "cancel_task"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["task", "cancel_task"] | None: ... -Global___NexusTask: typing_extensions.TypeAlias = NexusTask +global___NexusTask = NexusTask -@typing.final class CancelNexusTask(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -327,17 +320,19 @@ class CancelNexusTask(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int task_token: builtins.bytes """The task token from the PollNexusTaskQueueResponse""" - reason: Global___NexusTaskCancelReason.ValueType + reason: global___NexusTaskCancelReason.ValueType """Why Core is asking for this operation to be cancelled""" def __init__( self, *, task_token: builtins.bytes = ..., - reason: Global___NexusTaskCancelReason.ValueType = ..., + reason: global___NexusTaskCancelReason.ValueType = ..., ) -> None: ... def ClearField( self, - field_name: typing.Literal["reason", b"reason", "task_token", b"task_token"], + field_name: typing_extensions.Literal[ + "reason", b"reason", "task_token", b"task_token" + ], ) -> None: ... -Global___CancelNexusTask: typing_extensions.TypeAlias = CancelNexusTask +global___CancelNexusTask = CancelNexusTask diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py index c0407c81f..dbece6b3e 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/workflow_activation/workflow_activation.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/workflow_activation/workflow_activation.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -57,78 +47,385 @@ b'\n?temporal/sdk/core/workflow_activation/workflow_activation.proto\x12\x1b\x63oresdk.workflow_activation\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a\x37temporal/sdk/core/activity_result/activity_result.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a#temporal/sdk/core/nexus/nexus.proto"\xa2\x04\n\x12WorkflowActivation\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cis_replaying\x18\x03 \x01(\x08\x12\x16\n\x0ehistory_length\x18\x04 \x01(\r\x12@\n\x04jobs\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.WorkflowActivationJob\x12 \n\x18\x61vailable_internal_flags\x18\x06 \x03(\r\x12\x1a\n\x12history_size_bytes\x18\x07 \x01(\x04\x12!\n\x19\x63ontinue_as_new_suggested\x18\x08 \x01(\x08\x12T\n#deployment_version_for_current_task\x18\t \x01(\x0b\x32\'.coresdk.common.WorkerDeploymentVersion\x12\x18\n\x10last_sdk_version\x18\n \x01(\t\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x0b \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\x0c \x01(\x08"\xe0\n\n\x15WorkflowActivationJob\x12N\n\x13initialize_workflow\x18\x01 \x01(\x0b\x32/.coresdk.workflow_activation.InitializeWorkflowH\x00\x12<\n\nfire_timer\x18\x02 \x01(\x0b\x32&.coresdk.workflow_activation.FireTimerH\x00\x12K\n\x12update_random_seed\x18\x04 \x01(\x0b\x32-.coresdk.workflow_activation.UpdateRandomSeedH\x00\x12\x44\n\x0equery_workflow\x18\x05 \x01(\x0b\x32*.coresdk.workflow_activation.QueryWorkflowH\x00\x12\x46\n\x0f\x63\x61ncel_workflow\x18\x06 \x01(\x0b\x32+.coresdk.workflow_activation.CancelWorkflowH\x00\x12\x46\n\x0fsignal_workflow\x18\x07 \x01(\x0b\x32+.coresdk.workflow_activation.SignalWorkflowH\x00\x12H\n\x10resolve_activity\x18\x08 \x01(\x0b\x32,.coresdk.workflow_activation.ResolveActivityH\x00\x12G\n\x10notify_has_patch\x18\t \x01(\x0b\x32+.coresdk.workflow_activation.NotifyHasPatchH\x00\x12q\n&resolve_child_workflow_execution_start\x18\n \x01(\x0b\x32?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\x00\x12\x66\n resolve_child_workflow_execution\x18\x0b \x01(\x0b\x32:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\x00\x12\x66\n resolve_signal_external_workflow\x18\x0c \x01(\x0b\x32:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\x00\x12u\n(resolve_request_cancel_external_workflow\x18\r \x01(\x0b\x32\x41.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\x00\x12:\n\tdo_update\x18\x0e \x01(\x0b\x32%.coresdk.workflow_activation.DoUpdateH\x00\x12`\n\x1dresolve_nexus_operation_start\x18\x0f \x01(\x0b\x32\x37.coresdk.workflow_activation.ResolveNexusOperationStartH\x00\x12U\n\x17resolve_nexus_operation\x18\x10 \x01(\x0b\x32\x32.coresdk.workflow_activation.ResolveNexusOperationH\x00\x12I\n\x11remove_from_cache\x18\x32 \x01(\x0b\x32,.coresdk.workflow_activation.RemoveFromCacheH\x00\x42\t\n\x07variant"\xd9\n\n\x12InitializeWorkflow\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x17\n\x0frandomness_seed\x18\x04 \x01(\x04\x12M\n\x07headers\x18\x05 \x03(\x0b\x32<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntry\x12\x10\n\x08identity\x18\x06 \x01(\t\x12I\n\x14parent_workflow_info\x18\x07 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12=\n\x1aworkflow_execution_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\'\n\x1f\x63ontinued_from_execution_run_id\x18\x0b \x01(\t\x12J\n\x13\x63ontinued_initiator\x18\x0c \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\r \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1e\n\x16\x66irst_execution_run_id\x18\x0f \x01(\t\x12\x39\n\x0cretry_policy\x18\x10 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x11 \x01(\x05\x12\x15\n\rcron_schedule\x18\x12 \x01(\t\x12\x46\n"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n"cron_schedule_to_schedule_interval\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12*\n\x04memo\x18\x15 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x16 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\nstart_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\rroot_workflow\x18\x18 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x08priority\x18\x19 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x18\n\tFireTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"m\n\x0fResolveActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.activity_result.ActivityResolution\x12\x10\n\x08is_local\x18\x03 \x01(\x08"\xd1\x02\n"ResolveChildWorkflowExecutionStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12[\n\tsucceeded\x18\x02 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\x00\x12X\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32\x46.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\x00\x12]\n\tcancelled\x18\x04 \x01(\x0b\x32H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\x00\x42\x08\n\x06status";\n)ResolveChildWorkflowExecutionStartSuccess\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\xa6\x01\n)ResolveChildWorkflowExecutionStartFailure\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x15\n\rworkflow_type\x18\x02 \x01(\t\x12M\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCause"`\n+ResolveChildWorkflowExecutionStartCancelled\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"i\n\x1dResolveChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12;\n\x06result\x18\x02 \x01(\x0b\x32+.coresdk.child_workflow.ChildWorkflowResult"+\n\x10UpdateRandomSeed\x12\x17\n\x0frandomness_seed\x18\x01 \x01(\x04"\x84\x02\n\rQueryWorkflow\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12\x12\n\nquery_type\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12H\n\x07headers\x18\x05 \x03(\x0b\x32\x37.coresdk.workflow_activation.QueryWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01" \n\x0e\x43\x61ncelWorkflow\x12\x0e\n\x06reason\x18\x01 \x01(\t"\x83\x02\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12.\n\x05input\x18\x02 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x07headers\x18\x05 \x03(\x0b\x32\x38.coresdk.workflow_activation.SignalWorkflow.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01""\n\x0eNotifyHasPatch\x12\x10\n\x08patch_id\x18\x01 \x01(\t"_\n\x1dResolveSignalExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"f\n$ResolveRequestCancelExternalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\xcb\x02\n\x08\x44oUpdate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x43\n\x07headers\x18\x05 \x03(\x0b\x32\x32.coresdk.workflow_activation.DoUpdate.HeadersEntry\x12*\n\x04meta\x18\x06 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x15\n\rrun_validator\x18\x07 \x01(\x08\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x9a\x01\n\x1aResolveNexusOperationStart\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x19\n\x0foperation_token\x18\x02 \x01(\tH\x00\x12\x16\n\x0cstarted_sync\x18\x03 \x01(\x08H\x00\x12\x32\n\x06\x66\x61iled\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x08\n\x06status"Y\n\x15ResolveNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x33\n\x06result\x18\x02 \x01(\x0b\x32#.coresdk.nexus.NexusOperationResult"\xe0\x02\n\x0fRemoveFromCache\x12\x0f\n\x07message\x18\x01 \x01(\t\x12K\n\x06reason\x18\x02 \x01(\x0e\x32;.coresdk.workflow_activation.RemoveFromCache.EvictionReason"\xee\x01\n\x0e\x45victionReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCACHE_FULL\x10\x01\x12\x0e\n\nCACHE_MISS\x10\x02\x12\x12\n\x0eNONDETERMINISM\x10\x03\x12\r\n\tLANG_FAIL\x10\x04\x12\x12\n\x0eLANG_REQUESTED\x10\x05\x12\x12\n\x0eTASK_NOT_FOUND\x10\x06\x12\x15\n\x11UNHANDLED_COMMAND\x10\x07\x12\t\n\x05\x46\x41TAL\x10\x08\x12\x1f\n\x1bPAGINATION_OR_HISTORY_FETCH\x10\t\x12\x1d\n\x19WORKFLOW_EXECUTION_ENDING\x10\nB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowActivationb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, - "temporal.sdk.core.workflow_activation.workflow_activation_pb2", - _globals, + +_WORKFLOWACTIVATION = DESCRIPTOR.message_types_by_name["WorkflowActivation"] +_WORKFLOWACTIVATIONJOB = DESCRIPTOR.message_types_by_name["WorkflowActivationJob"] +_INITIALIZEWORKFLOW = DESCRIPTOR.message_types_by_name["InitializeWorkflow"] +_INITIALIZEWORKFLOW_HEADERSENTRY = _INITIALIZEWORKFLOW.nested_types_by_name[ + "HeadersEntry" +] +_FIRETIMER = DESCRIPTOR.message_types_by_name["FireTimer"] +_RESOLVEACTIVITY = DESCRIPTOR.message_types_by_name["ResolveActivity"] +_RESOLVECHILDWORKFLOWEXECUTIONSTART = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStart" +] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStartSuccess" +] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStartFailure" +] +_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecutionStartCancelled" +] +_RESOLVECHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "ResolveChildWorkflowExecution" +] +_UPDATERANDOMSEED = DESCRIPTOR.message_types_by_name["UpdateRandomSeed"] +_QUERYWORKFLOW = DESCRIPTOR.message_types_by_name["QueryWorkflow"] +_QUERYWORKFLOW_HEADERSENTRY = _QUERYWORKFLOW.nested_types_by_name["HeadersEntry"] +_CANCELWORKFLOW = DESCRIPTOR.message_types_by_name["CancelWorkflow"] +_SIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["SignalWorkflow"] +_SIGNALWORKFLOW_HEADERSENTRY = _SIGNALWORKFLOW.nested_types_by_name["HeadersEntry"] +_NOTIFYHASPATCH = DESCRIPTOR.message_types_by_name["NotifyHasPatch"] +_RESOLVESIGNALEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ + "ResolveSignalExternalWorkflow" +] +_RESOLVEREQUESTCANCELEXTERNALWORKFLOW = DESCRIPTOR.message_types_by_name[ + "ResolveRequestCancelExternalWorkflow" +] +_DOUPDATE = DESCRIPTOR.message_types_by_name["DoUpdate"] +_DOUPDATE_HEADERSENTRY = _DOUPDATE.nested_types_by_name["HeadersEntry"] +_RESOLVENEXUSOPERATIONSTART = DESCRIPTOR.message_types_by_name[ + "ResolveNexusOperationStart" +] +_RESOLVENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ResolveNexusOperation"] +_REMOVEFROMCACHE = DESCRIPTOR.message_types_by_name["RemoveFromCache"] +_REMOVEFROMCACHE_EVICTIONREASON = _REMOVEFROMCACHE.enum_types_by_name["EvictionReason"] +WorkflowActivation = _reflection.GeneratedProtocolMessageType( + "WorkflowActivation", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWACTIVATION, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivation) + }, +) +_sym_db.RegisterMessage(WorkflowActivation) + +WorkflowActivationJob = _reflection.GeneratedProtocolMessageType( + "WorkflowActivationJob", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWACTIVATIONJOB, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.WorkflowActivationJob) + }, +) +_sym_db.RegisterMessage(WorkflowActivationJob) + +InitializeWorkflow = _reflection.GeneratedProtocolMessageType( + "InitializeWorkflow", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _INITIALIZEWORKFLOW_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow.HeadersEntry) + }, + ), + "DESCRIPTOR": _INITIALIZEWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.InitializeWorkflow) + }, +) +_sym_db.RegisterMessage(InitializeWorkflow) +_sym_db.RegisterMessage(InitializeWorkflow.HeadersEntry) + +FireTimer = _reflection.GeneratedProtocolMessageType( + "FireTimer", + (_message.Message,), + { + "DESCRIPTOR": _FIRETIMER, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.FireTimer) + }, +) +_sym_db.RegisterMessage(FireTimer) + +ResolveActivity = _reflection.GeneratedProtocolMessageType( + "ResolveActivity", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVEACTIVITY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveActivity) + }, +) +_sym_db.RegisterMessage(ResolveActivity) + +ResolveChildWorkflowExecutionStart = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStart", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTART, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStart) + }, +) +_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStart) + +ResolveChildWorkflowExecutionStartSuccess = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStartSuccess", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccess) + }, +) +_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartSuccess) + +ResolveChildWorkflowExecutionStartFailure = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStartFailure", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure) + }, +) +_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartFailure) + +ResolveChildWorkflowExecutionStartCancelled = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecutionStartCancelled", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled) + }, +) +_sym_db.RegisterMessage(ResolveChildWorkflowExecutionStartCancelled) + +ResolveChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "ResolveChildWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVECHILDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveChildWorkflowExecution) + }, +) +_sym_db.RegisterMessage(ResolveChildWorkflowExecution) + +UpdateRandomSeed = _reflection.GeneratedProtocolMessageType( + "UpdateRandomSeed", + (_message.Message,), + { + "DESCRIPTOR": _UPDATERANDOMSEED, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.UpdateRandomSeed) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = ( +_sym_db.RegisterMessage(UpdateRandomSeed) + +QueryWorkflow = _reflection.GeneratedProtocolMessageType( + "QueryWorkflow", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _QUERYWORKFLOW_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow.HeadersEntry) + }, + ), + "DESCRIPTOR": _QUERYWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.QueryWorkflow) + }, +) +_sym_db.RegisterMessage(QueryWorkflow) +_sym_db.RegisterMessage(QueryWorkflow.HeadersEntry) + +CancelWorkflow = _reflection.GeneratedProtocolMessageType( + "CancelWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _CANCELWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.CancelWorkflow) + }, +) +_sym_db.RegisterMessage(CancelWorkflow) + +SignalWorkflow = _reflection.GeneratedProtocolMessageType( + "SignalWorkflow", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALWORKFLOW_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow.HeadersEntry) + }, + ), + "DESCRIPTOR": _SIGNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.SignalWorkflow) + }, +) +_sym_db.RegisterMessage(SignalWorkflow) +_sym_db.RegisterMessage(SignalWorkflow.HeadersEntry) + +NotifyHasPatch = _reflection.GeneratedProtocolMessageType( + "NotifyHasPatch", + (_message.Message,), + { + "DESCRIPTOR": _NOTIFYHASPATCH, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.NotifyHasPatch) + }, +) +_sym_db.RegisterMessage(NotifyHasPatch) + +ResolveSignalExternalWorkflow = _reflection.GeneratedProtocolMessageType( + "ResolveSignalExternalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVESIGNALEXTERNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveSignalExternalWorkflow) + }, +) +_sym_db.RegisterMessage(ResolveSignalExternalWorkflow) + +ResolveRequestCancelExternalWorkflow = _reflection.GeneratedProtocolMessageType( + "ResolveRequestCancelExternalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVEREQUESTCANCELEXTERNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow) + }, +) +_sym_db.RegisterMessage(ResolveRequestCancelExternalWorkflow) + +DoUpdate = _reflection.GeneratedProtocolMessageType( + "DoUpdate", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _DOUPDATE_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate.HeadersEntry) + }, + ), + "DESCRIPTOR": _DOUPDATE, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.DoUpdate) + }, +) +_sym_db.RegisterMessage(DoUpdate) +_sym_db.RegisterMessage(DoUpdate.HeadersEntry) + +ResolveNexusOperationStart = _reflection.GeneratedProtocolMessageType( + "ResolveNexusOperationStart", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVENEXUSOPERATIONSTART, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperationStart) + }, +) +_sym_db.RegisterMessage(ResolveNexusOperationStart) + +ResolveNexusOperation = _reflection.GeneratedProtocolMessageType( + "ResolveNexusOperation", + (_message.Message,), + { + "DESCRIPTOR": _RESOLVENEXUSOPERATION, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.ResolveNexusOperation) + }, +) +_sym_db.RegisterMessage(ResolveNexusOperation) + +RemoveFromCache = _reflection.GeneratedProtocolMessageType( + "RemoveFromCache", + (_message.Message,), + { + "DESCRIPTOR": _REMOVEFROMCACHE, + "__module__": "temporal.sdk.core.workflow_activation.workflow_activation_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_activation.RemoveFromCache) + }, +) +_sym_db.RegisterMessage(RemoveFromCache) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowActivation" ) - _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._loaded_options = None - _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_QUERYWORKFLOW_HEADERSENTRY"]._loaded_options = None - _globals["_QUERYWORKFLOW_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._loaded_options = None - _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_DOUPDATE_HEADERSENTRY"]._loaded_options = None - _globals["_DOUPDATE_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_WORKFLOWACTIVATION"]._serialized_start = 532 - _globals["_WORKFLOWACTIVATION"]._serialized_end = 1078 - _globals["_WORKFLOWACTIVATIONJOB"]._serialized_start = 1081 - _globals["_WORKFLOWACTIVATIONJOB"]._serialized_end = 2457 - _globals["_INITIALIZEWORKFLOW"]._serialized_start = 2460 - _globals["_INITIALIZEWORKFLOW"]._serialized_end = 3829 - _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._serialized_start = 3750 - _globals["_INITIALIZEWORKFLOW_HEADERSENTRY"]._serialized_end = 3829 - _globals["_FIRETIMER"]._serialized_start = 3831 - _globals["_FIRETIMER"]._serialized_end = 3855 - _globals["_RESOLVEACTIVITY"]._serialized_start = 3857 - _globals["_RESOLVEACTIVITY"]._serialized_end = 3966 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTART"]._serialized_start = 3969 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTART"]._serialized_end = 4306 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS"]._serialized_start = 4308 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS"]._serialized_end = 4367 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE"]._serialized_start = 4370 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE"]._serialized_end = 4536 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED"]._serialized_start = 4538 - _globals["_RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED"]._serialized_end = 4634 - _globals["_RESOLVECHILDWORKFLOWEXECUTION"]._serialized_start = 4636 - _globals["_RESOLVECHILDWORKFLOWEXECUTION"]._serialized_end = 4741 - _globals["_UPDATERANDOMSEED"]._serialized_start = 4743 - _globals["_UPDATERANDOMSEED"]._serialized_end = 4786 - _globals["_QUERYWORKFLOW"]._serialized_start = 4789 - _globals["_QUERYWORKFLOW"]._serialized_end = 5049 - _globals["_QUERYWORKFLOW_HEADERSENTRY"]._serialized_start = 3750 - _globals["_QUERYWORKFLOW_HEADERSENTRY"]._serialized_end = 3829 - _globals["_CANCELWORKFLOW"]._serialized_start = 5051 - _globals["_CANCELWORKFLOW"]._serialized_end = 5083 - _globals["_SIGNALWORKFLOW"]._serialized_start = 5086 - _globals["_SIGNALWORKFLOW"]._serialized_end = 5345 - _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._serialized_start = 3750 - _globals["_SIGNALWORKFLOW_HEADERSENTRY"]._serialized_end = 3829 - _globals["_NOTIFYHASPATCH"]._serialized_start = 5347 - _globals["_NOTIFYHASPATCH"]._serialized_end = 5381 - _globals["_RESOLVESIGNALEXTERNALWORKFLOW"]._serialized_start = 5383 - _globals["_RESOLVESIGNALEXTERNALWORKFLOW"]._serialized_end = 5478 - _globals["_RESOLVEREQUESTCANCELEXTERNALWORKFLOW"]._serialized_start = 5480 - _globals["_RESOLVEREQUESTCANCELEXTERNALWORKFLOW"]._serialized_end = 5582 - _globals["_DOUPDATE"]._serialized_start = 5585 - _globals["_DOUPDATE"]._serialized_end = 5916 - _globals["_DOUPDATE_HEADERSENTRY"]._serialized_start = 3750 - _globals["_DOUPDATE_HEADERSENTRY"]._serialized_end = 3829 - _globals["_RESOLVENEXUSOPERATIONSTART"]._serialized_start = 5919 - _globals["_RESOLVENEXUSOPERATIONSTART"]._serialized_end = 6073 - _globals["_RESOLVENEXUSOPERATION"]._serialized_start = 6075 - _globals["_RESOLVENEXUSOPERATION"]._serialized_end = 6164 - _globals["_REMOVEFROMCACHE"]._serialized_start = 6167 - _globals["_REMOVEFROMCACHE"]._serialized_end = 6519 - _globals["_REMOVEFROMCACHE_EVICTIONREASON"]._serialized_start = 6281 - _globals["_REMOVEFROMCACHE_EVICTIONREASON"]._serialized_end = 6519 + _INITIALIZEWORKFLOW_HEADERSENTRY._options = None + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" + _QUERYWORKFLOW_HEADERSENTRY._options = None + _QUERYWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" + _SIGNALWORKFLOW_HEADERSENTRY._options = None + _SIGNALWORKFLOW_HEADERSENTRY._serialized_options = b"8\001" + _DOUPDATE_HEADERSENTRY._options = None + _DOUPDATE_HEADERSENTRY._serialized_options = b"8\001" + _WORKFLOWACTIVATION._serialized_start = 532 + _WORKFLOWACTIVATION._serialized_end = 1078 + _WORKFLOWACTIVATIONJOB._serialized_start = 1081 + _WORKFLOWACTIVATIONJOB._serialized_end = 2457 + _INITIALIZEWORKFLOW._serialized_start = 2460 + _INITIALIZEWORKFLOW._serialized_end = 3829 + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_start = 3750 + _INITIALIZEWORKFLOW_HEADERSENTRY._serialized_end = 3829 + _FIRETIMER._serialized_start = 3831 + _FIRETIMER._serialized_end = 3855 + _RESOLVEACTIVITY._serialized_start = 3857 + _RESOLVEACTIVITY._serialized_end = 3966 + _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_start = 3969 + _RESOLVECHILDWORKFLOWEXECUTIONSTART._serialized_end = 4306 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_start = 4308 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTSUCCESS._serialized_end = 4367 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_start = 4370 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTFAILURE._serialized_end = 4536 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_start = 4538 + _RESOLVECHILDWORKFLOWEXECUTIONSTARTCANCELLED._serialized_end = 4634 + _RESOLVECHILDWORKFLOWEXECUTION._serialized_start = 4636 + _RESOLVECHILDWORKFLOWEXECUTION._serialized_end = 4741 + _UPDATERANDOMSEED._serialized_start = 4743 + _UPDATERANDOMSEED._serialized_end = 4786 + _QUERYWORKFLOW._serialized_start = 4789 + _QUERYWORKFLOW._serialized_end = 5049 + _QUERYWORKFLOW_HEADERSENTRY._serialized_start = 3750 + _QUERYWORKFLOW_HEADERSENTRY._serialized_end = 3829 + _CANCELWORKFLOW._serialized_start = 5051 + _CANCELWORKFLOW._serialized_end = 5083 + _SIGNALWORKFLOW._serialized_start = 5086 + _SIGNALWORKFLOW._serialized_end = 5345 + _SIGNALWORKFLOW_HEADERSENTRY._serialized_start = 3750 + _SIGNALWORKFLOW_HEADERSENTRY._serialized_end = 3829 + _NOTIFYHASPATCH._serialized_start = 5347 + _NOTIFYHASPATCH._serialized_end = 5381 + _RESOLVESIGNALEXTERNALWORKFLOW._serialized_start = 5383 + _RESOLVESIGNALEXTERNALWORKFLOW._serialized_end = 5478 + _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_start = 5480 + _RESOLVEREQUESTCANCELEXTERNALWORKFLOW._serialized_end = 5582 + _DOUPDATE._serialized_start = 5585 + _DOUPDATE._serialized_end = 5916 + _DOUPDATE_HEADERSENTRY._serialized_start = 3750 + _DOUPDATE_HEADERSENTRY._serialized_end = 3829 + _RESOLVENEXUSOPERATIONSTART._serialized_start = 5919 + _RESOLVENEXUSOPERATIONSTART._serialized_end = 6073 + _RESOLVENEXUSOPERATION._serialized_start = 6075 + _RESOLVENEXUSOPERATION._serialized_end = 6164 + _REMOVEFROMCACHE._serialized_start = 6167 + _REMOVEFROMCACHE._serialized_end = 6519 + _REMOVEFROMCACHE_EVICTIONREASON._serialized_start = 6281 + _REMOVEFROMCACHE_EVICTIONREASON._serialized_end = 6519 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi index dbf181eef..a4162e7a4 100644 --- a/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi +++ b/temporalio/bridge/proto/workflow_activation/workflow_activation_pb2.pyi @@ -34,7 +34,6 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowActivation(google.protobuf.message.Message): """An instruction to the lang sdk to run some workflow code, whether for the first time or from a cached state. @@ -100,35 +99,22 @@ class WorkflowActivation(google.protobuf.message.Message): """The id of the currently active run of the workflow. Also used as a cache key. There may only ever be one active workflow task (and hence activation) of a run at one time. """ + @property + def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The current time as understood by the workflow, which is set by workflow task started events""" is_replaying: builtins.bool """Whether or not the activation is replaying past events""" history_length: builtins.int """Current history length as determined by the event id of the most recently processed event. This ensures that the number is always deterministic """ - history_size_bytes: builtins.int - """The history size in bytes as of the last WFT started event""" - continue_as_new_suggested: builtins.bool - """Set true if the most recent WFT started event had this suggestion""" - last_sdk_version: builtins.str - """The last seen SDK version from the most recent WFT completed event""" - target_worker_deployment_version_changed: builtins.bool - """True if Workflow's Target Worker Deployment Version is different from its Pinned Version and - the workflow is Pinned. - Experimental. - """ - @property - def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: - """The current time as understood by the workflow, which is set by workflow task started events""" - @property def jobs( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - Global___WorkflowActivationJob + global___WorkflowActivationJob ]: """The things to do upon activating the workflow""" - @property def available_internal_flags( self, @@ -137,7 +123,10 @@ class WorkflowActivation(google.protobuf.message.Message): internal flags may be used. This is not a delta - all previously used flags always appear since this representation is cheap. """ - + history_size_bytes: builtins.int + """The history size in bytes as of the last WFT started event""" + continue_as_new_suggested: builtins.bool + """Set true if the most recent WFT started event had this suggestion""" @property def deployment_version_for_current_task( self, @@ -150,7 +139,8 @@ class WorkflowActivation(google.protobuf.message.Message): build id, if this worker was using the deprecated Build ID-only feature(s). """ - + last_sdk_version: builtins.str + """The last seen SDK version from the most recent WFT completed event""" @property def suggest_continue_as_new_reasons( self, @@ -161,7 +151,11 @@ class WorkflowActivation(google.protobuf.message.Message): For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run. """ - + target_worker_deployment_version_changed: builtins.bool + """True if Workflow's Target Worker Deployment Version is different from its Pinned Version and + the workflow is Pinned. + Experimental. + """ def __init__( self, *, @@ -169,7 +163,7 @@ class WorkflowActivation(google.protobuf.message.Message): timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ..., is_replaying: builtins.bool = ..., history_length: builtins.int = ..., - jobs: collections.abc.Iterable[Global___WorkflowActivationJob] | None = ..., + jobs: collections.abc.Iterable[global___WorkflowActivationJob] | None = ..., available_internal_flags: collections.abc.Iterable[builtins.int] | None = ..., history_size_bytes: builtins.int = ..., continue_as_new_suggested: builtins.bool = ..., @@ -184,7 +178,7 @@ class WorkflowActivation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deployment_version_for_current_task", b"deployment_version_for_current_task", "timestamp", @@ -193,7 +187,7 @@ class WorkflowActivation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "available_internal_flags", b"available_internal_flags", "continue_as_new_suggested", @@ -221,9 +215,8 @@ class WorkflowActivation(google.protobuf.message.Message): ], ) -> None: ... -Global___WorkflowActivation: typing_extensions.TypeAlias = WorkflowActivation +global___WorkflowActivation = WorkflowActivation -@typing.final class WorkflowActivationJob(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -244,112 +237,96 @@ class WorkflowActivationJob(google.protobuf.message.Message): RESOLVE_NEXUS_OPERATION_FIELD_NUMBER: builtins.int REMOVE_FROM_CACHE_FIELD_NUMBER: builtins.int @property - def initialize_workflow(self) -> Global___InitializeWorkflow: + def initialize_workflow(self) -> global___InitializeWorkflow: """A workflow is starting, record all of the information from its start event""" - @property - def fire_timer(self) -> Global___FireTimer: + def fire_timer(self) -> global___FireTimer: """A timer has fired, allowing whatever was waiting on it (if anything) to proceed""" - @property - def update_random_seed(self) -> Global___UpdateRandomSeed: + def update_random_seed(self) -> global___UpdateRandomSeed: """Workflow was reset. The randomness seed must be updated.""" - @property - def query_workflow(self) -> Global___QueryWorkflow: + def query_workflow(self) -> global___QueryWorkflow: """A request to query the workflow was received. It is guaranteed that queries (one or more) always come in their own activation after other mutating jobs. """ - @property - def cancel_workflow(self) -> Global___CancelWorkflow: + def cancel_workflow(self) -> global___CancelWorkflow: """A request to cancel the workflow was received.""" - @property - def signal_workflow(self) -> Global___SignalWorkflow: + def signal_workflow(self) -> global___SignalWorkflow: """A request to signal the workflow was received.""" - @property - def resolve_activity(self) -> Global___ResolveActivity: + def resolve_activity(self) -> global___ResolveActivity: """An activity was resolved, result could be completed, failed or cancelled""" - @property - def notify_has_patch(self) -> Global___NotifyHasPatch: + def notify_has_patch(self) -> global___NotifyHasPatch: """A patch marker has been detected and lang is being told that change exists. This job is strange in that it is sent pre-emptively to lang without any corresponding command being sent first. """ - @property def resolve_child_workflow_execution_start( self, - ) -> Global___ResolveChildWorkflowExecutionStart: + ) -> global___ResolveChildWorkflowExecutionStart: """A child workflow execution has started or failed to start""" - @property def resolve_child_workflow_execution( self, - ) -> Global___ResolveChildWorkflowExecution: + ) -> global___ResolveChildWorkflowExecution: """A child workflow was resolved, result could be completed or failed""" - @property def resolve_signal_external_workflow( self, - ) -> Global___ResolveSignalExternalWorkflow: + ) -> global___ResolveSignalExternalWorkflow: """An attempt to signal an external workflow resolved""" - @property def resolve_request_cancel_external_workflow( self, - ) -> Global___ResolveRequestCancelExternalWorkflow: + ) -> global___ResolveRequestCancelExternalWorkflow: """An attempt to cancel an external workflow resolved""" - @property - def do_update(self) -> Global___DoUpdate: + def do_update(self) -> global___DoUpdate: """A request to handle a workflow update.""" - @property - def resolve_nexus_operation_start(self) -> Global___ResolveNexusOperationStart: + def resolve_nexus_operation_start(self) -> global___ResolveNexusOperationStart: """A nexus operation started.""" - @property - def resolve_nexus_operation(self) -> Global___ResolveNexusOperation: + def resolve_nexus_operation(self) -> global___ResolveNexusOperation: """A nexus operation resolved.""" - @property - def remove_from_cache(self) -> Global___RemoveFromCache: + def remove_from_cache(self) -> global___RemoveFromCache: """Remove the workflow identified by the [WorkflowActivation] containing this job from the cache after performing the activation. It is guaranteed that this will be the only job in the activation if present. """ - def __init__( self, *, - initialize_workflow: Global___InitializeWorkflow | None = ..., - fire_timer: Global___FireTimer | None = ..., - update_random_seed: Global___UpdateRandomSeed | None = ..., - query_workflow: Global___QueryWorkflow | None = ..., - cancel_workflow: Global___CancelWorkflow | None = ..., - signal_workflow: Global___SignalWorkflow | None = ..., - resolve_activity: Global___ResolveActivity | None = ..., - notify_has_patch: Global___NotifyHasPatch | None = ..., - resolve_child_workflow_execution_start: Global___ResolveChildWorkflowExecutionStart + initialize_workflow: global___InitializeWorkflow | None = ..., + fire_timer: global___FireTimer | None = ..., + update_random_seed: global___UpdateRandomSeed | None = ..., + query_workflow: global___QueryWorkflow | None = ..., + cancel_workflow: global___CancelWorkflow | None = ..., + signal_workflow: global___SignalWorkflow | None = ..., + resolve_activity: global___ResolveActivity | None = ..., + notify_has_patch: global___NotifyHasPatch | None = ..., + resolve_child_workflow_execution_start: global___ResolveChildWorkflowExecutionStart | None = ..., - resolve_child_workflow_execution: Global___ResolveChildWorkflowExecution + resolve_child_workflow_execution: global___ResolveChildWorkflowExecution | None = ..., - resolve_signal_external_workflow: Global___ResolveSignalExternalWorkflow + resolve_signal_external_workflow: global___ResolveSignalExternalWorkflow | None = ..., - resolve_request_cancel_external_workflow: Global___ResolveRequestCancelExternalWorkflow + resolve_request_cancel_external_workflow: global___ResolveRequestCancelExternalWorkflow | None = ..., - do_update: Global___DoUpdate | None = ..., - resolve_nexus_operation_start: Global___ResolveNexusOperationStart | None = ..., - resolve_nexus_operation: Global___ResolveNexusOperation | None = ..., - remove_from_cache: Global___RemoveFromCache | None = ..., + do_update: global___DoUpdate | None = ..., + resolve_nexus_operation_start: global___ResolveNexusOperationStart | None = ..., + resolve_nexus_operation: global___ResolveNexusOperation | None = ..., + remove_from_cache: global___RemoveFromCache | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_workflow", b"cancel_workflow", "do_update", @@ -388,7 +365,7 @@ class WorkflowActivationJob(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_workflow", b"cancel_workflow", "do_update", @@ -426,9 +403,9 @@ class WorkflowActivationJob(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] + self, oneof_group: typing_extensions.Literal["variant", b"variant"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "initialize_workflow", "fire_timer", "update_random_seed", @@ -449,15 +426,13 @@ class WorkflowActivationJob(google.protobuf.message.Message): | None ): ... -Global___WorkflowActivationJob: typing_extensions.TypeAlias = WorkflowActivationJob +global___WorkflowActivationJob = WorkflowActivationJob -@typing.final class InitializeWorkflow(google.protobuf.message.Message): """Initialize a new workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -473,10 +448,11 @@ class InitializeWorkflow(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int @@ -508,26 +484,6 @@ class InitializeWorkflow(google.protobuf.message.Message): """The identifier the lang-specific sdk uses to execute workflow code""" workflow_id: builtins.str """The workflow id used on the temporal server""" - randomness_seed: builtins.int - """The seed must be used to initialize the random generator used by SDK. - RandomSeedUpdatedAttributes are used to deliver seed updates. - """ - identity: builtins.str - """Identity of the client who requested this execution""" - continued_from_execution_run_id: builtins.str - """Run id of the previous workflow which continued-as-new or retired or cron executed into this - workflow, if any. - """ - continued_initiator: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType - ) - """If this workflow was a continuation, indicates the type of continuation.""" - first_execution_run_id: builtins.str - """This is the very first run id the workflow ever had, following continuation chains.""" - attempt: builtins.int - """Starting at 1, the number of times we have tried to execute this workflow""" - cron_schedule: builtins.str - """If this workflow runs on a cron schedule, it will appear here""" @property def arguments( self, @@ -535,7 +491,10 @@ class InitializeWorkflow(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Inputs to the workflow code""" - + randomness_seed: builtins.int + """The seed must be used to initialize the random generator used by SDK. + RandomSeedUpdatedAttributes are used to deliver seed updates. + """ @property def headers( self, @@ -543,37 +502,45 @@ class InitializeWorkflow(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.""" - + identity: builtins.str + """Identity of the client who requested this execution""" @property def parent_workflow_info( self, ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """If this workflow is a child, information about the parent""" - @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" - @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - + continued_from_execution_run_id: builtins.str + """Run id of the previous workflow which continued-as-new or retired or cron executed into this + workflow, if any. + """ + continued_initiator: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewInitiator.ValueType + ) + """If this workflow was a continuation, indicates the type of continuation.""" @property def continued_failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: """If this workflow was a continuation and that continuation failed, the details of that.""" - @property def last_completion_result(self) -> temporalio.api.common.v1.message_pb2.Payloads: """If this workflow was a continuation and that continuation completed, the details of that.""" - + first_execution_run_id: builtins.str + """This is the very first run id the workflow ever had, following continuation chains.""" @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """This workflow's retry policy""" - + attempt: builtins.int + """Starting at 1, the number of times we have tried to execute this workflow""" + cron_schedule: builtins.str + """If this workflow runs on a cron schedule, it will appear here""" @property def workflow_execution_expiration_time( self, @@ -581,7 +548,6 @@ class InitializeWorkflow(google.protobuf.message.Message): """The absolute time at which the workflow will be timed out. This is passed without change to the next run/retry of a workflow. """ - @property def cron_schedule_to_schedule_interval( self, @@ -589,21 +555,17 @@ class InitializeWorkflow(google.protobuf.message.Message): """For a cron workflow, this contains the amount of time between when this iteration of the cron workflow was scheduled and when it should run next per its cron_schedule. """ - @property def memo(self) -> temporalio.api.common.v1.message_pb2.Memo: """User-defined memo""" - @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes created/updated when this workflow was started""" - @property def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """When the workflow execution started event was first written""" - @property def root_workflow(self) -> temporalio.api.common.v1.message_pb2.WorkflowExecution: """Contains information about the root workflow execution. It is possible for the namespace to @@ -617,11 +579,9 @@ class InitializeWorkflow(google.protobuf.message.Message): See field in WorkflowExecutionStarted for more detail. """ - @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """Priority of this workflow execution""" - def __init__( self, *, @@ -665,7 +625,7 @@ class InitializeWorkflow(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "continued_failure", b"continued_failure", "cron_schedule_to_schedule_interval", @@ -698,7 +658,7 @@ class InitializeWorkflow(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "arguments", b"arguments", "attempt", @@ -752,9 +712,8 @@ class InitializeWorkflow(google.protobuf.message.Message): ], ) -> None: ... -Global___InitializeWorkflow: typing_extensions.TypeAlias = InitializeWorkflow +global___InitializeWorkflow = InitializeWorkflow -@typing.final class FireTimer(google.protobuf.message.Message): """Notify a workflow that a timer has fired""" @@ -768,11 +727,12 @@ class FireTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... -Global___FireTimer: typing_extensions.TypeAlias = FireTimer +global___FireTimer = FireTimer -@typing.final class ResolveActivity(google.protobuf.message.Message): """Notify a workflow that an activity has been resolved""" @@ -783,16 +743,16 @@ class ResolveActivity(google.protobuf.message.Message): IS_LOCAL_FIELD_NUMBER: builtins.int seq: builtins.int """Sequence number as provided by lang in the corresponding ScheduleActivity command""" - is_local: builtins.bool - """Set to true if the resolution is for a local activity. This is used internally by Core and - lang does not need to care about it. - """ @property def result( self, ) -> ( temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityResolution ): ... + is_local: builtins.bool + """Set to true if the resolution is for a local activity. This is used internally by Core and + lang does not need to care about it. + """ def __init__( self, *, @@ -802,18 +762,17 @@ class ResolveActivity(google.protobuf.message.Message): is_local: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "is_local", b"is_local", "result", b"result", "seq", b"seq" ], ) -> None: ... -Global___ResolveActivity: typing_extensions.TypeAlias = ResolveActivity +global___ResolveActivity = ResolveActivity -@typing.final class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): """Notify a workflow that a start child workflow execution request has succeeded, failed or was cancelled. @@ -828,22 +787,22 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): seq: builtins.int """Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command""" @property - def succeeded(self) -> Global___ResolveChildWorkflowExecutionStartSuccess: ... + def succeeded(self) -> global___ResolveChildWorkflowExecutionStartSuccess: ... @property - def failed(self) -> Global___ResolveChildWorkflowExecutionStartFailure: ... + def failed(self) -> global___ResolveChildWorkflowExecutionStartFailure: ... @property - def cancelled(self) -> Global___ResolveChildWorkflowExecutionStartCancelled: ... + def cancelled(self) -> global___ResolveChildWorkflowExecutionStartCancelled: ... def __init__( self, *, seq: builtins.int = ..., - succeeded: Global___ResolveChildWorkflowExecutionStartSuccess | None = ..., - failed: Global___ResolveChildWorkflowExecutionStartFailure | None = ..., - cancelled: Global___ResolveChildWorkflowExecutionStartCancelled | None = ..., + succeeded: global___ResolveChildWorkflowExecutionStartSuccess | None = ..., + failed: global___ResolveChildWorkflowExecutionStartFailure | None = ..., + cancelled: global___ResolveChildWorkflowExecutionStartCancelled | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "failed", @@ -856,7 +815,7 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancelled", b"cancelled", "failed", @@ -870,14 +829,11 @@ class ResolveChildWorkflowExecutionStart(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] - ) -> typing.Literal["succeeded", "failed", "cancelled"] | None: ... + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> typing_extensions.Literal["succeeded", "failed", "cancelled"] | None: ... -Global___ResolveChildWorkflowExecutionStart: typing_extensions.TypeAlias = ( - ResolveChildWorkflowExecutionStart -) +global___ResolveChildWorkflowExecutionStart = ResolveChildWorkflowExecutionStart -@typing.final class ResolveChildWorkflowExecutionStartSuccess(google.protobuf.message.Message): """Simply pass the run_id to lang""" @@ -890,13 +846,14 @@ class ResolveChildWorkflowExecutionStartSuccess(google.protobuf.message.Message) *, run_id: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["run_id", b"run_id"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["run_id", b"run_id"] + ) -> None: ... -Global___ResolveChildWorkflowExecutionStartSuccess: typing_extensions.TypeAlias = ( +global___ResolveChildWorkflowExecutionStartSuccess = ( ResolveChildWorkflowExecutionStartSuccess ) -@typing.final class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message): """Provide lang the cause of failure""" @@ -920,7 +877,7 @@ class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message) ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cause", b"cause", "workflow_id", @@ -930,11 +887,10 @@ class ResolveChildWorkflowExecutionStartFailure(google.protobuf.message.Message) ], ) -> None: ... -Global___ResolveChildWorkflowExecutionStartFailure: typing_extensions.TypeAlias = ( +global___ResolveChildWorkflowExecutionStartFailure = ( ResolveChildWorkflowExecutionStartFailure ) -@typing.final class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Message): """`failure` should be ChildWorkflowFailure with cause set to CancelledFailure. The failure is constructed in core for lang's convenience. @@ -951,15 +907,16 @@ class ResolveChildWorkflowExecutionStartCancelled(google.protobuf.message.Messag failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___ResolveChildWorkflowExecutionStartCancelled: typing_extensions.TypeAlias = ( +global___ResolveChildWorkflowExecutionStartCancelled = ( ResolveChildWorkflowExecutionStartCancelled ) -@typing.final class ResolveChildWorkflowExecution(google.protobuf.message.Message): """Notify a workflow that a child workflow execution has been resolved""" @@ -983,17 +940,14 @@ class ResolveChildWorkflowExecution(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["result", b"result", "seq", b"seq"] + self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] ) -> None: ... -Global___ResolveChildWorkflowExecution: typing_extensions.TypeAlias = ( - ResolveChildWorkflowExecution -) +global___ResolveChildWorkflowExecution = ResolveChildWorkflowExecution -@typing.final class UpdateRandomSeed(google.protobuf.message.Message): """Update the workflow's random seed""" @@ -1007,18 +961,17 @@ class UpdateRandomSeed(google.protobuf.message.Message): randomness_seed: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["randomness_seed", b"randomness_seed"] + self, + field_name: typing_extensions.Literal["randomness_seed", b"randomness_seed"], ) -> None: ... -Global___UpdateRandomSeed: typing_extensions.TypeAlias = UpdateRandomSeed +global___UpdateRandomSeed = UpdateRandomSeed -@typing.final class QueryWorkflow(google.protobuf.message.Message): """Query a workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1034,10 +987,11 @@ class QueryWorkflow(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... QUERY_ID_FIELD_NUMBER: builtins.int @@ -1064,7 +1018,6 @@ class QueryWorkflow(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers attached to the query""" - def __init__( self, *, @@ -1081,7 +1034,7 @@ class QueryWorkflow(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "arguments", b"arguments", "headers", @@ -1093,9 +1046,8 @@ class QueryWorkflow(google.protobuf.message.Message): ], ) -> None: ... -Global___QueryWorkflow: typing_extensions.TypeAlias = QueryWorkflow +global___QueryWorkflow = QueryWorkflow -@typing.final class CancelWorkflow(google.protobuf.message.Message): """Cancel a running workflow""" @@ -1109,17 +1061,17 @@ class CancelWorkflow(google.protobuf.message.Message): *, reason: builtins.str = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["reason", b"reason"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["reason", b"reason"] + ) -> None: ... -Global___CancelWorkflow: typing_extensions.TypeAlias = CancelWorkflow +global___CancelWorkflow = CancelWorkflow -@typing.final class SignalWorkflow(google.protobuf.message.Message): """Send a signal to a workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1135,10 +1087,11 @@ class SignalWorkflow(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SIGNAL_NAME_FIELD_NUMBER: builtins.int @@ -1146,14 +1099,14 @@ class SignalWorkflow(google.protobuf.message.Message): IDENTITY_FIELD_NUMBER: builtins.int HEADERS_FIELD_NUMBER: builtins.int signal_name: builtins.str - identity: builtins.str - """Identity of the sender of the signal""" @property def input( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ temporalio.api.common.v1.message_pb2.Payload ]: ... + identity: builtins.str + """Identity of the sender of the signal""" @property def headers( self, @@ -1161,7 +1114,6 @@ class SignalWorkflow(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers attached to the signal""" - def __init__( self, *, @@ -1176,7 +1128,7 @@ class SignalWorkflow(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "headers", b"headers", "identity", @@ -1188,9 +1140,8 @@ class SignalWorkflow(google.protobuf.message.Message): ], ) -> None: ... -Global___SignalWorkflow: typing_extensions.TypeAlias = SignalWorkflow +global___SignalWorkflow = SignalWorkflow -@typing.final class NotifyHasPatch(google.protobuf.message.Message): """Inform lang what the result of a call to `patched` or similar API should be -- this is always sent pre-emptively, so any time it is sent the change is present @@ -1206,12 +1157,11 @@ class NotifyHasPatch(google.protobuf.message.Message): patch_id: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["patch_id", b"patch_id"] + self, field_name: typing_extensions.Literal["patch_id", b"patch_id"] ) -> None: ... -Global___NotifyHasPatch: typing_extensions.TypeAlias = NotifyHasPatch +global___NotifyHasPatch = NotifyHasPatch -@typing.final class ResolveSignalExternalWorkflow(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1226,7 +1176,6 @@ class ResolveSignalExternalWorkflow(google.protobuf.message.Message): """If populated, this signal either failed to be sent or was cancelled depending on failure type / info. """ - def __init__( self, *, @@ -1234,17 +1183,15 @@ class ResolveSignalExternalWorkflow(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["failure", b"failure", "seq", b"seq"] + self, + field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], ) -> None: ... -Global___ResolveSignalExternalWorkflow: typing_extensions.TypeAlias = ( - ResolveSignalExternalWorkflow -) +global___ResolveSignalExternalWorkflow = ResolveSignalExternalWorkflow -@typing.final class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1259,7 +1206,6 @@ class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): """If populated, this signal either failed to be sent or was cancelled depending on failure type / info. """ - def __init__( self, *, @@ -1267,17 +1213,15 @@ class ResolveRequestCancelExternalWorkflow(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["failure", b"failure", "seq", b"seq"] + self, + field_name: typing_extensions.Literal["failure", b"failure", "seq", b"seq"], ) -> None: ... -Global___ResolveRequestCancelExternalWorkflow: typing_extensions.TypeAlias = ( - ResolveRequestCancelExternalWorkflow -) +global___ResolveRequestCancelExternalWorkflow = ResolveRequestCancelExternalWorkflow -@typing.final class DoUpdate(google.protobuf.message.Message): """Lang is requested to invoke an update handler on the workflow. Lang should invoke the update validator first (if requested). If it accepts the update, immediately invoke the update handler. @@ -1286,7 +1230,6 @@ class DoUpdate(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1302,10 +1245,11 @@ class DoUpdate(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... ID_FIELD_NUMBER: builtins.int @@ -1323,10 +1267,6 @@ class DoUpdate(google.protobuf.message.Message): """ name: builtins.str """The name of the update handler""" - run_validator: builtins.bool - """If set true, lang must run the update's validator before running the handler. This will be - set false during replay, since validation is not re-run during replay. - """ @property def input( self, @@ -1334,7 +1274,6 @@ class DoUpdate(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """The input to the update""" - @property def headers( self, @@ -1342,13 +1281,15 @@ class DoUpdate(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers attached to the update""" - @property def meta(self) -> temporalio.api.update.v1.message_pb2.Meta: """Remaining metadata associated with the update. The `update_id` field is stripped from here and moved to `id`, since it is guaranteed to be present. """ - + run_validator: builtins.bool + """If set true, lang must run the update's validator before running the handler. This will be + set false during replay, since validation is not re-run during replay. + """ def __init__( self, *, @@ -1365,11 +1306,11 @@ class DoUpdate(google.protobuf.message.Message): run_validator: builtins.bool = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["meta", b"meta"] + self, field_name: typing_extensions.Literal["meta", b"meta"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "headers", b"headers", "id", @@ -1387,9 +1328,8 @@ class DoUpdate(google.protobuf.message.Message): ], ) -> None: ... -Global___DoUpdate: typing_extensions.TypeAlias = DoUpdate +global___DoUpdate = DoUpdate -@typing.final class ResolveNexusOperationStart(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1414,7 +1354,6 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): failed synchronously. Details are included inside the message. In this case, the subsequent ResolveNexusOperation will never be sent. """ - def __init__( self, *, @@ -1425,7 +1364,7 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failed", b"failed", "operation_token", @@ -1438,7 +1377,7 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failed", b"failed", "operation_token", @@ -1452,14 +1391,13 @@ class ResolveNexusOperationStart(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] - ) -> typing.Literal["operation_token", "started_sync", "failed"] | None: ... + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> ( + typing_extensions.Literal["operation_token", "started_sync", "failed"] | None + ): ... -Global___ResolveNexusOperationStart: typing_extensions.TypeAlias = ( - ResolveNexusOperationStart -) +global___ResolveNexusOperationStart = ResolveNexusOperationStart -@typing.final class ResolveNexusOperation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1479,15 +1417,14 @@ class ResolveNexusOperation(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["result", b"result", "seq", b"seq"] + self, field_name: typing_extensions.Literal["result", b"result", "seq", b"seq"] ) -> None: ... -Global___ResolveNexusOperation: typing_extensions.TypeAlias = ResolveNexusOperation +global___ResolveNexusOperation = ResolveNexusOperation -@typing.final class RemoveFromCache(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1500,7 +1437,7 @@ class RemoveFromCache(google.protobuf.message.Message): RemoveFromCache._EvictionReason.ValueType ], builtins.type, - ): + ): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor UNSPECIFIED: RemoveFromCache._EvictionReason.ValueType # 0 CACHE_FULL: RemoveFromCache._EvictionReason.ValueType # 1 @@ -1570,15 +1507,18 @@ class RemoveFromCache(google.protobuf.message.Message): MESSAGE_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int message: builtins.str - reason: Global___RemoveFromCache.EvictionReason.ValueType + reason: global___RemoveFromCache.EvictionReason.ValueType def __init__( self, *, message: builtins.str = ..., - reason: Global___RemoveFromCache.EvictionReason.ValueType = ..., + reason: global___RemoveFromCache.EvictionReason.ValueType = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["message", b"message", "reason", b"reason"] + self, + field_name: typing_extensions.Literal[ + "message", b"message", "reason", b"reason" + ], ) -> None: ... -Global___RemoveFromCache: typing_extensions.TypeAlias = RemoveFromCache +global___RemoveFromCache = RemoveFromCache diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py index 6ee79dfdc..a82430744 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.py @@ -1,24 +1,15 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/workflow_commands/workflow_commands.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder +from google.protobuf.internal import enum_type_wrapper -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/workflow_commands/workflow_commands.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -54,102 +45,506 @@ b'\n;temporal/sdk/core/workflow_commands/workflow_commands.proto\x12\x19\x63oresdk.workflow_commands\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a\x35temporal/sdk/core/child_workflow/child_workflow.proto\x1a#temporal/sdk/core/nexus/nexus.proto\x1a%temporal/sdk/core/common/common.proto"\xe5\x0f\n\x0fWorkflowCommand\x12\x38\n\ruser_metadata\x18\x64 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12<\n\x0bstart_timer\x18\x01 \x01(\x0b\x32%.coresdk.workflow_commands.StartTimerH\x00\x12H\n\x11schedule_activity\x18\x02 \x01(\x0b\x32+.coresdk.workflow_commands.ScheduleActivityH\x00\x12\x42\n\x10respond_to_query\x18\x03 \x01(\x0b\x32&.coresdk.workflow_commands.QueryResultH\x00\x12S\n\x17request_cancel_activity\x18\x04 \x01(\x0b\x32\x30.coresdk.workflow_commands.RequestCancelActivityH\x00\x12>\n\x0c\x63\x61ncel_timer\x18\x05 \x01(\x0b\x32&.coresdk.workflow_commands.CancelTimerH\x00\x12[\n\x1b\x63omplete_workflow_execution\x18\x06 \x01(\x0b\x32\x34.coresdk.workflow_commands.CompleteWorkflowExecutionH\x00\x12S\n\x17\x66\x61il_workflow_execution\x18\x07 \x01(\x0b\x32\x30.coresdk.workflow_commands.FailWorkflowExecutionH\x00\x12g\n"continue_as_new_workflow_execution\x18\x08 \x01(\x0b\x32\x39.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\x00\x12W\n\x19\x63\x61ncel_workflow_execution\x18\t \x01(\x0b\x32\x32.coresdk.workflow_commands.CancelWorkflowExecutionH\x00\x12\x45\n\x10set_patch_marker\x18\n \x01(\x0b\x32).coresdk.workflow_commands.SetPatchMarkerH\x00\x12`\n\x1estart_child_workflow_execution\x18\x0b \x01(\x0b\x32\x36.coresdk.workflow_commands.StartChildWorkflowExecutionH\x00\x12\x62\n\x1f\x63\x61ncel_child_workflow_execution\x18\x0c \x01(\x0b\x32\x37.coresdk.workflow_commands.CancelChildWorkflowExecutionH\x00\x12w\n*request_cancel_external_workflow_execution\x18\r \x01(\x0b\x32\x41.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\x00\x12h\n"signal_external_workflow_execution\x18\x0e \x01(\x0b\x32:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\x00\x12Q\n\x16\x63\x61ncel_signal_workflow\x18\x0f \x01(\x0b\x32/.coresdk.workflow_commands.CancelSignalWorkflowH\x00\x12S\n\x17schedule_local_activity\x18\x10 \x01(\x0b\x32\x30.coresdk.workflow_commands.ScheduleLocalActivityH\x00\x12^\n\x1drequest_cancel_local_activity\x18\x11 \x01(\x0b\x32\x35.coresdk.workflow_commands.RequestCancelLocalActivityH\x00\x12\x66\n!upsert_workflow_search_attributes\x18\x12 \x01(\x0b\x32\x39.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\x00\x12Y\n\x1amodify_workflow_properties\x18\x13 \x01(\x0b\x32\x33.coresdk.workflow_commands.ModifyWorkflowPropertiesH\x00\x12\x44\n\x0fupdate_response\x18\x14 \x01(\x0b\x32).coresdk.workflow_commands.UpdateResponseH\x00\x12U\n\x18schedule_nexus_operation\x18\x15 \x01(\x0b\x32\x31.coresdk.workflow_commands.ScheduleNexusOperationH\x00\x12`\n\x1erequest_cancel_nexus_operation\x18\x16 \x01(\x0b\x32\x36.coresdk.workflow_commands.RequestCancelNexusOperationH\x00\x42\t\n\x07variant"S\n\nStartTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\x1a\n\x0b\x43\x61ncelTimer\x12\x0b\n\x03seq\x18\x01 \x01(\r"\xb8\x06\n\x10ScheduleActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12I\n\x07headers\x18\x06 \x03(\x0b\x32\x38.coresdk.workflow_commands.ScheduleActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x12\x1e\n\x16\x64o_not_eagerly_execute\x18\x0e \x01(\x08\x12;\n\x11versioning_intent\x18\x0f \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\xee\x05\n\x15ScheduleLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x15\n\ractivity_type\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\r\x12:\n\x16original_schedule_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x07headers\x18\x06 \x03(\x0b\x32=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry\x12\x32\n\targuments\x18\x07 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x38\n\x15local_retry_threshold\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x11\x63\x61ncellation_type\x18\r \x01(\x0e\x32\x33.coresdk.workflow_commands.ActivityCancellationType\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"$\n\x15RequestCancelActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r")\n\x1aRequestCancelLocalActivity\x12\x0b\n\x03seq\x18\x01 \x01(\r"\x9c\x01\n\x0bQueryResult\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12<\n\tsucceeded\x18\x02 \x01(\x0b\x32\'.coresdk.workflow_commands.QuerySuccessH\x00\x12\x32\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\t\n\x07variant"A\n\x0cQuerySuccess\x12\x31\n\x08response\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"L\n\x19\x43ompleteWorkflowExecution\x12/\n\x06result\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload"J\n\x15\x46\x61ilWorkflowExecution\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure"\x92\x07\n\x1e\x43ontinueAsNewWorkflowExecution\x12\x15\n\rworkflow_type\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x32\n\targuments\x18\x03 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12Q\n\x04memo\x18\x06 \x03(\x0b\x32\x43.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry\x12W\n\x07headers\x18\x07 \x03(\x0b\x32\x46.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11versioning_intent\x18\n \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12[\n\x1binitial_versioning_behavior\x18\x0b \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"\x19\n\x17\x43\x61ncelWorkflowExecution"6\n\x0eSetPatchMarker\x12\x10\n\x08patch_id\x18\x01 \x01(\t\x12\x12\n\ndeprecated\x18\x02 \x01(\x08"\x96\t\n\x1bStartChildWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x03 \x01(\t\x12\x15\n\rworkflow_type\x18\x04 \x01(\t\x12\x12\n\ntask_queue\x18\x05 \x01(\t\x12.\n\x05input\x18\x06 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x13parent_close_policy\x18\n \x01(\x0e\x32).coresdk.child_workflow.ParentClosePolicy\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12T\n\x07headers\x18\x0f \x03(\x0b\x32\x43.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry\x12N\n\x04memo\x18\x10 \x03(\x0b\x32@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12P\n\x11\x63\x61ncellation_type\x18\x12 \x01(\x0e\x32\x35.coresdk.child_workflow.ChildWorkflowCancellationType\x12;\n\x11versioning_intent\x18\x13 \x01(\x0e\x32 .coresdk.common.VersioningIntent\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x1aL\n\tMemoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01"J\n\x1c\x43\x61ncelChildWorkflowExecution\x12\x1a\n\x12\x63hild_workflow_seq\x18\x01 \x01(\r\x12\x0e\n\x06reason\x18\x02 \x01(\t"\x8e\x01\n&RequestCancelExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12G\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t"\x8f\x03\n\x1fSignalExternalWorkflowExecution\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12I\n\x12workflow_execution\x18\x02 \x01(\x0b\x32+.coresdk.common.NamespacedWorkflowExecutionH\x00\x12\x1b\n\x11\x63hild_workflow_id\x18\x03 \x01(\tH\x00\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12-\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12X\n\x07headers\x18\x06 \x03(\x0b\x32G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry\x1aO\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\x42\x08\n\x06target"#\n\x14\x43\x61ncelSignalWorkflow\x12\x0b\n\x03seq\x18\x01 \x01(\r"e\n\x1eUpsertWorkflowSearchAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes"O\n\x18ModifyWorkflowProperties\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo"\xd2\x01\n\x0eUpdateResponse\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12*\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x08rejected\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x12\x34\n\tcompleted\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadH\x00\x42\n\n\x08response"\x9a\x04\n\x16ScheduleNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12.\n\x05input\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12X\n\x0cnexus_header\x18\x07 \x03(\x0b\x32\x42.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry\x12H\n\x11\x63\x61ncellation_type\x18\x08 \x01(\x0e\x32-.coresdk.nexus.NexusOperationCancellationType\x12<\n\x19schedule_to_start_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"*\n\x1bRequestCancelNexusOperation\x12\x0b\n\x03seq\x18\x01 \x01(\r*X\n\x18\x41\x63tivityCancellationType\x12\x0e\n\nTRY_CANCEL\x10\x00\x12\x1f\n\x1bWAIT_CANCELLATION_COMPLETED\x10\x01\x12\x0b\n\x07\x41\x42\x41NDON\x10\x02\x42\x36\xea\x02\x33Temporalio::Internal::Bridge::Api::WorkflowCommandsb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "temporal.sdk.core.workflow_commands.workflow_commands_pb2", _globals +_ACTIVITYCANCELLATIONTYPE = DESCRIPTOR.enum_types_by_name["ActivityCancellationType"] +ActivityCancellationType = enum_type_wrapper.EnumTypeWrapper(_ACTIVITYCANCELLATIONTYPE) +TRY_CANCEL = 0 +WAIT_CANCELLATION_COMPLETED = 1 +ABANDON = 2 + + +_WORKFLOWCOMMAND = DESCRIPTOR.message_types_by_name["WorkflowCommand"] +_STARTTIMER = DESCRIPTOR.message_types_by_name["StartTimer"] +_CANCELTIMER = DESCRIPTOR.message_types_by_name["CancelTimer"] +_SCHEDULEACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleActivity"] +_SCHEDULEACTIVITY_HEADERSENTRY = _SCHEDULEACTIVITY.nested_types_by_name["HeadersEntry"] +_SCHEDULELOCALACTIVITY = DESCRIPTOR.message_types_by_name["ScheduleLocalActivity"] +_SCHEDULELOCALACTIVITY_HEADERSENTRY = _SCHEDULELOCALACTIVITY.nested_types_by_name[ + "HeadersEntry" +] +_REQUESTCANCELACTIVITY = DESCRIPTOR.message_types_by_name["RequestCancelActivity"] +_REQUESTCANCELLOCALACTIVITY = DESCRIPTOR.message_types_by_name[ + "RequestCancelLocalActivity" +] +_QUERYRESULT = DESCRIPTOR.message_types_by_name["QueryResult"] +_QUERYSUCCESS = DESCRIPTOR.message_types_by_name["QuerySuccess"] +_COMPLETEWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "CompleteWorkflowExecution" +] +_FAILWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["FailWorkflowExecution"] +_CONTINUEASNEWWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "ContinueAsNewWorkflowExecution" +] +_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY = ( + _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] +) +_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY = ( + _CONTINUEASNEWWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] +) +_CANCELWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name["CancelWorkflowExecution"] +_SETPATCHMARKER = DESCRIPTOR.message_types_by_name["SetPatchMarker"] +_STARTCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "StartChildWorkflowExecution" +] +_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY = ( + _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] +) +_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY = ( + _STARTCHILDWORKFLOWEXECUTION.nested_types_by_name["MemoEntry"] +) +_CANCELCHILDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "CancelChildWorkflowExecution" +] +_REQUESTCANCELEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "RequestCancelExternalWorkflowExecution" +] +_SIGNALEXTERNALWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[ + "SignalExternalWorkflowExecution" +] +_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY = ( + _SIGNALEXTERNALWORKFLOWEXECUTION.nested_types_by_name["HeadersEntry"] +) +_CANCELSIGNALWORKFLOW = DESCRIPTOR.message_types_by_name["CancelSignalWorkflow"] +_UPSERTWORKFLOWSEARCHATTRIBUTES = DESCRIPTOR.message_types_by_name[ + "UpsertWorkflowSearchAttributes" +] +_MODIFYWORKFLOWPROPERTIES = DESCRIPTOR.message_types_by_name["ModifyWorkflowProperties"] +_UPDATERESPONSE = DESCRIPTOR.message_types_by_name["UpdateResponse"] +_SCHEDULENEXUSOPERATION = DESCRIPTOR.message_types_by_name["ScheduleNexusOperation"] +_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY = _SCHEDULENEXUSOPERATION.nested_types_by_name[ + "NexusHeaderEntry" +] +_REQUESTCANCELNEXUSOPERATION = DESCRIPTOR.message_types_by_name[ + "RequestCancelNexusOperation" +] +WorkflowCommand = _reflection.GeneratedProtocolMessageType( + "WorkflowCommand", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWCOMMAND, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.WorkflowCommand) + }, +) +_sym_db.RegisterMessage(WorkflowCommand) + +StartTimer = _reflection.GeneratedProtocolMessageType( + "StartTimer", + (_message.Message,), + { + "DESCRIPTOR": _STARTTIMER, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartTimer) + }, +) +_sym_db.RegisterMessage(StartTimer) + +CancelTimer = _reflection.GeneratedProtocolMessageType( + "CancelTimer", + (_message.Message,), + { + "DESCRIPTOR": _CANCELTIMER, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelTimer) + }, +) +_sym_db.RegisterMessage(CancelTimer) + +ScheduleActivity = _reflection.GeneratedProtocolMessageType( + "ScheduleActivity", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULEACTIVITY_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity.HeadersEntry) + }, + ), + "DESCRIPTOR": _SCHEDULEACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleActivity) + }, +) +_sym_db.RegisterMessage(ScheduleActivity) +_sym_db.RegisterMessage(ScheduleActivity.HeadersEntry) + +ScheduleLocalActivity = _reflection.GeneratedProtocolMessageType( + "ScheduleLocalActivity", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULELOCALACTIVITY_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry) + }, + ), + "DESCRIPTOR": _SCHEDULELOCALACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleLocalActivity) + }, +) +_sym_db.RegisterMessage(ScheduleLocalActivity) +_sym_db.RegisterMessage(ScheduleLocalActivity.HeadersEntry) + +RequestCancelActivity = _reflection.GeneratedProtocolMessageType( + "RequestCancelActivity", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelActivity) + }, +) +_sym_db.RegisterMessage(RequestCancelActivity) + +RequestCancelLocalActivity = _reflection.GeneratedProtocolMessageType( + "RequestCancelLocalActivity", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELLOCALACTIVITY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelLocalActivity) + }, +) +_sym_db.RegisterMessage(RequestCancelLocalActivity) + +QueryResult = _reflection.GeneratedProtocolMessageType( + "QueryResult", + (_message.Message,), + { + "DESCRIPTOR": _QUERYRESULT, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QueryResult) + }, +) +_sym_db.RegisterMessage(QueryResult) + +QuerySuccess = _reflection.GeneratedProtocolMessageType( + "QuerySuccess", + (_message.Message,), + { + "DESCRIPTOR": _QUERYSUCCESS, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.QuerySuccess) + }, +) +_sym_db.RegisterMessage(QuerySuccess) + +CompleteWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "CompleteWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _COMPLETEWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CompleteWorkflowExecution) + }, +) +_sym_db.RegisterMessage(CompleteWorkflowExecution) + +FailWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "FailWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _FAILWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.FailWorkflowExecution) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = ( +_sym_db.RegisterMessage(FailWorkflowExecution) + +ContinueAsNewWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "ContinueAsNewWorkflowExecution", + (_message.Message,), + { + "MemoEntry": _reflection.GeneratedProtocolMessageType( + "MemoEntry", + (_message.Message,), + { + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry) + }, + ), + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry) + }, + ), + "DESCRIPTOR": _CONTINUEASNEWWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ContinueAsNewWorkflowExecution) + }, +) +_sym_db.RegisterMessage(ContinueAsNewWorkflowExecution) +_sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.MemoEntry) +_sym_db.RegisterMessage(ContinueAsNewWorkflowExecution.HeadersEntry) + +CancelWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "CancelWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _CANCELWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelWorkflowExecution) + }, +) +_sym_db.RegisterMessage(CancelWorkflowExecution) + +SetPatchMarker = _reflection.GeneratedProtocolMessageType( + "SetPatchMarker", + (_message.Message,), + { + "DESCRIPTOR": _SETPATCHMARKER, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SetPatchMarker) + }, +) +_sym_db.RegisterMessage(SetPatchMarker) + +StartChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "StartChildWorkflowExecution", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry) + }, + ), + "MemoEntry": _reflection.GeneratedProtocolMessageType( + "MemoEntry", + (_message.Message,), + { + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry) + }, + ), + "DESCRIPTOR": _STARTCHILDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.StartChildWorkflowExecution) + }, +) +_sym_db.RegisterMessage(StartChildWorkflowExecution) +_sym_db.RegisterMessage(StartChildWorkflowExecution.HeadersEntry) +_sym_db.RegisterMessage(StartChildWorkflowExecution.MemoEntry) + +CancelChildWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "CancelChildWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _CANCELCHILDWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelChildWorkflowExecution) + }, +) +_sym_db.RegisterMessage(CancelChildWorkflowExecution) + +RequestCancelExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "RequestCancelExternalWorkflowExecution", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELEXTERNALWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelExternalWorkflowExecution) + }, +) +_sym_db.RegisterMessage(RequestCancelExternalWorkflowExecution) + +SignalExternalWorkflowExecution = _reflection.GeneratedProtocolMessageType( + "SignalExternalWorkflowExecution", + (_message.Message,), + { + "HeadersEntry": _reflection.GeneratedProtocolMessageType( + "HeadersEntry", + (_message.Message,), + { + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry) + }, + ), + "DESCRIPTOR": _SIGNALEXTERNALWORKFLOWEXECUTION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.SignalExternalWorkflowExecution) + }, +) +_sym_db.RegisterMessage(SignalExternalWorkflowExecution) +_sym_db.RegisterMessage(SignalExternalWorkflowExecution.HeadersEntry) + +CancelSignalWorkflow = _reflection.GeneratedProtocolMessageType( + "CancelSignalWorkflow", + (_message.Message,), + { + "DESCRIPTOR": _CANCELSIGNALWORKFLOW, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.CancelSignalWorkflow) + }, +) +_sym_db.RegisterMessage(CancelSignalWorkflow) + +UpsertWorkflowSearchAttributes = _reflection.GeneratedProtocolMessageType( + "UpsertWorkflowSearchAttributes", + (_message.Message,), + { + "DESCRIPTOR": _UPSERTWORKFLOWSEARCHATTRIBUTES, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpsertWorkflowSearchAttributes) + }, +) +_sym_db.RegisterMessage(UpsertWorkflowSearchAttributes) + +ModifyWorkflowProperties = _reflection.GeneratedProtocolMessageType( + "ModifyWorkflowProperties", + (_message.Message,), + { + "DESCRIPTOR": _MODIFYWORKFLOWPROPERTIES, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ModifyWorkflowProperties) + }, +) +_sym_db.RegisterMessage(ModifyWorkflowProperties) + +UpdateResponse = _reflection.GeneratedProtocolMessageType( + "UpdateResponse", + (_message.Message,), + { + "DESCRIPTOR": _UPDATERESPONSE, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.UpdateResponse) + }, +) +_sym_db.RegisterMessage(UpdateResponse) + +ScheduleNexusOperation = _reflection.GeneratedProtocolMessageType( + "ScheduleNexusOperation", + (_message.Message,), + { + "NexusHeaderEntry": _reflection.GeneratedProtocolMessageType( + "NexusHeaderEntry", + (_message.Message,), + { + "DESCRIPTOR": _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry) + }, + ), + "DESCRIPTOR": _SCHEDULENEXUSOPERATION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.ScheduleNexusOperation) + }, +) +_sym_db.RegisterMessage(ScheduleNexusOperation) +_sym_db.RegisterMessage(ScheduleNexusOperation.NexusHeaderEntry) + +RequestCancelNexusOperation = _reflection.GeneratedProtocolMessageType( + "RequestCancelNexusOperation", + (_message.Message,), + { + "DESCRIPTOR": _REQUESTCANCELNEXUSOPERATION, + "__module__": "temporal.sdk.core.workflow_commands.workflow_commands_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_commands.RequestCancelNexusOperation) + }, +) +_sym_db.RegisterMessage(RequestCancelNexusOperation) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"\352\0023Temporalio::Internal::Bridge::Api::WorkflowCommands" ) - _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._loaded_options = None - _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._loaded_options = None - _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._loaded_options = None - _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._serialized_options = b"8\001" - _globals["_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY"]._loaded_options = None - _globals[ - "_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY" - ]._serialized_options = b"8\001" - _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._loaded_options = None - _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_options = b"8\001" - _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._loaded_options = None - _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._serialized_options = b"8\001" - _globals["_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY"]._loaded_options = None - _globals[ - "_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY" - ]._serialized_options = b"8\001" - _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._loaded_options = None - _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._serialized_options = b"8\001" - _globals["_ACTIVITYCANCELLATIONTYPE"]._serialized_start = 8468 - _globals["_ACTIVITYCANCELLATIONTYPE"]._serialized_end = 8556 - _globals["_WORKFLOWCOMMAND"]._serialized_start = 472 - _globals["_WORKFLOWCOMMAND"]._serialized_end = 2493 - _globals["_STARTTIMER"]._serialized_start = 2495 - _globals["_STARTTIMER"]._serialized_end = 2578 - _globals["_CANCELTIMER"]._serialized_start = 2580 - _globals["_CANCELTIMER"]._serialized_end = 2606 - _globals["_SCHEDULEACTIVITY"]._serialized_start = 2609 - _globals["_SCHEDULEACTIVITY"]._serialized_end = 3433 - _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._serialized_start = 3354 - _globals["_SCHEDULEACTIVITY_HEADERSENTRY"]._serialized_end = 3433 - _globals["_SCHEDULELOCALACTIVITY"]._serialized_start = 3436 - _globals["_SCHEDULELOCALACTIVITY"]._serialized_end = 4186 - _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._serialized_start = 3354 - _globals["_SCHEDULELOCALACTIVITY_HEADERSENTRY"]._serialized_end = 3433 - _globals["_REQUESTCANCELACTIVITY"]._serialized_start = 4188 - _globals["_REQUESTCANCELACTIVITY"]._serialized_end = 4224 - _globals["_REQUESTCANCELLOCALACTIVITY"]._serialized_start = 4226 - _globals["_REQUESTCANCELLOCALACTIVITY"]._serialized_end = 4267 - _globals["_QUERYRESULT"]._serialized_start = 4270 - _globals["_QUERYRESULT"]._serialized_end = 4426 - _globals["_QUERYSUCCESS"]._serialized_start = 4428 - _globals["_QUERYSUCCESS"]._serialized_end = 4493 - _globals["_COMPLETEWORKFLOWEXECUTION"]._serialized_start = 4495 - _globals["_COMPLETEWORKFLOWEXECUTION"]._serialized_end = 4571 - _globals["_FAILWORKFLOWEXECUTION"]._serialized_start = 4573 - _globals["_FAILWORKFLOWEXECUTION"]._serialized_end = 4647 - _globals["_CONTINUEASNEWWORKFLOWEXECUTION"]._serialized_start = 4650 - _globals["_CONTINUEASNEWWORKFLOWEXECUTION"]._serialized_end = 5564 - _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._serialized_start = 5407 - _globals["_CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY"]._serialized_end = 5483 - _globals["_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_start = 3354 - _globals["_CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_end = 3433 - _globals["_CANCELWORKFLOWEXECUTION"]._serialized_start = 5566 - _globals["_CANCELWORKFLOWEXECUTION"]._serialized_end = 5591 - _globals["_SETPATCHMARKER"]._serialized_start = 5593 - _globals["_SETPATCHMARKER"]._serialized_end = 5647 - _globals["_STARTCHILDWORKFLOWEXECUTION"]._serialized_start = 5650 - _globals["_STARTCHILDWORKFLOWEXECUTION"]._serialized_end = 6824 - _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_start = 3354 - _globals["_STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_end = 3433 - _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._serialized_start = 5407 - _globals["_STARTCHILDWORKFLOWEXECUTION_MEMOENTRY"]._serialized_end = 5483 - _globals["_CANCELCHILDWORKFLOWEXECUTION"]._serialized_start = 6826 - _globals["_CANCELCHILDWORKFLOWEXECUTION"]._serialized_end = 6900 - _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTION"]._serialized_start = 6903 - _globals["_REQUESTCANCELEXTERNALWORKFLOWEXECUTION"]._serialized_end = 7045 - _globals["_SIGNALEXTERNALWORKFLOWEXECUTION"]._serialized_start = 7048 - _globals["_SIGNALEXTERNALWORKFLOWEXECUTION"]._serialized_end = 7447 - _globals["_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_start = 3354 - _globals["_SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY"]._serialized_end = 3433 - _globals["_CANCELSIGNALWORKFLOW"]._serialized_start = 7449 - _globals["_CANCELSIGNALWORKFLOW"]._serialized_end = 7484 - _globals["_UPSERTWORKFLOWSEARCHATTRIBUTES"]._serialized_start = 7486 - _globals["_UPSERTWORKFLOWSEARCHATTRIBUTES"]._serialized_end = 7587 - _globals["_MODIFYWORKFLOWPROPERTIES"]._serialized_start = 7589 - _globals["_MODIFYWORKFLOWPROPERTIES"]._serialized_end = 7668 - _globals["_UPDATERESPONSE"]._serialized_start = 7671 - _globals["_UPDATERESPONSE"]._serialized_end = 7881 - _globals["_SCHEDULENEXUSOPERATION"]._serialized_start = 7884 - _globals["_SCHEDULENEXUSOPERATION"]._serialized_end = 8422 - _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._serialized_start = 8372 - _globals["_SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY"]._serialized_end = 8422 - _globals["_REQUESTCANCELNEXUSOPERATION"]._serialized_start = 8424 - _globals["_REQUESTCANCELNEXUSOPERATION"]._serialized_end = 8466 + _SCHEDULEACTIVITY_HEADERSENTRY._options = None + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_options = b"8\001" + _SCHEDULELOCALACTIVITY_HEADERSENTRY._options = None + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_options = b"8\001" + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._options = None + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._options = None + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_options = b"8\001" + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._options = None + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_options = b"8\001" + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._options = None + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_options = b"8\001" + _ACTIVITYCANCELLATIONTYPE._serialized_start = 8468 + _ACTIVITYCANCELLATIONTYPE._serialized_end = 8556 + _WORKFLOWCOMMAND._serialized_start = 472 + _WORKFLOWCOMMAND._serialized_end = 2493 + _STARTTIMER._serialized_start = 2495 + _STARTTIMER._serialized_end = 2578 + _CANCELTIMER._serialized_start = 2580 + _CANCELTIMER._serialized_end = 2606 + _SCHEDULEACTIVITY._serialized_start = 2609 + _SCHEDULEACTIVITY._serialized_end = 3433 + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_start = 3354 + _SCHEDULEACTIVITY_HEADERSENTRY._serialized_end = 3433 + _SCHEDULELOCALACTIVITY._serialized_start = 3436 + _SCHEDULELOCALACTIVITY._serialized_end = 4186 + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_start = 3354 + _SCHEDULELOCALACTIVITY_HEADERSENTRY._serialized_end = 3433 + _REQUESTCANCELACTIVITY._serialized_start = 4188 + _REQUESTCANCELACTIVITY._serialized_end = 4224 + _REQUESTCANCELLOCALACTIVITY._serialized_start = 4226 + _REQUESTCANCELLOCALACTIVITY._serialized_end = 4267 + _QUERYRESULT._serialized_start = 4270 + _QUERYRESULT._serialized_end = 4426 + _QUERYSUCCESS._serialized_start = 4428 + _QUERYSUCCESS._serialized_end = 4493 + _COMPLETEWORKFLOWEXECUTION._serialized_start = 4495 + _COMPLETEWORKFLOWEXECUTION._serialized_end = 4571 + _FAILWORKFLOWEXECUTION._serialized_start = 4573 + _FAILWORKFLOWEXECUTION._serialized_end = 4647 + _CONTINUEASNEWWORKFLOWEXECUTION._serialized_start = 4650 + _CONTINUEASNEWWORKFLOWEXECUTION._serialized_end = 5564 + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5407 + _CONTINUEASNEWWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5483 + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 + _CONTINUEASNEWWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 + _CANCELWORKFLOWEXECUTION._serialized_start = 5566 + _CANCELWORKFLOWEXECUTION._serialized_end = 5591 + _SETPATCHMARKER._serialized_start = 5593 + _SETPATCHMARKER._serialized_end = 5647 + _STARTCHILDWORKFLOWEXECUTION._serialized_start = 5650 + _STARTCHILDWORKFLOWEXECUTION._serialized_end = 6824 + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 + _STARTCHILDWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_start = 5407 + _STARTCHILDWORKFLOWEXECUTION_MEMOENTRY._serialized_end = 5483 + _CANCELCHILDWORKFLOWEXECUTION._serialized_start = 6826 + _CANCELCHILDWORKFLOWEXECUTION._serialized_end = 6900 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_start = 6903 + _REQUESTCANCELEXTERNALWORKFLOWEXECUTION._serialized_end = 7045 + _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_start = 7048 + _SIGNALEXTERNALWORKFLOWEXECUTION._serialized_end = 7447 + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_start = 3354 + _SIGNALEXTERNALWORKFLOWEXECUTION_HEADERSENTRY._serialized_end = 3433 + _CANCELSIGNALWORKFLOW._serialized_start = 7449 + _CANCELSIGNALWORKFLOW._serialized_end = 7484 + _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_start = 7486 + _UPSERTWORKFLOWSEARCHATTRIBUTES._serialized_end = 7587 + _MODIFYWORKFLOWPROPERTIES._serialized_start = 7589 + _MODIFYWORKFLOWPROPERTIES._serialized_end = 7668 + _UPDATERESPONSE._serialized_start = 7671 + _UPDATERESPONSE._serialized_end = 7881 + _SCHEDULENEXUSOPERATION._serialized_start = 7884 + _SCHEDULENEXUSOPERATION._serialized_end = 8422 + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_start = 8372 + _SCHEDULENEXUSOPERATION_NEXUSHEADERENTRY._serialized_end = 8422 + _REQUESTCANCELNEXUSOPERATION._serialized_start = 8424 + _REQUESTCANCELNEXUSOPERATION._serialized_end = 8466 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi index 5c33943e9..3860809b9 100644 --- a/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi +++ b/temporalio/bridge/proto/workflow_commands/workflow_commands_pb2.pyi @@ -44,7 +44,7 @@ class _ActivityCancellationTypeEnumTypeWrapper( _ActivityCancellationType.ValueType ], builtins.type, -): +): # noqa: F821 DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor TRY_CANCEL: _ActivityCancellationType.ValueType # 0 """Initiate a cancellation request and immediately report cancellation to the workflow.""" @@ -73,11 +73,8 @@ ABANDON: ActivityCancellationType.ValueType # 2 """Do not request cancellation of the activity and immediately report cancellation to the workflow """ -Global___ActivityCancellationType: typing_extensions.TypeAlias = ( - ActivityCancellationType -) +global___ActivityCancellationType = ActivityCancellationType -@typing.final class WorkflowCommand(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -110,103 +107,102 @@ class WorkflowCommand(google.protobuf.message.Message): Lang layers are expected to expose the setting of the internals of this metadata on a per-command basis where applicable. """ - @property - def start_timer(self) -> Global___StartTimer: ... + def start_timer(self) -> global___StartTimer: ... @property - def schedule_activity(self) -> Global___ScheduleActivity: ... + def schedule_activity(self) -> global___ScheduleActivity: ... @property - def respond_to_query(self) -> Global___QueryResult: ... + def respond_to_query(self) -> global___QueryResult: ... @property - def request_cancel_activity(self) -> Global___RequestCancelActivity: ... + def request_cancel_activity(self) -> global___RequestCancelActivity: ... @property - def cancel_timer(self) -> Global___CancelTimer: ... + def cancel_timer(self) -> global___CancelTimer: ... @property - def complete_workflow_execution(self) -> Global___CompleteWorkflowExecution: ... + def complete_workflow_execution(self) -> global___CompleteWorkflowExecution: ... @property - def fail_workflow_execution(self) -> Global___FailWorkflowExecution: ... + def fail_workflow_execution(self) -> global___FailWorkflowExecution: ... @property def continue_as_new_workflow_execution( self, - ) -> Global___ContinueAsNewWorkflowExecution: ... + ) -> global___ContinueAsNewWorkflowExecution: ... @property - def cancel_workflow_execution(self) -> Global___CancelWorkflowExecution: ... + def cancel_workflow_execution(self) -> global___CancelWorkflowExecution: ... @property - def set_patch_marker(self) -> Global___SetPatchMarker: ... + def set_patch_marker(self) -> global___SetPatchMarker: ... @property def start_child_workflow_execution( self, - ) -> Global___StartChildWorkflowExecution: ... + ) -> global___StartChildWorkflowExecution: ... @property def cancel_child_workflow_execution( self, - ) -> Global___CancelChildWorkflowExecution: ... + ) -> global___CancelChildWorkflowExecution: ... @property def request_cancel_external_workflow_execution( self, - ) -> Global___RequestCancelExternalWorkflowExecution: ... + ) -> global___RequestCancelExternalWorkflowExecution: ... @property def signal_external_workflow_execution( self, - ) -> Global___SignalExternalWorkflowExecution: ... + ) -> global___SignalExternalWorkflowExecution: ... @property - def cancel_signal_workflow(self) -> Global___CancelSignalWorkflow: ... + def cancel_signal_workflow(self) -> global___CancelSignalWorkflow: ... @property - def schedule_local_activity(self) -> Global___ScheduleLocalActivity: ... + def schedule_local_activity(self) -> global___ScheduleLocalActivity: ... @property - def request_cancel_local_activity(self) -> Global___RequestCancelLocalActivity: ... + def request_cancel_local_activity(self) -> global___RequestCancelLocalActivity: ... @property def upsert_workflow_search_attributes( self, - ) -> Global___UpsertWorkflowSearchAttributes: ... + ) -> global___UpsertWorkflowSearchAttributes: ... @property - def modify_workflow_properties(self) -> Global___ModifyWorkflowProperties: ... + def modify_workflow_properties(self) -> global___ModifyWorkflowProperties: ... @property - def update_response(self) -> Global___UpdateResponse: ... + def update_response(self) -> global___UpdateResponse: ... @property - def schedule_nexus_operation(self) -> Global___ScheduleNexusOperation: ... + def schedule_nexus_operation(self) -> global___ScheduleNexusOperation: ... @property def request_cancel_nexus_operation( self, - ) -> Global___RequestCancelNexusOperation: ... + ) -> global___RequestCancelNexusOperation: ... def __init__( self, *, user_metadata: temporalio.api.sdk.v1.user_metadata_pb2.UserMetadata | None = ..., - start_timer: Global___StartTimer | None = ..., - schedule_activity: Global___ScheduleActivity | None = ..., - respond_to_query: Global___QueryResult | None = ..., - request_cancel_activity: Global___RequestCancelActivity | None = ..., - cancel_timer: Global___CancelTimer | None = ..., - complete_workflow_execution: Global___CompleteWorkflowExecution | None = ..., - fail_workflow_execution: Global___FailWorkflowExecution | None = ..., - continue_as_new_workflow_execution: Global___ContinueAsNewWorkflowExecution + start_timer: global___StartTimer | None = ..., + schedule_activity: global___ScheduleActivity | None = ..., + respond_to_query: global___QueryResult | None = ..., + request_cancel_activity: global___RequestCancelActivity | None = ..., + cancel_timer: global___CancelTimer | None = ..., + complete_workflow_execution: global___CompleteWorkflowExecution | None = ..., + fail_workflow_execution: global___FailWorkflowExecution | None = ..., + continue_as_new_workflow_execution: global___ContinueAsNewWorkflowExecution | None = ..., - cancel_workflow_execution: Global___CancelWorkflowExecution | None = ..., - set_patch_marker: Global___SetPatchMarker | None = ..., - start_child_workflow_execution: Global___StartChildWorkflowExecution + cancel_workflow_execution: global___CancelWorkflowExecution | None = ..., + set_patch_marker: global___SetPatchMarker | None = ..., + start_child_workflow_execution: global___StartChildWorkflowExecution | None = ..., - cancel_child_workflow_execution: Global___CancelChildWorkflowExecution + cancel_child_workflow_execution: global___CancelChildWorkflowExecution | None = ..., - request_cancel_external_workflow_execution: Global___RequestCancelExternalWorkflowExecution + request_cancel_external_workflow_execution: global___RequestCancelExternalWorkflowExecution | None = ..., - signal_external_workflow_execution: Global___SignalExternalWorkflowExecution + signal_external_workflow_execution: global___SignalExternalWorkflowExecution | None = ..., - cancel_signal_workflow: Global___CancelSignalWorkflow | None = ..., - schedule_local_activity: Global___ScheduleLocalActivity | None = ..., - request_cancel_local_activity: Global___RequestCancelLocalActivity | None = ..., - upsert_workflow_search_attributes: Global___UpsertWorkflowSearchAttributes + cancel_signal_workflow: global___CancelSignalWorkflow | None = ..., + schedule_local_activity: global___ScheduleLocalActivity | None = ..., + request_cancel_local_activity: global___RequestCancelLocalActivity | None = ..., + upsert_workflow_search_attributes: global___UpsertWorkflowSearchAttributes | None = ..., - modify_workflow_properties: Global___ModifyWorkflowProperties | None = ..., - update_response: Global___UpdateResponse | None = ..., - schedule_nexus_operation: Global___ScheduleNexusOperation | None = ..., - request_cancel_nexus_operation: Global___RequestCancelNexusOperation + modify_workflow_properties: global___ModifyWorkflowProperties | None = ..., + update_response: global___UpdateResponse | None = ..., + schedule_nexus_operation: global___ScheduleNexusOperation | None = ..., + request_cancel_nexus_operation: global___RequestCancelNexusOperation | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", @@ -259,7 +255,7 @@ class WorkflowCommand(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancel_child_workflow_execution", b"cancel_child_workflow_execution", "cancel_signal_workflow", @@ -311,9 +307,9 @@ class WorkflowCommand(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] + self, oneof_group: typing_extensions.Literal["variant", b"variant"] ) -> ( - typing.Literal[ + typing_extensions.Literal[ "start_timer", "schedule_activity", "respond_to_query", @@ -340,9 +336,8 @@ class WorkflowCommand(google.protobuf.message.Message): | None ): ... -Global___WorkflowCommand: typing_extensions.TypeAlias = WorkflowCommand +global___WorkflowCommand = WorkflowCommand -@typing.final class StartTimer(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -360,18 +355,19 @@ class StartTimer(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal["start_to_fire_timeout", b"start_to_fire_timeout"], + field_name: typing_extensions.Literal[ + "start_to_fire_timeout", b"start_to_fire_timeout" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "seq", b"seq", "start_to_fire_timeout", b"start_to_fire_timeout" ], ) -> None: ... -Global___StartTimer: typing_extensions.TypeAlias = StartTimer +global___StartTimer = StartTimer -@typing.final class CancelTimer(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -383,15 +379,15 @@ class CancelTimer(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... -Global___CancelTimer: typing_extensions.TypeAlias = CancelTimer +global___CancelTimer = CancelTimer -@typing.final class ScheduleActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -407,10 +403,11 @@ class ScheduleActivity(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -434,17 +431,6 @@ class ScheduleActivity(google.protobuf.message.Message): activity_type: builtins.str task_queue: builtins.str """The name of the task queue to place this activity request in""" - cancellation_type: Global___ActivityCancellationType.ValueType - """Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed""" - do_not_eagerly_execute: builtins.bool - """If set, the worker will not tell the service that it can immediately start executing this - activity. When unset/default, workers will always attempt to do so if activity execution - slots are available. - """ - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) - """Whether this activity should run on a worker with a compatible build id or not.""" @property def headers( self, @@ -458,42 +444,46 @@ class ScheduleActivity(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments/input to the activity. Called "input" upstream.""" - @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or start_to_close_timeout_seconds must be specified. When not specified defaults to the workflow execution timeout. """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable as all a retry would achieve is to put it back into the same queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified. """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time an activity is allowed to execute after a pick up by a worker. This timeout is always retryable. Either this or schedule_to_close_timeout must be specified. """ - @property def heartbeat_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time allowed between successful worker heartbeats.""" - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Activities are provided by a default retry policy controlled through the service dynamic configuration. Retries are happening up to schedule_to_close_timeout. To disable retries set retry_policy.maximum_attempts to 1. """ - + cancellation_type: global___ActivityCancellationType.ValueType + """Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed""" + do_not_eagerly_execute: builtins.bool + """If set, the worker will not tell the service that it can immediately start executing this + activity. When unset/default, workers will always attempt to do so if activity execution + slots are available. + """ + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) + """Whether this activity should run on a worker with a compatible build id or not.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """The Priority to use for this activity""" - def __init__( self, *, @@ -514,14 +504,14 @@ class ScheduleActivity(google.protobuf.message.Message): start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., heartbeat_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., - cancellation_type: Global___ActivityCancellationType.ValueType = ..., + cancellation_type: global___ActivityCancellationType.ValueType = ..., do_not_eagerly_execute: builtins.bool = ..., versioning_intent: temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType = ..., priority: temporalio.api.common.v1.message_pb2.Priority | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "heartbeat_timeout", b"heartbeat_timeout", "priority", @@ -538,7 +528,7 @@ class ScheduleActivity(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -572,13 +562,11 @@ class ScheduleActivity(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleActivity: typing_extensions.TypeAlias = ScheduleActivity +global___ScheduleActivity = ScheduleActivity -@typing.final class ScheduleLocalActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -594,10 +582,11 @@ class ScheduleLocalActivity(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -622,17 +611,11 @@ class ScheduleLocalActivity(google.protobuf.message.Message): a timer before retrying. It should pass the attempt number from a `DoBackoff` activity resolution. """ - cancellation_type: Global___ActivityCancellationType.ValueType - """Defines how the workflow will wait (or not) for cancellation of the activity to be - confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto - will default to `TRY_CANCEL` automatically. - """ @property def original_schedule_time(self) -> google.protobuf.timestamp_pb2.Timestamp: """If this local activity is a retry (as per the attempt field) this needs to be the original scheduling time (as provided in `DoBackoff`) """ - @property def headers( self, @@ -646,14 +629,12 @@ class ScheduleLocalActivity(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments/input to the activity.""" - @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Indicates how long the caller is willing to wait for local activity completion. Limits how long retries will be attempted. When not specified defaults to the workflow execution timeout (which may be unset). """ - @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Limits time the local activity can idle internally before being executed. That can happen if @@ -662,7 +643,6 @@ class ScheduleLocalActivity(google.protobuf.message.Message): to `schedule_to_close_timeout` if not specified and that is set. Must be <= `schedule_to_close_timeout` when set, otherwise, it will be clamped down. """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Maximum time the local activity is allowed to execute after the task is dispatched. This @@ -670,20 +650,22 @@ class ScheduleLocalActivity(google.protobuf.message.Message): specified. If set, this must be <= `schedule_to_close_timeout`, otherwise, it will be clamped down. """ - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """Specify a retry policy for the local activity. By default local activities will be retried indefinitely. """ - @property def local_retry_threshold(self) -> google.protobuf.duration_pb2.Duration: """If the activity is retrying and backoff would exceed this value, lang will be told to schedule a timer and retry the activity after. Otherwise, backoff will happen internally in core. Defaults to 1 minute. """ - + cancellation_type: global___ActivityCancellationType.ValueType + """Defines how the workflow will wait (or not) for cancellation of the activity to be + confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto + will default to `TRY_CANCEL` automatically. + """ def __init__( self, *, @@ -705,11 +687,11 @@ class ScheduleLocalActivity(google.protobuf.message.Message): start_to_close_timeout: google.protobuf.duration_pb2.Duration | None = ..., retry_policy: temporalio.api.common.v1.message_pb2.RetryPolicy | None = ..., local_retry_threshold: google.protobuf.duration_pb2.Duration | None = ..., - cancellation_type: Global___ActivityCancellationType.ValueType = ..., + cancellation_type: global___ActivityCancellationType.ValueType = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "local_retry_threshold", b"local_retry_threshold", "original_schedule_time", @@ -726,7 +708,7 @@ class ScheduleLocalActivity(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "activity_id", b"activity_id", "activity_type", @@ -756,9 +738,8 @@ class ScheduleLocalActivity(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleLocalActivity: typing_extensions.TypeAlias = ScheduleLocalActivity +global___ScheduleLocalActivity = ScheduleLocalActivity -@typing.final class RequestCancelActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -770,11 +751,12 @@ class RequestCancelActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... -Global___RequestCancelActivity: typing_extensions.TypeAlias = RequestCancelActivity +global___RequestCancelActivity = RequestCancelActivity -@typing.final class RequestCancelLocalActivity(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -786,13 +768,12 @@ class RequestCancelLocalActivity(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... -Global___RequestCancelLocalActivity: typing_extensions.TypeAlias = ( - RequestCancelLocalActivity -) +global___RequestCancelLocalActivity = RequestCancelLocalActivity -@typing.final class QueryResult(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -802,25 +783,25 @@ class QueryResult(google.protobuf.message.Message): query_id: builtins.str """Corresponds to the id provided in the activation job""" @property - def succeeded(self) -> Global___QuerySuccess: ... + def succeeded(self) -> global___QuerySuccess: ... @property def failed(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... def __init__( self, *, query_id: builtins.str = ..., - succeeded: Global___QuerySuccess | None = ..., + succeeded: global___QuerySuccess | None = ..., failed: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failed", b"failed", "succeeded", b"succeeded", "variant", b"variant" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failed", b"failed", "query_id", @@ -832,12 +813,11 @@ class QueryResult(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["variant", b"variant"] - ) -> typing.Literal["succeeded", "failed"] | None: ... + self, oneof_group: typing_extensions.Literal["variant", b"variant"] + ) -> typing_extensions.Literal["succeeded", "failed"] | None: ... -Global___QueryResult: typing_extensions.TypeAlias = QueryResult +global___QueryResult = QueryResult -@typing.final class QuerySuccess(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -850,15 +830,14 @@ class QuerySuccess(google.protobuf.message.Message): response: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["response", b"response"] + self, field_name: typing_extensions.Literal["response", b"response"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["response", b"response"] + self, field_name: typing_extensions.Literal["response", b"response"] ) -> None: ... -Global___QuerySuccess: typing_extensions.TypeAlias = QuerySuccess +global___QuerySuccess = QuerySuccess -@typing.final class CompleteWorkflowExecution(google.protobuf.message.Message): """Issued when the workflow completes successfully""" @@ -873,15 +852,14 @@ class CompleteWorkflowExecution(google.protobuf.message.Message): result: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["result", b"result"] + self, field_name: typing_extensions.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["result", b"result"] + ) -> None: ... -Global___CompleteWorkflowExecution: typing_extensions.TypeAlias = ( - CompleteWorkflowExecution -) +global___CompleteWorkflowExecution = CompleteWorkflowExecution -@typing.final class FailWorkflowExecution(google.protobuf.message.Message): """Issued when the workflow errors out""" @@ -896,19 +874,19 @@ class FailWorkflowExecution(google.protobuf.message.Message): failure: temporalio.api.failure.v1.message_pb2.Failure | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... - def ClearField(self, field_name: typing.Literal["failure", b"failure"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["failure", b"failure"] + ) -> None: ... -Global___FailWorkflowExecution: typing_extensions.TypeAlias = FailWorkflowExecution +global___FailWorkflowExecution = FailWorkflowExecution -@typing.final class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """Continue the workflow as a new execution""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class MemoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -924,13 +902,13 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -946,10 +924,11 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... WORKFLOW_TYPE_FIELD_NUMBER: builtins.int @@ -968,17 +947,6 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """The identifier the lang-specific sdk uses to execute workflow code""" task_queue: builtins.str """Task queue for the new workflow execution""" - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) - """Whether the continued workflow should run on a worker with a compatible build id or not.""" - initial_versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType - ) - """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. - For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version - of the previous run. - """ @property def arguments( self, @@ -988,15 +956,12 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that typically wouldn't make any sense. """ - @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout for a single run of the new workflow. Will not re-use current workflow's value.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task. Will not re-use current workflow's value.""" - @property def memo( self, @@ -1004,7 +969,6 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo""" - @property def headers( self, @@ -1014,7 +978,6 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """If set, the new workflow will have these headers. Will *not* re-use current workflow's headers otherwise. """ - @property def search_attributes( self, @@ -1022,17 +985,25 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): """If set, the new workflow will have these search attributes. If unset, re-uses the current workflow's search attributes. """ - @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: """If set, the new workflow will have this retry policy. If unset, re-uses the current workflow's retry policy. """ - + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) + """Whether the continued workflow should run on a worker with a compatible build id or not.""" + initial_versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.ContinueAsNewVersioningBehavior.ValueType + ) + """Experimental. Optionally decide the versioning behavior that the first task of the new run should use. + For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version + of the previous run. + """ @property def backoff_start_interval(self) -> google.protobuf.duration_pb2.Duration: """Delay before the first workflow task of the continued run is scheduled.""" - def __init__( self, *, @@ -1061,7 +1032,7 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "backoff_start_interval", b"backoff_start_interval", "retry_policy", @@ -1076,7 +1047,7 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "arguments", b"arguments", "backoff_start_interval", @@ -1104,11 +1075,8 @@ class ContinueAsNewWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -Global___ContinueAsNewWorkflowExecution: typing_extensions.TypeAlias = ( - ContinueAsNewWorkflowExecution -) +global___ContinueAsNewWorkflowExecution = ContinueAsNewWorkflowExecution -@typing.final class CancelWorkflowExecution(google.protobuf.message.Message): """Indicate a workflow has completed as cancelled. Generally sent as a response to an activation containing a cancellation job. @@ -1120,9 +1088,8 @@ class CancelWorkflowExecution(google.protobuf.message.Message): self, ) -> None: ... -Global___CancelWorkflowExecution: typing_extensions.TypeAlias = CancelWorkflowExecution +global___CancelWorkflowExecution = CancelWorkflowExecution -@typing.final class SetPatchMarker(google.protobuf.message.Message): """A request to set/check if a certain patch is present or not""" @@ -1147,20 +1114,18 @@ class SetPatchMarker(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "deprecated", b"deprecated", "patch_id", b"patch_id" ], ) -> None: ... -Global___SetPatchMarker: typing_extensions.TypeAlias = SetPatchMarker +global___SetPatchMarker = SetPatchMarker -@typing.final class StartChildWorkflowExecution(google.protobuf.message.Message): """Start a child workflow execution""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1176,13 +1141,13 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... - @typing.final class MemoEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1198,10 +1163,11 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -1229,21 +1195,6 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): workflow_id: builtins.str workflow_type: builtins.str task_queue: builtins.str - parent_close_policy: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ParentClosePolicy.ValueType - """Default: PARENT_CLOSE_POLICY_TERMINATE.""" - workflow_id_reuse_policy: ( - temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType - ) - """string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes) - Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. - """ - cron_schedule: builtins.str - cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType - """Defines behaviour of the underlying workflow when child workflow cancellation has been requested.""" - versioning_intent: ( - temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType - ) - """Whether this child should run on a worker with a compatible build id or not.""" @property def input( self, @@ -1253,17 +1204,23 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): @property def workflow_execution_timeout(self) -> google.protobuf.duration_pb2.Duration: """Total workflow execution timeout including retries and continue as new.""" - @property def workflow_run_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow run.""" - @property def workflow_task_timeout(self) -> google.protobuf.duration_pb2.Duration: """Timeout of a single workflow task.""" - + parent_close_policy: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ParentClosePolicy.ValueType + """Default: PARENT_CLOSE_POLICY_TERMINATE.""" + workflow_id_reuse_policy: ( + temporalio.api.enums.v1.workflow_pb2.WorkflowIdReusePolicy.ValueType + ) + """string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes) + Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE. + """ @property def retry_policy(self) -> temporalio.api.common.v1.message_pb2.RetryPolicy: ... + cron_schedule: builtins.str @property def headers( self, @@ -1271,7 +1228,6 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Header fields""" - @property def memo( self, @@ -1279,17 +1235,20 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Memo fields""" - @property def search_attributes( self, ) -> temporalio.api.common.v1.message_pb2.SearchAttributes: """Search attributes""" - + cancellation_type: temporalio.bridge.proto.child_workflow.child_workflow_pb2.ChildWorkflowCancellationType.ValueType + """Defines behaviour of the underlying workflow when child workflow cancellation has been requested.""" + versioning_intent: ( + temporalio.bridge.proto.common.common_pb2.VersioningIntent.ValueType + ) + """Whether this child should run on a worker with a compatible build id or not.""" @property def priority(self) -> temporalio.api.common.v1.message_pb2.Priority: """The Priority to use for this activity""" - def __init__( self, *, @@ -1323,7 +1282,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "priority", b"priority", "retry_policy", @@ -1340,7 +1299,7 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancellation_type", b"cancellation_type", "cron_schedule", @@ -1382,11 +1341,8 @@ class StartChildWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -Global___StartChildWorkflowExecution: typing_extensions.TypeAlias = ( - StartChildWorkflowExecution -) +global___StartChildWorkflowExecution = StartChildWorkflowExecution -@typing.final class CancelChildWorkflowExecution(google.protobuf.message.Message): """Cancel a child workflow""" @@ -1406,16 +1362,13 @@ class CancelChildWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "child_workflow_seq", b"child_workflow_seq", "reason", b"reason" ], ) -> None: ... -Global___CancelChildWorkflowExecution: typing_extensions.TypeAlias = ( - CancelChildWorkflowExecution -) +global___CancelChildWorkflowExecution = CancelChildWorkflowExecution -@typing.final class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): """Request cancellation of an external workflow execution. For cancellation of a child workflow, prefer `CancelChildWorkflowExecution` instead, as it guards against cancel-before-start issues. @@ -1428,14 +1381,13 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): REASON_FIELD_NUMBER: builtins.int seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" - reason: builtins.str - """A reason for the cancellation""" @property def workflow_execution( self, ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """The workflow instance being targeted""" - + reason: builtins.str + """A reason for the cancellation""" def __init__( self, *, @@ -1445,11 +1397,14 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): reason: builtins.str = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["workflow_execution", b"workflow_execution"] + self, + field_name: typing_extensions.Literal[ + "workflow_execution", b"workflow_execution" + ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "reason", b"reason", "seq", @@ -1459,17 +1414,13 @@ class RequestCancelExternalWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... -Global___RequestCancelExternalWorkflowExecution: typing_extensions.TypeAlias = ( - RequestCancelExternalWorkflowExecution -) +global___RequestCancelExternalWorkflowExecution = RequestCancelExternalWorkflowExecution -@typing.final class SignalExternalWorkflowExecution(google.protobuf.message.Message): """Send a signal to an external or child workflow""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class HeadersEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1485,10 +1436,11 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): value: temporalio.api.common.v1.message_pb2.Payload | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["value", b"value"] + self, field_name: typing_extensions.Literal["value", b"value"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -1499,16 +1451,15 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): HEADERS_FIELD_NUMBER: builtins.int seq: builtins.int """Lang's incremental sequence number, used as the operation identifier""" - child_workflow_id: builtins.str - """The desired target must be a child of the issuing workflow, and this is its workflow id""" - signal_name: builtins.str - """Name of the signal handler""" @property def workflow_execution( self, ) -> temporalio.bridge.proto.common.common_pb2.NamespacedWorkflowExecution: """A specific workflow instance""" - + child_workflow_id: builtins.str + """The desired target must be a child of the issuing workflow, and this is its workflow id""" + signal_name: builtins.str + """Name of the signal handler""" @property def args( self, @@ -1516,7 +1467,6 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): temporalio.api.common.v1.message_pb2.Payload ]: """Arguments for the handler""" - @property def headers( self, @@ -1524,7 +1474,6 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): builtins.str, temporalio.api.common.v1.message_pb2.Payload ]: """Headers to attach to the signal""" - def __init__( self, *, @@ -1542,7 +1491,7 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "child_workflow_id", b"child_workflow_id", "target", @@ -1553,7 +1502,7 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "args", b"args", "child_workflow_id", @@ -1571,14 +1520,13 @@ class SignalExternalWorkflowExecution(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["target", b"target"] - ) -> typing.Literal["workflow_execution", "child_workflow_id"] | None: ... + self, oneof_group: typing_extensions.Literal["target", b"target"] + ) -> ( + typing_extensions.Literal["workflow_execution", "child_workflow_id"] | None + ): ... -Global___SignalExternalWorkflowExecution: typing_extensions.TypeAlias = ( - SignalExternalWorkflowExecution -) +global___SignalExternalWorkflowExecution = SignalExternalWorkflowExecution -@typing.final class CancelSignalWorkflow(google.protobuf.message.Message): """Can be used to cancel not-already-sent `SignalExternalWorkflowExecution` commands""" @@ -1592,11 +1540,12 @@ class CancelSignalWorkflow(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... -Global___CancelSignalWorkflow: typing_extensions.TypeAlias = CancelSignalWorkflow +global___CancelSignalWorkflow = CancelSignalWorkflow -@typing.final class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1608,7 +1557,6 @@ class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): """SearchAttributes to upsert. The indexed_fields map will be merged with existing search attributes, with these values taking precedence. """ - def __init__( self, *, @@ -1616,17 +1564,20 @@ class UpsertWorkflowSearchAttributes(google.protobuf.message.Message): | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["search_attributes", b"search_attributes"] + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["search_attributes", b"search_attributes"] + self, + field_name: typing_extensions.Literal[ + "search_attributes", b"search_attributes" + ], ) -> None: ... -Global___UpsertWorkflowSearchAttributes: typing_extensions.TypeAlias = ( - UpsertWorkflowSearchAttributes -) +global___UpsertWorkflowSearchAttributes = UpsertWorkflowSearchAttributes -@typing.final class ModifyWorkflowProperties(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1637,24 +1588,20 @@ class ModifyWorkflowProperties(google.protobuf.message.Message): the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted. """ - def __init__( self, *, upserted_memo: temporalio.api.common.v1.message_pb2.Memo | None = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] ) -> builtins.bool: ... def ClearField( - self, field_name: typing.Literal["upserted_memo", b"upserted_memo"] + self, field_name: typing_extensions.Literal["upserted_memo", b"upserted_memo"] ) -> None: ... -Global___ModifyWorkflowProperties: typing_extensions.TypeAlias = ( - ModifyWorkflowProperties -) +global___ModifyWorkflowProperties = ModifyWorkflowProperties -@typing.final class UpdateResponse(google.protobuf.message.Message): """A reply to a `DoUpdate` job - lang must run the update's validator if told to, and then immediately run the handler, if the update was accepted. @@ -1681,17 +1628,14 @@ class UpdateResponse(google.protobuf.message.Message): thus should be considered already-accepted, allowing lang to always send the same sequence on replay). """ - @property def rejected(self) -> temporalio.api.failure.v1.message_pb2.Failure: """Must be sent if the update's validator does not pass, or after acceptance if the update handler fails. """ - @property def completed(self) -> temporalio.api.common.v1.message_pb2.Payload: """Must be sent once the update handler completes successfully.""" - def __init__( self, *, @@ -1702,7 +1646,7 @@ class UpdateResponse(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "accepted", b"accepted", "completed", @@ -1715,7 +1659,7 @@ class UpdateResponse(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "accepted", b"accepted", "completed", @@ -1729,18 +1673,16 @@ class UpdateResponse(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["response", b"response"] - ) -> typing.Literal["accepted", "rejected", "completed"] | None: ... + self, oneof_group: typing_extensions.Literal["response", b"response"] + ) -> typing_extensions.Literal["accepted", "rejected", "completed"] | None: ... -Global___UpdateResponse: typing_extensions.TypeAlias = UpdateResponse +global___UpdateResponse = UpdateResponse -@typing.final class ScheduleNexusOperation(google.protobuf.message.Message): """A request to begin a Nexus operation""" DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing.final class NexusHeaderEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1755,7 +1697,8 @@ class ScheduleNexusOperation(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing.Literal["key", b"key", "value", b"value"] + self, + field_name: typing_extensions.Literal["key", b"key", "value", b"value"], ) -> None: ... SEQ_FIELD_NUMBER: builtins.int @@ -1776,10 +1719,6 @@ class ScheduleNexusOperation(google.protobuf.message.Message): """Service name.""" operation: builtins.str """Operation name.""" - cancellation_type: ( - temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType - ) - """Defines behaviour of the underlying nexus operation when operation cancellation has been requested.""" @property def input(self) -> temporalio.api.common.v1.message_pb2.Payload: """Input for the operation. The server converts this into Nexus request content and the @@ -1787,14 +1726,12 @@ class ScheduleNexusOperation(google.protobuf.message.Message): handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command. """ - @property def schedule_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. """ - @property def nexus_header( self, @@ -1806,7 +1743,10 @@ class ScheduleNexusOperation(google.protobuf.message.Message): activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads. """ - + cancellation_type: ( + temporalio.bridge.proto.nexus.nexus_pb2.NexusOperationCancellationType.ValueType + ) + """Defines behaviour of the underlying nexus operation when operation cancellation has been requested.""" @property def schedule_to_start_timeout(self) -> google.protobuf.duration_pb2.Duration: """Schedule-to-start timeout for this operation. @@ -1815,7 +1755,6 @@ class ScheduleNexusOperation(google.protobuf.message.Message): TIMEOUT_TYPE_SCHEDULE_TO_START. If not set or zero, no schedule-to-start timeout is enforced. """ - @property def start_to_close_timeout(self) -> google.protobuf.duration_pb2.Duration: """Start-to-close timeout for this operation. @@ -1825,7 +1764,6 @@ class ScheduleNexusOperation(google.protobuf.message.Message): Only applies to asynchronous operations. Synchronous operations ignore this timeout. If not set or zero, no start-to-close timeout is enforced. """ - def __init__( self, *, @@ -1842,7 +1780,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "input", b"input", "schedule_to_close_timeout", @@ -1855,7 +1793,7 @@ class ScheduleNexusOperation(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "cancellation_type", b"cancellation_type", "endpoint", @@ -1879,9 +1817,8 @@ class ScheduleNexusOperation(google.protobuf.message.Message): ], ) -> None: ... -Global___ScheduleNexusOperation: typing_extensions.TypeAlias = ScheduleNexusOperation +global___ScheduleNexusOperation = ScheduleNexusOperation -@typing.final class RequestCancelNexusOperation(google.protobuf.message.Message): """Request cancellation of a nexus operation started via `ScheduleNexusOperation`""" @@ -1895,8 +1832,8 @@ class RequestCancelNexusOperation(google.protobuf.message.Message): *, seq: builtins.int = ..., ) -> None: ... - def ClearField(self, field_name: typing.Literal["seq", b"seq"]) -> None: ... + def ClearField( + self, field_name: typing_extensions.Literal["seq", b"seq"] + ) -> None: ... -Global___RequestCancelNexusOperation: typing_extensions.TypeAlias = ( - RequestCancelNexusOperation -) +global___RequestCancelNexusOperation = RequestCancelNexusOperation diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py index e664c8217..ce26b220d 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.py @@ -1,24 +1,14 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE # source: temporal/sdk/core/workflow_completion/workflow_completion.proto -# Protobuf Python Version: 6.33.5 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 6, - 33, - 5, - "", - "temporal/sdk/core/workflow_completion/workflow_completion.proto", -) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -44,24 +34,54 @@ b'\n?temporal/sdk/core/workflow_completion/workflow_completion.proto\x12\x1b\x63oresdk.workflow_completion\x1a%temporal/api/failure/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/sdk/core/common/common.proto\x1a;temporal/sdk/core/workflow_commands/workflow_commands.proto"\xac\x01\n\x1cWorkflowActivationCompletion\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12:\n\nsuccessful\x18\x02 \x01(\x0b\x32$.coresdk.workflow_completion.SuccessH\x00\x12\x36\n\x06\x66\x61iled\x18\x03 \x01(\x0b\x32$.coresdk.workflow_completion.FailureH\x00\x42\x08\n\x06status"\xac\x01\n\x07Success\x12<\n\x08\x63ommands\x18\x01 \x03(\x0b\x32*.coresdk.workflow_commands.WorkflowCommand\x12\x1b\n\x13used_internal_flags\x18\x06 \x03(\r\x12\x46\n\x13versioning_behavior\x18\x07 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior"\x81\x01\n\x07\x46\x61ilure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x43\n\x0b\x66orce_cause\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseB8\xea\x02\x35Temporalio::Internal::Bridge::Api::WorkflowCompletionb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, - "temporal.sdk.core.workflow_completion.workflow_completion_pb2", - _globals, + +_WORKFLOWACTIVATIONCOMPLETION = DESCRIPTOR.message_types_by_name[ + "WorkflowActivationCompletion" +] +_SUCCESS = DESCRIPTOR.message_types_by_name["Success"] +_FAILURE = DESCRIPTOR.message_types_by_name["Failure"] +WorkflowActivationCompletion = _reflection.GeneratedProtocolMessageType( + "WorkflowActivationCompletion", + (_message.Message,), + { + "DESCRIPTOR": _WORKFLOWACTIVATIONCOMPLETION, + "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.WorkflowActivationCompletion) + }, +) +_sym_db.RegisterMessage(WorkflowActivationCompletion) + +Success = _reflection.GeneratedProtocolMessageType( + "Success", + (_message.Message,), + { + "DESCRIPTOR": _SUCCESS, + "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Success) + }, ) -if not _descriptor._USE_C_DESCRIPTORS: - _globals["DESCRIPTOR"]._loaded_options = None - _globals[ - "DESCRIPTOR" - ]._serialized_options = ( +_sym_db.RegisterMessage(Success) + +Failure = _reflection.GeneratedProtocolMessageType( + "Failure", + (_message.Message,), + { + "DESCRIPTOR": _FAILURE, + "__module__": "temporal.sdk.core.workflow_completion.workflow_completion_pb2", + # @@protoc_insertion_point(class_scope:coresdk.workflow_completion.Failure) + }, +) +_sym_db.RegisterMessage(Failure) + +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"\352\0025Temporalio::Internal::Bridge::Api::WorkflowCompletion" ) - _globals["_WORKFLOWACTIVATIONCOMPLETION"]._serialized_start = 316 - _globals["_WORKFLOWACTIVATIONCOMPLETION"]._serialized_end = 488 - _globals["_SUCCESS"]._serialized_start = 491 - _globals["_SUCCESS"]._serialized_end = 663 - _globals["_FAILURE"]._serialized_start = 666 - _globals["_FAILURE"]._serialized_end = 795 + _WORKFLOWACTIVATIONCOMPLETION._serialized_start = 316 + _WORKFLOWACTIVATIONCOMPLETION._serialized_end = 488 + _SUCCESS._serialized_start = 491 + _SUCCESS._serialized_end = 663 + _FAILURE._serialized_start = 666 + _FAILURE._serialized_end = 795 # @@protoc_insertion_point(module_scope) diff --git a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi index bad7f16ae..5b438f360 100644 --- a/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi +++ b/temporalio/bridge/proto/workflow_completion/workflow_completion_pb2.pyi @@ -6,7 +6,6 @@ isort:skip_file import builtins import collections.abc import sys -import typing import google.protobuf.descriptor import google.protobuf.internal.containers @@ -17,14 +16,13 @@ import temporalio.api.enums.v1.workflow_pb2 import temporalio.api.failure.v1.message_pb2 import temporalio.bridge.proto.workflow_commands.workflow_commands_pb2 -if sys.version_info >= (3, 10): +if sys.version_info >= (3, 8): import typing as typing_extensions else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing.final class WorkflowActivationCompletion(google.protobuf.message.Message): """Result of a single workflow activation, reported from lang to core""" @@ -36,25 +34,25 @@ class WorkflowActivationCompletion(google.protobuf.message.Message): run_id: builtins.str """The run id from the workflow activation you are completing""" @property - def successful(self) -> Global___Success: ... + def successful(self) -> global___Success: ... @property - def failed(self) -> Global___Failure: ... + def failed(self) -> global___Failure: ... def __init__( self, *, run_id: builtins.str = ..., - successful: Global___Success | None = ..., - failed: Global___Failure | None = ..., + successful: global___Success | None = ..., + failed: global___Failure | None = ..., ) -> None: ... def HasField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failed", b"failed", "status", b"status", "successful", b"successful" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failed", b"failed", "run_id", @@ -66,14 +64,11 @@ class WorkflowActivationCompletion(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing.Literal["status", b"status"] - ) -> typing.Literal["successful", "failed"] | None: ... + self, oneof_group: typing_extensions.Literal["status", b"status"] + ) -> typing_extensions.Literal["successful", "failed"] | None: ... -Global___WorkflowActivationCompletion: typing_extensions.TypeAlias = ( - WorkflowActivationCompletion -) +global___WorkflowActivationCompletion = WorkflowActivationCompletion -@typing.final class Success(google.protobuf.message.Message): """Successful workflow activation with a list of commands generated by the workflow execution""" @@ -82,10 +77,6 @@ class Success(google.protobuf.message.Message): COMMANDS_FIELD_NUMBER: builtins.int USED_INTERNAL_FLAGS_FIELD_NUMBER: builtins.int VERSIONING_BEHAVIOR_FIELD_NUMBER: builtins.int - versioning_behavior: ( - temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType - ) - """The versioning behavior this workflow is currently using""" @property def commands( self, @@ -93,13 +84,15 @@ class Success(google.protobuf.message.Message): temporalio.bridge.proto.workflow_commands.workflow_commands_pb2.WorkflowCommand ]: """A list of commands to send back to the temporal server""" - @property def used_internal_flags( self, ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: """Any internal flags which the lang SDK used in the processing of this activation""" - + versioning_behavior: ( + temporalio.api.enums.v1.workflow_pb2.VersioningBehavior.ValueType + ) + """The versioning behavior this workflow is currently using""" def __init__( self, *, @@ -112,7 +105,7 @@ class Success(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "commands", b"commands", "used_internal_flags", @@ -122,9 +115,8 @@ class Success(google.protobuf.message.Message): ], ) -> None: ... -Global___Success: typing_extensions.TypeAlias = Success +global___Success = Success -@typing.final class Failure(google.protobuf.message.Message): """Failure to activate or execute a workflow""" @@ -132,12 +124,12 @@ class Failure(google.protobuf.message.Message): FAILURE_FIELD_NUMBER: builtins.int FORCE_CAUSE_FIELD_NUMBER: builtins.int + @property + def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... force_cause: ( temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType ) """Forces overriding the WFT failure cause""" - @property - def failure(self) -> temporalio.api.failure.v1.message_pb2.Failure: ... def __init__( self, *, @@ -145,13 +137,13 @@ class Failure(google.protobuf.message.Message): force_cause: temporalio.api.enums.v1.failed_cause_pb2.WorkflowTaskFailedCause.ValueType = ..., ) -> None: ... def HasField( - self, field_name: typing.Literal["failure", b"failure"] + self, field_name: typing_extensions.Literal["failure", b"failure"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing.Literal[ + field_name: typing_extensions.Literal[ "failure", b"failure", "force_cause", b"force_cause" ], ) -> None: ... -Global___Failure: typing_extensions.TypeAlias = Failure +global___Failure = Failure