/** 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 java.lang.IllegalArgumentException(); } switch (field) { case EMITTED: return is_set_emitted(); case TRANSFERRED: return is_set_transferred(); case SPECIFIC: return is_set_specific(); case RATE: return is_set_rate(); } throw new java.lang.IllegalStateException(); }
lastComparison = java.lang.Boolean.valueOf(is_set_rate()).compareTo(other.is_set_rate()); if (lastComparison != 0) { return lastComparison; if (is_set_rate()) { lastComparison = org.apache.storm.thrift.TBaseHelper.compareTo(this.rate, other.rate); if (lastComparison != 0) {
public void validate() throws org.apache.storm.thrift.TException { // check for required fields if (!is_set_emitted()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'emitted' is unset! Struct:" + toString()); } if (!is_set_transferred()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'transferred' is unset! Struct:" + toString()); } if (!is_set_specific()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'specific' is unset! Struct:" + toString()); } if (!is_set_rate()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'rate' is unset! Struct:" + toString()); } // check for sub-struct validity }
/** 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 EMITTED: return is_set_emitted(); case TRANSFERRED: return is_set_transferred(); case SPECIFIC: return is_set_specific(); case RATE: return is_set_rate(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(is_set_rate()).compareTo(other.is_set_rate()); if (lastComparison != 0) { return lastComparison; if (is_set_rate()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rate, other.rate); if (lastComparison != 0) {
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_emitted()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'emitted' is unset! Struct:" + toString()); } if (!is_set_transferred()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'transferred' is unset! Struct:" + toString()); } if (!is_set_specific()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'specific' is unset! Struct:" + toString()); } if (!is_set_rate()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'rate' is unset! Struct:" + toString()); } // check for sub-struct validity }