lib/temporalio/api/nexus/v1/message.rb
# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/nexus/v1/message.proto require 'google/protobuf' require 'google/protobuf/timestamp_pb' require 'temporalio/api/common/v1/message' descriptor_data = "\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\"\x9c\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x14\n\x0coperation_id\x18\x03 \x01(\t\"\xc7\x02\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant\"\x90\x03\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12L\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\x00\x1a\x38\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x1aI\n\x05\x41sync\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.LinkB\t\n\x07variant\"\x19\n\x17\x43\x61ncelOperationResponse\"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant\"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t\"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget\"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variantB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) module Temporalio module Api module Nexus module V1 Failure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Failure").msgclass HandlerError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.HandlerError").msgclass UnsuccessfulOperationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.UnsuccessfulOperationError").msgclass Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Link").msgclass StartOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationRequest").msgclass CancelOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.CancelOperationRequest").msgclass Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Request").msgclass StartOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationResponse").msgclass StartOperationResponse::Sync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationResponse.Sync").msgclass StartOperationResponse::Async = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationResponse.Async").msgclass CancelOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.CancelOperationResponse").msgclass Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Response").msgclass Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Endpoint").msgclass EndpointSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointSpec").msgclass EndpointTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget").msgclass EndpointTarget::Worker = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget.Worker").msgclass EndpointTarget::External = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget.External").msgclass end end end end