/** 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 ACCESS_POINT_ID: return isSetAccessPointId(); case RULE_ID: return isSetRuleId(); case INIT_REDIRECT_PROBABILITY: return isSetInitRedirectProbability(); case SESSION_REDIRECT_PROBABILITY: return isSetSessionRedirectProbability(); case RULE_TTL: return isSetRuleTTL(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetRuleId()).compareTo(other.isSetRuleId()); if (lastComparison != 0) { return lastComparison; if (isSetRuleId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ruleId, other.ruleId); if (lastComparison != 0) {
optionals.set(0); if (struct.isSetRuleId()) { optionals.set(1); oprot.writeI32(struct.accessPointId); if (struct.isSetRuleId()) { oprot.writeI64(struct.ruleId);