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, which is used in conjunction with `TopicStatsServiceClient` for the Google Cloud Pub/Sub Lite service."],["The interface provides virtual methods that mirror user-facing overload sets within `TopicStatsServiceClient`, allowing for custom behavior injection during testing."],["The document provides a list of all available versions of the object, ranging from the latest release candidate version down to version 2.11.0, and the current version that this content is describing is version 2.22.0."],["It outlines the functions available within the `TopicStatsServiceConnection`, including `options()`, `ComputeMessageStats()`, `ComputeHeadCursor()`, and `ComputeTimeCursor()`, which are all virtual functions."],["The document provides information on how to create a concrete instance of the `TopicStatsServiceConnection` object using `MakeTopicStatsServiceConnection()`, as well as instructions on how to mock the class using `pubsublite_mocks::MockTopicStatsServiceConnection`."]]],[]]