def _GetResourceMessageClassName(singular_name):
  """Returns the properly capitalized resource class name."""
  resource_name = singular_name.strip()
  if len(resource_name) > 1:
    return resource_name[0].upper() + resource_name[1:]

  return resource_name.capitalize()