P | R Documentation |
The P
function searches for a protocol message
descriptor in the descriptor pool.
P(type, file)
type |
Fully qualified type name of the protocol buffer or extension |
file |
optional proto file. If given, the definition contained in the file is first registered with the pool of message descriptors |
An object of class Descriptor for message types or FieldDescriptor for extensions. An error is generated otherwise.
Romain Francois <francoisromain@free.fr>
## Not run:
proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" )
Person <- P( "tutorial.Person", file = proto.file )
## End(Not run)
cat(as.character( Person ))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.