Current section

Files

Jump to
temporalio lib temporal api nexus v1 message.pb.ex
Raw

lib/temporal/api/nexus/v1/message.pb.ex

defmodule Temporal.Api.Nexus.V1.Failure.MetadataEntry do
@moduledoc false
use Protobuf, map: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Temporal.Api.Nexus.V1.Failure do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :message, 1, type: :string
field :metadata, 2, repeated: true, type: Temporal.Api.Nexus.V1.Failure.MetadataEntry, map: true
field :details, 3, type: Google.Protobuf.Value
end
defmodule Temporal.Api.Nexus.V1.HandlerError do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :error_type, 1, type: :string, json_name: "errorType"
field :failure, 2, type: Temporal.Api.Nexus.V1.Failure
end
defmodule Temporal.Api.Nexus.V1.UnsuccessfulOperationError do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :operation_state, 1, type: :string, json_name: "operationState"
field :failure, 2, type: Temporal.Api.Nexus.V1.Failure
end
defmodule Temporal.Api.Nexus.V1.StartOperationRequest do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :operation, 1, type: :string
field :request_id, 2, type: :string, json_name: "requestId"
field :callback, 3, type: :string
field :payload, 4, type: Temporal.Api.Common.V1.Payload
end
defmodule Temporal.Api.Nexus.V1.CancelOperationRequest do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :operation, 1, type: :string
field :operation_id, 2, type: :string, json_name: "operationId"
end
defmodule Temporal.Api.Nexus.V1.Request.HeaderEntry do
@moduledoc false
use Protobuf, map: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Temporal.Api.Nexus.V1.Request do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
oneof :variant, 0
field :header, 1, repeated: true, type: Temporal.Api.Nexus.V1.Request.HeaderEntry, map: true
field :start_operation, 2,
type: Temporal.Api.Nexus.V1.StartOperationRequest,
json_name: "startOperation",
oneof: 0
field :cancel_operation, 3,
type: Temporal.Api.Nexus.V1.CancelOperationRequest,
json_name: "cancelOperation",
oneof: 0
end
defmodule Temporal.Api.Nexus.V1.StartOperationResponse.Sync do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :payload, 1, type: Temporal.Api.Common.V1.Payload
end
defmodule Temporal.Api.Nexus.V1.StartOperationResponse.Async do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :operation_id, 1, type: :string, json_name: "operationId"
end
defmodule Temporal.Api.Nexus.V1.StartOperationResponse do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
oneof :variant, 0
field :sync_success, 1,
type: Temporal.Api.Nexus.V1.StartOperationResponse.Sync,
json_name: "syncSuccess",
oneof: 0
field :async_success, 2,
type: Temporal.Api.Nexus.V1.StartOperationResponse.Async,
json_name: "asyncSuccess",
oneof: 0
field :operation_error, 3,
type: Temporal.Api.Nexus.V1.UnsuccessfulOperationError,
json_name: "operationError",
oneof: 0
end
defmodule Temporal.Api.Nexus.V1.CancelOperationResponse do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
end
defmodule Temporal.Api.Nexus.V1.Response do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
oneof :variant, 0
field :start_operation, 1,
type: Temporal.Api.Nexus.V1.StartOperationResponse,
json_name: "startOperation",
oneof: 0
field :cancel_operation, 2,
type: Temporal.Api.Nexus.V1.CancelOperationResponse,
json_name: "cancelOperation",
oneof: 0
end
defmodule Temporal.Api.Nexus.V1.IncomingService.MetadataEntry do
@moduledoc false
use Protobuf, map: true, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :key, 1, type: :string
field :value, 2, type: Google.Protobuf.Any
end
defmodule Temporal.Api.Nexus.V1.IncomingService do
@moduledoc false
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :version, 1, type: :int64
field :name, 2, type: :string
field :namespace, 3, type: :string
field :task_queue, 4, type: :string, json_name: "taskQueue"
field :metadata, 5,
repeated: true,
type: Temporal.Api.Nexus.V1.IncomingService.MetadataEntry,
map: true
end