/** 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 COMPRESSION_CODEC: return isSetCompression_codec(); case TOTAL_UNCOMPRESSED_SIZE: return isSetTotal_uncompressed_size(); case TOTAL_COMPRESSED_SIZE: return isSetTotal_compressed_size(); case COMPRESSOR_NAME: return isSetCompressor_name(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetTotal_uncompressed_size()).compareTo(other.isSetTotal_uncompressed_size()); if (lastComparison != 0) { return lastComparison; if (isSetTotal_uncompressed_size()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.total_uncompressed_size, other.total_uncompressed_size); if (lastComparison != 0) {
if (!struct.isSetTotal_uncompressed_size()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'total_uncompressed_size' was not found in serialized data! Struct: " + toString());