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-14 UTC."],[[["This webpage provides documentation for the `TopicStatsServiceConnection` class within the Google Cloud Pub/Sub Lite C++ library, with the current version being 2.29.0."],["The `TopicStatsServiceConnection` object defines virtual methods corresponding to user-facing overload sets in `TopicStatsServiceClient`, enabling users to customize behavior during testing."],["You can access various historical versions of the `TopicStatsServiceConnection` documentation, starting from version 2.11.0 up to the latest release candidate 2.37.0-rc."],["The documentation also specifies how to create concrete instances using `MakeTopicStatsServiceConnection()` and mock instances using `pubsublite_mocks::MockTopicStatsServiceConnection`."],["The class handles computing statistics, head cursors and time cursors, with the functions `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`."]]],[]]