Packages

Precompiled GRPC Modules for nvidia riva

Current section

Files

Jump to
ex_nvidia_riva_modules lib riva proto health.pb.ex
Raw

lib/riva/proto/health.pb.ex

defmodule Grpc.Health.V1.HealthCheckResponse.ServingStatus do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
field :UNKNOWN, 0
field :SERVING, 1
field :NOT_SERVING, 2
end
defmodule Grpc.Health.V1.HealthCheckRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
field :service, 1, type: :string
end
defmodule Grpc.Health.V1.HealthCheckResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
field :status, 1, type: Grpc.Health.V1.HealthCheckResponse.ServingStatus, enum: true
end
defmodule Grpc.Health.V1.Health.Service do
@moduledoc false
use GRPC.Service, name: "grpc.health.v1.Health", protoc_gen_elixir_version: "0.12.0"
rpc :Check, Grpc.Health.V1.HealthCheckRequest, Grpc.Health.V1.HealthCheckResponse
rpc :Watch, Grpc.Health.V1.HealthCheckRequest, stream(Grpc.Health.V1.HealthCheckResponse)
end
defmodule Grpc.Health.V1.Health.Stub do
@moduledoc false
use GRPC.Stub, service: Grpc.Health.V1.Health.Service
end