lastComparison = Boolean.valueOf(isSetChunk_count()).compareTo(other.isSetChunk_count()); if (lastComparison != 0) { return lastComparison; if (isSetChunk_count()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.chunk_count, other.chunk_count); 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 'end_offset' was not found in serialized data! Struct: " + toString()); if (!struct.isSetChunk_count()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'chunk_count' was not found in serialized data! Struct: " + toString());