Class MatchServiceConnection (2.23.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in MatchServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type MatchServiceClient.

To create a concrete instance, see MakeMatchServiceConnection().

For mocking, see aiplatform_v1_mocks::MockMatchServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual FindNeighbors(google::cloud::aiplatform::v1::FindNeighborsRequest const &)

Parameter
NameDescription
request google::cloud::aiplatform::v1::FindNeighborsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::aiplatform::v1::FindNeighborsResponse >

virtual ReadIndexDatapoints(google::cloud::aiplatform::v1::ReadIndexDatapointsRequest const &)

Parameter
NameDescription
request google::cloud::aiplatform::v1::ReadIndexDatapointsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::aiplatform::v1::ReadIndexDatapointsResponse >