Class protos.google.cloud.video.transcoder.v1.TranscoderService (3.0.3)

Represents a TranscoderService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.video.transcoder.v1.TranscoderService

Package

@google-cloud/video-transcoder

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new TranscoderService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TranscoderService;

Creates new TranscoderService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
TranscoderService

RPC service. Useful where requests and/or responses are streamed.

createJob(request, callback)

public createJob(request: google.cloud.video.transcoder.v1.ICreateJobRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.CreateJobCallback): void;

Calls CreateJob.

Parameters
NameDescription
request ICreateJobRequest

CreateJobRequest message or plain object

callback CreateJobCallback

Node-style callback called with the error, if any, and Job

Returns
TypeDescription
void

createJob(request)

public createJob(request: google.cloud.video.transcoder.v1.ICreateJobRequest): Promise<google.cloud.video.transcoder.v1.Job>;

Calls CreateJob.

Parameter
NameDescription
request ICreateJobRequest

CreateJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.transcoder.v1.Job>

Promise

createJobTemplate(request, callback)

public createJobTemplate(request: google.cloud.video.transcoder.v1.ICreateJobTemplateRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplateCallback): void;

Calls CreateJobTemplate.

Parameters
NameDescription
request ICreateJobTemplateRequest

CreateJobTemplateRequest message or plain object

callback CreateJobTemplateCallback

Node-style callback called with the error, if any, and JobTemplate

Returns
TypeDescription
void

createJobTemplate(request)

public createJobTemplate(request: google.cloud.video.transcoder.v1.ICreateJobTemplateRequest): Promise<google.cloud.video.transcoder.v1.JobTemplate>;

Calls CreateJobTemplate.

Parameter
NameDescription
request ICreateJobTemplateRequest

CreateJobTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.transcoder.v1.JobTemplate>

Promise

deleteJob(request, callback)

public deleteJob(request: google.cloud.video.transcoder.v1.IDeleteJobRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.DeleteJobCallback): void;

Calls DeleteJob.

Parameters
NameDescription
request IDeleteJobRequest

DeleteJobRequest message or plain object

callback DeleteJobCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteJob(request)

public deleteJob(request: google.cloud.video.transcoder.v1.IDeleteJobRequest): Promise<google.protobuf.Empty>;

Calls DeleteJob.

Parameter
NameDescription
request IDeleteJobRequest

DeleteJobRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteJobTemplate(request, callback)

public deleteJobTemplate(request: google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplateCallback): void;

Calls DeleteJobTemplate.

Parameters
NameDescription
request IDeleteJobTemplateRequest

DeleteJobTemplateRequest message or plain object

callback DeleteJobTemplateCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteJobTemplate(request)

public deleteJobTemplate(request: google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest): Promise<google.protobuf.Empty>;

Calls DeleteJobTemplate.

Parameter
NameDescription
request IDeleteJobTemplateRequest

DeleteJobTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getJob(request, callback)

public getJob(request: google.cloud.video.transcoder.v1.IGetJobRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.GetJobCallback): void;

Calls GetJob.

Parameters
NameDescription
request IGetJobRequest

GetJobRequest message or plain object

callback GetJobCallback

Node-style callback called with the error, if any, and Job

Returns
TypeDescription
void

getJob(request)

public getJob(request: google.cloud.video.transcoder.v1.IGetJobRequest): Promise<google.cloud.video.transcoder.v1.Job>;

Calls GetJob.

Parameter
NameDescription
request IGetJobRequest

GetJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.transcoder.v1.Job>

Promise

getJobTemplate(request, callback)

public getJobTemplate(request: google.cloud.video.transcoder.v1.IGetJobTemplateRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplateCallback): void;

Calls GetJobTemplate.

Parameters
NameDescription
request IGetJobTemplateRequest

GetJobTemplateRequest message or plain object

callback GetJobTemplateCallback

Node-style callback called with the error, if any, and JobTemplate

Returns
TypeDescription
void

getJobTemplate(request)

public getJobTemplate(request: google.cloud.video.transcoder.v1.IGetJobTemplateRequest): Promise<google.cloud.video.transcoder.v1.JobTemplate>;

Calls GetJobTemplate.

Parameter
NameDescription
request IGetJobTemplateRequest

GetJobTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.transcoder.v1.JobTemplate>

Promise

listJobs(request, callback)

public listJobs(request: google.cloud.video.transcoder.v1.IListJobsRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.ListJobsCallback): void;

Calls ListJobs.

Parameters
NameDescription
request IListJobsRequest

ListJobsRequest message or plain object

callback ListJobsCallback

Node-style callback called with the error, if any, and ListJobsResponse

Returns
TypeDescription
void

listJobs(request)

public listJobs(request: google.cloud.video.transcoder.v1.IListJobsRequest): Promise<google.cloud.video.transcoder.v1.ListJobsResponse>;

Calls ListJobs.

Parameter
NameDescription
request IListJobsRequest

ListJobsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.transcoder.v1.ListJobsResponse>

Promise

listJobTemplates(request, callback)

public listJobTemplates(request: google.cloud.video.transcoder.v1.IListJobTemplatesRequest, callback: google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplatesCallback): void;

Calls ListJobTemplates.

Parameters
NameDescription
request IListJobTemplatesRequest

ListJobTemplatesRequest message or plain object

callback ListJobTemplatesCallback

Node-style callback called with the error, if any, and ListJobTemplatesResponse

Returns
TypeDescription
void

listJobTemplates(request)

public listJobTemplates(request: google.cloud.video.transcoder.v1.IListJobTemplatesRequest): Promise<google.cloud.video.transcoder.v1.ListJobTemplatesResponse>;

Calls ListJobTemplates.

Parameter
NameDescription
request IListJobTemplatesRequest

ListJobTemplatesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.transcoder.v1.ListJobTemplatesResponse>

Promise