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

	if v, ok := interface{}(m.GetSource()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return SourceDetailsValidationError{
				field:  "Source",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}

	if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return SourceDetailsValidationError{
				field:  "Metadata",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}

	return nil
}
// Validate checks the field values on SourceDetails 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 SourceDetails 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 SourceDetails with the rules defined in // the proto definition for this message . If any rules are violated an error // is returned .
func (m *SourceDetails) Validate() error {
	if m == nil {
		return nil
	}
	if v, ok := interface{}(m.GetSource()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return SourceDetailsValidationError{
				field:  "Source",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}
	if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return SourceDetailsValidationError{
				field:  "Metadata",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}
	return nil
}
func ( m * SourceDetails ) Validate ( ) error { if m == nil { return nil } if v , ok := interface { } ( m . GetSource ( ) ) . ( interface { Validate ( ) error } ) ; ok { if err := v . Validate ( ) ; err != nil { return SourceDetailsValidationError { field : " " , reason : " " , cause : err , } } } if v , ok := interface { } ( m . GetMetadata ( ) ) . ( interface { Validate ( ) error } ) ; ok { if err := v . Validate ( ) ; err != nil { return SourceDetailsValidationError { field : " " , reason : " " , cause : err , } } } return nil }
Validate checks the field values on SourceDetails with the rules defined in
the proto definition for this message.
Validate checks the field values on SourceDetails with the rules defined in the proto definition for this message .