Class VideoIntelligenceServiceConnection (2.33.0)

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

To create a concrete instance, see MakeVideoIntelligenceServiceConnection().

For mocking, see videointelligence_v1_mocks::MockVideoIntelligenceServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual AnnotateVideo(google::cloud::videointelligence::v1::AnnotateVideoRequest const &)

Parameter
Name Description
request google::cloud::videointelligence::v1::AnnotateVideoRequest const &
Returns
Type Description
future< StatusOr< google::cloud::videointelligence::v1::AnnotateVideoResponse > >

virtual AnnotateVideo(NoAwaitTag, google::cloud::videointelligence::v1::AnnotateVideoRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::videointelligence::v1::AnnotateVideoRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual AnnotateVideo(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::videointelligence::v1::AnnotateVideoResponse > >