code: def GetWarnings(self):
      
      # For backwards compatibility with pre-20190309 stores.
      # Note that stores cannot contain both ExtractionErrors and
      # ExtractionWarnings
      if self._HasAttributeContainers(self._CONTAINER_TYPE_EXTRACTION_ERROR):
        return self._GetExtractionErrorsAsWarnings()
  
      return self._GetAttributeContainers(self._CONTAINER_TYPE_EXTRACTION_WARNING)
docs: Retrieves the warnings.
  
      Returns:
        generator(ExtractionWarning): warning generator.