ValidateAll checks the field values on Leaf with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeafMultiError, or nil if none found.
()
| 461 | // proto definition for this message. If any rules are violated, the result is |
| 462 | // a list of violation errors wrapped in LeafMultiError, or nil if none found. |
| 463 | func (m *Leaf) ValidateAll() error { |
| 464 | return m.validate(true) |
| 465 | } |
| 466 | |
| 467 | func (m *Leaf) validate(all bool) error { |
| 468 | if m == nil { |
no test coverage detected