def NormalizeTypeContextName(type_name):
    'Normalize a type name, e.g.\n\n  envoy.foo.bar.\n\n  Strips leading ENVOY_API_NAMESPACE_PREFIX and ENVOY_PREFIX.\n\n  Args:\n    type_name: a name from a TypeContext.\n  Return: Normalized type name.\n  '
    return NormalizeFieldTypeName(QualifyTypeName(type_name))
Normalize a type name, e.g.

envoy.foo.bar.

Strips leading ENVOY_API_NAMESPACE_PREFIX and ENVOY_PREFIX.

Args:
  type_name: a name from a TypeContext.
Return: Normalized type name.
def NormalizeTypeContextName(type_name):
    'Normalize a type name, e.g.\n\n  envoy.foo.bar.\n\n  Strips leading ENVOY_API_NAMESPACE_PREFIX and ENVOY_PREFIX.\n\n  Args:\n    type_name: a name from a TypeContext.\n  Return: Normalized type name.\n  '
    return NormalizeFieldTypeName(QualifyTypeName(type_name))