This interface defines virtual methods for each of the user-facing overload sets in TopicStatsServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TopicStatsServiceClient.
[[["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-04-17 UTC."],[[["This webpage details the `TopicStatsServiceConnection` class, which interfaces with the `TopicStatsServiceClient` in the Google Cloud Pub/Sub Lite C++ library."],["The content provides links to documentation for multiple versions of the `TopicStatsServiceConnection` class, ranging from version 2.11.0 up to 2.37.0-rc."],["The `TopicStatsServiceConnection` class allows for the injection of custom behaviors during testing, such as using a Google Mock object."],["Key functions of `TopicStatsServiceConnection` are outlined, including `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`, each handling specific request and response types."],["The current latest version is 2.37.0-rc, while the current page's primary focus is on version 2.13.0, with links to older versions listed as well."]]],[]]