/** 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 UUID: return isSetUuid(); case SENDER: return isSetSender(); case EVENT_DATA: return isSetEventData(); case CREATE_TIME: return isSetCreateTime(); case VERSION: return isSetVersion(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetVersion()).compareTo(other.isSetVersion()); if (lastComparison != 0) { return lastComparison; if (isSetVersion()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, other.version); if (lastComparison != 0) {
optionals.set(3); if (struct.isSetVersion()) { optionals.set(4); oprot.writeI64(struct.createTime); if (struct.isSetVersion()) { oprot.writeI32(struct.version);