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} 615 616func (x *NearestNeighborSearchOperationMetadata) Reset() { 617 *x = NearestNeighborSearchOperationMetadata{} 618 if protoimpl.UnsafeEnabled { 619 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[8] 620 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 621 ms.StoreMessageInfo(mi) 622 } 623} 624 625func (x *NearestNeighborSearchOperationMetadata) String() string { 626 return protoimpl.X.MessageStringOf(x) 627} 628 629func (*NearestNeighborSearchOperationMetadata) ProtoMessage() {} 630 631func (x *NearestNeighborSearchOperationMetadata) ProtoReflect() protoreflect.Message { 632 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[8] 633 if protoimpl.UnsafeEnabled && x != nil { 634 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 635 if ms.LoadMessageInfo() == nil { 636 ms.StoreMessageInfo(mi) 637 } 638 return ms 639 } 640 return mi.MessageOf(x) 641} 642 643// Deprecated: Use NearestNeighborSearchOperationMetadata.ProtoReflect.Descriptor instead. 644func (*NearestNeighborSearchOperationMetadata) Descriptor() ([]byte, []int) { 645 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{8} 646} 647 648func (x *NearestNeighborSearchOperationMetadata) GetContentValidationStats() []*NearestNeighborSearchOperationMetadata_ContentValidationStats { 649 if x != nil { 650 return x.ContentValidationStats 651 } 652 return nil 653} 654 655type NearestNeighborSearchOperationMetadata_RecordError struct { 656 state protoimpl.MessageState 657 sizeCache protoimpl.SizeCache 658 unknownFields protoimpl.UnknownFields 659 660 // The error type of this record. 661 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"` 662 // A human-readable message that is shown to the user to help them fix the 663 // error. Note that this message may change from time to time, your code 664 // should check against error_type as the source of truth. 665 ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` 666 // Cloud Storage URI pointing to the original file in user's bucket. 667 SourceGcsUri string `protobuf:"bytes,3,opt,name=source_gcs_uri,json=sourceGcsUri,proto3" json:"source_gcs_uri,omitempty"` 668 // Empty if the embedding id is failed to parse. 669 EmbeddingId string `protobuf:"bytes,4,opt,name=embedding_id,json=embeddingId,proto3" json:"embedding_id,omitempty"` 670 // The original content of this record. 671 RawRecord string `protobuf:"bytes,5,opt,name=raw_record,json=rawRecord,proto3" json:"raw_record,omitempty"` 672} 673 674func (x *NearestNeighborSearchOperationMetadata_RecordError) Reset() { 675 *x = NearestNeighborSearchOperationMetadata_RecordError{} 676 if protoimpl.UnsafeEnabled { 677 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[9] 678 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 679 ms.StoreMessageInfo(mi) 680 } 681} 682 683func (x *NearestNeighborSearchOperationMetadata_RecordError) String() string { 684 return protoimpl.X.MessageStringOf(x) 685} 686 687func (*NearestNeighborSearchOperationMetadata_RecordError) ProtoMessage() {} 688 689func (x *NearestNeighborSearchOperationMetadata_RecordError) ProtoReflect() protoreflect.Message { 690 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[9] 691 if protoimpl.UnsafeEnabled && x != nil { 692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 693 if ms.LoadMessageInfo() == nil { 694 ms.StoreMessageInfo(mi) 695 } 696 return ms 697 } 698 return mi.MessageOf(x) 699} 700 701// Deprecated: Use NearestNeighborSearchOperationMetadata_RecordError.ProtoReflect.Descriptor instead. 702func (*NearestNeighborSearchOperationMetadata_RecordError) Descriptor() ([]byte, []int) { 703 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{8, 0} 704} 705 706func (x *NearestNeighborSearchOperationMetadata_RecordError) GetErrorType() NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType { 707 if x != nil { 708 return x.ErrorType 709 } 710 return NearestNeighborSearchOperationMetadata_RecordError_ERROR_TYPE_UNSPECIFIED 711} 712 713func (x *NearestNeighborSearchOperationMetadata_RecordError) GetErrorMessage() string { 714 if x != nil { 715 return x.ErrorMessage 716 } 717 return "" 718} 719 720func (x *NearestNeighborSearchOperationMetadata_RecordError) GetSourceGcsUri() string { 721 if x != nil { 722 return x.SourceGcsUri 723 } 724 return "" 725} 726 727func (x *NearestNeighborSearchOperationMetadata_RecordError) GetEmbeddingId() string { 728 if x != nil { 729 return x.EmbeddingId 730 } 731 return "" 732} 733 734func (x *NearestNeighborSearchOperationMetadata_RecordError) GetRawRecord() string { 735 if x != nil { 736 return x.RawRecord 737 } 738 return "" 739} 740 741type NearestNeighborSearchOperationMetadata_ContentValidationStats struct { 742 state protoimpl.MessageState 743 sizeCache protoimpl.SizeCache 744 unknownFields protoimpl.UnknownFields 745 746 // Cloud Storage URI pointing to the original file in user's bucket. 747 SourceGcsUri string `protobuf:"bytes,1,opt,name=source_gcs_uri,json=sourceGcsUri,proto3" json:"source_gcs_uri,omitempty"` 748 // Number of records in this file that were successfully processed. 749 ValidRecordCount int64 `protobuf:"varint,2,opt,name=valid_record_count,json=validRecordCount,proto3" json:"valid_record_count,omitempty"` 750 // Number of records in this file we skipped due to validate errors. 751 InvalidRecordCount int64 `protobuf:"varint,3,opt,name=invalid_record_count,json=invalidRecordCount,proto3" json:"invalid_record_count,omitempty"` 752 // The detail information of the partial failures encountered for those 753 // invalid records that couldn't be parsed. 754 // Up to 50 partial errors will be reported. 755 PartialErrors []*NearestNeighborSearchOperationMetadata_RecordError `protobuf:"bytes,4,rep,name=partial_errors,json=partialErrors,proto3" json:"partial_errors,omitempty"` 756} 757 758func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) Reset() { 759 *x = NearestNeighborSearchOperationMetadata_ContentValidationStats{} 760 if protoimpl.UnsafeEnabled { 761 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[10] 762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 763 ms.StoreMessageInfo(mi) 764 } 765} 766 767func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) String() string { 768 return protoimpl.X.MessageStringOf(x) 769} 770 771func (*NearestNeighborSearchOperationMetadata_ContentValidationStats) ProtoMessage() {} 772 773func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) ProtoReflect() protoreflect.Message { 774 mi := &file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[10] 775 if protoimpl.UnsafeEnabled && x != nil { 776 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 777 if ms.LoadMessageInfo() == nil { 778 ms.StoreMessageInfo(mi) 779 } 780 return ms 781 } 782 return mi.MessageOf(x) 783} 784 785// Deprecated: Use NearestNeighborSearchOperationMetadata_ContentValidationStats.ProtoReflect.Descriptor instead. 786func (*NearestNeighborSearchOperationMetadata_ContentValidationStats) Descriptor() ([]byte, []int) { 787 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP(), []int{8, 1} 788} 789 790func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetSourceGcsUri() string { 791 if x != nil { 792 return x.SourceGcsUri 793 } 794 return "" 795} 796 797func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetValidRecordCount() int64 { 798 if x != nil { 799 return x.ValidRecordCount 800 } 801 return 0 802} 803 804func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetInvalidRecordCount() int64 { 805 if x != nil { 806 return x.InvalidRecordCount 807 } 808 return 0 809} 810 811func (x *NearestNeighborSearchOperationMetadata_ContentValidationStats) GetPartialErrors() []*NearestNeighborSearchOperationMetadata_RecordError { 812 if x != nil { 813 return x.PartialErrors 814 } 815 return nil 816} 817 818var File_google_cloud_aiplatform_v1beta1_index_service_proto protoreflect.FileDescriptor 819 820var file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc = []byte{ 821 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 822 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 823 0x31, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 824 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 825 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 826 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 827 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 828 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 829 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 830 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 831 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 832 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 833 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 834 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 835 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 836 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 837 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 838 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 839 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 840 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 841 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 842 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 843 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 844 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 845 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 846 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 847 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 848 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 849 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 850 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 851 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 852 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 853 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xaa, 0x02, 0x0a, 0x1c, 854 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 0x65, 0x72, 0x61, 855 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x64, 0x0a, 0x10, 856 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 857 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 858 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 859 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 860 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 861 0x61, 0x52, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 862 0x74, 0x61, 0x12, 0xa3, 0x01, 0x0a, 0x2a, 0x6e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x5f, 0x6e, 863 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6f, 864 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 865 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 866 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 867 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 868 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 869 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 870 0x52, 0x26, 0x6e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 871 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 872 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 873 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 874 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 875 0x21, 0x0a, 0x1f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 876 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x64, 877 0x65, 0x78, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xe4, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 878 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 879 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 880 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 881 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 882 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 883 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 884 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 885 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 886 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 887 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 888 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6d, 889 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 890 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 891 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x22, 892 0x7f, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 893 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 894 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 895 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 896 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 897 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 898 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 899 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 900 0x22, 0x94, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 901 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 902 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 903 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 904 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x03, 905 0xe0, 0x41, 0x02, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 906 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 907 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 908 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 909 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xaa, 0x02, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 910 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 911 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x64, 0x0a, 0x10, 0x67, 0x65, 0x6e, 0x65, 912 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 913 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 914 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 915 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, 916 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x67, 917 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xa3, 918 0x01, 0x0a, 0x2a, 0x6e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x65, 0x69, 0x67, 0x68, 919 0x62, 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 920 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 921 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 922 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 923 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 924 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 925 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x26, 0x6e, 0x65, 926 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 927 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 928 0x64, 0x61, 0x74, 0x61, 0x22, 0x51, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 929 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 930 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 931 0x0a, 0x1f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 932 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x64, 0x65, 933 0x78, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xda, 0x07, 0x0a, 0x26, 0x4e, 0x65, 0x61, 0x72, 934 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 935 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 936 0x74, 0x61, 0x12, 0x98, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x76, 937 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 938 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 939 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 940 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 941 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 942 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 943 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 944 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x61, 945 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x1a, 0xf7, 0x03, 946 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x82, 0x01, 947 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 948 0x28, 0x0e, 0x32, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 949 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 950 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 951 0x68, 0x62, 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 952 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 953 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x72, 954 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 955 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 956 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 957 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 958 0x65, 0x5f, 0x67, 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 959 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x21, 0x0a, 960 0x0c, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 961 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x64, 962 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x77, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 963 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x61, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 964 0xd5, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 965 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 966 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 967 0x0e, 0x0a, 0x0a, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 968 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 969 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x56, 0x41, 970 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x53, 0x56, 0x5f, 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 0x10, 0x03, 971 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x56, 0x52, 0x4f, 972 0x5f, 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x56, 973 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x49, 974 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, 0x47, 975 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x06, 976 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x4d, 0x49, 977 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x1a, 0x9a, 0x02, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x74, 978 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 979 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x63, 0x73, 980 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 981 0x63, 0x65, 0x47, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x2c, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69, 982 0x64, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 983 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 984 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 985 0x64, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 986 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x63, 987 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7a, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 988 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 989 0x32, 0x53, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 990 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 991 0x61, 0x31, 0x2e, 0x4e, 0x65, 0x61, 0x72, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 992 0x6f, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 993 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 994 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x72, 995 0x72, 0x6f, 0x72, 0x73, 0x32, 0xdf, 0x08, 0x0a, 0x0c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x65, 996 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xd9, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 997 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 998 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 999 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 1000 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 1001 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 1002 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x76, 0x82, 0xd3, 0xe4, 0x93, 0x02, 1003 0x39, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 1004 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 1005 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x64, 0x65, 1006 0x78, 0x65, 0x73, 0x3a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 1007 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x6e, 0x64, 0x65, 0x78, 0xca, 0x41, 0x25, 0x0a, 0x05, 0x49, 0x6e, 1008 0x64, 0x65, 0x78, 0x12, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 1009 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1010 0x61, 0x12, 0xa5, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x30, 1011 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 1012 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1013 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1014 0x1a, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1015 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1016 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 1017 0x12, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 1018 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 1019 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f, 1020 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xbb, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 1021 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1022 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 1023 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 1024 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 1025 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 1026 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1027 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 1028 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 1029 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 1030 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1031 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0xda, 0x41, 1032 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xe5, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 1033 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1034 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 1035 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 1036 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 1037 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 1038 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x82, 0xd3, 1039 0xe4, 0x93, 0x02, 0x3f, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 1040 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1041 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1042 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x05, 0x69, 0x6e, 1043 0x64, 0x65, 0x78, 0xda, 0x41, 0x11, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2c, 0x75, 0x70, 0x64, 0x61, 1044 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0xca, 0x41, 0x25, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 1045 0x78, 0x12, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 1046 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 1047 0xd5, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 1048 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 1049 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1050 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 1051 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 1052 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 1053 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x2a, 0x30, 0x2f, 0x76, 0x31, 1054 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 1055 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1056 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 1057 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x30, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1058 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x17, 1059 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 1060 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x61, 0x69, 0x70, 0x6c, 1061 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 1062 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 1063 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1064 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 1065 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xee, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 1066 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 1067 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x11, 1068 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 1069 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 1070 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 1071 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1072 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 1073 0x74, 0x61, 0x31, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0xaa, 0x02, 1074 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 1075 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 1076 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 1077 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 1078 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 1079 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 1080 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1081} 1082 1083var ( 1084 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescOnce sync.Once 1085 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc 1086) 1087 1088func file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescGZIP() []byte { 1089 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescOnce.Do(func() { 1090 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData) 1091 }) 1092 return file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDescData 1093} 1094 1095var file_google_cloud_aiplatform_v1beta1_index_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1096var file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1097var file_google_cloud_aiplatform_v1beta1_index_service_proto_goTypes = []interface{}{ 1098 (NearestNeighborSearchOperationMetadata_RecordError_RecordErrorType)(0), // 0: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType 1099 (*CreateIndexRequest)(nil), // 1: google.cloud.aiplatform.v1beta1.CreateIndexRequest 1100 (*CreateIndexOperationMetadata)(nil), // 2: google.cloud.aiplatform.v1beta1.CreateIndexOperationMetadata 1101 (*GetIndexRequest)(nil), // 3: google.cloud.aiplatform.v1beta1.GetIndexRequest 1102 (*ListIndexesRequest)(nil), // 4: google.cloud.aiplatform.v1beta1.ListIndexesRequest 1103 (*ListIndexesResponse)(nil), // 5: google.cloud.aiplatform.v1beta1.ListIndexesResponse 1104 (*UpdateIndexRequest)(nil), // 6: google.cloud.aiplatform.v1beta1.UpdateIndexRequest 1105 (*UpdateIndexOperationMetadata)(nil), // 7: google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata 1106 (*DeleteIndexRequest)(nil), // 8: google.cloud.aiplatform.v1beta1.DeleteIndexRequest 1107 (*NearestNeighborSearchOperationMetadata)(nil), // 9: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata 1108 (*NearestNeighborSearchOperationMetadata_RecordError)(nil), // 10: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError 1109 (*NearestNeighborSearchOperationMetadata_ContentValidationStats)(nil), // 11: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats 1110 (*Index)(nil), // 12: google.cloud.aiplatform.v1beta1.Index 1111 (*GenericOperationMetadata)(nil), // 13: google.cloud.aiplatform.v1beta1.GenericOperationMetadata 1112 (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask 1113 (*longrunning.Operation)(nil), // 15: google.longrunning.Operation 1114} 1115var file_google_cloud_aiplatform_v1beta1_index_service_proto_depIdxs = []int32{ 1116 12, // 0: google.cloud.aiplatform.v1beta1.CreateIndexRequest.index:type_name -> google.cloud.aiplatform.v1beta1.Index 1117 13, // 1: google.cloud.aiplatform.v1beta1.CreateIndexOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1beta1.GenericOperationMetadata 1118 9, // 2: google.cloud.aiplatform.v1beta1.CreateIndexOperationMetadata.nearest_neighbor_search_operation_metadata:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata 1119 14, // 3: google.cloud.aiplatform.v1beta1.ListIndexesRequest.read_mask:type_name -> google.protobuf.FieldMask 1120 12, // 4: google.cloud.aiplatform.v1beta1.ListIndexesResponse.indexes:type_name -> google.cloud.aiplatform.v1beta1.Index 1121 12, // 5: google.cloud.aiplatform.v1beta1.UpdateIndexRequest.index:type_name -> google.cloud.aiplatform.v1beta1.Index 1122 14, // 6: google.cloud.aiplatform.v1beta1.UpdateIndexRequest.update_mask:type_name -> google.protobuf.FieldMask 1123 13, // 7: google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1beta1.GenericOperationMetadata 1124 9, // 8: google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata.nearest_neighbor_search_operation_metadata:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata 1125 11, // 9: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.content_validation_stats:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats 1126 0, // 10: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.error_type:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType 1127 10, // 11: google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.ContentValidationStats.partial_errors:type_name -> google.cloud.aiplatform.v1beta1.NearestNeighborSearchOperationMetadata.RecordError 1128 1, // 12: google.cloud.aiplatform.v1beta1.IndexService.CreateIndex:input_type -> google.cloud.aiplatform.v1beta1.CreateIndexRequest 1129 3, // 13: google.cloud.aiplatform.v1beta1.IndexService.GetIndex:input_type -> google.cloud.aiplatform.v1beta1.GetIndexRequest 1130 4, // 14: google.cloud.aiplatform.v1beta1.IndexService.ListIndexes:input_type -> google.cloud.aiplatform.v1beta1.ListIndexesRequest 1131 6, // 15: google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex:input_type -> google.cloud.aiplatform.v1beta1.UpdateIndexRequest 1132 8, // 16: google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex:input_type -> google.cloud.aiplatform.v1beta1.DeleteIndexRequest 1133 15, // 17: google.cloud.aiplatform.v1beta1.IndexService.CreateIndex:output_type -> google.longrunning.Operation 1134 12, // 18: google.cloud.aiplatform.v1beta1.IndexService.GetIndex:output_type -> google.cloud.aiplatform.v1beta1.Index 1135 5, // 19: google.cloud.aiplatform.v1beta1.IndexService.ListIndexes:output_type -> google.cloud.aiplatform.v1beta1.ListIndexesResponse 1136 15, // 20: google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex:output_type -> google.longrunning.Operation 1137 15, // 21: google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex:output_type -> google.longrunning.Operation 1138 17, // [17:22] is the sub-list for method output_type 1139 12, // [12:17] is the sub-list for method input_type 1140 12, // [12:12] is the sub-list for extension type_name 1141 12, // [12:12] is the sub-list for extension extendee 1142 0, // [0:12] is the sub-list for field type_name 1143} 1144 1145func init() { file_google_cloud_aiplatform_v1beta1_index_service_proto_init() } 1146func file_google_cloud_aiplatform_v1beta1_index_service_proto_init() { 1147 if File_google_cloud_aiplatform_v1beta1_index_service_proto != nil { 1148 return 1149 } 1150 file_google_cloud_aiplatform_v1beta1_index_proto_init() 1151 file_google_cloud_aiplatform_v1beta1_operation_proto_init() 1152 if !protoimpl.UnsafeEnabled { 1153 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1154 switch v := v.(*CreateIndexRequest); i { 1155 case 0: 1156 return &v.state 1157 case 1: 1158 return &v.sizeCache 1159 case 2: 1160 return &v.unknownFields 1161 default: 1162 return nil 1163 } 1164 } 1165 file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1166 switch v := v.(*CreateIndexOperationMetadata); 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[2].Exporter = func(v interface{}, i int) interface{} { 1178 switch v := v.(*GetIndexRequest); 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[3].Exporter = func(v interface{}, i int) interface{} { 1190 switch v := v.(*ListIndexesRequest); 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[4].Exporter = func(v interface{}, i int) interface{} { 1202 switch v := v.(*ListIndexesResponse); 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[5].Exporter = func(v interface{}, i int) interface{} { 1214 switch v := v.(*UpdateIndexRequest); 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[6].Exporter = func(v interface{}, i int) interface{} { 1226 switch v := v.(*UpdateIndexOperationMetadata); 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[7].Exporter = func(v interface{}, i int) interface{} { 1238 switch v := v.(*DeleteIndexRequest); 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[8].Exporter = func(v interface{}, i int) interface{} { 1250 switch v := v.(*NearestNeighborSearchOperationMetadata); 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[9].Exporter = func(v interface{}, i int) interface{} { 1262 switch v := v.(*NearestNeighborSearchOperationMetadata_RecordError); 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[10].Exporter = func(v interface{}, i int) interface{} { 1274 switch v := v.(*NearestNeighborSearchOperationMetadata_ContentValidationStats); 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 } 1286 type x struct{} 1287 out := protoimpl.TypeBuilder{ 1288 File: protoimpl.DescBuilder{ 1289 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1290 RawDescriptor: file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc, 1291 NumEnums: 1, 1292 NumMessages: 11, 1293 NumExtensions: 0, 1294 NumServices: 1, 1295 }, 1296 GoTypes: file_google_cloud_aiplatform_v1beta1_index_service_proto_goTypes, 1297 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_index_service_proto_depIdxs, 1298 EnumInfos: file_google_cloud_aiplatform_v1beta1_index_service_proto_enumTypes, 1299 MessageInfos: file_google_cloud_aiplatform_v1beta1_index_service_proto_msgTypes, 1300 }.Build() 1301 File_google_cloud_aiplatform_v1beta1_index_service_proto = out.File 1302 file_google_cloud_aiplatform_v1beta1_index_service_proto_rawDesc = nil 1303 file_google_cloud_aiplatform_v1beta1_index_service_proto_goTypes = nil 1304 file_google_cloud_aiplatform_v1beta1_index_service_proto_depIdxs = nil 1305} 1306 1307// Reference imports to suppress errors if they are not otherwise used. 1308var _ context.Context 1309var _ grpc.ClientConnInterface 1310 1311// This is a compile-time assertion to ensure that this generated file 1312// is compatible with the grpc package it is being compiled against. 1313const _ = grpc.SupportPackageIsVersion6 1314 1315// IndexServiceClient is the client API for IndexService service. 1316// 1317// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1318type IndexServiceClient interface { 1319 // Creates an Index. 1320 CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1321 // Gets an Index. 1322 GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) 1323 // Lists Indexes in a Location. 1324 ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) 1325 // Updates an Index. 1326 UpdateIndex(ctx context.Context, in *UpdateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1327 // Deletes an Index. 1328 // An Index can only be deleted when all its 1329 // [DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes] had been undeployed. 1330 DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1331} 1332 1333type indexServiceClient struct { 1334 cc grpc.ClientConnInterface 1335} 1336 1337func NewIndexServiceClient(cc grpc.ClientConnInterface) IndexServiceClient { 1338 return &indexServiceClient{cc} 1339} 1340 1341func (c *indexServiceClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1342 out := new(longrunning.Operation) 1343 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/CreateIndex", in, out, opts...) 1344 if err != nil { 1345 return nil, err 1346 } 1347 return out, nil 1348} 1349 1350func (c *indexServiceClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) { 1351 out := new(Index) 1352 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/GetIndex", in, out, opts...) 1353 if err != nil { 1354 return nil, err 1355 } 1356 return out, nil 1357} 1358 1359func (c *indexServiceClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) { 1360 out := new(ListIndexesResponse) 1361 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/ListIndexes", in, out, opts...) 1362 if err != nil { 1363 return nil, err 1364 } 1365 return out, nil 1366} 1367 1368func (c *indexServiceClient) UpdateIndex(ctx context.Context, in *UpdateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1369 out := new(longrunning.Operation) 1370 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/UpdateIndex", in, out, opts...) 1371 if err != nil { 1372 return nil, err 1373 } 1374 return out, nil 1375} 1376 1377func (c *indexServiceClient) DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1378 out := new(longrunning.Operation) 1379 err := c.cc.Invoke(ctx, "/google.cloud.aiplatform.v1beta1.IndexService/DeleteIndex", in, out, opts...) 1380 if err != nil { 1381 return nil, err 1382 } 1383 return out, nil 1384} 1385 1386// IndexServiceServer is the server API for IndexService service. 1387type IndexServiceServer interface { 1388 // Creates an Index. 1389 CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) 1390 // Gets an Index. 1391 GetIndex(context.Context, *GetIndexRequest) (*Index, error) 1392 // Lists Indexes in a Location. 1393 ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) 1394 // Updates an Index. 1395 UpdateIndex(context.Context, *UpdateIndexRequest) (*longrunning.Operation, error) 1396 // Deletes an Index. 1397 // An Index can only be deleted when all its 1398 // [DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes] had been undeployed. 1399 DeleteIndex(context.Context, *DeleteIndexRequest) (*longrunning.Operation, error) 1400} 1401 1402// UnimplementedIndexServiceServer can be embedded to have forward compatible implementations. 1403type UnimplementedIndexServiceServer struct { 1404} 1405 1406func (*UnimplementedIndexServiceServer) CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) { 1407 return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") 1408} 1409func (*UnimplementedIndexServiceServer) GetIndex(context.Context, *GetIndexRequest) (*Index, error) { 1410 return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented") 1411} 1412func (*UnimplementedIndexServiceServer) ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) { 1413 return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented") 1414} 1415func (*UnimplementedIndexServiceServer) UpdateIndex(context.Context, *UpdateIndexRequest) (*longrunning.Operation, error) { 1416 return nil, status.Errorf(codes.Unimplemented, "method UpdateIndex not implemented") 1417} 1418func (*UnimplementedIndexServiceServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*longrunning.Operation, error) { 1419 return nil, status.Errorf(codes.Unimplemented, "method DeleteIndex not implemented") 1420} 1421 1422func RegisterIndexServiceServer(s *grpc.Server, srv IndexServiceServer) { 1423 s.RegisterService(&_IndexService_serviceDesc, srv) 1424} 1425 1426func _IndexService_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1427 in := new(CreateIndexRequest) 1428 if err := dec(in); err != nil { 1429 return nil, err 1430 } 1431 if interceptor == nil { 1432 return srv.(IndexServiceServer).CreateIndex(ctx, in) 1433 } 1434 info := &grpc.UnaryServerInfo{ 1435 Server: srv, 1436 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/CreateIndex", 1437 } 1438 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1439 return srv.(IndexServiceServer).CreateIndex(ctx, req.(*CreateIndexRequest)) 1440 } 1441 return interceptor(ctx, in, info, handler) 1442} 1443 1444func _IndexService_GetIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1445 in := new(GetIndexRequest) 1446 if err := dec(in); err != nil { 1447 return nil, err 1448 } 1449 if interceptor == nil { 1450 return srv.(IndexServiceServer).GetIndex(ctx, in) 1451 } 1452 info := &grpc.UnaryServerInfo{ 1453 Server: srv, 1454 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/GetIndex", 1455 } 1456 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1457 return srv.(IndexServiceServer).GetIndex(ctx, req.(*GetIndexRequest)) 1458 } 1459 return interceptor(ctx, in, info, handler) 1460} 1461 1462func _IndexService_ListIndexes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1463 in := new(ListIndexesRequest) 1464 if err := dec(in); err != nil { 1465 return nil, err 1466 } 1467 if interceptor == nil { 1468 return srv.(IndexServiceServer).ListIndexes(ctx, in) 1469 } 1470 info := &grpc.UnaryServerInfo{ 1471 Server: srv, 1472 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/ListIndexes", 1473 } 1474 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1475 return srv.(IndexServiceServer).ListIndexes(ctx, req.(*ListIndexesRequest)) 1476 } 1477 return interceptor(ctx, in, info, handler) 1478} 1479 1480func _IndexService_UpdateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1481 in := new(UpdateIndexRequest) 1482 if err := dec(in); err != nil { 1483 return nil, err 1484 } 1485 if interceptor == nil { 1486 return srv.(IndexServiceServer).UpdateIndex(ctx, in) 1487 } 1488 info := &grpc.UnaryServerInfo{ 1489 Server: srv, 1490 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/UpdateIndex", 1491 } 1492 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1493 return srv.(IndexServiceServer).UpdateIndex(ctx, req.(*UpdateIndexRequest)) 1494 } 1495 return interceptor(ctx, in, info, handler) 1496} 1497 1498func _IndexService_DeleteIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1499 in := new(DeleteIndexRequest) 1500 if err := dec(in); err != nil { 1501 return nil, err 1502 } 1503 if interceptor == nil { 1504 return srv.(IndexServiceServer).DeleteIndex(ctx, in) 1505 } 1506 info := &grpc.UnaryServerInfo{ 1507 Server: srv, 1508 FullMethod: "/google.cloud.aiplatform.v1beta1.IndexService/DeleteIndex", 1509 } 1510 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1511 return srv.(IndexServiceServer).DeleteIndex(ctx, req.(*DeleteIndexRequest)) 1512 } 1513 return interceptor(ctx, in, info, handler) 1514} 1515 1516var _IndexService_serviceDesc = grpc.ServiceDesc{ 1517 ServiceName: "google.cloud.aiplatform.v1beta1.IndexService", 1518 HandlerType: (*IndexServiceServer)(nil), 1519 Methods: []grpc.MethodDesc{ 1520 { 1521 MethodName: "CreateIndex", 1522 Handler: _IndexService_CreateIndex_Handler, 1523 }, 1524 { 1525 MethodName: "GetIndex", 1526 Handler: _IndexService_GetIndex_Handler, 1527 }, 1528 { 1529 MethodName: "ListIndexes", 1530 Handler: _IndexService_ListIndexes_Handler, 1531 }, 1532 { 1533 MethodName: "UpdateIndex", 1534 Handler: _IndexService_UpdateIndex_Handler, 1535 }, 1536 { 1537 MethodName: "DeleteIndex", 1538 Handler: _IndexService_DeleteIndex_Handler, 1539 }, 1540 }, 1541 Streams: []grpc.StreamDesc{}, 1542 Metadata: "google/cloud/aiplatform/v1beta1/index_service.proto", 1543} 1544