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 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 for testing purposes with tools like Google Mock."],["The page lists various versions of the `TopicStatsServiceConnection` class, starting from version 2.11.0 up to the latest version 2.37.0-rc."],["Key functions within `TopicStatsServiceConnection` include `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`, each handling specific types of requests and returning corresponding response objects."],["To create a concrete instance of the `TopicStatsServiceConnection`, you can use the `MakeTopicStatsServiceConnection()` function, and for mocking purposes, you can use the `pubsublite_mocks::MockTopicStatsServiceConnection` class."]]],[]]