#NEWLINE# def __str__( self , prefix = '' , printElemNumber = 0 ) : #NEWLINE# #INDENT# res = '' #NEWLINE# if self . has_queue_name_ : #NEWLINE# #INDENT# res += ( prefix + ( 'queue_name: %s\n' % self . DebugFormatString ( self . queue_name_ ) ) ) #NEWLINE# #UNINDENT# cnt = 0 #NEWLINE# for e in self . task_name_ : #NEWLINE# #INDENT# elm = '' #NEWLINE# if printElemNumber : #NEWLINE# #INDENT# elm = ( '(%d)' % cnt ) #NEWLINE# #UNINDENT# res += ( prefix + ( 'task_name%s: %s\n' % ( elm , self . DebugFormatString ( e ) ) ) ) #NEWLINE# cnt += 1 #NEWLINE# #UNINDENT# if self . has_app_id_ : #NEWLINE# #INDENT# res += ( prefix + ( 'app_id: %s\n' % self . DebugFormatString ( self . app_id_ ) ) ) #NEWLINE# #UNINDENT# return res