/** 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 CONN_ID: return isSetConnId(); case CLIENT_HOST_NAME: return isSetClientHostName(); case CLIENT_ID: return isSetClientID(); case USER_NAME: return isSetUserName(); case TOKEN: return isSetToken(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetConnId()).compareTo(other.isSetConnId()); if (lastComparison != 0) { return lastComparison; if (isSetConnId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.connId, other.connId); if (lastComparison != 0) {
if (!struct.isSetConnId()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'connId' was not found in serialized data! Struct: " + toString());