defmodule Cratis.Chronicle.Contracts.Captures.CaptureStatus do @moduledoc false use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Stopped, 0 field :Started, 1 end defmodule Cratis.Chronicle.Contracts.Captures.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.Captures.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.Captures.CaptureDetailsResponse do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Id, 1, type: :string field :Name, 2, type: :string field :Declaration, 3, type: :string field :Status, 4, type: Cratis.Chronicle.Contracts.Captures.CaptureStatus, enum: true end defmodule Cratis.Chronicle.Contracts.Captures.CaptureValidationMessage do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Message, 1, type: :string field :Line, 2, type: :int32 field :Column, 3, type: :int32 end defmodule Cratis.Chronicle.Contracts.Captures.CapturedEventResponse do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Context, 1, type: Cratis.Chronicle.Contracts.Captures.EventContext field :Content, 2, type: :string field :Id, 3, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.CapturedEventsRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string field :CaptureName, 2, type: :string field :Namespace, 3, type: :string field :MaxEvents, 4, type: :int32 end defmodule Cratis.Chronicle.Contracts.Captures.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.Captures.Causation do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Occurred, 1, type: Cratis.Chronicle.Contracts.Captures.SerializableDateTimeOffset field :Type, 2, type: :string field :Properties, 3, repeated: true, type: Cratis.Chronicle.Contracts.Captures.Causation.PropertiesEntry, map: true end defmodule Cratis.Chronicle.Contracts.Captures.CommandResult 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.Captures.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :AuthorizationFailureReason, 6, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.CommandResult_SaveCaptureResponse 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.Captures.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :AuthorizationFailureReason, 6, type: :string field :Response, 7, type: Cratis.Chronicle.Contracts.Captures.SaveCaptureResponse end defmodule Cratis.Chronicle.Contracts.Captures.CommandResult_StartCaptureResponse 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.Captures.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :AuthorizationFailureReason, 6, type: :string field :Response, 7, type: Cratis.Chronicle.Contracts.Captures.StartCaptureResponse end defmodule Cratis.Chronicle.Contracts.Captures.CommandResult_ValidateCaptureDeclarationResponse 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.Captures.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :AuthorizationFailureReason, 6, type: :string field :Response, 7, type: Cratis.Chronicle.Contracts.Captures.ValidateCaptureDeclarationResponse end defmodule Cratis.Chronicle.Contracts.Captures.DeleteCaptureRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string field :CaptureId, 2, type: Bcl.Guid end defmodule Cratis.Chronicle.Contracts.Captures.EventContext do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventType, 1, type: Cratis.Chronicle.Contracts.Captures.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.Captures.SerializableDateTimeOffset field :EventStore, 8, type: :string field :Namespace, 9, type: :string field :CorrelationId, 10, type: Bcl.Guid field :Causation, 11, repeated: true, type: Cratis.Chronicle.Contracts.Captures.Causation field :CausedBy, 12, type: Cratis.Chronicle.Contracts.Captures.Identity field :ObservationState, 13, type: Cratis.Chronicle.Contracts.Captures.EventObservationState, enum: true field :Tags, 14, repeated: true, type: :string field :Hash, 15, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.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.Captures.GetCapturesRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.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.Captures.Identity end defmodule Cratis.Chronicle.Contracts.Captures.ObserveCapturesRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.QueryResult_IEnumerable_CaptureDetailsResponse 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.Captures.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :Data, 6, repeated: true, type: Cratis.Chronicle.Contracts.Captures.CaptureDetailsResponse end defmodule Cratis.Chronicle.Contracts.Captures.QueryResult_IEnumerable_CapturedEventResponse 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.Captures.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :Data, 6, repeated: true, type: Cratis.Chronicle.Contracts.Captures.CapturedEventResponse end defmodule Cratis.Chronicle.Contracts.Captures.SaveCaptureRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string field :Id, 2, type: Bcl.Guid field :Declaration, 3, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.SaveCaptureResponse do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Capture, 1, type: Cratis.Chronicle.Contracts.Captures.CaptureDetailsResponse field :Messages, 2, repeated: true, type: Cratis.Chronicle.Contracts.Captures.CaptureValidationMessage end defmodule Cratis.Chronicle.Contracts.Captures.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.Captures.StartCaptureRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string field :CaptureId, 2, type: Bcl.Guid end defmodule Cratis.Chronicle.Contracts.Captures.StartCaptureResponse do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Messages, 1, repeated: true, type: Cratis.Chronicle.Contracts.Captures.CaptureValidationMessage end defmodule Cratis.Chronicle.Contracts.Captures.StopCaptureRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string field :CaptureId, 2, type: Bcl.Guid end defmodule Cratis.Chronicle.Contracts.Captures.ValidateCaptureDeclarationRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :EventStore, 1, type: :string field :Declaration, 2, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.ValidateCaptureDeclarationResponse do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Messages, 1, repeated: true, type: Cratis.Chronicle.Contracts.Captures.CaptureValidationMessage end defmodule Cratis.Chronicle.Contracts.Captures.ValidationResult do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Severity, 1, type: Cratis.Chronicle.Contracts.Captures.ValidationResultSeverity, enum: true field :Message, 2, type: :string field :Members, 3, repeated: true, type: :string end defmodule Cratis.Chronicle.Contracts.Captures.Captures.Service do @moduledoc false use GRPC.Service, name: "Cratis.Chronicle.Contracts.Captures.Captures", protoc_gen_elixir_version: "0.17.0" rpc :CapturedEvents, Cratis.Chronicle.Contracts.Captures.CapturedEventsRequest, Cratis.Chronicle.Contracts.Captures.QueryResult_IEnumerable_CapturedEventResponse rpc :DeleteCapture, Cratis.Chronicle.Contracts.Captures.DeleteCaptureRequest, Cratis.Chronicle.Contracts.Captures.CommandResult rpc :GetCaptures, Cratis.Chronicle.Contracts.Captures.GetCapturesRequest, Cratis.Chronicle.Contracts.Captures.QueryResult_IEnumerable_CaptureDetailsResponse rpc :ObserveCaptures, Cratis.Chronicle.Contracts.Captures.ObserveCapturesRequest, stream(Cratis.Chronicle.Contracts.Captures.QueryResult_IEnumerable_CaptureDetailsResponse) rpc :SaveCapture, Cratis.Chronicle.Contracts.Captures.SaveCaptureRequest, Cratis.Chronicle.Contracts.Captures.CommandResult_SaveCaptureResponse rpc :StartCapture, Cratis.Chronicle.Contracts.Captures.StartCaptureRequest, Cratis.Chronicle.Contracts.Captures.CommandResult_StartCaptureResponse rpc :StopCapture, Cratis.Chronicle.Contracts.Captures.StopCaptureRequest, Cratis.Chronicle.Contracts.Captures.CommandResult rpc :ValidateCaptureDeclaration, Cratis.Chronicle.Contracts.Captures.ValidateCaptureDeclarationRequest, Cratis.Chronicle.Contracts.Captures.CommandResult_ValidateCaptureDeclarationResponse end defmodule Cratis.Chronicle.Contracts.Captures.Captures.Stub do @moduledoc false use GRPC.Stub, service: Cratis.Chronicle.Contracts.Captures.Captures.Service end