containing_type-methods: Gets the message type descriptor that contains a descriptor

containing_type-methodsR Documentation

Gets the message type descriptor that contains a descriptor

Description

Gets a Descriptor describing the message type that contains the descriptor.

See Also

The method is implemented for these classes : Descriptor, EnumDescriptor, FieldDescriptor

Examples

# Containing type of a field is the message descriptor
tutorial.Person$id$containing_type()

# No containing type for the top-level message descriptor.
tutorial.Person$containing_type()

eddelbuettel/rprotobuf documentation built on March 27, 2024, 12:22 p.m.