def METHOD_NAME(client, args):
    void_request = Void()
    try:
        res = client.GetAllDirectoryRecords(void_request)
        for record in res.records:
            print(record)
    except grpc.RpcError as e:
        print("gRPC failed with %s: %s" % (e.code(), e.details()))