public boolean equals(TRowResult that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_row = true && this.isSetRow();
    boolean that_present_row = true && that.isSetRow();
    if (this_present_row || that_present_row) {
      if (!(this_present_row && that_present_row))
        return false;
      if (!this.row.equals(that.row))
        return false;
    }

    boolean this_present_columns = true && this.isSetColumns();
    boolean that_present_columns = true && that.isSetColumns();
    if (this_present_columns || that_present_columns) {
      if (!(this_present_columns && that_present_columns))
        return false;
      if (!this.columns.equals(that.columns))
        return false;
    }

    boolean this_present_sortedColumns = true && this.isSetSortedColumns();
    boolean that_present_sortedColumns = true && that.isSetSortedColumns();
    if (this_present_sortedColumns || that_present_sortedColumns) {
      if (!(this_present_sortedColumns && that_present_sortedColumns))
        return false;
      if (!this.sortedColumns.equals(that.sortedColumns))
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRowResult.java