# TypedValueUnion

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

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

- **Full name:** `MFiles.TypedValueUnion`
- **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 | The value of `DATATYPE_TEXT`. |
| <a id="f-integer"></a>`integer` | `int32` (oneof data) | 2 | The value of `DATATYPE_INTEGER`. |
| <a id="f-real_number"></a>`real_number` | `double` (oneof data) | 3 | The value of `DATATYPE_REAL_NUMBER`. |
| <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 | The value of `DATATYPE_DATE`: midnight UTC of the 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 | The value of `DATATYPE_TIMESTAMP`, in UTC. |
| <a id="f-boolean"></a>`boolean` | `bool` (oneof data) | 8 | The value of `DATATYPE_BOOLEAN`. |
| <a id="f-lookup"></a>`lookup` | [`Lookup`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Lookup/index.md) (oneof data) | 9 | The value of `DATATYPE_LOOKUP`: one value list item or object. |
| <a id="f-multi_select_lookup"></a>`multi_select_lookup` | [`MultiSelectLookup`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MultiSelectLookup/index.md) (oneof data) | 10 | The value of `DATATYPE_MULTI_SELECT_LOOKUP`: any number of value list items or objects. |
| <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 | The value of `DATATYPE_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

- [`TypedValue.data`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TypedValue/index.md#f-data): The value, in the member that matches `type`. Unset for an empty value.
