cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/aiplatformpb/example.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/v1beta1/example.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 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 // A single example of a conversation with the model. 39 type ContentsExample struct { 40 state protoimpl.MessageState 41 sizeCache protoimpl.SizeCache 42 unknownFields protoimpl.UnknownFields 43 44 // Required. The content of the conversation with the model that resulted in 45 // the expected output. 46 Contents []*Content `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"` 47 // Required. The expected output for the given `contents`. To represent 48 // multi-step reasoning, this is a repeated field that contains the iterative 49 // steps of the expected output. 50 ExpectedContents []*ContentsExample_ExpectedContent `protobuf:"bytes,2,rep,name=expected_contents,json=expectedContents,proto3" json:"expected_contents,omitempty"` 51 } 52 53 func (x *ContentsExample) Reset() { 54 *x = ContentsExample{} 55 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[0] 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 ms.StoreMessageInfo(mi) 58 } 59 60 func (x *ContentsExample) String() string { 61 return protoimpl.X.MessageStringOf(x) 62 } 63 64 func (*ContentsExample) ProtoMessage() {} 65 66 func (x *ContentsExample) ProtoReflect() protoreflect.Message { 67 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[0] 68 if x != nil { 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 70 if ms.LoadMessageInfo() == nil { 71 ms.StoreMessageInfo(mi) 72 } 73 return ms 74 } 75 return mi.MessageOf(x) 76 } 77 78 // Deprecated: Use ContentsExample.ProtoReflect.Descriptor instead. 79 func (*ContentsExample) Descriptor() ([]byte, []int) { 80 return file_google_cloud_aiplatform_v1beta1_example_proto_rawDescGZIP(), []int{0} 81 } 82 83 func (x *ContentsExample) GetContents() []*Content { 84 if x != nil { 85 return x.Contents 86 } 87 return nil 88 } 89 90 func (x *ContentsExample) GetExpectedContents() []*ContentsExample_ExpectedContent { 91 if x != nil { 92 return x.ExpectedContents 93 } 94 return nil 95 } 96 97 // A ContentsExample to be used with GenerateContent alongside information 98 // required for storage and retrieval with Example Store. 99 type StoredContentsExample struct { 100 state protoimpl.MessageState 101 sizeCache protoimpl.SizeCache 102 unknownFields protoimpl.UnknownFields 103 104 // Optional. (Optional) the search key used for retrieval. If not provided at 105 // upload-time, the search key will be generated from 106 // `contents_example.contents` using the method provided by 107 // `search_key_generation_method`. The generated search key will be included 108 // in retrieved examples. 109 SearchKey string `protobuf:"bytes,1,opt,name=search_key,json=searchKey,proto3" json:"search_key,omitempty"` 110 // Required. The example to be used with GenerateContent. 111 ContentsExample *ContentsExample `protobuf:"bytes,2,opt,name=contents_example,json=contentsExample,proto3" json:"contents_example,omitempty"` 112 // Optional. The method used to generate the search key from 113 // `contents_example.contents`. This is ignored when uploading an example if 114 // `search_key` is provided. 115 SearchKeyGenerationMethod *StoredContentsExample_SearchKeyGenerationMethod `protobuf:"bytes,3,opt,name=search_key_generation_method,json=searchKeyGenerationMethod,proto3" json:"search_key_generation_method,omitempty"` 116 } 117 118 func (x *StoredContentsExample) Reset() { 119 *x = StoredContentsExample{} 120 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[1] 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 ms.StoreMessageInfo(mi) 123 } 124 125 func (x *StoredContentsExample) String() string { 126 return protoimpl.X.MessageStringOf(x) 127 } 128 129 func (*StoredContentsExample) ProtoMessage() {} 130 131 func (x *StoredContentsExample) ProtoReflect() protoreflect.Message { 132 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[1] 133 if x != nil { 134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 135 if ms.LoadMessageInfo() == nil { 136 ms.StoreMessageInfo(mi) 137 } 138 return ms 139 } 140 return mi.MessageOf(x) 141 } 142 143 // Deprecated: Use StoredContentsExample.ProtoReflect.Descriptor instead. 144 func (*StoredContentsExample) Descriptor() ([]byte, []int) { 145 return file_google_cloud_aiplatform_v1beta1_example_proto_rawDescGZIP(), []int{1} 146 } 147 148 func (x *StoredContentsExample) GetSearchKey() string { 149 if x != nil { 150 return x.SearchKey 151 } 152 return "" 153 } 154 155 func (x *StoredContentsExample) GetContentsExample() *ContentsExample { 156 if x != nil { 157 return x.ContentsExample 158 } 159 return nil 160 } 161 162 func (x *StoredContentsExample) GetSearchKeyGenerationMethod() *StoredContentsExample_SearchKeyGenerationMethod { 163 if x != nil { 164 return x.SearchKeyGenerationMethod 165 } 166 return nil 167 } 168 169 // A single step of the expected output. 170 type ContentsExample_ExpectedContent struct { 171 state protoimpl.MessageState 172 sizeCache protoimpl.SizeCache 173 unknownFields protoimpl.UnknownFields 174 175 // Required. A single step's content. 176 Content *Content `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` 177 } 178 179 func (x *ContentsExample_ExpectedContent) Reset() { 180 *x = ContentsExample_ExpectedContent{} 181 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[2] 182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 183 ms.StoreMessageInfo(mi) 184 } 185 186 func (x *ContentsExample_ExpectedContent) String() string { 187 return protoimpl.X.MessageStringOf(x) 188 } 189 190 func (*ContentsExample_ExpectedContent) ProtoMessage() {} 191 192 func (x *ContentsExample_ExpectedContent) ProtoReflect() protoreflect.Message { 193 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[2] 194 if x != nil { 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 if ms.LoadMessageInfo() == nil { 197 ms.StoreMessageInfo(mi) 198 } 199 return ms 200 } 201 return mi.MessageOf(x) 202 } 203 204 // Deprecated: Use ContentsExample_ExpectedContent.ProtoReflect.Descriptor instead. 205 func (*ContentsExample_ExpectedContent) Descriptor() ([]byte, []int) { 206 return file_google_cloud_aiplatform_v1beta1_example_proto_rawDescGZIP(), []int{0, 0} 207 } 208 209 func (x *ContentsExample_ExpectedContent) GetContent() *Content { 210 if x != nil { 211 return x.Content 212 } 213 return nil 214 } 215 216 // Options for generating the search key from the conversation history. 217 type StoredContentsExample_SearchKeyGenerationMethod struct { 218 state protoimpl.MessageState 219 sizeCache protoimpl.SizeCache 220 unknownFields protoimpl.UnknownFields 221 222 // The method for generating the search key. 223 // 224 // Types that are assignable to Method: 225 // 226 // *StoredContentsExample_SearchKeyGenerationMethod_LastEntry_ 227 Method isStoredContentsExample_SearchKeyGenerationMethod_Method `protobuf_oneof:"method"` 228 } 229 230 func (x *StoredContentsExample_SearchKeyGenerationMethod) Reset() { 231 *x = StoredContentsExample_SearchKeyGenerationMethod{} 232 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[3] 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 ms.StoreMessageInfo(mi) 235 } 236 237 func (x *StoredContentsExample_SearchKeyGenerationMethod) String() string { 238 return protoimpl.X.MessageStringOf(x) 239 } 240 241 func (*StoredContentsExample_SearchKeyGenerationMethod) ProtoMessage() {} 242 243 func (x *StoredContentsExample_SearchKeyGenerationMethod) ProtoReflect() protoreflect.Message { 244 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[3] 245 if x != nil { 246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 247 if ms.LoadMessageInfo() == nil { 248 ms.StoreMessageInfo(mi) 249 } 250 return ms 251 } 252 return mi.MessageOf(x) 253 } 254 255 // Deprecated: Use StoredContentsExample_SearchKeyGenerationMethod.ProtoReflect.Descriptor instead. 256 func (*StoredContentsExample_SearchKeyGenerationMethod) Descriptor() ([]byte, []int) { 257 return file_google_cloud_aiplatform_v1beta1_example_proto_rawDescGZIP(), []int{1, 0} 258 } 259 260 func (m *StoredContentsExample_SearchKeyGenerationMethod) GetMethod() isStoredContentsExample_SearchKeyGenerationMethod_Method { 261 if m != nil { 262 return m.Method 263 } 264 return nil 265 } 266 267 func (x *StoredContentsExample_SearchKeyGenerationMethod) GetLastEntry() *StoredContentsExample_SearchKeyGenerationMethod_LastEntry { 268 if x, ok := x.GetMethod().(*StoredContentsExample_SearchKeyGenerationMethod_LastEntry_); ok { 269 return x.LastEntry 270 } 271 return nil 272 } 273 274 type isStoredContentsExample_SearchKeyGenerationMethod_Method interface { 275 isStoredContentsExample_SearchKeyGenerationMethod_Method() 276 } 277 278 type StoredContentsExample_SearchKeyGenerationMethod_LastEntry_ struct { 279 // Use only the last entry of the conversation history 280 // (`contents_example.contents`) as the search key. 281 LastEntry *StoredContentsExample_SearchKeyGenerationMethod_LastEntry `protobuf:"bytes,1,opt,name=last_entry,json=lastEntry,proto3,oneof"` 282 } 283 284 func (*StoredContentsExample_SearchKeyGenerationMethod_LastEntry_) isStoredContentsExample_SearchKeyGenerationMethod_Method() { 285 } 286 287 // Configuration for using only the last entry of the conversation history 288 // as the search key. 289 type StoredContentsExample_SearchKeyGenerationMethod_LastEntry struct { 290 state protoimpl.MessageState 291 sizeCache protoimpl.SizeCache 292 unknownFields protoimpl.UnknownFields 293 } 294 295 func (x *StoredContentsExample_SearchKeyGenerationMethod_LastEntry) Reset() { 296 *x = StoredContentsExample_SearchKeyGenerationMethod_LastEntry{} 297 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[4] 298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 299 ms.StoreMessageInfo(mi) 300 } 301 302 func (x *StoredContentsExample_SearchKeyGenerationMethod_LastEntry) String() string { 303 return protoimpl.X.MessageStringOf(x) 304 } 305 306 func (*StoredContentsExample_SearchKeyGenerationMethod_LastEntry) ProtoMessage() {} 307 308 func (x *StoredContentsExample_SearchKeyGenerationMethod_LastEntry) ProtoReflect() protoreflect.Message { 309 mi := &file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[4] 310 if x != nil { 311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 312 if ms.LoadMessageInfo() == nil { 313 ms.StoreMessageInfo(mi) 314 } 315 return ms 316 } 317 return mi.MessageOf(x) 318 } 319 320 // Deprecated: Use StoredContentsExample_SearchKeyGenerationMethod_LastEntry.ProtoReflect.Descriptor instead. 321 func (*StoredContentsExample_SearchKeyGenerationMethod_LastEntry) Descriptor() ([]byte, []int) { 322 return file_google_cloud_aiplatform_v1beta1_example_proto_rawDescGZIP(), []int{1, 0, 0} 323 } 324 325 var File_google_cloud_aiplatform_v1beta1_example_proto protoreflect.FileDescriptor 326 327 var file_google_cloud_aiplatform_v1beta1_example_proto_rawDesc = []byte{ 328 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 329 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 330 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 331 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 332 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 333 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 334 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 335 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 336 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 337 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 338 0x22, 0xac, 0x02, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x78, 0x61, 339 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x49, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 340 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 341 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 342 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 343 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 344 0x72, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 345 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 346 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 347 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 348 0x74, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x45, 0x78, 0x70, 349 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 350 0x02, 0x52, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 351 0x6e, 0x74, 0x73, 0x1a, 0x5a, 0x0a, 0x0f, 0x45, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 352 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 353 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 354 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 355 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 356 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 357 0xe8, 0x03, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 358 0x74, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x65, 0x61, 359 0x72, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 360 0x41, 0x01, 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x60, 0x0a, 361 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 362 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 363 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 364 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 365 0x74, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 366 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 367 0x96, 0x01, 0x0a, 0x1c, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x67, 368 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 369 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 370 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 371 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x43, 372 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x53, 373 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 374 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x19, 0x73, 375 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 376 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x1a, 0xaf, 0x01, 0x0a, 0x19, 0x53, 0x65, 0x61, 377 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 378 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x7b, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 379 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x67, 0x6f, 0x6f, 380 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 381 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x6f, 382 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x70, 383 0x6c, 0x65, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x47, 0x65, 0x6e, 0x65, 384 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x2e, 0x4c, 0x61, 0x73, 385 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x6e, 386 0x74, 0x72, 0x79, 0x1a, 0x0b, 0x0a, 0x09, 0x4c, 0x61, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 387 0x42, 0x08, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x42, 0xe3, 0x01, 0x0a, 0x23, 0x63, 388 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 389 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 390 0x61, 0x31, 0x42, 0x0c, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 391 0x50, 0x01, 0x5a, 0x43, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 392 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 393 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 394 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 395 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 396 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 397 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 398 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 399 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 400 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 401 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 402 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 403 } 404 405 var ( 406 file_google_cloud_aiplatform_v1beta1_example_proto_rawDescOnce sync.Once 407 file_google_cloud_aiplatform_v1beta1_example_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_example_proto_rawDesc 408 ) 409 410 func file_google_cloud_aiplatform_v1beta1_example_proto_rawDescGZIP() []byte { 411 file_google_cloud_aiplatform_v1beta1_example_proto_rawDescOnce.Do(func() { 412 file_google_cloud_aiplatform_v1beta1_example_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_example_proto_rawDescData) 413 }) 414 return file_google_cloud_aiplatform_v1beta1_example_proto_rawDescData 415 } 416 417 var file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 418 var file_google_cloud_aiplatform_v1beta1_example_proto_goTypes = []any{ 419 (*ContentsExample)(nil), // 0: google.cloud.aiplatform.v1beta1.ContentsExample 420 (*StoredContentsExample)(nil), // 1: google.cloud.aiplatform.v1beta1.StoredContentsExample 421 (*ContentsExample_ExpectedContent)(nil), // 2: google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent 422 (*StoredContentsExample_SearchKeyGenerationMethod)(nil), // 3: google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod 423 (*StoredContentsExample_SearchKeyGenerationMethod_LastEntry)(nil), // 4: google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry 424 (*Content)(nil), // 5: google.cloud.aiplatform.v1beta1.Content 425 } 426 var file_google_cloud_aiplatform_v1beta1_example_proto_depIdxs = []int32{ 427 5, // 0: google.cloud.aiplatform.v1beta1.ContentsExample.contents:type_name -> google.cloud.aiplatform.v1beta1.Content 428 2, // 1: google.cloud.aiplatform.v1beta1.ContentsExample.expected_contents:type_name -> google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent 429 0, // 2: google.cloud.aiplatform.v1beta1.StoredContentsExample.contents_example:type_name -> google.cloud.aiplatform.v1beta1.ContentsExample 430 3, // 3: google.cloud.aiplatform.v1beta1.StoredContentsExample.search_key_generation_method:type_name -> google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod 431 5, // 4: google.cloud.aiplatform.v1beta1.ContentsExample.ExpectedContent.content:type_name -> google.cloud.aiplatform.v1beta1.Content 432 4, // 5: google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.last_entry:type_name -> google.cloud.aiplatform.v1beta1.StoredContentsExample.SearchKeyGenerationMethod.LastEntry 433 6, // [6:6] is the sub-list for method output_type 434 6, // [6:6] is the sub-list for method input_type 435 6, // [6:6] is the sub-list for extension type_name 436 6, // [6:6] is the sub-list for extension extendee 437 0, // [0:6] is the sub-list for field type_name 438 } 439 440 func init() { file_google_cloud_aiplatform_v1beta1_example_proto_init() } 441 func file_google_cloud_aiplatform_v1beta1_example_proto_init() { 442 if File_google_cloud_aiplatform_v1beta1_example_proto != nil { 443 return 444 } 445 file_google_cloud_aiplatform_v1beta1_content_proto_init() 446 file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes[3].OneofWrappers = []any{ 447 (*StoredContentsExample_SearchKeyGenerationMethod_LastEntry_)(nil), 448 } 449 type x struct{} 450 out := protoimpl.TypeBuilder{ 451 File: protoimpl.DescBuilder{ 452 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 453 RawDescriptor: file_google_cloud_aiplatform_v1beta1_example_proto_rawDesc, 454 NumEnums: 0, 455 NumMessages: 5, 456 NumExtensions: 0, 457 NumServices: 0, 458 }, 459 GoTypes: file_google_cloud_aiplatform_v1beta1_example_proto_goTypes, 460 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_example_proto_depIdxs, 461 MessageInfos: file_google_cloud_aiplatform_v1beta1_example_proto_msgTypes, 462 }.Build() 463 File_google_cloud_aiplatform_v1beta1_example_proto = out.File 464 file_google_cloud_aiplatform_v1beta1_example_proto_rawDesc = nil 465 file_google_cloud_aiplatform_v1beta1_example_proto_goTypes = nil 466 file_google_cloud_aiplatform_v1beta1_example_proto_depIdxs = nil 467 }