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-21 UTC."],[[["The latest version of the `TopicStatsServiceConnection` is 2.37.0-rc, and the page provides links to documentation for versions dating back to 2.11.0."],["This interface defines virtual methods corresponding to the user-facing overload sets in `TopicStatsServiceClient`, allowing for the injection of custom behavior, particularly useful in testing environments."],["`TopicStatsServiceConnection` includes functions such as `ComputeMessageStats`, `ComputeHeadCursor`, `ComputeTimeCursor`, and operations related functions such as `ListOperations`, `GetOperation`, `DeleteOperation`, and `CancelOperation`, each taking a specific request type and returning a corresponding status or response type."],["Users are directed to use `MakeTopicStatsServiceConnection()` to create a tangible instance, and `pubsublite_mocks::MockTopicStatsServiceConnection` for mocking purposes."]]],[]]