def _ReferenceFromReference(reference):
 new_reference = entity_pb.Reference()
 new_reference.CopyFrom(reference)
 return new_reference

def _ReferenceFromReference ( reference ) : new_reference = entity_pb . Reference ( ) new_reference . CopyFrom ( reference ) return new_reference
copy a reference .