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

	for idx, item := range m.GetWatches() {
		_, _ = idx, item

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

	}

	return nil
}
// Validate checks the field values on ListWatchersResponse 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 ListWatchersResponse 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 ListWatchersResponse with the rules // defined in the proto definition for this message . If any rules are // violated an error is returned .
func (m *ListWatchersResponse) Validate() error {
	if m == nil {
		return nil
	}
	for idx, item := range m.GetWatches() {
		_, _ = idx, item
		if v, ok := interface{}(item).(interface{ Validate() error }); ok {
			if err := v.Validate(); err != nil {
				return ListWatchersResponseValidationError{
					field:  fmt.Sprintf("Watches[%v]", idx),
					reason: "embedded message failed validation",
					cause:  err,
				}
			}
		}
	}
	return nil
}
func ( m * ListWatchersResponse ) Validate ( ) error { if m == nil { return nil } for idx , item := range m . GetWatches ( ) { _ , _ = idx , item if v , ok := interface { } ( item ) . ( interface { Validate ( ) error } ) ; ok { if err := v . Validate ( ) ; err != nil { return ListWatchersResponseValidationError { field : fmt . Sprintf ( " " , idx ) , reason : " " , cause : err , } } } } return nil }
Validate checks the field values on ListWatchersResponse with the rules
defined in the proto definition for this message.
Validate checks the field values on ListWatchersResponse with the rules defined in the proto definition for this message .