2 // Copyright 2015 gRPC authors.
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
20 option cc_enable_arenas = true;
22 // Message to be echoed back serialized in trailer.
24 repeated string stack_entries = 1;
28 // Error status client expects to see.
31 string error_message = 2;
32 string binary_error_details = 3;
35 message RequestParams {
36 bool echo_deadline = 1;
37 int32 client_cancel_after_us = 2;
38 int32 server_cancel_after_us = 3;
39 bool echo_metadata = 4;
40 bool check_auth_context = 5;
41 int32 response_message_length = 6;
43 string expected_client_identity = 8; // will force check_auth_context.
44 bool skip_cancelled_check = 9;
45 string expected_transport_security_type = 10;
46 DebugInfo debug_info = 11;
47 bool server_die = 12; // Server should not see a request with this set.
48 string binary_error_details = 13;
49 ErrorStatus expected_error = 14;
50 int32 server_sleep_us = 15; // Amount to sleep when invoking server
51 int32 backend_channel_idx = 16; // which backend to send request to
52 bool echo_metadata_initially = 17;
57 RequestParams param = 2;
60 message ResponseParams {
61 int64 request_deadline = 1;
66 message EchoResponse {
68 ResponseParams param = 2;