#NEWLINE# def TryMerge( self , d ) : #NEWLINE# #INDENT# while ( d . avail ( ) > 0 ) : #NEWLINE# #INDENT# tt = d . getVarInt32 ( ) #NEWLINE# if ( tt == 10 ) : #NEWLINE# #INDENT# self . add_jid ( d . getPrefixedString ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 18 ) : #NEWLINE# #INDENT# self . set_body ( d . getPrefixedString ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 24 ) : #NEWLINE# #INDENT# self . set_raw_xml ( d . getBoolean ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 34 ) : #NEWLINE# #INDENT# self . set_type ( d . getPrefixedString ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 42 ) : #NEWLINE# #INDENT# self . set_from_jid ( d . getPrefixedString ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 0 ) : #NEWLINE# #INDENT# raise ProtocolBuffer . ProtocolBufferDecodeError #NEWLINE# #UNINDENT# d . skipData ( tt )