#NEWLINE# def read( self , istream ) : #NEWLINE# #INDENT# super ( DiscoverVersionsResponsePayload , self ) . read ( istream ) #NEWLINE# tstream = BytearrayStream ( istream . read ( self . length ) ) #NEWLINE# while self . is_tag_next ( Tags . PROTOCOL_VERSION , tstream ) : #NEWLINE# #INDENT# protocol_version = ProtocolVersion ( ) #NEWLINE# protocol_version . read ( tstream ) #NEWLINE# self . protocol_versions . append ( protocol_version ) #NEWLINE# #UNINDENT# self . is_oversized ( tstream ) #NEWLINE# self . validate ( )