def _CopyQueryToProtocolBuffer(query, params):
 params.set_query(query.encode('utf-8'))

def _CopyQueryToProtocolBuffer ( query , params ) : params . set_query ( query . encode ( 'utf-8' ) )
copies query object to params protobuf .