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

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

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

	}

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