---
title: SetFlags enum | Wartiva GraphQL API
description: NFTables set flags controlling the behavior and lifetime of nftables sets. Reference: nftables — Sets. Wartiva GraphQL API reference with examples.
url: https://wartiva.com/api-docs/types/set-flags.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `SetFlags` enum

NFTables set flags controlling the behavior and lifetime of nftables sets. Reference: [nftables — Sets](https://wiki.nftables.org/wiki-nftables/index.php/Sets)

## Values

| Enum Value | Description |
|---|---|
| `CONSTANT` | Set elements cannot be added or removed at runtime (NFT_SET_CONSTANT). |
| `ANONYMOUS` | Set is created inline and destroyed with the rule (NFT_SET_ANONYMOUS). |
| `INTERVAL` | Set supports range matching (NFT_SET_INTERVAL). |
| `AUTO_MERGE` | Overlapping intervals are automatically merged (NFT_SET_OBJECT). |
| `HAS_TIMEOUT` | Set elements can have individual timeouts (NFT_SET_TIMEOUT). |
| `COUNTER` | Each element maintains a packet/byte counter (NFT_SET_EVAL). |
| `DYNAMIC` | Elements can be added/removed dynamically from packet path (NFT_SET_DYNAMIC). |
| `CONCATENATION` | Set key is a concatenation of multiple data types (NFT_SET_CONCAT). |

## Used by

- [`Set`](https://wartiva.com/api-docs/types/set.html) type: Set represents an nftables set object.

## Example

### Example

```json
"CONSTANT"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
