this.serversShuttingDown = __this__serversShuttingDown; if (other.isSetDeadTabletServers()) { java.util.List<DeadServer> __this__deadTabletServers = new java.util.ArrayList<DeadServer>(other.deadTabletServers.size()); for (DeadServer other_element : other.deadTabletServers) {
lastComparison = java.lang.Boolean.valueOf(isSetDeadTabletServers()).compareTo(other.isSetDeadTabletServers()); if (lastComparison != 0) { return lastComparison; if (isSetDeadTabletServers()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deadTabletServers, other.deadTabletServers); if (lastComparison != 0) {
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTableMap()) ? 131071 : 524287); if (isSetTableMap()) hashCode = hashCode * 8191 + tableMap.hashCode(); hashCode = hashCode * 8191 + ((isSetTServerInfo()) ? 131071 : 524287); if (isSetTServerInfo()) hashCode = hashCode * 8191 + tServerInfo.hashCode(); hashCode = hashCode * 8191 + ((isSetBadTServers()) ? 131071 : 524287); if (isSetBadTServers()) hashCode = hashCode * 8191 + badTServers.hashCode(); hashCode = hashCode * 8191 + ((isSetState()) ? 131071 : 524287); if (isSetState()) hashCode = hashCode * 8191 + state.getValue(); hashCode = hashCode * 8191 + ((isSetGoalState()) ? 131071 : 524287); if (isSetGoalState()) hashCode = hashCode * 8191 + goalState.getValue(); hashCode = hashCode * 8191 + unassignedTablets; hashCode = hashCode * 8191 + ((isSetServersShuttingDown()) ? 131071 : 524287); if (isSetServersShuttingDown()) hashCode = hashCode * 8191 + serversShuttingDown.hashCode(); hashCode = hashCode * 8191 + ((isSetDeadTabletServers()) ? 131071 : 524287); if (isSetDeadTabletServers()) hashCode = hashCode * 8191 + deadTabletServers.hashCode(); hashCode = hashCode * 8191 + ((isSetBulkImports()) ? 131071 : 524287); if (isSetBulkImports()) hashCode = hashCode * 8191 + bulkImports.hashCode(); return hashCode; }
/** 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 java.lang.IllegalArgumentException(); } switch (field) { case TABLE_MAP: return isSetTableMap(); case T_SERVER_INFO: return isSetTServerInfo(); case BAD_TSERVERS: return isSetBadTServers(); case STATE: return isSetState(); case GOAL_STATE: return isSetGoalState(); case UNASSIGNED_TABLETS: return isSetUnassignedTablets(); case SERVERS_SHUTTING_DOWN: return isSetServersShuttingDown(); case DEAD_TABLET_SERVERS: return isSetDeadTabletServers(); case BULK_IMPORTS: return isSetBulkImports(); } throw new java.lang.IllegalStateException(); }
boolean this_present_deadTabletServers = true && this.isSetDeadTabletServers(); boolean that_present_deadTabletServers = true && that.isSetDeadTabletServers(); if (this_present_deadTabletServers || that_present_deadTabletServers) { if (!(this_present_deadTabletServers && that_present_deadTabletServers))
optionals.set(6); if (struct.isSetDeadTabletServers()) { optionals.set(7); if (struct.isSetDeadTabletServers()) {
list.add(serversShuttingDown); boolean present_deadTabletServers = true && (isSetDeadTabletServers()); list.add(present_deadTabletServers); if (present_deadTabletServers)
this.serversShuttingDown = __this__serversShuttingDown; if (other.isSetDeadTabletServers()) { List<DeadServer> __this__deadTabletServers = new ArrayList<DeadServer>(other.deadTabletServers.size()); for (DeadServer other_element : other.deadTabletServers) {
lastComparison = Boolean.valueOf(isSetDeadTabletServers()).compareTo(other.isSetDeadTabletServers()); if (lastComparison != 0) { return lastComparison; if (isSetDeadTabletServers()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deadTabletServers, other.deadTabletServers); 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 TABLE_MAP: return isSetTableMap(); case T_SERVER_INFO: return isSetTServerInfo(); case BAD_TSERVERS: return isSetBadTServers(); case STATE: return isSetState(); case GOAL_STATE: return isSetGoalState(); case UNASSIGNED_TABLETS: return isSetUnassignedTablets(); case SERVERS_SHUTTING_DOWN: return isSetServersShuttingDown(); case DEAD_TABLET_SERVERS: return isSetDeadTabletServers(); case BULK_IMPORTS: return isSetBulkImports(); } throw new IllegalStateException(); }
boolean this_present_deadTabletServers = true && this.isSetDeadTabletServers(); boolean that_present_deadTabletServers = true && that.isSetDeadTabletServers(); if (this_present_deadTabletServers || that_present_deadTabletServers) { if (!(this_present_deadTabletServers && that_present_deadTabletServers))
optionals.set(6); if (struct.isSetDeadTabletServers()) { optionals.set(7); if (struct.isSetDeadTabletServers()) {