#NEWLINE# def _ParseOrMerge( lines , message , allow_multiple_scalars ) : #NEWLINE# #INDENT# 'Converts an ASCII representation of a protocol message into a message.\n\n  Args:\n    lines: Lines of a message\'s ASCII representation.\n    message: A protocol buffer message to merge into.\n    allow_multiple_scalars: Determines if repeated values for a non-repeated\n      field are permitted, e.g., the string "foo: 1 foo: 2" for a\n      required/optional field named "foo".\n\n  Raises:\n    ParseError: On ASCII parsing problems.\n  ' #NEWLINE# tokenizer = _Tokenizer ( lines ) #NEWLINE# while ( not tokenizer . AtEnd ( ) ) : #NEWLINE# #INDENT# _MergeField ( tokenizer , message , allow_multiple_scalars )