in flume-legacy-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java [474:494]
public boolean isSet(_Fields field) {
if (field == null) {
throw new java.lang.IllegalArgumentException();
}
switch (field) {
case TIMESTAMP:
return isSetTimestamp();
case PRIORITY:
return isSetPriority();
case BODY:
return isSetBody();
case NANOS:
return isSetNanos();
case HOST:
return isSetHost();
case FIELDS:
return isSetFields();
}
throw new java.lang.IllegalStateException();
}