public void setFieldValue(_Fields field, Object value) { switch (field) { case START: if (value == null) { unsetStart(); } else { setStart((ByteBuffer) value); } break; case FINISH: if (value == null) { unsetFinish(); } else { setFinish((ByteBuffer) value); } break; case REVERSED: if (value == null) { unsetReversed(); } else { setReversed((Boolean) value); } break; case COUNT: if (value == null) { unsetCount(); } else { setCount((Integer) value); } break; } }
public SliceRange setFinish(byte[] finish) { setFinish(finish == null ? (ByteBuffer) null : ByteBuffer.wrap(finish)); return this; }
public byte[] getFinish() { setFinish(org.apache.thrift.TBaseHelper.rightSize(finish)); return finish == null ? null : finish.array(); }