This interface defines virtual methods for each of the user-facing overload sets in TraceServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TraceServiceClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[[["The webpage provides documentation for the `TraceServiceConnection` class within the Google Cloud C++ client library for Cloud Trace, covering versions from 2.11.0 up to the latest release candidate 2.37.0-rc."],["`TraceServiceConnection` defines the interface for virtual methods corresponding to the overload sets in `TraceServiceClient`, enabling users to inject custom behaviors, such as mocking, for testing purposes."],["The documentation lists the `BatchWriteSpans` and `CreateSpan` functions, along with their respective parameters and return types."],["The `MakeTraceServiceConnection()` function is used to create a concrete instance of `TraceServiceConnection`, and `MockTraceServiceConnection` is used for mocking."]]],[]]