lastComparison = Boolean.valueOf(isSetEnabled()).compareTo(other.isSetEnabled()); if (lastComparison != 0) { return lastComparison; if (isSetEnabled()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.enabled, other.enabled); 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 NAME: return isSetName(); case ENABLED: return isSetEnabled(); case REPOSITORY_NAME: return isSetRepositoryName(); case QUERY: return isSetQuery(); case COMMENT: return isSetComment(); } throw new IllegalStateException(); }
/** 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 NAME: return isSetName(); case ENABLED: return isSetEnabled(); case REPOSITORY_NAME: return isSetRepositoryName(); case QUERY: return isSetQuery(); case COMMENT: return isSetComment(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetEnabled()).compareTo(other.isSetEnabled()); if (lastComparison != 0) { return lastComparison; if (isSetEnabled()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.enabled, other.enabled); if (lastComparison != 0) {
if (!struct.isSetEnabled()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'enabled' was not found in serialized data! Struct: " + toString());
if (!struct.isSetEnabled()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'enabled' was not found in serialized data! Struct: " + toString());