/** 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 BLOCKLET_LENGTH: return isSetBlocklet_length(); case MUTATION: return isSetMutation(); case BLOCKLET_INDEX: return isSetBlocklet_index(); case BLOCKLET_INFO: return isSetBlocklet_info(); case DICTIONARY: return isSetDictionary(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetBlocklet_length()).compareTo(other.isSetBlocklet_length()); if (lastComparison != 0) { return lastComparison; if (isSetBlocklet_length()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blocklet_length, other.blocklet_length); if (lastComparison != 0) {
if (!struct.isSetBlocklet_length()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'blocklet_length' was not found in serialized data! Struct: " + toString());