/** 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(isSetRuleTTL()).compareTo(other.isSetRuleTTL()); if (lastComparison != 0) { return lastComparison; if (isSetRuleTTL()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ruleTTL, other.ruleTTL); if (lastComparison != 0) {
optionals.set(3); if (struct.isSetRuleTTL()) { optionals.set(4); oprot.writeDouble(struct.sessionRedirectProbability); if (struct.isSetRuleTTL()) { oprot.writeI64(struct.ruleTTL);