def METHOD_NAME(self, client_info):
    # Precompute the wrapped methods.
    self._wrapped_methods = {
        self.compute_routes: gapic_v1.method.wrap_method(
            self.compute_routes,
            default_timeout=None,
            client_info=client_info,
        ),
        self.compute_route_matrix: gapic_v1.method.wrap_method(
            self.compute_route_matrix,
            default_timeout=None,
            client_info=client_info,
        ),
    }