Constructor
new DataLabelingService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new DataLabelingService service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createAnnotationSpecSet(request, callback) → {undefined}
Calls CreateAnnotationSpecSet.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateAnnotationSpecSetRequest |
CreateAnnotationSpecSetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSetCallback |
Node-style callback called with the error, if any, and AnnotationSpecSet |
Returns:
Type | Description |
---|---|
undefined |
createAnnotationSpecSet(request) → {Promise.<google.cloud.datalabeling.v1beta1.AnnotationSpecSet>}
Calls CreateAnnotationSpecSet.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateAnnotationSpecSetRequest |
CreateAnnotationSpecSetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
Promise |
createDataset(request, callback) → {undefined}
Calls CreateDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateDatasetRequest |
CreateDatasetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.CreateDatasetCallback |
Node-style callback called with the error, if any, and Dataset |
Returns:
Type | Description |
---|---|
undefined |
createDataset(request) → {Promise.<google.cloud.datalabeling.v1beta1.Dataset>}
Calls CreateDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateDatasetRequest |
CreateDatasetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.Dataset> |
Promise |
createEvaluationJob(request, callback) → {undefined}
Calls CreateEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateEvaluationJobRequest |
CreateEvaluationJobRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJobCallback |
Node-style callback called with the error, if any, and EvaluationJob |
Returns:
Type | Description |
---|---|
undefined |
createEvaluationJob(request) → {Promise.<google.cloud.datalabeling.v1beta1.EvaluationJob>}
Calls CreateEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateEvaluationJobRequest |
CreateEvaluationJobRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.EvaluationJob> |
Promise |
createInstruction(request, callback) → {undefined}
Calls CreateInstruction.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateInstructionRequest |
CreateInstructionRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstructionCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createInstruction(request) → {Promise.<google.longrunning.Operation>}
Calls CreateInstruction.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ICreateInstructionRequest |
CreateInstructionRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteAnnotatedDataset(request, callback) → {undefined}
Calls DeleteAnnotatedDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteAnnotatedDatasetRequest |
DeleteAnnotatedDatasetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDatasetCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteAnnotatedDataset(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteAnnotatedDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteAnnotatedDatasetRequest |
DeleteAnnotatedDatasetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteAnnotationSpecSet(request, callback) → {undefined}
Calls DeleteAnnotationSpecSet.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteAnnotationSpecSetRequest |
DeleteAnnotationSpecSetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSetCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteAnnotationSpecSet(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteAnnotationSpecSet.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteAnnotationSpecSetRequest |
DeleteAnnotationSpecSetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteDataset(request, callback) → {undefined}
Calls DeleteDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteDatasetRequest |
DeleteDatasetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteDatasetCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteDataset(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteDatasetRequest |
DeleteDatasetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteEvaluationJob(request, callback) → {undefined}
Calls DeleteEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteEvaluationJobRequest |
DeleteEvaluationJobRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJobCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteEvaluationJob(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteEvaluationJobRequest |
DeleteEvaluationJobRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteInstruction(request, callback) → {undefined}
Calls DeleteInstruction.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteInstructionRequest |
DeleteInstructionRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstructionCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteInstruction(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteInstruction.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IDeleteInstructionRequest |
DeleteInstructionRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
exportData(request, callback) → {undefined}
Calls ExportData.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IExportDataRequest |
ExportDataRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ExportDataCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
exportData(request) → {Promise.<google.longrunning.Operation>}
Calls ExportData.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IExportDataRequest |
ExportDataRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
getAnnotatedDataset(request, callback) → {undefined}
Calls GetAnnotatedDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetAnnotatedDatasetRequest |
GetAnnotatedDatasetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDatasetCallback |
Node-style callback called with the error, if any, and AnnotatedDataset |
Returns:
Type | Description |
---|---|
undefined |
getAnnotatedDataset(request) → {Promise.<google.cloud.datalabeling.v1beta1.AnnotatedDataset>}
Calls GetAnnotatedDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetAnnotatedDatasetRequest |
GetAnnotatedDatasetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.AnnotatedDataset> |
Promise |
getAnnotationSpecSet(request, callback) → {undefined}
Calls GetAnnotationSpecSet.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetAnnotationSpecSetRequest |
GetAnnotationSpecSetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSetCallback |
Node-style callback called with the error, if any, and AnnotationSpecSet |
Returns:
Type | Description |
---|---|
undefined |
getAnnotationSpecSet(request) → {Promise.<google.cloud.datalabeling.v1beta1.AnnotationSpecSet>}
Calls GetAnnotationSpecSet.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetAnnotationSpecSetRequest |
GetAnnotationSpecSetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
Promise |
getDataItem(request, callback) → {undefined}
Calls GetDataItem.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetDataItemRequest |
GetDataItemRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItemCallback |
Node-style callback called with the error, if any, and DataItem |
Returns:
Type | Description |
---|---|
undefined |
getDataItem(request) → {Promise.<google.cloud.datalabeling.v1beta1.DataItem>}
Calls GetDataItem.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetDataItemRequest |
GetDataItemRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.DataItem> |
Promise |
getDataset(request, callback) → {undefined}
Calls GetDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetDatasetRequest |
GetDatasetRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetDatasetCallback |
Node-style callback called with the error, if any, and Dataset |
Returns:
Type | Description |
---|---|
undefined |
getDataset(request) → {Promise.<google.cloud.datalabeling.v1beta1.Dataset>}
Calls GetDataset.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetDatasetRequest |
GetDatasetRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.Dataset> |
Promise |
getEvaluation(request, callback) → {undefined}
Calls GetEvaluation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetEvaluationRequest |
GetEvaluationRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationCallback |
Node-style callback called with the error, if any, and Evaluation |
Returns:
Type | Description |
---|---|
undefined |
getEvaluation(request) → {Promise.<google.cloud.datalabeling.v1beta1.Evaluation>}
Calls GetEvaluation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetEvaluationRequest |
GetEvaluationRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.Evaluation> |
Promise |
getEvaluationJob(request, callback) → {undefined}
Calls GetEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetEvaluationJobRequest |
GetEvaluationJobRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJobCallback |
Node-style callback called with the error, if any, and EvaluationJob |
Returns:
Type | Description |
---|---|
undefined |
getEvaluationJob(request) → {Promise.<google.cloud.datalabeling.v1beta1.EvaluationJob>}
Calls GetEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetEvaluationJobRequest |
GetEvaluationJobRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.EvaluationJob> |
Promise |
getExample(request, callback) → {undefined}
Calls GetExample.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetExampleRequest |
GetExampleRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetExampleCallback |
Node-style callback called with the error, if any, and Example |
Returns:
Type | Description |
---|---|
undefined |
getExample(request) → {Promise.<google.cloud.datalabeling.v1beta1.Example>}
Calls GetExample.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetExampleRequest |
GetExampleRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.Example> |
Promise |
getInstruction(request, callback) → {undefined}
Calls GetInstruction.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetInstructionRequest |
GetInstructionRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstructionCallback |
Node-style callback called with the error, if any, and Instruction |
Returns:
Type | Description |
---|---|
undefined |
getInstruction(request) → {Promise.<google.cloud.datalabeling.v1beta1.Instruction>}
Calls GetInstruction.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IGetInstructionRequest |
GetInstructionRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.Instruction> |
Promise |
importData(request, callback) → {undefined}
Calls ImportData.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IImportDataRequest |
ImportDataRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ImportDataCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
importData(request) → {Promise.<google.longrunning.Operation>}
Calls ImportData.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IImportDataRequest |
ImportDataRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
labelImage(request, callback) → {undefined}
Calls LabelImage.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ILabelImageRequest |
LabelImageRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImageCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
labelImage(request) → {Promise.<google.longrunning.Operation>}
Calls LabelImage.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ILabelImageRequest |
LabelImageRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
labelText(request, callback) → {undefined}
Calls LabelText.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ILabelTextRequest |
LabelTextRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.LabelTextCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
labelText(request) → {Promise.<google.longrunning.Operation>}
Calls LabelText.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ILabelTextRequest |
LabelTextRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
labelVideo(request, callback) → {undefined}
Calls LabelVideo.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ILabelVideoRequest |
LabelVideoRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideoCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
labelVideo(request) → {Promise.<google.longrunning.Operation>}
Calls LabelVideo.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ILabelVideoRequest |
LabelVideoRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
listAnnotatedDatasets(request, callback) → {undefined}
Calls ListAnnotatedDatasets.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListAnnotatedDatasetsRequest |
ListAnnotatedDatasetsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasetsCallback |
Node-style callback called with the error, if any, and ListAnnotatedDatasetsResponse |
Returns:
Type | Description |
---|---|
undefined |
listAnnotatedDatasets(request) → {Promise.<google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse>}
Calls ListAnnotatedDatasets.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListAnnotatedDatasetsRequest |
ListAnnotatedDatasetsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse> |
Promise |
listAnnotationSpecSets(request, callback) → {undefined}
Calls ListAnnotationSpecSets.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListAnnotationSpecSetsRequest |
ListAnnotationSpecSetsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSetsCallback |
Node-style callback called with the error, if any, and ListAnnotationSpecSetsResponse |
Returns:
Type | Description |
---|---|
undefined |
listAnnotationSpecSets(request) → {Promise.<google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse>}
Calls ListAnnotationSpecSets.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListAnnotationSpecSetsRequest |
ListAnnotationSpecSetsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse> |
Promise |
listDataItems(request, callback) → {undefined}
Calls ListDataItems.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListDataItemsRequest |
ListDataItemsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ListDataItemsCallback |
Node-style callback called with the error, if any, and ListDataItemsResponse |
Returns:
Type | Description |
---|---|
undefined |
listDataItems(request) → {Promise.<google.cloud.datalabeling.v1beta1.ListDataItemsResponse>}
Calls ListDataItems.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListDataItemsRequest |
ListDataItemsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.ListDataItemsResponse> |
Promise |
listDatasets(request, callback) → {undefined}
Calls ListDatasets.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListDatasetsRequest |
ListDatasetsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ListDatasetsCallback |
Node-style callback called with the error, if any, and ListDatasetsResponse |
Returns:
Type | Description |
---|---|
undefined |
listDatasets(request) → {Promise.<google.cloud.datalabeling.v1beta1.ListDatasetsResponse>}
Calls ListDatasets.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListDatasetsRequest |
ListDatasetsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.ListDatasetsResponse> |
Promise |
listEvaluationJobs(request, callback) → {undefined}
Calls ListEvaluationJobs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListEvaluationJobsRequest |
ListEvaluationJobsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobsCallback |
Node-style callback called with the error, if any, and ListEvaluationJobsResponse |
Returns:
Type | Description |
---|---|
undefined |
listEvaluationJobs(request) → {Promise.<google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse>}
Calls ListEvaluationJobs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListEvaluationJobsRequest |
ListEvaluationJobsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse> |
Promise |
listExamples(request, callback) → {undefined}
Calls ListExamples.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListExamplesRequest |
ListExamplesRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamplesCallback |
Node-style callback called with the error, if any, and ListExamplesResponse |
Returns:
Type | Description |
---|---|
undefined |
listExamples(request) → {Promise.<google.cloud.datalabeling.v1beta1.ListExamplesResponse>}
Calls ListExamples.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListExamplesRequest |
ListExamplesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.ListExamplesResponse> |
Promise |
listInstructions(request, callback) → {undefined}
Calls ListInstructions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListInstructionsRequest |
ListInstructionsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructionsCallback |
Node-style callback called with the error, if any, and ListInstructionsResponse |
Returns:
Type | Description |
---|---|
undefined |
listInstructions(request) → {Promise.<google.cloud.datalabeling.v1beta1.ListInstructionsResponse>}
Calls ListInstructions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IListInstructionsRequest |
ListInstructionsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.ListInstructionsResponse> |
Promise |
pauseEvaluationJob(request, callback) → {undefined}
Calls PauseEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IPauseEvaluationJobRequest |
PauseEvaluationJobRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJobCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
pauseEvaluationJob(request) → {Promise.<google.protobuf.Empty>}
Calls PauseEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IPauseEvaluationJobRequest |
PauseEvaluationJobRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
resumeEvaluationJob(request, callback) → {undefined}
Calls ResumeEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IResumeEvaluationJobRequest |
ResumeEvaluationJobRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJobCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
resumeEvaluationJob(request) → {Promise.<google.protobuf.Empty>}
Calls ResumeEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IResumeEvaluationJobRequest |
ResumeEvaluationJobRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
searchEvaluations(request, callback) → {undefined}
Calls SearchEvaluations.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ISearchEvaluationsRequest |
SearchEvaluationsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluationsCallback |
Node-style callback called with the error, if any, and SearchEvaluationsResponse |
Returns:
Type | Description |
---|---|
undefined |
searchEvaluations(request) → {Promise.<google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse>}
Calls SearchEvaluations.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ISearchEvaluationsRequest |
SearchEvaluationsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse> |
Promise |
searchExampleComparisons(request, callback) → {undefined}
Calls SearchExampleComparisons.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ISearchExampleComparisonsRequest |
SearchExampleComparisonsRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisonsCallback |
Node-style callback called with the error, if any, and SearchExampleComparisonsResponse |
Returns:
Type | Description |
---|---|
undefined |
searchExampleComparisons(request) → {Promise.<google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse>}
Calls SearchExampleComparisons.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.ISearchExampleComparisonsRequest |
SearchExampleComparisonsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse> |
Promise |
updateEvaluationJob(request, callback) → {undefined}
Calls UpdateEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IUpdateEvaluationJobRequest |
UpdateEvaluationJobRequest message or plain object |
callback |
google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJobCallback |
Node-style callback called with the error, if any, and EvaluationJob |
Returns:
Type | Description |
---|---|
undefined |
updateEvaluationJob(request) → {Promise.<google.cloud.datalabeling.v1beta1.EvaluationJob>}
Calls UpdateEvaluationJob.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.datalabeling.v1beta1.IUpdateEvaluationJobRequest |
UpdateEvaluationJobRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.datalabeling.v1beta1.EvaluationJob> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {DataLabelingService}
Creates new DataLabelingService service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
DataLabelingService |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateAnnotationSpecSetCallback(error, responseopt)
Callback as used by createAnnotationSpecSet.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.AnnotationSpecSet |
<optional> |
AnnotationSpecSet |
CreateDatasetCallback(error, responseopt)
Callback as used by createDataset.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.Dataset |
<optional> |
Dataset |
CreateEvaluationJobCallback(error, responseopt)
Callback as used by createEvaluationJob.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.EvaluationJob |
<optional> |
EvaluationJob |
CreateInstructionCallback(error, responseopt)
Callback as used by createInstruction.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteAnnotatedDatasetCallback(error, responseopt)
Callback as used by deleteAnnotatedDataset.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteAnnotationSpecSetCallback(error, responseopt)
Callback as used by deleteAnnotationSpecSet.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteDatasetCallback(error, responseopt)
Callback as used by deleteDataset.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteEvaluationJobCallback(error, responseopt)
Callback as used by deleteEvaluationJob.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteInstructionCallback(error, responseopt)
Callback as used by deleteInstruction.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
ExportDataCallback(error, responseopt)
Callback as used by exportData.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GetAnnotatedDatasetCallback(error, responseopt)
Callback as used by getAnnotatedDataset.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.AnnotatedDataset |
<optional> |
AnnotatedDataset |
GetAnnotationSpecSetCallback(error, responseopt)
Callback as used by getAnnotationSpecSet.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.AnnotationSpecSet |
<optional> |
AnnotationSpecSet |
GetDataItemCallback(error, responseopt)
Callback as used by getDataItem.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.DataItem |
<optional> |
DataItem |
GetDatasetCallback(error, responseopt)
Callback as used by getDataset.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.Dataset |
<optional> |
Dataset |
GetEvaluationCallback(error, responseopt)
Callback as used by getEvaluation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.Evaluation |
<optional> |
Evaluation |
GetEvaluationJobCallback(error, responseopt)
Callback as used by getEvaluationJob.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.EvaluationJob |
<optional> |
EvaluationJob |
GetExampleCallback(error, responseopt)
Callback as used by getExample.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.Example |
<optional> |
Example |
GetInstructionCallback(error, responseopt)
Callback as used by getInstruction.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.Instruction |
<optional> |
Instruction |
ImportDataCallback(error, responseopt)
Callback as used by importData.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
LabelImageCallback(error, responseopt)
Callback as used by labelImage.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
LabelTextCallback(error, responseopt)
Callback as used by labelText.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
LabelVideoCallback(error, responseopt)
Callback as used by labelVideo.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
ListAnnotatedDatasetsCallback(error, responseopt)
Callback as used by listAnnotatedDatasets.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse |
<optional> |
ListAnnotatedDatasetsResponse |
ListAnnotationSpecSetsCallback(error, responseopt)
Callback as used by listAnnotationSpecSets.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse |
<optional> |
ListAnnotationSpecSetsResponse |
ListDataItemsCallback(error, responseopt)
Callback as used by listDataItems.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.ListDataItemsResponse |
<optional> |
ListDataItemsResponse |
ListDatasetsCallback(error, responseopt)
Callback as used by listDatasets.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.ListDatasetsResponse |
<optional> |
ListDatasetsResponse |
ListEvaluationJobsCallback(error, responseopt)
Callback as used by listEvaluationJobs.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse |
<optional> |
ListEvaluationJobsResponse |
ListExamplesCallback(error, responseopt)
Callback as used by listExamples.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.ListExamplesResponse |
<optional> |
ListExamplesResponse |
ListInstructionsCallback(error, responseopt)
Callback as used by listInstructions.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.ListInstructionsResponse |
<optional> |
ListInstructionsResponse |
PauseEvaluationJobCallback(error, responseopt)
Callback as used by pauseEvaluationJob.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
ResumeEvaluationJobCallback(error, responseopt)
Callback as used by resumeEvaluationJob.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
SearchEvaluationsCallback(error, responseopt)
Callback as used by searchEvaluations.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse |
<optional> |
SearchEvaluationsResponse |
SearchExampleComparisonsCallback(error, responseopt)
Callback as used by searchExampleComparisons.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse |
<optional> |
SearchExampleComparisonsResponse |
UpdateEvaluationJobCallback(error, responseopt)
Callback as used by updateEvaluationJob.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.datalabeling.v1beta1.EvaluationJob |
<optional> |
EvaluationJob |