defmodule Cratis.Chronicle.Contracts.EventStores.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.EventStores.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.EventStores.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :AuthorizationFailureReason, 6, type: :string end defmodule Cratis.Chronicle.Contracts.EventStores.EnsureEventStoreRequest do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Name, 1, type: :string end defmodule Cratis.Chronicle.Contracts.EventStores.QueryResult_IEnumerable_String 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.EventStores.ValidationResult field :ExceptionMessages, 4, repeated: true, type: :string field :ExceptionStackTrace, 5, type: :string field :Data, 6, repeated: true, type: :string end defmodule Cratis.Chronicle.Contracts.EventStores.ValidationResult do @moduledoc false use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3 field :Severity, 1, type: Cratis.Chronicle.Contracts.EventStores.ValidationResultSeverity, enum: true field :Message, 2, type: :string field :Members, 3, repeated: true, type: :string end defmodule Cratis.Chronicle.Contracts.EventStores.EventStores.Service do @moduledoc false use GRPC.Service, name: "Cratis.Chronicle.Contracts.EventStores.EventStores", protoc_gen_elixir_version: "0.17.0" rpc :AllEventStores, Google.Protobuf.Empty, stream(Cratis.Chronicle.Contracts.EventStores.QueryResult_IEnumerable_String) rpc :EnsureEventStore, Cratis.Chronicle.Contracts.EventStores.EnsureEventStoreRequest, Cratis.Chronicle.Contracts.EventStores.CommandResult end defmodule Cratis.Chronicle.Contracts.EventStores.EventStores.Stub do @moduledoc false use GRPC.Stub, service: Cratis.Chronicle.Contracts.EventStores.EventStores.Service end