# TypedValueUnionWithMetadata

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.TypedValueUnionWithMetadata/

Union for typed value data (depends on data type).

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

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

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-text"></a>`text` | `string` (oneof data) | 1 | Text. |
| <a id="f-integer"></a>`integer` | `int32` (oneof data) | 2 | Integer (4 bytes). |
| <a id="f-real_number"></a>`real_number` | `double` (oneof data) | 3 | Floating point number (double precision, 8 bytes). |
| <a id="f-decimal_number"></a>`decimal_number` | `string` (oneof data) | 4 | Fixed precision number. |
| <a id="f-date"></a>`date` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) (oneof data) | 5 | Date. |
| <a id="f-time"></a>`time` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) (oneof data) | 6 | Time. |
| <a id="f-timestamp"></a>`timestamp` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) (oneof data) | 7 | Timestamp. |
| <a id="f-boolean"></a>`boolean` | `bool` (oneof data) | 8 | Boolean. |
| <a id="f-lookup"></a>`lookup` | [`LookupWithMetadata`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.LookupWithMetadata/index.md) (oneof data) | 9 | Lookup. |
| <a id="f-multi_select_lookup"></a>`multi_select_lookup` | [`MultiSelectLookupWithMetadata`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MultiSelectLookupWithMetadata/index.md) (oneof data) | 10 | Multi-select lookup. |
| <a id="f-integer64"></a>`integer64` | `int64` (oneof data) | 11 | Integer (8 bytes). |
| <a id="f-filetime"></a>`filetime` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) (oneof data) | 12 | FILETIME (64-bit integer). |
| <a id="f-multi_line_text"></a>`multi_line_text` | `string` (oneof data) | 13 | Multi-line text. |
| <a id="f-acl"></a>`acl` | [`AccessControlList`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AccessControlList/index.md) (oneof data) | 14 | Access Control List. |

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

## Used in fields

- [`TypedValueWithMetadata.data`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TypedValueWithMetadata/index.md#f-data): The value data as a union, if set.
