/** 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 HOST: return is_set_host(); case CONNECTED_AT: return is_set_connected_at(); case TYPE: return is_set_type(); case VERSION: return is_set_version(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(is_set_connected_at()).compareTo(typedOther.is_set_connected_at()); if (lastComparison != 0) { return lastComparison; if (is_set_connected_at()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.connected_at, typedOther.connected_at); if (lastComparison != 0) {
if (!struct.is_set_connected_at()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'connected_at' was not found in serialized data! Struct: " + toString());