# Functions
FieldTypeBool returns a FieldType for the bool scalar type.
FieldTypeBytes returns a FieldType for the bytes scalar type.
FieldTypeDouble returns a FieldType for the double scalar type.
FieldTypeEnum returns a FieldType for the given enum type.
FieldTypeFixed32 returns a FieldType for the fixed32 scalar type.
FieldTypeFixed64 returns a FieldType for the fixed64 scalar type.
FieldTypeFloat returns a FieldType for the float scalar type.
FieldTypeImportedEnum returns a FieldType that references the given enum descriptor.
FieldTypeImportedMessage returns a FieldType that references the given message descriptor.
FieldTypeInt32 returns a FieldType for the int32 scalar type.
FieldTypeInt64 returns a FieldType for the int64 scalar type.
FieldTypeMessage returns a FieldType for the given message type.
FieldTypeScalar returns a FieldType for the given scalar type.
FieldTypeSfixed32 returns a FieldType for the sfixed32 scalar type.
FieldTypeSfixed64 returns a FieldType for the sfixed64 scalar type.
FieldTypeSint32 returns a FieldType for the sint32 scalar type.
FieldTypeSint64 returns a FieldType for the sint64 scalar type.
FieldTypeString returns a FieldType for the string scalar type.
FieldTypeUint32 returns a FieldType for the uint32 scalar type.
FieldTypeUint64 returns a FieldType for the uint64 scalar type.
FromEnum returns an EnumBuilder that is effectively a copy of the given descriptor.
FromEnumValue returns an EnumValueBuilder that is effectively a copy of the given descriptor.
FromField returns a FieldBuilder that is effectively a copy of the given descriptor.
FromFile returns a FileBuilder that is effectively a copy of the given descriptor.
FromMessage returns a MessageBuilder that is effectively a copy of the given descriptor.
FromMethod returns a MethodBuilder that is effectively a copy of the given descriptor.
FromOneof returns a OneofBuilder that is effectively a copy of the given descriptor.
FromService returns a ServiceBuilder that is effectively a copy of the given descriptor.
FullName returns the given builder's fully-qualified name.
NewEnum creates a new EnumBuilder for an enum with the given name.
NewEnumValue creates a new EnumValueBuilder for an enum value with the given name.
NewExtension creates a new FieldBuilder for an extension field with the given name, tag, type, and extendee.
NewExtensionImported creates a new FieldBuilder for an extension field with the given name, tag, type, and extendee.
NewField creates a new FieldBuilder for a non-extension field with the given name and type.
NewFile creates a new FileBuilder for a file with the given path.
NewGroupField creates a new FieldBuilder for a non-extension field whose type is a group with the given definition.
NewMapField creates a new FieldBuilder for a non-extension field with the given name and whose type is a map of the given key and value types.
NewMessage creates a new MessageBuilder for a message with the given name.
NewMethod creates a new MethodBuilder for a method with the given name and request and response types.
NewOneof creates a new OneofBuilder for a oneof with the given name.
NewService creates a new ServiceBuilder for a service with the given name.
RpcTypeImportedMessage creates an RpcType that refers to the given message descriptor.
RpcTypeMessage creates an RpcType that refers to the given message builder.
Unlink removes the given builder from its parent.
# Structs
BuilderOptions includes additional options to use when building descriptors.
Comments represents the various comments that might be associated with a descriptor.
EnumBuilder is a builder used to construct a protoreflect.EnumDescriptor.
EnumValueBuilder is a builder used to construct a protoreflect.EnumValueDescriptor.
ExtensionRange represents a range of extension numbers.
FieldBuilder is a builder used to construct a protoreflect.FieldDescriptor.
FieldType represents the type of a field or extension.
FileBuilder is a builder used to construct a protoreflect.FileDescriptor.
MessageBuilder is a builder used to construct a protoreflect.MessageDescriptor.
MethodBuilder is a builder used to construct a protoreflect.MethodDescriptor.
OneofBuilder is a builder used to construct a protoreflect.OneOfDescriptor.
RpcType represents the type of an RPC request or response.
ServiceBuilder is a builder used to construct a protoreflect.ServiceDescriptor.
# Interfaces
Builder is the core interface implemented by all descriptor builders.