Class TranscoderServiceGrpc.TranscoderServiceFutureStub (1.42.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateJobRequest
Returns
Type Description
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
Name Description
request CreateJobTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<JobTemplate>

deleteJob(DeleteJobRequest request)

public ListenableFuture<Empty> deleteJob(DeleteJobRequest request)

Deletes a job.

Parameter
Name Description
request DeleteJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteJobTemplate(DeleteJobTemplateRequest request)

public ListenableFuture<Empty> deleteJobTemplate(DeleteJobTemplateRequest request)

Deletes a job template.

Parameter
Name Description
request DeleteJobTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getJob(GetJobRequest request)

public ListenableFuture<Job> getJob(GetJobRequest request)

Returns the job data.

Parameter
Name Description
request GetJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Job>

getJobTemplate(GetJobTemplateRequest request)

public ListenableFuture<JobTemplate> getJobTemplate(GetJobTemplateRequest request)

Returns the job template data.

Parameter
Name Description
request GetJobTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<JobTemplate>

listJobTemplates(ListJobTemplatesRequest request)

public ListenableFuture<ListJobTemplatesResponse> listJobTemplates(ListJobTemplatesRequest request)

Lists job templates in the specified region.

Parameter
Name Description
request ListJobTemplatesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListJobTemplatesResponse>

listJobs(ListJobsRequest request)

public ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)

Lists jobs in the specified region.

Parameter
Name Description
request ListJobsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>