validate method
dynamic
validate()
Implementation
validate() {
// check for required fields
// check that fields of type enum have valid values
if (isSetJob_type() &&
!t_nebula_meta.JobType.VALID_VALUES.contains(job_type)) {
throw new TProtocolError(TProtocolErrorType.UNKNOWN,
"The field 'job_type' has been assigned the invalid value $job_type");
}
}