1// Copyright 2020 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
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.22.0
18// 	protoc        v3.11.2
19// source: google/cloud/automl/v1/model_evaluation.proto
20
21package automl
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	timestamp "github.com/golang/protobuf/ptypes/timestamp"
29	_ "google.golang.org/genproto/googleapis/api/annotations"
30	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32)
33
34const (
35	// Verify that this generated code is sufficiently up-to-date.
36	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37	// Verify that runtime/protoimpl is sufficiently up-to-date.
38	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39)
40
41// This is a compile-time assertion that a sufficiently up-to-date version
42// of the legacy proto package is being used.
43const _ = proto.ProtoPackageIsVersion4
44
45// Evaluation results of a model.
46type ModelEvaluation struct {
47	state         protoimpl.MessageState
48	sizeCache     protoimpl.SizeCache
49	unknownFields protoimpl.UnknownFields
50
51	// Output only. Problem type specific evaluation metrics.
52	//
53	// Types that are assignable to Metrics:
54	//	*ModelEvaluation_ClassificationEvaluationMetrics
55	//	*ModelEvaluation_TranslationEvaluationMetrics
56	//	*ModelEvaluation_ImageObjectDetectionEvaluationMetrics
57	//	*ModelEvaluation_TextSentimentEvaluationMetrics
58	//	*ModelEvaluation_TextExtractionEvaluationMetrics
59	Metrics isModelEvaluation_Metrics `protobuf_oneof:"metrics"`
60	// Output only. Resource name of the model evaluation.
61	// Format:
62	//
63	// `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
64	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
65	// Output only. The ID of the annotation spec that the model evaluation applies to. The
66	// The ID is empty for the overall model evaluation.
67	// For Tables annotation specs in the dataset do not exist and this ID is
68	// always not set, but for CLASSIFICATION
69	//
70	// [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
71	// the
72	// [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
73	// field is used.
74	AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"`
75	// Output only. The value of
76	// [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
77	// at the moment when the model was trained. Because this field returns a
78	// value at model training time, for different models trained from the same
79	// dataset, the values may differ, since display names could had been changed
80	// between the two model's trainings. For Tables CLASSIFICATION
81	//
82	// [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
83	// distinct values of the target column at the moment of the model evaluation
84	// are populated here.
85	// The display_name is empty for the overall model evaluation.
86	DisplayName string `protobuf:"bytes,15,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
87	// Output only. Timestamp when this model evaluation was created.
88	CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
89	// Output only. The number of examples used for model evaluation, i.e. for
90	// which ground truth from time of model creation is compared against the
91	// predicted annotations created by the model.
92	// For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
93	// the total number of all examples used for evaluation.
94	// Otherwise, this is the count of examples that according to the ground
95	// truth were annotated by the
96	//
97	// [annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id].
98	EvaluatedExampleCount int32 `protobuf:"varint,6,opt,name=evaluated_example_count,json=evaluatedExampleCount,proto3" json:"evaluated_example_count,omitempty"`
99}
100
101func (x *ModelEvaluation) Reset() {
102	*x = ModelEvaluation{}
103	if protoimpl.UnsafeEnabled {
104		mi := &file_google_cloud_automl_v1_model_evaluation_proto_msgTypes[0]
105		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
106		ms.StoreMessageInfo(mi)
107	}
108}
109
110func (x *ModelEvaluation) String() string {
111	return protoimpl.X.MessageStringOf(x)
112}
113
114func (*ModelEvaluation) ProtoMessage() {}
115
116func (x *ModelEvaluation) ProtoReflect() protoreflect.Message {
117	mi := &file_google_cloud_automl_v1_model_evaluation_proto_msgTypes[0]
118	if protoimpl.UnsafeEnabled && x != nil {
119		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
120		if ms.LoadMessageInfo() == nil {
121			ms.StoreMessageInfo(mi)
122		}
123		return ms
124	}
125	return mi.MessageOf(x)
126}
127
128// Deprecated: Use ModelEvaluation.ProtoReflect.Descriptor instead.
129func (*ModelEvaluation) Descriptor() ([]byte, []int) {
130	return file_google_cloud_automl_v1_model_evaluation_proto_rawDescGZIP(), []int{0}
131}
132
133func (m *ModelEvaluation) GetMetrics() isModelEvaluation_Metrics {
134	if m != nil {
135		return m.Metrics
136	}
137	return nil
138}
139
140func (x *ModelEvaluation) GetClassificationEvaluationMetrics() *ClassificationEvaluationMetrics {
141	if x, ok := x.GetMetrics().(*ModelEvaluation_ClassificationEvaluationMetrics); ok {
142		return x.ClassificationEvaluationMetrics
143	}
144	return nil
145}
146
147func (x *ModelEvaluation) GetTranslationEvaluationMetrics() *TranslationEvaluationMetrics {
148	if x, ok := x.GetMetrics().(*ModelEvaluation_TranslationEvaluationMetrics); ok {
149		return x.TranslationEvaluationMetrics
150	}
151	return nil
152}
153
154func (x *ModelEvaluation) GetImageObjectDetectionEvaluationMetrics() *ImageObjectDetectionEvaluationMetrics {
155	if x, ok := x.GetMetrics().(*ModelEvaluation_ImageObjectDetectionEvaluationMetrics); ok {
156		return x.ImageObjectDetectionEvaluationMetrics
157	}
158	return nil
159}
160
161func (x *ModelEvaluation) GetTextSentimentEvaluationMetrics() *TextSentimentEvaluationMetrics {
162	if x, ok := x.GetMetrics().(*ModelEvaluation_TextSentimentEvaluationMetrics); ok {
163		return x.TextSentimentEvaluationMetrics
164	}
165	return nil
166}
167
168func (x *ModelEvaluation) GetTextExtractionEvaluationMetrics() *TextExtractionEvaluationMetrics {
169	if x, ok := x.GetMetrics().(*ModelEvaluation_TextExtractionEvaluationMetrics); ok {
170		return x.TextExtractionEvaluationMetrics
171	}
172	return nil
173}
174
175func (x *ModelEvaluation) GetName() string {
176	if x != nil {
177		return x.Name
178	}
179	return ""
180}
181
182func (x *ModelEvaluation) GetAnnotationSpecId() string {
183	if x != nil {
184		return x.AnnotationSpecId
185	}
186	return ""
187}
188
189func (x *ModelEvaluation) GetDisplayName() string {
190	if x != nil {
191		return x.DisplayName
192	}
193	return ""
194}
195
196func (x *ModelEvaluation) GetCreateTime() *timestamp.Timestamp {
197	if x != nil {
198		return x.CreateTime
199	}
200	return nil
201}
202
203func (x *ModelEvaluation) GetEvaluatedExampleCount() int32 {
204	if x != nil {
205		return x.EvaluatedExampleCount
206	}
207	return 0
208}
209
210type isModelEvaluation_Metrics interface {
211	isModelEvaluation_Metrics()
212}
213
214type ModelEvaluation_ClassificationEvaluationMetrics struct {
215	// Model evaluation metrics for image, text, video and tables
216	// classification.
217	// Tables problem is considered a classification when the target column
218	// is CATEGORY DataType.
219	ClassificationEvaluationMetrics *ClassificationEvaluationMetrics `protobuf:"bytes,8,opt,name=classification_evaluation_metrics,json=classificationEvaluationMetrics,proto3,oneof"`
220}
221
222type ModelEvaluation_TranslationEvaluationMetrics struct {
223	// Model evaluation metrics for translation.
224	TranslationEvaluationMetrics *TranslationEvaluationMetrics `protobuf:"bytes,9,opt,name=translation_evaluation_metrics,json=translationEvaluationMetrics,proto3,oneof"`
225}
226
227type ModelEvaluation_ImageObjectDetectionEvaluationMetrics struct {
228	// Model evaluation metrics for image object detection.
229	ImageObjectDetectionEvaluationMetrics *ImageObjectDetectionEvaluationMetrics `protobuf:"bytes,12,opt,name=image_object_detection_evaluation_metrics,json=imageObjectDetectionEvaluationMetrics,proto3,oneof"`
230}
231
232type ModelEvaluation_TextSentimentEvaluationMetrics struct {
233	// Evaluation metrics for text sentiment models.
234	TextSentimentEvaluationMetrics *TextSentimentEvaluationMetrics `protobuf:"bytes,11,opt,name=text_sentiment_evaluation_metrics,json=textSentimentEvaluationMetrics,proto3,oneof"`
235}
236
237type ModelEvaluation_TextExtractionEvaluationMetrics struct {
238	// Evaluation metrics for text extraction models.
239	TextExtractionEvaluationMetrics *TextExtractionEvaluationMetrics `protobuf:"bytes,13,opt,name=text_extraction_evaluation_metrics,json=textExtractionEvaluationMetrics,proto3,oneof"`
240}
241
242func (*ModelEvaluation_ClassificationEvaluationMetrics) isModelEvaluation_Metrics() {}
243
244func (*ModelEvaluation_TranslationEvaluationMetrics) isModelEvaluation_Metrics() {}
245
246func (*ModelEvaluation_ImageObjectDetectionEvaluationMetrics) isModelEvaluation_Metrics() {}
247
248func (*ModelEvaluation_TextSentimentEvaluationMetrics) isModelEvaluation_Metrics() {}
249
250func (*ModelEvaluation_TextExtractionEvaluationMetrics) isModelEvaluation_Metrics() {}
251
252var File_google_cloud_automl_v1_model_evaluation_proto protoreflect.FileDescriptor
253
254var file_google_cloud_automl_v1_model_evaluation_proto_rawDesc = []byte{
255	0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
256	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x65,
257	0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
258	0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
259	0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
260	0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
261	0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
262	0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73,
263	0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
264	0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75,
265	0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
266	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
267	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f,
268	0x74, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
269	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c,
270	0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65,
271	0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
272	0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
273	0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73,
274	0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
275	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
276	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
277	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
278	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x08, 0x0a, 0x0f,
279	0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
280	0x85, 0x01, 0x0a, 0x21, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
281	0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65,
282	0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f,
283	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d,
284	0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
285	0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,
286	0x72, 0x69, 0x63, 0x73, 0x48, 0x00, 0x52, 0x1f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,
287	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e,
288	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x7c, 0x0a, 0x1e, 0x74, 0x72, 0x61, 0x6e, 0x73,
289	0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f,
290	0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
291	0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
292	0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61,
293	0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,
294	0x74, 0x72, 0x69, 0x63, 0x73, 0x48, 0x00, 0x52, 0x1c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61,
295	0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,
296	0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x99, 0x01, 0x0a, 0x29, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
297	0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
298	0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72,
299	0x69, 0x63, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
300	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e,
301	0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65,
302	0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f,
303	0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x48, 0x00, 0x52, 0x25, 0x69, 0x6d, 0x61, 0x67,
304	0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
305	0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
306	0x73, 0x12, 0x83, 0x01, 0x0a, 0x21, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69,
307	0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
308	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e,
309	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
310	0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69,
311	0x6d, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65,
312	0x74, 0x72, 0x69, 0x63, 0x73, 0x48, 0x00, 0x52, 0x1e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e,
313	0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e,
314	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x86, 0x01, 0x0a, 0x22, 0x74, 0x65, 0x78, 0x74,
315	0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x61, 0x6c,
316	0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x0d,
317	0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
318	0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65,
319	0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c,
320	0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x48, 0x00, 0x52,
321	0x1f, 0x74, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45,
322	0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
323	0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
324	0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
325	0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
326	0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63,
327	0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
328	0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
329	0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
330	0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
331	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
332	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
333	0x6d, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x5f,
334	0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20,
335	0x01, 0x28, 0x05, 0x52, 0x15, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78,
336	0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x87, 0x01, 0xea, 0x41, 0x83,
337	0x01, 0x0a, 0x25, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
338	0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76,
339	0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
340	0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63,
341	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
342	0x7d, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d,
343	0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e,
344	0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74,
345	0x69, 0x6f, 0x6e, 0x7d, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42,
346	0xaa, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
347	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x50, 0x01,
348	0x5a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
349	0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
350	0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75,
351	0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0xaa, 0x02,
352	0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x75,
353	0x74, 0x6f, 0x4d, 0x4c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
354	0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31,
355	0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
356	0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
357	0x6f, 0x74, 0x6f, 0x33,
358}
359
360var (
361	file_google_cloud_automl_v1_model_evaluation_proto_rawDescOnce sync.Once
362	file_google_cloud_automl_v1_model_evaluation_proto_rawDescData = file_google_cloud_automl_v1_model_evaluation_proto_rawDesc
363)
364
365func file_google_cloud_automl_v1_model_evaluation_proto_rawDescGZIP() []byte {
366	file_google_cloud_automl_v1_model_evaluation_proto_rawDescOnce.Do(func() {
367		file_google_cloud_automl_v1_model_evaluation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_model_evaluation_proto_rawDescData)
368	})
369	return file_google_cloud_automl_v1_model_evaluation_proto_rawDescData
370}
371
372var file_google_cloud_automl_v1_model_evaluation_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
373var file_google_cloud_automl_v1_model_evaluation_proto_goTypes = []interface{}{
374	(*ModelEvaluation)(nil),                       // 0: google.cloud.automl.v1.ModelEvaluation
375	(*ClassificationEvaluationMetrics)(nil),       // 1: google.cloud.automl.v1.ClassificationEvaluationMetrics
376	(*TranslationEvaluationMetrics)(nil),          // 2: google.cloud.automl.v1.TranslationEvaluationMetrics
377	(*ImageObjectDetectionEvaluationMetrics)(nil), // 3: google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics
378	(*TextSentimentEvaluationMetrics)(nil),        // 4: google.cloud.automl.v1.TextSentimentEvaluationMetrics
379	(*TextExtractionEvaluationMetrics)(nil),       // 5: google.cloud.automl.v1.TextExtractionEvaluationMetrics
380	(*timestamp.Timestamp)(nil),                   // 6: google.protobuf.Timestamp
381}
382var file_google_cloud_automl_v1_model_evaluation_proto_depIdxs = []int32{
383	1, // 0: google.cloud.automl.v1.ModelEvaluation.classification_evaluation_metrics:type_name -> google.cloud.automl.v1.ClassificationEvaluationMetrics
384	2, // 1: google.cloud.automl.v1.ModelEvaluation.translation_evaluation_metrics:type_name -> google.cloud.automl.v1.TranslationEvaluationMetrics
385	3, // 2: google.cloud.automl.v1.ModelEvaluation.image_object_detection_evaluation_metrics:type_name -> google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics
386	4, // 3: google.cloud.automl.v1.ModelEvaluation.text_sentiment_evaluation_metrics:type_name -> google.cloud.automl.v1.TextSentimentEvaluationMetrics
387	5, // 4: google.cloud.automl.v1.ModelEvaluation.text_extraction_evaluation_metrics:type_name -> google.cloud.automl.v1.TextExtractionEvaluationMetrics
388	6, // 5: google.cloud.automl.v1.ModelEvaluation.create_time:type_name -> google.protobuf.Timestamp
389	6, // [6:6] is the sub-list for method output_type
390	6, // [6:6] is the sub-list for method input_type
391	6, // [6:6] is the sub-list for extension type_name
392	6, // [6:6] is the sub-list for extension extendee
393	0, // [0:6] is the sub-list for field type_name
394}
395
396func init() { file_google_cloud_automl_v1_model_evaluation_proto_init() }
397func file_google_cloud_automl_v1_model_evaluation_proto_init() {
398	if File_google_cloud_automl_v1_model_evaluation_proto != nil {
399		return
400	}
401	file_google_cloud_automl_v1_classification_proto_init()
402	file_google_cloud_automl_v1_detection_proto_init()
403	file_google_cloud_automl_v1_text_extraction_proto_init()
404	file_google_cloud_automl_v1_text_sentiment_proto_init()
405	file_google_cloud_automl_v1_translation_proto_init()
406	if !protoimpl.UnsafeEnabled {
407		file_google_cloud_automl_v1_model_evaluation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
408			switch v := v.(*ModelEvaluation); i {
409			case 0:
410				return &v.state
411			case 1:
412				return &v.sizeCache
413			case 2:
414				return &v.unknownFields
415			default:
416				return nil
417			}
418		}
419	}
420	file_google_cloud_automl_v1_model_evaluation_proto_msgTypes[0].OneofWrappers = []interface{}{
421		(*ModelEvaluation_ClassificationEvaluationMetrics)(nil),
422		(*ModelEvaluation_TranslationEvaluationMetrics)(nil),
423		(*ModelEvaluation_ImageObjectDetectionEvaluationMetrics)(nil),
424		(*ModelEvaluation_TextSentimentEvaluationMetrics)(nil),
425		(*ModelEvaluation_TextExtractionEvaluationMetrics)(nil),
426	}
427	type x struct{}
428	out := protoimpl.TypeBuilder{
429		File: protoimpl.DescBuilder{
430			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
431			RawDescriptor: file_google_cloud_automl_v1_model_evaluation_proto_rawDesc,
432			NumEnums:      0,
433			NumMessages:   1,
434			NumExtensions: 0,
435			NumServices:   0,
436		},
437		GoTypes:           file_google_cloud_automl_v1_model_evaluation_proto_goTypes,
438		DependencyIndexes: file_google_cloud_automl_v1_model_evaluation_proto_depIdxs,
439		MessageInfos:      file_google_cloud_automl_v1_model_evaluation_proto_msgTypes,
440	}.Build()
441	File_google_cloud_automl_v1_model_evaluation_proto = out.File
442	file_google_cloud_automl_v1_model_evaluation_proto_rawDesc = nil
443	file_google_cloud_automl_v1_model_evaluation_proto_goTypes = nil
444	file_google_cloud_automl_v1_model_evaluation_proto_depIdxs = nil
445}
446