• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/automl/v1/detection.proto
18 
19 package com.google.cloud.automl.v1;
20 
21 public final class Detection {
Detection()22   private Detection() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_cloud_automl_v1_ImageObjectDetectionAnnotation_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_automl_v1_ImageObjectDetectionAnnotation_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_ConfidenceMetricsEntry_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_ConfidenceMetricsEntry_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_cloud_automl_v1_ImageObjectDetectionEvaluationMetrics_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_cloud_automl_v1_ImageObjectDetectionEvaluationMetrics_fieldAccessorTable;
46 
getDescriptor()47   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
48     return descriptor;
49   }
50 
51   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
52 
53   static {
54     java.lang.String[] descriptorData = {
55       "\n&google/cloud/automl/v1/detection.proto"
56           + "\022\026google.cloud.automl.v1\032%google/cloud/a"
57           + "utoml/v1/geometry.proto\"k\n\036ImageObjectDe"
58           + "tectionAnnotation\022:\n\014bounding_box\030\001 \001(\0132"
59           + "$.google.cloud.automl.v1.BoundingPoly\022\r\n"
60           + "\005score\030\002 \001(\002\"\251\002\n\027BoundingBoxMetricsEntry"
61           + "\022\025\n\riou_threshold\030\001 \001(\002\022\036\n\026mean_average_"
62           + "precision\030\002 \001(\002\022j\n\032confidence_metrics_en"
63           + "tries\030\003 \003(\0132F.google.cloud.automl.v1.Bou"
64           + "ndingBoxMetricsEntry.ConfidenceMetricsEn"
65           + "try\032k\n\026ConfidenceMetricsEntry\022\034\n\024confide"
66           + "nce_threshold\030\001 \001(\002\022\016\n\006recall\030\002 \001(\002\022\021\n\tp"
67           + "recision\030\003 \001(\002\022\020\n\010f1_score\030\004 \001(\002\"\321\001\n%Ima"
68           + "geObjectDetectionEvaluationMetrics\022$\n\034ev"
69           + "aluated_bounding_box_count\030\001 \001(\005\022U\n\034boun"
70           + "ding_box_metrics_entries\030\002 \003(\0132/.google."
71           + "cloud.automl.v1.BoundingBoxMetricsEntry\022"
72           + "+\n#bounding_box_mean_average_precision\030\003"
73           + " \001(\002B\240\001\n\032com.google.cloud.automl.v1P\001Z2c"
74           + "loud.google.com/go/automl/apiv1/automlpb"
75           + ";automlpb\252\002\026Google.Cloud.AutoML.V1\312\002\026Goo"
76           + "gle\\Cloud\\AutoMl\\V1\352\002\031Google::Cloud::Aut"
77           + "oML::V1b\006proto3"
78     };
79     descriptor =
80         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
81             descriptorData,
82             new com.google.protobuf.Descriptors.FileDescriptor[] {
83               com.google.cloud.automl.v1.Geometry.getDescriptor(),
84             });
85     internal_static_google_cloud_automl_v1_ImageObjectDetectionAnnotation_descriptor =
86         getDescriptor().getMessageTypes().get(0);
87     internal_static_google_cloud_automl_v1_ImageObjectDetectionAnnotation_fieldAccessorTable =
88         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
89             internal_static_google_cloud_automl_v1_ImageObjectDetectionAnnotation_descriptor,
90             new java.lang.String[] {
91               "BoundingBox", "Score",
92             });
93     internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_descriptor =
94         getDescriptor().getMessageTypes().get(1);
95     internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_fieldAccessorTable =
96         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
97             internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_descriptor,
98             new java.lang.String[] {
99               "IouThreshold", "MeanAveragePrecision", "ConfidenceMetricsEntries",
100             });
101     internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_ConfidenceMetricsEntry_descriptor =
102         internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_descriptor
103             .getNestedTypes()
104             .get(0);
105     internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_ConfidenceMetricsEntry_fieldAccessorTable =
106         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
107             internal_static_google_cloud_automl_v1_BoundingBoxMetricsEntry_ConfidenceMetricsEntry_descriptor,
108             new java.lang.String[] {
109               "ConfidenceThreshold", "Recall", "Precision", "F1Score",
110             });
111     internal_static_google_cloud_automl_v1_ImageObjectDetectionEvaluationMetrics_descriptor =
112         getDescriptor().getMessageTypes().get(2);
113     internal_static_google_cloud_automl_v1_ImageObjectDetectionEvaluationMetrics_fieldAccessorTable =
114         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
115             internal_static_google_cloud_automl_v1_ImageObjectDetectionEvaluationMetrics_descriptor,
116             new java.lang.String[] {
117               "EvaluatedBoundingBoxCount",
118               "BoundingBoxMetricsEntries",
119               "BoundingBoxMeanAveragePrecision",
120             });
com.google.cloud.automl.v1.Geometry.getDescriptor()121     com.google.cloud.automl.v1.Geometry.getDescriptor();
122   }
123 
124   // @@protoc_insertion_point(outer_class_scope)
125 }
126