# METADATASTRUCTURESELECTORFLAGS

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.METADATASTRUCTURESELECTORFLAGS/

Metadata selector flags.

- **Full name:** `MFiles.METADATASTRUCTURESELECTORFLAGS`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-all"></a>`all` | `bool` | 1 | Specifies all flags set; Including any future flags. |
| <a id="f-select_new"></a>`select_new` | `bool` | 2 | Select new items (items that do not exist in the target vault). |
| <a id="f-select_existing"></a>`select_existing` | `bool` | 3 | Select existing items (items that exist in the target vault). |
| <a id="f-include_new_dependencies"></a>`include_new_dependencies` | `bool` | 4 | Selects the new dependencies of selected item (i.e. they do not exist in the target vault). |
| <a id="f-include_existing_depenencies"></a>`include_existing_depenencies` | `bool` | 5 | Selects the existing dependencies of selected item (i.e. they exist in the target vault). |

<a id="used-in-fields"></a>

## Used in fields

- [`MetadataStructureSelector.options`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MetadataStructureSelector/index.md#f-options): Bit flags that control the metadata structure selection.
