| 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/classification.proto |
| 20 |
|
| 21 |
package automlpb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
// Verify that this generated code is sufficiently up-to-date. |
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
// Type of the classification problem. |
| 38 |
type ClassificationType int32 |
| 39 |
|
| 40 |
const ( |
| 41 |
// An un-set value of this enum. |
| 42 |
ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED ClassificationType = 0 |
| 43 |
// At most one label is allowed per example. |
| 44 |
ClassificationType_MULTICLASS ClassificationType = 1 |
| 45 |
// Multiple labels are allowed for one example. |
| 46 |
ClassificationType_MULTILABEL ClassificationType = 2 |
| 47 |
) |
| 48 |
|
| 49 |
// Enum value maps for ClassificationType. |
| 50 |
var ( |
| 51 |
ClassificationType_name = map[int32]string{ |
| 52 |
0: "CLASSIFICATION_TYPE_UNSPECIFIED", |
| 53 |
1: "MULTICLASS", |
| 54 |
2: "MULTILABEL", |
| 55 |
} |
| 56 |
ClassificationType_value = map[string]int32{ |
| 57 |
"CLASSIFICATION_TYPE_UNSPECIFIED": 0, |
| 58 |
"MULTICLASS": 1, |
| 59 |
"MULTILABEL": 2, |
| 60 |
} |
| 61 |
) |
| 62 |
|
| 63 |
func (x ClassificationType) Enum() *ClassificationType { |
| 64 |
p := new(ClassificationType) |
| 65 |
*p = x |
| 66 |
return p |
| 67 |
} |
| 68 |
|
| 69 |
func (x ClassificationType) String() string { |
| 70 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 71 |
} |
| 72 |
|
| 73 |
func (ClassificationType) Descriptor() protoreflect.EnumDescriptor { |
| 74 |
return file_google_cloud_automl_v1_classification_proto_enumTypes[0].Descriptor() |
| 75 |
} |
| 76 |
|
| 77 |
func (ClassificationType) Type() protoreflect.EnumType { |
| 78 |
return &file_google_cloud_automl_v1_classification_proto_enumTypes[0] |
| 79 |
} |
| 80 |
|
| 81 |
func (x ClassificationType) Number() protoreflect.EnumNumber { |
| 82 |
return protoreflect.EnumNumber(x) |
| 83 |
} |
| 84 |
|
| 85 |
// Deprecated: Use ClassificationType.Descriptor instead. |
| 86 |
func (ClassificationType) EnumDescriptor() ([]byte, []int) { |
| 87 |
return file_google_cloud_automl_v1_classification_proto_rawDescGZIP(), []int{0} |
| 88 |
} |
| 89 |
|
| 90 |
// Contains annotation details specific to classification. |
| 91 |
type ClassificationAnnotation struct { |
| 92 |
state protoimpl.MessageState |
| 93 |
sizeCache protoimpl.SizeCache |
| 94 |
unknownFields protoimpl.UnknownFields |
| 95 |
|
| 96 |
// Output only. A confidence estimate between 0.0 and 1.0. A higher value |
| 97 |
// means greater confidence that the annotation is positive. If a user |
| 98 |
// approves an annotation as negative or positive, the score value remains |
| 99 |
// unchanged. If a user creates an annotation, the score is 0 for negative or |
| 100 |
// 1 for positive. |
| 101 |
Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` |
| 102 |
} |
| 103 |
|
| 104 |
func (x *ClassificationAnnotation) Reset() { |
| 105 |
*x = ClassificationAnnotation{} |
| 106 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[0] |
| 107 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 108 |
ms.StoreMessageInfo(mi) |
| 109 |
} |
| 110 |
|
| 111 |
func (x *ClassificationAnnotation) String() string { |
| 112 |
return protoimpl.X.MessageStringOf(x) |
| 113 |
} |
| 114 |
|
| 115 |
func (*ClassificationAnnotation) ProtoMessage() {} |
| 116 |
|
| 117 |
func (x *ClassificationAnnotation) ProtoReflect() protoreflect.Message { |
| 118 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[0] |
| 119 |
if x != nil { |
| 120 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 121 |
if ms.LoadMessageInfo() == nil { |
| 122 |
ms.StoreMessageInfo(mi) |
| 123 |
} |
| 124 |
return ms |
| 125 |
} |
| 126 |
return mi.MessageOf(x) |
| 127 |
} |
| 128 |
|
| 129 |
// Deprecated: Use ClassificationAnnotation.ProtoReflect.Descriptor instead. |
| 130 |
func (*ClassificationAnnotation) Descriptor() ([]byte, []int) { |
| 131 |
return file_google_cloud_automl_v1_classification_proto_rawDescGZIP(), []int{0} |
| 132 |
} |
| 133 |
|
| 134 |
func (x *ClassificationAnnotation) GetScore() float32 { |
| 135 |
if x != nil { |
| 136 |
return x.Score |
| 137 |
} |
| 138 |
return 0 |
| 139 |
} |
| 140 |
|
| 141 |
// Model evaluation metrics for classification problems. |
| 142 |
// Note: For Video Classification this metrics only describe quality of the |
| 143 |
// Video Classification predictions of "segment_classification" type. |
| 144 |
type ClassificationEvaluationMetrics struct { |
| 145 |
state protoimpl.MessageState |
| 146 |
sizeCache protoimpl.SizeCache |
| 147 |
unknownFields protoimpl.UnknownFields |
| 148 |
|
| 149 |
// Output only. The Area Under Precision-Recall Curve metric. Micro-averaged |
| 150 |
// for the overall evaluation. |
| 151 |
AuPrc float32 `protobuf:"fixed32,1,opt,name=au_prc,json=auPrc,proto3" json:"au_prc,omitempty"` |
| 152 |
// Output only. The Area Under Receiver Operating Characteristic curve metric. |
| 153 |
// Micro-averaged for the overall evaluation. |
| 154 |
AuRoc float32 `protobuf:"fixed32,6,opt,name=au_roc,json=auRoc,proto3" json:"au_roc,omitempty"` |
| 155 |
// Output only. The Log Loss metric. |
| 156 |
LogLoss float32 `protobuf:"fixed32,7,opt,name=log_loss,json=logLoss,proto3" json:"log_loss,omitempty"` |
| 157 |
// Output only. Metrics for each confidence_threshold in |
| 158 |
// 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and |
| 159 |
// position_threshold = INT32_MAX_VALUE. |
| 160 |
// ROC and precision-recall curves, and other aggregated metrics are derived |
| 161 |
// from them. The confidence metrics entries may also be supplied for |
| 162 |
// additional values of position_threshold, but from these no aggregated |
| 163 |
// metrics are computed. |
| 164 |
ConfidenceMetricsEntry []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry `protobuf:"bytes,3,rep,name=confidence_metrics_entry,json=confidenceMetricsEntry,proto3" json:"confidence_metrics_entry,omitempty"` |
| 165 |
// Output only. Confusion matrix of the evaluation. |
| 166 |
// Only set for MULTICLASS classification problems where number |
| 167 |
// of labels is no more than 10. |
| 168 |
// Only set for model level evaluation, not for evaluation per label. |
| 169 |
ConfusionMatrix *ClassificationEvaluationMetrics_ConfusionMatrix `protobuf:"bytes,4,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"` |
| 170 |
// Output only. The annotation spec ids used for this evaluation. |
| 171 |
AnnotationSpecId []string `protobuf:"bytes,5,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` |
| 172 |
} |
| 173 |
|
| 174 |
func (x *ClassificationEvaluationMetrics) Reset() { |
| 175 |
*x = ClassificationEvaluationMetrics{} |
| 176 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[1] |
| 177 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 178 |
ms.StoreMessageInfo(mi) |
| 179 |
} |
| 180 |
|
| 181 |
func (x *ClassificationEvaluationMetrics) String() string { |
| 182 |
return protoimpl.X.MessageStringOf(x) |
| 183 |
} |
| 184 |
|
| 185 |
func (*ClassificationEvaluationMetrics) ProtoMessage() {} |
| 186 |
|
| 187 |
func (x *ClassificationEvaluationMetrics) ProtoReflect() protoreflect.Message { |
| 188 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[1] |
| 189 |
if x != nil { |
| 190 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 191 |
if ms.LoadMessageInfo() == nil { |
| 192 |
ms.StoreMessageInfo(mi) |
| 193 |
} |
| 194 |
return ms |
| 195 |
} |
| 196 |
return mi.MessageOf(x) |
| 197 |
} |
| 198 |
|
| 199 |
// Deprecated: Use ClassificationEvaluationMetrics.ProtoReflect.Descriptor instead. |
| 200 |
func (*ClassificationEvaluationMetrics) Descriptor() ([]byte, []int) { |
| 201 |
return file_google_cloud_automl_v1_classification_proto_rawDescGZIP(), []int{1} |
| 202 |
} |
| 203 |
|
| 204 |
func (x *ClassificationEvaluationMetrics) GetAuPrc() float32 { |
| 205 |
if x != nil { |
| 206 |
return x.AuPrc |
| 207 |
} |
| 208 |
return 0 |
| 209 |
} |
| 210 |
|
| 211 |
func (x *ClassificationEvaluationMetrics) GetAuRoc() float32 { |
| 212 |
if x != nil { |
| 213 |
return x.AuRoc |
| 214 |
} |
| 215 |
return 0 |
| 216 |
} |
| 217 |
|
| 218 |
func (x *ClassificationEvaluationMetrics) GetLogLoss() float32 { |
| 219 |
if x != nil { |
| 220 |
return x.LogLoss |
| 221 |
} |
| 222 |
return 0 |
| 223 |
} |
| 224 |
|
| 225 |
func (x *ClassificationEvaluationMetrics) GetConfidenceMetricsEntry() []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry { |
| 226 |
if x != nil { |
| 227 |
return x.ConfidenceMetricsEntry |
| 228 |
} |
| 229 |
return nil |
| 230 |
} |
| 231 |
|
| 232 |
func (x *ClassificationEvaluationMetrics) GetConfusionMatrix() *ClassificationEvaluationMetrics_ConfusionMatrix { |
| 233 |
if x != nil { |
| 234 |
return x.ConfusionMatrix |
| 235 |
} |
| 236 |
return nil |
| 237 |
} |
| 238 |
|
| 239 |
func (x *ClassificationEvaluationMetrics) GetAnnotationSpecId() []string { |
| 240 |
if x != nil { |
| 241 |
return x.AnnotationSpecId |
| 242 |
} |
| 243 |
return nil |
| 244 |
} |
| 245 |
|
| 246 |
// Metrics for a single confidence threshold. |
| 247 |
type ClassificationEvaluationMetrics_ConfidenceMetricsEntry struct { |
| 248 |
state protoimpl.MessageState |
| 249 |
sizeCache protoimpl.SizeCache |
| 250 |
unknownFields protoimpl.UnknownFields |
| 251 |
|
| 252 |
// Output only. Metrics are computed with an assumption that the model |
| 253 |
// never returns predictions with score lower than this value. |
| 254 |
ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` |
| 255 |
// Output only. Metrics are computed with an assumption that the model |
| 256 |
// always returns at most this many predictions (ordered by their score, |
| 257 |
// descendingly), but they all still need to meet the confidence_threshold. |
| 258 |
PositionThreshold int32 `protobuf:"varint,14,opt,name=position_threshold,json=positionThreshold,proto3" json:"position_threshold,omitempty"` |
| 259 |
// Output only. Recall (True Positive Rate) for the given confidence |
| 260 |
// threshold. |
| 261 |
Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"` |
| 262 |
// Output only. Precision for the given confidence threshold. |
| 263 |
Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"` |
| 264 |
// Output only. False Positive Rate for the given confidence threshold. |
| 265 |
FalsePositiveRate float32 `protobuf:"fixed32,8,opt,name=false_positive_rate,json=falsePositiveRate,proto3" json:"false_positive_rate,omitempty"` |
| 266 |
// Output only. The harmonic mean of recall and precision. |
| 267 |
F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` |
| 268 |
// Output only. The Recall (True Positive Rate) when only considering the |
| 269 |
// label that has the highest prediction score and not below the confidence |
| 270 |
// threshold for each example. |
| 271 |
RecallAt1 float32 `protobuf:"fixed32,5,opt,name=recall_at1,json=recallAt1,proto3" json:"recall_at1,omitempty"` |
| 272 |
// Output only. The precision when only considering the label that has the |
| 273 |
// highest prediction score and not below the confidence threshold for each |
| 274 |
// example. |
| 275 |
PrecisionAt1 float32 `protobuf:"fixed32,6,opt,name=precision_at1,json=precisionAt1,proto3" json:"precision_at1,omitempty"` |
| 276 |
// Output only. The False Positive Rate when only considering the label that |
| 277 |
// has the highest prediction score and not below the confidence threshold |
| 278 |
// for each example. |
| 279 |
FalsePositiveRateAt1 float32 `protobuf:"fixed32,9,opt,name=false_positive_rate_at1,json=falsePositiveRateAt1,proto3" json:"false_positive_rate_at1,omitempty"` |
| 280 |
// Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1]. |
| 281 |
F1ScoreAt1 float32 `protobuf:"fixed32,7,opt,name=f1_score_at1,json=f1ScoreAt1,proto3" json:"f1_score_at1,omitempty"` |
| 282 |
// Output only. The number of model created labels that match a ground truth |
| 283 |
// label. |
| 284 |
TruePositiveCount int64 `protobuf:"varint,10,opt,name=true_positive_count,json=truePositiveCount,proto3" json:"true_positive_count,omitempty"` |
| 285 |
// Output only. The number of model created labels that do not match a |
| 286 |
// ground truth label. |
| 287 |
FalsePositiveCount int64 `protobuf:"varint,11,opt,name=false_positive_count,json=falsePositiveCount,proto3" json:"false_positive_count,omitempty"` |
| 288 |
// Output only. The number of ground truth labels that are not matched |
| 289 |
// by a model created label. |
| 290 |
FalseNegativeCount int64 `protobuf:"varint,12,opt,name=false_negative_count,json=falseNegativeCount,proto3" json:"false_negative_count,omitempty"` |
| 291 |
// Output only. The number of labels that were not created by the model, |
| 292 |
// but if they would, they would not match a ground truth label. |
| 293 |
TrueNegativeCount int64 `protobuf:"varint,13,opt,name=true_negative_count,json=trueNegativeCount,proto3" json:"true_negative_count,omitempty"` |
| 294 |
} |
| 295 |
|
| 296 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Reset() { |
| 297 |
*x = ClassificationEvaluationMetrics_ConfidenceMetricsEntry{} |
| 298 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[2] |
| 299 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 300 |
ms.StoreMessageInfo(mi) |
| 301 |
} |
| 302 |
|
| 303 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) String() string { |
| 304 |
return protoimpl.X.MessageStringOf(x) |
| 305 |
} |
| 306 |
|
| 307 |
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage() {} |
| 308 |
|
| 309 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoReflect() protoreflect.Message { |
| 310 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[2] |
| 311 |
if x != nil { |
| 312 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 313 |
if ms.LoadMessageInfo() == nil { |
| 314 |
ms.StoreMessageInfo(mi) |
| 315 |
} |
| 316 |
return ms |
| 317 |
} |
| 318 |
return mi.MessageOf(x) |
| 319 |
} |
| 320 |
|
| 321 |
// Deprecated: Use ClassificationEvaluationMetrics_ConfidenceMetricsEntry.ProtoReflect.Descriptor instead. |
| 322 |
func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { |
| 323 |
return file_google_cloud_automl_v1_classification_proto_rawDescGZIP(), []int{1, 0} |
| 324 |
} |
| 325 |
|
| 326 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 { |
| 327 |
if x != nil { |
| 328 |
return x.ConfidenceThreshold |
| 329 |
} |
| 330 |
return 0 |
| 331 |
} |
| 332 |
|
| 333 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPositionThreshold() int32 { |
| 334 |
if x != nil { |
| 335 |
return x.PositionThreshold |
| 336 |
} |
| 337 |
return 0 |
| 338 |
} |
| 339 |
|
| 340 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecall() float32 { |
| 341 |
if x != nil { |
| 342 |
return x.Recall |
| 343 |
} |
| 344 |
return 0 |
| 345 |
} |
| 346 |
|
| 347 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision() float32 { |
| 348 |
if x != nil { |
| 349 |
return x.Precision |
| 350 |
} |
| 351 |
return 0 |
| 352 |
} |
| 353 |
|
| 354 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalsePositiveRate() float32 { |
| 355 |
if x != nil { |
| 356 |
return x.FalsePositiveRate |
| 357 |
} |
| 358 |
return 0 |
| 359 |
} |
| 360 |
|
| 361 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score() float32 { |
| 362 |
if x != nil { |
| 363 |
return x.F1Score |
| 364 |
} |
| 365 |
return 0 |
| 366 |
} |
| 367 |
|
| 368 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecallAt1() float32 { |
| 369 |
if x != nil { |
| 370 |
return x.RecallAt1 |
| 371 |
} |
| 372 |
return 0 |
| 373 |
} |
| 374 |
|
| 375 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecisionAt1() float32 { |
| 376 |
if x != nil { |
| 377 |
return x.PrecisionAt1 |
| 378 |
} |
| 379 |
return 0 |
| 380 |
} |
| 381 |
|
| 382 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalsePositiveRateAt1() float32 { |
| 383 |
if x != nil { |
| 384 |
return x.FalsePositiveRateAt1 |
| 385 |
} |
| 386 |
return 0 |
| 387 |
} |
| 388 |
|
| 389 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1ScoreAt1() float32 { |
| 390 |
if x != nil { |
| 391 |
return x.F1ScoreAt1 |
| 392 |
} |
| 393 |
return 0 |
| 394 |
} |
| 395 |
|
| 396 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetTruePositiveCount() int64 { |
| 397 |
if x != nil { |
| 398 |
return x.TruePositiveCount |
| 399 |
} |
| 400 |
return 0 |
| 401 |
} |
| 402 |
|
| 403 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalsePositiveCount() int64 { |
| 404 |
if x != nil { |
| 405 |
return x.FalsePositiveCount |
| 406 |
} |
| 407 |
return 0 |
| 408 |
} |
| 409 |
|
| 410 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalseNegativeCount() int64 { |
| 411 |
if x != nil { |
| 412 |
return x.FalseNegativeCount |
| 413 |
} |
| 414 |
return 0 |
| 415 |
} |
| 416 |
|
| 417 |
func (x *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetTrueNegativeCount() int64 { |
| 418 |
if x != nil { |
| 419 |
return x.TrueNegativeCount |
| 420 |
} |
| 421 |
return 0 |
| 422 |
} |
| 423 |
|
| 424 |
// Confusion matrix of the model running the classification. |
| 425 |
type ClassificationEvaluationMetrics_ConfusionMatrix struct { |
| 426 |
state protoimpl.MessageState |
| 427 |
sizeCache protoimpl.SizeCache |
| 428 |
unknownFields protoimpl.UnknownFields |
| 429 |
|
| 430 |
// Output only. IDs of the annotation specs used in the confusion matrix. |
| 431 |
// For Tables CLASSIFICATION |
| 432 |
// [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type] |
| 433 |
// only list of [annotation_spec_display_name-s][] is populated. |
| 434 |
AnnotationSpecId []string `protobuf:"bytes,1,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` |
| 435 |
// Output only. Display name of the annotation specs used in the confusion |
| 436 |
// matrix, as they were at the moment of the evaluation. For Tables |
| 437 |
// CLASSIFICATION |
| 438 |
// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type], |
| 439 |
// distinct values of the target column at the moment of the model |
| 440 |
// evaluation are populated here. |
| 441 |
DisplayName []string `protobuf:"bytes,3,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 442 |
// Output only. Rows in the confusion matrix. The number of rows is equal to |
| 443 |
// the size of `annotation_spec_id`. |
| 444 |
// `row[i].example_count[j]` is the number of examples that have ground |
| 445 |
// truth of the `annotation_spec_id[i]` and are predicted as |
| 446 |
// `annotation_spec_id[j]` by the model being evaluated. |
| 447 |
Row []*ClassificationEvaluationMetrics_ConfusionMatrix_Row `protobuf:"bytes,2,rep,name=row,proto3" json:"row,omitempty"` |
| 448 |
} |
| 449 |
|
| 450 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix) Reset() { |
| 451 |
*x = ClassificationEvaluationMetrics_ConfusionMatrix{} |
| 452 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[3] |
| 453 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 454 |
ms.StoreMessageInfo(mi) |
| 455 |
} |
| 456 |
|
| 457 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix) String() string { |
| 458 |
return protoimpl.X.MessageStringOf(x) |
| 459 |
} |
| 460 |
|
| 461 |
func (*ClassificationEvaluationMetrics_ConfusionMatrix) ProtoMessage() {} |
| 462 |
|
| 463 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix) ProtoReflect() protoreflect.Message { |
| 464 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[3] |
| 465 |
if x != nil { |
| 466 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 467 |
if ms.LoadMessageInfo() == nil { |
| 468 |
ms.StoreMessageInfo(mi) |
| 469 |
} |
| 470 |
return ms |
| 471 |
} |
| 472 |
return mi.MessageOf(x) |
| 473 |
} |
| 474 |
|
| 475 |
// Deprecated: Use ClassificationEvaluationMetrics_ConfusionMatrix.ProtoReflect.Descriptor instead. |
| 476 |
func (*ClassificationEvaluationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int) { |
| 477 |
return file_google_cloud_automl_v1_classification_proto_rawDescGZIP(), []int{1, 1} |
| 478 |
} |
| 479 |
|
| 480 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix) GetAnnotationSpecId() []string { |
| 481 |
if x != nil { |
| 482 |
return x.AnnotationSpecId |
| 483 |
} |
| 484 |
return nil |
| 485 |
} |
| 486 |
|
| 487 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix) GetDisplayName() []string { |
| 488 |
if x != nil { |
| 489 |
return x.DisplayName |
| 490 |
} |
| 491 |
return nil |
| 492 |
} |
| 493 |
|
| 494 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix) GetRow() []*ClassificationEvaluationMetrics_ConfusionMatrix_Row { |
| 495 |
if x != nil { |
| 496 |
return x.Row |
| 497 |
} |
| 498 |
return nil |
| 499 |
} |
| 500 |
|
| 501 |
// Output only. A row in the confusion matrix. |
| 502 |
type ClassificationEvaluationMetrics_ConfusionMatrix_Row struct { |
| 503 |
state protoimpl.MessageState |
| 504 |
sizeCache protoimpl.SizeCache |
| 505 |
unknownFields protoimpl.UnknownFields |
| 506 |
|
| 507 |
// Output only. Value of the specific cell in the confusion matrix. |
| 508 |
// The number of values each row has (i.e. the length of the row) is equal |
| 509 |
// to the length of the `annotation_spec_id` field or, if that one is not |
| 510 |
// populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. |
| 511 |
ExampleCount []int32 `protobuf:"varint,1,rep,packed,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` |
| 512 |
} |
| 513 |
|
| 514 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix_Row) Reset() { |
| 515 |
*x = ClassificationEvaluationMetrics_ConfusionMatrix_Row{} |
| 516 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[4] |
| 517 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 518 |
ms.StoreMessageInfo(mi) |
| 519 |
} |
| 520 |
|
| 521 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix_Row) String() string { |
| 522 |
return protoimpl.X.MessageStringOf(x) |
| 523 |
} |
| 524 |
|
| 525 |
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoMessage() {} |
| 526 |
|
| 527 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoReflect() protoreflect.Message { |
| 528 |
mi := &file_google_cloud_automl_v1_classification_proto_msgTypes[4] |
| 529 |
if x != nil { |
| 530 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 531 |
if ms.LoadMessageInfo() == nil { |
| 532 |
ms.StoreMessageInfo(mi) |
| 533 |
} |
| 534 |
return ms |
| 535 |
} |
| 536 |
return mi.MessageOf(x) |
| 537 |
} |
| 538 |
|
| 539 |
// Deprecated: Use ClassificationEvaluationMetrics_ConfusionMatrix_Row.ProtoReflect.Descriptor instead. |
| 540 |
func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int) { |
| 541 |
return file_google_cloud_automl_v1_classification_proto_rawDescGZIP(), []int{1, 1, 0} |
| 542 |
} |
| 543 |
|
| 544 |
func (x *ClassificationEvaluationMetrics_ConfusionMatrix_Row) GetExampleCount() []int32 { |
| 545 |
if x != nil { |
| 546 |
return x.ExampleCount |
| 547 |
} |
| 548 |
return nil |
| 549 |
} |
| 550 |
|
| 551 |
var File_google_cloud_automl_v1_classification_proto protoreflect.FileDescriptor |
| 552 |
|
| 553 |
var file_google_cloud_automl_v1_classification_proto_rawDesc = []byte{ |
| 554 |
0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 555 |
0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, |
| 556 |
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, |
| 557 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, |
| 558 |
0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x22, 0x30, 0x0a, 0x18, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, |
| 559 |
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 560 |
0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, |
| 561 |
0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xe6, 0x09, 0x0a, 0x1f, 0x43, 0x6c, 0x61, 0x73, |
| 562 |
0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, |
| 563 |
0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x61, |
| 564 |
0x75, 0x5f, 0x70, 0x72, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x61, 0x75, 0x50, |
| 565 |
0x72, 0x63, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x75, 0x5f, 0x72, 0x6f, 0x63, 0x18, 0x06, 0x20, 0x01, |
| 566 |
0x28, 0x02, 0x52, 0x05, 0x61, 0x75, 0x52, 0x6f, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, |
| 567 |
0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x6c, 0x6f, 0x67, |
| 568 |
0x4c, 0x6f, 0x73, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, |
| 569 |
0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, |
| 570 |
0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 571 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, |
| 572 |
0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, |
| 573 |
0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 574 |
0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, |
| 575 |
0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, |
| 576 |
0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, |
| 577 |
0x72, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x74, |
| 578 |
0x72, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 579 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, |
| 580 |
0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 581 |
0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, |
| 582 |
0x63, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x72, |
| 583 |
0x69, 0x78, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x74, |
| 584 |
0x72, 0x69, 0x78, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 585 |
0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 586 |
0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, |
| 587 |
0x64, 0x1a, 0xdc, 0x04, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, |
| 588 |
0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x14, |
| 589 |
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, |
| 590 |
0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, |
| 591 |
0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, |
| 592 |
0x2d, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, |
| 593 |
0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x70, 0x6f, 0x73, |
| 594 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x16, |
| 595 |
0x0a, 0x06, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, |
| 596 |
0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, |
| 597 |
0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, |
| 598 |
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, |
| 599 |
0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, |
| 600 |
0x02, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, |
| 601 |
0x52, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x31, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, |
| 602 |
0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x66, 0x31, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, |
| 603 |
0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x61, 0x74, 0x31, 0x18, 0x05, 0x20, |
| 604 |
0x01, 0x28, 0x02, 0x52, 0x09, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x41, 0x74, 0x31, 0x12, 0x23, |
| 605 |
0x0a, 0x0d, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x74, 0x31, 0x18, |
| 606 |
0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 607 |
0x41, 0x74, 0x31, 0x12, 0x35, 0x0a, 0x17, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, |
| 608 |
0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x74, 0x31, 0x18, 0x09, |
| 609 |
0x20, 0x01, 0x28, 0x02, 0x52, 0x14, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, |
| 610 |
0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, 0x41, 0x74, 0x31, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x31, |
| 611 |
0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x74, 0x31, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, |
| 612 |
0x52, 0x0a, 0x66, 0x31, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x74, 0x31, 0x12, 0x2e, 0x0a, 0x13, |
| 613 |
0x74, 0x72, 0x75, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, |
| 614 |
0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, 0x72, 0x75, 0x65, 0x50, |
| 615 |
0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, |
| 616 |
0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, |
| 617 |
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x66, 0x61, 0x6c, 0x73, |
| 618 |
0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, |
| 619 |
0x0a, 0x14, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, |
| 620 |
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x66, 0x61, |
| 621 |
0x6c, 0x73, 0x65, 0x4e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 622 |
0x12, 0x2e, 0x0a, 0x13, 0x74, 0x72, 0x75, 0x65, 0x5f, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, |
| 623 |
0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, |
| 624 |
0x72, 0x75, 0x65, 0x4e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 625 |
0x1a, 0xed, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, |
| 626 |
0x74, 0x72, 0x69, 0x78, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, |
| 627 |
0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, |
| 628 |
0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, |
| 629 |
0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, |
| 630 |
0x6d, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, |
| 631 |
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x5d, 0x0a, 0x03, 0x72, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x03, |
| 632 |
0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 633 |
0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, |
| 634 |
0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, |
| 635 |
0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, |
| 636 |
0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x2e, 0x52, 0x6f, 0x77, 0x52, |
| 637 |
0x03, 0x72, 0x6f, 0x77, 0x1a, 0x2a, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d, 0x65, |
| 638 |
0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, |
| 639 |
0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 640 |
0x2a, 0x59, 0x0a, 0x12, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, |
| 641 |
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, |
| 642 |
0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 643 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, |
| 644 |
0x55, 0x4c, 0x54, 0x49, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, |
| 645 |
0x55, 0x4c, 0x54, 0x49, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x02, 0x42, 0xb5, 0x01, 0x0a, 0x1a, |
| 646 |
0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 647 |
0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x43, 0x6c, 0x61, 0x73, |
| 648 |
0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 649 |
0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 650 |
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, |
| 651 |
0x69, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, |
| 652 |
0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, |
| 653 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x2e, 0x56, 0x31, 0xca, 0x02, |
| 654 |
0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, |
| 655 |
0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 656 |
0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, |
| 657 |
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 658 |
} |
| 659 |
|
| 660 |
var ( |
| 661 |
file_google_cloud_automl_v1_classification_proto_rawDescOnce sync.Once |
| 662 |
file_google_cloud_automl_v1_classification_proto_rawDescData = file_google_cloud_automl_v1_classification_proto_rawDesc |
| 663 |
) |
| 664 |
|
| 665 |
func file_google_cloud_automl_v1_classification_proto_rawDescGZIP() []byte { |
| 666 |
file_google_cloud_automl_v1_classification_proto_rawDescOnce.Do(func() { |
| 667 |
file_google_cloud_automl_v1_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_classification_proto_rawDescData) |
| 668 |
}) |
| 669 |
return file_google_cloud_automl_v1_classification_proto_rawDescData |
| 670 |
} |
| 671 |
|
| 672 |
var file_google_cloud_automl_v1_classification_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 673 |
var file_google_cloud_automl_v1_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 674 |
var file_google_cloud_automl_v1_classification_proto_goTypes = []any{ |
| 675 |
(ClassificationType)(0), // 0: google.cloud.automl.v1.ClassificationType |
| 676 |
(*ClassificationAnnotation)(nil), // 1: google.cloud.automl.v1.ClassificationAnnotation |
| 677 |
(*ClassificationEvaluationMetrics)(nil), // 2: google.cloud.automl.v1.ClassificationEvaluationMetrics |
| 678 |
(*ClassificationEvaluationMetrics_ConfidenceMetricsEntry)(nil), // 3: google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
| 679 |
(*ClassificationEvaluationMetrics_ConfusionMatrix)(nil), // 4: google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix |
| 680 |
(*ClassificationEvaluationMetrics_ConfusionMatrix_Row)(nil), // 5: google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row |
| 681 |
} |
| 682 |
var file_google_cloud_automl_v1_classification_proto_depIdxs = []int32{ |
| 683 |
3, // 0: google.cloud.automl.v1.ClassificationEvaluationMetrics.confidence_metrics_entry:type_name -> google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry |
| 684 |
4, // 1: google.cloud.automl.v1.ClassificationEvaluationMetrics.confusion_matrix:type_name -> google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix |
| 685 |
5, // 2: google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.row:type_name -> google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row |
| 686 |
3, // [3:3] is the sub-list for method output_type |
| 687 |
3, // [3:3] is the sub-list for method input_type |
| 688 |
3, // [3:3] is the sub-list for extension type_name |
| 689 |
3, // [3:3] is the sub-list for extension extendee |
| 690 |
0, // [0:3] is the sub-list for field type_name |
| 691 |
} |
| 692 |
|
| 693 |
func init() { file_google_cloud_automl_v1_classification_proto_init() } |
| 694 |
func file_google_cloud_automl_v1_classification_proto_init() { |
| 695 |
if File_google_cloud_automl_v1_classification_proto != nil { |
| 696 |
return |
| 697 |
} |
| 698 |
type x struct{} |
| 699 |
out := protoimpl.TypeBuilder{ |
| 700 |
File: protoimpl.DescBuilder{ |
| 701 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 702 |
RawDescriptor: file_google_cloud_automl_v1_classification_proto_rawDesc, |
| 703 |
NumEnums: 1, |
| 704 |
NumMessages: 5, |
| 705 |
NumExtensions: 0, |
| 706 |
NumServices: 0, |
| 707 |
}, |
| 708 |
GoTypes: file_google_cloud_automl_v1_classification_proto_goTypes, |
| 709 |
DependencyIndexes: file_google_cloud_automl_v1_classification_proto_depIdxs, |
| 710 |
EnumInfos: file_google_cloud_automl_v1_classification_proto_enumTypes, |
| 711 |
MessageInfos: file_google_cloud_automl_v1_classification_proto_msgTypes, |
| 712 |
}.Build() |
| 713 |
File_google_cloud_automl_v1_classification_proto = out.File |
| 714 |
file_google_cloud_automl_v1_classification_proto_rawDesc = nil |
| 715 |
file_google_cloud_automl_v1_classification_proto_goTypes = nil |
| 716 |
file_google_cloud_automl_v1_classification_proto_depIdxs = nil |
| 717 |
} |