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-03-05 UTC."],[[["The page provides documentation for the `TopicStatsServiceConnection` class in the Google Cloud Pub/Sub Lite C++ library, with the most recent version being `2.37.0-rc`."],["The `TopicStatsServiceConnection` class defines virtual methods for user-facing operations found in `TopicStatsServiceClient`, enabling the injection of custom behavior for testing."],["Concrete instances of `TopicStatsServiceConnection` can be created using the `MakeTopicStatsServiceConnection()` function."],["The documentation includes details for mocking the `TopicStatsServiceConnection` using `pubsublite_mocks::MockTopicStatsServiceConnection`."],["The class offers virtual methods such as `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`, each handling specific requests and returning corresponding responses or a status."]]],[]]