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 details the `TopicStatsServiceConnection` interface for `TopicStatsServiceClient` in the Google Cloud Pub/Sub Lite C++ library, version 2.24.0, with links to previous versions available."],["The `TopicStatsServiceConnection` interface allows for custom behavior injection, typically used in testing, through the use of Google Mock objects."],["Concrete instances of the connection can be created using the `MakeTopicStatsServiceConnection()` function, and mocking is available via `pubsublite_mocks::MockTopicStatsServiceConnection`."],["This interface defines virtual methods for handling requests such as `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`, each with its respective request and response types."],["The latest version available is version 2.37.0-rc, with a list of versions all the way back to version 2.11.0, and every version has links to its own documentation."]]],[]]