list.add(port); boolean present_errorMessage = true && (is_set_errorMessage()); list.add(present_errorMessage); if (present_errorMessage)
first = false; if (is_set_errorMessage()) { if (!first) sb.append(", "); sb.append("errorMessage:");
if (struct.is_set_errorMessage()) { oprot.writeFieldBegin(ERROR_MESSAGE_FIELD_DESC); oprot.writeString(struct.errorMessage);
lastComparison = Boolean.valueOf(is_set_errorMessage()).compareTo(other.is_set_errorMessage()); if (lastComparison != 0) { return lastComparison; if (is_set_errorMessage()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, other.errorMessage); if (lastComparison != 0) {
/** * Performs a deep copy on <i>other</i>. */ public SupervisorSummary(SupervisorSummary other) { __isset_bitfield = other.__isset_bitfield; if (other.is_set_host()) { this.host = other.host; } if (other.is_set_supervisorId()) { this.supervisorId = other.supervisorId; } this.uptimeSecs = other.uptimeSecs; this.numWorkers = other.numWorkers; this.numUsedWorkers = other.numUsedWorkers; if (other.is_set_version()) { this.version = other.version; } if (other.is_set_buildTs()) { this.buildTs = other.buildTs; } this.port = other.port; if (other.is_set_errorMessage()) { this.errorMessage = other.errorMessage; } }
boolean this_present_errorMessage = true && this.is_set_errorMessage(); boolean that_present_errorMessage = true && that.is_set_errorMessage(); if (this_present_errorMessage || that_present_errorMessage) { if (!(this_present_errorMessage && that_present_errorMessage))
optionals.set(2); if (struct.is_set_errorMessage()) { optionals.set(3); oprot.writeI32(struct.port); if (struct.is_set_errorMessage()) { oprot.writeString(struct.errorMessage);
/** 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 HOST: return is_set_host(); case SUPERVISOR_ID: return is_set_supervisorId(); case UPTIME_SECS: return is_set_uptimeSecs(); case NUM_WORKERS: return is_set_numWorkers(); case NUM_USED_WORKERS: return is_set_numUsedWorkers(); case VERSION: return is_set_version(); case BUILD_TS: return is_set_buildTs(); case PORT: return is_set_port(); case ERROR_MESSAGE: return is_set_errorMessage(); } throw new IllegalStateException(); }