(self)
return code_name
Returns a language appropriate name for this object.

    This property should only be used during template expansion. It is computed
    once, using the LanguageModel in play, and then that value is cached.

    Returns:
      (str) a name for an instance of this object.
Returns a language appropriate name for this object.
Returns a language appropriate name for this object .
def codeName(self):  # pylint: disable=g-bad-name
    """Returns a language appropriate name for this object.

    This property should only be used during template expansion. It is computed
    once, using the LanguageModel in play, and then that value is cached.

    Returns:
      (str) a name for an instance of this object.
    """
    # Note that if code name is in self._def_dict (and hence GetTemplateValue
    # returns something) then this property won't be called during template
    # expansion at all.  Therefore, the change this makes -- marking codeName
    # safe -- may never take place at all.
    code_name = self.GetTemplateValue('codeName')
    if not code_name:
      code_name = self.values['wireName']
      if self.language_model:
        code_name = self.language_model.ToMemberName(code_name, self._api)
    code_name = MarkSafe(code_name)
    self.SetTemplateValue('codeName', code_name)
    return code_name
def codeName ( self ) : # pylint: disable=g-bad-name # Note that if code name is in self._def_dict (and hence GetTemplateValue # returns something) then this property won't be called during template # expansion at all.  Therefore, the change this makes -- marking codeName # safe -- may never take place at all. code_name = self . GetTemplateValue ( 'codeName' ) if not code_name : code_name = self . values [ 'wireName' ] if self . language_model : code_name = self . language_model . ToMemberName ( code_name , self . _api ) code_name = MarkSafe ( code_name ) self . SetTemplateValue ( 'codeName' , code_name ) return code_name