#NEWLINE# def ByteSize( self ) : #NEWLINE# #INDENT# n = 0 #NEWLINE# n += self . lengthString ( len ( self . topic_ ) ) #NEWLINE# n += self . lengthString ( len ( self . sub_id_ ) ) #NEWLINE# n += self . lengthString ( len ( self . vanilla_query_ ) ) #NEWLINE# n += ( 1 * len ( i . schema_entry_ ) ) #NEWLINE# for i in xrange ( len ( self . schema_entry_ ) ) : #NEWLINE# #INDENT# n += self . lengthString ( self . schema_entry_ [ i ] . ByteSize ( ) ) #NEWLINE# #UNINDENT# return ( n + 12 )