type Builder … type Out … func (tb Builder) Build() (out Out) { … } var goTypeForPBKind … type depIdxs … // Get retrieves the jth element of the ith sub-list. func (x depIdxs) Get(i, j int32) int32 { … } type resolverByIndex … type fileRegistry … func (r *resolverByIndex) FindEnumByIndex(i, j int32, es []filedesc.Enum, ms []filedesc.Message) protoreflect.EnumDescriptor { … } func (r *resolverByIndex) FindMessageByIndex(i, j int32, es []filedesc.Enum, ms []filedesc.Message) protoreflect.MessageDescriptor { … }