public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case DB_NAME:
      return isSetDbName();
    case TABLE_NAME:
      return isSetTableName();
    case TXN_IDS:
      return isSetTxnIds();
    case REPL_POLICY:
      return isSetReplPolicy();
    case SRC_TXN_TO_WRITE_ID_LIST:
      return isSetSrcTxnToWriteIdList();
    case REALLOCATE:
      return isSetReallocate();
    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java