temporalio 1.5.0 → 1.6.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 +1461 -621
- data/Cargo.toml +1 -1
- data/Gemfile +6 -5
- data/README.md +42 -1
- data/ext/Cargo.toml +9 -3
- data/lib/temporalio/api/activity/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/billing/v1/message.rb +2 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +17 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
- data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/namespace/v1/message.rb +5 -1
- data/lib/temporalio/api/command/v1/message.rb +2 -1
- data/lib/temporalio/api/common/v1/message.rb +5 -1
- data/lib/temporalio/api/deployment/v1/message.rb +3 -1
- data/lib/temporalio/api/history/v1/message.rb +3 -1
- data/lib/temporalio/api/namespace/v1/message.rb +1 -1
- data/lib/temporalio/api/nexus/v1/message.rb +1 -1
- data/lib/temporalio/api/nexusannotations/v1/options.rb +20 -0
- data/lib/temporalio/api/payload_visitor.rb +32 -0
- data/lib/temporalio/api/schedule/v1/message.rb +1 -1
- data/lib/temporalio/api/sdk/v1/event_group_marker.rb +26 -0
- data/lib/temporalio/api/update/v1/message.rb +1 -1
- data/lib/temporalio/api/workflow/v1/message.rb +3 -2
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +11 -1
- data/lib/temporalio/api/workflowservice/v1/service.rb +3 -2
- data/lib/temporalio/client/connection/cloud_service.rb +120 -0
- data/lib/temporalio/client/connection/workflow_service.rb +75 -0
- data/lib/temporalio/client/connection.rb +37 -2
- data/lib/temporalio/client.rb +10 -5
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +1 -1
- data/lib/temporalio/internal/bridge/client.rb +6 -1
- data/lib/temporalio/internal/bridge.rb +20 -0
- data/lib/temporalio/internal/google_protobuf.rb +11 -0
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
- data/lib/temporalio/internal/worker/workflow_instance/details.rb +3 -1
- data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +73 -2
- data/lib/temporalio/internal/worker/workflow_instance.rb +36 -6
- data/lib/temporalio/internal/worker/workflow_worker.rb +10 -2
- data/lib/temporalio/internal/workflow_task_failure_error.rb +9 -0
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/activity_executor/fiber.rb +1 -1
- data/lib/temporalio/worker/activity_executor/thread_pool.rb +1 -1
- data/lib/temporalio/worker/illegal_workflow_call_validator.rb +3 -1
- data/lib/temporalio/worker/workflow_executor/thread_pool.rb +5 -1
- data/lib/temporalio/worker/workflow_replayer.rb +17 -4
- data/lib/temporalio/worker.rb +30 -5
- data/lib/temporalio/workflow/future.rb +5 -0
- data/lib/temporalio/workflow/nexus_operation_cancellation_type.rb +4 -2
- data/lib/temporalio/workflow.rb +8 -0
- data/rbi/google/protobuf.rbi +25 -0
- data/rbi/temporalio/activity/cancellation_details.rbi +33 -0
- data/rbi/temporalio/activity/complete_async_error.rbi +3 -0
- data/rbi/temporalio/activity/context.rbi +42 -0
- data/rbi/temporalio/activity/definition.rbi +74 -0
- data/rbi/temporalio/activity/info.rbi +112 -0
- data/rbi/temporalio/activity.rbi +3 -0
- data/rbi/temporalio/api/activity/v1/message.rbi +1453 -0
- data/rbi/temporalio/api/batch/v1/message.rbi +1283 -0
- data/rbi/temporalio/api/callback/v1/message.rbi +188 -0
- data/rbi/temporalio/api/cloud/account/v1/message.rbi +650 -0
- data/rbi/temporalio/api/cloud/auditlog/v1/message.rbi +318 -0
- data/rbi/temporalio/api/cloud/billing/v1/message.rbi +480 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +12454 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +709 -0
- data/rbi/temporalio/api/cloud/cloudservice.rbi +5 -0
- data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +403 -0
- data/rbi/temporalio/api/cloud/identity/v1/message.rbi +3072 -0
- data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +3659 -0
- data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +595 -0
- data/rbi/temporalio/api/cloud/operation/v1/message.rbi +244 -0
- data/rbi/temporalio/api/cloud/region/v1/message.rbi +166 -0
- data/rbi/temporalio/api/cloud/resource/v1/message.rbi +29 -0
- data/rbi/temporalio/api/cloud/sink/v1/message.rbi +438 -0
- data/rbi/temporalio/api/cloud/usage/v1/message.rbi +409 -0
- data/rbi/temporalio/api/command/v1/message.rbi +2655 -0
- data/rbi/temporalio/api/common/v1/grpc_status.rbi +92 -0
- data/rbi/temporalio/api/common/v1/message.rbi +2983 -0
- data/rbi/temporalio/api/compute/v1/config.rbi +421 -0
- data/rbi/temporalio/api/compute/v1/provider.rbi +125 -0
- data/rbi/temporalio/api/compute/v1/scaler.rbi +102 -0
- data/rbi/temporalio/api/deployment/v1/message.rbi +2340 -0
- data/rbi/temporalio/api/enums/v1/activity.rbi +62 -0
- data/rbi/temporalio/api/enums/v1/batch_operation.rbi +47 -0
- data/rbi/temporalio/api/enums/v1/command_type.rbi +36 -0
- data/rbi/temporalio/api/enums/v1/common.rbi +181 -0
- data/rbi/temporalio/api/enums/v1/deployment.rbi +80 -0
- data/rbi/temporalio/api/enums/v1/event_type.rbi +79 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +155 -0
- data/rbi/temporalio/api/enums/v1/namespace.rbi +58 -0
- data/rbi/temporalio/api/enums/v1/nexus.rbi +98 -0
- data/rbi/temporalio/api/enums/v1/query.rbi +40 -0
- data/rbi/temporalio/api/enums/v1/reset.rbi +60 -0
- data/rbi/temporalio/api/enums/v1/schedule.rbi +25 -0
- data/rbi/temporalio/api/enums/v1/task_queue.rbi +134 -0
- data/rbi/temporalio/api/enums/v1/update.rbi +39 -0
- data/rbi/temporalio/api/enums/v1/workflow.rbi +259 -0
- data/rbi/temporalio/api/errordetails/v1/message.rbi +1389 -0
- data/rbi/temporalio/api/export/v1/message.rbi +123 -0
- data/rbi/temporalio/api/failure/v1/message.rbi +1303 -0
- data/rbi/temporalio/api/filter/v1/message.rbi +267 -0
- data/rbi/temporalio/api/history/v1/message.rbi +10737 -0
- data/rbi/temporalio/api/namespace/v1/message.rbi +1044 -0
- data/rbi/temporalio/api/nexus/v1/message.rbi +2780 -0
- data/rbi/temporalio/api/nexusannotations/v1/options.rbi +161 -0
- data/rbi/temporalio/api/nexusservices/workerservice/v1/request_response.rbi +124 -0
- data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +1836 -0
- data/rbi/temporalio/api/operatorservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +143 -0
- data/rbi/temporalio/api/operatorservice.rbi +5 -0
- data/rbi/temporalio/api/payload_visitor.rbi +876 -0
- data/rbi/temporalio/api/protoc_gen_openapiv2/options/annotations.rbi +3 -0
- data/rbi/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbi +3482 -0
- data/rbi/temporalio/api/protocol/v1/message.rbi +139 -0
- data/rbi/temporalio/api/protometa/v1/annotations.rbi +97 -0
- data/rbi/temporalio/api/query/v1/message.rbi +288 -0
- data/rbi/temporalio/api/replication/v1/message.rbi +226 -0
- data/rbi/temporalio/api/rules/v1/message.rbi +492 -0
- data/rbi/temporalio/api/schedule/v1/message.rbi +2377 -0
- data/rbi/temporalio/api/sdk/v1/enhanced_stack_trace.rbi +478 -0
- data/rbi/temporalio/api/sdk/v1/event_group_marker.rbi +337 -0
- data/rbi/temporalio/api/sdk/v1/external_storage.rbi +85 -0
- data/rbi/temporalio/api/sdk/v1/task_complete_metadata.rbi +206 -0
- data/rbi/temporalio/api/sdk/v1/user_metadata.rbi +98 -0
- data/rbi/temporalio/api/sdk/v1/worker_config.rbi +255 -0
- data/rbi/temporalio/api/sdk/v1/workflow_metadata.rbi +297 -0
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +2460 -0
- data/rbi/temporalio/api/testservice/v1/request_response.rbi +380 -0
- data/rbi/temporalio/api/testservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/testservice/v1/service_services.rbi +100 -0
- data/rbi/temporalio/api/update/v1/message.rbi +800 -0
- data/rbi/temporalio/api/version/v1/message.rbi +281 -0
- data/rbi/temporalio/api/worker/v1/message.rbi +1565 -0
- data/rbi/temporalio/api/workflow/v1/message.rbi +5011 -0
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +30477 -0
- data/rbi/temporalio/api/workflowservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +1571 -0
- data/rbi/temporalio/api/workflowservice.rbi +5 -0
- data/rbi/temporalio/api.rbi +7 -0
- data/rbi/temporalio/cancellation.rbi +40 -0
- data/rbi/temporalio/client/activity_execution.rbi +134 -0
- data/rbi/temporalio/client/activity_execution_count.rbi +23 -0
- data/rbi/temporalio/client/activity_execution_status.rbi +11 -0
- data/rbi/temporalio/client/activity_handle.rbi +49 -0
- data/rbi/temporalio/client/activity_id_reference.rbi +24 -0
- data/rbi/temporalio/client/async_activity_handle.rbi +49 -0
- data/rbi/temporalio/client/connection/cloud_service.rbi +239 -0
- data/rbi/temporalio/client/connection/operator_service.rbi +47 -0
- data/rbi/temporalio/client/connection/service.rbi +19 -0
- data/rbi/temporalio/client/connection/test_service.rbi +29 -0
- data/rbi/temporalio/client/connection/workflow_service.rbi +377 -0
- data/rbi/temporalio/client/connection.rbi +284 -0
- data/rbi/temporalio/client/interceptor.rbi +1067 -0
- data/rbi/temporalio/client/pending_activity_state.rbi +9 -0
- data/rbi/temporalio/client/plugin.rbi +17 -0
- data/rbi/temporalio/client/schedule.rbi +677 -0
- data/rbi/temporalio/client/schedule_handle.rbi +40 -0
- data/rbi/temporalio/client/with_start_workflow_operation.rbi +126 -0
- data/rbi/temporalio/client/workflow_execution.rbi +62 -0
- data/rbi/temporalio/client/workflow_execution_count.rbi +23 -0
- data/rbi/temporalio/client/workflow_execution_status.rbi +11 -0
- data/rbi/temporalio/client/workflow_handle.rbi +148 -0
- data/rbi/temporalio/client/workflow_query_reject_condition.rbi +7 -0
- data/rbi/temporalio/client/workflow_update_handle.rbi +38 -0
- data/rbi/temporalio/client/workflow_update_wait_stage.rbi +7 -0
- data/rbi/temporalio/client.rbi +534 -0
- data/rbi/temporalio/common_enums.rbi +45 -0
- data/rbi/temporalio/contrib/open_telemetry.rbi +73 -0
- data/rbi/temporalio/converters/data_converter.rbi +44 -0
- data/rbi/temporalio/converters/failure_converter.rbi +20 -0
- data/rbi/temporalio/converters/payload_codec.rbi +11 -0
- data/rbi/temporalio/converters/payload_converter/binary_null.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/binary_plain.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/binary_protobuf.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/composite.rbi +20 -0
- data/rbi/temporalio/converters/payload_converter/encoding.rbi +14 -0
- data/rbi/temporalio/converters/payload_converter/json_plain.rbi +10 -0
- data/rbi/temporalio/converters/payload_converter/json_protobuf.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter.rbi +28 -0
- data/rbi/temporalio/converters/raw_value.rbi +11 -0
- data/rbi/temporalio/converters.rbi +3 -0
- data/rbi/temporalio/env_config.rbi +156 -0
- data/rbi/temporalio/error/failure.rbi +3 -0
- data/rbi/temporalio/error.rbi +313 -0
- data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +547 -0
- data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +705 -0
- data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +332 -0
- data/rbi/temporalio/internal/bridge/api/common/common.rbi +191 -0
- data/rbi/temporalio/internal/bridge/api/core_interface.rbi +567 -0
- data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +255 -0
- data/rbi/temporalio/internal/bridge/api/nexus/nexus.rbi +527 -0
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +2808 -0
- data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +3309 -0
- data/rbi/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbi +272 -0
- data/rbi/temporalio/internal/bridge/api.rbi +3 -0
- data/rbi/temporalio/internal/bridge/client.rbi +346 -0
- data/rbi/temporalio/internal/bridge/runtime.rbi +231 -0
- data/rbi/temporalio/internal/bridge/testing.rbi +109 -0
- data/rbi/temporalio/internal/bridge/worker.rbi +250 -0
- data/rbi/temporalio/internal/bridge.rbi +47 -0
- data/rbi/temporalio/internal/client/implementation.rbi +53 -0
- data/rbi/temporalio/internal/google_protobuf.rbi +8 -0
- data/rbi/temporalio/internal/metric.rbi +55 -0
- data/rbi/temporalio/internal/proto_utils.rbi +148 -0
- data/rbi/temporalio/internal/worker/activity_worker.rbi +108 -0
- data/rbi/temporalio/internal/worker/multi_runner.rbi +175 -0
- data/rbi/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbi +20 -0
- data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +290 -0
- data/rbi/temporalio/internal/worker/workflow_instance/details.rbi +87 -0
- data/rbi/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbi +14 -0
- data/rbi/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/handler_execution.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/handler_hash.rbi +24 -0
- data/rbi/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/inbound_implementation.rbi +21 -0
- data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +47 -0
- data/rbi/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbi +19 -0
- data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +43 -0
- data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbi +11 -0
- data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbi +15 -0
- data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +36 -0
- data/rbi/temporalio/internal/worker/workflow_instance.rbi +231 -0
- data/rbi/temporalio/internal/worker/workflow_worker.rbi +199 -0
- data/rbi/temporalio/internal/workflow_task_failure_error.rbi +3 -0
- data/rbi/temporalio/internal.rbi +3 -0
- data/rbi/temporalio/metric.rbi +56 -0
- data/rbi/temporalio/priority.rbi +38 -0
- data/rbi/temporalio/retry_policy.rbi +40 -0
- data/rbi/temporalio/runtime/metric_buffer.rbi +45 -0
- data/rbi/temporalio/runtime.rbi +185 -0
- data/rbi/temporalio/scoped_logger.rbi +50 -0
- data/rbi/temporalio/search_attributes.rbi +94 -0
- data/rbi/temporalio/simple_plugin.rbi +41 -0
- data/rbi/temporalio/testing/activity_environment.rbi +43 -0
- data/rbi/temporalio/testing/workflow_environment.rbi +116 -0
- data/rbi/temporalio/testing.rbi +3 -0
- data/rbi/temporalio/version.rbi +5 -0
- data/rbi/temporalio/versioning_override.rbi +13 -0
- data/rbi/temporalio/worker/activity_executor/fiber.rbi +20 -0
- data/rbi/temporalio/worker/activity_executor/thread_pool.rbi +20 -0
- data/rbi/temporalio/worker/activity_executor.rbi +20 -0
- data/rbi/temporalio/worker/deployment_options.rbi +23 -0
- data/rbi/temporalio/worker/illegal_workflow_call_validator.rbi +33 -0
- data/rbi/temporalio/worker/interceptor.rbi +489 -0
- data/rbi/temporalio/worker/plugin.rbi +49 -0
- data/rbi/temporalio/worker/poller_behavior.rbi +29 -0
- data/rbi/temporalio/worker/thread_pool.rbi +38 -0
- data/rbi/temporalio/worker/tuner.rbi +221 -0
- data/rbi/temporalio/worker/workflow_executor/thread_pool.rbi +15 -0
- data/rbi/temporalio/worker/workflow_executor.rbi +8 -0
- data/rbi/temporalio/worker/workflow_replayer.rbi +152 -0
- data/rbi/temporalio/worker.rbi +258 -0
- data/rbi/temporalio/worker_deployment_version.rbi +29 -0
- data/rbi/temporalio/workflow/activity_cancellation_type.rbi +7 -0
- data/rbi/temporalio/workflow/child_workflow_cancellation_type.rbi +8 -0
- data/rbi/temporalio/workflow/child_workflow_handle.rbi +27 -0
- data/rbi/temporalio/workflow/definition.rbi +305 -0
- data/rbi/temporalio/workflow/external_workflow_handle.rbi +24 -0
- data/rbi/temporalio/workflow/future.rbi +62 -0
- data/rbi/temporalio/workflow/handler_unfinished_policy.rbi +6 -0
- data/rbi/temporalio/workflow/info.rbi +100 -0
- data/rbi/temporalio/workflow/nexus_client.rbi +65 -0
- data/rbi/temporalio/workflow/nexus_operation_cancellation_type.rbi +8 -0
- data/rbi/temporalio/workflow/nexus_operation_handle.rbi +14 -0
- data/rbi/temporalio/workflow/parent_close_policy.rbi +8 -0
- data/rbi/temporalio/workflow/update_info.rbi +14 -0
- data/rbi/temporalio/workflow.rbi +393 -0
- data/rbi/temporalio/workflow_history.rbi +21 -0
- data/rbi/temporalio.rbi +5 -0
- data/sig/common.rbs +1 -0
- data/sig/google/protobuf_compat.rbs +17 -0
- data/sig/open_telemetry.rbs +47 -0
- data/sig/temporalio/activity/cancellation_details.rbs +21 -0
- data/sig/temporalio/activity/complete_async_error.rbs +6 -0
- data/sig/temporalio/activity/context.rbs +26 -0
- data/sig/temporalio/activity/definition.rbs +60 -0
- data/sig/temporalio/activity/info.rbs +57 -0
- data/sig/temporalio/activity.rbs +4 -0
- data/sig/temporalio/api/activity/v1/message.rbs +708 -0
- data/sig/temporalio/api/batch/v1/message.rbs +594 -0
- data/sig/temporalio/api/callback/v1/message.rbs +112 -0
- data/sig/temporalio/api/cloud/account/v1/message.rbs +314 -0
- data/sig/temporalio/api/cloud/auditlog/v1/message.rbs +168 -0
- data/sig/temporalio/api/cloud/billing/v1/message.rbs +279 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +4726 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/service.rbs +25 -0
- data/sig/temporalio/api/cloud/cloudservice.rbs +8 -0
- data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +191 -0
- data/sig/temporalio/api/cloud/identity/v1/message.rbs +1372 -0
- data/sig/temporalio/api/cloud/namespace/v1/message.rbs +1571 -0
- data/sig/temporalio/api/cloud/nexus/v1/message.rbs +269 -0
- data/sig/temporalio/api/cloud/operation/v1/message.rbs +156 -0
- data/sig/temporalio/api/cloud/region/v1/message.rbs +109 -0
- data/sig/temporalio/api/cloud/resource/v1/message.rbs +61 -0
- data/sig/temporalio/api/cloud/sink/v1/message.rbs +207 -0
- data/sig/temporalio/api/cloud/usage/v1/message.rbs +230 -0
- data/sig/temporalio/api/command/v1/message.rbs +1211 -0
- data/sig/temporalio/api/common/v1/grpc_status.rbs +59 -0
- data/sig/temporalio/api/common/v1/message.rbs +1238 -0
- data/sig/temporalio/api/compute/v1/config.rbs +176 -0
- data/sig/temporalio/api/compute/v1/provider.rbs +73 -0
- data/sig/temporalio/api/compute/v1/scaler.rbs +60 -0
- data/sig/temporalio/api/deployment/v1/message.rbs +1063 -0
- data/sig/temporalio/api/enums/v1/activity.rbs +134 -0
- data/sig/temporalio/api/enums/v1/batch_operation.rbs +80 -0
- data/sig/temporalio/api/enums/v1/command_type.rbs +74 -0
- data/sig/temporalio/api/enums/v1/common.rbs +271 -0
- data/sig/temporalio/api/enums/v1/deployment.rbs +177 -0
- data/sig/temporalio/api/enums/v1/event_type.rbs +263 -0
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +281 -0
- data/sig/temporalio/api/enums/v1/namespace.rbs +87 -0
- data/sig/temporalio/api/enums/v1/nexus.rbs +172 -0
- data/sig/temporalio/api/enums/v1/query.rbs +69 -0
- data/sig/temporalio/api/enums/v1/reset.rbs +106 -0
- data/sig/temporalio/api/enums/v1/schedule.rbs +68 -0
- data/sig/temporalio/api/enums/v1/task_queue.rbs +238 -0
- data/sig/temporalio/api/enums/v1/update.rbs +87 -0
- data/sig/temporalio/api/enums/v1/workflow.rbs +435 -0
- data/sig/temporalio/api/errordetails/v1/message.rbs +532 -0
- data/sig/temporalio/api/export/v1/message.rbs +63 -0
- data/sig/temporalio/api/failure/v1/message.rbs +579 -0
- data/sig/temporalio/api/filter/v1/message.rbs +121 -0
- data/sig/temporalio/api/history/v1/message.rbs +4928 -0
- data/sig/temporalio/api/namespace/v1/message.rbs +465 -0
- data/sig/temporalio/api/nexus/v1/message.rbs +1268 -0
- data/sig/temporalio/api/nexusannotations/v1/options.rbs +76 -0
- data/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs +65 -0
- data/sig/temporalio/api/operatorservice/v1/request_response.rbs +679 -0
- data/sig/temporalio/api/operatorservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/operatorservice.rbs +6 -0
- data/sig/temporalio/api/payload_visitor.rbs +298 -0
- data/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs +23 -0
- data/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs +1691 -0
- data/sig/temporalio/api/protocol/v1/message.rbs +90 -0
- data/sig/temporalio/api/protometa/v1/annotations.rbs +62 -0
- data/sig/temporalio/api/query/v1/message.rbs +138 -0
- data/sig/temporalio/api/replication/v1/message.rbs +109 -0
- data/sig/temporalio/api/rules/v1/message.rbs +213 -0
- data/sig/temporalio/api/schedule/v1/message.rbs +1066 -0
- data/sig/temporalio/api/sdk/v1/enhanced_stack_trace.rbs +210 -0
- data/sig/temporalio/api/sdk/v1/event_group_marker.rbs +154 -0
- data/sig/temporalio/api/sdk/v1/external_storage.rbs +54 -0
- data/sig/temporalio/api/sdk/v1/task_complete_metadata.rbs +92 -0
- data/sig/temporalio/api/sdk/v1/user_metadata.rbs +58 -0
- data/sig/temporalio/api/sdk/v1/worker_config.rbs +122 -0
- data/sig/temporalio/api/sdk/v1/workflow_metadata.rbs +138 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +1013 -0
- data/sig/temporalio/api/testservice/v1/request_response.rbs +125 -0
- data/sig/temporalio/api/testservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/update/v1/message.rbs +349 -0
- data/sig/temporalio/api/version/v1/message.rbs +143 -0
- data/sig/temporalio/api/worker/v1/message.rbs +716 -0
- data/sig/temporalio/api/workflow/v1/message.rbs +2322 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +12735 -0
- data/sig/temporalio/api/workflowservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/workflowservice.rbs +6 -0
- data/sig/temporalio/api.rbs +4 -0
- data/sig/temporalio/cancellation.rbs +20 -0
- data/sig/temporalio/client/activity_execution.rbs +50 -0
- data/sig/temporalio/client/activity_execution_count.rbs +17 -0
- data/sig/temporalio/client/activity_execution_status.rbs +15 -0
- data/sig/temporalio/client/activity_handle.rbs +26 -0
- data/sig/temporalio/client/activity_id_reference.rbs +16 -0
- data/sig/temporalio/client/async_activity_handle.rbs +41 -0
- data/sig/temporalio/client/connection/cloud_service.rbs +315 -0
- data/sig/temporalio/client/connection/operator_service.rbs +59 -0
- data/sig/temporalio/client/connection/service.rbs +17 -0
- data/sig/temporalio/client/connection/test_service.rbs +35 -0
- data/sig/temporalio/client/connection/workflow_service.rbs +499 -0
- data/sig/temporalio/client/connection.rbs +143 -0
- data/sig/temporalio/client/interceptor.rbs +622 -0
- data/sig/temporalio/client/pending_activity_state.rbs +14 -0
- data/sig/temporalio/client/plugin.rbs +14 -0
- data/sig/temporalio/client/schedule.rbs +337 -0
- data/sig/temporalio/client/schedule_handle.rbs +44 -0
- data/sig/temporalio/client/with_start_workflow_operation.rbs +82 -0
- data/sig/temporalio/client/workflow_execution.rbs +37 -0
- data/sig/temporalio/client/workflow_execution_count.rbs +17 -0
- data/sig/temporalio/client/workflow_execution_status.rbs +16 -0
- data/sig/temporalio/client/workflow_handle.rbs +95 -0
- data/sig/temporalio/client/workflow_query_reject_condition.rbs +12 -0
- data/sig/temporalio/client/workflow_update_handle.rbs +26 -0
- data/sig/temporalio/client/workflow_update_wait_stage.rbs +12 -0
- data/sig/temporalio/client.rbs +271 -0
- data/sig/temporalio/common_enums.rbs +60 -0
- data/sig/temporalio/contrib/open_telemetry.rbs +74 -0
- data/sig/temporalio/converters/data_converter.rbs +32 -0
- data/sig/temporalio/converters/failure_converter.rbs +12 -0
- data/sig/temporalio/converters/payload_codec.rbs +8 -0
- data/sig/temporalio/converters/payload_converter/binary_null.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/binary_plain.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/binary_protobuf.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/composite.rbs +16 -0
- data/sig/temporalio/converters/payload_converter/encoding.rbs +13 -0
- data/sig/temporalio/converters/payload_converter/json_plain.rbs +14 -0
- data/sig/temporalio/converters/payload_converter/json_protobuf.rbs +9 -0
- data/sig/temporalio/converters/payload_converter.rbs +24 -0
- data/sig/temporalio/converters/raw_value.rbs +9 -0
- data/sig/temporalio/converters.rbs +4 -0
- data/sig/temporalio/env_config.rbs +86 -0
- data/sig/temporalio/error/failure.rbs +170 -0
- data/sig/temporalio/error.rbs +88 -0
- data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +247 -0
- data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +372 -0
- data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +207 -0
- data/sig/temporalio/internal/bridge/api/common/common.rbs +123 -0
- data/sig/temporalio/internal/bridge/api/core_interface.rbs +231 -0
- data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +134 -0
- data/sig/temporalio/internal/bridge/api/nexus/nexus.rbs +285 -0
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +1304 -0
- data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +1526 -0
- data/sig/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbs +136 -0
- data/sig/temporalio/internal/bridge/api.rbs +8 -0
- data/sig/temporalio/internal/bridge/client.rbs +144 -0
- data/sig/temporalio/internal/bridge/metric.rbs +28 -0
- data/sig/temporalio/internal/bridge/runtime.rbs +97 -0
- data/sig/temporalio/internal/bridge/testing.rbs +91 -0
- data/sig/temporalio/internal/bridge/worker.rbs +199 -0
- data/sig/temporalio/internal/bridge.rbs +36 -0
- data/sig/temporalio/internal/client/implementation.rbs +33 -0
- data/sig/temporalio/internal/google_protobuf.rbs +7 -0
- data/sig/temporalio/internal/metric.rbs +35 -0
- data/sig/temporalio/internal/proto_utils.rbs +94 -0
- data/sig/temporalio/internal/worker/activity_worker.rbs +64 -0
- data/sig/temporalio/internal/worker/multi_runner.rbs +132 -0
- data/sig/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbs +22 -0
- data/sig/temporalio/internal/worker/workflow_instance/context.rbs +172 -0
- data/sig/temporalio/internal/worker/workflow_instance/details.rbs +43 -0
- data/sig/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbs +15 -0
- data/sig/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbs +16 -0
- data/sig/temporalio/internal/worker/workflow_instance/handler_execution.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/handler_hash.rbs +14 -0
- data/sig/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbs +20 -0
- data/sig/temporalio/internal/worker/workflow_instance/inbound_implementation.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +25 -0
- data/sig/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +35 -0
- data/sig/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbs +16 -0
- data/sig/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbs +15 -0
- data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +52 -0
- data/sig/temporalio/internal/worker/workflow_instance.rbs +111 -0
- data/sig/temporalio/internal/worker/workflow_worker.rbs +99 -0
- data/sig/temporalio/internal/workflow_task_failure_error.rbs +6 -0
- data/sig/temporalio/internal.rbs +4 -0
- data/sig/temporalio/metric.rbs +55 -0
- data/sig/temporalio/priority.rbs +17 -0
- data/sig/temporalio/retry_policy.rbs +21 -0
- data/sig/temporalio/runtime/metric_buffer.rbs +49 -0
- data/sig/temporalio/runtime.rbs +118 -0
- data/sig/temporalio/scoped_logger.rbs +15 -0
- data/sig/temporalio/search_attributes.rbs +82 -0
- data/sig/temporalio/simple_plugin.rbs +65 -0
- data/sig/temporalio/testing/activity_environment.rbs +52 -0
- data/sig/temporalio/testing/workflow_environment.rbs +141 -0
- data/sig/temporalio/testing.rbs +4 -0
- data/sig/temporalio/version.rbs +3 -0
- data/sig/temporalio/versioning_override.rbs +17 -0
- data/sig/temporalio/worker/activity_executor/fiber.rbs +9 -0
- data/sig/temporalio/worker/activity_executor/thread_pool.rbs +11 -0
- data/sig/temporalio/worker/activity_executor.rbs +12 -0
- data/sig/temporalio/worker/deployment_options.rbs +17 -0
- data/sig/temporalio/worker/illegal_workflow_call_validator.rbs +25 -0
- data/sig/temporalio/worker/interceptor.rbs +373 -0
- data/sig/temporalio/worker/plugin.rbs +47 -0
- data/sig/temporalio/worker/poller_behavior.rbs +23 -0
- data/sig/temporalio/worker/thread_pool.rbs +44 -0
- data/sig/temporalio/worker/tuner.rbs +121 -0
- data/sig/temporalio/worker/workflow_executor/thread_pool.rbs +58 -0
- data/sig/temporalio/worker/workflow_executor.rbs +15 -0
- data/sig/temporalio/worker/workflow_replayer.rbs +105 -0
- data/sig/temporalio/worker.rbs +168 -0
- data/sig/temporalio/worker_deployment_version.rbs +17 -0
- data/sig/temporalio/workflow/activity_cancellation_type.rbs +11 -0
- data/sig/temporalio/workflow/child_workflow_cancellation_type.rbs +12 -0
- data/sig/temporalio/workflow/child_workflow_handle.rbs +18 -0
- data/sig/temporalio/workflow/definition.rbs +181 -0
- data/sig/temporalio/workflow/external_workflow_handle.rbs +17 -0
- data/sig/temporalio/workflow/future.rbs +24 -0
- data/sig/temporalio/workflow/handler_unfinished_policy.rbs +10 -0
- data/sig/temporalio/workflow/info.rbs +79 -0
- data/sig/temporalio/workflow/nexus_client.rbs +34 -0
- data/sig/temporalio/workflow/nexus_operation_cancellation_type.rbs +12 -0
- data/sig/temporalio/workflow/nexus_operation_handle.rbs +10 -0
- data/sig/temporalio/workflow/parent_close_policy.rbs +12 -0
- data/sig/temporalio/workflow/update_info.rbs +15 -0
- data/sig/temporalio/workflow.rbs +215 -0
- data/sig/temporalio/workflow_history.rbs +13 -0
- data/sig/temporalio.rbs +3 -0
- data/temporalio.gemspec +1 -1
- metadata +445 -2
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/operatorservice/v1/request_response.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module OperatorService
|
|
11
|
+
module V1
|
|
12
|
+
class AddSearchAttributesRequest < ::Google::Protobuf::AbstractMessage
|
|
13
|
+
|
|
14
|
+
# Mapping between search attribute name and its IndexedValueType.
|
|
15
|
+
attr_accessor search_attributes(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer]
|
|
16
|
+
def clear_search_attributes: () -> void
|
|
17
|
+
|
|
18
|
+
attr_reader namespace(): ::String
|
|
19
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
20
|
+
def clear_namespace: () -> void
|
|
21
|
+
|
|
22
|
+
type init_map = {
|
|
23
|
+
search_attributes: ::Hash[::String | ::Symbol, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Temporalio::Api::Enums::V1::IndexedValueType::strings | ::Integer | ::Float]?,
|
|
24
|
+
"search_attributes" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Temporalio::Api::Enums::V1::IndexedValueType::strings | ::Integer | ::Float]?,
|
|
25
|
+
namespace: (::String | ::Symbol)?,
|
|
26
|
+
"namespace" => (::String | ::Symbol)?,
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def initialize: (?init_map initial_value) -> void
|
|
30
|
+
|
|
31
|
+
def []:
|
|
32
|
+
("search_attributes" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer])
|
|
33
|
+
| ("namespace" name) -> ::String
|
|
34
|
+
|
|
35
|
+
def []=:
|
|
36
|
+
("search_attributes" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer]) value) -> void
|
|
37
|
+
| ("namespace" name, (::String | ::Symbol) value) -> void
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
class AddSearchAttributesResponse < ::Google::Protobuf::AbstractMessage
|
|
41
|
+
|
|
42
|
+
type init_map = {
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def initialize: (?init_map initial_value) -> void
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
class RemoveSearchAttributesRequest < ::Google::Protobuf::AbstractMessage
|
|
49
|
+
|
|
50
|
+
# Search attribute names to delete.
|
|
51
|
+
attr_accessor search_attributes(): ::Google::Protobuf::RepeatedField
|
|
52
|
+
def clear_search_attributes: () -> void
|
|
53
|
+
|
|
54
|
+
attr_reader namespace(): ::String
|
|
55
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
56
|
+
def clear_namespace: () -> void
|
|
57
|
+
|
|
58
|
+
type init_map = {
|
|
59
|
+
search_attributes: ::Array[::String | ::Symbol]?,
|
|
60
|
+
"search_attributes" => ::Array[::String | ::Symbol]?,
|
|
61
|
+
namespace: (::String | ::Symbol)?,
|
|
62
|
+
"namespace" => (::String | ::Symbol)?,
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
def initialize: (?init_map initial_value) -> void
|
|
66
|
+
|
|
67
|
+
def []:
|
|
68
|
+
("search_attributes" name) -> (::Google::Protobuf::RepeatedField)
|
|
69
|
+
| ("namespace" name) -> ::String
|
|
70
|
+
|
|
71
|
+
def []=:
|
|
72
|
+
("search_attributes" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
73
|
+
| ("namespace" name, (::String | ::Symbol) value) -> void
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
class RemoveSearchAttributesResponse < ::Google::Protobuf::AbstractMessage
|
|
77
|
+
|
|
78
|
+
type init_map = {
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
def initialize: (?init_map initial_value) -> void
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
class ListSearchAttributesRequest < ::Google::Protobuf::AbstractMessage
|
|
85
|
+
|
|
86
|
+
attr_reader namespace(): ::String
|
|
87
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
88
|
+
def clear_namespace: () -> void
|
|
89
|
+
|
|
90
|
+
type init_map = {
|
|
91
|
+
namespace: (::String | ::Symbol)?,
|
|
92
|
+
"namespace" => (::String | ::Symbol)?,
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
def initialize: (?init_map initial_value) -> void
|
|
96
|
+
|
|
97
|
+
def []:
|
|
98
|
+
("namespace" name) -> ::String
|
|
99
|
+
|
|
100
|
+
def []=:
|
|
101
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
class ListSearchAttributesResponse < ::Google::Protobuf::AbstractMessage
|
|
105
|
+
|
|
106
|
+
# Mapping between custom (user-registered) search attribute name to its IndexedValueType.
|
|
107
|
+
attr_accessor custom_attributes(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer]
|
|
108
|
+
def clear_custom_attributes: () -> void
|
|
109
|
+
|
|
110
|
+
# Mapping between system (predefined) search attribute name to its IndexedValueType.
|
|
111
|
+
attr_accessor system_attributes(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer]
|
|
112
|
+
def clear_system_attributes: () -> void
|
|
113
|
+
|
|
114
|
+
# Mapping from the attribute name to the visibility storage native type.
|
|
115
|
+
attr_accessor storage_schema(): ::Google::Protobuf::Map[::String, ::String]
|
|
116
|
+
def clear_storage_schema: () -> void
|
|
117
|
+
|
|
118
|
+
type init_map = {
|
|
119
|
+
custom_attributes: ::Hash[::String | ::Symbol, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Temporalio::Api::Enums::V1::IndexedValueType::strings | ::Integer | ::Float]?,
|
|
120
|
+
"custom_attributes" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Temporalio::Api::Enums::V1::IndexedValueType::strings | ::Integer | ::Float]?,
|
|
121
|
+
system_attributes: ::Hash[::String | ::Symbol, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Temporalio::Api::Enums::V1::IndexedValueType::strings | ::Integer | ::Float]?,
|
|
122
|
+
"system_attributes" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Temporalio::Api::Enums::V1::IndexedValueType::strings | ::Integer | ::Float]?,
|
|
123
|
+
storage_schema: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
124
|
+
"storage_schema" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
def initialize: (?init_map initial_value) -> void
|
|
128
|
+
|
|
129
|
+
def []:
|
|
130
|
+
("custom_attributes" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer])
|
|
131
|
+
| ("system_attributes" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer])
|
|
132
|
+
| ("storage_schema" name) -> (::Google::Protobuf::Map[::String, ::String])
|
|
133
|
+
|
|
134
|
+
def []=:
|
|
135
|
+
("custom_attributes" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer]) value) -> void
|
|
136
|
+
| ("system_attributes" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Enums::V1::IndexedValueType::names | ::Integer]) value) -> void
|
|
137
|
+
| ("storage_schema" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
class DeleteNamespaceRequest < ::Google::Protobuf::AbstractMessage
|
|
141
|
+
|
|
142
|
+
# Only one of namespace or namespace_id must be specified to identify namespace.
|
|
143
|
+
attr_reader namespace(): ::String
|
|
144
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
145
|
+
def clear_namespace: () -> void
|
|
146
|
+
|
|
147
|
+
attr_reader namespace_id(): ::String
|
|
148
|
+
attr_writer namespace_id(): ::String | ::Symbol
|
|
149
|
+
def clear_namespace_id: () -> void
|
|
150
|
+
|
|
151
|
+
# If provided, the deletion of namespace info will be delayed for the given duration (0 means no delay).
|
|
152
|
+
# If not provided, the default delay configured in the cluster will be used.
|
|
153
|
+
attr_reader namespace_delete_delay(): ::Google::Protobuf::Duration?
|
|
154
|
+
attr_writer namespace_delete_delay(): (::Google::Protobuf::Duration | ::int)?
|
|
155
|
+
def has_namespace_delete_delay?: () -> bool
|
|
156
|
+
def clear_namespace_delete_delay: () -> void
|
|
157
|
+
|
|
158
|
+
type init_map = {
|
|
159
|
+
namespace: (::String | ::Symbol)?,
|
|
160
|
+
"namespace" => (::String | ::Symbol)?,
|
|
161
|
+
namespace_id: (::String | ::Symbol)?,
|
|
162
|
+
"namespace_id" => (::String | ::Symbol)?,
|
|
163
|
+
namespace_delete_delay: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
164
|
+
"namespace_delete_delay" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
def initialize: (?init_map initial_value) -> void
|
|
168
|
+
|
|
169
|
+
def []:
|
|
170
|
+
("namespace" name) -> ::String
|
|
171
|
+
| ("namespace_id" name) -> ::String
|
|
172
|
+
| ("namespace_delete_delay" name) -> ::Google::Protobuf::Duration?
|
|
173
|
+
|
|
174
|
+
def []=:
|
|
175
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
176
|
+
| ("namespace_id" name, (::String | ::Symbol) value) -> void
|
|
177
|
+
| ("namespace_delete_delay" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
class DeleteNamespaceResponse < ::Google::Protobuf::AbstractMessage
|
|
181
|
+
|
|
182
|
+
# Temporary namespace name that is used during reclaim resources step.
|
|
183
|
+
attr_reader deleted_namespace(): ::String
|
|
184
|
+
attr_writer deleted_namespace(): ::String | ::Symbol
|
|
185
|
+
def clear_deleted_namespace: () -> void
|
|
186
|
+
|
|
187
|
+
type init_map = {
|
|
188
|
+
deleted_namespace: (::String | ::Symbol)?,
|
|
189
|
+
"deleted_namespace" => (::String | ::Symbol)?,
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
def initialize: (?init_map initial_value) -> void
|
|
193
|
+
|
|
194
|
+
def []:
|
|
195
|
+
("deleted_namespace" name) -> ::String
|
|
196
|
+
|
|
197
|
+
def []=:
|
|
198
|
+
("deleted_namespace" name, (::String | ::Symbol) value) -> void
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
class AddOrUpdateRemoteClusterRequest < ::Google::Protobuf::AbstractMessage
|
|
202
|
+
|
|
203
|
+
# Frontend Address is a cross cluster accessible address for gRPC traffic. This field is required.
|
|
204
|
+
attr_reader frontend_address(): ::String
|
|
205
|
+
attr_writer frontend_address(): ::String | ::Symbol
|
|
206
|
+
def clear_frontend_address: () -> void
|
|
207
|
+
|
|
208
|
+
# Flag to enable / disable the cross cluster connection.
|
|
209
|
+
attr_accessor enable_remote_cluster_connection(): bool
|
|
210
|
+
def clear_enable_remote_cluster_connection: () -> void
|
|
211
|
+
|
|
212
|
+
# Frontend HTTP Address is a cross cluster accessible address for HTTP traffic. This field is optional. If not provided
|
|
213
|
+
# on update, the existing HTTP address will be removed.
|
|
214
|
+
attr_reader frontend_http_address(): ::String
|
|
215
|
+
attr_writer frontend_http_address(): ::String | ::Symbol
|
|
216
|
+
def clear_frontend_http_address: () -> void
|
|
217
|
+
|
|
218
|
+
# Controls whether replication streams are active.
|
|
219
|
+
attr_accessor enable_replication(): bool
|
|
220
|
+
def clear_enable_replication: () -> void
|
|
221
|
+
|
|
222
|
+
type init_map = {
|
|
223
|
+
frontend_address: (::String | ::Symbol)?,
|
|
224
|
+
"frontend_address" => (::String | ::Symbol)?,
|
|
225
|
+
enable_remote_cluster_connection: bool?,
|
|
226
|
+
"enable_remote_cluster_connection" => bool?,
|
|
227
|
+
frontend_http_address: (::String | ::Symbol)?,
|
|
228
|
+
"frontend_http_address" => (::String | ::Symbol)?,
|
|
229
|
+
enable_replication: bool?,
|
|
230
|
+
"enable_replication" => bool?,
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
def initialize: (?init_map initial_value) -> void
|
|
234
|
+
|
|
235
|
+
def []:
|
|
236
|
+
("frontend_address" name) -> ::String
|
|
237
|
+
| ("enable_remote_cluster_connection" name) -> bool
|
|
238
|
+
| ("frontend_http_address" name) -> ::String
|
|
239
|
+
| ("enable_replication" name) -> bool
|
|
240
|
+
|
|
241
|
+
def []=:
|
|
242
|
+
("frontend_address" name, (::String | ::Symbol) value) -> void
|
|
243
|
+
| ("enable_remote_cluster_connection" name, bool value) -> void
|
|
244
|
+
| ("frontend_http_address" name, (::String | ::Symbol) value) -> void
|
|
245
|
+
| ("enable_replication" name, bool value) -> void
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
class AddOrUpdateRemoteClusterResponse < ::Google::Protobuf::AbstractMessage
|
|
249
|
+
|
|
250
|
+
type init_map = {
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
def initialize: (?init_map initial_value) -> void
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
class RemoveRemoteClusterRequest < ::Google::Protobuf::AbstractMessage
|
|
257
|
+
|
|
258
|
+
# Remote cluster name to be removed.
|
|
259
|
+
attr_reader cluster_name(): ::String
|
|
260
|
+
attr_writer cluster_name(): ::String | ::Symbol
|
|
261
|
+
def clear_cluster_name: () -> void
|
|
262
|
+
|
|
263
|
+
type init_map = {
|
|
264
|
+
cluster_name: (::String | ::Symbol)?,
|
|
265
|
+
"cluster_name" => (::String | ::Symbol)?,
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
def initialize: (?init_map initial_value) -> void
|
|
269
|
+
|
|
270
|
+
def []:
|
|
271
|
+
("cluster_name" name) -> ::String
|
|
272
|
+
|
|
273
|
+
def []=:
|
|
274
|
+
("cluster_name" name, (::String | ::Symbol) value) -> void
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
class RemoveRemoteClusterResponse < ::Google::Protobuf::AbstractMessage
|
|
278
|
+
|
|
279
|
+
type init_map = {
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
def initialize: (?init_map initial_value) -> void
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
class ListClustersRequest < ::Google::Protobuf::AbstractMessage
|
|
286
|
+
|
|
287
|
+
attr_reader page_size(): ::Integer
|
|
288
|
+
attr_writer page_size(): ::Integer | ::Float
|
|
289
|
+
def clear_page_size: () -> void
|
|
290
|
+
|
|
291
|
+
attr_accessor next_page_token(): ::String
|
|
292
|
+
def clear_next_page_token: () -> void
|
|
293
|
+
|
|
294
|
+
type init_map = {
|
|
295
|
+
page_size: (::Integer | ::Float)?,
|
|
296
|
+
"page_size" => (::Integer | ::Float)?,
|
|
297
|
+
next_page_token: ::String?,
|
|
298
|
+
"next_page_token" => ::String?,
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
def initialize: (?init_map initial_value) -> void
|
|
302
|
+
|
|
303
|
+
def []:
|
|
304
|
+
("page_size" name) -> ::Integer
|
|
305
|
+
| ("next_page_token" name) -> ::String
|
|
306
|
+
|
|
307
|
+
def []=:
|
|
308
|
+
("page_size" name, (::Integer | ::Float) value) -> void
|
|
309
|
+
| ("next_page_token" name, ::String value) -> void
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
class ListClustersResponse < ::Google::Protobuf::AbstractMessage
|
|
313
|
+
|
|
314
|
+
# List of all cluster information
|
|
315
|
+
attr_accessor clusters(): ::Google::Protobuf::RepeatedField
|
|
316
|
+
def clear_clusters: () -> void
|
|
317
|
+
|
|
318
|
+
attr_accessor next_page_token(): ::String
|
|
319
|
+
def clear_next_page_token: () -> void
|
|
320
|
+
|
|
321
|
+
type init_map = {
|
|
322
|
+
clusters: ::Array[::Temporalio::Api::OperatorService::V1::ClusterMetadata]?,
|
|
323
|
+
"clusters" => ::Array[::Temporalio::Api::OperatorService::V1::ClusterMetadata]?,
|
|
324
|
+
next_page_token: ::String?,
|
|
325
|
+
"next_page_token" => ::String?,
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
def initialize: (?init_map initial_value) -> void
|
|
329
|
+
|
|
330
|
+
def []:
|
|
331
|
+
("clusters" name) -> ::Google::Protobuf::RepeatedField
|
|
332
|
+
| ("next_page_token" name) -> ::String
|
|
333
|
+
|
|
334
|
+
def []=:
|
|
335
|
+
("clusters" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
336
|
+
| ("next_page_token" name, ::String value) -> void
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
class ClusterMetadata < ::Google::Protobuf::AbstractMessage
|
|
340
|
+
|
|
341
|
+
# Name of the cluster name.
|
|
342
|
+
attr_reader cluster_name(): ::String
|
|
343
|
+
attr_writer cluster_name(): ::String | ::Symbol
|
|
344
|
+
def clear_cluster_name: () -> void
|
|
345
|
+
|
|
346
|
+
# Id of the cluster.
|
|
347
|
+
attr_reader cluster_id(): ::String
|
|
348
|
+
attr_writer cluster_id(): ::String | ::Symbol
|
|
349
|
+
def clear_cluster_id: () -> void
|
|
350
|
+
|
|
351
|
+
# gRPC address.
|
|
352
|
+
attr_reader address(): ::String
|
|
353
|
+
attr_writer address(): ::String | ::Symbol
|
|
354
|
+
def clear_address: () -> void
|
|
355
|
+
|
|
356
|
+
# HTTP address, if one exists.
|
|
357
|
+
attr_reader http_address(): ::String
|
|
358
|
+
attr_writer http_address(): ::String | ::Symbol
|
|
359
|
+
def clear_http_address: () -> void
|
|
360
|
+
|
|
361
|
+
# A unique failover version across all connected clusters.
|
|
362
|
+
attr_reader initial_failover_version(): ::Integer
|
|
363
|
+
attr_writer initial_failover_version(): ::Integer | ::Float
|
|
364
|
+
def clear_initial_failover_version: () -> void
|
|
365
|
+
|
|
366
|
+
# History service shard number.
|
|
367
|
+
attr_reader history_shard_count(): ::Integer
|
|
368
|
+
attr_writer history_shard_count(): ::Integer | ::Float
|
|
369
|
+
def clear_history_shard_count: () -> void
|
|
370
|
+
|
|
371
|
+
# A flag to indicate if a connection is active.
|
|
372
|
+
attr_accessor is_connection_enabled(): bool
|
|
373
|
+
def clear_is_connection_enabled: () -> void
|
|
374
|
+
|
|
375
|
+
# A flag to indicate if replication is enabled.
|
|
376
|
+
attr_accessor is_replication_enabled(): bool
|
|
377
|
+
def clear_is_replication_enabled: () -> void
|
|
378
|
+
|
|
379
|
+
type init_map = {
|
|
380
|
+
cluster_name: (::String | ::Symbol)?,
|
|
381
|
+
"cluster_name" => (::String | ::Symbol)?,
|
|
382
|
+
cluster_id: (::String | ::Symbol)?,
|
|
383
|
+
"cluster_id" => (::String | ::Symbol)?,
|
|
384
|
+
address: (::String | ::Symbol)?,
|
|
385
|
+
"address" => (::String | ::Symbol)?,
|
|
386
|
+
http_address: (::String | ::Symbol)?,
|
|
387
|
+
"http_address" => (::String | ::Symbol)?,
|
|
388
|
+
initial_failover_version: (::Integer | ::Float)?,
|
|
389
|
+
"initial_failover_version" => (::Integer | ::Float)?,
|
|
390
|
+
history_shard_count: (::Integer | ::Float)?,
|
|
391
|
+
"history_shard_count" => (::Integer | ::Float)?,
|
|
392
|
+
is_connection_enabled: bool?,
|
|
393
|
+
"is_connection_enabled" => bool?,
|
|
394
|
+
is_replication_enabled: bool?,
|
|
395
|
+
"is_replication_enabled" => bool?,
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
def initialize: (?init_map initial_value) -> void
|
|
399
|
+
|
|
400
|
+
def []:
|
|
401
|
+
("cluster_name" name) -> ::String
|
|
402
|
+
| ("cluster_id" name) -> ::String
|
|
403
|
+
| ("address" name) -> ::String
|
|
404
|
+
| ("http_address" name) -> ::String
|
|
405
|
+
| ("initial_failover_version" name) -> ::Integer
|
|
406
|
+
| ("history_shard_count" name) -> ::Integer
|
|
407
|
+
| ("is_connection_enabled" name) -> bool
|
|
408
|
+
| ("is_replication_enabled" name) -> bool
|
|
409
|
+
|
|
410
|
+
def []=:
|
|
411
|
+
("cluster_name" name, (::String | ::Symbol) value) -> void
|
|
412
|
+
| ("cluster_id" name, (::String | ::Symbol) value) -> void
|
|
413
|
+
| ("address" name, (::String | ::Symbol) value) -> void
|
|
414
|
+
| ("http_address" name, (::String | ::Symbol) value) -> void
|
|
415
|
+
| ("initial_failover_version" name, (::Integer | ::Float) value) -> void
|
|
416
|
+
| ("history_shard_count" name, (::Integer | ::Float) value) -> void
|
|
417
|
+
| ("is_connection_enabled" name, bool value) -> void
|
|
418
|
+
| ("is_replication_enabled" name, bool value) -> void
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
class GetNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
|
|
422
|
+
|
|
423
|
+
# Server-generated unique endpoint ID.
|
|
424
|
+
attr_reader id(): ::String
|
|
425
|
+
attr_writer id(): ::String | ::Symbol
|
|
426
|
+
def clear_id: () -> void
|
|
427
|
+
|
|
428
|
+
type init_map = {
|
|
429
|
+
id: (::String | ::Symbol)?,
|
|
430
|
+
"id" => (::String | ::Symbol)?,
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
def initialize: (?init_map initial_value) -> void
|
|
434
|
+
|
|
435
|
+
def []:
|
|
436
|
+
("id" name) -> ::String
|
|
437
|
+
|
|
438
|
+
def []=:
|
|
439
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
class GetNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
|
|
443
|
+
|
|
444
|
+
attr_accessor endpoint(): ::Temporalio::Api::Nexus::V1::Endpoint?
|
|
445
|
+
def has_endpoint?: () -> bool
|
|
446
|
+
def clear_endpoint: () -> void
|
|
447
|
+
|
|
448
|
+
type init_map = {
|
|
449
|
+
endpoint: (::Temporalio::Api::Nexus::V1::Endpoint | ::Temporalio::Api::Nexus::V1::Endpoint::init_map)?,
|
|
450
|
+
"endpoint" => (::Temporalio::Api::Nexus::V1::Endpoint | ::Temporalio::Api::Nexus::V1::Endpoint::init_map)?,
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
def initialize: (?init_map initial_value) -> void
|
|
454
|
+
|
|
455
|
+
def []:
|
|
456
|
+
("endpoint" name) -> ::Temporalio::Api::Nexus::V1::Endpoint?
|
|
457
|
+
|
|
458
|
+
def []=:
|
|
459
|
+
("endpoint" name, ::Temporalio::Api::Nexus::V1::Endpoint? value) -> void
|
|
460
|
+
end
|
|
461
|
+
|
|
462
|
+
class CreateNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
|
|
463
|
+
|
|
464
|
+
# Endpoint definition to create.
|
|
465
|
+
attr_accessor spec(): ::Temporalio::Api::Nexus::V1::EndpointSpec?
|
|
466
|
+
def has_spec?: () -> bool
|
|
467
|
+
def clear_spec: () -> void
|
|
468
|
+
|
|
469
|
+
type init_map = {
|
|
470
|
+
spec: (::Temporalio::Api::Nexus::V1::EndpointSpec | ::Temporalio::Api::Nexus::V1::EndpointSpec::init_map)?,
|
|
471
|
+
"spec" => (::Temporalio::Api::Nexus::V1::EndpointSpec | ::Temporalio::Api::Nexus::V1::EndpointSpec::init_map)?,
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
def initialize: (?init_map initial_value) -> void
|
|
475
|
+
|
|
476
|
+
def []:
|
|
477
|
+
("spec" name) -> ::Temporalio::Api::Nexus::V1::EndpointSpec?
|
|
478
|
+
|
|
479
|
+
def []=:
|
|
480
|
+
("spec" name, ::Temporalio::Api::Nexus::V1::EndpointSpec? value) -> void
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
class CreateNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
|
|
484
|
+
|
|
485
|
+
# Data post acceptance. Can be used to issue additional updates to this record.
|
|
486
|
+
attr_accessor endpoint(): ::Temporalio::Api::Nexus::V1::Endpoint?
|
|
487
|
+
def has_endpoint?: () -> bool
|
|
488
|
+
def clear_endpoint: () -> void
|
|
489
|
+
|
|
490
|
+
type init_map = {
|
|
491
|
+
endpoint: (::Temporalio::Api::Nexus::V1::Endpoint | ::Temporalio::Api::Nexus::V1::Endpoint::init_map)?,
|
|
492
|
+
"endpoint" => (::Temporalio::Api::Nexus::V1::Endpoint | ::Temporalio::Api::Nexus::V1::Endpoint::init_map)?,
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
def initialize: (?init_map initial_value) -> void
|
|
496
|
+
|
|
497
|
+
def []:
|
|
498
|
+
("endpoint" name) -> ::Temporalio::Api::Nexus::V1::Endpoint?
|
|
499
|
+
|
|
500
|
+
def []=:
|
|
501
|
+
("endpoint" name, ::Temporalio::Api::Nexus::V1::Endpoint? value) -> void
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
class UpdateNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
|
|
505
|
+
|
|
506
|
+
# Server-generated unique endpoint ID.
|
|
507
|
+
attr_reader id(): ::String
|
|
508
|
+
attr_writer id(): ::String | ::Symbol
|
|
509
|
+
def clear_id: () -> void
|
|
510
|
+
|
|
511
|
+
# Data version for this endpoint. Must match current version.
|
|
512
|
+
attr_reader version(): ::Integer
|
|
513
|
+
attr_writer version(): ::Integer | ::Float
|
|
514
|
+
def clear_version: () -> void
|
|
515
|
+
|
|
516
|
+
attr_accessor spec(): ::Temporalio::Api::Nexus::V1::EndpointSpec?
|
|
517
|
+
def has_spec?: () -> bool
|
|
518
|
+
def clear_spec: () -> void
|
|
519
|
+
|
|
520
|
+
type init_map = {
|
|
521
|
+
id: (::String | ::Symbol)?,
|
|
522
|
+
"id" => (::String | ::Symbol)?,
|
|
523
|
+
version: (::Integer | ::Float)?,
|
|
524
|
+
"version" => (::Integer | ::Float)?,
|
|
525
|
+
spec: (::Temporalio::Api::Nexus::V1::EndpointSpec | ::Temporalio::Api::Nexus::V1::EndpointSpec::init_map)?,
|
|
526
|
+
"spec" => (::Temporalio::Api::Nexus::V1::EndpointSpec | ::Temporalio::Api::Nexus::V1::EndpointSpec::init_map)?,
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
def initialize: (?init_map initial_value) -> void
|
|
530
|
+
|
|
531
|
+
def []:
|
|
532
|
+
("id" name) -> ::String
|
|
533
|
+
| ("version" name) -> ::Integer
|
|
534
|
+
| ("spec" name) -> ::Temporalio::Api::Nexus::V1::EndpointSpec?
|
|
535
|
+
|
|
536
|
+
def []=:
|
|
537
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
538
|
+
| ("version" name, (::Integer | ::Float) value) -> void
|
|
539
|
+
| ("spec" name, ::Temporalio::Api::Nexus::V1::EndpointSpec? value) -> void
|
|
540
|
+
end
|
|
541
|
+
|
|
542
|
+
class UpdateNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
|
|
543
|
+
|
|
544
|
+
# Data post acceptance. Can be used to issue additional updates to this record.
|
|
545
|
+
attr_accessor endpoint(): ::Temporalio::Api::Nexus::V1::Endpoint?
|
|
546
|
+
def has_endpoint?: () -> bool
|
|
547
|
+
def clear_endpoint: () -> void
|
|
548
|
+
|
|
549
|
+
type init_map = {
|
|
550
|
+
endpoint: (::Temporalio::Api::Nexus::V1::Endpoint | ::Temporalio::Api::Nexus::V1::Endpoint::init_map)?,
|
|
551
|
+
"endpoint" => (::Temporalio::Api::Nexus::V1::Endpoint | ::Temporalio::Api::Nexus::V1::Endpoint::init_map)?,
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
def initialize: (?init_map initial_value) -> void
|
|
555
|
+
|
|
556
|
+
def []:
|
|
557
|
+
("endpoint" name) -> ::Temporalio::Api::Nexus::V1::Endpoint?
|
|
558
|
+
|
|
559
|
+
def []=:
|
|
560
|
+
("endpoint" name, ::Temporalio::Api::Nexus::V1::Endpoint? value) -> void
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
class DeleteNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
|
|
564
|
+
|
|
565
|
+
# Server-generated unique endpoint ID.
|
|
566
|
+
attr_reader id(): ::String
|
|
567
|
+
attr_writer id(): ::String | ::Symbol
|
|
568
|
+
def clear_id: () -> void
|
|
569
|
+
|
|
570
|
+
# Data version for this endpoint. Must match current version.
|
|
571
|
+
attr_reader version(): ::Integer
|
|
572
|
+
attr_writer version(): ::Integer | ::Float
|
|
573
|
+
def clear_version: () -> void
|
|
574
|
+
|
|
575
|
+
type init_map = {
|
|
576
|
+
id: (::String | ::Symbol)?,
|
|
577
|
+
"id" => (::String | ::Symbol)?,
|
|
578
|
+
version: (::Integer | ::Float)?,
|
|
579
|
+
"version" => (::Integer | ::Float)?,
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
def initialize: (?init_map initial_value) -> void
|
|
583
|
+
|
|
584
|
+
def []:
|
|
585
|
+
("id" name) -> ::String
|
|
586
|
+
| ("version" name) -> ::Integer
|
|
587
|
+
|
|
588
|
+
def []=:
|
|
589
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
590
|
+
| ("version" name, (::Integer | ::Float) value) -> void
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
class DeleteNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
|
|
594
|
+
|
|
595
|
+
type init_map = {
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
def initialize: (?init_map initial_value) -> void
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
class ListNexusEndpointsRequest < ::Google::Protobuf::AbstractMessage
|
|
602
|
+
|
|
603
|
+
attr_reader page_size(): ::Integer
|
|
604
|
+
attr_writer page_size(): ::Integer | ::Float
|
|
605
|
+
def clear_page_size: () -> void
|
|
606
|
+
|
|
607
|
+
# To get the next page, pass in `ListNexusEndpointsResponse.next_page_token` from the previous page's
|
|
608
|
+
# response, the token will be empty if there's no other page.
|
|
609
|
+
# Note: the last page may be empty if the total number of endpoints registered is a multiple of the page size.
|
|
610
|
+
attr_accessor next_page_token(): ::String
|
|
611
|
+
def clear_next_page_token: () -> void
|
|
612
|
+
|
|
613
|
+
# Name of the incoming endpoint to filter on - optional. Specifying this will result in zero or one results.
|
|
614
|
+
# (-- api-linter: core::203::field-behavior-required=disabled
|
|
615
|
+
# aip.dev/not-precedent: Not following linter rules. --)
|
|
616
|
+
attr_reader name(): ::String
|
|
617
|
+
attr_writer name(): ::String | ::Symbol
|
|
618
|
+
def clear_name: () -> void
|
|
619
|
+
|
|
620
|
+
type init_map = {
|
|
621
|
+
page_size: (::Integer | ::Float)?,
|
|
622
|
+
"page_size" => (::Integer | ::Float)?,
|
|
623
|
+
next_page_token: ::String?,
|
|
624
|
+
"next_page_token" => ::String?,
|
|
625
|
+
name: (::String | ::Symbol)?,
|
|
626
|
+
"name" => (::String | ::Symbol)?,
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
def initialize: (?init_map initial_value) -> void
|
|
630
|
+
|
|
631
|
+
def []:
|
|
632
|
+
("page_size" name) -> ::Integer
|
|
633
|
+
| ("next_page_token" name) -> ::String
|
|
634
|
+
| ("name" name) -> ::String
|
|
635
|
+
|
|
636
|
+
def []=:
|
|
637
|
+
("page_size" name, (::Integer | ::Float) value) -> void
|
|
638
|
+
| ("next_page_token" name, ::String value) -> void
|
|
639
|
+
| ("name" name, (::String | ::Symbol) value) -> void
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
class ListNexusEndpointsResponse < ::Google::Protobuf::AbstractMessage
|
|
643
|
+
|
|
644
|
+
# Token for getting the next page.
|
|
645
|
+
attr_accessor next_page_token(): ::String
|
|
646
|
+
def clear_next_page_token: () -> void
|
|
647
|
+
|
|
648
|
+
attr_accessor endpoints(): ::Google::Protobuf::RepeatedField
|
|
649
|
+
def clear_endpoints: () -> void
|
|
650
|
+
|
|
651
|
+
type init_map = {
|
|
652
|
+
next_page_token: ::String?,
|
|
653
|
+
"next_page_token" => ::String?,
|
|
654
|
+
endpoints: ::Array[::Temporalio::Api::Nexus::V1::Endpoint]?,
|
|
655
|
+
"endpoints" => ::Array[::Temporalio::Api::Nexus::V1::Endpoint]?,
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
def initialize: (?init_map initial_value) -> void
|
|
659
|
+
|
|
660
|
+
def []:
|
|
661
|
+
("next_page_token" name) -> ::String
|
|
662
|
+
| ("endpoints" name) -> ::Google::Protobuf::RepeatedField
|
|
663
|
+
|
|
664
|
+
def []=:
|
|
665
|
+
("next_page_token" name, ::String value) -> void
|
|
666
|
+
| ("endpoints" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
667
|
+
end
|
|
668
|
+
end
|
|
669
|
+
end
|
|
670
|
+
end
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
module Google
|
|
674
|
+
module Protobuf
|
|
675
|
+
class DescriptorPool
|
|
676
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
677
|
+
end
|
|
678
|
+
end
|
|
679
|
+
end
|