def get_proto_bytes_for_requests(reflection_client, file_requests):
    """Return the file descriptor proto bytes list given file requests for services or files

    Args:
        reflection_client: ServerReflectionStub. GRPC reflection client
        file_requests: generator (ServerReflectionRequest). The requests for file descriptor
            protos to be queried on during server reflection

    Returns:
        bytes
    """
    file_descriptors_responses = reflection_client.ServerReflectionInfo(file_requests)
    proto_bytes = [
        file_descriptor_proto
        for response in file_descriptors_responses
        for file_descriptor_proto in response.file_descriptor_response.file_descriptor_proto
    ]
    return proto_bytes