#NEWLINE# def __str__( self , prefix = '' , printElemNumber = 0 ) : #NEWLINE# #INDENT# res = '' #NEWLINE# if self . has_is_available_ : #NEWLINE# #INDENT# res += ( prefix + ( 'is_available: %s\n' % self . DebugFormatBool ( self . is_available_ ) ) ) #NEWLINE# #UNINDENT# if self . has_presence_ : #NEWLINE# #INDENT# res += ( prefix + ( 'presence: %s\n' % self . DebugFormatInt32 ( self . presence_ ) ) ) #NEWLINE# #UNINDENT# return res