The annotated method will establish the channel affinity with the channel
which is used to execute the RPC. The corresponding
<affinity_key_field_path> will be used to find the affinity key from the
response message.
Bound
The annotated method will be required to be bound to an existing session
to execute the RPC. The corresponding <affinity_key_field_path> will be
used to find the affinity key from the request message.
Unbind
The annotated method will remove the channel affinity with the channel
which is used to execute the RPC. The corresponding
<affinity_key_field_path> will be used to find the affinity key from the
request message.
[[["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-03-05 UTC."],[[["The `AffinityConfig.Types.Command` enum, found within the `Google.Api.Gax.Grpc.Gcp` namespace, is available in multiple versions, with version 4.10.0 being the latest."],["This enum has three fields: `Bind`, `Bound`, and `Unbind`, each corresponding to a different action related to channel affinity within an RPC, including establishing, requiring, or removing said affinity."],["The `Bind` command establishes channel affinity using the response message's affinity key."],["The `Bound` command requires the method to be bound to an existing session using the request message's affinity key."],["The `Unbind` command will remove the channel affinity using the request message's affinity key."]]],[]]