Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTypesInImportedFile ¶
func RegisterTypesInImportedFile(file protoreflect.FileDescriptor, reg *protoregistry.Types, includeMessages bool)
RegisterTypesInImportedFile registers types (extensions and messages) in the given file as well as those in its public imports. So if another file imports the given file, this adds all types made visible to that importing file.
func RegisterTypesVisibleToFile ¶
func RegisterTypesVisibleToFile(file protoreflect.FileDescriptor, reg *protoregistry.Types, includeMessages bool)
RegisterTypesVisibleToFile registers types (extensions and messages) that are visible to the given file. This includes types defined in file as well as types defined in the files that it imports (and any public imports thereof, etc).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.