public int getColumnsSize() {
    return (this.columns == null) ? 0 : this.columns.size();
  }
Returns true if field row is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAppend.java