cloud.google.com/go/aiplatform@v1.106.0/apiv1/aiplatformpb/model_evaluation_slice.pb.go (about) 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/aiplatform/v1/model_evaluation_slice.proto 20 21 package aiplatformpb 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 structpb "google.golang.org/protobuf/types/known/structpb" 28 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 29 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" 30 reflect "reflect" 31 sync "sync" 32 ) 33 34 const ( 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 // A collection of metrics calculated by comparing Model's predictions on a 42 // slice of the test data against ground truth annotations. 43 type ModelEvaluationSlice struct { 44 state protoimpl.MessageState 45 sizeCache protoimpl.SizeCache 46 unknownFields protoimpl.UnknownFields 47 48 // Output only. The resource name of the ModelEvaluationSlice. 49 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 50 // Output only. The slice of the test data that is used to evaluate the Model. 51 Slice *ModelEvaluationSlice_Slice `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"` 52 // Output only. Points to a YAML file stored on Google Cloud Storage 53 // describing the 54 // [metrics][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics] of this 55 // ModelEvaluationSlice. The schema is defined as an OpenAPI 3.0.2 [Schema 56 // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). 57 MetricsSchemaUri string `protobuf:"bytes,3,opt,name=metrics_schema_uri,json=metricsSchemaUri,proto3" json:"metrics_schema_uri,omitempty"` 58 // Output only. Sliced evaluation metrics of the Model. The schema of the 59 // metrics is stored in 60 // [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics_schema_uri] 61 Metrics *structpb.Value `protobuf:"bytes,4,opt,name=metrics,proto3" json:"metrics,omitempty"` 62 // Output only. Timestamp when this ModelEvaluationSlice was created. 63 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 64 // Output only. Aggregated explanation metrics for the Model's prediction 65 // output over the data this ModelEvaluation uses. This field is populated 66 // only if the Model is evaluated with explanations, and only for tabular 67 // Models. 68 ModelExplanation *ModelExplanation `protobuf:"bytes,6,opt,name=model_explanation,json=modelExplanation,proto3" json:"model_explanation,omitempty"` 69 } 70 71 func (x *ModelEvaluationSlice) Reset() { 72 *x = ModelEvaluationSlice{} 73 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[0] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 ms.StoreMessageInfo(mi) 76 } 77 78 func (x *ModelEvaluationSlice) String() string { 79 return protoimpl.X.MessageStringOf(x) 80 } 81 82 func (*ModelEvaluationSlice) ProtoMessage() {} 83 84 func (x *ModelEvaluationSlice) ProtoReflect() protoreflect.Message { 85 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[0] 86 if x != nil { 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 88 if ms.LoadMessageInfo() == nil { 89 ms.StoreMessageInfo(mi) 90 } 91 return ms 92 } 93 return mi.MessageOf(x) 94 } 95 96 // Deprecated: Use ModelEvaluationSlice.ProtoReflect.Descriptor instead. 97 func (*ModelEvaluationSlice) Descriptor() ([]byte, []int) { 98 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0} 99 } 100 101 func (x *ModelEvaluationSlice) GetName() string { 102 if x != nil { 103 return x.Name 104 } 105 return "" 106 } 107 108 func (x *ModelEvaluationSlice) GetSlice() *ModelEvaluationSlice_Slice { 109 if x != nil { 110 return x.Slice 111 } 112 return nil 113 } 114 115 func (x *ModelEvaluationSlice) GetMetricsSchemaUri() string { 116 if x != nil { 117 return x.MetricsSchemaUri 118 } 119 return "" 120 } 121 122 func (x *ModelEvaluationSlice) GetMetrics() *structpb.Value { 123 if x != nil { 124 return x.Metrics 125 } 126 return nil 127 } 128 129 func (x *ModelEvaluationSlice) GetCreateTime() *timestamppb.Timestamp { 130 if x != nil { 131 return x.CreateTime 132 } 133 return nil 134 } 135 136 func (x *ModelEvaluationSlice) GetModelExplanation() *ModelExplanation { 137 if x != nil { 138 return x.ModelExplanation 139 } 140 return nil 141 } 142 143 // Definition of a slice. 144 type ModelEvaluationSlice_Slice struct { 145 state protoimpl.MessageState 146 sizeCache protoimpl.SizeCache 147 unknownFields protoimpl.UnknownFields 148 149 // Output only. The dimension of the slice. 150 // Well-known dimensions are: 151 // - `annotationSpec`: This slice is on the test data that has either 152 // ground truth or prediction with 153 // [AnnotationSpec.display_name][google.cloud.aiplatform.v1.AnnotationSpec.display_name] 154 // equals to 155 // [value][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.value]. 156 // - `slice`: This slice is a user customized slice defined by its 157 // SliceSpec. 158 Dimension string `protobuf:"bytes,1,opt,name=dimension,proto3" json:"dimension,omitempty"` 159 // Output only. The value of the dimension in this slice. 160 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 161 // Output only. Specification for how the data was sliced. 162 SliceSpec *ModelEvaluationSlice_Slice_SliceSpec `protobuf:"bytes,3,opt,name=slice_spec,json=sliceSpec,proto3" json:"slice_spec,omitempty"` 163 } 164 165 func (x *ModelEvaluationSlice_Slice) Reset() { 166 *x = ModelEvaluationSlice_Slice{} 167 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[1] 168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 169 ms.StoreMessageInfo(mi) 170 } 171 172 func (x *ModelEvaluationSlice_Slice) String() string { 173 return protoimpl.X.MessageStringOf(x) 174 } 175 176 func (*ModelEvaluationSlice_Slice) ProtoMessage() {} 177 178 func (x *ModelEvaluationSlice_Slice) ProtoReflect() protoreflect.Message { 179 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[1] 180 if x != nil { 181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 182 if ms.LoadMessageInfo() == nil { 183 ms.StoreMessageInfo(mi) 184 } 185 return ms 186 } 187 return mi.MessageOf(x) 188 } 189 190 // Deprecated: Use ModelEvaluationSlice_Slice.ProtoReflect.Descriptor instead. 191 func (*ModelEvaluationSlice_Slice) Descriptor() ([]byte, []int) { 192 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0, 0} 193 } 194 195 func (x *ModelEvaluationSlice_Slice) GetDimension() string { 196 if x != nil { 197 return x.Dimension 198 } 199 return "" 200 } 201 202 func (x *ModelEvaluationSlice_Slice) GetValue() string { 203 if x != nil { 204 return x.Value 205 } 206 return "" 207 } 208 209 func (x *ModelEvaluationSlice_Slice) GetSliceSpec() *ModelEvaluationSlice_Slice_SliceSpec { 210 if x != nil { 211 return x.SliceSpec 212 } 213 return nil 214 } 215 216 // Specification for how the data should be sliced. 217 type ModelEvaluationSlice_Slice_SliceSpec struct { 218 state protoimpl.MessageState 219 sizeCache protoimpl.SizeCache 220 unknownFields protoimpl.UnknownFields 221 222 // Mapping configuration for this SliceSpec. 223 // The key is the name of the feature. 224 // By default, the key will be prefixed by "instance" as a dictionary 225 // prefix for Vertex Batch Predictions output format. 226 Configs map[string]*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 227 } 228 229 func (x *ModelEvaluationSlice_Slice_SliceSpec) Reset() { 230 *x = ModelEvaluationSlice_Slice_SliceSpec{} 231 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[2] 232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 233 ms.StoreMessageInfo(mi) 234 } 235 236 func (x *ModelEvaluationSlice_Slice_SliceSpec) String() string { 237 return protoimpl.X.MessageStringOf(x) 238 } 239 240 func (*ModelEvaluationSlice_Slice_SliceSpec) ProtoMessage() {} 241 242 func (x *ModelEvaluationSlice_Slice_SliceSpec) ProtoReflect() protoreflect.Message { 243 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[2] 244 if x != nil { 245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 246 if ms.LoadMessageInfo() == nil { 247 ms.StoreMessageInfo(mi) 248 } 249 return ms 250 } 251 return mi.MessageOf(x) 252 } 253 254 // Deprecated: Use ModelEvaluationSlice_Slice_SliceSpec.ProtoReflect.Descriptor instead. 255 func (*ModelEvaluationSlice_Slice_SliceSpec) Descriptor() ([]byte, []int) { 256 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0, 0, 0} 257 } 258 259 func (x *ModelEvaluationSlice_Slice_SliceSpec) GetConfigs() map[string]*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig { 260 if x != nil { 261 return x.Configs 262 } 263 return nil 264 } 265 266 // Specification message containing the config for this SliceSpec. 267 // When `kind` is selected as `value` and/or `range`, only a single slice 268 // will be computed. 269 // When `all_values` is present, a separate slice will be computed for 270 // each possible label/value for the corresponding key in `config`. 271 // Examples, with feature zip_code with values 12345, 23334, 88888 and 272 // feature country with values "US", "Canada", "Mexico" in the dataset: 273 // 274 // Example 1: 275 // 276 // { 277 // "zip_code": { "value": { "float_value": 12345.0 } } 278 // } 279 // 280 // A single slice for any data with zip_code 12345 in the dataset. 281 // 282 // Example 2: 283 // 284 // { 285 // "zip_code": { "range": { "low": 12345, "high": 20000 } } 286 // } 287 // 288 // A single slice containing data where the zip_codes between 12345 and 289 // 20000 For this example, data with the zip_code of 12345 will be in this 290 // slice. 291 // 292 // Example 3: 293 // 294 // { 295 // "zip_code": { "range": { "low": 10000, "high": 20000 } }, 296 // "country": { "value": { "string_value": "US" } } 297 // } 298 // 299 // A single slice containing data where the zip_codes between 10000 and 300 // 20000 has the country "US". For this example, data with the zip_code of 301 // 12345 and country "US" will be in this slice. 302 // 303 // Example 4: 304 // 305 // { "country": {"all_values": { "value": true } } } 306 // 307 // Three slices are computed, one for each unique country in the dataset. 308 // 309 // Example 5: 310 // 311 // { 312 // "country": { "all_values": { "value": true } }, 313 // "zip_code": { "value": { "float_value": 12345.0 } } 314 // } 315 // 316 // Three slices are computed, one for each unique country in the dataset 317 // where the zip_code is also 12345. For this example, data with zip_code 318 // 12345 and country "US" will be in one slice, zip_code 12345 and country 319 // "Canada" in another slice, and zip_code 12345 and country "Mexico" in 320 // another slice, totaling 3 slices. 321 type ModelEvaluationSlice_Slice_SliceSpec_SliceConfig struct { 322 state protoimpl.MessageState 323 sizeCache protoimpl.SizeCache 324 unknownFields protoimpl.UnknownFields 325 326 // Types that are assignable to Kind: 327 // 328 // *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Value 329 // *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Range 330 // *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_AllValues 331 Kind isModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Kind `protobuf_oneof:"kind"` 332 } 333 334 func (x *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) Reset() { 335 *x = ModelEvaluationSlice_Slice_SliceSpec_SliceConfig{} 336 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[3] 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 338 ms.StoreMessageInfo(mi) 339 } 340 341 func (x *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) String() string { 342 return protoimpl.X.MessageStringOf(x) 343 } 344 345 func (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) ProtoMessage() {} 346 347 func (x *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) ProtoReflect() protoreflect.Message { 348 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[3] 349 if x != nil { 350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 351 if ms.LoadMessageInfo() == nil { 352 ms.StoreMessageInfo(mi) 353 } 354 return ms 355 } 356 return mi.MessageOf(x) 357 } 358 359 // Deprecated: Use ModelEvaluationSlice_Slice_SliceSpec_SliceConfig.ProtoReflect.Descriptor instead. 360 func (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) Descriptor() ([]byte, []int) { 361 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0, 0, 0, 0} 362 } 363 364 func (m *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) GetKind() isModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Kind { 365 if m != nil { 366 return m.Kind 367 } 368 return nil 369 } 370 371 func (x *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) GetValue() *ModelEvaluationSlice_Slice_SliceSpec_Value { 372 if x, ok := x.GetKind().(*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Value); ok { 373 return x.Value 374 } 375 return nil 376 } 377 378 func (x *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) GetRange() *ModelEvaluationSlice_Slice_SliceSpec_Range { 379 if x, ok := x.GetKind().(*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Range); ok { 380 return x.Range 381 } 382 return nil 383 } 384 385 func (x *ModelEvaluationSlice_Slice_SliceSpec_SliceConfig) GetAllValues() *wrapperspb.BoolValue { 386 if x, ok := x.GetKind().(*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_AllValues); ok { 387 return x.AllValues 388 } 389 return nil 390 } 391 392 type isModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Kind interface { 393 isModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Kind() 394 } 395 396 type ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Value struct { 397 // A unique specific value for a given feature. 398 // Example: `{ "value": { "string_value": "12345" } }` 399 Value *ModelEvaluationSlice_Slice_SliceSpec_Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"` 400 } 401 402 type ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Range struct { 403 // A range of values for a numerical feature. 404 // Example: `{"range":{"low":10000.0,"high":50000.0}}` 405 // will capture 12345 and 23334 in the slice. 406 Range *ModelEvaluationSlice_Slice_SliceSpec_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"` 407 } 408 409 type ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_AllValues struct { 410 // If all_values is set to true, then all possible labels of the keyed 411 // feature will have another slice computed. 412 // Example: `{"all_values":{"value":true}}` 413 AllValues *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=all_values,json=allValues,proto3,oneof"` 414 } 415 416 func (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Value) isModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Kind() { 417 } 418 419 func (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Range) isModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Kind() { 420 } 421 422 func (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_AllValues) isModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Kind() { 423 } 424 425 // A range of values for slice(s). 426 // `low` is inclusive, `high` is exclusive. 427 type ModelEvaluationSlice_Slice_SliceSpec_Range struct { 428 state protoimpl.MessageState 429 sizeCache protoimpl.SizeCache 430 unknownFields protoimpl.UnknownFields 431 432 // Inclusive low value for the range. 433 Low float32 `protobuf:"fixed32,1,opt,name=low,proto3" json:"low,omitempty"` 434 // Exclusive high value for the range. 435 High float32 `protobuf:"fixed32,2,opt,name=high,proto3" json:"high,omitempty"` 436 } 437 438 func (x *ModelEvaluationSlice_Slice_SliceSpec_Range) Reset() { 439 *x = ModelEvaluationSlice_Slice_SliceSpec_Range{} 440 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[4] 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 ms.StoreMessageInfo(mi) 443 } 444 445 func (x *ModelEvaluationSlice_Slice_SliceSpec_Range) String() string { 446 return protoimpl.X.MessageStringOf(x) 447 } 448 449 func (*ModelEvaluationSlice_Slice_SliceSpec_Range) ProtoMessage() {} 450 451 func (x *ModelEvaluationSlice_Slice_SliceSpec_Range) ProtoReflect() protoreflect.Message { 452 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[4] 453 if x != nil { 454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 455 if ms.LoadMessageInfo() == nil { 456 ms.StoreMessageInfo(mi) 457 } 458 return ms 459 } 460 return mi.MessageOf(x) 461 } 462 463 // Deprecated: Use ModelEvaluationSlice_Slice_SliceSpec_Range.ProtoReflect.Descriptor instead. 464 func (*ModelEvaluationSlice_Slice_SliceSpec_Range) Descriptor() ([]byte, []int) { 465 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0, 0, 0, 1} 466 } 467 468 func (x *ModelEvaluationSlice_Slice_SliceSpec_Range) GetLow() float32 { 469 if x != nil { 470 return x.Low 471 } 472 return 0 473 } 474 475 func (x *ModelEvaluationSlice_Slice_SliceSpec_Range) GetHigh() float32 { 476 if x != nil { 477 return x.High 478 } 479 return 0 480 } 481 482 // Single value that supports strings and floats. 483 type ModelEvaluationSlice_Slice_SliceSpec_Value struct { 484 state protoimpl.MessageState 485 sizeCache protoimpl.SizeCache 486 unknownFields protoimpl.UnknownFields 487 488 // Types that are assignable to Kind: 489 // 490 // *ModelEvaluationSlice_Slice_SliceSpec_Value_StringValue 491 // *ModelEvaluationSlice_Slice_SliceSpec_Value_FloatValue 492 Kind isModelEvaluationSlice_Slice_SliceSpec_Value_Kind `protobuf_oneof:"kind"` 493 } 494 495 func (x *ModelEvaluationSlice_Slice_SliceSpec_Value) Reset() { 496 *x = ModelEvaluationSlice_Slice_SliceSpec_Value{} 497 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[5] 498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 499 ms.StoreMessageInfo(mi) 500 } 501 502 func (x *ModelEvaluationSlice_Slice_SliceSpec_Value) String() string { 503 return protoimpl.X.MessageStringOf(x) 504 } 505 506 func (*ModelEvaluationSlice_Slice_SliceSpec_Value) ProtoMessage() {} 507 508 func (x *ModelEvaluationSlice_Slice_SliceSpec_Value) ProtoReflect() protoreflect.Message { 509 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[5] 510 if x != nil { 511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 512 if ms.LoadMessageInfo() == nil { 513 ms.StoreMessageInfo(mi) 514 } 515 return ms 516 } 517 return mi.MessageOf(x) 518 } 519 520 // Deprecated: Use ModelEvaluationSlice_Slice_SliceSpec_Value.ProtoReflect.Descriptor instead. 521 func (*ModelEvaluationSlice_Slice_SliceSpec_Value) Descriptor() ([]byte, []int) { 522 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0, 0, 0, 2} 523 } 524 525 func (m *ModelEvaluationSlice_Slice_SliceSpec_Value) GetKind() isModelEvaluationSlice_Slice_SliceSpec_Value_Kind { 526 if m != nil { 527 return m.Kind 528 } 529 return nil 530 } 531 532 func (x *ModelEvaluationSlice_Slice_SliceSpec_Value) GetStringValue() string { 533 if x, ok := x.GetKind().(*ModelEvaluationSlice_Slice_SliceSpec_Value_StringValue); ok { 534 return x.StringValue 535 } 536 return "" 537 } 538 539 func (x *ModelEvaluationSlice_Slice_SliceSpec_Value) GetFloatValue() float32 { 540 if x, ok := x.GetKind().(*ModelEvaluationSlice_Slice_SliceSpec_Value_FloatValue); ok { 541 return x.FloatValue 542 } 543 return 0 544 } 545 546 type isModelEvaluationSlice_Slice_SliceSpec_Value_Kind interface { 547 isModelEvaluationSlice_Slice_SliceSpec_Value_Kind() 548 } 549 550 type ModelEvaluationSlice_Slice_SliceSpec_Value_StringValue struct { 551 // String type. 552 StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` 553 } 554 555 type ModelEvaluationSlice_Slice_SliceSpec_Value_FloatValue struct { 556 // Float type. 557 FloatValue float32 `protobuf:"fixed32,2,opt,name=float_value,json=floatValue,proto3,oneof"` 558 } 559 560 func (*ModelEvaluationSlice_Slice_SliceSpec_Value_StringValue) isModelEvaluationSlice_Slice_SliceSpec_Value_Kind() { 561 } 562 563 func (*ModelEvaluationSlice_Slice_SliceSpec_Value_FloatValue) isModelEvaluationSlice_Slice_SliceSpec_Value_Kind() { 564 } 565 566 var File_google_cloud_aiplatform_v1_model_evaluation_slice_proto protoreflect.FileDescriptor 567 568 var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc = []byte{ 569 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 570 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 571 0x65, 0x6c, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, 572 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 573 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 574 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 575 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 576 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 577 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 578 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 579 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 580 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 581 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 582 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 583 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 584 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 585 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 586 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 587 0x0a, 0x0a, 0x14, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 588 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 589 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 590 0x12, 0x51, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 591 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 592 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 593 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 594 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x6c, 595 0x69, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 596 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 597 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x68, 598 0x65, 0x6d, 0x61, 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 599 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 600 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 601 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x40, 0x0a, 602 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 603 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 604 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 605 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 606 0x5e, 0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 607 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 608 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 609 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x78, 0x70, 610 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6d, 611 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 612 0xca, 0x06, 0x0a, 0x05, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x09, 0x64, 0x69, 0x6d, 613 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 614 0x03, 0x52, 0x09, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x05, 615 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 616 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x64, 0x0a, 0x0a, 0x73, 0x6c, 0x69, 0x63, 0x65, 617 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 618 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 619 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 620 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 621 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x03, 0xe0, 622 0x41, 0x03, 0x52, 0x09, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x1a, 0x9c, 0x05, 623 0x0a, 0x09, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x67, 0x0a, 0x07, 0x63, 624 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 625 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 626 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 627 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 628 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, 629 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6e, 630 0x66, 0x69, 0x67, 0x73, 0x1a, 0x92, 0x02, 0x0a, 0x0b, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x43, 0x6f, 631 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 632 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 633 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 634 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 635 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 636 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x05, 0x76, 637 0x61, 0x6c, 0x75, 0x65, 0x12, 0x5e, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 638 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 639 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 640 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 641 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 642 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, 643 0x61, 0x6e, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 644 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 645 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 646 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 647 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x1a, 0x2d, 0x0a, 0x05, 0x52, 0x61, 0x6e, 648 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 649 0x03, 0x6c, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x69, 0x67, 0x68, 0x18, 0x02, 0x20, 0x01, 650 0x28, 0x02, 0x52, 0x04, 0x68, 0x69, 0x67, 0x68, 0x1a, 0x57, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 651 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 652 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 653 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 654 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a, 0x66, 655 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 656 0x64, 0x1a, 0x88, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 657 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 658 0x03, 0x6b, 0x65, 0x79, 0x12, 0x62, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 659 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 660 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 661 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 662 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 663 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 664 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x94, 0x01, 0xea, 665 0x41, 0x90, 0x01, 0x0a, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 666 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 667 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 668 0x69, 0x63, 0x65, 0x12, 0x5e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 669 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 670 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, 671 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x2f, 0x65, 0x76, 0x61, 0x6c, 672 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 673 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6c, 0x69, 674 0x63, 0x65, 0x7d, 0x42, 0xd7, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 675 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 676 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 677 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 678 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 679 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 680 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 681 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 682 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 683 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 684 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 685 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 686 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 687 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 688 0x72, 0x6f, 0x74, 0x6f, 0x33, 689 } 690 691 var ( 692 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescOnce sync.Once 693 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData = file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc 694 ) 695 696 func file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP() []byte { 697 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescOnce.Do(func() { 698 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData) 699 }) 700 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData 701 } 702 703 var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 704 var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_goTypes = []any{ 705 (*ModelEvaluationSlice)(nil), // 0: google.cloud.aiplatform.v1.ModelEvaluationSlice 706 (*ModelEvaluationSlice_Slice)(nil), // 1: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice 707 (*ModelEvaluationSlice_Slice_SliceSpec)(nil), // 2: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec 708 (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig)(nil), // 3: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig 709 (*ModelEvaluationSlice_Slice_SliceSpec_Range)(nil), // 4: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Range 710 (*ModelEvaluationSlice_Slice_SliceSpec_Value)(nil), // 5: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value 711 nil, // 6: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.ConfigsEntry 712 (*structpb.Value)(nil), // 7: google.protobuf.Value 713 (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp 714 (*ModelExplanation)(nil), // 9: google.cloud.aiplatform.v1.ModelExplanation 715 (*wrapperspb.BoolValue)(nil), // 10: google.protobuf.BoolValue 716 } 717 var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_depIdxs = []int32{ 718 1, // 0: google.cloud.aiplatform.v1.ModelEvaluationSlice.slice:type_name -> google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice 719 7, // 1: google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics:type_name -> google.protobuf.Value 720 8, // 2: google.cloud.aiplatform.v1.ModelEvaluationSlice.create_time:type_name -> google.protobuf.Timestamp 721 9, // 3: google.cloud.aiplatform.v1.ModelEvaluationSlice.model_explanation:type_name -> google.cloud.aiplatform.v1.ModelExplanation 722 2, // 4: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.slice_spec:type_name -> google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec 723 6, // 5: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.configs:type_name -> google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.ConfigsEntry 724 5, // 6: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig.value:type_name -> google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value 725 4, // 7: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig.range:type_name -> google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Range 726 10, // 8: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig.all_values:type_name -> google.protobuf.BoolValue 727 3, // 9: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.ConfigsEntry.value:type_name -> google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig 728 10, // [10:10] is the sub-list for method output_type 729 10, // [10:10] is the sub-list for method input_type 730 10, // [10:10] is the sub-list for extension type_name 731 10, // [10:10] is the sub-list for extension extendee 732 0, // [0:10] is the sub-list for field type_name 733 } 734 735 func init() { file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_init() } 736 func file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_init() { 737 if File_google_cloud_aiplatform_v1_model_evaluation_slice_proto != nil { 738 return 739 } 740 file_google_cloud_aiplatform_v1_explanation_proto_init() 741 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[3].OneofWrappers = []any{ 742 (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Value)(nil), 743 (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_Range)(nil), 744 (*ModelEvaluationSlice_Slice_SliceSpec_SliceConfig_AllValues)(nil), 745 } 746 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[5].OneofWrappers = []any{ 747 (*ModelEvaluationSlice_Slice_SliceSpec_Value_StringValue)(nil), 748 (*ModelEvaluationSlice_Slice_SliceSpec_Value_FloatValue)(nil), 749 } 750 type x struct{} 751 out := protoimpl.TypeBuilder{ 752 File: protoimpl.DescBuilder{ 753 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 754 RawDescriptor: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc, 755 NumEnums: 0, 756 NumMessages: 7, 757 NumExtensions: 0, 758 NumServices: 0, 759 }, 760 GoTypes: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_goTypes, 761 DependencyIndexes: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_depIdxs, 762 MessageInfos: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes, 763 }.Build() 764 File_google_cloud_aiplatform_v1_model_evaluation_slice_proto = out.File 765 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc = nil 766 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_goTypes = nil 767 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_depIdxs = nil 768 }