Lines Matching defs:Names
29 type Names struct { struct
30 List []protoreflect.Name
31 once sync.Once
32 has map[protoreflect.Name]int // protected by once
35 func (p *Names) Len() int { return len(p.List) }
36 func (p *Names) Get(i int) protoreflect.Name { return p.List[i] }
37 func (p *Names) Has(s protoreflect.Name) bool { return p.lazyInit().has[s] > 0 }
38 func (p *Names) Format(s fmt.State, r rune) { descfmt.FormatList(s, r, p) }
39 func (p *Names) ProtoInternal(pragma.DoNotImplement) {}
40 func (p *Names) lazyInit() *Names {
54 func (p *Names) CheckValid() error {