def METHOD_NAME(cmpd, proto):
    """Parse the mb.Compound bonds, add to the proto bonds.
    Parameters
    ----------
    cmpd : mb.Compound
    proto : compound_pb2.Compound
    """
    for b in cmpd.bonds():
        proto_bond = proto.bonds.add()
        proto_bond.id1 = id(b[0])
        proto_bond.id2 = id(b[1])