UNPKG

@temporalio/proto

Version:
1,856 lines (1,853 loc) 732 kB
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ "use strict"; var $protobuf = require("protobufjs/light"); var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $protobuf.Root())) .addJSON({ coresdk: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::CoreInterface" }, nested: { ActivityHeartbeat: { fields: { taskToken: { type: "bytes", id: 1 }, details: { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 2 } } }, ActivityTaskCompletion: { fields: { taskToken: { type: "bytes", id: 1 }, result: { type: "activity_result.ActivityExecutionResult", id: 2 } } }, WorkflowSlotInfo: { fields: { workflowType: { type: "string", id: 1 }, isSticky: { type: "bool", id: 2 } } }, ActivitySlotInfo: { fields: { activityType: { type: "string", id: 1 } } }, LocalActivitySlotInfo: { fields: { activityType: { type: "string", id: 1 } } }, NexusSlotInfo: { fields: { service: { type: "string", id: 1 }, operation: { type: "string", id: 2 } } }, activity_result: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::ActivityResult" }, nested: { ActivityExecutionResult: { oneofs: { status: { oneof: [ "completed", "failed", "cancelled", "willCompleteAsync" ] } }, fields: { completed: { type: "Success", id: 1 }, failed: { type: "Failure", id: 2 }, cancelled: { type: "Cancellation", id: 3 }, willCompleteAsync: { type: "WillCompleteAsync", id: 4 } } }, ActivityResolution: { oneofs: { status: { oneof: [ "completed", "failed", "cancelled", "backoff" ] } }, fields: { completed: { type: "Success", id: 1 }, failed: { type: "Failure", id: 2 }, cancelled: { type: "Cancellation", id: 3 }, backoff: { type: "DoBackoff", id: 4 } } }, Success: { fields: { result: { type: "temporal.api.common.v1.Payload", id: 1 } } }, Failure: { fields: { failure: { type: "temporal.api.failure.v1.Failure", id: 1 } } }, Cancellation: { fields: { failure: { type: "temporal.api.failure.v1.Failure", id: 1 } } }, WillCompleteAsync: { fields: {} }, DoBackoff: { fields: { attempt: { type: "uint32", id: 1 }, backoffDuration: { type: "google.protobuf.Duration", id: 2 }, originalScheduleTime: { type: "google.protobuf.Timestamp", id: 3 } } } } }, activity_task: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::ActivityTask" }, nested: { ActivityTask: { oneofs: { variant: { oneof: [ "start", "cancel" ] } }, fields: { taskToken: { type: "bytes", id: 1 }, start: { type: "Start", id: 3 }, cancel: { type: "Cancel", id: 4 } } }, Start: { fields: { workflowNamespace: { type: "string", id: 1 }, workflowType: { type: "string", id: 2 }, workflowExecution: { type: "temporal.api.common.v1.WorkflowExecution", id: 3 }, activityId: { type: "string", id: 4 }, activityType: { type: "string", id: 5 }, headerFields: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 6 }, input: { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 7 }, heartbeatDetails: { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 8 }, scheduledTime: { type: "google.protobuf.Timestamp", id: 9 }, currentAttemptScheduledTime: { type: "google.protobuf.Timestamp", id: 10 }, startedTime: { type: "google.protobuf.Timestamp", id: 11 }, attempt: { type: "uint32", id: 12 }, scheduleToCloseTimeout: { type: "google.protobuf.Duration", id: 13 }, startToCloseTimeout: { type: "google.protobuf.Duration", id: 14 }, heartbeatTimeout: { type: "google.protobuf.Duration", id: 15 }, retryPolicy: { type: "temporal.api.common.v1.RetryPolicy", id: 16 }, priority: { type: "temporal.api.common.v1.Priority", id: 18 }, isLocal: { type: "bool", id: 17 } } }, Cancel: { fields: { reason: { type: "ActivityCancelReason", id: 1 }, details: { type: "ActivityCancellationDetails", id: 2 } } }, ActivityCancellationDetails: { fields: { isNotFound: { type: "bool", id: 1 }, isCancelled: { type: "bool", id: 2 }, isPaused: { type: "bool", id: 3 }, isTimedOut: { type: "bool", id: 4 }, isWorkerShutdown: { type: "bool", id: 5 }, isReset: { type: "bool", id: 6 } } }, ActivityCancelReason: { values: { NOT_FOUND: 0, CANCELLED: 1, TIMED_OUT: 2, WORKER_SHUTDOWN: 3, PAUSED: 4, RESET: 5 } } } }, common: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::Common" }, nested: { NamespacedWorkflowExecution: { fields: { namespace: { type: "string", id: 1 }, workflowId: { type: "string", id: 2 }, runId: { type: "string", id: 3 } } }, VersioningIntent: { values: { UNSPECIFIED: 0, COMPATIBLE: 1, DEFAULT: 2 } }, WorkerDeploymentVersion: { fields: { deploymentName: { type: "string", id: 1 }, buildId: { type: "string", id: 2 } } } } }, external_data: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::ExternalData" }, nested: { LocalActivityMarkerData: { fields: { seq: { type: "uint32", id: 1 }, attempt: { type: "uint32", id: 2 }, activityId: { type: "string", id: 3 }, activityType: { type: "string", id: 4 }, completeTime: { type: "google.protobuf.Timestamp", id: 5 }, backoff: { type: "google.protobuf.Duration", id: 6 }, originalScheduleTime: { type: "google.protobuf.Timestamp", id: 7 } } }, PatchedMarkerData: { fields: { id: { type: "string", id: 1 }, deprecated: { type: "bool", id: 2 } } } } }, workflow_activation: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::WorkflowActivation" }, nested: { WorkflowActivation: { fields: { runId: { type: "string", id: 1 }, timestamp: { type: "google.protobuf.Timestamp", id: 2 }, isReplaying: { type: "bool", id: 3 }, historyLength: { type: "uint32", id: 4 }, jobs: { rule: "repeated", type: "WorkflowActivationJob", id: 5 }, availableInternalFlags: { rule: "repeated", type: "uint32", id: 6 }, historySizeBytes: { type: "uint64", id: 7 }, continueAsNewSuggested: { type: "bool", id: 8 }, deploymentVersionForCurrentTask: { type: "common.WorkerDeploymentVersion", id: 9 } } }, WorkflowActivationJob: { oneofs: { variant: { oneof: [ "initializeWorkflow", "fireTimer", "updateRandomSeed", "queryWorkflow", "cancelWorkflow", "signalWorkflow", "resolveActivity", "notifyHasPatch", "resolveChildWorkflowExecutionStart", "resolveChildWorkflowExecution", "resolveSignalExternalWorkflow", "resolveRequestCancelExternalWorkflow", "doUpdate", "resolveNexusOperationStart", "resolveNexusOperation", "removeFromCache" ] } }, fields: { initializeWorkflow: { type: "InitializeWorkflow", id: 1 }, fireTimer: { type: "FireTimer", id: 2 }, updateRandomSeed: { type: "UpdateRandomSeed", id: 4 }, queryWorkflow: { type: "QueryWorkflow", id: 5 }, cancelWorkflow: { type: "CancelWorkflow", id: 6 }, signalWorkflow: { type: "SignalWorkflow", id: 7 }, resolveActivity: { type: "ResolveActivity", id: 8 }, notifyHasPatch: { type: "NotifyHasPatch", id: 9 }, resolveChildWorkflowExecutionStart: { type: "ResolveChildWorkflowExecutionStart", id: 10 }, resolveChildWorkflowExecution: { type: "ResolveChildWorkflowExecution", id: 11 }, resolveSignalExternalWorkflow: { type: "ResolveSignalExternalWorkflow", id: 12 }, resolveRequestCancelExternalWorkflow: { type: "ResolveRequestCancelExternalWorkflow", id: 13 }, doUpdate: { type: "DoUpdate", id: 14 }, resolveNexusOperationStart: { type: "ResolveNexusOperationStart", id: 15 }, resolveNexusOperation: { type: "ResolveNexusOperation", id: 16 }, removeFromCache: { type: "RemoveFromCache", id: 50 } } }, InitializeWorkflow: { fields: { workflowType: { type: "string", id: 1 }, workflowId: { type: "string", id: 2 }, "arguments": { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 3 }, randomnessSeed: { type: "uint64", id: 4 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 5 }, identity: { type: "string", id: 6 }, parentWorkflowInfo: { type: "common.NamespacedWorkflowExecution", id: 7 }, workflowExecutionTimeout: { type: "google.protobuf.Duration", id: 8 }, workflowRunTimeout: { type: "google.protobuf.Duration", id: 9 }, workflowTaskTimeout: { type: "google.protobuf.Duration", id: 10 }, continuedFromExecutionRunId: { type: "string", id: 11 }, continuedInitiator: { type: "temporal.api.enums.v1.ContinueAsNewInitiator", id: 12 }, continuedFailure: { type: "temporal.api.failure.v1.Failure", id: 13 }, lastCompletionResult: { type: "temporal.api.common.v1.Payloads", id: 14 }, firstExecutionRunId: { type: "string", id: 15 }, retryPolicy: { type: "temporal.api.common.v1.RetryPolicy", id: 16 }, attempt: { type: "int32", id: 17 }, cronSchedule: { type: "string", id: 18 }, workflowExecutionExpirationTime: { type: "google.protobuf.Timestamp", id: 19 }, cronScheduleToScheduleInterval: { type: "google.protobuf.Duration", id: 20 }, memo: { type: "temporal.api.common.v1.Memo", id: 21 }, searchAttributes: { type: "temporal.api.common.v1.SearchAttributes", id: 22 }, startTime: { type: "google.protobuf.Timestamp", id: 23 }, rootWorkflow: { type: "temporal.api.common.v1.WorkflowExecution", id: 24 }, priority: { type: "temporal.api.common.v1.Priority", id: 25 } } }, FireTimer: { fields: { seq: { type: "uint32", id: 1 } } }, ResolveActivity: { fields: { seq: { type: "uint32", id: 1 }, result: { type: "activity_result.ActivityResolution", id: 2 }, isLocal: { type: "bool", id: 3 } } }, ResolveChildWorkflowExecutionStart: { oneofs: { status: { oneof: [ "succeeded", "failed", "cancelled" ] } }, fields: { seq: { type: "uint32", id: 1 }, succeeded: { type: "ResolveChildWorkflowExecutionStartSuccess", id: 2 }, failed: { type: "ResolveChildWorkflowExecutionStartFailure", id: 3 }, cancelled: { type: "ResolveChildWorkflowExecutionStartCancelled", id: 4 } } }, ResolveChildWorkflowExecutionStartSuccess: { fields: { runId: { type: "string", id: 1 } } }, ResolveChildWorkflowExecutionStartFailure: { fields: { workflowId: { type: "string", id: 1 }, workflowType: { type: "string", id: 2 }, cause: { type: "child_workflow.StartChildWorkflowExecutionFailedCause", id: 3 } } }, ResolveChildWorkflowExecutionStartCancelled: { fields: { failure: { type: "temporal.api.failure.v1.Failure", id: 1 } } }, ResolveChildWorkflowExecution: { fields: { seq: { type: "uint32", id: 1 }, result: { type: "child_workflow.ChildWorkflowResult", id: 2 } } }, UpdateRandomSeed: { fields: { randomnessSeed: { type: "uint64", id: 1 } } }, QueryWorkflow: { fields: { queryId: { type: "string", id: 1 }, queryType: { type: "string", id: 2 }, "arguments": { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 3 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 5 } } }, CancelWorkflow: { fields: { reason: { type: "string", id: 1 } } }, SignalWorkflow: { fields: { signalName: { type: "string", id: 1 }, input: { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 2 }, identity: { type: "string", id: 3 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 5 } } }, NotifyHasPatch: { fields: { patchId: { type: "string", id: 1 } } }, ResolveSignalExternalWorkflow: { fields: { seq: { type: "uint32", id: 1 }, failure: { type: "temporal.api.failure.v1.Failure", id: 2 } } }, ResolveRequestCancelExternalWorkflow: { fields: { seq: { type: "uint32", id: 1 }, failure: { type: "temporal.api.failure.v1.Failure", id: 2 } } }, DoUpdate: { fields: { id: { type: "string", id: 1 }, protocolInstanceId: { type: "string", id: 2 }, name: { type: "string", id: 3 }, input: { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 4 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 5 }, meta: { type: "temporal.api.update.v1.Meta", id: 6 }, runValidator: { type: "bool", id: 7 } } }, ResolveNexusOperationStart: { oneofs: { status: { oneof: [ "operationToken", "startedSync", "cancelledBeforeStart" ] } }, fields: { seq: { type: "uint32", id: 1 }, operationToken: { type: "string", id: 2 }, startedSync: { type: "bool", id: 3 }, cancelledBeforeStart: { type: "temporal.api.failure.v1.Failure", id: 4 } } }, ResolveNexusOperation: { fields: { seq: { type: "uint32", id: 1 }, result: { type: "nexus.NexusOperationResult", id: 2 } } }, RemoveFromCache: { fields: { message: { type: "string", id: 1 }, reason: { type: "EvictionReason", id: 2 } }, nested: { EvictionReason: { values: { UNSPECIFIED: 0, CACHE_FULL: 1, CACHE_MISS: 2, NONDETERMINISM: 3, LANG_FAIL: 4, LANG_REQUESTED: 5, TASK_NOT_FOUND: 6, UNHANDLED_COMMAND: 7, FATAL: 8, PAGINATION_OR_HISTORY_FETCH: 9, WORKFLOW_EXECUTION_ENDING: 10 } } } } } }, child_workflow: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::ChildWorkflow" }, nested: { ChildWorkflowResult: { oneofs: { status: { oneof: [ "completed", "failed", "cancelled" ] } }, fields: { completed: { type: "Success", id: 1 }, failed: { type: "Failure", id: 2 }, cancelled: { type: "Cancellation", id: 3 } } }, Success: { fields: { result: { type: "temporal.api.common.v1.Payload", id: 1 } } }, Failure: { fields: { failure: { type: "temporal.api.failure.v1.Failure", id: 1 } } }, Cancellation: { fields: { failure: { type: "temporal.api.failure.v1.Failure", id: 1 } } }, ParentClosePolicy: { values: { PARENT_CLOSE_POLICY_UNSPECIFIED: 0, PARENT_CLOSE_POLICY_TERMINATE: 1, PARENT_CLOSE_POLICY_ABANDON: 2, PARENT_CLOSE_POLICY_REQUEST_CANCEL: 3 } }, StartChildWorkflowExecutionFailedCause: { values: { START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: 0, START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: 1 } }, ChildWorkflowCancellationType: { values: { ABANDON: 0, TRY_CANCEL: 1, WAIT_CANCELLATION_COMPLETED: 2, WAIT_CANCELLATION_REQUESTED: 3 } } } }, nexus: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::Nexus" }, nested: { NexusOperationResult: { oneofs: { status: { oneof: [ "completed", "failed", "cancelled", "timedOut" ] } }, fields: { completed: { type: "temporal.api.common.v1.Payload", id: 1 }, failed: { type: "temporal.api.failure.v1.Failure", id: 2 }, cancelled: { type: "temporal.api.failure.v1.Failure", id: 3 }, timedOut: { type: "temporal.api.failure.v1.Failure", id: 4 } } }, NexusTaskCompletion: { oneofs: { status: { oneof: [ "completed", "error", "ackCancel" ] } }, fields: { taskToken: { type: "bytes", id: 1 }, completed: { type: "temporal.api.nexus.v1.Response", id: 2 }, error: { type: "temporal.api.nexus.v1.HandlerError", id: 3 }, ackCancel: { type: "bool", id: 4 } } }, NexusTask: { oneofs: { variant: { oneof: [ "task", "cancelTask" ] } }, fields: { task: { type: "temporal.api.workflowservice.v1.PollNexusTaskQueueResponse", id: 1 }, cancelTask: { type: "CancelNexusTask", id: 2 } } }, CancelNexusTask: { fields: { taskToken: { type: "bytes", id: 1 }, reason: { type: "NexusTaskCancelReason", id: 2 } } }, NexusTaskCancelReason: { values: { TIMED_OUT: 0, WORKER_SHUTDOWN: 1 } }, NexusOperationCancellationType: { values: { WAIT_CANCELLATION_COMPLETED: 0, ABANDON: 1, TRY_CANCEL: 2, WAIT_CANCELLATION_REQUESTED: 3 } } } }, workflow_commands: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::WorkflowCommands" }, nested: { WorkflowCommand: { oneofs: { variant: { oneof: [ "startTimer", "scheduleActivity", "respondToQuery", "requestCancelActivity", "cancelTimer", "completeWorkflowExecution", "failWorkflowExecution", "continueAsNewWorkflowExecution", "cancelWorkflowExecution", "setPatchMarker", "startChildWorkflowExecution", "cancelChildWorkflowExecution", "requestCancelExternalWorkflowExecution", "signalExternalWorkflowExecution", "cancelSignalWorkflow", "scheduleLocalActivity", "requestCancelLocalActivity", "upsertWorkflowSearchAttributes", "modifyWorkflowProperties", "updateResponse", "scheduleNexusOperation", "requestCancelNexusOperation" ] } }, fields: { userMetadata: { type: "temporal.api.sdk.v1.UserMetadata", id: 100 }, startTimer: { type: "StartTimer", id: 1 }, scheduleActivity: { type: "ScheduleActivity", id: 2 }, respondToQuery: { type: "QueryResult", id: 3 }, requestCancelActivity: { type: "RequestCancelActivity", id: 4 }, cancelTimer: { type: "CancelTimer", id: 5 }, completeWorkflowExecution: { type: "CompleteWorkflowExecution", id: 6 }, failWorkflowExecution: { type: "FailWorkflowExecution", id: 7 }, continueAsNewWorkflowExecution: { type: "ContinueAsNewWorkflowExecution", id: 8 }, cancelWorkflowExecution: { type: "CancelWorkflowExecution", id: 9 }, setPatchMarker: { type: "SetPatchMarker", id: 10 }, startChildWorkflowExecution: { type: "StartChildWorkflowExecution", id: 11 }, cancelChildWorkflowExecution: { type: "CancelChildWorkflowExecution", id: 12 }, requestCancelExternalWorkflowExecution: { type: "RequestCancelExternalWorkflowExecution", id: 13 }, signalExternalWorkflowExecution: { type: "SignalExternalWorkflowExecution", id: 14 }, cancelSignalWorkflow: { type: "CancelSignalWorkflow", id: 15 }, scheduleLocalActivity: { type: "ScheduleLocalActivity", id: 16 }, requestCancelLocalActivity: { type: "RequestCancelLocalActivity", id: 17 }, upsertWorkflowSearchAttributes: { type: "UpsertWorkflowSearchAttributes", id: 18 }, modifyWorkflowProperties: { type: "ModifyWorkflowProperties", id: 19 }, updateResponse: { type: "UpdateResponse", id: 20 }, scheduleNexusOperation: { type: "ScheduleNexusOperation", id: 21 }, requestCancelNexusOperation: { type: "RequestCancelNexusOperation", id: 22 } } }, StartTimer: { fields: { seq: { type: "uint32", id: 1 }, startToFireTimeout: { type: "google.protobuf.Duration", id: 2 } } }, CancelTimer: { fields: { seq: { type: "uint32", id: 1 } } }, ScheduleActivity: { fields: { seq: { type: "uint32", id: 1 }, activityId: { type: "string", id: 2 }, activityType: { type: "string", id: 3 }, taskQueue: { type: "string", id: 5 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 6 }, "arguments": { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 7 }, scheduleToCloseTimeout: { type: "google.protobuf.Duration", id: 8 }, scheduleToStartTimeout: { type: "google.protobuf.Duration", id: 9 }, startToCloseTimeout: { type: "google.protobuf.Duration", id: 10 }, heartbeatTimeout: { type: "google.protobuf.Duration", id: 11 }, retryPolicy: { type: "temporal.api.common.v1.RetryPolicy", id: 12 }, cancellationType: { type: "ActivityCancellationType", id: 13 }, doNotEagerlyExecute: { type: "bool", id: 14 }, versioningIntent: { type: "coresdk.common.VersioningIntent", id: 15 }, priority: { type: "temporal.api.common.v1.Priority", id: 16 } } }, ScheduleLocalActivity: { fields: { seq: { type: "uint32", id: 1 }, activityId: { type: "string", id: 2 }, activityType: { type: "string", id: 3 }, attempt: { type: "uint32", id: 4 }, originalScheduleTime: { type: "google.protobuf.Timestamp", id: 5 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 6 }, "arguments": { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 7 }, scheduleToCloseTimeout: { type: "google.protobuf.Duration", id: 8 }, scheduleToStartTimeout: { type: "google.protobuf.Duration", id: 9 }, startToCloseTimeout: { type: "google.protobuf.Duration", id: 10 }, retryPolicy: { type: "temporal.api.common.v1.RetryPolicy", id: 11 }, localRetryThreshold: { type: "google.protobuf.Duration", id: 12 }, cancellationType: { type: "ActivityCancellationType", id: 13 } } }, ActivityCancellationType: { values: { TRY_CANCEL: 0, WAIT_CANCELLATION_COMPLETED: 1, ABANDON: 2 } }, RequestCancelActivity: { fields: { seq: { type: "uint32", id: 1 } } }, RequestCancelLocalActivity: { fields: { seq: { type: "uint32", id: 1 } } }, QueryResult: { oneofs: { variant: { oneof: [ "succeeded", "failed" ] } }, fields: { queryId: { type: "string", id: 1 }, succeeded: { type: "QuerySuccess", id: 2 }, failed: { type: "temporal.api.failure.v1.Failure", id: 3 } } }, QuerySuccess: { fields: { response: { type: "temporal.api.common.v1.Payload", id: 1 } } }, CompleteWorkflowExecution: { fields: { result: { type: "temporal.api.common.v1.Payload", id: 1 } } }, FailWorkflowExecution: { fields: { failure: { type: "temporal.api.failure.v1.Failure", id: 1 } } }, ContinueAsNewWorkflowExecution: { fields: { workflowType: { type: "string", id: 1 }, taskQueue: { type: "string", id: 2 }, "arguments": { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 3 }, workflowRunTimeout: { type: "google.protobuf.Duration", id: 4 }, workflowTaskTimeout: { type: "google.protobuf.Duration", id: 5 }, memo: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 6 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 7 }, searchAttributes: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 8 }, retryPolicy: { type: "temporal.api.common.v1.RetryPolicy", id: 9 }, versioningIntent: { type: "coresdk.common.VersioningIntent", id: 10 } } }, CancelWorkflowExecution: { fields: {} }, SetPatchMarker: { fields: { patchId: { type: "string", id: 1 }, deprecated: { type: "bool", id: 2 } } }, StartChildWorkflowExecution: { fields: { seq: { type: "uint32", id: 1 }, namespace: { type: "string", id: 2 }, workflowId: { type: "string", id: 3 }, workflowType: { type: "string", id: 4 }, taskQueue: { type: "string", id: 5 }, input: { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 6 }, workflowExecutionTimeout: { type: "google.protobuf.Duration", id: 7 }, workflowRunTimeout: { type: "google.protobuf.Duration", id: 8 }, workflowTaskTimeout: { type: "google.protobuf.Duration", id: 9 }, parentClosePolicy: { type: "child_workflow.ParentClosePolicy", id: 10 }, workflowIdReusePolicy: { type: "temporal.api.enums.v1.WorkflowIdReusePolicy", id: 12 }, retryPolicy: { type: "temporal.api.common.v1.RetryPolicy", id: 13 }, cronSchedule: { type: "string", id: 14 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 15 }, memo: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 16 }, searchAttributes: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 17 }, cancellationType: { type: "child_workflow.ChildWorkflowCancellationType", id: 18 }, versioningIntent: { type: "coresdk.common.VersioningIntent", id: 19 }, priority: { type: "temporal.api.common.v1.Priority", id: 20 } } }, CancelChildWorkflowExecution: { fields: { childWorkflowSeq: { type: "uint32", id: 1 }, reason: { type: "string", id: 2 } } }, RequestCancelExternalWorkflowExecution: { fields: { seq: { type: "uint32", id: 1 }, workflowExecution: { type: "common.NamespacedWorkflowExecution", id: 2 }, reason: { type: "string", id: 3 } } }, SignalExternalWorkflowExecution: { oneofs: { target: { oneof: [ "workflowExecution", "childWorkflowId" ] } }, fields: { seq: { type: "uint32", id: 1 }, workflowExecution: { type: "common.NamespacedWorkflowExecution", id: 2 }, childWorkflowId: { type: "string", id: 3 }, signalName: { type: "string", id: 4 }, args: { rule: "repeated", type: "temporal.api.common.v1.Payload", id: 5 }, headers: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 6 } } }, CancelSignalWorkflow: { fields: { seq: { type: "uint32", id: 1 } } }, UpsertWorkflowSearchAttributes: { fields: { searchAttributes: { keyType: "string", type: "temporal.api.common.v1.Payload", id: 1 } } }, ModifyWorkflowProperties: { fields: { upsertedMemo: { type: "temporal.api.common.v1.Memo", id: 1 } } }, UpdateResponse: { oneofs: { response: { oneof: [ "accepted", "rejected", "completed" ] } }, fields: { protocolInstanceId: { type: "string", id: 1 }, accepted: { type: "google.protobuf.Empty", id: 2 }, rejected: { type: "temporal.api.failure.v1.Failure", id: 3 }, completed: { type: "temporal.api.common.v1.Payload", id: 4 } } }, ScheduleNexusOperation: { fields: { seq: { type: "uint32", id: 1 }, endpoint: { type: "string", id: 2 }, service: { type: "string", id: 3 }, operation: { type: "string", id: 4 }, input: { type: "temporal.api.common.v1.Payload", id: 5 }, scheduleToCloseTimeout: { type: "google.protobuf.Duration", id: 6 }, nexusHeader: { keyType: "string", type: "string", id: 7 }, cancellationType: { type: "nexus.NexusOperationCancellationType", id: 8 } } }, RequestCancelNexusOperation: { fields: { seq: { type: "uint32", id: 1 } } } } }, workflow_completion: { options: { ruby_package: "Temporalio::Internal::Bridge::Api::WorkflowCompletion" }, nested: { WorkflowActivationCompletion: { oneofs: { status: { oneof: [ "successful", "failed" ] } }, fields: { runId: { type: "string", id: 1 }, successful: { type: "Success", id: 2 }, failed: { type: "Failure", id: 3 } } },