/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case UNCOMPRESSED_PAGE_SIZE: return isSetUncompressed_page_size(); case COMPRESSED_PAGE_SIZE: return isSetCompressed_page_size(); case CRC: return isSetCrc(); case DATA_PAGE_HEADER: return isSetData_page_header(); case INDEX_PAGE_HEADER: return isSetIndex_page_header(); case DICTIONARY_PAGE_HEADER: return isSetDictionary_page_header(); case DATA_PAGE_HEADER_V2: return isSetData_page_header_v2(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case UNCOMPRESSED_PAGE_SIZE: return isSetUncompressed_page_size(); case COMPRESSED_PAGE_SIZE: return isSetCompressed_page_size(); case CRC: return isSetCrc(); case DATA_PAGE_HEADER: return isSetData_page_header(); case INDEX_PAGE_HEADER: return isSetIndex_page_header(); case DICTIONARY_PAGE_HEADER: return isSetDictionary_page_header(); case DATA_PAGE_HEADER_V2: return isSetData_page_header_v2(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetUncompressed_page_size()).compareTo(typedOther.isSetUncompressed_page_size()); if (lastComparison != 0) { return lastComparison; if (isSetUncompressed_page_size()) { lastComparison = TBaseHelper.compareTo(this.uncompressed_page_size, typedOther.uncompressed_page_size); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetUncompressed_page_size()).compareTo(typedOther.isSetUncompressed_page_size()); if (lastComparison != 0) { return lastComparison; if (isSetUncompressed_page_size()) { lastComparison = TBaseHelper.compareTo(this.uncompressed_page_size, typedOther.uncompressed_page_size); if (lastComparison != 0) {
if (!isSetUncompressed_page_size()) { throw new TProtocolException("Required field 'uncompressed_page_size' was not found in serialized data! Struct: " + toString());
if (!isSetUncompressed_page_size()) { throw new TProtocolException("Required field 'uncompressed_page_size' was not found in serialized data! Struct: " + toString());