/** 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 TYPE: return is_set_type(); case NAME: return is_set_name(); case ACCESS: return is_set_access(); } throw new java.lang.IllegalStateException(); }
lastComparison = java.lang.Boolean.valueOf(is_set_access()).compareTo(other.is_set_access()); if (lastComparison != 0) { return lastComparison; if (is_set_access()) { lastComparison = org.apache.storm.thrift.TBaseHelper.compareTo(this.access, other.access); if (lastComparison != 0) {
public void validate() throws org.apache.storm.thrift.TException { // check for required fields if (!is_set_type()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'type' is unset! Struct:" + toString()); } if (!is_set_access()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'access' 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 TYPE: return is_set_type(); case NAME: return is_set_name(); case ACCESS: return is_set_access(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(is_set_access()).compareTo(other.is_set_access()); if (lastComparison != 0) { return lastComparison; if (is_set_access()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.access, other.access); if (lastComparison != 0) {
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_type()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'type' is unset! Struct:" + toString()); } if (!is_set_access()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'access' is unset! Struct:" + toString()); } // check for sub-struct validity }