func (pbdb *Db) FileDescriptions() []*FileDescription {
	return pbdb.files
}
FileDescriptions returns the set of file descriptions associated with this db.
package pb
import (
	"google.golang.org/protobuf/proto"
	"google.golang.org/protobuf/reflect/protoreflect"
	"google.golang.org/protobuf/reflect/protoregistry"
	anypb "google.golang.org/protobuf/types/known/anypb"
	durpb "google.golang.org/protobuf/types/known/durationpb"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	structpb "google.golang.org/protobuf/types/known/structpb"
	tspb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)
type Db struct {
	revFileDescriptorMap map[string]*FileDescription
	files []*FileDescription
}
var (
	DefaultDb = &Db{
		revFileDescriptorMap: make(map[string]*FileDescription),
		files:                []*FileDescription{},
	}
)
func NewDb() *Db {
	pbdb := &Db{
		revFileDescriptorMap: make(map[string]*FileDescription),
		files:                []*FileDescription{},
	}
	for k, v := range DefaultDb.revFileDescriptorMap {
		pbdb.revFileDescriptorMap[k] = v
	}
	pbdb.files = append(pbdb.files, DefaultDb.files...)
	return pbdb
}
func (pbdb *Db) Copy() *Db {
	copy := NewDb()
	for k, v := range pbdb.revFileDescriptorMap {
		copy.revFileDescriptorMap[k] = v
	}
	for _, f := range pbdb.files {
		hasFile := false
		for _, f2 := range copy.files {
			if f2 == f {
				hasFile = true
			}
		}
		if !hasFile {
			copy.files = append(copy.files, f)
		}
	}
	return copy
}