blob: f994939d98064be664eeb3eb5532ff0e1ec47ee7 [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// gRPC definitions for testing grpc_async_adapter.
syntax = "proto3";
package diagnostics.test_rpcs;
message EmptyRpcRequest {}
message EmptyRpcResponse {}
message EchoIntRpcRequest {
int32 int_to_echo = 1;
}
message EchoIntRpcResponse {
int32 echoed_int = 1;
}
service ExampleService {
rpc EmptyRpc(EmptyRpcRequest) returns (EmptyRpcResponse);
rpc EchoIntRpc(EchoIntRpcRequest) returns (EchoIntRpcResponse);
}