func (ft *FieldType) GetType() dpb.FieldDescriptorProto_Type {
	return ft.fieldType
}
GetType returns the enum value indicating the type of the field. If the type
is a message (or group) or enum type, GetTypeName provides the name of the
referenced type.
package builder
import (
	"fmt"
	dpb "github.com/golang/protobuf/protoc-gen-go/descriptor"
	"github.com/jhump/protoreflect/desc"
)
type FieldType struct {
	fieldType       dpb.FieldDescriptorProto_Type
	foreignMsgType  *desc.MessageDescriptor
	localMsgType    *MessageBuilder
	foreignEnumType *desc.EnumDescriptor
	localEnumType   *EnumBuilder
}