Represents a TranscoderService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.video.transcoder.v1.TranscoderServicePackage
@google-cloud/video-transcoderConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new TranscoderService service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.ICreateJobRequest
CreateJobRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.CreateJobCallback
Node-style callback called with the error, if any, and Job |
Returns | |
---|---|
Type | Description |
void |
createJob(request)
public createJob(request: google.cloud.video.transcoder.v1.ICreateJobRequest): Promise<google.cloud.video.transcoder.v1.Job>;
Calls CreateJob.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.ICreateJobRequest
CreateJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.ICreateJobTemplateRequest
CreateJobTemplateRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplateCallback
Node-style callback called with the error, if any, and JobTemplate |
Returns | |
---|---|
Type | Description |
void |
createJobTemplate(request)
public createJobTemplate(request: google.cloud.video.transcoder.v1.ICreateJobTemplateRequest): Promise<google.cloud.video.transcoder.v1.JobTemplate>;
Calls CreateJobTemplate.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.ICreateJobTemplateRequest
CreateJobTemplateRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.IDeleteJobRequest
DeleteJobRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.DeleteJobCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteJob(request)
public deleteJob(request: google.cloud.video.transcoder.v1.IDeleteJobRequest): Promise<google.protobuf.Empty>;
Calls DeleteJob.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.IDeleteJobRequest
DeleteJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeleteJobTemplateRequest
DeleteJobTemplateRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplateCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteJobTemplate(request)
public deleteJobTemplate(request: google.cloud.video.transcoder.v1.IDeleteJobTemplateRequest): Promise<google.protobuf.Empty>;
Calls DeleteJobTemplate.
Parameter | |
---|---|
Name | Description |
request |
IDeleteJobTemplateRequest
DeleteJobTemplateRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetJobRequest
GetJobRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.GetJobCallback
Node-style callback called with the error, if any, and Job |
Returns | |
---|---|
Type | Description |
void |
getJob(request)
public getJob(request: google.cloud.video.transcoder.v1.IGetJobRequest): Promise<google.cloud.video.transcoder.v1.Job>;
Calls GetJob.
Parameter | |
---|---|
Name | Description |
request |
IGetJobRequest
GetJobRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.IGetJobTemplateRequest
GetJobTemplateRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplateCallback
Node-style callback called with the error, if any, and JobTemplate |
Returns | |
---|---|
Type | Description |
void |
getJobTemplate(request)
public getJobTemplate(request: google.cloud.video.transcoder.v1.IGetJobTemplateRequest): Promise<google.cloud.video.transcoder.v1.JobTemplate>;
Calls GetJobTemplate.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.video.transcoder.v1.IGetJobTemplateRequest
GetJobTemplateRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListJobsRequest
ListJobsRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.ListJobsCallback
Node-style callback called with the error, if any, and ListJobsResponse |
Returns | |
---|---|
Type | Description |
void |
listJobs(request)
public listJobs(request: google.cloud.video.transcoder.v1.IListJobsRequest): Promise<google.cloud.video.transcoder.v1.ListJobsResponse>;
Calls ListJobs.
Parameter | |
---|---|
Name | Description |
request |
IListJobsRequest
ListJobsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListJobTemplatesRequest
ListJobTemplatesRequest message or plain object |
callback |
google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplatesCallback
Node-style callback called with the error, if any, and ListJobTemplatesResponse |
Returns | |
---|---|
Type | Description |
void |
listJobTemplates(request)
public listJobTemplates(request: google.cloud.video.transcoder.v1.IListJobTemplatesRequest): Promise<google.cloud.video.transcoder.v1.ListJobTemplatesResponse>;
Calls ListJobTemplates.
Parameter | |
---|---|
Name | Description |
request |
IListJobTemplatesRequest
ListJobTemplatesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.video.transcoder.v1.ListJobTemplatesResponse> | Promise |