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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[[["This 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 overloads in `TopicStatsServiceClient`, allowing custom behavior injection, particularly useful for testing purposes."],["Users can create a concrete instance of `TopicStatsServiceConnection` using the `MakeTopicStatsServiceConnection()` function."],["The page also outlines functions that the class has, including `options()`, `ComputeMessageStats()`, `ComputeHeadCursor()`, and `ComputeTimeCursor()`, along with their respective parameters and return types."],["For testing and mocking purposes, the documentation directs users to `pubsublite_mocks::MockTopicStatsServiceConnection`."]]],[]]