lastComparison = Boolean.valueOf(isSetEventId()).compareTo(other.isSetEventId()); if (lastComparison != 0) { return lastComparison; if (isSetEventId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventId, other.eventId); 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 TYPE: return isSetType(); case EVENT_ID: return isSetEventId(); case EVENT: return isSetEvent(); case ROUTE: return isSetRoute(); case USER_ROUTE: return isSetUserRoute(); case ENDPOINT_ROUTE_UPDATE: return isSetEndpointRouteUpdate(); case ENDPOINT_STATE_UPDATE: return isSetEndpointStateUpdate(); } throw new IllegalStateException(); }
optionals.set(0); if (struct.isSetEventId()) { optionals.set(1); oprot.writeI32(struct.type.getValue()); if (struct.isSetEventId()) { oprot.writeI64(struct.eventId);