/** 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 VERSION: return isSetVersion(); case TABLE_COLUMNS: return isSetTable_columns(); case SEGMENT_INFO: return isSetSegment_info(); case BUCKET_ID: return isSetBucket_id(); case SCHEMA_TIME_STAMP: return isSetSchema_time_stamp(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetVersion()).compareTo(other.isSetVersion()); if (lastComparison != 0) { return lastComparison; if (isSetVersion()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, other.version); if (lastComparison != 0) {
if (!struct.isSetVersion()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'version' was not found in serialized data! Struct: " + toString());