Packages

Generated Elixir gRPC contracts for Cratis Chronicle - the open-source event-sourcing database

Current section

Files

Jump to
cratis_chronicle_contracts lib generated readmodelexplorer.pb.ex
Raw

lib/generated/readmodelexplorer.pb.ex

defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.EventObservationState do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :None, 0
field :Initial, 1
field :Replay, 2
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.ValidationResultSeverity do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Unknown, 0
field :Information, 1
field :Warning, 2
field :Error, 3
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.AllSnapshotsForReadModelRequest 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 :ReadModel, 3, type: :string
field :ReadModelKey, 4, type: :string
field :EventSequenceId, 5, type: :string
field :Grouping, 6, type: :string
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.Causation.PropertiesEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.Causation do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Occurred, 1,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.SerializableDateTimeOffset
field :Type, 2, type: :string
field :Properties, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.Causation.PropertiesEntry,
map: true
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.Event do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Context, 1, type: Cratis.Chronicle.Contracts.ReadModelExplorer.EventContext
field :Content, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.EventContext do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventType, 1, type: Cratis.Chronicle.Contracts.ReadModelExplorer.EventType
field :EventSourceType, 2, type: :string
field :EventSourceId, 3, type: :string
field :SequenceNumber, 4, type: :uint64
field :EventStreamType, 5, type: :string
field :EventStreamId, 6, type: :string
field :Occurred, 7,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.SerializableDateTimeOffset
field :CorrelationId, 8, type: Bcl.Guid
field :Causation, 9,
repeated: true,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.Causation
field :CausedBy, 10, type: Cratis.Chronicle.Contracts.ReadModelExplorer.Identity
field :Tags, 11, repeated: true, type: :string
field :Hash, 12, type: :string
field :ObservationState, 13,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.EventObservationState,
enum: true
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.EventType do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Id, 1, type: :string
field :Generation, 2, type: :uint32
field :Tombstone, 3, type: :bool
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.Identity do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Subject, 1, type: :string
field :Name, 2, type: :string
field :UserName, 3, type: :string
field :OnBehalfOf, 4, type: Cratis.Chronicle.Contracts.ReadModelExplorer.Identity
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.QueryResult_IEnumerable_ReadModelSnapshotResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6,
repeated: true,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.ReadModelSnapshotResponse
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.ReadModelSnapshotResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Occurred, 1,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.SerializableDateTimeOffset
field :CorrelationId, 2, type: Bcl.Guid
field :Instance, 3, type: :string
field :Events, 4, repeated: true, type: Cratis.Chronicle.Contracts.ReadModelExplorer.Event
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.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.ReadModelExplorer.ValidationResult do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Severity, 1,
type: Cratis.Chronicle.Contracts.ReadModelExplorer.ValidationResultSeverity,
enum: true
field :Message, 2, type: :string
field :Members, 3, repeated: true, type: :string
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.ReadModelExplorer.Service do
@moduledoc false
use GRPC.Service,
name: "Cratis.Chronicle.Contracts.ReadModelExplorer.ReadModelExplorer",
protoc_gen_elixir_version: "0.17.0"
rpc :AllSnapshotsForReadModel,
Cratis.Chronicle.Contracts.ReadModelExplorer.AllSnapshotsForReadModelRequest,
Cratis.Chronicle.Contracts.ReadModelExplorer.QueryResult_IEnumerable_ReadModelSnapshotResponse
end
defmodule Cratis.Chronicle.Contracts.ReadModelExplorer.ReadModelExplorer.Stub do
@moduledoc false
use GRPC.Stub, service: Cratis.Chronicle.Contracts.ReadModelExplorer.ReadModelExplorer.Service
end