FileDescriptor-class | R Documentation |
Class "FileDescriptor"
Objects are usually created using the fileDescriptor
method
pointer
:external pointer to a google::protobuf::FileDescriptor
C++ object
package
:the package name defined in the file, e.g. 'tutorial'.
filename
:the filename of this FileDescriptor
signature(x = "FileDescriptor")
: used to invoke a pseudo method of the
file descriptor or get a top level message, enum or service descriptor
signature(x = "FileDescriptor" )
: gets the debug string
signature(x = "FileDescriptor" )
: gets the debug string
signature(x = "FileDescriptor" )
: prints small text
signature(object = "FileDescriptor" )
: name of the file
Romain Francois <francoisromain@free.fr>
Descriptor
# example proto file supplied with this package
desc <- P("tutorial.Person")
person <- new(desc)
person$fileDescriptor()
name(person$fileDescriptor())
# [1] "addressbook.proto"
as.character(person$fileDescriptor())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.