temporalio 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Cargo.lock +767 -692
- data/Cargo.toml +15 -6
- data/Gemfile +9 -4
- data/README.md +2 -2
- data/ext/Cargo.toml +8 -9
- data/lib/temporalio/activity/definition.rb +6 -1
- data/lib/temporalio/api/activity/v1/message.rb +11 -2
- data/lib/temporalio/api/cloud/account/v1/message.rb +3 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +5 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
- data/lib/temporalio/api/cloud/sink/v1/message.rb +3 -1
- data/lib/temporalio/api/command/v1/message.rb +1 -1
- data/lib/temporalio/api/common/v1/message.rb +2 -1
- data/lib/temporalio/api/deployment/v1/message.rb +2 -1
- data/lib/temporalio/api/enums/v1/activity.rb +23 -0
- data/lib/temporalio/api/enums/v1/event_type.rb +1 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
- data/lib/temporalio/api/enums/v1/task_queue.rb +2 -1
- data/lib/temporalio/api/enums/v1/workflow.rb +3 -1
- data/lib/temporalio/api/errordetails/v1/message.rb +2 -1
- data/lib/temporalio/api/history/v1/message.rb +3 -1
- data/lib/temporalio/api/namespace/v1/message.rb +2 -1
- data/lib/temporalio/api/nexus/v1/message.rb +1 -1
- data/lib/temporalio/api/operatorservice/v1/request_response.rb +1 -1
- data/lib/temporalio/api/payload_visitor.rb +70 -0
- data/lib/temporalio/api/taskqueue/v1/message.rb +1 -1
- data/lib/temporalio/api/worker/v1/message.rb +1 -1
- data/lib/temporalio/api/workflow/v1/message.rb +2 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +27 -1
- data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
- data/lib/temporalio/client/connection/cloud_service.rb +30 -0
- data/lib/temporalio/client/connection/workflow_service.rb +180 -0
- data/lib/temporalio/client/connection.rb +31 -12
- data/lib/temporalio/client/plugin.rb +42 -0
- data/lib/temporalio/client.rb +83 -14
- data/lib/temporalio/contrib/open_telemetry.rb +78 -25
- data/lib/temporalio/converters/payload_converter/binary_protobuf.rb +4 -1
- data/lib/temporalio/converters/payload_converter/composite.rb +1 -0
- data/lib/temporalio/converters/payload_converter/json_protobuf.rb +5 -2
- data/lib/temporalio/env_config.rb +3 -12
- data/lib/temporalio/internal/bridge/api/core_interface.rb +3 -1
- data/lib/temporalio/internal/bridge/api/nexus/nexus.rb +2 -1
- data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +1 -1
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +1 -1
- data/lib/temporalio/internal/bridge/runtime.rb +1 -0
- data/lib/temporalio/internal/bridge/worker.rb +5 -3
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +4 -0
- data/lib/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rb +1 -1
- data/lib/temporalio/internal/worker/workflow_instance/handler_hash.rb +1 -1
- data/lib/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rb +8 -4
- data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +32 -11
- data/lib/temporalio/internal/worker/workflow_instance/replay_safe_logger.rb +2 -1
- data/lib/temporalio/internal/worker/workflow_instance/replay_safe_metric.rb +2 -1
- data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +10 -1
- data/lib/temporalio/internal/worker/workflow_instance.rb +16 -11
- data/lib/temporalio/runtime.rb +16 -3
- data/lib/temporalio/simple_plugin.rb +192 -0
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/plugin.rb +88 -0
- data/lib/temporalio/worker/tuner.rb +0 -4
- data/lib/temporalio/worker/workflow_replayer.rb +32 -8
- data/lib/temporalio/worker.rb +117 -44
- data/lib/temporalio/workflow/definition.rb +3 -1
- data/lib/temporalio/workflow/info.rb +4 -0
- data/lib/temporalio/workflow.rb +8 -1
- data/temporalio.gemspec +1 -1
- metadata +7 -3
|
@@ -8,7 +8,7 @@ require 'temporalio/api/workflowservice/v1/request_response'
|
|
|
8
8
|
require 'google/api/annotations_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\x8f\xbd\x01\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x02\x31\"\x13/cluster/namespaces:\x01*Z\x17\"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W\"&/cluster/namespaces/{namespace}/update:\x01*Z*\"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\x92\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xa5\x02\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\"9/namespaces/{namespace}/workflows/execute-multi-operation:\x01*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\x01*\x12\xc1\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\x96\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\x12\xe6\x02\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xa6\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\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\x9b\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/activities/heartbeat:\x01*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\x01*\x12\xb3\x02\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"}\x82\xd3\xe4\x93\x02w\"2/namespaces/{namespace}/activities/heartbeat-by-id:\x01*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\x01*\x12\x9c\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"o\x82\xd3\xe4\x93\x02i\"+/namespaces/{namespace}/activities/complete:\x01*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\x01*\x12\xb4\x02\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/complete-by-id:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\x01*\x12\x8b\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"g\x82\xd3\xe4\x93\x02\x61\"\'/namespaces/{namespace}/activities/fail:\x01*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\x01*\x12\xa3\x02\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/activities/fail-by-id:\x01*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\x01*\x12\x95\x02\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"k\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activities/cancel:\x01*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\x01*\x12\xad\x02\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/activities/cancel-by-id:\x01*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\x01*\x12\xe0\x02\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*\x12\xe7\x02\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*\x12\xf2\x02\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*\x12\xc6\x02\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xaa\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*\x12\xda\x02\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xb2\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*\x12\x9e\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\x00\x12\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\x00\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xbf\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xbe\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*\x12\xaa\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\x85\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}\x12\x89\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12</api/v1/namespaces/{namespace}/task-queues/{task_queue.name}\x12\xab\x01\n\x0eGetClusterInfo\x12\x36.temporal.api.workflowservice.v1.GetClusterInfoRequest\x1a\x37.temporal.api.workflowservice.v1.GetClusterInfoResponse\"(\x82\xd3\xe4\x93\x02\"\x12\x08/clusterZ\x16\x12\x14/api/v1/cluster-info\x12\xab\x01\n\rGetSystemInfo\x12\x35.temporal.api.workflowservice.v1.GetSystemInfoRequest\x1a\x36.temporal.api.workflowservice.v1.GetSystemInfoResponse\"+\x82\xd3\xe4\x93\x02%\x12\x0c/system-infoZ\x15\x12\x13/api/v1/system-info\x12\x9e\x01\n\x17ListTaskQueuePartitions\x12?.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest\x1a@.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse\"\x00\x12\xfa\x01\n\x0e\x43reateSchedule\x12\x36.temporal.api.workflowservice.v1.CreateScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.CreateScheduleResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/schedules/{schedule_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/schedules/{schedule_id}:\x01*\x12\xfa\x01\n\x10\x44\x65scribeSchedule\x12\x38.temporal.api.workflowservice.v1.DescribeScheduleRequest\x1a\x39.temporal.api.workflowservice.v1.DescribeScheduleResponse\"q\x82\xd3\xe4\x93\x02k\x12//namespaces/{namespace}/schedules/{schedule_id}Z8\x12\x36/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\x89\x02\n\x0eUpdateSchedule\x12\x36.temporal.api.workflowservice.v1.UpdateScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.UpdateScheduleResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/schedules/{schedule_id}/update:\x01*ZB\"=/api/v1/namespaces/{namespace}/schedules/{schedule_id}/update:\x01*\x12\x84\x02\n\rPatchSchedule\x12\x35.temporal.api.workflowservice.v1.PatchScheduleRequest\x1a\x36.temporal.api.workflowservice.v1.PatchScheduleResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\"5/namespaces/{namespace}/schedules/{schedule_id}/patch:\x01*ZA\"</api/v1/namespaces/{namespace}/schedules/{schedule_id}/patch:\x01*\x12\xb5\x02\n\x19ListScheduleMatchingTimes\x12\x41.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest\x1a\x42.temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse\"\x90\x01\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xf4\x01\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"q\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\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\xb5\x03\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xfe\x01\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\xf7\x02\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xba\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*\x12\xae\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12</namespaces/{namespace}/worker-deployments/{deployment_name}ZE\x12\x43/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}\x12\xa8\x02\n\x16\x44\x65leteWorkerDeployment\x12>.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01*</namespaces/{namespace}/worker-deployments/{deployment_name}ZE*C/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}\x12\xaf\x03\n\x1d\x44\x65leteWorkerDeploymentVersion\x12\x45.temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest\x1a\x46.temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse\"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01*u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~*|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xf7\x02\n!SetWorkerDeploymentRampingVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse\"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-ramping-version:\x01*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-ramping-version:\x01*\x12\xff\x01\n\x15ListWorkerDeployments\x12=.temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest\x1a>.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\xf0\x03\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02\"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*Z\x92\x01\"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*\x12\xf5\x02\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xaa\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"\x00\x12\x8d\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z=\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\x95\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\x90\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"u\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\x00\x12\x93\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/update-options:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/update-options:\x01*\x12\xf0\x02\n\x1eUpdateWorkflowExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse\"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01\"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*\x12\xe9\x01\n\rPauseActivity\x12\x35.temporal.api.workflowservice.v1.PauseActivityRequest\x1a\x36.temporal.api.workflowservice.v1.PauseActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/pause:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/pause:\x01*\x12\xf3\x01\n\x0fUnpauseActivity\x12\x37.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a\x38.temporal.api.workflowservice.v1.UnpauseActivityResponse\"m\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activities/unpause:\x01*Z6\"1/api/v1/namespaces/{namespace}/activities/unpause:\x01*\x12\xe9\x01\n\rResetActivity\x12\x35.temporal.api.workflowservice.v1.ResetActivityRequest\x1a\x36.temporal.api.workflowservice.v1.ResetActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/reset:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/reset:\x01*\x12\xf4\x01\n\x12\x43reateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse\"e\x82\xd3\xe4\x93\x02_\"&/namespaces/{namespace}/workflow-rules:\x01*Z2\"-/api/v1/namespaces/{namespace}/workflow-rules:\x01*\x12\x88\x02\n\x14\x44\x65scribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/workflow-rules/{rule_id}Z9\x12\x37/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n\x12\x44\x65leteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n\x11ListWorkflowRules\x12\x39.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-rulesZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*ZR\"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*\x12\x83\x02\n\x15RecordWorkerHeartbeat\x12=.temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest\x1a>.temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"k\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\xaf\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\x96\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*\x12\xfd\x01\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/workers/fetch-config:\x01*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\x82\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/workers/update-config:\x01*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*B\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"
|
|
11
|
+
descriptor_data = "\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\x9d\xd6\x01\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x02\x31\"\x13/cluster/namespaces:\x01*Z\x17\"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W\"&/cluster/namespaces/{namespace}/update:\x01*Z*\"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\x92\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xa5\x02\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\"9/namespaces/{namespace}/workflows/execute-multi-operation:\x01*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\x01*\x12\xc1\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\x96\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\x12\xe6\x02\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xa6\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\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\x9b\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/activities/heartbeat:\x01*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\x01*\x12\xb3\x02\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"}\x82\xd3\xe4\x93\x02w\"2/namespaces/{namespace}/activities/heartbeat-by-id:\x01*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\x01*\x12\x9c\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"o\x82\xd3\xe4\x93\x02i\"+/namespaces/{namespace}/activities/complete:\x01*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\x01*\x12\xb4\x02\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/complete-by-id:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\x01*\x12\x8b\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"g\x82\xd3\xe4\x93\x02\x61\"\'/namespaces/{namespace}/activities/fail:\x01*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\x01*\x12\xa3\x02\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/activities/fail-by-id:\x01*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\x01*\x12\x95\x02\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"k\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activities/cancel:\x01*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\x01*\x12\xad\x02\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/activities/cancel-by-id:\x01*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\x01*\x12\xe0\x02\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*\x12\xe7\x02\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*\x12\xf2\x02\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*\x12\xc6\x02\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xaa\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*\x12\xda\x02\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xb2\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*\x12\x9e\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\x00\x12\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\x00\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xbf\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xbe\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*\x12\xaa\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\x85\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}\x12\x89\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12</api/v1/namespaces/{namespace}/task-queues/{task_queue.name}\x12\xab\x01\n\x0eGetClusterInfo\x12\x36.temporal.api.workflowservice.v1.GetClusterInfoRequest\x1a\x37.temporal.api.workflowservice.v1.GetClusterInfoResponse\"(\x82\xd3\xe4\x93\x02\"\x12\x08/clusterZ\x16\x12\x14/api/v1/cluster-info\x12\xab\x01\n\rGetSystemInfo\x12\x35.temporal.api.workflowservice.v1.GetSystemInfoRequest\x1a\x36.temporal.api.workflowservice.v1.GetSystemInfoResponse\"+\x82\xd3\xe4\x93\x02%\x12\x0c/system-infoZ\x15\x12\x13/api/v1/system-info\x12\x9e\x01\n\x17ListTaskQueuePartitions\x12?.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest\x1a@.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse\"\x00\x12\xfa\x01\n\x0e\x43reateSchedule\x12\x36.temporal.api.workflowservice.v1.CreateScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.CreateScheduleResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/schedules/{schedule_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/schedules/{schedule_id}:\x01*\x12\xfa\x01\n\x10\x44\x65scribeSchedule\x12\x38.temporal.api.workflowservice.v1.DescribeScheduleRequest\x1a\x39.temporal.api.workflowservice.v1.DescribeScheduleResponse\"q\x82\xd3\xe4\x93\x02k\x12//namespaces/{namespace}/schedules/{schedule_id}Z8\x12\x36/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\x89\x02\n\x0eUpdateSchedule\x12\x36.temporal.api.workflowservice.v1.UpdateScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.UpdateScheduleResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/schedules/{schedule_id}/update:\x01*ZB\"=/api/v1/namespaces/{namespace}/schedules/{schedule_id}/update:\x01*\x12\x84\x02\n\rPatchSchedule\x12\x35.temporal.api.workflowservice.v1.PatchScheduleRequest\x1a\x36.temporal.api.workflowservice.v1.PatchScheduleResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\"5/namespaces/{namespace}/schedules/{schedule_id}/patch:\x01*ZA\"</api/v1/namespaces/{namespace}/schedules/{schedule_id}/patch:\x01*\x12\xb5\x02\n\x19ListScheduleMatchingTimes\x12\x41.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest\x1a\x42.temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse\"\x90\x01\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xf4\x01\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"q\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\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\xb5\x03\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xfe\x01\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\xf7\x02\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xba\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*\x12\xae\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12</namespaces/{namespace}/worker-deployments/{deployment_name}ZE\x12\x43/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}\x12\xa8\x02\n\x16\x44\x65leteWorkerDeployment\x12>.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01*</namespaces/{namespace}/worker-deployments/{deployment_name}ZE*C/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}\x12\xaf\x03\n\x1d\x44\x65leteWorkerDeploymentVersion\x12\x45.temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest\x1a\x46.temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse\"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01*u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~*|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xf7\x02\n!SetWorkerDeploymentRampingVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse\"\xba\x01\x82\xd3\xe4\x93\x02\xb3\x01\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-ramping-version:\x01*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-ramping-version:\x01*\x12\xff\x01\n\x15ListWorkerDeployments\x12=.temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest\x1a>.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\xf0\x03\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02\"\x85\x01/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*Z\x92\x01\"\x8c\x01/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}/update-metadata:\x01*\x12\xd2\x02\n\x1aSetWorkerDeploymentManager\x12\x42.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest\x1a\x43.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"H/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager:\x01*ZT\"O/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager:\x01*\x12\xf5\x02\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xaa\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"\x00\x12\x8d\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z=\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\x95\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\x90\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"u\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\x00\x12\x93\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/update-options:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/update-options:\x01*\x12\xf0\x02\n\x1eUpdateWorkflowExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse\"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01\"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*\x12\xe9\x01\n\rPauseActivity\x12\x35.temporal.api.workflowservice.v1.PauseActivityRequest\x1a\x36.temporal.api.workflowservice.v1.PauseActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/pause:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/pause:\x01*\x12\xf3\x01\n\x0fUnpauseActivity\x12\x37.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a\x38.temporal.api.workflowservice.v1.UnpauseActivityResponse\"m\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activities/unpause:\x01*Z6\"1/api/v1/namespaces/{namespace}/activities/unpause:\x01*\x12\xe9\x01\n\rResetActivity\x12\x35.temporal.api.workflowservice.v1.ResetActivityRequest\x1a\x36.temporal.api.workflowservice.v1.ResetActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/reset:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/reset:\x01*\x12\xf4\x01\n\x12\x43reateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse\"e\x82\xd3\xe4\x93\x02_\"&/namespaces/{namespace}/workflow-rules:\x01*Z2\"-/api/v1/namespaces/{namespace}/workflow-rules:\x01*\x12\x88\x02\n\x14\x44\x65scribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/workflow-rules/{rule_id}Z9\x12\x37/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n\x12\x44\x65leteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n\x11ListWorkflowRules\x12\x39.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-rulesZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*ZR\"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*\x12\x83\x02\n\x15RecordWorkerHeartbeat\x12=.temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest\x1a>.temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"k\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\xaf\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\x96\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*\x12\xfd\x01\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/workers/fetch-config:\x01*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\x82\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/workers/update-config:\x01*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x12\x94\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse\"\x90\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}\x12\xdb\x01\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse\"@\x82\xd3\xe4\x93\x02:\"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*\x12\xe3\x01\n\x18UnpauseWorkflowExecution\x12@.temporal.api.workflowservice.v1.UnpauseWorkflowExecutionRequest\x1a\x41.temporal.api.workflowservice.v1.UnpauseWorkflowExecutionResponse\"B\x82\xd3\xe4\x93\x02<\"7/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x12\x94\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse\"y\x82\xd3\xe4\x93\x02s\"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<\"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x12\x97\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x12\x9c\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x12\xf2\x01\n\x16ListActivityExecutions\x12>.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse\"W\x82\xd3\xe4\x93\x02Q\x12\"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\xbc\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse\"\x88\x01\x82\xd3\xe4\x93\x02\x81\x01\"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC\">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x12\xb6\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse\"\x8e\x01\x82\xd3\xe4\x93\x02\x87\x01\":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF\"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse\"\x00\x42\xb6\x01\n\"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -631,6 +631,21 @@ module Temporalio
|
|
|
631
631
|
)
|
|
632
632
|
end
|
|
633
633
|
|
|
634
|
+
# Calls CloudService.SetServiceAccountNamespaceAccess API call.
|
|
635
|
+
#
|
|
636
|
+
# @param request [Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountNamespaceAccessRequest] API request.
|
|
637
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
638
|
+
# @return [Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountNamespaceAccessResponse] API response.
|
|
639
|
+
def set_service_account_namespace_access(request, rpc_options: nil)
|
|
640
|
+
invoke_rpc(
|
|
641
|
+
rpc: 'set_service_account_namespace_access',
|
|
642
|
+
request_class: Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountNamespaceAccessRequest,
|
|
643
|
+
response_class: Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountNamespaceAccessResponse,
|
|
644
|
+
request:,
|
|
645
|
+
rpc_options:
|
|
646
|
+
)
|
|
647
|
+
end
|
|
648
|
+
|
|
634
649
|
# Calls CloudService.DeleteServiceAccount API call.
|
|
635
650
|
#
|
|
636
651
|
# @param request [Temporalio::Api::Cloud::CloudService::V1::DeleteServiceAccountRequest] API request.
|
|
@@ -855,6 +870,21 @@ module Temporalio
|
|
|
855
870
|
rpc_options:
|
|
856
871
|
)
|
|
857
872
|
end
|
|
873
|
+
|
|
874
|
+
# Calls CloudService.ValidateAccountAuditLogSink API call.
|
|
875
|
+
#
|
|
876
|
+
# @param request [Temporalio::Api::Cloud::CloudService::V1::ValidateAccountAuditLogSinkRequest] API request.
|
|
877
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
878
|
+
# @return [Temporalio::Api::Cloud::CloudService::V1::ValidateAccountAuditLogSinkResponse] API response.
|
|
879
|
+
def validate_account_audit_log_sink(request, rpc_options: nil)
|
|
880
|
+
invoke_rpc(
|
|
881
|
+
rpc: 'validate_account_audit_log_sink',
|
|
882
|
+
request_class: Temporalio::Api::Cloud::CloudService::V1::ValidateAccountAuditLogSinkRequest,
|
|
883
|
+
response_class: Temporalio::Api::Cloud::CloudService::V1::ValidateAccountAuditLogSinkResponse,
|
|
884
|
+
request:,
|
|
885
|
+
rpc_options:
|
|
886
|
+
)
|
|
887
|
+
end
|
|
858
888
|
end
|
|
859
889
|
end
|
|
860
890
|
end
|
|
@@ -1036,6 +1036,21 @@ module Temporalio
|
|
|
1036
1036
|
)
|
|
1037
1037
|
end
|
|
1038
1038
|
|
|
1039
|
+
# Calls WorkflowService.SetWorkerDeploymentManager API call.
|
|
1040
|
+
#
|
|
1041
|
+
# @param request [Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentManagerRequest] API request.
|
|
1042
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1043
|
+
# @return [Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentManagerResponse] API response.
|
|
1044
|
+
def set_worker_deployment_manager(request, rpc_options: nil)
|
|
1045
|
+
invoke_rpc(
|
|
1046
|
+
rpc: 'set_worker_deployment_manager',
|
|
1047
|
+
request_class: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentManagerRequest,
|
|
1048
|
+
response_class: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentManagerResponse,
|
|
1049
|
+
request:,
|
|
1050
|
+
rpc_options:
|
|
1051
|
+
)
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1039
1054
|
# Calls WorkflowService.UpdateWorkflowExecution API call.
|
|
1040
1055
|
#
|
|
1041
1056
|
# @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionRequest] API request.
|
|
@@ -1395,6 +1410,171 @@ module Temporalio
|
|
|
1395
1410
|
rpc_options:
|
|
1396
1411
|
)
|
|
1397
1412
|
end
|
|
1413
|
+
|
|
1414
|
+
# Calls WorkflowService.DescribeWorker API call.
|
|
1415
|
+
#
|
|
1416
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DescribeWorkerRequest] API request.
|
|
1417
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1418
|
+
# @return [Temporalio::Api::WorkflowService::V1::DescribeWorkerResponse] API response.
|
|
1419
|
+
def describe_worker(request, rpc_options: nil)
|
|
1420
|
+
invoke_rpc(
|
|
1421
|
+
rpc: 'describe_worker',
|
|
1422
|
+
request_class: Temporalio::Api::WorkflowService::V1::DescribeWorkerRequest,
|
|
1423
|
+
response_class: Temporalio::Api::WorkflowService::V1::DescribeWorkerResponse,
|
|
1424
|
+
request:,
|
|
1425
|
+
rpc_options:
|
|
1426
|
+
)
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1429
|
+
# Calls WorkflowService.PauseWorkflowExecution API call.
|
|
1430
|
+
#
|
|
1431
|
+
# @param request [Temporalio::Api::WorkflowService::V1::PauseWorkflowExecutionRequest] API request.
|
|
1432
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1433
|
+
# @return [Temporalio::Api::WorkflowService::V1::PauseWorkflowExecutionResponse] API response.
|
|
1434
|
+
def pause_workflow_execution(request, rpc_options: nil)
|
|
1435
|
+
invoke_rpc(
|
|
1436
|
+
rpc: 'pause_workflow_execution',
|
|
1437
|
+
request_class: Temporalio::Api::WorkflowService::V1::PauseWorkflowExecutionRequest,
|
|
1438
|
+
response_class: Temporalio::Api::WorkflowService::V1::PauseWorkflowExecutionResponse,
|
|
1439
|
+
request:,
|
|
1440
|
+
rpc_options:
|
|
1441
|
+
)
|
|
1442
|
+
end
|
|
1443
|
+
|
|
1444
|
+
# Calls WorkflowService.UnpauseWorkflowExecution API call.
|
|
1445
|
+
#
|
|
1446
|
+
# @param request [Temporalio::Api::WorkflowService::V1::UnpauseWorkflowExecutionRequest] API request.
|
|
1447
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1448
|
+
# @return [Temporalio::Api::WorkflowService::V1::UnpauseWorkflowExecutionResponse] API response.
|
|
1449
|
+
def unpause_workflow_execution(request, rpc_options: nil)
|
|
1450
|
+
invoke_rpc(
|
|
1451
|
+
rpc: 'unpause_workflow_execution',
|
|
1452
|
+
request_class: Temporalio::Api::WorkflowService::V1::UnpauseWorkflowExecutionRequest,
|
|
1453
|
+
response_class: Temporalio::Api::WorkflowService::V1::UnpauseWorkflowExecutionResponse,
|
|
1454
|
+
request:,
|
|
1455
|
+
rpc_options:
|
|
1456
|
+
)
|
|
1457
|
+
end
|
|
1458
|
+
|
|
1459
|
+
# Calls WorkflowService.StartActivityExecution API call.
|
|
1460
|
+
#
|
|
1461
|
+
# @param request [Temporalio::Api::WorkflowService::V1::StartActivityExecutionRequest] API request.
|
|
1462
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1463
|
+
# @return [Temporalio::Api::WorkflowService::V1::StartActivityExecutionResponse] API response.
|
|
1464
|
+
def start_activity_execution(request, rpc_options: nil)
|
|
1465
|
+
invoke_rpc(
|
|
1466
|
+
rpc: 'start_activity_execution',
|
|
1467
|
+
request_class: Temporalio::Api::WorkflowService::V1::StartActivityExecutionRequest,
|
|
1468
|
+
response_class: Temporalio::Api::WorkflowService::V1::StartActivityExecutionResponse,
|
|
1469
|
+
request:,
|
|
1470
|
+
rpc_options:
|
|
1471
|
+
)
|
|
1472
|
+
end
|
|
1473
|
+
|
|
1474
|
+
# Calls WorkflowService.DescribeActivityExecution API call.
|
|
1475
|
+
#
|
|
1476
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionRequest] API request.
|
|
1477
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1478
|
+
# @return [Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse] API response.
|
|
1479
|
+
def describe_activity_execution(request, rpc_options: nil)
|
|
1480
|
+
invoke_rpc(
|
|
1481
|
+
rpc: 'describe_activity_execution',
|
|
1482
|
+
request_class: Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionRequest,
|
|
1483
|
+
response_class: Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse,
|
|
1484
|
+
request:,
|
|
1485
|
+
rpc_options:
|
|
1486
|
+
)
|
|
1487
|
+
end
|
|
1488
|
+
|
|
1489
|
+
# Calls WorkflowService.PollActivityExecution API call.
|
|
1490
|
+
#
|
|
1491
|
+
# @param request [Temporalio::Api::WorkflowService::V1::PollActivityExecutionRequest] API request.
|
|
1492
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1493
|
+
# @return [Temporalio::Api::WorkflowService::V1::PollActivityExecutionResponse] API response.
|
|
1494
|
+
def poll_activity_execution(request, rpc_options: nil)
|
|
1495
|
+
invoke_rpc(
|
|
1496
|
+
rpc: 'poll_activity_execution',
|
|
1497
|
+
request_class: Temporalio::Api::WorkflowService::V1::PollActivityExecutionRequest,
|
|
1498
|
+
response_class: Temporalio::Api::WorkflowService::V1::PollActivityExecutionResponse,
|
|
1499
|
+
request:,
|
|
1500
|
+
rpc_options:
|
|
1501
|
+
)
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1504
|
+
# Calls WorkflowService.ListActivityExecutions API call.
|
|
1505
|
+
#
|
|
1506
|
+
# @param request [Temporalio::Api::WorkflowService::V1::ListActivityExecutionsRequest] API request.
|
|
1507
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1508
|
+
# @return [Temporalio::Api::WorkflowService::V1::ListActivityExecutionsResponse] API response.
|
|
1509
|
+
def list_activity_executions(request, rpc_options: nil)
|
|
1510
|
+
invoke_rpc(
|
|
1511
|
+
rpc: 'list_activity_executions',
|
|
1512
|
+
request_class: Temporalio::Api::WorkflowService::V1::ListActivityExecutionsRequest,
|
|
1513
|
+
response_class: Temporalio::Api::WorkflowService::V1::ListActivityExecutionsResponse,
|
|
1514
|
+
request:,
|
|
1515
|
+
rpc_options:
|
|
1516
|
+
)
|
|
1517
|
+
end
|
|
1518
|
+
|
|
1519
|
+
# Calls WorkflowService.CountActivityExecutions API call.
|
|
1520
|
+
#
|
|
1521
|
+
# @param request [Temporalio::Api::WorkflowService::V1::CountActivityExecutionsRequest] API request.
|
|
1522
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1523
|
+
# @return [Temporalio::Api::WorkflowService::V1::CountActivityExecutionsResponse] API response.
|
|
1524
|
+
def count_activity_executions(request, rpc_options: nil)
|
|
1525
|
+
invoke_rpc(
|
|
1526
|
+
rpc: 'count_activity_executions',
|
|
1527
|
+
request_class: Temporalio::Api::WorkflowService::V1::CountActivityExecutionsRequest,
|
|
1528
|
+
response_class: Temporalio::Api::WorkflowService::V1::CountActivityExecutionsResponse,
|
|
1529
|
+
request:,
|
|
1530
|
+
rpc_options:
|
|
1531
|
+
)
|
|
1532
|
+
end
|
|
1533
|
+
|
|
1534
|
+
# Calls WorkflowService.RequestCancelActivityExecution API call.
|
|
1535
|
+
#
|
|
1536
|
+
# @param request [Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionRequest] API request.
|
|
1537
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1538
|
+
# @return [Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionResponse] API response.
|
|
1539
|
+
def request_cancel_activity_execution(request, rpc_options: nil)
|
|
1540
|
+
invoke_rpc(
|
|
1541
|
+
rpc: 'request_cancel_activity_execution',
|
|
1542
|
+
request_class: Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionRequest,
|
|
1543
|
+
response_class: Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionResponse,
|
|
1544
|
+
request:,
|
|
1545
|
+
rpc_options:
|
|
1546
|
+
)
|
|
1547
|
+
end
|
|
1548
|
+
|
|
1549
|
+
# Calls WorkflowService.TerminateActivityExecution API call.
|
|
1550
|
+
#
|
|
1551
|
+
# @param request [Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionRequest] API request.
|
|
1552
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1553
|
+
# @return [Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionResponse] API response.
|
|
1554
|
+
def terminate_activity_execution(request, rpc_options: nil)
|
|
1555
|
+
invoke_rpc(
|
|
1556
|
+
rpc: 'terminate_activity_execution',
|
|
1557
|
+
request_class: Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionRequest,
|
|
1558
|
+
response_class: Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionResponse,
|
|
1559
|
+
request:,
|
|
1560
|
+
rpc_options:
|
|
1561
|
+
)
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
# Calls WorkflowService.DeleteActivityExecution API call.
|
|
1565
|
+
#
|
|
1566
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionRequest] API request.
|
|
1567
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
|
1568
|
+
# @return [Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionResponse] API response.
|
|
1569
|
+
def delete_activity_execution(request, rpc_options: nil)
|
|
1570
|
+
invoke_rpc(
|
|
1571
|
+
rpc: 'delete_activity_execution',
|
|
1572
|
+
request_class: Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionRequest,
|
|
1573
|
+
response_class: Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionResponse,
|
|
1574
|
+
request:,
|
|
1575
|
+
rpc_options:
|
|
1576
|
+
)
|
|
1577
|
+
end
|
|
1398
1578
|
end
|
|
1399
1579
|
end
|
|
1400
1580
|
end
|
|
@@ -154,8 +154,9 @@ module Temporalio
|
|
|
154
154
|
# +localhost:7233+.
|
|
155
155
|
# @param api_key [String, nil] API key for Temporal. This becomes the +Authorization+ HTTP header with +"Bearer "+
|
|
156
156
|
# prepended. This is only set if RPC metadata doesn't already have an +authorization+ key.
|
|
157
|
-
# @param tls [Boolean, TLSOptions] If false, do not use TLS. If true, use system default TLS options. If TLS
|
|
158
|
-
# options are present, those TLS options will be used.
|
|
157
|
+
# @param tls [Boolean, TLSOptions, nil] If false, do not use TLS. If true, use system default TLS options. If TLS
|
|
158
|
+
# options are present, those TLS options will be used. If nil (the default), TLS will be auto-enabled if
|
|
159
|
+
# api_key is provided.
|
|
159
160
|
# @param rpc_metadata [Hash<String, String>] Headers to use for all calls to the server. Keys here can be
|
|
160
161
|
# overriden by per-call RPC metadata keys.
|
|
161
162
|
# @param rpc_retry [RPCRetryOptions] Retry options for direct service calls (when opted in) or all high-level
|
|
@@ -168,19 +169,23 @@ module Temporalio
|
|
|
168
169
|
# @param lazy_connect [Boolean] If true, there is no connection until the first call is attempted or a worker
|
|
169
170
|
# is created with it. Clients from lazy connections cannot be used for workers if they have not performed a
|
|
170
171
|
# connection.
|
|
172
|
+
# @param around_connect [Proc, nil] If present, this proc accepts two values: options and a block. The block must
|
|
173
|
+
# be yielded to only once with the options. The block does not return a meaningful value, nor should
|
|
174
|
+
# around_connect.
|
|
171
175
|
#
|
|
172
176
|
# @see Client.connect
|
|
173
177
|
def initialize(
|
|
174
178
|
target_host:,
|
|
175
179
|
api_key: nil,
|
|
176
|
-
tls:
|
|
180
|
+
tls: nil,
|
|
177
181
|
rpc_metadata: {},
|
|
178
182
|
rpc_retry: RPCRetryOptions.new,
|
|
179
183
|
identity: "#{Process.pid}@#{Socket.gethostname}",
|
|
180
184
|
keep_alive: KeepAliveOptions.new,
|
|
181
185
|
http_connect_proxy: nil,
|
|
182
186
|
runtime: Runtime.default,
|
|
183
|
-
lazy_connect: false
|
|
187
|
+
lazy_connect: false,
|
|
188
|
+
around_connect: nil
|
|
184
189
|
)
|
|
185
190
|
@options = Options.new(
|
|
186
191
|
target_host:,
|
|
@@ -194,9 +199,19 @@ module Temporalio
|
|
|
194
199
|
runtime:,
|
|
195
200
|
lazy_connect:
|
|
196
201
|
).freeze
|
|
197
|
-
# Create core client now if not lazy
|
|
198
202
|
@core_client_mutex = Mutex.new
|
|
199
|
-
|
|
203
|
+
# Create core client now if not lazy, applying around_connect if present
|
|
204
|
+
if around_connect
|
|
205
|
+
# Technically around_connect can never run the block for whatever reason (i.e. plugin returning a mock
|
|
206
|
+
# connection), so we don't enforce it
|
|
207
|
+
around_connect.call(@options) do |options|
|
|
208
|
+
@options = options
|
|
209
|
+
_core_client unless lazy_connect
|
|
210
|
+
nil
|
|
211
|
+
end
|
|
212
|
+
else
|
|
213
|
+
_core_client unless lazy_connect
|
|
214
|
+
end
|
|
200
215
|
# Create service instances
|
|
201
216
|
@workflow_service = WorkflowService.new(self)
|
|
202
217
|
@operator_service = OperatorService.new(self)
|
|
@@ -285,13 +300,17 @@ module Temporalio
|
|
|
285
300
|
),
|
|
286
301
|
identity: @options.identity || "#{Process.pid}@#{Socket.gethostname}"
|
|
287
302
|
)
|
|
288
|
-
|
|
289
|
-
|
|
303
|
+
# Auto-enable TLS when API key is provided and tls not explicitly set
|
|
304
|
+
tls = @options.tls
|
|
305
|
+
tls = true if tls.nil? && @options.api_key
|
|
306
|
+
|
|
307
|
+
if tls
|
|
308
|
+
options.tls = if tls.is_a?(TLSOptions)
|
|
290
309
|
Internal::Bridge::Client::TLSOptions.new(
|
|
291
|
-
client_cert:
|
|
292
|
-
client_private_key:
|
|
293
|
-
server_root_ca_cert:
|
|
294
|
-
domain:
|
|
310
|
+
client_cert: tls.client_cert, # steep:ignore
|
|
311
|
+
client_private_key: tls.client_private_key, # steep:ignore
|
|
312
|
+
server_root_ca_cert: tls.server_root_ca_cert, # steep:ignore
|
|
313
|
+
domain: tls.domain # steep:ignore
|
|
295
314
|
)
|
|
296
315
|
else
|
|
297
316
|
Internal::Bridge::Client::TLSOptions.new
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Temporalio
|
|
4
|
+
class Client
|
|
5
|
+
# Plugin mixin to include for configuring clients and/or intercepting connect calls.
|
|
6
|
+
#
|
|
7
|
+
# This is a low-level implementation that requires abstract methods herein to be implemented. Many implementers may
|
|
8
|
+
# prefer {SimplePlugin} which includes this.
|
|
9
|
+
#
|
|
10
|
+
# WARNING: Plugins are experimental.
|
|
11
|
+
module Plugin
|
|
12
|
+
# @abstract
|
|
13
|
+
# @return [String] Name of the plugin.
|
|
14
|
+
def name
|
|
15
|
+
raise NotImplementedError
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# Configure a client.
|
|
19
|
+
#
|
|
20
|
+
# @abstract
|
|
21
|
+
# @param options [Options] Current immutable options set.
|
|
22
|
+
# @return [Options] Options to use, possibly updated from original.
|
|
23
|
+
def configure_client(options)
|
|
24
|
+
raise NotImplementedError
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Connect a client.
|
|
28
|
+
#
|
|
29
|
+
# Implementers are expected to delegate to next_call to perform the connection. Note, this does not apply to users
|
|
30
|
+
# explicitly creating connections via {Connection} constructor.
|
|
31
|
+
#
|
|
32
|
+
# @abstract
|
|
33
|
+
# @param options [Connection::Options] Current immutable options set.
|
|
34
|
+
# @param next_call [Proc] Proc for the next plugin in the chain to call. It accepts the options and returns a
|
|
35
|
+
# {Connection}.
|
|
36
|
+
# @return [Connection] Connected connection.
|
|
37
|
+
def connect_client(options, next_call)
|
|
38
|
+
raise NotImplementedError
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|