def METHOD_NAME(analysis: Analysis) -> Text:
  """The unique name of an analysis is:
  [analysis_name]_[attribute_one]_[attribute_two]_ ......
  Args:
      analysis: An instance of analysis_entity_pb2.Analysis
  Returns:
      Unique name of an Analysis in string
  """
  attributes = analysis.features
  # analysis_entity_pb2.Analysis.Name is an integer, need the following
  # conversion to get its string value
  analysis_name = Analysis.Name.Name(analysis.name)
  attribute_names = [att.name for att in attributes]
  return NAME_SEP.join([analysis_name] + sorted(attribute_names))