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."],[[["This webpage provides documentation for the `TopicStatsServiceConnection` class within the Google Cloud Pub/Sub Lite C++ library, with the latest version being 2.37.0-rc."],["`TopicStatsServiceConnection` defines virtual methods corresponding to the user-facing overload sets in `TopicStatsServiceClient`, facilitating the injection of custom testing behavior."],["The documentation covers multiple versions of the library, ranging from 2.11.0 up to the latest 2.37.0-rc, and lists the concrete implementations, creation, and mocking using `MakeTopicStatsServiceConnection()` and `pubsublite_mocks::MockTopicStatsServiceConnection`."],["Key functions detailed in the documentation include `options()`, `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`, each with their respective request and response types."]]],[]]