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."],[[["This webpage provides documentation for the `AffinityConfig.Types.Command` enum, specifically within version 4.4.0 of the Google.Api.Gax library."],["The enum is found within the `Google.Api.Gax.Grpc.Gcp` namespace and is part of the `Google.Api.Gax.Grpc.dll` assembly."],["There are three available fields within the `AffinityConfig.Types.Command` enum: `Bind`, `Bound`, and `Unbind`."],["Each 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."],["Each of the commands uses an affinity key found from either the request message or the response message to control the channel affinity."]]],[]]