package
0.14.1
Repository: https://github.com/bufbuild/protocompile.git
Documentation: pkg.go.dev

# Functions

GetCustomFeatureDefault gets the default value for the given custom feature and given edition.
GetFeatureDefault gets the default value for the given feature and the given edition.
ProtoFromDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromEnumDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromEnumValueDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromFieldDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromFileDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromMessageDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromMethodDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromOneofDescriptor extracts a descriptor proto from the given "rich" descriptor.
ProtoFromServiceDescriptor extracts a descriptor proto from the given "rich" descriptor.
ResolveCustomFeature resolves a custom feature for the given extension and field descriptor.
ResolveFeature resolves a feature for the given descriptor.

# Interfaces

DescriptorProtoWrapper is a protoreflect.Descriptor that wraps an underlying descriptor proto.