Class TranscoderServiceGrpc.TranscoderServiceStub (1.36.0)

public static final class TranscoderServiceGrpc.TranscoderServiceStub extends AbstractAsyncStub<TranscoderServiceGrpc.TranscoderServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > TranscoderServiceGrpc.TranscoderServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createJob(CreateJobRequest request, StreamObserver<Job> responseObserver)

public void createJob(CreateJobRequest request, StreamObserver<Job> responseObserver)

Creates a job in the specified region.

Parameters
NameDescription
requestCreateJobRequest
responseObserverio.grpc.stub.StreamObserver<Job>

createJobTemplate(CreateJobTemplateRequest request, StreamObserver<JobTemplate> responseObserver)

public void createJobTemplate(CreateJobTemplateRequest request, StreamObserver<JobTemplate> responseObserver)

Creates a job template in the specified region.

Parameters
NameDescription
requestCreateJobTemplateRequest
responseObserverio.grpc.stub.StreamObserver<JobTemplate>

deleteJob(DeleteJobRequest request, StreamObserver<Empty> responseObserver)

public void deleteJob(DeleteJobRequest request, StreamObserver<Empty> responseObserver)

Deletes a job.

Parameters
NameDescription
requestDeleteJobRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteJobTemplate(DeleteJobTemplateRequest request, StreamObserver<Empty> responseObserver)

public void deleteJobTemplate(DeleteJobTemplateRequest request, StreamObserver<Empty> responseObserver)

Deletes a job template.

Parameters
NameDescription
requestDeleteJobTemplateRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getJob(GetJobRequest request, StreamObserver<Job> responseObserver)

public void getJob(GetJobRequest request, StreamObserver<Job> responseObserver)

Returns the job data.

Parameters
NameDescription
requestGetJobRequest
responseObserverio.grpc.stub.StreamObserver<Job>

getJobTemplate(GetJobTemplateRequest request, StreamObserver<JobTemplate> responseObserver)

public void getJobTemplate(GetJobTemplateRequest request, StreamObserver<JobTemplate> responseObserver)

Returns the job template data.

Parameters
NameDescription
requestGetJobTemplateRequest
responseObserverio.grpc.stub.StreamObserver<JobTemplate>

listJobTemplates(ListJobTemplatesRequest request, StreamObserver<ListJobTemplatesResponse> responseObserver)

public void listJobTemplates(ListJobTemplatesRequest request, StreamObserver<ListJobTemplatesResponse> responseObserver)

Lists job templates in the specified region.

Parameters
NameDescription
requestListJobTemplatesRequest
responseObserverio.grpc.stub.StreamObserver<ListJobTemplatesResponse>

listJobs(ListJobsRequest request, StreamObserver<ListJobsResponse> responseObserver)

public void listJobs(ListJobsRequest request, StreamObserver<ListJobsResponse> responseObserver)

Lists jobs in the specified region.

Parameters
NameDescription
requestListJobsRequest
responseObserverio.grpc.stub.StreamObserver<ListJobsResponse>