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 page provides documentation for the `TopicStatsServiceConnection` class, which is a crucial component for interacting with the `TopicStatsServiceClient` in the Google Cloud Pub/Sub Lite C++ library."],["The page offers a comprehensive list of available versions for the `TopicStatsServiceConnection` class, ranging from version 2.11.0 up to the latest release candidate, 2.37.0-rc."],["`TopicStatsServiceConnection` defines virtual methods that mirror the user-facing overload sets found in `TopicStatsServiceClient`, enabling the injection of custom behaviors for testing."],["Users can find instructions on creating a concrete instance using `MakeTopicStatsServiceConnection()` or for creating a mock instance, by using `pubsublite_mocks::MockTopicStatsServiceConnection` for testing purposes."],["The documentation outlines the primary functions within the class, including `options()`, `ComputeMessageStats()`, `ComputeHeadCursor()`, and `ComputeTimeCursor()`, detailing their parameters and return types."]]],[]]