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\u003eThis webpage provides documentation for the \u003ccode\u003eAffinityConfig.Types.Command\u003c/code\u003e enum, specifically within version 4.4.0 of the Google.Api.Gax library.\u003c/p\u003e\n"],["\u003cp\u003eThe enum is found within the \u003ccode\u003eGoogle.Api.Gax.Grpc.Gcp\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Api.Gax.Grpc.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are three available fields within the \u003ccode\u003eAffinityConfig.Types.Command\u003c/code\u003e enum: \u003ccode\u003eBind\u003c/code\u003e, \u003ccode\u003eBound\u003c/code\u003e, and \u003ccode\u003eUnbind\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach command determines how the channel affinity is handled for an RPC, whether it is to be established, required to be bound to an existing session, or removed, respectively.\u003c/p\u003e\n"],["\u003cp\u003eEach of the commands uses an affinity key found from either the request message or the response message to control the channel affinity.\u003c/p\u003e\n"]]],[],null,[]]