Skip to content

Commit 04e7048

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add field to pass through test name
feat: Add transformed png to response PiperOrigin-RevId: 518495226
1 parent 6ae8269 commit 04e7048

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

google/chromeos/uidetection/v1/ui_detection.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -47,6 +47,10 @@ message UiDetectionRequest {
4747

4848
// Indicates whether to resize the image when detecting.
4949
optional bool resize_image = 3;
50+
51+
// Name of the calling test, as it should appear in analytics. For example,
52+
// 'tast.uidetection.BasicDetections'.
53+
string test_id = 4;
5054
}
5155

5256
// Detection type specifies what to detect in the image.
@@ -116,6 +120,10 @@ message CustomIconDetectionRequest {
116120
message UiDetectionResponse {
117121
// Locations of matching UI elements.
118122
repeated BoundingBox bounding_boxes = 1;
123+
124+
// Detection image PNG after all transformations have been applied. If absent,
125+
// assume the image was not transformed.
126+
bytes transformed_image_png = 2;
119127
}
120128

121129
// The location of a UI element.

0 commit comments

Comments
 (0)