annotation.proto 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // Copyright 2022 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.cloud.healthcare.logging;
  16. import "google/rpc/status.proto";
  17. option go_package = "google.golang.org/genproto/googleapis/cloud/healthcare/logging;logging";
  18. option java_package = "com.google.cloud.healthcare.logging";
  19. // A log entry for an Annotation import long-running operation.
  20. message ImportAnnotationLogEntry {
  21. // The source in Cloud Storage. For example,
  22. // `gs://{bucket_id}/{path/to/file}`.
  23. string source = 1;
  24. // The error code and message.
  25. google.rpc.Status error = 2;
  26. }
  27. // A log entry for an Annotation export long-running operation.
  28. message ExportAnnotationLogEntry {
  29. // The destination in Cloud Storage or BigQuery.
  30. string destination = 1;
  31. // The annotation record being exported. For example:
  32. // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{store_id}/annotations/{annotation_id}`.
  33. string annotation_name = 2;
  34. // The error code and message.
  35. google.rpc.Status error = 3;
  36. }
  37. // A log entry for an Annotation evaluate long-running operation.
  38. message EvaluateAnnotationLogEntry {
  39. // The report destination in BigQuery.
  40. string destination = 1;
  41. // The eval annotation record being evaluated. For example:
  42. // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{eval_store_id}/annotations/{eval_annotation_id}`.
  43. string eval_annotation_name = 2;
  44. // The golden annotation record being evaluated. For example:
  45. // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{golden_store_id}/annotations/{golden_annotation_id}`.
  46. string golden_annotation_name = 3;
  47. // The error code and message.
  48. google.rpc.Status error = 4;
  49. }