@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_success = true && (is_set_success()); list.add(present_success); if (present_success) list.add(success); boolean present_e = true && (is_set_e()); list.add(present_e); if (present_e) list.add(e); boolean present_aze = true && (is_set_aze()); list.add(present_aze); if (present_aze) list.add(aze); return list.hashCode(); }
lastComparison = Boolean.valueOf(is_set_aze()).compareTo(other.is_set_aze()); if (lastComparison != 0) { return lastComparison; if (is_set_aze()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aze, other.aze); 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 SUCCESS: return is_set_success(); case E: return is_set_e(); case AZE: return is_set_aze(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(is_set_aze()).compareTo(other.is_set_aze()); if (lastComparison != 0) { return lastComparison; if (is_set_aze()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aze, other.aze); if (lastComparison != 0) {
public boolean equals(execute_result that) { if (that == null) return false; boolean this_present_success = true && this.is_set_success(); boolean that_present_success = true && that.is_set_success(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_e = true && this.is_set_e(); boolean that_present_e = true && that.is_set_e(); if (this_present_e || that_present_e) { if (!(this_present_e && that_present_e)) return false; if (!this.e.equals(that.e)) return false; } boolean this_present_aze = true && this.is_set_aze(); boolean that_present_aze = true && that.is_set_aze(); if (this_present_aze || that_present_aze) { if (!(this_present_aze && that_present_aze)) return false; if (!this.aze.equals(that.aze)) return false; } return true; }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, execute_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.is_set_success()) { optionals.set(0); } if (struct.is_set_e()) { optionals.set(1); } if (struct.is_set_aze()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.is_set_success()) { oprot.writeString(struct.success); } if (struct.is_set_e()) { struct.e.write(oprot); } if (struct.is_set_aze()) { struct.aze.write(oprot); } }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_success = true && (is_set_success()); list.add(present_success); if (present_success) list.add(success); boolean present_e = true && (is_set_e()); list.add(present_e); if (present_e) list.add(e); boolean present_aze = true && (is_set_aze()); list.add(present_aze); if (present_aze) list.add(aze); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public execute_result(execute_result other) { if (other.is_set_success()) { this.success = other.success; } if (other.is_set_e()) { this.e = new DRPCExecutionException(other.e); } if (other.is_set_aze()) { this.aze = new AuthorizationException(other.aze); } }
/** 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 SUCCESS: return is_set_success(); case E: return is_set_e(); case AZE: return is_set_aze(); } throw new IllegalStateException(); }
public boolean equals(execute_result that) { if (that == null) return false; boolean this_present_success = true && this.is_set_success(); boolean that_present_success = true && that.is_set_success(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_e = true && this.is_set_e(); boolean that_present_e = true && that.is_set_e(); if (this_present_e || that_present_e) { if (!(this_present_e && that_present_e)) return false; if (!this.e.equals(that.e)) return false; } boolean this_present_aze = true && this.is_set_aze(); boolean that_present_aze = true && that.is_set_aze(); if (this_present_aze || that_present_aze) { if (!(this_present_aze && that_present_aze)) return false; if (!this.aze.equals(that.aze)) return false; } return true; }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, execute_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.is_set_success()) { optionals.set(0); } if (struct.is_set_e()) { optionals.set(1); } if (struct.is_set_aze()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.is_set_success()) { oprot.writeString(struct.success); } if (struct.is_set_e()) { struct.e.write(oprot); } if (struct.is_set_aze()) { struct.aze.write(oprot); } }
/** * Performs a deep copy on <i>other</i>. */ public execute_result(execute_result other) { if (other.is_set_success()) { this.success = other.success; } if (other.is_set_e()) { this.e = new DRPCExecutionException(other.e); } if (other.is_set_aze()) { this.aze = new AuthorizationException(other.aze); } }