parameters: (descriptor, byte_str)
return_statement: return new_msg
docstring: Generate a new Message instance from this Descriptor and a byte string.
  
    DEPRECATED: ParseMessage is deprecated because it is using MakeClass().
    Please use MessageFactory.GetPrototype() instead.
  
    Args:
      descriptor: Protobuf Descriptor object
      byte_str: Serialized protocol buffer byte string
  
    Returns:
      Newly created protobuf Message object.
docstring_summary: Generate a new Message instance from this Descriptor and a byte string.
docstring_tokens: Generate a new Message instance from this Descriptor and a byte string .
function: def ParseMessage(descriptor, byte_str):
    """Generate a new Message instance from this Descriptor and a byte string.
  
    DEPRECATED: ParseMessage is deprecated because it is using MakeClass().
    Please use MessageFactory.GetPrototype() instead.
  
    Args:
      descriptor: Protobuf Descriptor object
      byte_str: Serialized protocol buffer byte string
  
    Returns:
      Newly created protobuf Message object.
    """
    result_class = MakeClass(descriptor)
    new_msg = result_class()
    new_msg.ParseFromString(byte_str)
    return new_msg
function_tokens: def ParseMessage ( descriptor , byte_str ) : result_class = MakeClass ( descriptor ) new_msg = result_class ( ) new_msg . ParseFromString ( byte_str ) return new_msg