lastComparison = Boolean.valueOf(isSetEnd_offset()).compareTo(other.isSetEnd_offset()); if (lastComparison != 0) { return lastComparison; if (isSetEnd_offset()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.end_offset, other.end_offset); if (lastComparison != 0) {
/** 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 MIN_SURROGATE_KEY: return isSetMin_surrogate_key(); case MAX_SURROGATE_KEY: return isSetMax_surrogate_key(); case START_OFFSET: return isSetStart_offset(); case END_OFFSET: return isSetEnd_offset(); case CHUNK_COUNT: return isSetChunk_count(); case SEGMENT_ID: return isSetSegment_id(); } throw new IllegalStateException(); }
throw new org.apache.thrift.protocol.TProtocolException("Required field 'start_offset' was not found in serialized data! Struct: " + toString()); if (!struct.isSetEnd_offset()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'end_offset' was not found in serialized data! Struct: " + toString());