Validate checks the field values on SchemaDefinition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
()
| 914 | // in the proto definition for this message. If any rules are violated, the |
| 915 | // first error encountered is returned, or nil if there are no violations. |
| 916 | func (m *SchemaDefinition) Validate() error { |
| 917 | return m.validate(false) |
| 918 | } |
| 919 | |
| 920 | // ValidateAll checks the field values on SchemaDefinition with the rules |
| 921 | // defined in the proto definition for this message. If any rules are |