func (m *Entries) Validate() error {
	if m == nil {
		return nil
	}

	for key, val := range m.GetDocuments() {
		_ = val

		// no validation rules for Documents[key]

		if v, ok := interface{}(val).(interface{ Validate() error }); ok {
			if err := v.Validate(); err != nil {
				return EntriesValidationError{
					field:  fmt.Sprintf("Documents[%v]", key),
					reason: "embedded message failed validation",
					cause:  err,
				}
			}
		}

	}

	return nil
}
// Validate checks the field values on Entries with the rules defined in the
// proto definition for this message. If any rules are violated, an error is returned.
Validate checks the field values on Entries with the rules defined in the
proto definition for this message. If any rules are violated, an error is returned.
// Validate checks the field values on Entries with the rules defined in the // proto definition for this message . If any rules are violated an error is returned .
func (m *Entries) Validate() error {
	if m == nil {
		return nil
	}
	for key, val := range m.GetDocuments() {
		_ = val
		if v, ok := interface{}(val).(interface{ Validate() error }); ok {
			if err := v.Validate(); err != nil {
				return EntriesValidationError{
					field:  fmt.Sprintf("Documents[%v]", key),
					reason: "embedded message failed validation",
					cause:  err,
				}
			}
		}
	}
	return nil
}
func ( m * Entries ) Validate ( ) error { if m == nil { return nil } for key , val := range m . GetDocuments ( ) { _ = val if v , ok := interface { } ( val ) . ( interface { Validate ( ) error } ) ; ok { if err := v . Validate ( ) ; err != nil { return EntriesValidationError { field : fmt . Sprintf ( " " , key ) , reason : " " , cause : err , } } } } return nil }
Validate checks the field values on Entries with the rules defined in the
proto definition for this message.
Validate checks the field values on Entries with the rules defined in the proto definition for this message .
// no validation rules for Documents[key]