def __init__(self, contents=None): self.mutation_result_ = [] self.lazy_init_lock_ = thread.allocate_lock() if contents is not None: self.MergeFromString(contents)