Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

RProtoBuf (version 0.4.22)

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

Description

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

Arguments

See Also

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

Examples

Run this code
# 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()

Run the code above in your browser using DataLab