def ConvertToWireFormat(self, value):
    """Encode the nested protobuf into wire format."""
    output = _SerializeEntries(_GetOrderedEntries(value.GetRawData()))
    return (self.encoded_tag, VarintEncode(len(output)), output)
def ConvertToWireFormat ( self , value ) : output = _SerializeEntries ( _GetOrderedEntries ( value . GetRawData ( ) ) ) return ( self . encoded_tag , VarintEncode ( len ( output ) ) , output )
Encode the nested protobuf into wire format.