Records

Functions

  • TypeResolver * NewTypeResolverForDescriptorPool (absl::string_view url_prefix, const DescriptorPool * pool)

    Creates a TypeResolver that serves type information in the given descriptor

    pool. Caller takes ownership of the returned TypeResolver.

  • google::protobuf::Type ConvertDescriptorToType (absl::string_view url_prefix, const Descriptor & descriptor)

    Performs a direct conversion from a descriptor to a type proto.

  • google::protobuf::Enum ConvertDescriptorToType (const EnumDescriptor & descriptor)

    Performs a direct conversion from an enum descriptor to a type proto.