public void validate() throws org.apache.thrift.TException {
      // check for required fields
      if (tableName == null) {
        throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' was not present! Struct: " + toString());
      }
      // alas, we cannot check 'preserveSplits' because it's a primitive and you chose the non-beans generator.
      // check for sub-struct validity
      if (tableName != null) {
        tableName.validate();
      }
    }
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/thrift2/generated/THBaseService.java