/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case REASON: return isSetReason(); case SQL_STATE: return isSetSqlState(); case SEVERITY: return isSetSeverity(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetSeverity()).compareTo(other.isSetSeverity()); if (lastComparison != 0) { return lastComparison; if (isSetSeverity()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.severity, other.severity); if (lastComparison != 0) {
if (!struct.isSetSeverity()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'severity' was not found in serialized data! Struct: " + toString());