Class TranscoderServiceGrpc.TranscoderServiceFutureStub (1.16.0)

public static final class TranscoderServiceGrpc.TranscoderServiceFutureStub extends AbstractFutureStub<TranscoderServiceGrpc.TranscoderServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service TranscoderService.

Using the Transcoder API, you can queue asynchronous jobs for transcoding media into various output formats. Output formats may include different streaming standards such as HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can also customize jobs using advanced features such as Digital Rights Management (DRM), audio equalization, content concatenation, and digital ad-stitch ready content generation.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > TranscoderServiceGrpc.TranscoderServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected TranscoderServiceGrpc.TranscoderServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TranscoderServiceGrpc.TranscoderServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createJob(CreateJobRequest request)

public ListenableFuture<Job> createJob(CreateJobRequest request)

Creates a job in the specified region.

Parameter
NameDescription
requestCreateJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Job>

createJobTemplate(CreateJobTemplateRequest request)

public ListenableFuture<JobTemplate> createJobTemplate(CreateJobTemplateRequest request)

Creates a job template in the specified region.

Parameter
NameDescription
requestCreateJobTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<JobTemplate>

deleteJob(DeleteJobRequest request)

public ListenableFuture<Empty> deleteJob(DeleteJobRequest request)

Deletes a job.

Parameter
NameDescription
requestDeleteJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteJobTemplate(DeleteJobTemplateRequest request)

public ListenableFuture<Empty> deleteJobTemplate(DeleteJobTemplateRequest request)

Deletes a job template.

Parameter
NameDescription
requestDeleteJobTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getJob(GetJobRequest request)

public ListenableFuture<Job> getJob(GetJobRequest request)

Returns the job data.

Parameter
NameDescription
requestGetJobRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Job>

getJobTemplate(GetJobTemplateRequest request)

public ListenableFuture<JobTemplate> getJobTemplate(GetJobTemplateRequest request)

Returns the job template data.

Parameter
NameDescription
requestGetJobTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<JobTemplate>

listJobTemplates(ListJobTemplatesRequest request)

public ListenableFuture<ListJobTemplatesResponse> listJobTemplates(ListJobTemplatesRequest request)

Lists job templates in the specified region.

Parameter
NameDescription
requestListJobTemplatesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListJobTemplatesResponse>

listJobs(ListJobsRequest request)

public ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)

Lists jobs in the specified region.

Parameter
NameDescription
requestListJobsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>