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 // Message to be echoed back serialized in trailer.
22 repeated string stack_entries = 1;
26 // Error status client expects to see.
29 string error_message = 2;
30 string binary_error_details = 3;
33 message RequestParams {
34 bool echo_deadline = 1;
35 int32 client_cancel_after_us = 2;
36 int32 server_cancel_after_us = 3;
37 bool echo_metadata = 4;
38 bool check_auth_context = 5;
39 int32 response_message_length = 6;
41 string expected_client_identity = 8; // will force check_auth_context.
42 bool skip_cancelled_check = 9;
43 string expected_transport_security_type = 10;
44 DebugInfo debug_info = 11;
45 bool server_die = 12; // Server should not see a request with this set.
46 string binary_error_details = 13;
47 ErrorStatus expected_error = 14;
48 int32 server_sleep_us = 15; // Amount to sleep when invoking server
49 int32 backend_channel_idx = 16; // which backend to send request to
54 RequestParams param = 2;
57 message ResponseParams {
58 int64 request_deadline = 1;
63 message EchoResponse {
65 ResponseParams param = 2;