#NEWLINE# def MakeSyncCall( self , service , call , request , response ) : #NEWLINE# #INDENT# "The main RPC entry point.\n\n    Args:\n      service: Must be name as provided to service_name of constructor.\n      call: A string representing the rpc to make.  Must be part of\n        the underlying services methods and impemented by _Dynamic_<call>.\n      request: A protocol buffer of the type corresponding to 'call'.\n      response: A protocol buffer of the type corresponding to 'call'.\n    " #NEWLINE# assert ( service == self . __service_name ) , ( 'Expected "%s" service name, was "%s"' % ( self . __service_name , service ) ) #NEWLINE# if ( request . ByteSize ( ) > self . __max_request_size ) : #NEWLINE# #INDENT# raise apiproxy_errors . RequestTooLargeError ( ( 'The request to API call %s.%s() was too large.' % ( service , call ) ) ) #NEWLINE# #UNINDENT# messages = [ ] #NEWLINE# assert request . IsInitialized ( messages ) , messages #NEWLINE# method = getattr ( response , ( '_Dynamic_' + call ) ) #NEWLINE# method ( request , response )