123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- syntax = "proto3";
- package google.cloud.vision.v1p4beta1;
- import "google/api/resource.proto";
- import "google/cloud/vision/v1p4beta1/geometry.proto";
- import "google/cloud/vision/v1p4beta1/product_search_service.proto";
- import "google/protobuf/timestamp.proto";
- option cc_enable_arenas = true;
- option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision";
- option java_multiple_files = true;
- option java_outer_classname = "ProductSearchProto";
- option java_package = "com.google.cloud.vision.v1p4beta1";
- option objc_class_prefix = "GCVN";
- message ProductSearchParams {
-
-
- BoundingPoly bounding_poly = 9;
-
-
-
-
-
-
- string product_set = 6 [(google.api.resource_reference) = {
- type: "vision.googleapis.com/ProductSet"
- }];
-
-
-
-
-
-
-
- repeated string product_categories = 7;
-
-
-
-
-
-
-
-
- string filter = 8;
- }
- message ProductSearchResults {
-
- message Result {
-
- Product product = 1;
-
-
- float score = 2;
-
-
- string image = 3;
- }
-
- message ObjectAnnotation {
-
- string mid = 1;
-
-
-
- string language_code = 2;
-
- string name = 3;
-
- float score = 4;
- }
-
-
- message GroupedResult {
-
- BoundingPoly bounding_poly = 1;
-
- repeated Result results = 2;
-
- repeated ObjectAnnotation object_annotations = 3;
- }
-
-
-
- google.protobuf.Timestamp index_time = 2;
-
- repeated Result results = 5;
-
-
-
-
- repeated GroupedResult product_grouped_results = 6;
- }
|