Metadata key. Gets converted to lowercase. Needs to have -bin suffix indicating a binary-valued metadata entry. The binary header suffix can be added to the key with BinaryHeaderSuffix. Can only contain lowercase alphanumeric characters, underscores, hyphens, and dots.
Metadata key. Gets converted to lowercase. Must not use -bin suffix indicating a binary-valued metadata entry. Can only contain lowercase alphanumeric characters, underscores, hyphens, and dots.
Gets the string value of the last metadata entry with the specified key.
If the metadata entry is binary then an exception is thrown.
If there are no matching entries then null is returned.
Gets the bytes value of the last metadata entry with the specified key.
If the metadata entry is not binary the string value will be returned as ASCII encoded bytes.
If there are no matching entries then null is returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["`Metadata` is a collection of entries exchanged during gRPC calls, supporting request headers, response headers, and response trailers."],["The `Metadata` class implements `IList`, `ICollection`, and `IEnumerable` interfaces, allowing for manipulation and iteration of metadata entries."],["Metadata entries can be added with either ASCII strings using the `Add(string, string)` method, or as binary data using the `Add(string, byte[])` method."],["The `Get`, `GetAll`, `GetValue`, and `GetValueBytes` methods are used to retrieve specific metadata entries or their values, with `Get` and `GetAll` returning entries, and `GetValue` and `GetValueBytes` returning their values as string and byte, respectively."],["There is a `BinaryHeaderSuffix` field, which is set to \"-bin\", that is to be used with metadata keys that are binary-valued, as well as a read-only `Empty` field containing no metadata entries."]]],[]]