1// Copyright 2021 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.26.0 18// protoc v3.12.2 19// source: google/cloud/aiplatform/v1/model_evaluation_slice.proto 20 21package aiplatform 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 structpb "google.golang.org/protobuf/types/known/structpb" 31 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// A collection of metrics calculated by comparing Model's predictions on a 42// slice of the test data against ground truth annotations. 43type 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 describing the 53 // [metrics][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics] of this ModelEvaluationSlice. The 54 // schema is defined as an OpenAPI 3.0.2 [Schema 55 // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). 56 MetricsSchemaUri string `protobuf:"bytes,3,opt,name=metrics_schema_uri,json=metricsSchemaUri,proto3" json:"metrics_schema_uri,omitempty"` 57 // Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored 58 // in [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics_schema_uri] 59 Metrics *structpb.Value `protobuf:"bytes,4,opt,name=metrics,proto3" json:"metrics,omitempty"` 60 // Output only. Timestamp when this ModelEvaluationSlice was created. 61 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 62} 63 64func (x *ModelEvaluationSlice) Reset() { 65 *x = ModelEvaluationSlice{} 66 if protoimpl.UnsafeEnabled { 67 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[0] 68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 69 ms.StoreMessageInfo(mi) 70 } 71} 72 73func (x *ModelEvaluationSlice) String() string { 74 return protoimpl.X.MessageStringOf(x) 75} 76 77func (*ModelEvaluationSlice) ProtoMessage() {} 78 79func (x *ModelEvaluationSlice) ProtoReflect() protoreflect.Message { 80 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[0] 81 if protoimpl.UnsafeEnabled && x != nil { 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 if ms.LoadMessageInfo() == nil { 84 ms.StoreMessageInfo(mi) 85 } 86 return ms 87 } 88 return mi.MessageOf(x) 89} 90 91// Deprecated: Use ModelEvaluationSlice.ProtoReflect.Descriptor instead. 92func (*ModelEvaluationSlice) Descriptor() ([]byte, []int) { 93 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0} 94} 95 96func (x *ModelEvaluationSlice) GetName() string { 97 if x != nil { 98 return x.Name 99 } 100 return "" 101} 102 103func (x *ModelEvaluationSlice) GetSlice() *ModelEvaluationSlice_Slice { 104 if x != nil { 105 return x.Slice 106 } 107 return nil 108} 109 110func (x *ModelEvaluationSlice) GetMetricsSchemaUri() string { 111 if x != nil { 112 return x.MetricsSchemaUri 113 } 114 return "" 115} 116 117func (x *ModelEvaluationSlice) GetMetrics() *structpb.Value { 118 if x != nil { 119 return x.Metrics 120 } 121 return nil 122} 123 124func (x *ModelEvaluationSlice) GetCreateTime() *timestamppb.Timestamp { 125 if x != nil { 126 return x.CreateTime 127 } 128 return nil 129} 130 131// Definition of a slice. 132type ModelEvaluationSlice_Slice struct { 133 state protoimpl.MessageState 134 sizeCache protoimpl.SizeCache 135 unknownFields protoimpl.UnknownFields 136 137 // Output only. The dimension of the slice. 138 // Well-known dimensions are: 139 // * `annotationSpec`: This slice is on the test data that has either 140 // ground truth or prediction with [AnnotationSpec.display_name][google.cloud.aiplatform.v1.AnnotationSpec.display_name] 141 // equals to [value][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.value]. 142 Dimension string `protobuf:"bytes,1,opt,name=dimension,proto3" json:"dimension,omitempty"` 143 // Output only. The value of the dimension in this slice. 144 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 145} 146 147func (x *ModelEvaluationSlice_Slice) Reset() { 148 *x = ModelEvaluationSlice_Slice{} 149 if protoimpl.UnsafeEnabled { 150 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[1] 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 ms.StoreMessageInfo(mi) 153 } 154} 155 156func (x *ModelEvaluationSlice_Slice) String() string { 157 return protoimpl.X.MessageStringOf(x) 158} 159 160func (*ModelEvaluationSlice_Slice) ProtoMessage() {} 161 162func (x *ModelEvaluationSlice_Slice) ProtoReflect() protoreflect.Message { 163 mi := &file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[1] 164 if protoimpl.UnsafeEnabled && x != nil { 165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 166 if ms.LoadMessageInfo() == nil { 167 ms.StoreMessageInfo(mi) 168 } 169 return ms 170 } 171 return mi.MessageOf(x) 172} 173 174// Deprecated: Use ModelEvaluationSlice_Slice.ProtoReflect.Descriptor instead. 175func (*ModelEvaluationSlice_Slice) Descriptor() ([]byte, []int) { 176 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP(), []int{0, 0} 177} 178 179func (x *ModelEvaluationSlice_Slice) GetDimension() string { 180 if x != nil { 181 return x.Dimension 182 } 183 return "" 184} 185 186func (x *ModelEvaluationSlice_Slice) GetValue() string { 187 if x != nil { 188 return x.Value 189 } 190 return "" 191} 192 193var File_google_cloud_aiplatform_v1_model_evaluation_slice_proto protoreflect.FileDescriptor 194 195var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc = []byte{ 196 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 197 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 198 0x65, 0x6c, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, 199 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 200 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 201 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 202 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 203 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 204 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 205 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 206 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 207 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 208 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 209 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 210 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 211 0x04, 0x0a, 0x14, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 212 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 213 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 214 0x12, 0x51, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 215 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 216 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 217 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 218 0x65, 0x2e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x6c, 219 0x69, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 220 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 221 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x63, 0x68, 222 0x65, 0x6d, 0x61, 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 223 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 224 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 225 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x40, 0x0a, 226 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 227 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 228 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 229 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a, 230 0x45, 0x0a, 0x05, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x09, 0x64, 0x69, 0x6d, 0x65, 231 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 232 0x52, 0x09, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x05, 0x76, 233 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 234 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x94, 0x01, 0xea, 0x41, 0x90, 0x01, 0x0a, 0x2e, 0x61, 235 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 236 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 237 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x70, 238 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 239 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 240 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6d, 241 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x2f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 242 0x73, 0x2f, 0x7b, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 243 0x6c, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x7d, 0x42, 0xdd, 0x01, 244 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 245 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 246 0x42, 0x19, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 247 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 248 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 249 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 250 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 251 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 252 0x6f, 0x72, 0x6d, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 253 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 254 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 255 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 256 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 257 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 258 0x72, 0x6f, 0x74, 0x6f, 0x33, 259} 260 261var ( 262 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescOnce sync.Once 263 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData = file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc 264) 265 266func file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescGZIP() []byte { 267 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescOnce.Do(func() { 268 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData) 269 }) 270 return file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDescData 271} 272 273var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 274var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_goTypes = []interface{}{ 275 (*ModelEvaluationSlice)(nil), // 0: google.cloud.aiplatform.v1.ModelEvaluationSlice 276 (*ModelEvaluationSlice_Slice)(nil), // 1: google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice 277 (*structpb.Value)(nil), // 2: google.protobuf.Value 278 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp 279} 280var file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_depIdxs = []int32{ 281 1, // 0: google.cloud.aiplatform.v1.ModelEvaluationSlice.slice:type_name -> google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice 282 2, // 1: google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics:type_name -> google.protobuf.Value 283 3, // 2: google.cloud.aiplatform.v1.ModelEvaluationSlice.create_time:type_name -> google.protobuf.Timestamp 284 3, // [3:3] is the sub-list for method output_type 285 3, // [3:3] is the sub-list for method input_type 286 3, // [3:3] is the sub-list for extension type_name 287 3, // [3:3] is the sub-list for extension extendee 288 0, // [0:3] is the sub-list for field type_name 289} 290 291func init() { file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_init() } 292func file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_init() { 293 if File_google_cloud_aiplatform_v1_model_evaluation_slice_proto != nil { 294 return 295 } 296 if !protoimpl.UnsafeEnabled { 297 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 298 switch v := v.(*ModelEvaluationSlice); i { 299 case 0: 300 return &v.state 301 case 1: 302 return &v.sizeCache 303 case 2: 304 return &v.unknownFields 305 default: 306 return nil 307 } 308 } 309 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 310 switch v := v.(*ModelEvaluationSlice_Slice); i { 311 case 0: 312 return &v.state 313 case 1: 314 return &v.sizeCache 315 case 2: 316 return &v.unknownFields 317 default: 318 return nil 319 } 320 } 321 } 322 type x struct{} 323 out := protoimpl.TypeBuilder{ 324 File: protoimpl.DescBuilder{ 325 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 326 RawDescriptor: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc, 327 NumEnums: 0, 328 NumMessages: 2, 329 NumExtensions: 0, 330 NumServices: 0, 331 }, 332 GoTypes: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_goTypes, 333 DependencyIndexes: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_depIdxs, 334 MessageInfos: file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_msgTypes, 335 }.Build() 336 File_google_cloud_aiplatform_v1_model_evaluation_slice_proto = out.File 337 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_rawDesc = nil 338 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_goTypes = nil 339 file_google_cloud_aiplatform_v1_model_evaluation_slice_proto_depIdxs = nil 340} 341