Class protos.google.cloud.video.transcoder.v1beta1.TranscoderService

Represents a TranscoderService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.video.transcoder.v1beta1.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.v1beta1.ICreateJobRequest, callback: google.cloud.video.transcoder.v1beta1.TranscoderService.CreateJobCallback): void;

Calls CreateJob.

Parameters
NameDescription
request ICreateJobRequest

CreateJobRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.CreateJobCallback

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

Returns
TypeDescription
void

createJob(request)

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

Calls CreateJob.

Parameter
NameDescription
request ICreateJobRequest

CreateJobRequest message or plain object

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

Promise

createJobTemplate(request, callback)

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

Calls CreateJobTemplate.

Parameters
NameDescription
request google.cloud.video.transcoder.v1beta1.ICreateJobTemplateRequest

CreateJobTemplateRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.CreateJobTemplateCallback

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

Returns
TypeDescription
void

createJobTemplate(request)

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

Calls CreateJobTemplate.

Parameter
NameDescription
request google.cloud.video.transcoder.v1beta1.ICreateJobTemplateRequest

CreateJobTemplateRequest message or plain object

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

Promise

deleteJob(request, callback)

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

Calls DeleteJob.

Parameters
NameDescription
request IDeleteJobRequest

DeleteJobRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.DeleteJobCallback

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

Returns
TypeDescription
void

deleteJob(request)

public deleteJob(request: google.cloud.video.transcoder.v1beta1.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.v1beta1.IDeleteJobTemplateRequest, callback: google.cloud.video.transcoder.v1beta1.TranscoderService.DeleteJobTemplateCallback): void;

Calls DeleteJobTemplate.

Parameters
NameDescription
request google.cloud.video.transcoder.v1beta1.IDeleteJobTemplateRequest

DeleteJobTemplateRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.DeleteJobTemplateCallback

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

Returns
TypeDescription
void

deleteJobTemplate(request)

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

Calls DeleteJobTemplate.

Parameter
NameDescription
request google.cloud.video.transcoder.v1beta1.IDeleteJobTemplateRequest

DeleteJobTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getJob(request, callback)

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

Calls GetJob.

Parameters
NameDescription
request google.cloud.video.transcoder.v1beta1.IGetJobRequest

GetJobRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.GetJobCallback

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

Returns
TypeDescription
void

getJob(request)

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

Calls GetJob.

Parameter
NameDescription
request google.cloud.video.transcoder.v1beta1.IGetJobRequest

GetJobRequest message or plain object

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

Promise

getJobTemplate(request, callback)

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

Calls GetJobTemplate.

Parameters
NameDescription
request IGetJobTemplateRequest

GetJobTemplateRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.GetJobTemplateCallback

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

Returns
TypeDescription
void

getJobTemplate(request)

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

Calls GetJobTemplate.

Parameter
NameDescription
request IGetJobTemplateRequest

GetJobTemplateRequest message or plain object

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

Promise

listJobs(request, callback)

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

Calls ListJobs.

Parameters
NameDescription
request google.cloud.video.transcoder.v1beta1.IListJobsRequest

ListJobsRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.ListJobsCallback

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

Returns
TypeDescription
void

listJobs(request)

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

Calls ListJobs.

Parameter
NameDescription
request google.cloud.video.transcoder.v1beta1.IListJobsRequest

ListJobsRequest message or plain object

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

Promise

listJobTemplates(request, callback)

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

Calls ListJobTemplates.

Parameters
NameDescription
request IListJobTemplatesRequest

ListJobTemplatesRequest message or plain object

callback google.cloud.video.transcoder.v1beta1.TranscoderService.ListJobTemplatesCallback

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

Returns
TypeDescription
void

listJobTemplates(request)

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

Calls ListJobTemplates.

Parameter
NameDescription
request IListJobTemplatesRequest

ListJobTemplatesRequest message or plain object

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

Promise