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` object for `TopicStatsServiceClient` within the Google Cloud Pub/Sub Lite C++ library, version 2.26.0."],["The `TopicStatsServiceConnection` interface defines virtual methods corresponding to the user-facing overload sets in `TopicStatsServiceClient`, allowing custom behavior injection for testing."],["Users can find a concrete implementation of the service connection via `MakeTopicStatsServiceConnection()` and mocking support through `pubsublite_mocks::MockTopicStatsServiceConnection`."],["Available functions include `ComputeMessageStats`, `ComputeHeadCursor`, and `ComputeTimeCursor`, each accepting a specific request type and returning a `StatusOr` containing a response."],["This page also displays a list of previously released versions of this `TopicStatsServiceConnection` object, with the latest being `2.37.0-rc`."]]],[]]