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