Class TranscoderServiceConnection (2.13.0)

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

To create a concrete instance, see MakeTranscoderServiceConnection().

For mocking, see video_transcoder_v1_mocks::MockTranscoderServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateJob(google::cloud::video::transcoder::v1::CreateJobRequest const &)

Parameter
Name Description
request google::cloud::video::transcoder::v1::CreateJobRequest const &
Returns
Type Description
StatusOr< google::cloud::video::transcoder::v1::Job >

virtual ListJobs(google::cloud::video::transcoder::v1::ListJobsRequest)

Parameter
Name Description
request google::cloud::video::transcoder::v1::ListJobsRequest
Returns
Type Description
StreamRange< google::cloud::video::transcoder::v1::Job >

virtual GetJob(google::cloud::video::transcoder::v1::GetJobRequest const &)

Parameter
Name Description
request google::cloud::video::transcoder::v1::GetJobRequest const &
Returns
Type Description
StatusOr< google::cloud::video::transcoder::v1::Job >

virtual DeleteJob(google::cloud::video::transcoder::v1::DeleteJobRequest const &)

Parameter
Name Description
request google::cloud::video::transcoder::v1::DeleteJobRequest const &
Returns
Type Description
Status

virtual CreateJobTemplate(google::cloud::video::transcoder::v1::CreateJobTemplateRequest const &)

Parameter
Name Description
request google::cloud::video::transcoder::v1::CreateJobTemplateRequest const &
Returns
Type Description
StatusOr< google::cloud::video::transcoder::v1::JobTemplate >

virtual ListJobTemplates(google::cloud::video::transcoder::v1::ListJobTemplatesRequest)

Parameter
Name Description
request google::cloud::video::transcoder::v1::ListJobTemplatesRequest
Returns
Type Description
StreamRange< google::cloud::video::transcoder::v1::JobTemplate >

virtual GetJobTemplate(google::cloud::video::transcoder::v1::GetJobTemplateRequest const &)

Parameter
Name Description
request google::cloud::video::transcoder::v1::GetJobTemplateRequest const &
Returns
Type Description
StatusOr< google::cloud::video::transcoder::v1::JobTemplate >

virtual DeleteJobTemplate(google::cloud::video::transcoder::v1::DeleteJobTemplateRequest const &)

Parameter
Name Description
request google::cloud::video::transcoder::v1::DeleteJobTemplateRequest const &
Returns
Type Description
Status