/** 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(isSetAccessPointId()).compareTo(other.isSetAccessPointId()); if (lastComparison != 0) { return lastComparison; if (isSetAccessPointId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.accessPointId, other.accessPointId); if (lastComparison != 0) {
TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetAccessPointId()) { optionals.set(0); if (struct.isSetAccessPointId()) { oprot.writeI32(struct.accessPointId);