123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236 |
- syntax = "proto3";
- package google.cloud.datalabeling.v1beta1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/datalabeling/v1beta1/annotation_spec_set.proto";
- import "google/cloud/datalabeling/v1beta1/dataset.proto";
- import "google/cloud/datalabeling/v1beta1/evaluation.proto";
- import "google/cloud/datalabeling/v1beta1/evaluation_job.proto";
- import "google/cloud/datalabeling/v1beta1/human_annotation_config.proto";
- import "google/cloud/datalabeling/v1beta1/instruction.proto";
- import "google/longrunning/operations.proto";
- import "google/protobuf/empty.proto";
- import "google/protobuf/field_mask.proto";
- option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling";
- option java_multiple_files = true;
- option java_package = "com.google.cloud.datalabeling.v1beta1";
- option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1";
- option ruby_package = "Google::Cloud::DataLabeling::V1beta1";
- service DataLabelingService {
- option (google.api.default_host) = "datalabeling.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
-
- rpc CreateDataset(CreateDatasetRequest) returns (Dataset) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*}/datasets"
- body: "*"
- };
- option (google.api.method_signature) = "parent,dataset";
- }
-
- rpc GetDataset(GetDatasetRequest) returns (Dataset) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/datasets/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc ListDatasets(ListDatasetsRequest) returns (ListDatasetsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*}/datasets"
- };
- option (google.api.method_signature) = "parent,filter";
- }
-
- rpc DeleteDataset(DeleteDatasetRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- delete: "/v1beta1/{name=projects/*/datasets/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
-
-
-
- rpc ImportData(ImportDataRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{name=projects/*/datasets/*}:importData"
- body: "*"
- };
- option (google.api.method_signature) = "name,input_config";
- option (google.longrunning.operation_info) = {
- response_type: "ImportDataOperationResponse"
- metadata_type: "ImportDataOperationMetadata"
- };
- }
-
- rpc ExportData(ExportDataRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{name=projects/*/datasets/*}:exportData"
- body: "*"
- };
- option (google.api.method_signature) = "name,annotated_dataset,filter,output_config";
- option (google.longrunning.operation_info) = {
- response_type: "ExportDataOperationResponse"
- metadata_type: "ExportDataOperationMetadata"
- };
- }
-
-
- rpc GetDataItem(GetDataItemRequest) returns (DataItem) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/datasets/*/dataItems/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
- rpc ListDataItems(ListDataItemsRequest) returns (ListDataItemsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*/datasets/*}/dataItems"
- };
- option (google.api.method_signature) = "parent,filter";
- }
-
- rpc GetAnnotatedDataset(GetAnnotatedDatasetRequest) returns (AnnotatedDataset) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc ListAnnotatedDatasets(ListAnnotatedDatasetsRequest) returns (ListAnnotatedDatasetsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*/datasets/*}/annotatedDatasets"
- };
- option (google.api.method_signature) = "parent,filter";
- }
-
- rpc DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- delete: "/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*}"
- };
- }
-
-
- rpc LabelImage(LabelImageRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*/datasets/*}/image:label"
- body: "*"
- };
- option (google.api.method_signature) = "parent,basic_config,feature";
- option (google.longrunning.operation_info) = {
- response_type: "AnnotatedDataset"
- metadata_type: "LabelOperationMetadata"
- };
- }
-
-
- rpc LabelVideo(LabelVideoRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*/datasets/*}/video:label"
- body: "*"
- };
- option (google.api.method_signature) = "parent,basic_config,feature";
- option (google.longrunning.operation_info) = {
- response_type: "AnnotatedDataset"
- metadata_type: "LabelOperationMetadata"
- };
- }
-
-
- rpc LabelText(LabelTextRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*/datasets/*}/text:label"
- body: "*"
- };
- option (google.api.method_signature) = "parent,basic_config,feature";
- option (google.longrunning.operation_info) = {
- response_type: "AnnotatedDataset"
- metadata_type: "LabelOperationMetadata"
- };
- }
-
- rpc GetExample(GetExampleRequest) returns (Example) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*/examples/*}"
- };
- option (google.api.method_signature) = "name,filter";
- }
-
- rpc ListExamples(ListExamplesRequest) returns (ListExamplesResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*/datasets/*/annotatedDatasets/*}/examples"
- };
- option (google.api.method_signature) = "parent,filter";
- }
-
- rpc CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest) returns (AnnotationSpecSet) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*}/annotationSpecSets"
- body: "*"
- };
- option (google.api.method_signature) = "parent,annotation_spec_set";
- }
-
- rpc GetAnnotationSpecSet(GetAnnotationSpecSetRequest) returns (AnnotationSpecSet) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/annotationSpecSets/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc ListAnnotationSpecSets(ListAnnotationSpecSetsRequest) returns (ListAnnotationSpecSetsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*}/annotationSpecSets"
- };
- option (google.api.method_signature) = "parent,filter";
- }
-
- rpc DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- delete: "/v1beta1/{name=projects/*/annotationSpecSets/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc CreateInstruction(CreateInstructionRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*}/instructions"
- body: "*"
- };
- option (google.api.method_signature) = "parent,instruction";
- option (google.longrunning.operation_info) = {
- response_type: "Instruction"
- metadata_type: "CreateInstructionMetadata"
- };
- }
-
- rpc GetInstruction(GetInstructionRequest) returns (Instruction) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/instructions/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc ListInstructions(ListInstructionsRequest) returns (ListInstructionsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*}/instructions"
- };
- option (google.api.method_signature) = "parent,filter";
- }
-
- rpc DeleteInstruction(DeleteInstructionRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- delete: "/v1beta1/{name=projects/*/instructions/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
- rpc GetEvaluation(GetEvaluationRequest) returns (Evaluation) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/datasets/*/evaluations/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc SearchEvaluations(SearchEvaluationsRequest) returns (SearchEvaluationsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*}/evaluations:search"
- };
- option (google.api.method_signature) = "parent,filter";
- }
-
-
-
- rpc SearchExampleComparisons(SearchExampleComparisonsRequest) returns (SearchExampleComparisonsResponse) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*/datasets/*/evaluations/*}/exampleComparisons:search"
- body: "*"
- };
- option (google.api.method_signature) = "parent";
- }
-
- rpc CreateEvaluationJob(CreateEvaluationJobRequest) returns (EvaluationJob) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*}/evaluationJobs"
- body: "*"
- };
- option (google.api.method_signature) = "parent,job";
- }
-
-
-
-
-
-
- rpc UpdateEvaluationJob(UpdateEvaluationJobRequest) returns (EvaluationJob) {
- option (google.api.http) = {
- patch: "/v1beta1/{evaluation_job.name=projects/*/evaluationJobs/*}"
- body: "evaluation_job"
- };
- option (google.api.method_signature) = "evaluation_job,update_mask";
- }
-
- rpc GetEvaluationJob(GetEvaluationJobRequest) returns (EvaluationJob) {
- option (google.api.http) = {
- get: "/v1beta1/{name=projects/*/evaluationJobs/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
- rpc PauseEvaluationJob(PauseEvaluationJobRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- post: "/v1beta1/{name=projects/*/evaluationJobs/*}:pause"
- body: "*"
- };
- option (google.api.method_signature) = "name";
- }
-
-
- rpc ResumeEvaluationJob(ResumeEvaluationJobRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- post: "/v1beta1/{name=projects/*/evaluationJobs/*}:resume"
- body: "*"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc DeleteEvaluationJob(DeleteEvaluationJobRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- delete: "/v1beta1/{name=projects/*/evaluationJobs/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
- rpc ListEvaluationJobs(ListEvaluationJobsRequest) returns (ListEvaluationJobsResponse) {
- option (google.api.http) = {
- get: "/v1beta1/{parent=projects/*}/evaluationJobs"
- };
- option (google.api.method_signature) = "parent,filter";
- }
- }
- message CreateDatasetRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
- Dataset dataset = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message GetDatasetRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
- }
- message ListDatasetsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListDatasetsResponse {
-
- repeated Dataset datasets = 1;
-
- string next_page_token = 2;
- }
- message DeleteDatasetRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
- }
- message ImportDataRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
-
- InputConfig input_config = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- string user_email_address = 3;
- }
- message ExportDataRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
-
-
-
-
-
- string annotated_dataset = 2 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/AnnotatedDataset"
- }
- ];
-
- string filter = 3 [(google.api.field_behavior) = OPTIONAL];
-
- OutputConfig output_config = 4 [(google.api.field_behavior) = REQUIRED];
-
-
- string user_email_address = 5;
- }
- message GetDataItemRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/DataItem"
- }
- ];
- }
- message ListDataItemsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListDataItemsResponse {
-
- repeated DataItem data_items = 1;
-
- string next_page_token = 2;
- }
- message GetAnnotatedDatasetRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/AnnotatedDataset"
- }
- ];
- }
- message ListAnnotatedDatasetsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListAnnotatedDatasetsResponse {
-
- repeated AnnotatedDataset annotated_datasets = 1;
-
- string next_page_token = 2;
- }
- message DeleteAnnotatedDatasetRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/AnnotatedDataset"
- }
- ];
- }
- message LabelImageRequest {
-
- enum Feature {
- FEATURE_UNSPECIFIED = 0;
-
- CLASSIFICATION = 1;
-
- BOUNDING_BOX = 2;
-
-
- ORIENTED_BOUNDING_BOX = 6;
-
-
- BOUNDING_POLY = 3;
-
-
- POLYLINE = 4;
-
-
- SEGMENTATION = 5;
- }
-
-
- oneof request_config {
-
-
-
- ImageClassificationConfig image_classification_config = 4;
-
-
-
- BoundingPolyConfig bounding_poly_config = 5;
-
-
-
- PolylineConfig polyline_config = 6;
-
-
-
- SegmentationConfig segmentation_config = 7;
- }
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
-
- HumanAnnotationConfig basic_config = 2 [(google.api.field_behavior) = REQUIRED];
-
- Feature feature = 3 [(google.api.field_behavior) = REQUIRED];
- }
- message LabelVideoRequest {
-
- enum Feature {
- FEATURE_UNSPECIFIED = 0;
-
- CLASSIFICATION = 1;
-
- OBJECT_DETECTION = 2;
-
- OBJECT_TRACKING = 3;
-
- EVENT = 4;
- }
-
-
- oneof request_config {
-
-
-
- VideoClassificationConfig video_classification_config = 4;
-
-
-
- ObjectDetectionConfig object_detection_config = 5;
-
-
-
- ObjectTrackingConfig object_tracking_config = 6;
-
-
-
- EventConfig event_config = 7;
- }
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
-
- HumanAnnotationConfig basic_config = 2 [(google.api.field_behavior) = REQUIRED];
-
- Feature feature = 3 [(google.api.field_behavior) = REQUIRED];
- }
- message LabelTextRequest {
-
- enum Feature {
- FEATURE_UNSPECIFIED = 0;
-
- TEXT_CLASSIFICATION = 1;
-
- TEXT_ENTITY_EXTRACTION = 2;
- }
-
-
- oneof request_config {
-
-
-
- TextClassificationConfig text_classification_config = 4;
-
-
-
- TextEntityExtractionConfig text_entity_extraction_config = 5;
- }
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Dataset"
- }
- ];
-
- HumanAnnotationConfig basic_config = 2 [(google.api.field_behavior) = REQUIRED];
-
- Feature feature = 6 [(google.api.field_behavior) = REQUIRED];
- }
- message GetExampleRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Example"
- }
- ];
-
-
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListExamplesRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/AnnotatedDataset"
- }
- ];
-
-
-
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListExamplesResponse {
-
- repeated Example examples = 1;
-
- string next_page_token = 2;
- }
- message CreateAnnotationSpecSetRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
-
-
- AnnotationSpecSet annotation_spec_set = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message GetAnnotationSpecSetRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/AnnotationSpecSet"
- }
- ];
- }
- message ListAnnotationSpecSetsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListAnnotationSpecSetsResponse {
-
- repeated AnnotationSpecSet annotation_spec_sets = 1;
-
- string next_page_token = 2;
- }
- message DeleteAnnotationSpecSetRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/AnnotationSpecSet"
- }
- ];
- }
- message CreateInstructionRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
- Instruction instruction = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message GetInstructionRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Instruction"
- }
- ];
- }
- message DeleteInstructionRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Instruction"
- }
- ];
- }
- message ListInstructionsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListInstructionsResponse {
-
- repeated Instruction instructions = 1;
-
- string next_page_token = 2;
- }
- message GetEvaluationRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Evaluation"
- }
- ];
- }
- message SearchEvaluationsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Evaluation"
- }
- ];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message SearchEvaluationsResponse {
-
- repeated Evaluation evaluations = 1;
-
- string next_page_token = 2;
- }
- message SearchExampleComparisonsRequest {
-
-
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/Evaluation"
- }
- ];
-
-
- int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
- string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
- }
- message SearchExampleComparisonsResponse {
-
-
- message ExampleComparison {
-
- Example ground_truth_example = 1;
-
- repeated Example model_created_examples = 2;
- }
-
- repeated ExampleComparison example_comparisons = 1;
-
- string next_page_token = 2;
- }
- message CreateEvaluationJobRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
- EvaluationJob job = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message UpdateEvaluationJobRequest {
-
- EvaluationJob evaluation_job = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
- google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message GetEvaluationJobRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/EvaluationJob"
- }
- ];
- }
- message PauseEvaluationJobRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/EvaluationJob"
- }
- ];
- }
- message ResumeEvaluationJobRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/EvaluationJob"
- }
- ];
- }
- message DeleteEvaluationJobRequest {
-
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datalabeling.googleapis.com/EvaluationJob"
- }
- ];
- }
- message ListEvaluationJobsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "cloudresourcemanager.googleapis.com/Project"
- }
- ];
-
-
-
-
-
-
-
-
- string filter = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListEvaluationJobsResponse {
-
- repeated EvaluationJob evaluation_jobs = 1;
-
- string next_page_token = 2;
- }
|