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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAffinityConfig.Types.Command\u003c/code\u003e enum, found within the \u003ccode\u003eGoogle.Api.Gax.Grpc.Gcp\u003c/code\u003e namespace, is available in multiple versions, with version 4.10.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThis enum has three fields: \u003ccode\u003eBind\u003c/code\u003e, \u003ccode\u003eBound\u003c/code\u003e, and \u003ccode\u003eUnbind\u003c/code\u003e, each corresponding to a different action related to channel affinity within an RPC, including establishing, requiring, or removing said affinity.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBind\u003c/code\u003e command establishes channel affinity using the response message's affinity key.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBound\u003c/code\u003e command requires the method to be bound to an existing session using the request message's affinity key.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnbind\u003c/code\u003e command will remove the channel affinity using the request message's affinity key.\u003c/p\u003e\n"]]],[],null,[]]