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` class, which acts as an interface for the `TopicStatsServiceClient`."],["The `TopicStatsServiceConnection` interface allows for the injection of custom behavior, such as mocking, during testing."],["The latest version of `TopicStatsServiceConnection` is 2.37.0-rc, with a history of previous versions available."],["The page shows the virtual methods, like `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`, which are defined in the `TopicStatsServiceConnection` interface."],["The `MakeTopicStatsServiceConnection()` function allows for the creation of a concrete instance of this class, and for testing, use the `pubsublite_mocks::MockTopicStatsServiceConnection`."]]],[]]