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()

RProtoBuf documentation built on Nov. 3, 2022, 9:06 a.m.