/** 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 FILE_PATH: return isSetFile_path(); case FILE_OFFSET: return isSetFile_offset(); case META_DATA: return isSetMeta_data(); } 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 FILE_PATH: return isSetFile_path(); case FILE_OFFSET: return isSetFile_offset(); case META_DATA: return isSetMeta_data(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetFile_offset()).compareTo(typedOther.isSetFile_offset()); if (lastComparison != 0) { return lastComparison; if (isSetFile_offset()) { lastComparison = TBaseHelper.compareTo(this.file_offset, typedOther.file_offset); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetFile_offset()).compareTo(typedOther.isSetFile_offset()); if (lastComparison != 0) { return lastComparison; if (isSetFile_offset()) { lastComparison = TBaseHelper.compareTo(this.file_offset, typedOther.file_offset); if (lastComparison != 0) {
if (!isSetFile_offset()) { throw new TProtocolException("Required field 'file_offset' was not found in serialized data! Struct: " + toString());
if (!isSetFile_offset()) { throw new TProtocolException("Required field 'file_offset' was not found in serialized data! Struct: " + toString());