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"]],[["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."],[[["This webpage details the `AffinityConfig.Types.Command` enum within the `Google.Api.Gax.Grpc.Gcp` namespace, found in the `Google.Api.Gax.Grpc.dll` assembly."],["The enum provides three command options: `Bind`, `Bound`, and `Unbind`, each influencing how a method interacts with channel affinity."],["The `Bind` command establishes channel affinity, using a response message's affinity key."],["The `Bound` command requires an existing session for RPC execution and uses the affinity key from the request message."],["The `Unbind` command removes channel affinity and uses the affinity key found in the request message."]]],[]]