This interface defines virtual methods for each of the user-facing overload sets in ExportServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ExportServiceClient.
[[["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-08-14 UTC."],[[["\u003cp\u003eThis webpage documents various versions of the \u003ccode\u003eExportServiceConnection\u003c/code\u003e class, with the latest release being version 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExportServiceConnection\u003c/code\u003e class provides an interface for \u003ccode\u003eExportServiceClient\u003c/code\u003e, defining virtual methods for user-facing overload sets.\u003c/p\u003e\n"],["\u003cp\u003eUsers can inject custom behavior using the \u003ccode\u003eExportServiceConnection\u003c/code\u003e interface, particularly when writing tests involving the \u003ccode\u003eExportServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page details how to create a concrete \u003ccode\u003eExportServiceConnection\u003c/code\u003e instance using \u003ccode\u003eMakeExportServiceConnection()\u003c/code\u003e and how to use \u003ccode\u003eprofiler_v2_mocks::MockExportServiceConnection\u003c/code\u003e for mocking.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExportServiceConnection\u003c/code\u003e includes virtual functions such as \u003ccode\u003eoptions()\u003c/code\u003e and \u003ccode\u003eListProfiles()\u003c/code\u003e, the latter of which takes a \u003ccode\u003eListProfilesRequest\u003c/code\u003e parameter and returns a \u003ccode\u003eStreamRange\u003c/code\u003e of \u003ccode\u003eProfile\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,[]]