LCOV - code coverage report
Current view: top level - gens/test/cpp/util - messages.pb.cc (source / functions) Hit Total Coverage
Test: tmp.zDYK9MVh93 Lines: 337 690 48.8 %
Date: 2015-10-10 Functions: 46 105 43.8 %

          Line data    Source code
       1             : // Generated by the protocol buffer compiler.  DO NOT EDIT!
       2             : // source: test/cpp/util/messages.proto
       3             : 
       4             : #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
       5             : #include "test/cpp/util/messages.pb.h"
       6             : 
       7             : #include <algorithm>
       8             : 
       9             : #include <google/protobuf/stubs/common.h>
      10             : #include <google/protobuf/stubs/once.h>
      11             : #include <google/protobuf/io/coded_stream.h>
      12             : #include <google/protobuf/wire_format_lite_inl.h>
      13             : #include <google/protobuf/descriptor.h>
      14             : #include <google/protobuf/generated_message_reflection.h>
      15             : #include <google/protobuf/reflection_ops.h>
      16             : #include <google/protobuf/wire_format.h>
      17             : // @@protoc_insertion_point(includes)
      18             : 
      19             : namespace grpc {
      20             : namespace cpp {
      21             : namespace test {
      22             : namespace util {
      23             : 
      24             : namespace {
      25             : 
      26             : const ::google::protobuf::Descriptor* RequestParams_descriptor_ = NULL;
      27             : const ::google::protobuf::internal::GeneratedMessageReflection*
      28             :   RequestParams_reflection_ = NULL;
      29             : const ::google::protobuf::Descriptor* EchoRequest_descriptor_ = NULL;
      30             : const ::google::protobuf::internal::GeneratedMessageReflection*
      31             :   EchoRequest_reflection_ = NULL;
      32             : const ::google::protobuf::Descriptor* ResponseParams_descriptor_ = NULL;
      33             : const ::google::protobuf::internal::GeneratedMessageReflection*
      34             :   ResponseParams_reflection_ = NULL;
      35             : const ::google::protobuf::Descriptor* EchoResponse_descriptor_ = NULL;
      36             : const ::google::protobuf::internal::GeneratedMessageReflection*
      37             :   EchoResponse_reflection_ = NULL;
      38             : 
      39             : }  // namespace
      40             : 
      41             : 
      42           0 : void protobuf_AssignDesc_test_2fcpp_2futil_2fmessages_2eproto() {
      43           0 :   protobuf_AddDesc_test_2fcpp_2futil_2fmessages_2eproto();
      44             :   const ::google::protobuf::FileDescriptor* file =
      45             :     ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      46           0 :       "test/cpp/util/messages.proto");
      47           0 :   GOOGLE_CHECK(file != NULL);
      48           0 :   RequestParams_descriptor_ = file->message_type(0);
      49             :   static const int RequestParams_offsets_[8] = {
      50             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, echo_deadline_),
      51             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, client_cancel_after_us_),
      52             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, server_cancel_after_us_),
      53             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, echo_metadata_),
      54             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, check_auth_context_),
      55             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, response_message_length_),
      56             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, echo_peer_),
      57             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, expected_client_identity_),
      58             :   };
      59             :   RequestParams_reflection_ =
      60             :     ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      61             :       RequestParams_descriptor_,
      62             :       RequestParams::default_instance_,
      63             :       RequestParams_offsets_,
      64             :       -1,
      65             :       -1,
      66             :       -1,
      67             :       sizeof(RequestParams),
      68             :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, _internal_metadata_),
      69           0 :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RequestParams, _is_default_instance_));
      70           0 :   EchoRequest_descriptor_ = file->message_type(1);
      71             :   static const int EchoRequest_offsets_[2] = {
      72             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoRequest, message_),
      73             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoRequest, param_),
      74             :   };
      75             :   EchoRequest_reflection_ =
      76             :     ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      77             :       EchoRequest_descriptor_,
      78             :       EchoRequest::default_instance_,
      79             :       EchoRequest_offsets_,
      80             :       -1,
      81             :       -1,
      82             :       -1,
      83             :       sizeof(EchoRequest),
      84             :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoRequest, _internal_metadata_),
      85           0 :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoRequest, _is_default_instance_));
      86           0 :   ResponseParams_descriptor_ = file->message_type(2);
      87             :   static const int ResponseParams_offsets_[3] = {
      88             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResponseParams, request_deadline_),
      89             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResponseParams, host_),
      90             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResponseParams, peer_),
      91             :   };
      92             :   ResponseParams_reflection_ =
      93             :     ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      94             :       ResponseParams_descriptor_,
      95             :       ResponseParams::default_instance_,
      96             :       ResponseParams_offsets_,
      97             :       -1,
      98             :       -1,
      99             :       -1,
     100             :       sizeof(ResponseParams),
     101             :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResponseParams, _internal_metadata_),
     102           0 :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResponseParams, _is_default_instance_));
     103           0 :   EchoResponse_descriptor_ = file->message_type(3);
     104             :   static const int EchoResponse_offsets_[2] = {
     105             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoResponse, message_),
     106             :     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoResponse, param_),
     107             :   };
     108             :   EchoResponse_reflection_ =
     109             :     ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
     110             :       EchoResponse_descriptor_,
     111             :       EchoResponse::default_instance_,
     112             :       EchoResponse_offsets_,
     113             :       -1,
     114             :       -1,
     115             :       -1,
     116             :       sizeof(EchoResponse),
     117             :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoResponse, _internal_metadata_),
     118           0 :       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EchoResponse, _is_default_instance_));
     119           0 : }
     120             : 
     121             : namespace {
     122             : 
     123             : GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
     124           0 : inline void protobuf_AssignDescriptorsOnce() {
     125             :   ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
     126           0 :                  &protobuf_AssignDesc_test_2fcpp_2futil_2fmessages_2eproto);
     127           0 : }
     128             : 
     129           0 : void protobuf_RegisterTypes(const ::std::string&) {
     130           0 :   protobuf_AssignDescriptorsOnce();
     131             :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
     132           0 :       RequestParams_descriptor_, &RequestParams::default_instance());
     133             :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
     134           0 :       EchoRequest_descriptor_, &EchoRequest::default_instance());
     135             :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
     136           0 :       ResponseParams_descriptor_, &ResponseParams::default_instance());
     137             :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
     138           0 :       EchoResponse_descriptor_, &EchoResponse::default_instance());
     139           0 : }
     140             : 
     141             : }  // namespace
     142             : 
     143           0 : void protobuf_ShutdownFile_test_2fcpp_2futil_2fmessages_2eproto() {
     144           0 :   delete RequestParams::default_instance_;
     145           0 :   delete RequestParams_reflection_;
     146           0 :   delete EchoRequest::default_instance_;
     147           0 :   delete EchoRequest_reflection_;
     148           0 :   delete ResponseParams::default_instance_;
     149           0 :   delete ResponseParams_reflection_;
     150           0 :   delete EchoResponse::default_instance_;
     151           0 :   delete EchoResponse_reflection_;
     152           0 : }
     153             : 
     154          10 : void protobuf_AddDesc_test_2fcpp_2futil_2fmessages_2eproto() {
     155             :   static bool already_here = false;
     156          20 :   if (already_here) return;
     157          10 :   already_here = true;
     158          10 :   GOOGLE_PROTOBUF_VERIFY_VERSION;
     159             : 
     160             :   ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
     161             :     "\n\034test/cpp/util/messages.proto\022\022grpc.cpp"
     162             :     ".test.util\"\357\001\n\rRequestParams\022\025\n\recho_dea"
     163             :     "dline\030\001 \001(\010\022\036\n\026client_cancel_after_us\030\002 "
     164             :     "\001(\005\022\036\n\026server_cancel_after_us\030\003 \001(\005\022\025\n\re"
     165             :     "cho_metadata\030\004 \001(\010\022\032\n\022check_auth_context"
     166             :     "\030\005 \001(\010\022\037\n\027response_message_length\030\006 \001(\005\022"
     167             :     "\021\n\techo_peer\030\007 \001(\010\022 \n\030expected_client_id"
     168             :     "entity\030\010 \001(\t\"P\n\013EchoRequest\022\017\n\007message\030\001"
     169             :     " \001(\t\0220\n\005param\030\002 \001(\0132!.grpc.cpp.test.util"
     170             :     ".RequestParams\"F\n\016ResponseParams\022\030\n\020requ"
     171             :     "est_deadline\030\001 \001(\003\022\014\n\004host\030\002 \001(\t\022\014\n\004peer"
     172             :     "\030\003 \001(\t\"R\n\014EchoResponse\022\017\n\007message\030\001 \001(\t\022"
     173             :     "1\n\005param\030\002 \001(\0132\".grpc.cpp.test.util.Resp"
     174          10 :     "onseParamsb\006proto3", 538);
     175             :   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
     176          10 :     "test/cpp/util/messages.proto", &protobuf_RegisterTypes);
     177          10 :   RequestParams::default_instance_ = new RequestParams();
     178          10 :   EchoRequest::default_instance_ = new EchoRequest();
     179          10 :   ResponseParams::default_instance_ = new ResponseParams();
     180          10 :   EchoResponse::default_instance_ = new EchoResponse();
     181          10 :   RequestParams::default_instance_->InitAsDefaultInstance();
     182          10 :   EchoRequest::default_instance_->InitAsDefaultInstance();
     183          10 :   ResponseParams::default_instance_->InitAsDefaultInstance();
     184          10 :   EchoResponse::default_instance_->InitAsDefaultInstance();
     185          10 :   ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_test_2fcpp_2futil_2fmessages_2eproto);
     186             : }
     187             : 
     188             : // Force AddDescriptors() to be called at static initialization time.
     189             : struct StaticDescriptorInitializer_test_2fcpp_2futil_2fmessages_2eproto {
     190          10 :   StaticDescriptorInitializer_test_2fcpp_2futil_2fmessages_2eproto() {
     191          10 :     protobuf_AddDesc_test_2fcpp_2futil_2fmessages_2eproto();
     192          10 :   }
     193          10 : } static_descriptor_initializer_test_2fcpp_2futil_2fmessages_2eproto_;
     194             : 
     195             : namespace {
     196             : 
     197             : static void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD;
     198           0 : static void MergeFromFail(int line) {
     199           0 :   GOOGLE_CHECK(false) << __FILE__ << ":" << line;
     200           0 : }
     201             : 
     202             : }  // namespace
     203             : 
     204             : 
     205             : // ===================================================================
     206             : 
     207             : #ifndef _MSC_VER
     208             : const int RequestParams::kEchoDeadlineFieldNumber;
     209             : const int RequestParams::kClientCancelAfterUsFieldNumber;
     210             : const int RequestParams::kServerCancelAfterUsFieldNumber;
     211             : const int RequestParams::kEchoMetadataFieldNumber;
     212             : const int RequestParams::kCheckAuthContextFieldNumber;
     213             : const int RequestParams::kResponseMessageLengthFieldNumber;
     214             : const int RequestParams::kEchoPeerFieldNumber;
     215             : const int RequestParams::kExpectedClientIdentityFieldNumber;
     216             : #endif  // !_MSC_VER
     217             : 
     218          81 : RequestParams::RequestParams()
     219          81 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     220          81 :   SharedCtor();
     221             :   // @@protoc_insertion_point(constructor:grpc.cpp.test.util.RequestParams)
     222          81 : }
     223             : 
     224          10 : void RequestParams::InitAsDefaultInstance() {
     225          10 :   _is_default_instance_ = true;
     226          10 : }
     227             : 
     228           0 : RequestParams::RequestParams(const RequestParams& from)
     229             :   : ::google::protobuf::Message(),
     230           0 :     _internal_metadata_(NULL) {
     231           0 :   SharedCtor();
     232           0 :   MergeFrom(from);
     233             :   // @@protoc_insertion_point(copy_constructor:grpc.cpp.test.util.RequestParams)
     234           0 : }
     235             : 
     236          81 : void RequestParams::SharedCtor() {
     237          81 :     _is_default_instance_ = false;
     238          81 :   ::google::protobuf::internal::GetEmptyString();
     239          81 :   _cached_size_ = 0;
     240          81 :   echo_deadline_ = false;
     241          81 :   client_cancel_after_us_ = 0;
     242          81 :   server_cancel_after_us_ = 0;
     243          81 :   echo_metadata_ = false;
     244          81 :   check_auth_context_ = false;
     245          81 :   response_message_length_ = 0;
     246          81 :   echo_peer_ = false;
     247          81 :   expected_client_identity_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     248          81 : }
     249             : 
     250         213 : RequestParams::~RequestParams() {
     251             :   // @@protoc_insertion_point(destructor:grpc.cpp.test.util.RequestParams)
     252          71 :   SharedDtor();
     253         142 : }
     254             : 
     255          71 : void RequestParams::SharedDtor() {
     256          71 :   expected_client_identity_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     257          71 :   if (this != default_instance_) {
     258             :   }
     259          71 : }
     260             : 
     261           0 : void RequestParams::SetCachedSize(int size) const {
     262             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
     263           0 :   _cached_size_ = size;
     264             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
     265           0 : }
     266           0 : const ::google::protobuf::Descriptor* RequestParams::descriptor() {
     267           0 :   protobuf_AssignDescriptorsOnce();
     268           0 :   return RequestParams_descriptor_;
     269             : }
     270             : 
     271          10 : const RequestParams& RequestParams::default_instance() {
     272          10 :   if (default_instance_ == NULL) protobuf_AddDesc_test_2fcpp_2futil_2fmessages_2eproto();
     273          10 :   return *default_instance_;
     274             : }
     275             : 
     276             : RequestParams* RequestParams::default_instance_ = NULL;
     277             : 
     278           0 : RequestParams* RequestParams::New(::google::protobuf::Arena* arena) const {
     279           0 :   RequestParams* n = new RequestParams;
     280           0 :   if (arena != NULL) {
     281           0 :     arena->Own(n);
     282             :   }
     283           0 :   return n;
     284             : }
     285             : 
     286           0 : void RequestParams::Clear() {
     287             : #define ZR_HELPER_(f) reinterpret_cast<char*>(\
     288             :   &reinterpret_cast<RequestParams*>(16)->f)
     289             : 
     290             : #define ZR_(first, last) do {\
     291             :   ::memset(&first, 0,\
     292             :            ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\
     293             : } while (0)
     294             : 
     295           0 :   ZR_(client_cancel_after_us_, response_message_length_);
     296           0 :   expected_client_identity_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     297             : 
     298             : #undef ZR_HELPER_
     299             : #undef ZR_
     300             : 
     301           0 : }
     302             : 
     303          82 : bool RequestParams::MergePartialFromCodedStream(
     304             :     ::google::protobuf::io::CodedInputStream* input) {
     305             : #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
     306             :   ::google::protobuf::uint32 tag;
     307             :   // @@protoc_insertion_point(parse_start:grpc.cpp.test.util.RequestParams)
     308             :   for (;;) {
     309             :     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
     310          82 :     tag = p.first;
     311         121 :     if (!p.second) goto handle_unusual;
     312          43 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     313             :       // optional bool echo_deadline = 1;
     314             :       case 1: {
     315          12 :         if (tag == 8) {
     316          24 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     317             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
     318             :                  input, &echo_deadline_)));
     319             : 
     320             :         } else {
     321           0 :           goto handle_unusual;
     322             :         }
     323          12 :         if (input->ExpectTag(16)) goto parse_client_cancel_after_us;
     324          12 :         break;
     325             :       }
     326             : 
     327             :       // optional int32 client_cancel_after_us = 2;
     328             :       case 2: {
     329           6 :         if (tag == 16) {
     330             :          parse_client_cancel_after_us:
     331          12 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     332             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
     333             :                  input, &client_cancel_after_us_)));
     334             : 
     335             :         } else {
     336           0 :           goto handle_unusual;
     337             :         }
     338           6 :         if (input->ExpectTag(24)) goto parse_server_cancel_after_us;
     339           6 :         break;
     340             :       }
     341             : 
     342             :       // optional int32 server_cancel_after_us = 3;
     343             :       case 3: {
     344           6 :         if (tag == 24) {
     345             :          parse_server_cancel_after_us:
     346          12 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     347             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
     348             :                  input, &server_cancel_after_us_)));
     349             : 
     350             :         } else {
     351           0 :           goto handle_unusual;
     352             :         }
     353           6 :         if (input->ExpectTag(32)) goto parse_echo_metadata;
     354           6 :         break;
     355             :       }
     356             : 
     357             :       // optional bool echo_metadata = 4;
     358             :       case 4: {
     359           4 :         if (tag == 32) {
     360             :          parse_echo_metadata:
     361           8 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     362             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
     363             :                  input, &echo_metadata_)));
     364             : 
     365             :         } else {
     366           0 :           goto handle_unusual;
     367             :         }
     368           4 :         if (input->ExpectTag(40)) goto parse_check_auth_context;
     369           4 :         break;
     370             :       }
     371             : 
     372             :       // optional bool check_auth_context = 5;
     373             :       case 5: {
     374           1 :         if (tag == 40) {
     375             :          parse_check_auth_context:
     376           2 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     377             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
     378             :                  input, &check_auth_context_)));
     379             : 
     380             :         } else {
     381           0 :           goto handle_unusual;
     382             :         }
     383           1 :         if (input->ExpectTag(48)) goto parse_response_message_length;
     384           1 :         break;
     385             :       }
     386             : 
     387             :       // optional int32 response_message_length = 6;
     388             :       case 6: {
     389           6 :         if (tag == 48) {
     390             :          parse_response_message_length:
     391          12 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     392             :                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
     393             :                  input, &response_message_length_)));
     394             : 
     395             :         } else {
     396           0 :           goto handle_unusual;
     397             :         }
     398           6 :         if (input->ExpectTag(56)) goto parse_echo_peer;
     399           6 :         break;
     400             :       }
     401             : 
     402             :       // optional bool echo_peer = 7;
     403             :       case 7: {
     404           6 :         if (tag == 56) {
     405             :          parse_echo_peer:
     406          12 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
     407             :                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
     408             :                  input, &echo_peer_)));
     409             : 
     410             :         } else {
     411           0 :           goto handle_unusual;
     412             :         }
     413           6 :         if (input->ExpectTag(66)) goto parse_expected_client_identity;
     414           6 :         break;
     415             :       }
     416             : 
     417             :       // optional string expected_client_identity = 8;
     418             :       case 8: {
     419           2 :         if (tag == 66) {
     420             :          parse_expected_client_identity:
     421           2 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     422             :                 input, this->mutable_expected_client_identity()));
     423           2 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     424             :             this->expected_client_identity().data(), this->expected_client_identity().length(),
     425             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     426             :             "grpc.cpp.test.util.RequestParams.expected_client_identity"));
     427             :         } else {
     428           0 :           goto handle_unusual;
     429             :         }
     430          43 :         if (input->ExpectAtEnd()) goto success;
     431           0 :         break;
     432             :       }
     433             : 
     434             :       default: {
     435             :       handle_unusual:
     436          39 :         if (tag == 0 ||
     437           0 :             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
     438             :             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
     439          39 :           goto success;
     440             :         }
     441           0 :         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
     442           0 :         break;
     443             :       }
     444             :     }
     445          41 :   }
     446             : success:
     447             :   // @@protoc_insertion_point(parse_success:grpc.cpp.test.util.RequestParams)
     448          41 :   return true;
     449             : failure:
     450             :   // @@protoc_insertion_point(parse_failure:grpc.cpp.test.util.RequestParams)
     451           0 :   return false;
     452             : #undef DO_
     453             : }
     454             : 
     455           0 : void RequestParams::SerializeWithCachedSizes(
     456             :     ::google::protobuf::io::CodedOutputStream* output) const {
     457             :   // @@protoc_insertion_point(serialize_start:grpc.cpp.test.util.RequestParams)
     458             :   // optional bool echo_deadline = 1;
     459           0 :   if (this->echo_deadline() != 0) {
     460           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->echo_deadline(), output);
     461             :   }
     462             : 
     463             :   // optional int32 client_cancel_after_us = 2;
     464           0 :   if (this->client_cancel_after_us() != 0) {
     465           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->client_cancel_after_us(), output);
     466             :   }
     467             : 
     468             :   // optional int32 server_cancel_after_us = 3;
     469           0 :   if (this->server_cancel_after_us() != 0) {
     470           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->server_cancel_after_us(), output);
     471             :   }
     472             : 
     473             :   // optional bool echo_metadata = 4;
     474           0 :   if (this->echo_metadata() != 0) {
     475           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->echo_metadata(), output);
     476             :   }
     477             : 
     478             :   // optional bool check_auth_context = 5;
     479           0 :   if (this->check_auth_context() != 0) {
     480           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->check_auth_context(), output);
     481             :   }
     482             : 
     483             :   // optional int32 response_message_length = 6;
     484           0 :   if (this->response_message_length() != 0) {
     485           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->response_message_length(), output);
     486             :   }
     487             : 
     488             :   // optional bool echo_peer = 7;
     489           0 :   if (this->echo_peer() != 0) {
     490           0 :     ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->echo_peer(), output);
     491             :   }
     492             : 
     493             :   // optional string expected_client_identity = 8;
     494           0 :   if (this->expected_client_identity().size() > 0) {
     495             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     496           0 :       this->expected_client_identity().data(), this->expected_client_identity().length(),
     497             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     498           0 :       "grpc.cpp.test.util.RequestParams.expected_client_identity");
     499             :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
     500           0 :       8, this->expected_client_identity(), output);
     501             :   }
     502             : 
     503             :   // @@protoc_insertion_point(serialize_end:grpc.cpp.test.util.RequestParams)
     504           0 : }
     505             : 
     506          42 : ::google::protobuf::uint8* RequestParams::SerializeWithCachedSizesToArray(
     507             :     ::google::protobuf::uint8* target) const {
     508             :   // @@protoc_insertion_point(serialize_to_array_start:grpc.cpp.test.util.RequestParams)
     509             :   // optional bool echo_deadline = 1;
     510          42 :   if (this->echo_deadline() != 0) {
     511          24 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->echo_deadline(), target);
     512             :   }
     513             : 
     514             :   // optional int32 client_cancel_after_us = 2;
     515          42 :   if (this->client_cancel_after_us() != 0) {
     516          12 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->client_cancel_after_us(), target);
     517             :   }
     518             : 
     519             :   // optional int32 server_cancel_after_us = 3;
     520          42 :   if (this->server_cancel_after_us() != 0) {
     521          12 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->server_cancel_after_us(), target);
     522             :   }
     523             : 
     524             :   // optional bool echo_metadata = 4;
     525          42 :   if (this->echo_metadata() != 0) {
     526          10 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->echo_metadata(), target);
     527             :   }
     528             : 
     529             :   // optional bool check_auth_context = 5;
     530          42 :   if (this->check_auth_context() != 0) {
     531           2 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->check_auth_context(), target);
     532             :   }
     533             : 
     534             :   // optional int32 response_message_length = 6;
     535          42 :   if (this->response_message_length() != 0) {
     536          12 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->response_message_length(), target);
     537             :   }
     538             : 
     539             :   // optional bool echo_peer = 7;
     540          42 :   if (this->echo_peer() != 0) {
     541          12 :     target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->echo_peer(), target);
     542             :   }
     543             : 
     544             :   // optional string expected_client_identity = 8;
     545          42 :   if (this->expected_client_identity().size() > 0) {
     546             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     547           4 :       this->expected_client_identity().data(), this->expected_client_identity().length(),
     548             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     549           4 :       "grpc.cpp.test.util.RequestParams.expected_client_identity");
     550             :     target =
     551             :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
     552           4 :         8, this->expected_client_identity(), target);
     553             :   }
     554             : 
     555             :   // @@protoc_insertion_point(serialize_to_array_end:grpc.cpp.test.util.RequestParams)
     556          42 :   return target;
     557             : }
     558             : 
     559          42 : int RequestParams::ByteSize() const {
     560          42 :   int total_size = 0;
     561             : 
     562             :   // optional bool echo_deadline = 1;
     563          42 :   if (this->echo_deadline() != 0) {
     564          12 :     total_size += 1 + 1;
     565             :   }
     566             : 
     567             :   // optional int32 client_cancel_after_us = 2;
     568          42 :   if (this->client_cancel_after_us() != 0) {
     569             :     total_size += 1 +
     570             :       ::google::protobuf::internal::WireFormatLite::Int32Size(
     571           6 :         this->client_cancel_after_us());
     572             :   }
     573             : 
     574             :   // optional int32 server_cancel_after_us = 3;
     575          42 :   if (this->server_cancel_after_us() != 0) {
     576             :     total_size += 1 +
     577             :       ::google::protobuf::internal::WireFormatLite::Int32Size(
     578           6 :         this->server_cancel_after_us());
     579             :   }
     580             : 
     581             :   // optional bool echo_metadata = 4;
     582          42 :   if (this->echo_metadata() != 0) {
     583           5 :     total_size += 1 + 1;
     584             :   }
     585             : 
     586             :   // optional bool check_auth_context = 5;
     587          42 :   if (this->check_auth_context() != 0) {
     588           1 :     total_size += 1 + 1;
     589             :   }
     590             : 
     591             :   // optional int32 response_message_length = 6;
     592          42 :   if (this->response_message_length() != 0) {
     593             :     total_size += 1 +
     594             :       ::google::protobuf::internal::WireFormatLite::Int32Size(
     595           6 :         this->response_message_length());
     596             :   }
     597             : 
     598             :   // optional bool echo_peer = 7;
     599          42 :   if (this->echo_peer() != 0) {
     600           6 :     total_size += 1 + 1;
     601             :   }
     602             : 
     603             :   // optional string expected_client_identity = 8;
     604          42 :   if (this->expected_client_identity().size() > 0) {
     605             :     total_size += 1 +
     606             :       ::google::protobuf::internal::WireFormatLite::StringSize(
     607           2 :         this->expected_client_identity());
     608             :   }
     609             : 
     610             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
     611          42 :   _cached_size_ = total_size;
     612             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
     613          42 :   return total_size;
     614             : }
     615             : 
     616           0 : void RequestParams::MergeFrom(const ::google::protobuf::Message& from) {
     617           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
     618             :   const RequestParams* source = 
     619             :       ::google::protobuf::internal::DynamicCastToGenerated<const RequestParams>(
     620           0 :           &from);
     621           0 :   if (source == NULL) {
     622           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
     623             :   } else {
     624           0 :     MergeFrom(*source);
     625             :   }
     626           0 : }
     627             : 
     628           0 : void RequestParams::MergeFrom(const RequestParams& from) {
     629           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
     630           0 :   if (from.echo_deadline() != 0) {
     631           0 :     set_echo_deadline(from.echo_deadline());
     632             :   }
     633           0 :   if (from.client_cancel_after_us() != 0) {
     634           0 :     set_client_cancel_after_us(from.client_cancel_after_us());
     635             :   }
     636           0 :   if (from.server_cancel_after_us() != 0) {
     637           0 :     set_server_cancel_after_us(from.server_cancel_after_us());
     638             :   }
     639           0 :   if (from.echo_metadata() != 0) {
     640           0 :     set_echo_metadata(from.echo_metadata());
     641             :   }
     642           0 :   if (from.check_auth_context() != 0) {
     643           0 :     set_check_auth_context(from.check_auth_context());
     644             :   }
     645           0 :   if (from.response_message_length() != 0) {
     646           0 :     set_response_message_length(from.response_message_length());
     647             :   }
     648           0 :   if (from.echo_peer() != 0) {
     649           0 :     set_echo_peer(from.echo_peer());
     650             :   }
     651           0 :   if (from.expected_client_identity().size() > 0) {
     652             : 
     653           0 :     expected_client_identity_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.expected_client_identity_);
     654             :   }
     655           0 : }
     656             : 
     657           0 : void RequestParams::CopyFrom(const ::google::protobuf::Message& from) {
     658           0 :   if (&from == this) return;
     659           0 :   Clear();
     660           0 :   MergeFrom(from);
     661             : }
     662             : 
     663           0 : void RequestParams::CopyFrom(const RequestParams& from) {
     664           0 :   if (&from == this) return;
     665           0 :   Clear();
     666           0 :   MergeFrom(from);
     667             : }
     668             : 
     669           0 : bool RequestParams::IsInitialized() const {
     670             : 
     671           0 :   return true;
     672             : }
     673             : 
     674           0 : void RequestParams::Swap(RequestParams* other) {
     675           0 :   if (other == this) return;
     676           0 :   InternalSwap(other);
     677             : }
     678           0 : void RequestParams::InternalSwap(RequestParams* other) {
     679           0 :   std::swap(echo_deadline_, other->echo_deadline_);
     680           0 :   std::swap(client_cancel_after_us_, other->client_cancel_after_us_);
     681           0 :   std::swap(server_cancel_after_us_, other->server_cancel_after_us_);
     682           0 :   std::swap(echo_metadata_, other->echo_metadata_);
     683           0 :   std::swap(check_auth_context_, other->check_auth_context_);
     684           0 :   std::swap(response_message_length_, other->response_message_length_);
     685           0 :   std::swap(echo_peer_, other->echo_peer_);
     686           0 :   expected_client_identity_.Swap(&other->expected_client_identity_);
     687           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
     688           0 :   std::swap(_cached_size_, other->_cached_size_);
     689           0 : }
     690             : 
     691           0 : ::google::protobuf::Metadata RequestParams::GetMetadata() const {
     692           0 :   protobuf_AssignDescriptorsOnce();
     693             :   ::google::protobuf::Metadata metadata;
     694           0 :   metadata.descriptor = RequestParams_descriptor_;
     695           0 :   metadata.reflection = RequestParams_reflection_;
     696           0 :   return metadata;
     697             : }
     698             : 
     699             : #if PROTOBUF_INLINE_NOT_IN_HEADERS
     700             : // RequestParams
     701             : 
     702             : // optional bool echo_deadline = 1;
     703             : void RequestParams::clear_echo_deadline() {
     704             :   echo_deadline_ = false;
     705             : }
     706             :  bool RequestParams::echo_deadline() const {
     707             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.echo_deadline)
     708             :   return echo_deadline_;
     709             : }
     710             :  void RequestParams::set_echo_deadline(bool value) {
     711             :   
     712             :   echo_deadline_ = value;
     713             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.echo_deadline)
     714             : }
     715             : 
     716             : // optional int32 client_cancel_after_us = 2;
     717             : void RequestParams::clear_client_cancel_after_us() {
     718             :   client_cancel_after_us_ = 0;
     719             : }
     720             :  ::google::protobuf::int32 RequestParams::client_cancel_after_us() const {
     721             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.client_cancel_after_us)
     722             :   return client_cancel_after_us_;
     723             : }
     724             :  void RequestParams::set_client_cancel_after_us(::google::protobuf::int32 value) {
     725             :   
     726             :   client_cancel_after_us_ = value;
     727             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.client_cancel_after_us)
     728             : }
     729             : 
     730             : // optional int32 server_cancel_after_us = 3;
     731             : void RequestParams::clear_server_cancel_after_us() {
     732             :   server_cancel_after_us_ = 0;
     733             : }
     734             :  ::google::protobuf::int32 RequestParams::server_cancel_after_us() const {
     735             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.server_cancel_after_us)
     736             :   return server_cancel_after_us_;
     737             : }
     738             :  void RequestParams::set_server_cancel_after_us(::google::protobuf::int32 value) {
     739             :   
     740             :   server_cancel_after_us_ = value;
     741             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.server_cancel_after_us)
     742             : }
     743             : 
     744             : // optional bool echo_metadata = 4;
     745             : void RequestParams::clear_echo_metadata() {
     746             :   echo_metadata_ = false;
     747             : }
     748             :  bool RequestParams::echo_metadata() const {
     749             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.echo_metadata)
     750             :   return echo_metadata_;
     751             : }
     752             :  void RequestParams::set_echo_metadata(bool value) {
     753             :   
     754             :   echo_metadata_ = value;
     755             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.echo_metadata)
     756             : }
     757             : 
     758             : // optional bool check_auth_context = 5;
     759             : void RequestParams::clear_check_auth_context() {
     760             :   check_auth_context_ = false;
     761             : }
     762             :  bool RequestParams::check_auth_context() const {
     763             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.check_auth_context)
     764             :   return check_auth_context_;
     765             : }
     766             :  void RequestParams::set_check_auth_context(bool value) {
     767             :   
     768             :   check_auth_context_ = value;
     769             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.check_auth_context)
     770             : }
     771             : 
     772             : // optional int32 response_message_length = 6;
     773             : void RequestParams::clear_response_message_length() {
     774             :   response_message_length_ = 0;
     775             : }
     776             :  ::google::protobuf::int32 RequestParams::response_message_length() const {
     777             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.response_message_length)
     778             :   return response_message_length_;
     779             : }
     780             :  void RequestParams::set_response_message_length(::google::protobuf::int32 value) {
     781             :   
     782             :   response_message_length_ = value;
     783             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.response_message_length)
     784             : }
     785             : 
     786             : // optional bool echo_peer = 7;
     787             : void RequestParams::clear_echo_peer() {
     788             :   echo_peer_ = false;
     789             : }
     790             :  bool RequestParams::echo_peer() const {
     791             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.echo_peer)
     792             :   return echo_peer_;
     793             : }
     794             :  void RequestParams::set_echo_peer(bool value) {
     795             :   
     796             :   echo_peer_ = value;
     797             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.echo_peer)
     798             : }
     799             : 
     800             : // optional string expected_client_identity = 8;
     801             : void RequestParams::clear_expected_client_identity() {
     802             :   expected_client_identity_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     803             : }
     804             :  const ::std::string& RequestParams::expected_client_identity() const {
     805             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.RequestParams.expected_client_identity)
     806             :   return expected_client_identity_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     807             : }
     808             :  void RequestParams::set_expected_client_identity(const ::std::string& value) {
     809             :   
     810             :   expected_client_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
     811             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.RequestParams.expected_client_identity)
     812             : }
     813             :  void RequestParams::set_expected_client_identity(const char* value) {
     814             :   
     815             :   expected_client_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
     816             :   // @@protoc_insertion_point(field_set_char:grpc.cpp.test.util.RequestParams.expected_client_identity)
     817             : }
     818             :  void RequestParams::set_expected_client_identity(const char* value, size_t size) {
     819             :   
     820             :   expected_client_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
     821             :       ::std::string(reinterpret_cast<const char*>(value), size));
     822             :   // @@protoc_insertion_point(field_set_pointer:grpc.cpp.test.util.RequestParams.expected_client_identity)
     823             : }
     824             :  ::std::string* RequestParams::mutable_expected_client_identity() {
     825             :   
     826             :   // @@protoc_insertion_point(field_mutable:grpc.cpp.test.util.RequestParams.expected_client_identity)
     827             :   return expected_client_identity_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     828             : }
     829             :  ::std::string* RequestParams::release_expected_client_identity() {
     830             :   
     831             :   return expected_client_identity_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     832             : }
     833             :  void RequestParams::set_allocated_expected_client_identity(::std::string* expected_client_identity) {
     834             :   if (expected_client_identity != NULL) {
     835             :     
     836             :   } else {
     837             :     
     838             :   }
     839             :   expected_client_identity_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), expected_client_identity);
     840             :   // @@protoc_insertion_point(field_set_allocated:grpc.cpp.test.util.RequestParams.expected_client_identity)
     841             : }
     842             : 
     843             : #endif  // PROTOBUF_INLINE_NOT_IN_HEADERS
     844             : 
     845             : // ===================================================================
     846             : 
     847             : #ifndef _MSC_VER
     848             : const int EchoRequest::kMessageFieldNumber;
     849             : const int EchoRequest::kParamFieldNumber;
     850             : #endif  // !_MSC_VER
     851             : 
     852      111035 : EchoRequest::EchoRequest()
     853      111035 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
     854      111035 :   SharedCtor();
     855             :   // @@protoc_insertion_point(constructor:grpc.cpp.test.util.EchoRequest)
     856      111035 : }
     857             : 
     858          10 : void EchoRequest::InitAsDefaultInstance() {
     859          10 :   _is_default_instance_ = true;
     860          10 :   param_ = const_cast< ::grpc::cpp::test::util::RequestParams*>(&::grpc::cpp::test::util::RequestParams::default_instance());
     861          10 : }
     862             : 
     863           0 : EchoRequest::EchoRequest(const EchoRequest& from)
     864             :   : ::google::protobuf::Message(),
     865           0 :     _internal_metadata_(NULL) {
     866           0 :   SharedCtor();
     867           0 :   MergeFrom(from);
     868             :   // @@protoc_insertion_point(copy_constructor:grpc.cpp.test.util.EchoRequest)
     869           0 : }
     870             : 
     871      110950 : void EchoRequest::SharedCtor() {
     872      110950 :     _is_default_instance_ = false;
     873      110950 :   ::google::protobuf::internal::GetEmptyString();
     874      111035 :   _cached_size_ = 0;
     875      111035 :   message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     876      111035 :   param_ = NULL;
     877      111035 : }
     878             : 
     879      221986 : EchoRequest::~EchoRequest() {
     880             :   // @@protoc_insertion_point(destructor:grpc.cpp.test.util.EchoRequest)
     881      110960 :   SharedDtor();
     882      111026 : }
     883             : 
     884      111024 : void EchoRequest::SharedDtor() {
     885      111024 :   message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     886      111026 :   if (this != default_instance_) {
     887      111026 :     delete param_;
     888             :   }
     889      111026 : }
     890             : 
     891           0 : void EchoRequest::SetCachedSize(int size) const {
     892             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
     893           0 :   _cached_size_ = size;
     894             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
     895           0 : }
     896           0 : const ::google::protobuf::Descriptor* EchoRequest::descriptor() {
     897           0 :   protobuf_AssignDescriptorsOnce();
     898           0 :   return EchoRequest_descriptor_;
     899             : }
     900             : 
     901           0 : const EchoRequest& EchoRequest::default_instance() {
     902           0 :   if (default_instance_ == NULL) protobuf_AddDesc_test_2fcpp_2futil_2fmessages_2eproto();
     903           0 :   return *default_instance_;
     904             : }
     905             : 
     906             : EchoRequest* EchoRequest::default_instance_ = NULL;
     907             : 
     908           0 : EchoRequest* EchoRequest::New(::google::protobuf::Arena* arena) const {
     909           0 :   EchoRequest* n = new EchoRequest;
     910           0 :   if (arena != NULL) {
     911           0 :     arena->Own(n);
     912             :   }
     913           0 :   return n;
     914             : }
     915             : 
     916      110771 : void EchoRequest::Clear() {
     917      110771 :   message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
     918      110771 :   if (GetArenaNoVirtual() == NULL && param_ != NULL) delete param_;
     919      110771 :   param_ = NULL;
     920      110771 : }
     921             : 
     922      221413 : bool EchoRequest::MergePartialFromCodedStream(
     923             :     ::google::protobuf::io::CodedInputStream* input) {
     924             : #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
     925             :   ::google::protobuf::uint32 tag;
     926             :   // @@protoc_insertion_point(parse_start:grpc.cpp.test.util.EchoRequest)
     927             :   for (;;) {
     928             :     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
     929      221537 :     tag = p.first;
     930      332307 :     if (!p.second) goto handle_unusual;
     931      110767 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
     932             :       // optional string message = 1;
     933             :       case 1: {
     934      110771 :         if (tag == 10) {
     935      110771 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
     936             :                 input, this->mutable_message()));
     937      110771 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     938             :             this->message().data(), this->message().length(),
     939             :             ::google::protobuf::internal::WireFormatLite::PARSE,
     940             :             "grpc.cpp.test.util.EchoRequest.message"));
     941             :         } else {
     942           0 :           goto handle_unusual;
     943             :         }
     944      110642 :         if (input->ExpectTag(18)) goto parse_param;
     945      110601 :         break;
     946             :       }
     947             : 
     948             :       // optional .grpc.cpp.test.util.RequestParams param = 2;
     949             :       case 2: {
     950           0 :         if (tag == 18) {
     951             :          parse_param:
     952          41 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
     953             :                input, mutable_param()));
     954             :         } else {
     955           0 :           goto handle_unusual;
     956             :         }
     957      110811 :         if (input->ExpectAtEnd()) goto success;
     958          41 :         break;
     959             :       }
     960             : 
     961             :       default: {
     962             :       handle_unusual:
     963      110770 :         if (tag == 0 ||
     964           0 :             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
     965             :             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
     966      110770 :           goto success;
     967             :         }
     968           0 :         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
     969           0 :         break;
     970             :       }
     971             :     }
     972      110642 :   }
     973             : success:
     974             :   // @@protoc_insertion_point(parse_success:grpc.cpp.test.util.EchoRequest)
     975      110770 :   return true;
     976             : failure:
     977             :   // @@protoc_insertion_point(parse_failure:grpc.cpp.test.util.EchoRequest)
     978           0 :   return false;
     979             : #undef DO_
     980             : }
     981             : 
     982           2 : void EchoRequest::SerializeWithCachedSizes(
     983             :     ::google::protobuf::io::CodedOutputStream* output) const {
     984             :   // @@protoc_insertion_point(serialize_start:grpc.cpp.test.util.EchoRequest)
     985             :   // optional string message = 1;
     986           2 :   if (this->message().size() > 0) {
     987             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
     988           4 :       this->message().data(), this->message().length(),
     989             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
     990           4 :       "grpc.cpp.test.util.EchoRequest.message");
     991             :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
     992           2 :       1, this->message(), output);
     993             :   }
     994             : 
     995             :   // optional .grpc.cpp.test.util.RequestParams param = 2;
     996           2 :   if (this->has_param()) {
     997             :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
     998           0 :       2, *this->param_, output);
     999             :   }
    1000             : 
    1001             :   // @@protoc_insertion_point(serialize_end:grpc.cpp.test.util.EchoRequest)
    1002           2 : }
    1003             : 
    1004      110810 : ::google::protobuf::uint8* EchoRequest::SerializeWithCachedSizesToArray(
    1005             :     ::google::protobuf::uint8* target) const {
    1006             :   // @@protoc_insertion_point(serialize_to_array_start:grpc.cpp.test.util.EchoRequest)
    1007             :   // optional string message = 1;
    1008      110810 :   if (this->message().size() > 0) {
    1009             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1010      221621 :       this->message().data(), this->message().length(),
    1011             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1012      221612 :       "grpc.cpp.test.util.EchoRequest.message");
    1013             :     target =
    1014             :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1015      221623 :         1, this->message(), target);
    1016             :   }
    1017             : 
    1018             :   // optional .grpc.cpp.test.util.RequestParams param = 2;
    1019      110811 :   if (this->has_param()) {
    1020             :     target = ::google::protobuf::internal::WireFormatLite::
    1021             :       WriteMessageNoVirtualToArray(
    1022          84 :         2, *this->param_, target);
    1023             :   }
    1024             : 
    1025             :   // @@protoc_insertion_point(serialize_to_array_end:grpc.cpp.test.util.EchoRequest)
    1026      110812 :   return target;
    1027             : }
    1028             : 
    1029      110818 : int EchoRequest::ByteSize() const {
    1030      110818 :   int total_size = 0;
    1031             : 
    1032             :   // optional string message = 1;
    1033      110818 :   if (this->message().size() > 0) {
    1034             :     total_size += 1 +
    1035             :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1036      110814 :         this->message());
    1037             :   }
    1038             : 
    1039             :   // optional .grpc.cpp.test.util.RequestParams param = 2;
    1040      110813 :   if (this->has_param()) {
    1041             :     total_size += 1 +
    1042             :       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
    1043          42 :         *this->param_);
    1044             :   }
    1045             : 
    1046             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    1047      110813 :   _cached_size_ = total_size;
    1048             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    1049      110813 :   return total_size;
    1050             : }
    1051             : 
    1052           0 : void EchoRequest::MergeFrom(const ::google::protobuf::Message& from) {
    1053           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
    1054             :   const EchoRequest* source = 
    1055             :       ::google::protobuf::internal::DynamicCastToGenerated<const EchoRequest>(
    1056           0 :           &from);
    1057           0 :   if (source == NULL) {
    1058           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1059             :   } else {
    1060           0 :     MergeFrom(*source);
    1061             :   }
    1062           0 : }
    1063             : 
    1064           0 : void EchoRequest::MergeFrom(const EchoRequest& from) {
    1065           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
    1066           0 :   if (from.message().size() > 0) {
    1067             : 
    1068           0 :     message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
    1069             :   }
    1070           0 :   if (from.has_param()) {
    1071           0 :     mutable_param()->::grpc::cpp::test::util::RequestParams::MergeFrom(from.param());
    1072             :   }
    1073           0 : }
    1074             : 
    1075           0 : void EchoRequest::CopyFrom(const ::google::protobuf::Message& from) {
    1076           0 :   if (&from == this) return;
    1077           0 :   Clear();
    1078           0 :   MergeFrom(from);
    1079             : }
    1080             : 
    1081           0 : void EchoRequest::CopyFrom(const EchoRequest& from) {
    1082           0 :   if (&from == this) return;
    1083           0 :   Clear();
    1084           0 :   MergeFrom(from);
    1085             : }
    1086             : 
    1087      110771 : bool EchoRequest::IsInitialized() const {
    1088             : 
    1089      110771 :   return true;
    1090             : }
    1091             : 
    1092           0 : void EchoRequest::Swap(EchoRequest* other) {
    1093           0 :   if (other == this) return;
    1094           0 :   InternalSwap(other);
    1095             : }
    1096           0 : void EchoRequest::InternalSwap(EchoRequest* other) {
    1097           0 :   message_.Swap(&other->message_);
    1098           0 :   std::swap(param_, other->param_);
    1099           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1100           0 :   std::swap(_cached_size_, other->_cached_size_);
    1101           0 : }
    1102             : 
    1103           0 : ::google::protobuf::Metadata EchoRequest::GetMetadata() const {
    1104           0 :   protobuf_AssignDescriptorsOnce();
    1105             :   ::google::protobuf::Metadata metadata;
    1106           0 :   metadata.descriptor = EchoRequest_descriptor_;
    1107           0 :   metadata.reflection = EchoRequest_reflection_;
    1108           0 :   return metadata;
    1109             : }
    1110             : 
    1111             : #if PROTOBUF_INLINE_NOT_IN_HEADERS
    1112             : // EchoRequest
    1113             : 
    1114             : // optional string message = 1;
    1115             : void EchoRequest::clear_message() {
    1116             :   message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1117             : }
    1118             :  const ::std::string& EchoRequest::message() const {
    1119             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.EchoRequest.message)
    1120             :   return message_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1121             : }
    1122             :  void EchoRequest::set_message(const ::std::string& value) {
    1123             :   
    1124             :   message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
    1125             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.EchoRequest.message)
    1126             : }
    1127             :  void EchoRequest::set_message(const char* value) {
    1128             :   
    1129             :   message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
    1130             :   // @@protoc_insertion_point(field_set_char:grpc.cpp.test.util.EchoRequest.message)
    1131             : }
    1132             :  void EchoRequest::set_message(const char* value, size_t size) {
    1133             :   
    1134             :   message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1135             :       ::std::string(reinterpret_cast<const char*>(value), size));
    1136             :   // @@protoc_insertion_point(field_set_pointer:grpc.cpp.test.util.EchoRequest.message)
    1137             : }
    1138             :  ::std::string* EchoRequest::mutable_message() {
    1139             :   
    1140             :   // @@protoc_insertion_point(field_mutable:grpc.cpp.test.util.EchoRequest.message)
    1141             :   return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1142             : }
    1143             :  ::std::string* EchoRequest::release_message() {
    1144             :   
    1145             :   return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1146             : }
    1147             :  void EchoRequest::set_allocated_message(::std::string* message) {
    1148             :   if (message != NULL) {
    1149             :     
    1150             :   } else {
    1151             :     
    1152             :   }
    1153             :   message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message);
    1154             :   // @@protoc_insertion_point(field_set_allocated:grpc.cpp.test.util.EchoRequest.message)
    1155             : }
    1156             : 
    1157             : // optional .grpc.cpp.test.util.RequestParams param = 2;
    1158             : bool EchoRequest::has_param() const {
    1159             :   return !_is_default_instance_ && param_ != NULL;
    1160             : }
    1161             : void EchoRequest::clear_param() {
    1162             :   if (GetArenaNoVirtual() == NULL && param_ != NULL) delete param_;
    1163             :   param_ = NULL;
    1164             : }
    1165             : const ::grpc::cpp::test::util::RequestParams& EchoRequest::param() const {
    1166             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.EchoRequest.param)
    1167             :   return param_ != NULL ? *param_ : *default_instance_->param_;
    1168             : }
    1169             : ::grpc::cpp::test::util::RequestParams* EchoRequest::mutable_param() {
    1170             :   
    1171             :   if (param_ == NULL) {
    1172             :     param_ = new ::grpc::cpp::test::util::RequestParams;
    1173             :   }
    1174             :   // @@protoc_insertion_point(field_mutable:grpc.cpp.test.util.EchoRequest.param)
    1175             :   return param_;
    1176             : }
    1177             : ::grpc::cpp::test::util::RequestParams* EchoRequest::release_param() {
    1178             :   
    1179             :   ::grpc::cpp::test::util::RequestParams* temp = param_;
    1180             :   param_ = NULL;
    1181             :   return temp;
    1182             : }
    1183             : void EchoRequest::set_allocated_param(::grpc::cpp::test::util::RequestParams* param) {
    1184             :   delete param_;
    1185             :   param_ = param;
    1186             :   if (param) {
    1187             :     
    1188             :   } else {
    1189             :     
    1190             :   }
    1191             :   // @@protoc_insertion_point(field_set_allocated:grpc.cpp.test.util.EchoRequest.param)
    1192             : }
    1193             : 
    1194             : #endif  // PROTOBUF_INLINE_NOT_IN_HEADERS
    1195             : 
    1196             : // ===================================================================
    1197             : 
    1198             : #ifndef _MSC_VER
    1199             : const int ResponseParams::kRequestDeadlineFieldNumber;
    1200             : const int ResponseParams::kHostFieldNumber;
    1201             : const int ResponseParams::kPeerFieldNumber;
    1202             : #endif  // !_MSC_VER
    1203             : 
    1204          42 : ResponseParams::ResponseParams()
    1205          42 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1206          42 :   SharedCtor();
    1207             :   // @@protoc_insertion_point(constructor:grpc.cpp.test.util.ResponseParams)
    1208          42 : }
    1209             : 
    1210          10 : void ResponseParams::InitAsDefaultInstance() {
    1211          10 :   _is_default_instance_ = true;
    1212          10 : }
    1213             : 
    1214           0 : ResponseParams::ResponseParams(const ResponseParams& from)
    1215             :   : ::google::protobuf::Message(),
    1216           0 :     _internal_metadata_(NULL) {
    1217           0 :   SharedCtor();
    1218           0 :   MergeFrom(from);
    1219             :   // @@protoc_insertion_point(copy_constructor:grpc.cpp.test.util.ResponseParams)
    1220           0 : }
    1221             : 
    1222          42 : void ResponseParams::SharedCtor() {
    1223          42 :     _is_default_instance_ = false;
    1224          42 :   ::google::protobuf::internal::GetEmptyString();
    1225          42 :   _cached_size_ = 0;
    1226          42 :   request_deadline_ = GOOGLE_LONGLONG(0);
    1227          42 :   host_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1228          42 :   peer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1229          42 : }
    1230             : 
    1231          96 : ResponseParams::~ResponseParams() {
    1232             :   // @@protoc_insertion_point(destructor:grpc.cpp.test.util.ResponseParams)
    1233          32 :   SharedDtor();
    1234          64 : }
    1235             : 
    1236          32 : void ResponseParams::SharedDtor() {
    1237          32 :   host_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1238          32 :   peer_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1239          32 :   if (this != default_instance_) {
    1240             :   }
    1241          32 : }
    1242             : 
    1243           0 : void ResponseParams::SetCachedSize(int size) const {
    1244             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    1245           0 :   _cached_size_ = size;
    1246             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    1247           0 : }
    1248           0 : const ::google::protobuf::Descriptor* ResponseParams::descriptor() {
    1249           0 :   protobuf_AssignDescriptorsOnce();
    1250           0 :   return ResponseParams_descriptor_;
    1251             : }
    1252             : 
    1253          10 : const ResponseParams& ResponseParams::default_instance() {
    1254          10 :   if (default_instance_ == NULL) protobuf_AddDesc_test_2fcpp_2futil_2fmessages_2eproto();
    1255          10 :   return *default_instance_;
    1256             : }
    1257             : 
    1258             : ResponseParams* ResponseParams::default_instance_ = NULL;
    1259             : 
    1260           0 : ResponseParams* ResponseParams::New(::google::protobuf::Arena* arena) const {
    1261           0 :   ResponseParams* n = new ResponseParams;
    1262           0 :   if (arena != NULL) {
    1263           0 :     arena->Own(n);
    1264             :   }
    1265           0 :   return n;
    1266             : }
    1267             : 
    1268           0 : void ResponseParams::Clear() {
    1269           0 :   request_deadline_ = GOOGLE_LONGLONG(0);
    1270           0 :   host_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1271           0 :   peer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1272           0 : }
    1273             : 
    1274          32 : bool ResponseParams::MergePartialFromCodedStream(
    1275             :     ::google::protobuf::io::CodedInputStream* input) {
    1276             : #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
    1277             :   ::google::protobuf::uint32 tag;
    1278             :   // @@protoc_insertion_point(parse_start:grpc.cpp.test.util.ResponseParams)
    1279             :   for (;;) {
    1280             :     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
    1281          32 :     tag = p.first;
    1282          45 :     if (!p.second) goto handle_unusual;
    1283          19 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1284             :       // optional int64 request_deadline = 1;
    1285             :       case 1: {
    1286          12 :         if (tag == 8) {
    1287          24 :           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
    1288             :                    ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
    1289             :                  input, &request_deadline_)));
    1290             : 
    1291             :         } else {
    1292           0 :           goto handle_unusual;
    1293             :         }
    1294          12 :         if (input->ExpectTag(18)) goto parse_host;
    1295          12 :         break;
    1296             :       }
    1297             : 
    1298             :       // optional string host = 2;
    1299             :       case 2: {
    1300           1 :         if (tag == 18) {
    1301             :          parse_host:
    1302           1 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1303             :                 input, this->mutable_host()));
    1304           1 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1305             :             this->host().data(), this->host().length(),
    1306             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1307             :             "grpc.cpp.test.util.ResponseParams.host"));
    1308             :         } else {
    1309           0 :           goto handle_unusual;
    1310             :         }
    1311           1 :         if (input->ExpectTag(26)) goto parse_peer;
    1312           1 :         break;
    1313             :       }
    1314             : 
    1315             :       // optional string peer = 3;
    1316             :       case 3: {
    1317           6 :         if (tag == 26) {
    1318             :          parse_peer:
    1319           6 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1320             :                 input, this->mutable_peer()));
    1321           6 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1322             :             this->peer().data(), this->peer().length(),
    1323             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1324             :             "grpc.cpp.test.util.ResponseParams.peer"));
    1325             :         } else {
    1326           0 :           goto handle_unusual;
    1327             :         }
    1328          25 :         if (input->ExpectAtEnd()) goto success;
    1329           0 :         break;
    1330             :       }
    1331             : 
    1332             :       default: {
    1333             :       handle_unusual:
    1334          13 :         if (tag == 0 ||
    1335           0 :             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    1336             :             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
    1337          13 :           goto success;
    1338             :         }
    1339           0 :         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
    1340           0 :         break;
    1341             :       }
    1342             :     }
    1343          13 :   }
    1344             : success:
    1345             :   // @@protoc_insertion_point(parse_success:grpc.cpp.test.util.ResponseParams)
    1346          19 :   return true;
    1347             : failure:
    1348             :   // @@protoc_insertion_point(parse_failure:grpc.cpp.test.util.ResponseParams)
    1349           0 :   return false;
    1350             : #undef DO_
    1351             : }
    1352             : 
    1353           0 : void ResponseParams::SerializeWithCachedSizes(
    1354             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1355             :   // @@protoc_insertion_point(serialize_start:grpc.cpp.test.util.ResponseParams)
    1356             :   // optional int64 request_deadline = 1;
    1357           0 :   if (this->request_deadline() != 0) {
    1358           0 :     ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->request_deadline(), output);
    1359             :   }
    1360             : 
    1361             :   // optional string host = 2;
    1362           0 :   if (this->host().size() > 0) {
    1363             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1364           0 :       this->host().data(), this->host().length(),
    1365             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1366           0 :       "grpc.cpp.test.util.ResponseParams.host");
    1367             :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1368           0 :       2, this->host(), output);
    1369             :   }
    1370             : 
    1371             :   // optional string peer = 3;
    1372           0 :   if (this->peer().size() > 0) {
    1373             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1374           0 :       this->peer().data(), this->peer().length(),
    1375             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1376           0 :       "grpc.cpp.test.util.ResponseParams.peer");
    1377             :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1378           0 :       3, this->peer(), output);
    1379             :   }
    1380             : 
    1381             :   // @@protoc_insertion_point(serialize_end:grpc.cpp.test.util.ResponseParams)
    1382           0 : }
    1383             : 
    1384          19 : ::google::protobuf::uint8* ResponseParams::SerializeWithCachedSizesToArray(
    1385             :     ::google::protobuf::uint8* target) const {
    1386             :   // @@protoc_insertion_point(serialize_to_array_start:grpc.cpp.test.util.ResponseParams)
    1387             :   // optional int64 request_deadline = 1;
    1388          19 :   if (this->request_deadline() != 0) {
    1389          24 :     target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->request_deadline(), target);
    1390             :   }
    1391             : 
    1392             :   // optional string host = 2;
    1393          19 :   if (this->host().size() > 0) {
    1394             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1395           2 :       this->host().data(), this->host().length(),
    1396             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1397           2 :       "grpc.cpp.test.util.ResponseParams.host");
    1398             :     target =
    1399             :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1400           2 :         2, this->host(), target);
    1401             :   }
    1402             : 
    1403             :   // optional string peer = 3;
    1404          19 :   if (this->peer().size() > 0) {
    1405             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1406          12 :       this->peer().data(), this->peer().length(),
    1407             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1408          12 :       "grpc.cpp.test.util.ResponseParams.peer");
    1409             :     target =
    1410             :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1411          12 :         3, this->peer(), target);
    1412             :   }
    1413             : 
    1414             :   // @@protoc_insertion_point(serialize_to_array_end:grpc.cpp.test.util.ResponseParams)
    1415          19 :   return target;
    1416             : }
    1417             : 
    1418          19 : int ResponseParams::ByteSize() const {
    1419          19 :   int total_size = 0;
    1420             : 
    1421             :   // optional int64 request_deadline = 1;
    1422          19 :   if (this->request_deadline() != 0) {
    1423             :     total_size += 1 +
    1424             :       ::google::protobuf::internal::WireFormatLite::Int64Size(
    1425          12 :         this->request_deadline());
    1426             :   }
    1427             : 
    1428             :   // optional string host = 2;
    1429          19 :   if (this->host().size() > 0) {
    1430             :     total_size += 1 +
    1431             :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1432           1 :         this->host());
    1433             :   }
    1434             : 
    1435             :   // optional string peer = 3;
    1436          19 :   if (this->peer().size() > 0) {
    1437             :     total_size += 1 +
    1438             :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1439           6 :         this->peer());
    1440             :   }
    1441             : 
    1442             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    1443          19 :   _cached_size_ = total_size;
    1444             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    1445          19 :   return total_size;
    1446             : }
    1447             : 
    1448           0 : void ResponseParams::MergeFrom(const ::google::protobuf::Message& from) {
    1449           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
    1450             :   const ResponseParams* source = 
    1451             :       ::google::protobuf::internal::DynamicCastToGenerated<const ResponseParams>(
    1452           0 :           &from);
    1453           0 :   if (source == NULL) {
    1454           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1455             :   } else {
    1456           0 :     MergeFrom(*source);
    1457             :   }
    1458           0 : }
    1459             : 
    1460           0 : void ResponseParams::MergeFrom(const ResponseParams& from) {
    1461           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
    1462           0 :   if (from.request_deadline() != 0) {
    1463           0 :     set_request_deadline(from.request_deadline());
    1464             :   }
    1465           0 :   if (from.host().size() > 0) {
    1466             : 
    1467           0 :     host_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.host_);
    1468             :   }
    1469           0 :   if (from.peer().size() > 0) {
    1470             : 
    1471           0 :     peer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.peer_);
    1472             :   }
    1473           0 : }
    1474             : 
    1475           0 : void ResponseParams::CopyFrom(const ::google::protobuf::Message& from) {
    1476           0 :   if (&from == this) return;
    1477           0 :   Clear();
    1478           0 :   MergeFrom(from);
    1479             : }
    1480             : 
    1481           0 : void ResponseParams::CopyFrom(const ResponseParams& from) {
    1482           0 :   if (&from == this) return;
    1483           0 :   Clear();
    1484           0 :   MergeFrom(from);
    1485             : }
    1486             : 
    1487           0 : bool ResponseParams::IsInitialized() const {
    1488             : 
    1489           0 :   return true;
    1490             : }
    1491             : 
    1492           0 : void ResponseParams::Swap(ResponseParams* other) {
    1493           0 :   if (other == this) return;
    1494           0 :   InternalSwap(other);
    1495             : }
    1496           0 : void ResponseParams::InternalSwap(ResponseParams* other) {
    1497           0 :   std::swap(request_deadline_, other->request_deadline_);
    1498           0 :   host_.Swap(&other->host_);
    1499           0 :   peer_.Swap(&other->peer_);
    1500           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1501           0 :   std::swap(_cached_size_, other->_cached_size_);
    1502           0 : }
    1503             : 
    1504           0 : ::google::protobuf::Metadata ResponseParams::GetMetadata() const {
    1505           0 :   protobuf_AssignDescriptorsOnce();
    1506             :   ::google::protobuf::Metadata metadata;
    1507           0 :   metadata.descriptor = ResponseParams_descriptor_;
    1508           0 :   metadata.reflection = ResponseParams_reflection_;
    1509           0 :   return metadata;
    1510             : }
    1511             : 
    1512             : #if PROTOBUF_INLINE_NOT_IN_HEADERS
    1513             : // ResponseParams
    1514             : 
    1515             : // optional int64 request_deadline = 1;
    1516             : void ResponseParams::clear_request_deadline() {
    1517             :   request_deadline_ = GOOGLE_LONGLONG(0);
    1518             : }
    1519             :  ::google::protobuf::int64 ResponseParams::request_deadline() const {
    1520             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.ResponseParams.request_deadline)
    1521             :   return request_deadline_;
    1522             : }
    1523             :  void ResponseParams::set_request_deadline(::google::protobuf::int64 value) {
    1524             :   
    1525             :   request_deadline_ = value;
    1526             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.ResponseParams.request_deadline)
    1527             : }
    1528             : 
    1529             : // optional string host = 2;
    1530             : void ResponseParams::clear_host() {
    1531             :   host_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1532             : }
    1533             :  const ::std::string& ResponseParams::host() const {
    1534             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.ResponseParams.host)
    1535             :   return host_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1536             : }
    1537             :  void ResponseParams::set_host(const ::std::string& value) {
    1538             :   
    1539             :   host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
    1540             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.ResponseParams.host)
    1541             : }
    1542             :  void ResponseParams::set_host(const char* value) {
    1543             :   
    1544             :   host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
    1545             :   // @@protoc_insertion_point(field_set_char:grpc.cpp.test.util.ResponseParams.host)
    1546             : }
    1547             :  void ResponseParams::set_host(const char* value, size_t size) {
    1548             :   
    1549             :   host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1550             :       ::std::string(reinterpret_cast<const char*>(value), size));
    1551             :   // @@protoc_insertion_point(field_set_pointer:grpc.cpp.test.util.ResponseParams.host)
    1552             : }
    1553             :  ::std::string* ResponseParams::mutable_host() {
    1554             :   
    1555             :   // @@protoc_insertion_point(field_mutable:grpc.cpp.test.util.ResponseParams.host)
    1556             :   return host_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1557             : }
    1558             :  ::std::string* ResponseParams::release_host() {
    1559             :   
    1560             :   return host_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1561             : }
    1562             :  void ResponseParams::set_allocated_host(::std::string* host) {
    1563             :   if (host != NULL) {
    1564             :     
    1565             :   } else {
    1566             :     
    1567             :   }
    1568             :   host_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), host);
    1569             :   // @@protoc_insertion_point(field_set_allocated:grpc.cpp.test.util.ResponseParams.host)
    1570             : }
    1571             : 
    1572             : // optional string peer = 3;
    1573             : void ResponseParams::clear_peer() {
    1574             :   peer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1575             : }
    1576             :  const ::std::string& ResponseParams::peer() const {
    1577             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.ResponseParams.peer)
    1578             :   return peer_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1579             : }
    1580             :  void ResponseParams::set_peer(const ::std::string& value) {
    1581             :   
    1582             :   peer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
    1583             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.ResponseParams.peer)
    1584             : }
    1585             :  void ResponseParams::set_peer(const char* value) {
    1586             :   
    1587             :   peer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
    1588             :   // @@protoc_insertion_point(field_set_char:grpc.cpp.test.util.ResponseParams.peer)
    1589             : }
    1590             :  void ResponseParams::set_peer(const char* value, size_t size) {
    1591             :   
    1592             :   peer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1593             :       ::std::string(reinterpret_cast<const char*>(value), size));
    1594             :   // @@protoc_insertion_point(field_set_pointer:grpc.cpp.test.util.ResponseParams.peer)
    1595             : }
    1596             :  ::std::string* ResponseParams::mutable_peer() {
    1597             :   
    1598             :   // @@protoc_insertion_point(field_mutable:grpc.cpp.test.util.ResponseParams.peer)
    1599             :   return peer_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1600             : }
    1601             :  ::std::string* ResponseParams::release_peer() {
    1602             :   
    1603             :   return peer_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1604             : }
    1605             :  void ResponseParams::set_allocated_peer(::std::string* peer) {
    1606             :   if (peer != NULL) {
    1607             :     
    1608             :   } else {
    1609             :     
    1610             :   }
    1611             :   peer_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), peer);
    1612             :   // @@protoc_insertion_point(field_set_allocated:grpc.cpp.test.util.ResponseParams.peer)
    1613             : }
    1614             : 
    1615             : #endif  // PROTOBUF_INLINE_NOT_IN_HEADERS
    1616             : 
    1617             : // ===================================================================
    1618             : 
    1619             : #ifndef _MSC_VER
    1620             : const int EchoResponse::kMessageFieldNumber;
    1621             : const int EchoResponse::kParamFieldNumber;
    1622             : #endif  // !_MSC_VER
    1623             : 
    1624      101039 : EchoResponse::EchoResponse()
    1625      101039 :   : ::google::protobuf::Message(), _internal_metadata_(NULL) {
    1626      101039 :   SharedCtor();
    1627             :   // @@protoc_insertion_point(constructor:grpc.cpp.test.util.EchoResponse)
    1628      101039 : }
    1629             : 
    1630          10 : void EchoResponse::InitAsDefaultInstance() {
    1631          10 :   _is_default_instance_ = true;
    1632          10 :   param_ = const_cast< ::grpc::cpp::test::util::ResponseParams*>(&::grpc::cpp::test::util::ResponseParams::default_instance());
    1633          10 : }
    1634             : 
    1635           0 : EchoResponse::EchoResponse(const EchoResponse& from)
    1636             :   : ::google::protobuf::Message(),
    1637           0 :     _internal_metadata_(NULL) {
    1638           0 :   SharedCtor();
    1639           0 :   MergeFrom(from);
    1640             :   // @@protoc_insertion_point(copy_constructor:grpc.cpp.test.util.EchoResponse)
    1641           0 : }
    1642             : 
    1643      101022 : void EchoResponse::SharedCtor() {
    1644      101022 :     _is_default_instance_ = false;
    1645      101022 :   ::google::protobuf::internal::GetEmptyString();
    1646      101039 :   _cached_size_ = 0;
    1647      101039 :   message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1648      101039 :   param_ = NULL;
    1649      101039 : }
    1650             : 
    1651      202056 : EchoResponse::~EchoResponse() {
    1652             :   // @@protoc_insertion_point(destructor:grpc.cpp.test.util.EchoResponse)
    1653      101027 :   SharedDtor();
    1654      101029 : }
    1655             : 
    1656      101029 : void EchoResponse::SharedDtor() {
    1657      101029 :   message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1658      101029 :   if (this != default_instance_) {
    1659      101029 :     delete param_;
    1660             :   }
    1661      101029 : }
    1662             : 
    1663           0 : void EchoResponse::SetCachedSize(int size) const {
    1664             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    1665           0 :   _cached_size_ = size;
    1666             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    1667           0 : }
    1668           0 : const ::google::protobuf::Descriptor* EchoResponse::descriptor() {
    1669           0 :   protobuf_AssignDescriptorsOnce();
    1670           0 :   return EchoResponse_descriptor_;
    1671             : }
    1672             : 
    1673           0 : const EchoResponse& EchoResponse::default_instance() {
    1674           0 :   if (default_instance_ == NULL) protobuf_AddDesc_test_2fcpp_2futil_2fmessages_2eproto();
    1675           0 :   return *default_instance_;
    1676             : }
    1677             : 
    1678             : EchoResponse* EchoResponse::default_instance_ = NULL;
    1679             : 
    1680           0 : EchoResponse* EchoResponse::New(::google::protobuf::Arena* arena) const {
    1681           0 :   EchoResponse* n = new EchoResponse;
    1682           0 :   if (arena != NULL) {
    1683           0 :     arena->Own(n);
    1684             :   }
    1685           0 :   return n;
    1686             : }
    1687             : 
    1688      128901 : void EchoResponse::Clear() {
    1689      128901 :   message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1690      128905 :   if (GetArenaNoVirtual() == NULL && param_ != NULL) delete param_;
    1691      128906 :   param_ = NULL;
    1692      128906 : }
    1693             : 
    1694      257805 : bool EchoResponse::MergePartialFromCodedStream(
    1695             :     ::google::protobuf::io::CodedInputStream* input) {
    1696             : #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
    1697             :   ::google::protobuf::uint32 tag;
    1698             :   // @@protoc_insertion_point(parse_start:grpc.cpp.test.util.EchoResponse)
    1699             :   for (;;) {
    1700             :     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
    1701      257810 :     tag = p.first;
    1702      386716 :     if (!p.second) goto handle_unusual;
    1703      128904 :     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    1704             :       // optional string message = 1;
    1705             :       case 1: {
    1706      128905 :         if (tag == 10) {
    1707      128905 :           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    1708             :                 input, this->mutable_message()));
    1709      128902 :           DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1710             :             this->message().data(), this->message().length(),
    1711             :             ::google::protobuf::internal::WireFormatLite::PARSE,
    1712             :             "grpc.cpp.test.util.EchoResponse.message"));
    1713             :         } else {
    1714           0 :           goto handle_unusual;
    1715             :         }
    1716      128899 :         if (input->ExpectTag(18)) goto parse_param;
    1717      128880 :         break;
    1718             :       }
    1719             : 
    1720             :       // optional .grpc.cpp.test.util.ResponseParams param = 2;
    1721             :       case 2: {
    1722           0 :         if (tag == 18) {
    1723             :          parse_param:
    1724          19 :           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
    1725             :                input, mutable_param()));
    1726             :         } else {
    1727           0 :           goto handle_unusual;
    1728             :         }
    1729      128921 :         if (input->ExpectAtEnd()) goto success;
    1730          19 :         break;
    1731             :       }
    1732             : 
    1733             :       default: {
    1734             :       handle_unusual:
    1735      128902 :         if (tag == 0 ||
    1736           0 :             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    1737             :             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
    1738      128902 :           goto success;
    1739             :         }
    1740           0 :         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
    1741           0 :         break;
    1742             :       }
    1743             :     }
    1744      128899 :   }
    1745             : success:
    1746             :   // @@protoc_insertion_point(parse_success:grpc.cpp.test.util.EchoResponse)
    1747      128902 :   return true;
    1748             : failure:
    1749             :   // @@protoc_insertion_point(parse_failure:grpc.cpp.test.util.EchoResponse)
    1750           0 :   return false;
    1751             : #undef DO_
    1752             : }
    1753             : 
    1754           6 : void EchoResponse::SerializeWithCachedSizes(
    1755             :     ::google::protobuf::io::CodedOutputStream* output) const {
    1756             :   // @@protoc_insertion_point(serialize_start:grpc.cpp.test.util.EchoResponse)
    1757             :   // optional string message = 1;
    1758           6 :   if (this->message().size() > 0) {
    1759             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1760          12 :       this->message().data(), this->message().length(),
    1761             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1762          12 :       "grpc.cpp.test.util.EchoResponse.message");
    1763             :     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
    1764           6 :       1, this->message(), output);
    1765             :   }
    1766             : 
    1767             :   // optional .grpc.cpp.test.util.ResponseParams param = 2;
    1768           6 :   if (this->has_param()) {
    1769             :     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    1770           0 :       2, *this->param_, output);
    1771             :   }
    1772             : 
    1773             :   // @@protoc_insertion_point(serialize_end:grpc.cpp.test.util.EchoResponse)
    1774           6 : }
    1775             : 
    1776      128914 : ::google::protobuf::uint8* EchoResponse::SerializeWithCachedSizesToArray(
    1777             :     ::google::protobuf::uint8* target) const {
    1778             :   // @@protoc_insertion_point(serialize_to_array_start:grpc.cpp.test.util.EchoResponse)
    1779             :   // optional string message = 1;
    1780      128914 :   if (this->message().size() > 0) {
    1781             :     ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
    1782      257821 :       this->message().data(), this->message().length(),
    1783             :       ::google::protobuf::internal::WireFormatLite::SERIALIZE,
    1784      257820 :       "grpc.cpp.test.util.EchoResponse.message");
    1785             :     target =
    1786             :       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    1787      257819 :         1, this->message(), target);
    1788             :   }
    1789             : 
    1790             :   // optional .grpc.cpp.test.util.ResponseParams param = 2;
    1791      128912 :   if (this->has_param()) {
    1792             :     target = ::google::protobuf::internal::WireFormatLite::
    1793             :       WriteMessageNoVirtualToArray(
    1794          38 :         2, *this->param_, target);
    1795             :   }
    1796             : 
    1797             :   // @@protoc_insertion_point(serialize_to_array_end:grpc.cpp.test.util.EchoResponse)
    1798      128900 :   return target;
    1799             : }
    1800             : 
    1801      128927 : int EchoResponse::ByteSize() const {
    1802      128927 :   int total_size = 0;
    1803             : 
    1804             :   // optional string message = 1;
    1805      128927 :   if (this->message().size() > 0) {
    1806             :     total_size += 1 +
    1807             :       ::google::protobuf::internal::WireFormatLite::StringSize(
    1808      128924 :         this->message());
    1809             :   }
    1810             : 
    1811             :   // optional .grpc.cpp.test.util.ResponseParams param = 2;
    1812      128925 :   if (this->has_param()) {
    1813             :     total_size += 1 +
    1814             :       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
    1815          19 :         *this->param_);
    1816             :   }
    1817             : 
    1818             :   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    1819      128925 :   _cached_size_ = total_size;
    1820             :   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    1821      128925 :   return total_size;
    1822             : }
    1823             : 
    1824           0 : void EchoResponse::MergeFrom(const ::google::protobuf::Message& from) {
    1825           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
    1826             :   const EchoResponse* source = 
    1827             :       ::google::protobuf::internal::DynamicCastToGenerated<const EchoResponse>(
    1828           0 :           &from);
    1829           0 :   if (source == NULL) {
    1830           0 :     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    1831             :   } else {
    1832           0 :     MergeFrom(*source);
    1833             :   }
    1834           0 : }
    1835             : 
    1836           0 : void EchoResponse::MergeFrom(const EchoResponse& from) {
    1837           0 :   if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
    1838           0 :   if (from.message().size() > 0) {
    1839             : 
    1840           0 :     message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
    1841             :   }
    1842           0 :   if (from.has_param()) {
    1843           0 :     mutable_param()->::grpc::cpp::test::util::ResponseParams::MergeFrom(from.param());
    1844             :   }
    1845           0 : }
    1846             : 
    1847           0 : void EchoResponse::CopyFrom(const ::google::protobuf::Message& from) {
    1848           0 :   if (&from == this) return;
    1849           0 :   Clear();
    1850           0 :   MergeFrom(from);
    1851             : }
    1852             : 
    1853           0 : void EchoResponse::CopyFrom(const EchoResponse& from) {
    1854           0 :   if (&from == this) return;
    1855           0 :   Clear();
    1856           0 :   MergeFrom(from);
    1857             : }
    1858             : 
    1859      128904 : bool EchoResponse::IsInitialized() const {
    1860             : 
    1861      128904 :   return true;
    1862             : }
    1863             : 
    1864           0 : void EchoResponse::Swap(EchoResponse* other) {
    1865           0 :   if (other == this) return;
    1866           0 :   InternalSwap(other);
    1867             : }
    1868           0 : void EchoResponse::InternalSwap(EchoResponse* other) {
    1869           0 :   message_.Swap(&other->message_);
    1870           0 :   std::swap(param_, other->param_);
    1871           0 :   _internal_metadata_.Swap(&other->_internal_metadata_);
    1872           0 :   std::swap(_cached_size_, other->_cached_size_);
    1873           0 : }
    1874             : 
    1875           0 : ::google::protobuf::Metadata EchoResponse::GetMetadata() const {
    1876           0 :   protobuf_AssignDescriptorsOnce();
    1877             :   ::google::protobuf::Metadata metadata;
    1878           0 :   metadata.descriptor = EchoResponse_descriptor_;
    1879           0 :   metadata.reflection = EchoResponse_reflection_;
    1880           0 :   return metadata;
    1881             : }
    1882             : 
    1883             : #if PROTOBUF_INLINE_NOT_IN_HEADERS
    1884             : // EchoResponse
    1885             : 
    1886             : // optional string message = 1;
    1887             : void EchoResponse::clear_message() {
    1888             :   message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1889             : }
    1890             :  const ::std::string& EchoResponse::message() const {
    1891             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.EchoResponse.message)
    1892             :   return message_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1893             : }
    1894             :  void EchoResponse::set_message(const ::std::string& value) {
    1895             :   
    1896             :   message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
    1897             :   // @@protoc_insertion_point(field_set:grpc.cpp.test.util.EchoResponse.message)
    1898             : }
    1899             :  void EchoResponse::set_message(const char* value) {
    1900             :   
    1901             :   message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
    1902             :   // @@protoc_insertion_point(field_set_char:grpc.cpp.test.util.EchoResponse.message)
    1903             : }
    1904             :  void EchoResponse::set_message(const char* value, size_t size) {
    1905             :   
    1906             :   message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
    1907             :       ::std::string(reinterpret_cast<const char*>(value), size));
    1908             :   // @@protoc_insertion_point(field_set_pointer:grpc.cpp.test.util.EchoResponse.message)
    1909             : }
    1910             :  ::std::string* EchoResponse::mutable_message() {
    1911             :   
    1912             :   // @@protoc_insertion_point(field_mutable:grpc.cpp.test.util.EchoResponse.message)
    1913             :   return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1914             : }
    1915             :  ::std::string* EchoResponse::release_message() {
    1916             :   
    1917             :   return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    1918             : }
    1919             :  void EchoResponse::set_allocated_message(::std::string* message) {
    1920             :   if (message != NULL) {
    1921             :     
    1922             :   } else {
    1923             :     
    1924             :   }
    1925             :   message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message);
    1926             :   // @@protoc_insertion_point(field_set_allocated:grpc.cpp.test.util.EchoResponse.message)
    1927             : }
    1928             : 
    1929             : // optional .grpc.cpp.test.util.ResponseParams param = 2;
    1930             : bool EchoResponse::has_param() const {
    1931             :   return !_is_default_instance_ && param_ != NULL;
    1932             : }
    1933             : void EchoResponse::clear_param() {
    1934             :   if (GetArenaNoVirtual() == NULL && param_ != NULL) delete param_;
    1935             :   param_ = NULL;
    1936             : }
    1937             : const ::grpc::cpp::test::util::ResponseParams& EchoResponse::param() const {
    1938             :   // @@protoc_insertion_point(field_get:grpc.cpp.test.util.EchoResponse.param)
    1939             :   return param_ != NULL ? *param_ : *default_instance_->param_;
    1940             : }
    1941             : ::grpc::cpp::test::util::ResponseParams* EchoResponse::mutable_param() {
    1942             :   
    1943             :   if (param_ == NULL) {
    1944             :     param_ = new ::grpc::cpp::test::util::ResponseParams;
    1945             :   }
    1946             :   // @@protoc_insertion_point(field_mutable:grpc.cpp.test.util.EchoResponse.param)
    1947             :   return param_;
    1948             : }
    1949             : ::grpc::cpp::test::util::ResponseParams* EchoResponse::release_param() {
    1950             :   
    1951             :   ::grpc::cpp::test::util::ResponseParams* temp = param_;
    1952             :   param_ = NULL;
    1953             :   return temp;
    1954             : }
    1955             : void EchoResponse::set_allocated_param(::grpc::cpp::test::util::ResponseParams* param) {
    1956             :   delete param_;
    1957             :   param_ = param;
    1958             :   if (param) {
    1959             :     
    1960             :   } else {
    1961             :     
    1962             :   }
    1963             :   // @@protoc_insertion_point(field_set_allocated:grpc.cpp.test.util.EchoResponse.param)
    1964             : }
    1965             : 
    1966             : #endif  // PROTOBUF_INLINE_NOT_IN_HEADERS
    1967             : 
    1968             : // @@protoc_insertion_point(namespace_scope)
    1969             : 
    1970             : }  // namespace util
    1971             : }  // namespace test
    1972             : }  // namespace cpp
    1973          30 : }  // namespace grpc
    1974             : 
    1975             : // @@protoc_insertion_point(global_scope)

Generated by: LCOV version 1.10