Packages
cratis_chronicle_contracts
15.34.11
16.7.0
16.6.1
16.6.0
16.5.0
16.4.1
16.4.0
16.3.1
16.3.0
16.2.1
16.2.0
16.1.1
16.1.0
16.0.6
16.0.5
16.0.4
16.0.3
16.0.2
16.0.1
16.0.0
15.41.0
15.40.0
15.39.1
15.39.0
15.38.4
15.38.3
15.38.2
15.38.1
15.38.0
15.37.0
15.36.1
15.36.0
15.35.8
15.35.7
15.35.6
15.35.5
15.35.4
15.35.3
15.35.2
15.35.1
15.35.0
15.34.13
15.34.12
15.34.11
15.34.10
15.34.9
15.34.8
15.34.7
15.34.6
15.34.5
15.34.4
15.34.3
15.34.2
15.31.5
15.31.4
15.31.3
15.31.2
15.31.1
15.31.0
15.30.2
15.30.1
15.30.0
15.29.8
15.29.7
15.29.6
15.29.4
15.29.3
15.29.2
15.29.1
15.29.0
15.28.0
15.27.3
15.27.2
15.27.1
15.27.0
15.26.11
15.26.10
15.26.9
15.26.8
15.26.7
15.26.6
15.26.5
15.26.4
15.26.3
15.26.1
15.25.5
15.25.4
15.25.3
Generated Elixir gRPC contracts for Chronicle
Current section
Files
Jump to
Current section
Files
lib/generated/jobs.pb.ex
defmodule Cratis.Chronicle.Contracts.Jobs.JobError do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :ZERO, 0
field :NotFound, 1
field :TypeIsNotAJobStateType, 2
field :TypeIsNotAssociatedWithAJobType, 3
end
defmodule Cratis.Chronicle.Contracts.Jobs.JobStatus do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :None, 0
field :PreparingJob, 1
field :PreparingSteps, 2
field :StartingSteps, 3
field :JOB_STATUS_Running, 4
field :JOB_STATUS_CompletedSuccessfully, 5
field :CompletedWithFailures, 6
field :JOB_STATUS_Stopped, 7
field :JOB_STATUS_Failed, 8
field :JOB_STATUS_Removing, 9
end
defmodule Cratis.Chronicle.Contracts.Jobs.JobStepStatus do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Unknown, 0
field :Scheduled, 1
field :JOB_STEP_STATUS_Running, 2
field :JOB_STEP_STATUS_CompletedSuccessfully, 3
field :CompletedWithFailure, 4
field :JOB_STEP_STATUS_Stopped, 5
field :JOB_STEP_STATUS_Failed, 6
field :JOB_STEP_STATUS_Removing, 7
end
defmodule Cratis.Chronicle.Contracts.Jobs.DeleteJob do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :JobId, 3, type: Bcl.Guid
end
defmodule Cratis.Chronicle.Contracts.Jobs.GetJobRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :JobId, 3, type: Bcl.Guid
end
defmodule Cratis.Chronicle.Contracts.Jobs.GetJobStepsRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :JobId, 3, type: Bcl.Guid
end
defmodule Cratis.Chronicle.Contracts.Jobs.GetJobsRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Jobs.IEnumerable_Job do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :items, 1, repeated: true, type: Cratis.Chronicle.Contracts.Jobs.Job
end
defmodule Cratis.Chronicle.Contracts.Jobs.IEnumerable_JobStep do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :items, 1, repeated: true, type: Cratis.Chronicle.Contracts.Jobs.JobStep
end
defmodule Cratis.Chronicle.Contracts.Jobs.Job do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Id, 1, type: Bcl.Guid
field :Details, 2, type: :string
field :Type, 3, type: :string
field :Status, 4, type: Cratis.Chronicle.Contracts.Jobs.JobStatus, enum: true
field :Created, 5, type: Cratis.Chronicle.Contracts.Jobs.SerializableDateTimeOffset
field :StatusChanges, 6, repeated: true, type: Cratis.Chronicle.Contracts.Jobs.JobStatusChanged
field :Progress, 7, type: Cratis.Chronicle.Contracts.Jobs.JobProgress
end
defmodule Cratis.Chronicle.Contracts.Jobs.JobProgress do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :TotalSteps, 1, type: :int32
field :SuccessfulSteps, 2, type: :int32
field :FailedSteps, 3, type: :int32
field :StoppedSteps, 4, type: :int32
field :IsCompleted, 5, type: :bool
field :IsStopped, 6, type: :bool
field :Message, 7, type: :string
end
defmodule Cratis.Chronicle.Contracts.Jobs.JobStatusChanged do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Status, 1, type: Cratis.Chronicle.Contracts.Jobs.JobStatus, enum: true
field :Occurred, 2, type: Cratis.Chronicle.Contracts.Jobs.SerializableDateTimeOffset
field :ExceptionMessages, 3, repeated: true, type: :string
field :ExceptionStackTrace, 4, type: :string
end
defmodule Cratis.Chronicle.Contracts.Jobs.JobStep do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Id, 1, type: Bcl.Guid
field :Type, 2, type: :string
field :Name, 3, type: :string
field :Status, 4, type: Cratis.Chronicle.Contracts.Jobs.JobStepStatus, enum: true
field :StatusChanges, 5,
repeated: true,
type: Cratis.Chronicle.Contracts.Jobs.JobStepStatusChanged
field :Progress, 6, type: Cratis.Chronicle.Contracts.Jobs.JobStepProgress
end
defmodule Cratis.Chronicle.Contracts.Jobs.JobStepProgress do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Percentage, 1, type: :int32
field :Message, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Jobs.JobStepStatusChanged do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Status, 1, type: Cratis.Chronicle.Contracts.Jobs.JobStepStatus, enum: true
field :Occurred, 2, type: Cratis.Chronicle.Contracts.Jobs.SerializableDateTimeOffset
field :ExceptionMessages, 3, repeated: true, type: :string
field :ExceptionStackTrace, 4, type: :string
end
defmodule Cratis.Chronicle.Contracts.Jobs.OneOf_Job_JobError do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Value0, 1, type: Cratis.Chronicle.Contracts.Jobs.Job
field :Value1, 2, type: Cratis.Chronicle.Contracts.Jobs.JobError, enum: true
end
defmodule Cratis.Chronicle.Contracts.Jobs.ResumeJob do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :JobId, 3, type: Bcl.Guid
end
defmodule Cratis.Chronicle.Contracts.Jobs.SerializableDateTimeOffset do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Value, 1, type: :string
end
defmodule Cratis.Chronicle.Contracts.Jobs.StopJob do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :JobId, 3, type: Bcl.Guid
end
defmodule Cratis.Chronicle.Contracts.Jobs.Jobs.Service do
@moduledoc false
use GRPC.Service,
name: "Cratis.Chronicle.Contracts.Jobs.Jobs",
protoc_gen_elixir_version: "0.17.0"
rpc :Delete, Cratis.Chronicle.Contracts.Jobs.DeleteJob, Google.Protobuf.Empty
rpc :GetJob,
Cratis.Chronicle.Contracts.Jobs.GetJobRequest,
Cratis.Chronicle.Contracts.Jobs.OneOf_Job_JobError
rpc :GetJobs,
Cratis.Chronicle.Contracts.Jobs.GetJobsRequest,
Cratis.Chronicle.Contracts.Jobs.IEnumerable_Job
rpc :GetJobSteps,
Cratis.Chronicle.Contracts.Jobs.GetJobStepsRequest,
Cratis.Chronicle.Contracts.Jobs.IEnumerable_JobStep
rpc :ObserveJobs,
Cratis.Chronicle.Contracts.Jobs.GetJobsRequest,
stream(Cratis.Chronicle.Contracts.Jobs.IEnumerable_Job)
rpc :Resume, Cratis.Chronicle.Contracts.Jobs.ResumeJob, Google.Protobuf.Empty
rpc :Stop, Cratis.Chronicle.Contracts.Jobs.StopJob, Google.Protobuf.Empty
end
defmodule Cratis.Chronicle.Contracts.Jobs.Jobs.Stub do
@moduledoc false
use GRPC.Stub, service: Cratis.Chronicle.Contracts.Jobs.Jobs.Service
end