Encapsulates client state, including executor, credentials, and transport channel.
Unlike ClientSettings which allows users to configure the client,
ClientContext is intended to be used in generated code. Most users will not need to use it.
The objects that need to be closed in order to clean up the resources created in the process of
creating this ClientContext. This will include the closeables from the transport context.
[[["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-21 UTC."],[[["The latest version available is 2.63.1, and the page provides a comprehensive list of previous versions, going back to 2.7.1, with links to specific documentation for each version."],["`ClientContext` is an abstract class that encapsulates client state, including executor, credentials, and transport channel."],["This class is primarily intended for use within generated code and is typically not directly used by most users, and the configuration for clients should be done with `ClientSettings` instead."],["The class provides methods to access and manage various client resources, such as the executor, credentials, transport channel, and tracing."],["Static methods are available to instantiate `ClientContext` using either `ClientSettings` or `StubSettings`, as well as create a `ClientContext` with default values using `newBuilder()`."]]],[]]