The map's fields.
The map keys represent field names. Field names matching the regular
expression .* are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
The map's fields.
The map keys represent field names. Field names matching the regular
expression .* are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
The map's fields.
The map keys represent field names. Field names matching the regular
expression .* are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
The map's fields.
The map keys represent field names. Field names matching the regular
expression .* are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
The map's fields.
The map keys represent field names. Field names matching the regular
expression .* are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface MapValueOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.firestore.v1.MapValueOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.firestore.v1.MapValueOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.firestore.v1.MapValueOrBuilder) \n\n public interface MapValueOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### containsFields(String key)\n\n public abstract boolean containsFields(String key)\n\nThe map's fields.\nThe map keys represent field names. Field names matching the regular\nexpression **.*** are reserved. Reserved field names are forbidden except\nin certain documented contexts. The map keys, represented as UTF-8, must\nnot exceed 1,500 bytes and cannot be empty.\n\n`map\u003cstring, .google.events.cloud.firestore.v1.Value\u003e fields = 1;`\n\n### getFields()\n\n public abstract Map\u003cString,Value\u003e getFields()\n\nUse [#getFieldsMap()](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.firestore.v1.MapValueOrBuilder#com_google_events_cloud_firestore_v1_MapValueOrBuilder_getFieldsMap__) instead.\n\n### getFieldsCount()\n\n public abstract int getFieldsCount()\n\nThe map's fields.\nThe map keys represent field names. Field names matching the regular\nexpression **.*** are reserved. Reserved field names are forbidden except\nin certain documented contexts. The map keys, represented as UTF-8, must\nnot exceed 1,500 bytes and cannot be empty.\n\n`map\u003cstring, .google.events.cloud.firestore.v1.Value\u003e fields = 1;`\n\n### getFieldsMap()\n\n public abstract Map\u003cString,Value\u003e getFieldsMap()\n\nThe map's fields.\nThe map keys represent field names. Field names matching the regular\nexpression **.*** are reserved. Reserved field names are forbidden except\nin certain documented contexts. The map keys, represented as UTF-8, must\nnot exceed 1,500 bytes and cannot be empty.\n\n`map\u003cstring, .google.events.cloud.firestore.v1.Value\u003e fields = 1;`\n\n### getFieldsOrDefault(String key, Value defaultValue)\n\n public abstract Value getFieldsOrDefault(String key, Value defaultValue)\n\nThe map's fields.\nThe map keys represent field names. Field names matching the regular\nexpression **.*** are reserved. Reserved field names are forbidden except\nin certain documented contexts. The map keys, represented as UTF-8, must\nnot exceed 1,500 bytes and cannot be empty.\n\n`map\u003cstring, .google.events.cloud.firestore.v1.Value\u003e fields = 1;`\n\n### getFieldsOrThrow(String key)\n\n public abstract Value getFieldsOrThrow(String key)\n\nThe map's fields.\nThe map keys represent field names. Field names matching the regular\nexpression **.*** are reserved. Reserved field names are forbidden except\nin certain documented contexts. The map keys, represented as UTF-8, must\nnot exceed 1,500 bytes and cannot be empty.\n\n`map\u003cstring, .google.events.cloud.firestore.v1.Value\u003e fields = 1;`"]]