Class VideoIntelligenceServiceConnection (2.26.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(ExperimentalTag, NoAwaitTag, google::cloud::videointelligence::v1::AnnotateVideoRequest const &)

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

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

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