Class TranscoderServiceConnection (2.19.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::CreateJobRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::transcoder::v1::Job >

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::ListJobsRequest
Returns
TypeDescription
StreamRange< google::cloud::video::transcoder::v1::Job >

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::GetJobRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::transcoder::v1::Job >

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::DeleteJobRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::CreateJobTemplateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::transcoder::v1::JobTemplate >

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::ListJobTemplatesRequest
Returns
TypeDescription
StreamRange< google::cloud::video::transcoder::v1::JobTemplate >

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::GetJobTemplateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::transcoder::v1::JobTemplate >

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

Parameter
NameDescription
request google::cloud::video::transcoder::v1::DeleteJobTemplateRequest const &
Returns
TypeDescription
Status