def comparable(self):
    """str: comparable representation of the path specification."""
    string_parts = []

    if self.encrypted_root_plist:
      string_parts.append('encrypted_root_plist: {0:s}'.format(
          self.encrypted_root_plist))
    if self.password:
      string_parts.append('password: {0:s}'.format(self.password))
    if self.recovery_password:
      string_parts.append('recovery_password: {0:s}'.format(
          self.recovery_password))

    return self._GetComparable(sub_comparable_string=', '.join(string_parts))