lastComparison = java.lang.Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; if (isSetStatus()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); 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 java.lang.IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case SERVER_NAME: return isSetServerName(); case STATUS: return isSetStatus(); case TABLET: return isSetTablet(); } throw new java.lang.IllegalStateException(); }
optionals.set(2); if (struct.isSetStatus()) { optionals.set(3); oprot.writeString(struct.serverName); if (struct.isSetStatus()) { oprot.writeI32(struct.status.getValue());
lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; if (isSetStatus()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) {
boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status))
optionals.set(2); if (struct.isSetStatus()) { optionals.set(3); oprot.writeString(struct.serverName); if (struct.isSetStatus()) { oprot.writeI32(struct.status.getValue());
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_tinfo = true && (isSetTinfo()); list.add(present_tinfo); if (present_tinfo) list.add(tinfo); boolean present_credentials = true && (isSetCredentials()); list.add(present_credentials); if (present_credentials) list.add(credentials); boolean present_serverName = true && (isSetServerName()); list.add(present_serverName); if (present_serverName) list.add(serverName); boolean present_status = true && (isSetStatus()); list.add(present_status); if (present_status) list.add(status.getValue()); boolean present_tablet = true && (isSetTablet()); list.add(present_tablet); if (present_tablet) list.add(tablet); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public reportTabletStatus_args(reportTabletStatus_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.security.thrift.TCredentials(other.credentials); } if (other.isSetServerName()) { this.serverName = other.serverName; } if (other.isSetStatus()) { this.status = other.status; } if (other.isSetTablet()) { this.tablet = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.tablet); } }
/** 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 TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case SERVER_NAME: return isSetServerName(); case STATUS: return isSetStatus(); case TABLET: return isSetTablet(); } throw new IllegalStateException(); }
boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status))
/** * Performs a deep copy on <i>other</i>. */ public reportTabletStatus_args(reportTabletStatus_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.securityImpl.thrift.TCredentials(other.credentials); } if (other.isSetServerName()) { this.serverName = other.serverName; } if (other.isSetStatus()) { this.status = other.status; } if (other.isSetTablet()) { this.tablet = new org.apache.accumulo.core.dataImpl.thrift.TKeyExtent(other.tablet); } }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTinfo()) ? 131071 : 524287); if (isSetTinfo()) hashCode = hashCode * 8191 + tinfo.hashCode(); hashCode = hashCode * 8191 + ((isSetCredentials()) ? 131071 : 524287); if (isSetCredentials()) hashCode = hashCode * 8191 + credentials.hashCode(); hashCode = hashCode * 8191 + ((isSetServerName()) ? 131071 : 524287); if (isSetServerName()) hashCode = hashCode * 8191 + serverName.hashCode(); hashCode = hashCode * 8191 + ((isSetStatus()) ? 131071 : 524287); if (isSetStatus()) hashCode = hashCode * 8191 + status.getValue(); hashCode = hashCode * 8191 + ((isSetTablet()) ? 131071 : 524287); if (isSetTablet()) hashCode = hashCode * 8191 + tablet.hashCode(); return hashCode; }