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

	if _, ok := Status_name[int32(m.GetStatus())]; !ok {
		return CollectStatusValidationError{
			field:  "Status",
			reason: "value must be one of the defined enum values",
		}
	}

	return nil
}
// Validate checks the field values on CollectStatus 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 CollectStatus 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 CollectStatus with the rules defined in // the proto definition for this message . If any rules are violated an error // is returned .
func (m *CollectStatus) Validate() error {
	if m == nil {
		return nil
	}
	if _, ok := Status_name[int32(m.GetStatus())]; !ok {
		return CollectStatusValidationError{
			field:  "Status",
			reason: "value must be one of the defined enum values",
		}
	}
	return nil
}
func ( m * CollectStatus ) Validate ( ) error { if m == nil { return nil } if _ , ok := Status_name [ int32 ( m . GetStatus ( ) ) ] ; ! ok { return CollectStatusValidationError { field : " " , reason : " " , } } return nil }
Validate checks the field values on CollectStatus with the rules defined in
the proto definition for this message.
Validate checks the field values on CollectStatus with the rules defined in the proto definition for this message .