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/v1beta1/index_service.proto 20 21package aiplatform 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 longrunning "google.golang.org/genproto/googleapis/longrunning" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 35 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 36) 37 38const ( 39 // Verify that this generated code is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 41 // Verify that runtime/protoimpl is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 43) 44 45type NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType int32 46 47const ( 48 // Default, shall not be used. 49 NearestNeighborSearchOperationMetadata_RecordError_ERROR_TYPE_UNSPECIFIED NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 0 50 // The record is empty. 51 NearestNeighborSearchOperationMetadata_RecordError_EMPTY_LINE NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 1 52 // Invalid json format. 53 NearestNeighborSearchOperationMetadata_RecordError_INVALID_JSON_SYNTAX NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 2 54 // Invalid csv format. 55 NearestNeighborSearchOperationMetadata_RecordError_INVALID_CSV_SYNTAX NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 3 56 // Invalid avro format. 57 NearestNeighborSearchOperationMetadata_RecordError_INVALID_AVRO_SYNTAX NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 4 58 // The embedding id is not valid. 59 NearestNeighborSearchOperationMetadata_RecordError_INVALID_EMBEDDING_ID NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 5 60 // The size of the embedding vectors does not match with the specified 61 // dimension. 62 NearestNeighborSearchOperationMetadata_RecordError_EMBEDDING_SIZE_MISMATCH NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 6 63 // The `namespace` field is missing. 64 NearestNeighborSearchOperationMetadata_RecordError_NAMESPACE_MISSING NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType = 7 65) 66 67// Enum value maps for NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType. 68var ( 69 NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType_name = map[int32]string{ 70 0: "ERROR_TYPE_UNSPECIFIED", 71 1: "EMPTY_LINE", 72 2: "INVALID_JSON_SYNTAX", 73 3: "INVALID_CSV_SYNTAX", 74 4: "INVALID_AVRO_SYNTAX", 75 5: "INVALID_EMBEDDING_ID", 76 6: "EMBEDDING_SIZE_MISMATCH", 77 7: "NAMESPACE_MISSING", 78 } 79 NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType_value = map[string]int32{ 80 "ERROR_TYPE_UNSPECIFIED": 0, 81 "EMPTY_LINE": 1, 82 "INVALID_JSON_SYNTAX": 2, 83 "INVALID_CSV_SYNTAX": 3, 84 "INVALID_AVRO_SYNTAX": 4, 85 "INVALID_EMBEDDING_ID": 5, 86 "EMBEDDING_SIZE_MISMATCH": 6, 87 "NAMESPACE_MISSING": 7, 88 } 89) 90 91func (x NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType) Enum() *NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType { 92 p := new(NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType) 93 *p = x 94 return p 95} 96 97func (x NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType) String() string { 98 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 99} 100 101func (NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType) Descriptor() protoreflect.EnumDescriptor { 102 return file_google_cloud_aiplatform_v1beta1_index_service_proto_enumTypes[0].Descriptor() 103} 104 105func (NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType) Type() protoreflect.EnumType { 106 return &file_google_cloud_aiplatform_v1beta1_index_service_proto_enumTypes[0] 107} 108 109func (x NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType) Number() protoreflect.EnumNumber { 110 return protoreflect.EnumNumber(x) 111} 112 113// Deprecated: Use NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType.Descriptor instead. 114func (NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType) EnumDescriptor() ([]byte, []int) { 115 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{8, 0, 0} 116} 117 118// Request message for [IndexService.CreateIndex][google.cloud.aiplatform.v1beta1.IndexService.CreateIndex]. 119type CreateIndexRequest struct { 120 state protoimpl.MessageState 121 sizeCache protoimpl.SizeCache 122 unknownFields protoimpl.UnknownFields 123 124 // Required. The resource name of the Location to create the Index in. 125 // Format: `projects/{project}/locations/{location}` 126 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 127 // Required. The Index to create. 128 Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` 129} 130 131func (x *CreateIndexRequest) Reset() { 132 *x = CreateIndexRequest{} 133 if protoimpl.UnsafeEnabled { 134 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[0] 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 ms.StoreMessageInfo(mi) 137 } 138} 139 140func (x *CreateIndexRequest) String() string { 141 return protoimpl.X.MessageStringOf(x) 142} 143 144func (*CreateIndexRequest) ProtoMessage() {} 145 146func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message { 147 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[0] 148 if protoimpl.UnsafeEnabled && x != nil { 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 if ms.LoadMessageInfo() == nil { 151 ms.StoreMessageInfo(mi) 152 } 153 return ms 154 } 155 return mi.MessageOf(x) 156} 157 158// Deprecated: Use CreateIndexRequest.ProtoReflect.Descriptor instead. 159func (*CreateIndexRequest) Descriptor() ([]byte, []int) { 160 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{0} 161} 162 163func (x *CreateIndexRequest) GetParent() string { 164 if x != nil { 165 return x.Parent 166 } 167 return "" 168} 169 170func (x *CreateIndexRequest) GetIndex() *Index { 171 if x != nil { 172 return x.Index 173 } 174 return nil 175} 176 177// Runtime operation information for [IndexService.CreateIndex][google.cloud.aiplatform.v1beta1.IndexService.CreateIndex]. 178type CreateIndexOperationMetadata struct { 179 state protoimpl.MessageState 180 sizeCache protoimpl.SizeCache 181 unknownFields protoimpl.UnknownFields 182 183 // The operation generic information. 184 GenericMetadata *GenericOperationMetadata `protobuf:"bytes,1,opt,name=generic_metadata,json=genericMetadata,proto3" json:"generic_metadata,omitempty"` 185 // The operation metadata with regard to Matching Engine Index operation. 186 NearestNeighborSearchOperationMetadata *NearestNeighborSearchOperationMetadata `protobuf:"bytes,2,opt,name=nearest_neighbor_search_operation_metadata,json=nearestNeighborSearchOperationMetadata,proto3" json:"nearest_neighbor_search_operation_metadata,omitempty"` 187} 188 189func (x *CreateIndexOperationMetadata) Reset() { 190 *x = CreateIndexOperationMetadata{} 191 if protoimpl.UnsafeEnabled { 192 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[1] 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 ms.StoreMessageInfo(mi) 195 } 196} 197 198func (x *CreateIndexOperationMetadata) String() string { 199 return protoimpl.X.MessageStringOf(x) 200} 201 202func (*CreateIndexOperationMetadata) ProtoMessage() {} 203 204func (x *CreateIndexOperationMetadata) ProtoReflect() protoreflect.Message { 205 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[1] 206 if protoimpl.UnsafeEnabled && x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214} 215 216// Deprecated: Use CreateIndexOperationMetadata.ProtoReflect.Descriptor instead. 217func (*CreateIndexOperationMetadata) Descriptor() ([]byte, []int) { 218 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{1} 219} 220 221func (x *CreateIndexOperationMetadata) GetGenericMetadata() *GenericOperationMetadata { 222 if x != nil { 223 return x.GenericMetadata 224 } 225 return nil 226} 227 228func (x *CreateIndexOperationMetadata) GetNearestNeighborSearchOperationMetadata() *NearestNeighborSearchOperationMetadata { 229 if x != nil { 230 return x.NearestNeighborSearchOperationMetadata 231 } 232 return nil 233} 234 235// Request message for [IndexService.GetIndex][google.cloud.aiplatform.v1beta1.IndexService.GetIndex] 236type GetIndexRequest struct { 237 state protoimpl.MessageState 238 sizeCache protoimpl.SizeCache 239 unknownFields protoimpl.UnknownFields 240 241 // Required. The name of the Index resource. 242 // Format: 243 // `projects/{project}/locations/{location}/indexes/{index}` 244 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 245} 246 247func (x *GetIndexRequest) Reset() { 248 *x = GetIndexRequest{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[2] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254} 255 256func (x *GetIndexRequest) String() string { 257 return protoimpl.X.MessageStringOf(x) 258} 259 260func (*GetIndexRequest) ProtoMessage() {} 261 262func (x *GetIndexRequest) ProtoReflect() protoreflect.Message { 263 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[2] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272} 273 274// Deprecated: Use GetIndexRequest.ProtoReflect.Descriptor instead. 275func (*GetIndexRequest) Descriptor() ([]byte, []int) { 276 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{2} 277} 278 279func (x *GetIndexRequest) GetName() string { 280 if x != nil { 281 return x.Name 282 } 283 return "" 284} 285 286// Request message for [IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes]. 287type ListIndexesRequest struct { 288 state protoimpl.MessageState 289 sizeCache protoimpl.SizeCache 290 unknownFields protoimpl.UnknownFields 291 292 // Required. The resource name of the Location from which to list the Indexes. 293 // Format: `projects/{project}/locations/{location}` 294 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 295 // The standard list filter. 296 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 297 // The standard list page size. 298 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 299 // The standard list page token. 300 // Typically obtained via 301 // [ListIndexesResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListIndexesResponse.next_page_token] of the previous 302 // [IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes] call. 303 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 304 // Mask specifying which fields to read. 305 ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` 306} 307 308func (x *ListIndexesRequest) Reset() { 309 *x = ListIndexesRequest{} 310 if protoimpl.UnsafeEnabled { 311 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[3] 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 ms.StoreMessageInfo(mi) 314 } 315} 316 317func (x *ListIndexesRequest) String() string { 318 return protoimpl.X.MessageStringOf(x) 319} 320 321func (*ListIndexesRequest) ProtoMessage() {} 322 323func (x *ListIndexesRequest) ProtoReflect() protoreflect.Message { 324 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[3] 325 if protoimpl.UnsafeEnabled && x != nil { 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 if ms.LoadMessageInfo() == nil { 328 ms.StoreMessageInfo(mi) 329 } 330 return ms 331 } 332 return mi.MessageOf(x) 333} 334 335// Deprecated: Use ListIndexesRequest.ProtoReflect.Descriptor instead. 336func (*ListIndexesRequest) Descriptor() ([]byte, []int) { 337 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{3} 338} 339 340func (x *ListIndexesRequest) GetParent() string { 341 if x != nil { 342 return x.Parent 343 } 344 return "" 345} 346 347func (x *ListIndexesRequest) GetFilter() string { 348 if x != nil { 349 return x.Filter 350 } 351 return "" 352} 353 354func (x *ListIndexesRequest) GetPageSize() int32 { 355 if x != nil { 356 return x.PageSize 357 } 358 return 0 359} 360 361func (x *ListIndexesRequest) GetPageToken() string { 362 if x != nil { 363 return x.PageToken 364 } 365 return "" 366} 367 368func (x *ListIndexesRequest) GetReadMask() *fieldmaskpb.FieldMask { 369 if x != nil { 370 return x.ReadMask 371 } 372 return nil 373} 374 375// Response message for [IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes]. 376type ListIndexesResponse struct { 377 state protoimpl.MessageState 378 sizeCache protoimpl.SizeCache 379 unknownFields protoimpl.UnknownFields 380 381 // List of indexes in the requested page. 382 Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` 383 // A token to retrieve next page of results. 384 // Pass to [ListIndexesRequest.page_token][google.cloud.aiplatform.v1beta1.ListIndexesRequest.page_token] to obtain that page. 385 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 386} 387 388func (x *ListIndexesResponse) Reset() { 389 *x = ListIndexesResponse{} 390 if protoimpl.UnsafeEnabled { 391 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[4] 392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 393 ms.StoreMessageInfo(mi) 394 } 395} 396 397func (x *ListIndexesResponse) String() string { 398 return protoimpl.X.MessageStringOf(x) 399} 400 401func (*ListIndexesResponse) ProtoMessage() {} 402 403func (x *ListIndexesResponse) ProtoReflect() protoreflect.Message { 404 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[4] 405 if protoimpl.UnsafeEnabled && x != nil { 406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 407 if ms.LoadMessageInfo() == nil { 408 ms.StoreMessageInfo(mi) 409 } 410 return ms 411 } 412 return mi.MessageOf(x) 413} 414 415// Deprecated: Use ListIndexesResponse.ProtoReflect.Descriptor instead. 416func (*ListIndexesResponse) Descriptor() ([]byte, []int) { 417 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{4} 418} 419 420func (x *ListIndexesResponse) GetIndexes() []*Index { 421 if x != nil { 422 return x.Indexes 423 } 424 return nil 425} 426 427func (x *ListIndexesResponse) GetNextPageToken() string { 428 if x != nil { 429 return x.NextPageToken 430 } 431 return "" 432} 433 434// Request message for [IndexService.UpdateIndex][google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex]. 435type UpdateIndexRequest struct { 436 state protoimpl.MessageState 437 sizeCache protoimpl.SizeCache 438 unknownFields protoimpl.UnknownFields 439 440 // Required. The Index which updates the resource on the server. 441 Index *Index `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` 442 // The update mask applies to the resource. 443 // For the `FieldMask` definition, see [google.protobuf.FieldMask][google.protobuf.FieldMask]. 444 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 445} 446 447func (x *UpdateIndexRequest) Reset() { 448 *x = UpdateIndexRequest{} 449 if protoimpl.UnsafeEnabled { 450 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[5] 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 452 ms.StoreMessageInfo(mi) 453 } 454} 455 456func (x *UpdateIndexRequest) String() string { 457 return protoimpl.X.MessageStringOf(x) 458} 459 460func (*UpdateIndexRequest) ProtoMessage() {} 461 462func (x *UpdateIndexRequest) ProtoReflect() protoreflect.Message { 463 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[5] 464 if protoimpl.UnsafeEnabled && x != nil { 465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 466 if ms.LoadMessageInfo() == nil { 467 ms.StoreMessageInfo(mi) 468 } 469 return ms 470 } 471 return mi.MessageOf(x) 472} 473 474// Deprecated: Use UpdateIndexRequest.ProtoReflect.Descriptor instead. 475func (*UpdateIndexRequest) Descriptor() ([]byte, []int) { 476 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{5} 477} 478 479func (x *UpdateIndexRequest) GetIndex() *Index { 480 if x != nil { 481 return x.Index 482 } 483 return nil 484} 485 486func (x *UpdateIndexRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 487 if x != nil { 488 return x.UpdateMask 489 } 490 return nil 491} 492 493// Runtime operation information for [IndexService.UpdateIndex][google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex]. 494type UpdateIndexOperationMetadata struct { 495 state protoimpl.MessageState 496 sizeCache protoimpl.SizeCache 497 unknownFields protoimpl.UnknownFields 498 499 // The operation generic information. 500 GenericMetadata *GenericOperationMetadata `protobuf:"bytes,1,opt,name=generic_metadata,json=genericMetadata,proto3" json:"generic_metadata,omitempty"` 501 // The operation metadata with regard to Matching Engine Index operation. 502 NearestNeighborSearchOperationMetadata *NearestNeighborSearchOperationMetadata `protobuf:"bytes,2,opt,name=nearest_neighbor_search_operation_metadata,json=nearestNeighborSearchOperationMetadata,proto3" json:"nearest_neighbor_search_operation_metadata,omitempty"` 503} 504 505func (x *UpdateIndexOperationMetadata) Reset() { 506 *x = UpdateIndexOperationMetadata{} 507 if protoimpl.UnsafeEnabled { 508 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[6] 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 510 ms.StoreMessageInfo(mi) 511 } 512} 513 514func (x *UpdateIndexOperationMetadata) String() string { 515 return protoimpl.X.MessageStringOf(x) 516} 517 518func (*UpdateIndexOperationMetadata) ProtoMessage() {} 519 520func (x *UpdateIndexOperationMetadata) ProtoReflect() protoreflect.Message { 521 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[6] 522 if protoimpl.UnsafeEnabled && x != nil { 523 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 524 if ms.LoadMessageInfo() == nil { 525 ms.StoreMessageInfo(mi) 526 } 527 return ms 528 } 529 return mi.MessageOf(x) 530} 531 532// Deprecated: Use UpdateIndexOperationMetadata.ProtoReflect.Descriptor instead. 533func (*UpdateIndexOperationMetadata) Descriptor() ([]byte, []int) { 534 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{6} 535} 536 537func (x *UpdateIndexOperationMetadata) GetGenericMetadata() *GenericOperationMetadata { 538 if x != nil { 539 return x.GenericMetadata 540 } 541 return nil 542} 543 544func (x *UpdateIndexOperationMetadata) GetNearestNeighborSearchOperationMetadata() *NearestNeighborSearchOperationMetadata { 545 if x != nil { 546 return x.NearestNeighborSearchOperationMetadata 547 } 548 return nil 549} 550 551// Request message for [IndexService.DeleteIndex][google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex]. 552type DeleteIndexRequest struct { 553 state protoimpl.MessageState 554 sizeCache protoimpl.SizeCache 555 unknownFields protoimpl.UnknownFields 556 557 // Required. The name of the Index resource to be deleted. 558 // Format: 559 // `projects/{project}/locations/{location}/indexes/{index}` 560 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 561} 562 563func (x *DeleteIndexRequest) Reset() { 564 *x = DeleteIndexRequest{} 565 if protoimpl.UnsafeEnabled { 566 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[7] 567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 568 ms.StoreMessageInfo(mi) 569 } 570} 571 572func (x *DeleteIndexRequest) String() string { 573 return protoimpl.X.MessageStringOf(x) 574} 575 576func (*DeleteIndexRequest) ProtoMessage() {} 577 578func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Message { 579 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[7] 580 if protoimpl.UnsafeEnabled && x != nil { 581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 582 if ms.LoadMessageInfo() == nil { 583 ms.StoreMessageInfo(mi) 584 } 585 return ms 586 } 587 return mi.MessageOf(x) 588} 589 590// Deprecated: Use DeleteIndexRequest.ProtoReflect.Descriptor instead. 591func (*DeleteIndexRequest) Descriptor() ([]byte, []int) { 592 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{7} 593} 594 595func (x *DeleteIndexRequest) GetName() string { 596 if x != nil { 597 return x.Name 598 } 599 return "" 600} 601 602// Runtime operation metadata with regard to Matching Engine Index. 603type NearestNeighborSearchOperationMetadata struct { 604 state protoimpl.MessageState 605 sizeCache protoimpl.SizeCache 606 unknownFields protoimpl.UnknownFields 607 608 // The validation stats of the content (per file) to be inserted or 609 // updated on the Matching Engine Index resource. Populated if 610 // contentsDeltaUri is provided as part of [Index.metadata][google.cloud.aiplatform.v1beta1.Index.metadata]. Please note 611 // that, currently for those files that are broken or has unsupported file 612 // format, we will not have the stats for those files. 613 ContentValidationStats []*NearestNeighborSearchOperationMetadata_ContentValidationStats `protobuf:"bytes,1,rep,name=content_validation_stats,json=contentValidationStats,proto3" json:"content_validation_stats,omitempty"` 614 // The ingested data size in bytes. 615 DataBytesCount int64 `protobuf:"varint,2,opt,name=data_bytes_count,json=dataBytesCount,proto3" json:"data_bytes_count,omitempty"` 616} 617 618func (x *NearestNeighborSearchOperationMetadata) Reset() { 619 *x = NearestNeighborSearchOperationMetadata{} 620 if protoimpl.UnsafeEnabled { 621 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[8] 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 ms.StoreMessageInfo(mi) 624 } 625} 626 627func (x *NearestNeighborSearchOperationMetadata) String() string { 628 return protoimpl.X.MessageStringOf(x) 629} 630 631func (*NearestNeighborSearchOperationMetadata) ProtoMessage() {} 632 633func (x *NearestNeighborSearchOperationMetadata) ProtoReflect() protoreflect.Message { 634 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[8] 635 if protoimpl.UnsafeEnabled && x != nil { 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 if ms.LoadMessageInfo() == nil { 638 ms.StoreMessageInfo(mi) 639 } 640 return ms 641 } 642 return mi.MessageOf(x) 643} 644 645// Deprecated: Use NearestNeighborSearchOperationMetadata.ProtoReflect.Descriptor instead. 646func (*NearestNeighborSearchOperationMetadata) Descriptor() ([]byte, []int) { 647 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{8} 648} 649 650func (x *NearestNeighborSearchOperationMetadata) GetContentValidationStats() []*NearestNeighborSearchOperationMetadata_ContentValidationStats { 651 if x != nil { 652 return x.ContentValidationStats 653 } 654 return nil 655} 656 657func (x *NearestNeighborSearchOperationMetadata) GetDataBytesCount() int64 { 658 if x != nil { 659 return x.DataBytesCount 660 } 661 return 0 662} 663 664type NearestNeighborSearchOperationMetadata_RecordError struct { 665 state protoimpl.MessageState 666 sizeCache protoimpl.SizeCache 667 unknownFields protoimpl.UnknownFields 668 669 // The error type of this record. 670 ErrorType NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType `protobuf:"varint,1,opt,name=error_type,json=errorType,proto3,enum=google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType" json:"error_type,omitempty"` 671 // A human-readable message that is shown to the user to help them fix the 672 // error. Note that this message may change from time to time, your code 673 // should check against error_type as the source of truth. 674 ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` 675 // Cloud Storage URI pointing to the original file in user's bucket. 676 SourceGcsUri string `protobuf:"bytes,3,opt,name=source_gcs_uri,json=sourceGcsUri,proto3" json:"source_gcs_uri,omitempty"` 677 // Empty if the embedding id is failed to parse. 678 EmbeddingId string `protobuf:"bytes,4,opt,name=embedding_id,json=embeddingId,proto3" json:"embedding_id,omitempty"` 679 // The original content of this record. 680 RawRecord string `protobuf:"bytes,5,opt,name=raw_record,json=rawRecord,proto3" json:"raw_record,omitempty"` 681} 682 683func (x *NearestNeighborSearchOperationMetadata_RecordError) Reset() { 684 *x = NearestNeighborSearchOperationMetadata_RecordError{} 685 if protoimpl.UnsafeEnabled { 686 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[9] 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 688 ms.StoreMessageInfo(mi) 689 } 690} 691 692func (x *NearestNeighborSearchOperationMetadata_RecordError) String() string { 693 return protoimpl.X.MessageStringOf(x) 694} 695 696func (*NearestNeighborSearchOperationMetadata_RecordError) ProtoMessage() {} 697 698func (x *NearestNeighborSearchOperationMetadata_RecordError) ProtoReflect() protoreflect.Message { 699 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[9] 700 if protoimpl.UnsafeEnabled && x != nil { 701 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 702 if ms.LoadMessageInfo() == nil { 703 ms.StoreMessageInfo(mi) 704 } 705 return ms 706 } 707 return mi.MessageOf(x) 708} 709 710// Deprecated: Use NearestNeighborSearchOperationMetadata_RecordError.ProtoReflect.Descriptor instead. 711func (*NearestNeighborSearchOperationMetadata_RecordError) Descriptor() ([]byte, []int) { 712 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{8, 0} 713} 714 715func (x *NearestNeighborSearchOperationMetadata_RecordError) GetErrorType() NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType { 716 if x != nil { 717 return x.ErrorType 718 } 719 return NearestNeighborSearchOperationMetadata_RecordError_ERROR_TYPE_UNSPECIFIED 720} 721 722func (x *NearestNeighborSearchOperationMetadata_RecordError) GetErrorMessage() string { 723 if x != nil { 724 return x.ErrorMessage 725 } 726 return "" 727} 728 729func (x *NearestNeighborSearchOperationMetadata_RecordError) GetSourceGcsUri() string { 730 if x != nil { 731 return x.SourceGcsUri 732 } 733 return "" 734} 735 736func (x *NearestNeighborSearchOperationMetadata_RecordError) GetEmbeddingId() string { 737 if x != nil { 738 return x.EmbeddingId 739 } 740 return "" 741} 742 743func (x *NearestNeighborSearchOperationMetadata_RecordError) GetRawRecord() string { 744 if x != nil { 745 return x.RawRecord 746 } 747 return "" 748} 749 750type NearestNeighborSearchOperationMetadata_ContentValidationStats struct { 751 state protoimpl.MessageState 752 sizeCache protoimpl.SizeCache 753 unknownFields protoimpl.UnknownFields 754 755 // Cloud Storage URI pointing to the original file in user's bucket. 756 SourceGcsUri string `protobuf:"bytes,1,opt,name=source_gcs_uri,json=sourceGcsUri,proto3" json:"source_gcs_uri,omitempty"` 757 // Number of records in this file that were successfully processed. 758 ValidRecordCount int64 `protobuf:"varint,2,opt,name=valid_record_count,json=validRecordCount,proto3" json:"valid_record_count,omitempty"` 759 // Number of records in this file we skipped due to validate errors. 760 InvalidRecordCount int64 `protobuf:"varint,3,opt,name=invalid_record_count,json=invalidRecordCount,proto3" json:"invalid_record_count,omitempty"` 761 // The detail information of the partial failures encountered for those 762 // invalid records that couldn't be parsed. 763 // Up to 50 partial errors will be reported. 764 PartialErrors []*NearestNeighborSearchOperationMetadata_RecordError `protobuf:"bytes,4,rep,name=partial_errors,json=partialErrors,proto3" json:"partial_errors,omitempty"` 765} 766 767func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) Reset() { 768 *x = NearestNeighborSearchOperationMetadata_ContentValidationStats{} 769 if protoimpl.UnsafeEnabled { 770 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[10] 771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 772 ms.StoreMessageInfo(mi) 773 } 774} 775 776func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) String() string { 777 return protoimpl.X.MessageStringOf(x) 778} 779 780func (*NearestNeighborSearchOperationMetadata_ContentValidationStats) ProtoMessage() {} 781 782func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) ProtoReflect() protoreflect.Message { 783 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[10] 784 if protoimpl.UnsafeEnabled && x != nil { 785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 786 if ms.LoadMessageInfo() == nil { 787 ms.StoreMessageInfo(mi) 788 } 789 return ms 790 } 791 return mi.MessageOf(x) 792} 793 794// Deprecated: Use NearestNeighborSearchOperationMetadata_ContentValidationStats.ProtoReflect.Descriptor instead. 795func (*NearestNeighborSearchOperationMetadata_ContentValidationStats) Descriptor() ([]byte, []int) { 796 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{8, 1} 797} 798 799func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetSourceGcsUri() string { 800 if x != nil { 801 return x.SourceGcsUri 802 } 803 return "" 804} 805 806func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetValidRecordCount() int64 { 807 if x != nil { 808 return x.ValidRecordCount 809 } 810 return 0 811} 812 813func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetInvalidRecordCount() int64 { 814 if x != nil { 815 return x.InvalidRecordCount 816 } 817 return 0 818} 819 820func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetPartialErrors() []*NearestNeighborSearchOperationMetadata_RecordError { 821 if x != nil { 822 return x.PartialErrors 823 } 824 return nil 825} 826 827var File_google_cloud_aiplatform_v1beta1_index_service_proto protoreflect.FileDescriptor 828 829var file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc = []byte{ 830 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 831 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 832 0x31, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 833 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 834 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 835 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 836 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 837 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 838 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 839 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 840 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 841 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 842 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 843 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 844 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 845 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 846 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 847 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 848 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 849 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 850 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 851 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 852 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 853 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 854 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 855 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 856 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 857 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 858 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 859 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 860 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 861 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 862 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xaa, 0x02, 0x0a, 0x1c, 863 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 0x65, 0x72, 0x61, 864 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x64, 0x0a, 0x10, 865 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 866 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 867 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 868 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 869 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 870 0x61, 0x52, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 871 0x74, 0x61, 0x12, 0xa3, 0x01, 0x0a, 0x2a, 0x6e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x5f, 0x6e, 872 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6f, 873 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 874 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 875 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 876 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 877 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 878 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 879 0x52, 0x26, 0x6e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 880 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 881 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 882 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 883 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 884 0x21, 0x0a, 0x1f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 885 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x64, 886 0x65, 0x78, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xe4, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 887 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 888 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 889 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 890 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 891 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 892 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 893 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 894 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 895 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 896 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 897 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6d, 898 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 899 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 900 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x22, 901 0x7f, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 902 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 903 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 904 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 905 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 906 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 907 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 908 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 909 0x22, 0x94, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 910 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 911 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 912 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 913 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x03, 914 0xe0, 0x41, 0x02, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 915 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 916 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 917 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 918 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xaa, 0x02, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 919 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 920 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x64, 0x0a, 0x10, 0x67, 0x65, 0x6e, 0x65, 921 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 922 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 923 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 924 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, 925 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x67, 926 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xa3, 927 0x01, 0x0a, 0x2a, 0x6e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x65, 0x69, 0x67, 0x68, 928 0x62, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 929 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 930 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 931 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 932 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 933 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 934 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x26, 0x6e, 0x65, 935 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 936 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 937 0x64, 0x61, 0x74, 0x61, 0x22, 0x51, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 938 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 939 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 940 0x0a, 0x1f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 941 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x64, 0x65, 942 0x78, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x84, 0x08, 0x0a, 0x26, 0x4e, 0x65, 0x61, 0x72, 943 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 944 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 945 0x74, 0x61, 0x12, 0x98, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x76, 946 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 947 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 948 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 949 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 950 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 951 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 952 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 953 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x61, 954 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x28, 0x0a, 955 0x10, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 956 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x42, 0x79, 0x74, 957 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xf7, 0x03, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 958 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x82, 0x01, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 959 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x63, 0x2e, 0x67, 960 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 961 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 962 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 963 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 964 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 965 0x72, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 966 0x65, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 967 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 968 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 969 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x63, 0x73, 0x5f, 970 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 971 0x65, 0x47, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6d, 0x62, 0x65, 0x64, 972 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 973 0x6d, 0x62, 0x65, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 974 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 975 0x72, 0x61, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0xd5, 0x01, 0x0a, 0x0f, 0x52, 0x65, 976 0x63, 0x6f, 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 977 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 978 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4d, 0x50, 979 0x54, 0x59, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x56, 980 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 981 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x53, 982 0x56, 0x5f, 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 983 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x56, 0x52, 0x4f, 0x5f, 0x53, 0x59, 0x4e, 0x54, 0x41, 984 0x58, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x45, 985 0x4d, 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 986 0x17, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 987 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x41, 988 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 989 0x07, 0x1a, 0x9a, 0x02, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 990 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0e, 991 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 992 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x63, 0x73, 0x55, 993 0x72, 0x69, 0x12, 0x2c, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x6f, 994 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 995 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 996 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x6f, 997 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 998 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x75, 999 0x6e, 0x74, 0x12, 0x7a, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x72, 1000 0x72, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x67, 0x6f, 0x6f, 1001 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 1002 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 1003 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 1004 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 1005 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 1006 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x32, 0xdf, 1007 0x08, 0x0a, 0x0c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 1008 0xd9, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 1009 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 1010 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1011 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 1012 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 1013 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 1014 0x69, 0x6f, 0x6e, 0x22, 0x76, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x30, 0x2f, 0x76, 0x31, 1015 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 1016 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1017 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x3a, 0x05, 0x69, 1018 0x6e, 0x64, 0x65, 0x78, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x6e, 1019 0x64, 0x65, 0x78, 0xca, 0x41, 0x25, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1c, 0x43, 1020 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 1021 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xa5, 0x01, 0x0a, 0x08, 1022 0x47, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1023 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 1024 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 1025 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 1026 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 1027 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 1028 0x65, 0x78, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x62, 1029 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1030 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1031 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 1032 0x61, 0x6d, 0x65, 0x12, 0xbb, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 1033 0x78, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1034 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 1035 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 1036 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1037 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 1038 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 1039 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 1040 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1041 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1042 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 1043 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 1044 0x74, 0x12, 0xe5, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 1045 0x78, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1046 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 1047 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 1048 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1049 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 1050 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x32, 0x36, 1051 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 1052 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 1053 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 1054 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0xda, 0x41, 0x11, 1055 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 1056 0x6b, 0xca, 0x41, 0x25, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1c, 0x55, 0x70, 0x64, 1057 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 1058 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xd5, 0x01, 0x0a, 0x0b, 0x44, 0x65, 1059 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1060 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 1061 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 1062 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 1063 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 1064 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x82, 1065 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x2a, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 1066 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1067 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x64, 1068 0x65, 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 1069 0x30, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 1070 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 1071 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1072 0x61, 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 1073 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 1074 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 1075 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 1076 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 1077 0x42, 0xee, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1078 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 1079 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x11, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 1080 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 1081 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 1082 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1083 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 1084 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x69, 1085 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 1086 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 1087 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 1088 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 1089 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 1090 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 1091 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 1092 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1093} 1094 1095var ( 1096 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescOnce sync.Once 1097 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc 1098) 1099 1100func file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP() []byte { 1101 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescOnce.Do(func() { 1102 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData) 1103 }) 1104 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData 1105} 1106 1107var file_google_cloud_aiplatform_v1beta1_index_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1108var file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1109var file_google_cloud_aiplatform_v1beta1_index_service_proto_goTypes = []interface{}{ 1110 (NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType)(0), // 0: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType 1111 (*CreateIndexRequest)(nil), // 1: google.cloud.aiplatform.v1beta1.CreateIndexRequest 1112 (*CreateIndexOperationMetadata)(nil), // 2: google.cloud.aiplatform.v1beta1.CreateIndexOperationMetadata 1113 (*GetIndexRequest)(nil), // 3: google.cloud.aiplatform.v1beta1.GetIndexRequest 1114 (*ListIndexesRequest)(nil), // 4: google.cloud.aiplatform.v1beta1.ListIndexesRequest 1115 (*ListIndexesResponse)(nil), // 5: google.cloud.aiplatform.v1beta1.ListIndexesResponse 1116 (*UpdateIndexRequest)(nil), // 6: google.cloud.aiplatform.v1beta1.UpdateIndexRequest 1117 (*UpdateIndexOperationMetadata)(nil), // 7: google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata 1118 (*DeleteIndexRequest)(nil), // 8: google.cloud.aiplatform.v1beta1.DeleteIndexRequest 1119 (*NearestNeighborSearchOperationMetadata)(nil), // 9: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata 1120 (*NearestNeighborSearchOperationMetadata_RecordError)(nil), // 10: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError 1121 (*NearestNeighborSearchOperationMetadata_ContentValidationStats)(nil), // 11: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats 1122 (*Index)(nil), // 12: google.cloud.aiplatform.v1beta1.Index 1123 (*GenericOperationMetadata)(nil), // 13: google.cloud.aiplatform.v1beta1.GenericOperationMetadata 1124 (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask 1125 (*longrunning.Operation)(nil), // 15: google.longrunning.Operation 1126} 1127var file_google_cloud_aiplatform_v1beta1_index_service_proto_depIdxs = []int32{ 1128 12, // 0: google.cloud.aiplatform.v1beta1.CreateIndexRequest.index:type_name -> google.cloud.aiplatform.v1beta1.Index 1129 13, // 1: google.cloud.aiplatform.v1beta1.CreateIndexOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1beta1.GenericOperationMetadata 1130 9, // 2: google.cloud.aiplatform.v1beta1.CreateIndexOperationMetadata.nearest_neighbor_search_operation_metadata:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata 1131 14, // 3: google.cloud.aiplatform.v1beta1.ListIndexesRequest.read_mask:type_name -> google.protobuf.FieldMask 1132 12, // 4: google.cloud.aiplatform.v1beta1.ListIndexesResponse.indexes:type_name -> google.cloud.aiplatform.v1beta1.Index 1133 12, // 5: google.cloud.aiplatform.v1beta1.UpdateIndexRequest.index:type_name -> google.cloud.aiplatform.v1beta1.Index 1134 14, // 6: google.cloud.aiplatform.v1beta1.UpdateIndexRequest.update_mask:type_name -> google.protobuf.FieldMask 1135 13, // 7: google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1beta1.GenericOperationMetadata 1136 9, // 8: google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata.nearest_neighbor_search_operation_metadata:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata 1137 11, // 9: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.content_validation_stats:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats 1138 0, // 10: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.error_type:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType 1139 10, // 11: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats.partial_errors:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError 1140 1, // 12: google.cloud.aiplatform.v1beta1.IndexService.CreateIndex:input_type -> google.cloud.aiplatform.v1beta1.CreateIndexRequest 1141 3, // 13: google.cloud.aiplatform.v1beta1.IndexService.GetIndex:input_type -> google.cloud.aiplatform.v1beta1.GetIndexRequest 1142 4, // 14: google.cloud.aiplatform.v1beta1.IndexService.ListIndexes:input_type -> google.cloud.aiplatform.v1beta1.ListIndexesRequest 1143 6, // 15: google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex:input_type -> google.cloud.aiplatform.v1beta1.UpdateIndexRequest 1144 8, // 16: google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex:input_type -> google.cloud.aiplatform.v1beta1.DeleteIndexRequest 1145 15, // 17: google.cloud.aiplatform.v1beta1.IndexService.CreateIndex:output_type -> google.longrunning.Operation 1146 12, // 18: google.cloud.aiplatform.v1beta1.IndexService.GetIndex:output_type -> google.cloud.aiplatform.v1beta1.Index 1147 5, // 19: google.cloud.aiplatform.v1beta1.IndexService.ListIndexes:output_type -> google.cloud.aiplatform.v1beta1.ListIndexesResponse 1148 15, // 20: google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex:output_type -> google.longrunning.Operation 1149 15, // 21: google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex:output_type -> google.longrunning.Operation 1150 17, // [17:22] is the sub-list for method output_type 1151 12, // [12:17] is the sub-list for method input_type 1152 12, // [12:12] is the sub-list for extension type_name 1153 12, // [12:12] is the sub-list for extension extendee 1154 0, // [0:12] is the sub-list for field type_name 1155} 1156 1157func init() { file_google_cloud_aiplatform_v1beta1_index_service_proto_init() } 1158func file_google_cloud_aiplatform_v1beta1_index_service_proto_init() { 1159 if File_google_cloud_aiplatform_v1beta1_index_service_proto != nil { 1160 return 1161 } 1162 file_google_cloud_aiplatform_v1beta1_index_proto_init() 1163 file_google_cloud_aiplatform_v1beta1_operation_proto_init() 1164 if !protoimpl.UnsafeEnabled { 1165 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1166 switch v := v.(*CreateIndexRequest); i { 1167 case 0: 1168 return &v.state 1169 case 1: 1170 return &v.sizeCache 1171 case 2: 1172 return &v.unknownFields 1173 default: 1174 return nil 1175 } 1176 } 1177 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1178 switch v := v.(*CreateIndexOperationMetadata); i { 1179 case 0: 1180 return &v.state 1181 case 1: 1182 return &v.sizeCache 1183 case 2: 1184 return &v.unknownFields 1185 default: 1186 return nil 1187 } 1188 } 1189 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1190 switch v := v.(*GetIndexRequest); i { 1191 case 0: 1192 return &v.state 1193 case 1: 1194 return &v.sizeCache 1195 case 2: 1196 return &v.unknownFields 1197 default: 1198 return nil 1199 } 1200 } 1201 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1202 switch v := v.(*ListIndexesRequest); i { 1203 case 0: 1204 return &v.state 1205 case 1: 1206 return &v.sizeCache 1207 case 2: 1208 return &v.unknownFields 1209 default: 1210 return nil 1211 } 1212 } 1213 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1214 switch v := v.(*ListIndexesResponse); i { 1215 case 0: 1216 return &v.state 1217 case 1: 1218 return &v.sizeCache 1219 case 2: 1220 return &v.unknownFields 1221 default: 1222 return nil 1223 } 1224 } 1225 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1226 switch v := v.(*UpdateIndexRequest); i { 1227 case 0: 1228 return &v.state 1229 case 1: 1230 return &v.sizeCache 1231 case 2: 1232 return &v.unknownFields 1233 default: 1234 return nil 1235 } 1236 } 1237 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1238 switch v := v.(*UpdateIndexOperationMetadata); i { 1239 case 0: 1240 return &v.state 1241 case 1: 1242 return &v.sizeCache 1243 case 2: 1244 return &v.unknownFields 1245 default: 1246 return nil 1247 } 1248 } 1249 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1250 switch v := v.(*DeleteIndexRequest); i { 1251 case 0: 1252 return &v.state 1253 case 1: 1254 return &v.sizeCache 1255 case 2: 1256 return &v.unknownFields 1257 default: 1258 return nil 1259 } 1260 } 1261 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1262 switch v := v.(*NearestNeighborSearchOperationMetadata); i { 1263 case 0: 1264 return &v.state 1265 case 1: 1266 return &v.sizeCache 1267 case 2: 1268 return &v.unknownFields 1269 default: 1270 return nil 1271 } 1272 } 1273 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1274 switch v := v.(*NearestNeighborSearchOperationMetadata_RecordError); i { 1275 case 0: 1276 return &v.state 1277 case 1: 1278 return &v.sizeCache 1279 case 2: 1280 return &v.unknownFields 1281 default: 1282 return nil 1283 } 1284 } 1285 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1286 switch v := v.(*NearestNeighborSearchOperationMetadata_ContentValidationStats); i { 1287 case 0: 1288 return &v.state 1289 case 1: 1290 return &v.sizeCache 1291 case 2: 1292 return &v.unknownFields 1293 default: 1294 return nil 1295 } 1296 } 1297 } 1298 type x struct{} 1299 out := protoimpl.TypeBuilder{ 1300 File: protoimpl.DescBuilder{ 1301 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1302 RawDescriptor: file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc, 1303 NumEnums: 1, 1304 NumMessages: 11, 1305 NumExtensions: 0, 1306 NumServices: 1, 1307 }, 1308 GoTypes: file_google_cloud_aiplatform_v1beta1_index_service_proto_goTypes, 1309 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_index_service_proto_depIdxs, 1310 EnumInfos: file_google_cloud_aiplatform_v1beta1_index_service_proto_enumTypes, 1311 MessageInfos: file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes, 1312 }.Build() 1313 File_google_cloud_aiplatform_v1beta1_index_service_proto = out.File 1314 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc = nil 1315 file_google_cloud_aiplatform_v1beta1_index_service_proto_goTypes = nil 1316 file_google_cloud_aiplatform_v1beta1_index_service_proto_depIdxs = nil 1317} 1318 1319// Reference imports to suppress errors if they are not otherwise used. 1320var _ context.Context 1321var _ grpc.ClientConnInterface 1322 1323// This is a compile-time assertion to ensure that this generated file 1324// is compatible with the grpc package it is being compiled against. 1325const _ = grpc.SupportPackageIsVersion6 1326 1327// IndexServiceClient is the client API for IndexService service. 1328// 1329// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1330type IndexServiceClient interface { 1331 // Creates an Index. 1332 CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1333 // Gets an Index. 1334 GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) 1335 // Lists Indexes in a Location. 1336 ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) 1337 // Updates an Index. 1338 UpdateIndex(ctx context.Context, in *UpdateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1339 // Deletes an Index. 1340 // An Index can only be deleted when all its 1341 // [DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes] had been undeployed. 1342 DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1343} 1344 1345type indexServiceClient struct { 1346 cc grpc.ClientConnInterface 1347} 1348 1349func NewIndexServiceClient(cc grpc.ClientConnInterface) IndexServiceClient { 1350 return &indexServiceClient{cc} 1351} 1352 1353func (c *indexServiceClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1354 out := new(longrunning.Operation) 1355 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/CreateIndex", in, out, opts...) 1356 if err != nil { 1357 return nil, err 1358 } 1359 return out, nil 1360} 1361 1362func (c *indexServiceClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) { 1363 out := new(Index) 1364 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/GetIndex", in, out, opts...) 1365 if err != nil { 1366 return nil, err 1367 } 1368 return out, nil 1369} 1370 1371func (c *indexServiceClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) { 1372 out := new(ListIndexesResponse) 1373 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/ListIndexes", in, out, opts...) 1374 if err != nil { 1375 return nil, err 1376 } 1377 return out, nil 1378} 1379 1380func (c *indexServiceClient) UpdateIndex(ctx context.Context, in *UpdateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1381 out := new(longrunning.Operation) 1382 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/UpdateIndex", in, out, opts...) 1383 if err != nil { 1384 return nil, err 1385 } 1386 return out, nil 1387} 1388 1389func (c *indexServiceClient) DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1390 out := new(longrunning.Operation) 1391 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/DeleteIndex", in, out, opts...) 1392 if err != nil { 1393 return nil, err 1394 } 1395 return out, nil 1396} 1397 1398// IndexServiceServer is the server API for IndexService service. 1399type IndexServiceServer interface { 1400 // Creates an Index. 1401 CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) 1402 // Gets an Index. 1403 GetIndex(context.Context, *GetIndexRequest) (*Index, error) 1404 // Lists Indexes in a Location. 1405 ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) 1406 // Updates an Index. 1407 UpdateIndex(context.Context, *UpdateIndexRequest) (*longrunning.Operation, error) 1408 // Deletes an Index. 1409 // An Index can only be deleted when all its 1410 // [DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes] had been undeployed. 1411 DeleteIndex(context.Context, *DeleteIndexRequest) (*longrunning.Operation, error) 1412} 1413 1414// UnimplementedIndexServiceServer can be embedded to have forward compatible implementations. 1415type UnimplementedIndexServiceServer struct { 1416} 1417 1418func (*UnimplementedIndexServiceServer) CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) { 1419 return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") 1420} 1421func (*UnimplementedIndexServiceServer) GetIndex(context.Context, *GetIndexRequest) (*Index, error) { 1422 return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented") 1423} 1424func (*UnimplementedIndexServiceServer) ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) { 1425 return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented") 1426} 1427func (*UnimplementedIndexServiceServer) UpdateIndex(context.Context, *UpdateIndexRequest) (*longrunning.Operation, error) { 1428 return nil, status.Errorf(codes.Unimplemented, "method UpdateIndex not implemented") 1429} 1430func (*UnimplementedIndexServiceServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*longrunning.Operation, error) { 1431 return nil, status.Errorf(codes.Unimplemented, "method DeleteIndex not implemented") 1432} 1433 1434func RegisterIndexServiceServer(s *grpc.Server, srv IndexServiceServer) { 1435 s.RegisterService(&_IndexService_serviceDesc, srv) 1436} 1437 1438func _IndexService_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1439 in := new(CreateIndexRequest) 1440 if err := dec(in); err != nil { 1441 return nil, err 1442 } 1443 if interceptor == nil { 1444 return srv.(IndexServiceServer).CreateIndex(ctx, in) 1445 } 1446 info := &grpc.UnaryServerInfo{ 1447 Server: srv, 1448 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/CreateIndex", 1449 } 1450 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1451 return srv.(IndexServiceServer).CreateIndex(ctx, req.(*CreateIndexRequest)) 1452 } 1453 return interceptor(ctx, in, info, handler) 1454} 1455 1456func _IndexService_GetIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1457 in := new(GetIndexRequest) 1458 if err := dec(in); err != nil { 1459 return nil, err 1460 } 1461 if interceptor == nil { 1462 return srv.(IndexServiceServer).GetIndex(ctx, in) 1463 } 1464 info := &grpc.UnaryServerInfo{ 1465 Server: srv, 1466 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/GetIndex", 1467 } 1468 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1469 return srv.(IndexServiceServer).GetIndex(ctx, req.(*GetIndexRequest)) 1470 } 1471 return interceptor(ctx, in, info, handler) 1472} 1473 1474func _IndexService_ListIndexes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1475 in := new(ListIndexesRequest) 1476 if err := dec(in); err != nil { 1477 return nil, err 1478 } 1479 if interceptor == nil { 1480 return srv.(IndexServiceServer).ListIndexes(ctx, in) 1481 } 1482 info := &grpc.UnaryServerInfo{ 1483 Server: srv, 1484 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/ListIndexes", 1485 } 1486 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1487 return srv.(IndexServiceServer).ListIndexes(ctx, req.(*ListIndexesRequest)) 1488 } 1489 return interceptor(ctx, in, info, handler) 1490} 1491 1492func _IndexService_UpdateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1493 in := new(UpdateIndexRequest) 1494 if err := dec(in); err != nil { 1495 return nil, err 1496 } 1497 if interceptor == nil { 1498 return srv.(IndexServiceServer).UpdateIndex(ctx, in) 1499 } 1500 info := &grpc.UnaryServerInfo{ 1501 Server: srv, 1502 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/UpdateIndex", 1503 } 1504 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1505 return srv.(IndexServiceServer).UpdateIndex(ctx, req.(*UpdateIndexRequest)) 1506 } 1507 return interceptor(ctx, in, info, handler) 1508} 1509 1510func _IndexService_DeleteIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1511 in := new(DeleteIndexRequest) 1512 if err := dec(in); err != nil { 1513 return nil, err 1514 } 1515 if interceptor == nil { 1516 return srv.(IndexServiceServer).DeleteIndex(ctx, in) 1517 } 1518 info := &grpc.UnaryServerInfo{ 1519 Server: srv, 1520 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/DeleteIndex", 1521 } 1522 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1523 return srv.(IndexServiceServer).DeleteIndex(ctx, req.(*DeleteIndexRequest)) 1524 } 1525 return interceptor(ctx, in, info, handler) 1526} 1527 1528var _IndexService_serviceDesc = grpc.ServiceDesc{ 1529 ServiceName: "google.cloud.aiplatform.v1beta1.IndexService", 1530 HandlerType: (*IndexServiceServer)(nil), 1531 Methods: []grpc.MethodDesc{ 1532 { 1533 MethodName: "CreateIndex", 1534 Handler: _IndexService_CreateIndex_Handler, 1535 }, 1536 { 1537 MethodName: "GetIndex", 1538 Handler: _IndexService_GetIndex_Handler, 1539 }, 1540 { 1541 MethodName: "ListIndexes", 1542 Handler: _IndexService_ListIndexes_Handler, 1543 }, 1544 { 1545 MethodName: "UpdateIndex", 1546 Handler: _IndexService_UpdateIndex_Handler, 1547 }, 1548 { 1549 MethodName: "DeleteIndex", 1550 Handler: _IndexService_DeleteIndex_Handler, 1551 }, 1552 }, 1553 Streams: []grpc.StreamDesc{}, 1554 Metadata: "google/cloud/aiplatform/v1beta1/index_service.proto", 1555} 1556