From 265b1cbc2b35674a8163e7255bb95371e5f48c95 Mon Sep 17 00:00:00 2001 From: Arnaud Gourlay Date: Fri, 19 Apr 2024 08:21:22 +0200 Subject: [PATCH 1/5] Update v1.9.0 --- proto/collections.proto | 19 +- qdrant/collections.pb.go | 938 +++++++++++++++++++++++---------------- 2 files changed, 562 insertions(+), 395 deletions(-) diff --git a/proto/collections.proto b/proto/collections.proto index 703a497..f3242fb 100644 --- a/proto/collections.proto +++ b/proto/collections.proto @@ -1,12 +1,19 @@ syntax = "proto3"; package qdrant; +enum Datatype { + Default = 0; + Float32 = 1; + Uint8 = 2; +} + message VectorParams { uint64 size = 1; // Size of the vectors Distance distance = 2; // Distance function used for comparing vectors optional HnswConfigDiff hnsw_config = 3; // Configuration of vector HNSW graph. If omitted - the collection configuration will be used optional QuantizationConfig quantization_config = 4; // Configuration of vector quantization config. If omitted - the collection configuration will be used optional bool on_disk = 5; // If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM. + optional Datatype datatype = 6; // Data type of the vectors } message VectorParamsDiff { @@ -92,6 +99,7 @@ enum CollectionStatus { Green = 1; // All segments are ready Yellow = 2; // Optimization in process Red = 3; // Something went wrong + Grey = 4; // Optimization is pending } enum PayloadSchemaType { @@ -447,9 +455,8 @@ enum ReplicaState { Partial = 2; // The shard is partially loaded and is currently receiving data from other shards Initializing = 3; // Collection is being created Listener = 4; // A shard which receives data, but is not used for search; Useful for backup shards - PartialSnapshot = 5; // Snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard + PartialSnapshot = 5; // Deprecated: snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard Recovery = 6; // Shard is undergoing recovered by an external node; Normally rejects updates, accepts updates if force is true - // TODO(1.9): deprecate PartialSnapshot state } message ShardKey { @@ -495,6 +502,12 @@ message MoveShard { optional ShardTransferMethod method = 4; } +message AbortShardTransfer { + uint32 shard_id = 1; // Local shard id + uint64 from_peer_id = 2; + uint64 to_peer_id = 3; +} + message RestartTransfer { uint32 shard_id = 1; // Local shard id uint64 from_peer_id = 2; @@ -529,7 +542,7 @@ message UpdateCollectionClusterSetupRequest { oneof operation { MoveShard move_shard = 2; MoveShard replicate_shard = 3; - MoveShard abort_transfer = 4; + AbortShardTransfer abort_transfer = 4; Replica drop_replica = 5; CreateShardKey create_shard_key = 7; DeleteShardKey delete_shard_key = 8; diff --git a/qdrant/collections.pb.go b/qdrant/collections.pb.go index 48ed1fb..79f7c5e 100644 --- a/qdrant/collections.pb.go +++ b/qdrant/collections.pb.go @@ -20,6 +20,55 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +type Datatype int32 + +const ( + Datatype_Default Datatype = 0 + Datatype_Float32 Datatype = 1 + Datatype_Uint8 Datatype = 2 +) + +// Enum value maps for Datatype. +var ( + Datatype_name = map[int32]string{ + 0: "Default", + 1: "Float32", + 2: "Uint8", + } + Datatype_value = map[string]int32{ + "Default": 0, + "Float32": 1, + "Uint8": 2, + } +) + +func (x Datatype) Enum() *Datatype { + p := new(Datatype) + *p = x + return p +} + +func (x Datatype) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Datatype) Descriptor() protoreflect.EnumDescriptor { + return file_collections_proto_enumTypes[0].Descriptor() +} + +func (Datatype) Type() protoreflect.EnumType { + return &file_collections_proto_enumTypes[0] +} + +func (x Datatype) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Datatype.Descriptor instead. +func (Datatype) EnumDescriptor() ([]byte, []int) { + return file_collections_proto_rawDescGZIP(), []int{0} +} + type Distance int32 const ( @@ -59,11 +108,11 @@ func (x Distance) String() string { } func (Distance) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[0].Descriptor() + return file_collections_proto_enumTypes[1].Descriptor() } func (Distance) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[0] + return &file_collections_proto_enumTypes[1] } func (x Distance) Number() protoreflect.EnumNumber { @@ -72,7 +121,7 @@ func (x Distance) Number() protoreflect.EnumNumber { // Deprecated: Use Distance.Descriptor instead. func (Distance) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{0} + return file_collections_proto_rawDescGZIP(), []int{1} } type CollectionStatus int32 @@ -82,6 +131,7 @@ const ( CollectionStatus_Green CollectionStatus = 1 // All segments are ready CollectionStatus_Yellow CollectionStatus = 2 // Optimization in process CollectionStatus_Red CollectionStatus = 3 // Something went wrong + CollectionStatus_Grey CollectionStatus = 4 // Optimization is pending ) // Enum value maps for CollectionStatus. @@ -91,12 +141,14 @@ var ( 1: "Green", 2: "Yellow", 3: "Red", + 4: "Grey", } CollectionStatus_value = map[string]int32{ "UnknownCollectionStatus": 0, "Green": 1, "Yellow": 2, "Red": 3, + "Grey": 4, } ) @@ -111,11 +163,11 @@ func (x CollectionStatus) String() string { } func (CollectionStatus) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[1].Descriptor() + return file_collections_proto_enumTypes[2].Descriptor() } func (CollectionStatus) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[1] + return &file_collections_proto_enumTypes[2] } func (x CollectionStatus) Number() protoreflect.EnumNumber { @@ -124,7 +176,7 @@ func (x CollectionStatus) Number() protoreflect.EnumNumber { // Deprecated: Use CollectionStatus.Descriptor instead. func (CollectionStatus) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{1} + return file_collections_proto_rawDescGZIP(), []int{2} } type PayloadSchemaType int32 @@ -175,11 +227,11 @@ func (x PayloadSchemaType) String() string { } func (PayloadSchemaType) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[2].Descriptor() + return file_collections_proto_enumTypes[3].Descriptor() } func (PayloadSchemaType) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[2] + return &file_collections_proto_enumTypes[3] } func (x PayloadSchemaType) Number() protoreflect.EnumNumber { @@ -188,7 +240,7 @@ func (x PayloadSchemaType) Number() protoreflect.EnumNumber { // Deprecated: Use PayloadSchemaType.Descriptor instead. func (PayloadSchemaType) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{2} + return file_collections_proto_rawDescGZIP(), []int{3} } type QuantizationType int32 @@ -221,11 +273,11 @@ func (x QuantizationType) String() string { } func (QuantizationType) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[3].Descriptor() + return file_collections_proto_enumTypes[4].Descriptor() } func (QuantizationType) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[3] + return &file_collections_proto_enumTypes[4] } func (x QuantizationType) Number() protoreflect.EnumNumber { @@ -234,7 +286,7 @@ func (x QuantizationType) Number() protoreflect.EnumNumber { // Deprecated: Use QuantizationType.Descriptor instead. func (QuantizationType) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{3} + return file_collections_proto_rawDescGZIP(), []int{4} } type CompressionRatio int32 @@ -276,11 +328,11 @@ func (x CompressionRatio) String() string { } func (CompressionRatio) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[4].Descriptor() + return file_collections_proto_enumTypes[5].Descriptor() } func (CompressionRatio) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[4] + return &file_collections_proto_enumTypes[5] } func (x CompressionRatio) Number() protoreflect.EnumNumber { @@ -289,7 +341,7 @@ func (x CompressionRatio) Number() protoreflect.EnumNumber { // Deprecated: Use CompressionRatio.Descriptor instead. func (CompressionRatio) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{4} + return file_collections_proto_rawDescGZIP(), []int{5} } type ShardingMethod int32 @@ -322,11 +374,11 @@ func (x ShardingMethod) String() string { } func (ShardingMethod) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[5].Descriptor() + return file_collections_proto_enumTypes[6].Descriptor() } func (ShardingMethod) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[5] + return &file_collections_proto_enumTypes[6] } func (x ShardingMethod) Number() protoreflect.EnumNumber { @@ -335,7 +387,7 @@ func (x ShardingMethod) Number() protoreflect.EnumNumber { // Deprecated: Use ShardingMethod.Descriptor instead. func (ShardingMethod) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{5} + return file_collections_proto_rawDescGZIP(), []int{6} } type TokenizerType int32 @@ -377,11 +429,11 @@ func (x TokenizerType) String() string { } func (TokenizerType) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[6].Descriptor() + return file_collections_proto_enumTypes[7].Descriptor() } func (TokenizerType) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[6] + return &file_collections_proto_enumTypes[7] } func (x TokenizerType) Number() protoreflect.EnumNumber { @@ -390,7 +442,7 @@ func (x TokenizerType) Number() protoreflect.EnumNumber { // Deprecated: Use TokenizerType.Descriptor instead. func (TokenizerType) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{6} + return file_collections_proto_rawDescGZIP(), []int{7} } type ReplicaState int32 @@ -401,7 +453,7 @@ const ( ReplicaState_Partial ReplicaState = 2 // The shard is partially loaded and is currently receiving data from other shards ReplicaState_Initializing ReplicaState = 3 // Collection is being created ReplicaState_Listener ReplicaState = 4 // A shard which receives data, but is not used for search; Useful for backup shards - ReplicaState_PartialSnapshot ReplicaState = 5 // Snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard + ReplicaState_PartialSnapshot ReplicaState = 5 // Deprecated: snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard ReplicaState_Recovery ReplicaState = 6 // Shard is undergoing recovered by an external node; Normally rejects updates, accepts updates if force is true ) @@ -438,11 +490,11 @@ func (x ReplicaState) String() string { } func (ReplicaState) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[7].Descriptor() + return file_collections_proto_enumTypes[8].Descriptor() } func (ReplicaState) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[7] + return &file_collections_proto_enumTypes[8] } func (x ReplicaState) Number() protoreflect.EnumNumber { @@ -451,7 +503,7 @@ func (x ReplicaState) Number() protoreflect.EnumNumber { // Deprecated: Use ReplicaState.Descriptor instead. func (ReplicaState) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{7} + return file_collections_proto_rawDescGZIP(), []int{8} } type ShardTransferMethod int32 @@ -487,11 +539,11 @@ func (x ShardTransferMethod) String() string { } func (ShardTransferMethod) Descriptor() protoreflect.EnumDescriptor { - return file_collections_proto_enumTypes[8].Descriptor() + return file_collections_proto_enumTypes[9].Descriptor() } func (ShardTransferMethod) Type() protoreflect.EnumType { - return &file_collections_proto_enumTypes[8] + return &file_collections_proto_enumTypes[9] } func (x ShardTransferMethod) Number() protoreflect.EnumNumber { @@ -500,7 +552,7 @@ func (x ShardTransferMethod) Number() protoreflect.EnumNumber { // Deprecated: Use ShardTransferMethod.Descriptor instead. func (ShardTransferMethod) EnumDescriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{8} + return file_collections_proto_rawDescGZIP(), []int{9} } type VectorParams struct { @@ -513,6 +565,7 @@ type VectorParams struct { HnswConfig *HnswConfigDiff `protobuf:"bytes,3,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"` // Configuration of vector HNSW graph. If omitted - the collection configuration will be used QuantizationConfig *QuantizationConfig `protobuf:"bytes,4,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Configuration of vector quantization config. If omitted - the collection configuration will be used OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM. + Datatype *Datatype `protobuf:"varint,6,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"` // Data type of the vectors } func (x *VectorParams) Reset() { @@ -582,6 +635,13 @@ func (x *VectorParams) GetOnDisk() bool { return false } +func (x *VectorParams) GetDatatype() Datatype { + if x != nil && x.Datatype != nil { + return *x.Datatype + } + return Datatype_Default +} + type VectorParamsDiff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4184,6 +4244,69 @@ func (x *MoveShard) GetMethod() ShardTransferMethod { return ShardTransferMethod_StreamRecords } +type AbortShardTransfer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id + FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"` + ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"` +} + +func (x *AbortShardTransfer) Reset() { + *x = AbortShardTransfer{} + if protoimpl.UnsafeEnabled { + mi := &file_collections_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AbortShardTransfer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AbortShardTransfer) ProtoMessage() {} + +func (x *AbortShardTransfer) ProtoReflect() protoreflect.Message { + mi := &file_collections_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AbortShardTransfer.ProtoReflect.Descriptor instead. +func (*AbortShardTransfer) Descriptor() ([]byte, []int) { + return file_collections_proto_rawDescGZIP(), []int{55} +} + +func (x *AbortShardTransfer) GetShardId() uint32 { + if x != nil { + return x.ShardId + } + return 0 +} + +func (x *AbortShardTransfer) GetFromPeerId() uint64 { + if x != nil { + return x.FromPeerId + } + return 0 +} + +func (x *AbortShardTransfer) GetToPeerId() uint64 { + if x != nil { + return x.ToPeerId + } + return 0 +} + type RestartTransfer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4198,7 +4321,7 @@ type RestartTransfer struct { func (x *RestartTransfer) Reset() { *x = RestartTransfer{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[55] + mi := &file_collections_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4211,7 +4334,7 @@ func (x *RestartTransfer) String() string { func (*RestartTransfer) ProtoMessage() {} func (x *RestartTransfer) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[55] + mi := &file_collections_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4224,7 +4347,7 @@ func (x *RestartTransfer) ProtoReflect() protoreflect.Message { // Deprecated: Use RestartTransfer.ProtoReflect.Descriptor instead. func (*RestartTransfer) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{55} + return file_collections_proto_rawDescGZIP(), []int{56} } func (x *RestartTransfer) GetShardId() uint32 { @@ -4267,7 +4390,7 @@ type Replica struct { func (x *Replica) Reset() { *x = Replica{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[56] + mi := &file_collections_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4280,7 +4403,7 @@ func (x *Replica) String() string { func (*Replica) ProtoMessage() {} func (x *Replica) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[56] + mi := &file_collections_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4293,7 +4416,7 @@ func (x *Replica) ProtoReflect() protoreflect.Message { // Deprecated: Use Replica.ProtoReflect.Descriptor instead. func (*Replica) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{56} + return file_collections_proto_rawDescGZIP(), []int{57} } func (x *Replica) GetShardId() uint32 { @@ -4324,7 +4447,7 @@ type CreateShardKey struct { func (x *CreateShardKey) Reset() { *x = CreateShardKey{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[57] + mi := &file_collections_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4337,7 +4460,7 @@ func (x *CreateShardKey) String() string { func (*CreateShardKey) ProtoMessage() {} func (x *CreateShardKey) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[57] + mi := &file_collections_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4350,7 +4473,7 @@ func (x *CreateShardKey) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateShardKey.ProtoReflect.Descriptor instead. func (*CreateShardKey) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{57} + return file_collections_proto_rawDescGZIP(), []int{58} } func (x *CreateShardKey) GetShardKey() *ShardKey { @@ -4392,7 +4515,7 @@ type DeleteShardKey struct { func (x *DeleteShardKey) Reset() { *x = DeleteShardKey{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[58] + mi := &file_collections_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4405,7 +4528,7 @@ func (x *DeleteShardKey) String() string { func (*DeleteShardKey) ProtoMessage() {} func (x *DeleteShardKey) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[58] + mi := &file_collections_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4418,7 +4541,7 @@ func (x *DeleteShardKey) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteShardKey.ProtoReflect.Descriptor instead. func (*DeleteShardKey) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{58} + return file_collections_proto_rawDescGZIP(), []int{59} } func (x *DeleteShardKey) GetShardKey() *ShardKey { @@ -4450,7 +4573,7 @@ type UpdateCollectionClusterSetupRequest struct { func (x *UpdateCollectionClusterSetupRequest) Reset() { *x = UpdateCollectionClusterSetupRequest{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[59] + mi := &file_collections_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4463,7 +4586,7 @@ func (x *UpdateCollectionClusterSetupRequest) String() string { func (*UpdateCollectionClusterSetupRequest) ProtoMessage() {} func (x *UpdateCollectionClusterSetupRequest) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[59] + mi := &file_collections_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4476,7 +4599,7 @@ func (x *UpdateCollectionClusterSetupRequest) ProtoReflect() protoreflect.Messag // Deprecated: Use UpdateCollectionClusterSetupRequest.ProtoReflect.Descriptor instead. func (*UpdateCollectionClusterSetupRequest) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{59} + return file_collections_proto_rawDescGZIP(), []int{60} } func (x *UpdateCollectionClusterSetupRequest) GetCollectionName() string { @@ -4507,7 +4630,7 @@ func (x *UpdateCollectionClusterSetupRequest) GetReplicateShard() *MoveShard { return nil } -func (x *UpdateCollectionClusterSetupRequest) GetAbortTransfer() *MoveShard { +func (x *UpdateCollectionClusterSetupRequest) GetAbortTransfer() *AbortShardTransfer { if x, ok := x.GetOperation().(*UpdateCollectionClusterSetupRequest_AbortTransfer); ok { return x.AbortTransfer } @@ -4562,7 +4685,7 @@ type UpdateCollectionClusterSetupRequest_ReplicateShard struct { } type UpdateCollectionClusterSetupRequest_AbortTransfer struct { - AbortTransfer *MoveShard `protobuf:"bytes,4,opt,name=abort_transfer,json=abortTransfer,proto3,oneof"` + AbortTransfer *AbortShardTransfer `protobuf:"bytes,4,opt,name=abort_transfer,json=abortTransfer,proto3,oneof"` } type UpdateCollectionClusterSetupRequest_DropReplica struct { @@ -4613,7 +4736,7 @@ type UpdateCollectionClusterSetupResponse struct { func (x *UpdateCollectionClusterSetupResponse) Reset() { *x = UpdateCollectionClusterSetupResponse{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[60] + mi := &file_collections_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4626,7 +4749,7 @@ func (x *UpdateCollectionClusterSetupResponse) String() string { func (*UpdateCollectionClusterSetupResponse) ProtoMessage() {} func (x *UpdateCollectionClusterSetupResponse) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[60] + mi := &file_collections_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4639,7 +4762,7 @@ func (x *UpdateCollectionClusterSetupResponse) ProtoReflect() protoreflect.Messa // Deprecated: Use UpdateCollectionClusterSetupResponse.ProtoReflect.Descriptor instead. func (*UpdateCollectionClusterSetupResponse) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{60} + return file_collections_proto_rawDescGZIP(), []int{61} } func (x *UpdateCollectionClusterSetupResponse) GetResult() bool { @@ -4662,7 +4785,7 @@ type CreateShardKeyRequest struct { func (x *CreateShardKeyRequest) Reset() { *x = CreateShardKeyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[61] + mi := &file_collections_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4675,7 +4798,7 @@ func (x *CreateShardKeyRequest) String() string { func (*CreateShardKeyRequest) ProtoMessage() {} func (x *CreateShardKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[61] + mi := &file_collections_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4688,7 +4811,7 @@ func (x *CreateShardKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateShardKeyRequest.ProtoReflect.Descriptor instead. func (*CreateShardKeyRequest) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{61} + return file_collections_proto_rawDescGZIP(), []int{62} } func (x *CreateShardKeyRequest) GetCollectionName() string { @@ -4725,7 +4848,7 @@ type DeleteShardKeyRequest struct { func (x *DeleteShardKeyRequest) Reset() { *x = DeleteShardKeyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[62] + mi := &file_collections_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4738,7 +4861,7 @@ func (x *DeleteShardKeyRequest) String() string { func (*DeleteShardKeyRequest) ProtoMessage() {} func (x *DeleteShardKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[62] + mi := &file_collections_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4751,7 +4874,7 @@ func (x *DeleteShardKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteShardKeyRequest.ProtoReflect.Descriptor instead. func (*DeleteShardKeyRequest) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{62} + return file_collections_proto_rawDescGZIP(), []int{63} } func (x *DeleteShardKeyRequest) GetCollectionName() string { @@ -4786,7 +4909,7 @@ type CreateShardKeyResponse struct { func (x *CreateShardKeyResponse) Reset() { *x = CreateShardKeyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[63] + mi := &file_collections_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4799,7 +4922,7 @@ func (x *CreateShardKeyResponse) String() string { func (*CreateShardKeyResponse) ProtoMessage() {} func (x *CreateShardKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[63] + mi := &file_collections_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4812,7 +4935,7 @@ func (x *CreateShardKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateShardKeyResponse.ProtoReflect.Descriptor instead. func (*CreateShardKeyResponse) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{63} + return file_collections_proto_rawDescGZIP(), []int{64} } func (x *CreateShardKeyResponse) GetResult() bool { @@ -4833,7 +4956,7 @@ type DeleteShardKeyResponse struct { func (x *DeleteShardKeyResponse) Reset() { *x = DeleteShardKeyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_collections_proto_msgTypes[64] + mi := &file_collections_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4846,7 +4969,7 @@ func (x *DeleteShardKeyResponse) String() string { func (*DeleteShardKeyResponse) ProtoMessage() {} func (x *DeleteShardKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_collections_proto_msgTypes[64] + mi := &file_collections_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4859,7 +4982,7 @@ func (x *DeleteShardKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteShardKeyResponse.ProtoReflect.Descriptor instead. func (*DeleteShardKeyResponse) Descriptor() ([]byte, []int) { - return file_collections_proto_rawDescGZIP(), []int{64} + return file_collections_proto_rawDescGZIP(), []int{65} } func (x *DeleteShardKeyResponse) GetResult() bool { @@ -4873,7 +4996,7 @@ var File_collections_proto protoreflect.FileDescriptor var file_collections_proto_rawDesc = []byte{ 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x22, 0xb2, 0x02, 0x0a, 0x0c, + 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x22, 0xf2, 0x02, 0x0a, 0x0c, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, @@ -4889,10 +5012,14 @@ var file_collections_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x01, 0x52, 0x12, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, - 0x02, 0x52, 0x06, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, - 0x5f, 0x68, 0x6e, 0x73, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x16, 0x0a, 0x14, - 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x6b, + 0x02, 0x52, 0x06, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x08, + 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, + 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, + 0x48, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, + 0x0e, 0x0a, 0x0c, 0x5f, 0x68, 0x6e, 0x73, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, + 0x16, 0x0a, 0x14, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6f, 0x6e, 0x5f, 0x64, + 0x69, 0x73, 0x6b, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x22, 0xf8, 0x01, 0x0a, 0x10, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x44, 0x69, 0x66, 0x66, 0x12, 0x3c, 0x0a, 0x0b, 0x68, 0x6e, 0x73, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x71, 0x64, 0x72, @@ -5540,150 +5667,162 @@ var file_collections_proto_rawDesc = []byte{ 0x32, 0x1b, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x00, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0xa1, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x65, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, - 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x70, 0x65, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x50, 0x65, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x3d, 0x0a, 0x07, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, - 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x09, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, - 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, - 0x52, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x68, - 0x61, 0x72, 0x64, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x88, 0x01, 0x01, 0x12, 0x32, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x48, 0x01, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, - 0x61, 0x63, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, - 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x72, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, - 0x3f, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, - 0x79, 0x12, 0x2d, 0x0a, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, - 0x22, 0xb8, 0x04, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x75, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x4d, - 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x6f, 0x76, 0x65, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, - 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, - 0x64, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x53, 0x68, - 0x61, 0x72, 0x64, 0x12, 0x3a, 0x0a, 0x0e, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x64, - 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x48, 0x00, - 0x52, 0x0d, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, - 0x34, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, 0x42, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, - 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x10, 0x64, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x44, 0x0a, - 0x10, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, - 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, - 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x88, - 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, - 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3e, 0x0a, 0x24, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x15, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, - 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x48, 0x00, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x88, 0x01, 0x01, 0x42, - 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x15, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, - 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x48, 0x00, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x88, 0x01, 0x01, 0x42, - 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x30, 0x0a, 0x16, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x30, 0x0a, - 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2a, - 0x4f, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, - 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x10, 0x00, - 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x6f, 0x73, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, - 0x45, 0x75, 0x63, 0x6c, 0x69, 0x64, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x6f, 0x74, 0x10, - 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x61, 0x6e, 0x68, 0x61, 0x74, 0x74, 0x61, 0x6e, 0x10, 0x04, - 0x2a, 0x4f, 0x0a, 0x10, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x43, - 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x10, - 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, - 0x59, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x65, 0x64, 0x10, - 0x03, 0x2a, 0x74, 0x0a, 0x11, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x77, 0x6f, - 0x72, 0x64, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x10, - 0x02, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, - 0x47, 0x65, 0x6f, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x65, 0x78, 0x74, 0x10, 0x05, 0x12, - 0x08, 0x0a, 0x04, 0x42, 0x6f, 0x6f, 0x6c, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x61, 0x74, - 0x65, 0x74, 0x69, 0x6d, 0x65, 0x10, 0x07, 0x2a, 0x35, 0x0a, 0x10, 0x51, 0x75, 0x61, 0x6e, 0x74, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, - 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x6e, 0x74, 0x38, 0x10, 0x01, 0x2a, 0x3d, - 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, - 0x69, 0x6f, 0x12, 0x06, 0x0a, 0x02, 0x78, 0x34, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x78, 0x38, - 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x78, 0x31, 0x36, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x78, - 0x33, 0x32, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x78, 0x36, 0x34, 0x10, 0x04, 0x2a, 0x26, 0x0a, - 0x0e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, - 0x08, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x6f, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x10, 0x01, 0x2a, 0x54, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, - 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, - 0x6e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x10, 0x01, 0x12, - 0x0e, 0x0a, 0x0a, 0x57, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x10, 0x02, 0x12, - 0x08, 0x0a, 0x04, 0x57, 0x6f, 0x72, 0x64, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x75, 0x61, 0x6c, 0x10, 0x04, 0x2a, 0x74, 0x0a, 0x0c, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x65, 0x61, 0x64, 0x10, - 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x10, 0x02, 0x12, 0x10, - 0x0a, 0x0c, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x69, 0x6e, 0x67, 0x10, 0x03, - 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x10, 0x04, 0x12, 0x13, - 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, - 0x74, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x10, - 0x06, 0x2a, 0x44, 0x0a, 0x13, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, - 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x61, 0x6c, - 0x44, 0x65, 0x6c, 0x74, 0x61, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x6f, 0x0a, 0x12, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, + 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x66, 0x72, + 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x70, + 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, + 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, 0xa1, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x65, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x66, 0x72, 0x6f, + 0x6d, 0x50, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x70, 0x65, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x50, + 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x3d, 0x0a, 0x07, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, + 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x09, + 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x10, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, + 0x79, 0x52, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x0d, 0x73, + 0x68, 0x61, 0x72, 0x64, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x32, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x48, 0x01, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x70, 0x6c, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x22, 0x3f, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, + 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x09, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, + 0x79, 0x22, 0xc1, 0x04, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, + 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, + 0x4d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x6f, 0x76, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x12, 0x43, 0x0a, 0x0e, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x71, + 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x62, 0x6f, 0x72, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x0c, 0x64, 0x72, 0x6f, + 0x70, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, + 0x42, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, + 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x71, 0x64, 0x72, 0x61, + 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, + 0x79, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x4b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x4b, 0x65, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x71, 0x64, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1d, 0x0a, + 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, + 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3e, 0x0a, 0x24, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x65, 0x74, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x71, 0x64, 0x72, 0x61, + 0x6e, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, + 0x79, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x07, 0x74, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x71, 0x64, 0x72, 0x61, + 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, + 0x79, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x07, 0x74, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x30, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x30, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2a, 0x2f, 0x0a, 0x08, 0x44, 0x61, 0x74, + 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x10, 0x01, 0x12, + 0x09, 0x0a, 0x05, 0x55, 0x69, 0x6e, 0x74, 0x38, 0x10, 0x02, 0x2a, 0x4f, 0x0a, 0x08, 0x44, 0x69, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, + 0x6f, 0x73, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x75, 0x63, 0x6c, 0x69, + 0x64, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x6f, 0x74, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, + 0x4d, 0x61, 0x6e, 0x68, 0x61, 0x74, 0x74, 0x61, 0x6e, 0x10, 0x04, 0x2a, 0x59, 0x0a, 0x10, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, + 0x47, 0x72, 0x65, 0x65, 0x6e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x59, 0x65, 0x6c, 0x6c, 0x6f, + 0x77, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x65, 0x64, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, + 0x47, 0x72, 0x65, 0x79, 0x10, 0x04, 0x2a, 0x74, 0x0a, 0x11, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, + 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, + 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x6e, 0x74, + 0x65, 0x67, 0x65, 0x72, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x10, + 0x03, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x65, 0x6f, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x65, + 0x78, 0x74, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x6f, 0x6f, 0x6c, 0x10, 0x06, 0x12, 0x0c, + 0x0a, 0x08, 0x44, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x10, 0x07, 0x2a, 0x35, 0x0a, 0x10, + 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x17, 0x0a, 0x13, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x6e, 0x74, + 0x38, 0x10, 0x01, 0x2a, 0x3d, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x06, 0x0a, 0x02, 0x78, 0x34, 0x10, 0x00, 0x12, + 0x06, 0x0a, 0x02, 0x78, 0x38, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x78, 0x31, 0x36, 0x10, 0x02, + 0x12, 0x07, 0x0a, 0x03, 0x78, 0x33, 0x32, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x78, 0x36, 0x34, + 0x10, 0x04, 0x2a, 0x26, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x6f, 0x10, 0x00, 0x12, 0x0a, + 0x0a, 0x06, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x10, 0x01, 0x2a, 0x54, 0x0a, 0x0d, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, + 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x72, 0x65, 0x66, + 0x69, 0x78, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x57, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x6f, 0x72, 0x64, 0x10, 0x03, 0x12, 0x10, + 0x0a, 0x0c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x75, 0x61, 0x6c, 0x10, 0x04, + 0x2a, 0x74, 0x0a, 0x0c, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, + 0x44, 0x65, 0x61, 0x64, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, + 0x6c, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, + 0x69, 0x6e, 0x67, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, + 0x72, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x6e, + 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x79, 0x10, 0x06, 0x2a, 0x44, 0x0a, 0x13, 0x53, 0x68, 0x61, 0x72, 0x64, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x11, 0x0a, + 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x10, 0x00, + 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x57, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -5698,178 +5837,181 @@ func file_collections_proto_rawDescGZIP() []byte { return file_collections_proto_rawDescData } -var file_collections_proto_enumTypes = make([]protoimpl.EnumInfo, 9) -var file_collections_proto_msgTypes = make([]protoimpl.MessageInfo, 69) +var file_collections_proto_enumTypes = make([]protoimpl.EnumInfo, 10) +var file_collections_proto_msgTypes = make([]protoimpl.MessageInfo, 70) var file_collections_proto_goTypes = []interface{}{ - (Distance)(0), // 0: qdrant.Distance - (CollectionStatus)(0), // 1: qdrant.CollectionStatus - (PayloadSchemaType)(0), // 2: qdrant.PayloadSchemaType - (QuantizationType)(0), // 3: qdrant.QuantizationType - (CompressionRatio)(0), // 4: qdrant.CompressionRatio - (ShardingMethod)(0), // 5: qdrant.ShardingMethod - (TokenizerType)(0), // 6: qdrant.TokenizerType - (ReplicaState)(0), // 7: qdrant.ReplicaState - (ShardTransferMethod)(0), // 8: qdrant.ShardTransferMethod - (*VectorParams)(nil), // 9: qdrant.VectorParams - (*VectorParamsDiff)(nil), // 10: qdrant.VectorParamsDiff - (*VectorParamsMap)(nil), // 11: qdrant.VectorParamsMap - (*VectorParamsDiffMap)(nil), // 12: qdrant.VectorParamsDiffMap - (*VectorsConfig)(nil), // 13: qdrant.VectorsConfig - (*VectorsConfigDiff)(nil), // 14: qdrant.VectorsConfigDiff - (*SparseVectorParams)(nil), // 15: qdrant.SparseVectorParams - (*SparseVectorConfig)(nil), // 16: qdrant.SparseVectorConfig - (*GetCollectionInfoRequest)(nil), // 17: qdrant.GetCollectionInfoRequest - (*CollectionExistsRequest)(nil), // 18: qdrant.CollectionExistsRequest - (*CollectionExists)(nil), // 19: qdrant.CollectionExists - (*CollectionExistsResponse)(nil), // 20: qdrant.CollectionExistsResponse - (*ListCollectionsRequest)(nil), // 21: qdrant.ListCollectionsRequest - (*CollectionDescription)(nil), // 22: qdrant.CollectionDescription - (*GetCollectionInfoResponse)(nil), // 23: qdrant.GetCollectionInfoResponse - (*ListCollectionsResponse)(nil), // 24: qdrant.ListCollectionsResponse - (*OptimizerStatus)(nil), // 25: qdrant.OptimizerStatus - (*HnswConfigDiff)(nil), // 26: qdrant.HnswConfigDiff - (*SparseIndexConfig)(nil), // 27: qdrant.SparseIndexConfig - (*WalConfigDiff)(nil), // 28: qdrant.WalConfigDiff - (*OptimizersConfigDiff)(nil), // 29: qdrant.OptimizersConfigDiff - (*ScalarQuantization)(nil), // 30: qdrant.ScalarQuantization - (*ProductQuantization)(nil), // 31: qdrant.ProductQuantization - (*BinaryQuantization)(nil), // 32: qdrant.BinaryQuantization - (*QuantizationConfig)(nil), // 33: qdrant.QuantizationConfig - (*Disabled)(nil), // 34: qdrant.Disabled - (*QuantizationConfigDiff)(nil), // 35: qdrant.QuantizationConfigDiff - (*CreateCollection)(nil), // 36: qdrant.CreateCollection - (*UpdateCollection)(nil), // 37: qdrant.UpdateCollection - (*DeleteCollection)(nil), // 38: qdrant.DeleteCollection - (*CollectionOperationResponse)(nil), // 39: qdrant.CollectionOperationResponse - (*CollectionParams)(nil), // 40: qdrant.CollectionParams - (*CollectionParamsDiff)(nil), // 41: qdrant.CollectionParamsDiff - (*CollectionConfig)(nil), // 42: qdrant.CollectionConfig - (*TextIndexParams)(nil), // 43: qdrant.TextIndexParams - (*IntegerIndexParams)(nil), // 44: qdrant.IntegerIndexParams - (*PayloadIndexParams)(nil), // 45: qdrant.PayloadIndexParams - (*PayloadSchemaInfo)(nil), // 46: qdrant.PayloadSchemaInfo - (*CollectionInfo)(nil), // 47: qdrant.CollectionInfo - (*ChangeAliases)(nil), // 48: qdrant.ChangeAliases - (*AliasOperations)(nil), // 49: qdrant.AliasOperations - (*CreateAlias)(nil), // 50: qdrant.CreateAlias - (*RenameAlias)(nil), // 51: qdrant.RenameAlias - (*DeleteAlias)(nil), // 52: qdrant.DeleteAlias - (*ListAliasesRequest)(nil), // 53: qdrant.ListAliasesRequest - (*ListCollectionAliasesRequest)(nil), // 54: qdrant.ListCollectionAliasesRequest - (*AliasDescription)(nil), // 55: qdrant.AliasDescription - (*ListAliasesResponse)(nil), // 56: qdrant.ListAliasesResponse - (*CollectionClusterInfoRequest)(nil), // 57: qdrant.CollectionClusterInfoRequest - (*ShardKey)(nil), // 58: qdrant.ShardKey - (*LocalShardInfo)(nil), // 59: qdrant.LocalShardInfo - (*RemoteShardInfo)(nil), // 60: qdrant.RemoteShardInfo - (*ShardTransferInfo)(nil), // 61: qdrant.ShardTransferInfo - (*CollectionClusterInfoResponse)(nil), // 62: qdrant.CollectionClusterInfoResponse - (*MoveShard)(nil), // 63: qdrant.MoveShard - (*RestartTransfer)(nil), // 64: qdrant.RestartTransfer - (*Replica)(nil), // 65: qdrant.Replica - (*CreateShardKey)(nil), // 66: qdrant.CreateShardKey - (*DeleteShardKey)(nil), // 67: qdrant.DeleteShardKey - (*UpdateCollectionClusterSetupRequest)(nil), // 68: qdrant.UpdateCollectionClusterSetupRequest - (*UpdateCollectionClusterSetupResponse)(nil), // 69: qdrant.UpdateCollectionClusterSetupResponse - (*CreateShardKeyRequest)(nil), // 70: qdrant.CreateShardKeyRequest - (*DeleteShardKeyRequest)(nil), // 71: qdrant.DeleteShardKeyRequest - (*CreateShardKeyResponse)(nil), // 72: qdrant.CreateShardKeyResponse - (*DeleteShardKeyResponse)(nil), // 73: qdrant.DeleteShardKeyResponse - nil, // 74: qdrant.VectorParamsMap.MapEntry - nil, // 75: qdrant.VectorParamsDiffMap.MapEntry - nil, // 76: qdrant.SparseVectorConfig.MapEntry - nil, // 77: qdrant.CollectionInfo.PayloadSchemaEntry + (Datatype)(0), // 0: qdrant.Datatype + (Distance)(0), // 1: qdrant.Distance + (CollectionStatus)(0), // 2: qdrant.CollectionStatus + (PayloadSchemaType)(0), // 3: qdrant.PayloadSchemaType + (QuantizationType)(0), // 4: qdrant.QuantizationType + (CompressionRatio)(0), // 5: qdrant.CompressionRatio + (ShardingMethod)(0), // 6: qdrant.ShardingMethod + (TokenizerType)(0), // 7: qdrant.TokenizerType + (ReplicaState)(0), // 8: qdrant.ReplicaState + (ShardTransferMethod)(0), // 9: qdrant.ShardTransferMethod + (*VectorParams)(nil), // 10: qdrant.VectorParams + (*VectorParamsDiff)(nil), // 11: qdrant.VectorParamsDiff + (*VectorParamsMap)(nil), // 12: qdrant.VectorParamsMap + (*VectorParamsDiffMap)(nil), // 13: qdrant.VectorParamsDiffMap + (*VectorsConfig)(nil), // 14: qdrant.VectorsConfig + (*VectorsConfigDiff)(nil), // 15: qdrant.VectorsConfigDiff + (*SparseVectorParams)(nil), // 16: qdrant.SparseVectorParams + (*SparseVectorConfig)(nil), // 17: qdrant.SparseVectorConfig + (*GetCollectionInfoRequest)(nil), // 18: qdrant.GetCollectionInfoRequest + (*CollectionExistsRequest)(nil), // 19: qdrant.CollectionExistsRequest + (*CollectionExists)(nil), // 20: qdrant.CollectionExists + (*CollectionExistsResponse)(nil), // 21: qdrant.CollectionExistsResponse + (*ListCollectionsRequest)(nil), // 22: qdrant.ListCollectionsRequest + (*CollectionDescription)(nil), // 23: qdrant.CollectionDescription + (*GetCollectionInfoResponse)(nil), // 24: qdrant.GetCollectionInfoResponse + (*ListCollectionsResponse)(nil), // 25: qdrant.ListCollectionsResponse + (*OptimizerStatus)(nil), // 26: qdrant.OptimizerStatus + (*HnswConfigDiff)(nil), // 27: qdrant.HnswConfigDiff + (*SparseIndexConfig)(nil), // 28: qdrant.SparseIndexConfig + (*WalConfigDiff)(nil), // 29: qdrant.WalConfigDiff + (*OptimizersConfigDiff)(nil), // 30: qdrant.OptimizersConfigDiff + (*ScalarQuantization)(nil), // 31: qdrant.ScalarQuantization + (*ProductQuantization)(nil), // 32: qdrant.ProductQuantization + (*BinaryQuantization)(nil), // 33: qdrant.BinaryQuantization + (*QuantizationConfig)(nil), // 34: qdrant.QuantizationConfig + (*Disabled)(nil), // 35: qdrant.Disabled + (*QuantizationConfigDiff)(nil), // 36: qdrant.QuantizationConfigDiff + (*CreateCollection)(nil), // 37: qdrant.CreateCollection + (*UpdateCollection)(nil), // 38: qdrant.UpdateCollection + (*DeleteCollection)(nil), // 39: qdrant.DeleteCollection + (*CollectionOperationResponse)(nil), // 40: qdrant.CollectionOperationResponse + (*CollectionParams)(nil), // 41: qdrant.CollectionParams + (*CollectionParamsDiff)(nil), // 42: qdrant.CollectionParamsDiff + (*CollectionConfig)(nil), // 43: qdrant.CollectionConfig + (*TextIndexParams)(nil), // 44: qdrant.TextIndexParams + (*IntegerIndexParams)(nil), // 45: qdrant.IntegerIndexParams + (*PayloadIndexParams)(nil), // 46: qdrant.PayloadIndexParams + (*PayloadSchemaInfo)(nil), // 47: qdrant.PayloadSchemaInfo + (*CollectionInfo)(nil), // 48: qdrant.CollectionInfo + (*ChangeAliases)(nil), // 49: qdrant.ChangeAliases + (*AliasOperations)(nil), // 50: qdrant.AliasOperations + (*CreateAlias)(nil), // 51: qdrant.CreateAlias + (*RenameAlias)(nil), // 52: qdrant.RenameAlias + (*DeleteAlias)(nil), // 53: qdrant.DeleteAlias + (*ListAliasesRequest)(nil), // 54: qdrant.ListAliasesRequest + (*ListCollectionAliasesRequest)(nil), // 55: qdrant.ListCollectionAliasesRequest + (*AliasDescription)(nil), // 56: qdrant.AliasDescription + (*ListAliasesResponse)(nil), // 57: qdrant.ListAliasesResponse + (*CollectionClusterInfoRequest)(nil), // 58: qdrant.CollectionClusterInfoRequest + (*ShardKey)(nil), // 59: qdrant.ShardKey + (*LocalShardInfo)(nil), // 60: qdrant.LocalShardInfo + (*RemoteShardInfo)(nil), // 61: qdrant.RemoteShardInfo + (*ShardTransferInfo)(nil), // 62: qdrant.ShardTransferInfo + (*CollectionClusterInfoResponse)(nil), // 63: qdrant.CollectionClusterInfoResponse + (*MoveShard)(nil), // 64: qdrant.MoveShard + (*AbortShardTransfer)(nil), // 65: qdrant.AbortShardTransfer + (*RestartTransfer)(nil), // 66: qdrant.RestartTransfer + (*Replica)(nil), // 67: qdrant.Replica + (*CreateShardKey)(nil), // 68: qdrant.CreateShardKey + (*DeleteShardKey)(nil), // 69: qdrant.DeleteShardKey + (*UpdateCollectionClusterSetupRequest)(nil), // 70: qdrant.UpdateCollectionClusterSetupRequest + (*UpdateCollectionClusterSetupResponse)(nil), // 71: qdrant.UpdateCollectionClusterSetupResponse + (*CreateShardKeyRequest)(nil), // 72: qdrant.CreateShardKeyRequest + (*DeleteShardKeyRequest)(nil), // 73: qdrant.DeleteShardKeyRequest + (*CreateShardKeyResponse)(nil), // 74: qdrant.CreateShardKeyResponse + (*DeleteShardKeyResponse)(nil), // 75: qdrant.DeleteShardKeyResponse + nil, // 76: qdrant.VectorParamsMap.MapEntry + nil, // 77: qdrant.VectorParamsDiffMap.MapEntry + nil, // 78: qdrant.SparseVectorConfig.MapEntry + nil, // 79: qdrant.CollectionInfo.PayloadSchemaEntry } var file_collections_proto_depIdxs = []int32{ - 0, // 0: qdrant.VectorParams.distance:type_name -> qdrant.Distance - 26, // 1: qdrant.VectorParams.hnsw_config:type_name -> qdrant.HnswConfigDiff - 33, // 2: qdrant.VectorParams.quantization_config:type_name -> qdrant.QuantizationConfig - 26, // 3: qdrant.VectorParamsDiff.hnsw_config:type_name -> qdrant.HnswConfigDiff - 35, // 4: qdrant.VectorParamsDiff.quantization_config:type_name -> qdrant.QuantizationConfigDiff - 74, // 5: qdrant.VectorParamsMap.map:type_name -> qdrant.VectorParamsMap.MapEntry - 75, // 6: qdrant.VectorParamsDiffMap.map:type_name -> qdrant.VectorParamsDiffMap.MapEntry - 9, // 7: qdrant.VectorsConfig.params:type_name -> qdrant.VectorParams - 11, // 8: qdrant.VectorsConfig.params_map:type_name -> qdrant.VectorParamsMap - 10, // 9: qdrant.VectorsConfigDiff.params:type_name -> qdrant.VectorParamsDiff - 12, // 10: qdrant.VectorsConfigDiff.params_map:type_name -> qdrant.VectorParamsDiffMap - 27, // 11: qdrant.SparseVectorParams.index:type_name -> qdrant.SparseIndexConfig - 76, // 12: qdrant.SparseVectorConfig.map:type_name -> qdrant.SparseVectorConfig.MapEntry - 19, // 13: qdrant.CollectionExistsResponse.result:type_name -> qdrant.CollectionExists - 47, // 14: qdrant.GetCollectionInfoResponse.result:type_name -> qdrant.CollectionInfo - 22, // 15: qdrant.ListCollectionsResponse.collections:type_name -> qdrant.CollectionDescription - 3, // 16: qdrant.ScalarQuantization.type:type_name -> qdrant.QuantizationType - 4, // 17: qdrant.ProductQuantization.compression:type_name -> qdrant.CompressionRatio - 30, // 18: qdrant.QuantizationConfig.scalar:type_name -> qdrant.ScalarQuantization - 31, // 19: qdrant.QuantizationConfig.product:type_name -> qdrant.ProductQuantization - 32, // 20: qdrant.QuantizationConfig.binary:type_name -> qdrant.BinaryQuantization - 30, // 21: qdrant.QuantizationConfigDiff.scalar:type_name -> qdrant.ScalarQuantization - 31, // 22: qdrant.QuantizationConfigDiff.product:type_name -> qdrant.ProductQuantization - 34, // 23: qdrant.QuantizationConfigDiff.disabled:type_name -> qdrant.Disabled - 32, // 24: qdrant.QuantizationConfigDiff.binary:type_name -> qdrant.BinaryQuantization - 26, // 25: qdrant.CreateCollection.hnsw_config:type_name -> qdrant.HnswConfigDiff - 28, // 26: qdrant.CreateCollection.wal_config:type_name -> qdrant.WalConfigDiff - 29, // 27: qdrant.CreateCollection.optimizers_config:type_name -> qdrant.OptimizersConfigDiff - 13, // 28: qdrant.CreateCollection.vectors_config:type_name -> qdrant.VectorsConfig - 33, // 29: qdrant.CreateCollection.quantization_config:type_name -> qdrant.QuantizationConfig - 5, // 30: qdrant.CreateCollection.sharding_method:type_name -> qdrant.ShardingMethod - 16, // 31: qdrant.CreateCollection.sparse_vectors_config:type_name -> qdrant.SparseVectorConfig - 29, // 32: qdrant.UpdateCollection.optimizers_config:type_name -> qdrant.OptimizersConfigDiff - 41, // 33: qdrant.UpdateCollection.params:type_name -> qdrant.CollectionParamsDiff - 26, // 34: qdrant.UpdateCollection.hnsw_config:type_name -> qdrant.HnswConfigDiff - 14, // 35: qdrant.UpdateCollection.vectors_config:type_name -> qdrant.VectorsConfigDiff - 35, // 36: qdrant.UpdateCollection.quantization_config:type_name -> qdrant.QuantizationConfigDiff - 16, // 37: qdrant.UpdateCollection.sparse_vectors_config:type_name -> qdrant.SparseVectorConfig - 13, // 38: qdrant.CollectionParams.vectors_config:type_name -> qdrant.VectorsConfig - 5, // 39: qdrant.CollectionParams.sharding_method:type_name -> qdrant.ShardingMethod - 16, // 40: qdrant.CollectionParams.sparse_vectors_config:type_name -> qdrant.SparseVectorConfig - 40, // 41: qdrant.CollectionConfig.params:type_name -> qdrant.CollectionParams - 26, // 42: qdrant.CollectionConfig.hnsw_config:type_name -> qdrant.HnswConfigDiff - 29, // 43: qdrant.CollectionConfig.optimizer_config:type_name -> qdrant.OptimizersConfigDiff - 28, // 44: qdrant.CollectionConfig.wal_config:type_name -> qdrant.WalConfigDiff - 33, // 45: qdrant.CollectionConfig.quantization_config:type_name -> qdrant.QuantizationConfig - 6, // 46: qdrant.TextIndexParams.tokenizer:type_name -> qdrant.TokenizerType - 43, // 47: qdrant.PayloadIndexParams.text_index_params:type_name -> qdrant.TextIndexParams - 44, // 48: qdrant.PayloadIndexParams.integer_index_params:type_name -> qdrant.IntegerIndexParams - 2, // 49: qdrant.PayloadSchemaInfo.data_type:type_name -> qdrant.PayloadSchemaType - 45, // 50: qdrant.PayloadSchemaInfo.params:type_name -> qdrant.PayloadIndexParams - 1, // 51: qdrant.CollectionInfo.status:type_name -> qdrant.CollectionStatus - 25, // 52: qdrant.CollectionInfo.optimizer_status:type_name -> qdrant.OptimizerStatus - 42, // 53: qdrant.CollectionInfo.config:type_name -> qdrant.CollectionConfig - 77, // 54: qdrant.CollectionInfo.payload_schema:type_name -> qdrant.CollectionInfo.PayloadSchemaEntry - 49, // 55: qdrant.ChangeAliases.actions:type_name -> qdrant.AliasOperations - 50, // 56: qdrant.AliasOperations.create_alias:type_name -> qdrant.CreateAlias - 51, // 57: qdrant.AliasOperations.rename_alias:type_name -> qdrant.RenameAlias - 52, // 58: qdrant.AliasOperations.delete_alias:type_name -> qdrant.DeleteAlias - 55, // 59: qdrant.ListAliasesResponse.aliases:type_name -> qdrant.AliasDescription - 7, // 60: qdrant.LocalShardInfo.state:type_name -> qdrant.ReplicaState - 58, // 61: qdrant.LocalShardInfo.shard_key:type_name -> qdrant.ShardKey - 7, // 62: qdrant.RemoteShardInfo.state:type_name -> qdrant.ReplicaState - 58, // 63: qdrant.RemoteShardInfo.shard_key:type_name -> qdrant.ShardKey - 59, // 64: qdrant.CollectionClusterInfoResponse.local_shards:type_name -> qdrant.LocalShardInfo - 60, // 65: qdrant.CollectionClusterInfoResponse.remote_shards:type_name -> qdrant.RemoteShardInfo - 61, // 66: qdrant.CollectionClusterInfoResponse.shard_transfers:type_name -> qdrant.ShardTransferInfo - 8, // 67: qdrant.MoveShard.method:type_name -> qdrant.ShardTransferMethod - 8, // 68: qdrant.RestartTransfer.method:type_name -> qdrant.ShardTransferMethod - 58, // 69: qdrant.CreateShardKey.shard_key:type_name -> qdrant.ShardKey - 58, // 70: qdrant.DeleteShardKey.shard_key:type_name -> qdrant.ShardKey - 63, // 71: qdrant.UpdateCollectionClusterSetupRequest.move_shard:type_name -> qdrant.MoveShard - 63, // 72: qdrant.UpdateCollectionClusterSetupRequest.replicate_shard:type_name -> qdrant.MoveShard - 63, // 73: qdrant.UpdateCollectionClusterSetupRequest.abort_transfer:type_name -> qdrant.MoveShard - 65, // 74: qdrant.UpdateCollectionClusterSetupRequest.drop_replica:type_name -> qdrant.Replica - 66, // 75: qdrant.UpdateCollectionClusterSetupRequest.create_shard_key:type_name -> qdrant.CreateShardKey - 67, // 76: qdrant.UpdateCollectionClusterSetupRequest.delete_shard_key:type_name -> qdrant.DeleteShardKey - 64, // 77: qdrant.UpdateCollectionClusterSetupRequest.restart_transfer:type_name -> qdrant.RestartTransfer - 66, // 78: qdrant.CreateShardKeyRequest.request:type_name -> qdrant.CreateShardKey - 67, // 79: qdrant.DeleteShardKeyRequest.request:type_name -> qdrant.DeleteShardKey - 9, // 80: qdrant.VectorParamsMap.MapEntry.value:type_name -> qdrant.VectorParams - 10, // 81: qdrant.VectorParamsDiffMap.MapEntry.value:type_name -> qdrant.VectorParamsDiff - 15, // 82: qdrant.SparseVectorConfig.MapEntry.value:type_name -> qdrant.SparseVectorParams - 46, // 83: qdrant.CollectionInfo.PayloadSchemaEntry.value:type_name -> qdrant.PayloadSchemaInfo - 84, // [84:84] is the sub-list for method output_type - 84, // [84:84] is the sub-list for method input_type - 84, // [84:84] is the sub-list for extension type_name - 84, // [84:84] is the sub-list for extension extendee - 0, // [0:84] is the sub-list for field type_name + 1, // 0: qdrant.VectorParams.distance:type_name -> qdrant.Distance + 27, // 1: qdrant.VectorParams.hnsw_config:type_name -> qdrant.HnswConfigDiff + 34, // 2: qdrant.VectorParams.quantization_config:type_name -> qdrant.QuantizationConfig + 0, // 3: qdrant.VectorParams.datatype:type_name -> qdrant.Datatype + 27, // 4: qdrant.VectorParamsDiff.hnsw_config:type_name -> qdrant.HnswConfigDiff + 36, // 5: qdrant.VectorParamsDiff.quantization_config:type_name -> qdrant.QuantizationConfigDiff + 76, // 6: qdrant.VectorParamsMap.map:type_name -> qdrant.VectorParamsMap.MapEntry + 77, // 7: qdrant.VectorParamsDiffMap.map:type_name -> qdrant.VectorParamsDiffMap.MapEntry + 10, // 8: qdrant.VectorsConfig.params:type_name -> qdrant.VectorParams + 12, // 9: qdrant.VectorsConfig.params_map:type_name -> qdrant.VectorParamsMap + 11, // 10: qdrant.VectorsConfigDiff.params:type_name -> qdrant.VectorParamsDiff + 13, // 11: qdrant.VectorsConfigDiff.params_map:type_name -> qdrant.VectorParamsDiffMap + 28, // 12: qdrant.SparseVectorParams.index:type_name -> qdrant.SparseIndexConfig + 78, // 13: qdrant.SparseVectorConfig.map:type_name -> qdrant.SparseVectorConfig.MapEntry + 20, // 14: qdrant.CollectionExistsResponse.result:type_name -> qdrant.CollectionExists + 48, // 15: qdrant.GetCollectionInfoResponse.result:type_name -> qdrant.CollectionInfo + 23, // 16: qdrant.ListCollectionsResponse.collections:type_name -> qdrant.CollectionDescription + 4, // 17: qdrant.ScalarQuantization.type:type_name -> qdrant.QuantizationType + 5, // 18: qdrant.ProductQuantization.compression:type_name -> qdrant.CompressionRatio + 31, // 19: qdrant.QuantizationConfig.scalar:type_name -> qdrant.ScalarQuantization + 32, // 20: qdrant.QuantizationConfig.product:type_name -> qdrant.ProductQuantization + 33, // 21: qdrant.QuantizationConfig.binary:type_name -> qdrant.BinaryQuantization + 31, // 22: qdrant.QuantizationConfigDiff.scalar:type_name -> qdrant.ScalarQuantization + 32, // 23: qdrant.QuantizationConfigDiff.product:type_name -> qdrant.ProductQuantization + 35, // 24: qdrant.QuantizationConfigDiff.disabled:type_name -> qdrant.Disabled + 33, // 25: qdrant.QuantizationConfigDiff.binary:type_name -> qdrant.BinaryQuantization + 27, // 26: qdrant.CreateCollection.hnsw_config:type_name -> qdrant.HnswConfigDiff + 29, // 27: qdrant.CreateCollection.wal_config:type_name -> qdrant.WalConfigDiff + 30, // 28: qdrant.CreateCollection.optimizers_config:type_name -> qdrant.OptimizersConfigDiff + 14, // 29: qdrant.CreateCollection.vectors_config:type_name -> qdrant.VectorsConfig + 34, // 30: qdrant.CreateCollection.quantization_config:type_name -> qdrant.QuantizationConfig + 6, // 31: qdrant.CreateCollection.sharding_method:type_name -> qdrant.ShardingMethod + 17, // 32: qdrant.CreateCollection.sparse_vectors_config:type_name -> qdrant.SparseVectorConfig + 30, // 33: qdrant.UpdateCollection.optimizers_config:type_name -> qdrant.OptimizersConfigDiff + 42, // 34: qdrant.UpdateCollection.params:type_name -> qdrant.CollectionParamsDiff + 27, // 35: qdrant.UpdateCollection.hnsw_config:type_name -> qdrant.HnswConfigDiff + 15, // 36: qdrant.UpdateCollection.vectors_config:type_name -> qdrant.VectorsConfigDiff + 36, // 37: qdrant.UpdateCollection.quantization_config:type_name -> qdrant.QuantizationConfigDiff + 17, // 38: qdrant.UpdateCollection.sparse_vectors_config:type_name -> qdrant.SparseVectorConfig + 14, // 39: qdrant.CollectionParams.vectors_config:type_name -> qdrant.VectorsConfig + 6, // 40: qdrant.CollectionParams.sharding_method:type_name -> qdrant.ShardingMethod + 17, // 41: qdrant.CollectionParams.sparse_vectors_config:type_name -> qdrant.SparseVectorConfig + 41, // 42: qdrant.CollectionConfig.params:type_name -> qdrant.CollectionParams + 27, // 43: qdrant.CollectionConfig.hnsw_config:type_name -> qdrant.HnswConfigDiff + 30, // 44: qdrant.CollectionConfig.optimizer_config:type_name -> qdrant.OptimizersConfigDiff + 29, // 45: qdrant.CollectionConfig.wal_config:type_name -> qdrant.WalConfigDiff + 34, // 46: qdrant.CollectionConfig.quantization_config:type_name -> qdrant.QuantizationConfig + 7, // 47: qdrant.TextIndexParams.tokenizer:type_name -> qdrant.TokenizerType + 44, // 48: qdrant.PayloadIndexParams.text_index_params:type_name -> qdrant.TextIndexParams + 45, // 49: qdrant.PayloadIndexParams.integer_index_params:type_name -> qdrant.IntegerIndexParams + 3, // 50: qdrant.PayloadSchemaInfo.data_type:type_name -> qdrant.PayloadSchemaType + 46, // 51: qdrant.PayloadSchemaInfo.params:type_name -> qdrant.PayloadIndexParams + 2, // 52: qdrant.CollectionInfo.status:type_name -> qdrant.CollectionStatus + 26, // 53: qdrant.CollectionInfo.optimizer_status:type_name -> qdrant.OptimizerStatus + 43, // 54: qdrant.CollectionInfo.config:type_name -> qdrant.CollectionConfig + 79, // 55: qdrant.CollectionInfo.payload_schema:type_name -> qdrant.CollectionInfo.PayloadSchemaEntry + 50, // 56: qdrant.ChangeAliases.actions:type_name -> qdrant.AliasOperations + 51, // 57: qdrant.AliasOperations.create_alias:type_name -> qdrant.CreateAlias + 52, // 58: qdrant.AliasOperations.rename_alias:type_name -> qdrant.RenameAlias + 53, // 59: qdrant.AliasOperations.delete_alias:type_name -> qdrant.DeleteAlias + 56, // 60: qdrant.ListAliasesResponse.aliases:type_name -> qdrant.AliasDescription + 8, // 61: qdrant.LocalShardInfo.state:type_name -> qdrant.ReplicaState + 59, // 62: qdrant.LocalShardInfo.shard_key:type_name -> qdrant.ShardKey + 8, // 63: qdrant.RemoteShardInfo.state:type_name -> qdrant.ReplicaState + 59, // 64: qdrant.RemoteShardInfo.shard_key:type_name -> qdrant.ShardKey + 60, // 65: qdrant.CollectionClusterInfoResponse.local_shards:type_name -> qdrant.LocalShardInfo + 61, // 66: qdrant.CollectionClusterInfoResponse.remote_shards:type_name -> qdrant.RemoteShardInfo + 62, // 67: qdrant.CollectionClusterInfoResponse.shard_transfers:type_name -> qdrant.ShardTransferInfo + 9, // 68: qdrant.MoveShard.method:type_name -> qdrant.ShardTransferMethod + 9, // 69: qdrant.RestartTransfer.method:type_name -> qdrant.ShardTransferMethod + 59, // 70: qdrant.CreateShardKey.shard_key:type_name -> qdrant.ShardKey + 59, // 71: qdrant.DeleteShardKey.shard_key:type_name -> qdrant.ShardKey + 64, // 72: qdrant.UpdateCollectionClusterSetupRequest.move_shard:type_name -> qdrant.MoveShard + 64, // 73: qdrant.UpdateCollectionClusterSetupRequest.replicate_shard:type_name -> qdrant.MoveShard + 65, // 74: qdrant.UpdateCollectionClusterSetupRequest.abort_transfer:type_name -> qdrant.AbortShardTransfer + 67, // 75: qdrant.UpdateCollectionClusterSetupRequest.drop_replica:type_name -> qdrant.Replica + 68, // 76: qdrant.UpdateCollectionClusterSetupRequest.create_shard_key:type_name -> qdrant.CreateShardKey + 69, // 77: qdrant.UpdateCollectionClusterSetupRequest.delete_shard_key:type_name -> qdrant.DeleteShardKey + 66, // 78: qdrant.UpdateCollectionClusterSetupRequest.restart_transfer:type_name -> qdrant.RestartTransfer + 68, // 79: qdrant.CreateShardKeyRequest.request:type_name -> qdrant.CreateShardKey + 69, // 80: qdrant.DeleteShardKeyRequest.request:type_name -> qdrant.DeleteShardKey + 10, // 81: qdrant.VectorParamsMap.MapEntry.value:type_name -> qdrant.VectorParams + 11, // 82: qdrant.VectorParamsDiffMap.MapEntry.value:type_name -> qdrant.VectorParamsDiff + 16, // 83: qdrant.SparseVectorConfig.MapEntry.value:type_name -> qdrant.SparseVectorParams + 47, // 84: qdrant.CollectionInfo.PayloadSchemaEntry.value:type_name -> qdrant.PayloadSchemaInfo + 85, // [85:85] is the sub-list for method output_type + 85, // [85:85] is the sub-list for method input_type + 85, // [85:85] is the sub-list for extension type_name + 85, // [85:85] is the sub-list for extension extendee + 0, // [0:85] is the sub-list for field type_name } func init() { file_collections_proto_init() } @@ -6539,7 +6681,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestartTransfer); i { + switch v := v.(*AbortShardTransfer); i { case 0: return &v.state case 1: @@ -6551,7 +6693,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Replica); i { + switch v := v.(*RestartTransfer); i { case 0: return &v.state case 1: @@ -6563,7 +6705,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateShardKey); i { + switch v := v.(*Replica); i { case 0: return &v.state case 1: @@ -6575,7 +6717,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteShardKey); i { + switch v := v.(*CreateShardKey); i { case 0: return &v.state case 1: @@ -6587,7 +6729,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateCollectionClusterSetupRequest); i { + switch v := v.(*DeleteShardKey); i { case 0: return &v.state case 1: @@ -6599,7 +6741,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateCollectionClusterSetupResponse); i { + switch v := v.(*UpdateCollectionClusterSetupRequest); i { case 0: return &v.state case 1: @@ -6611,7 +6753,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateShardKeyRequest); i { + switch v := v.(*UpdateCollectionClusterSetupResponse); i { case 0: return &v.state case 1: @@ -6623,7 +6765,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteShardKeyRequest); i { + switch v := v.(*CreateShardKeyRequest); i { case 0: return &v.state case 1: @@ -6635,7 +6777,7 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateShardKeyResponse); i { + switch v := v.(*DeleteShardKeyRequest); i { case 0: return &v.state case 1: @@ -6647,6 +6789,18 @@ func file_collections_proto_init() { } } file_collections_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateShardKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_collections_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteShardKeyResponse); i { case 0: return &v.state @@ -6714,8 +6868,8 @@ func file_collections_proto_init() { file_collections_proto_msgTypes[50].OneofWrappers = []interface{}{} file_collections_proto_msgTypes[51].OneofWrappers = []interface{}{} file_collections_proto_msgTypes[54].OneofWrappers = []interface{}{} - file_collections_proto_msgTypes[57].OneofWrappers = []interface{}{} - file_collections_proto_msgTypes[59].OneofWrappers = []interface{}{ + file_collections_proto_msgTypes[58].OneofWrappers = []interface{}{} + file_collections_proto_msgTypes[60].OneofWrappers = []interface{}{ (*UpdateCollectionClusterSetupRequest_MoveShard)(nil), (*UpdateCollectionClusterSetupRequest_ReplicateShard)(nil), (*UpdateCollectionClusterSetupRequest_AbortTransfer)(nil), @@ -6724,15 +6878,15 @@ func file_collections_proto_init() { (*UpdateCollectionClusterSetupRequest_DeleteShardKey)(nil), (*UpdateCollectionClusterSetupRequest_RestartTransfer)(nil), } - file_collections_proto_msgTypes[61].OneofWrappers = []interface{}{} file_collections_proto_msgTypes[62].OneofWrappers = []interface{}{} + file_collections_proto_msgTypes[63].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_collections_proto_rawDesc, - NumEnums: 9, - NumMessages: 69, + NumEnums: 10, + NumMessages: 70, NumExtensions: 0, NumServices: 0, }, From d701ea260eee64385fc2eacb3000376e5e96081d Mon Sep 17 00:00:00 2001 From: Arnaud Gourlay Date: Fri, 19 Apr 2024 08:24:01 +0200 Subject: [PATCH 2/5] run CI on dev and all PRs --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 666e639..a0f8319 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,11 +2,9 @@ name: Go CI on: push: - branches: - - master + branches: [ master, dev ] pull_request: - branches: - - master + branches: [ '**' ] jobs: build: From 3496d95f62e1f6639d3bb9f0e7a5b45ee443928e Mon Sep 17 00:00:00 2001 From: Arnaud Gourlay Date: Fri, 19 Apr 2024 08:26:47 +0200 Subject: [PATCH 3/5] bump test container version --- qdrant/qdrant_grpc.pb_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdrant/qdrant_grpc.pb_test.go b/qdrant/qdrant_grpc.pb_test.go index 41a1c94..5c2a945 100644 --- a/qdrant/qdrant_grpc.pb_test.go +++ b/qdrant/qdrant_grpc.pb_test.go @@ -21,7 +21,7 @@ func TestNewQdrantClient(t *testing.T) { distance = pb.Distance_Dot ) - c, err := qdrant.RunContainer(context.Background(), testcontainers.WithImage("qdrant/qdrant:v1.8.1")) + c, err := qdrant.RunContainer(context.Background(), testcontainers.WithImage("qdrant/qdrant:v1.9.0")) if err != nil { t.Fatalf("Could not start qdrant container: %v", err) } From 8e014437f08222e1e5a4b16b04f772366ddd271b Mon Sep 17 00:00:00 2001 From: Arnaud Gourlay Date: Fri, 19 Apr 2024 08:29:18 +0200 Subject: [PATCH 4/5] test dev image on CI --- qdrant/qdrant_grpc.pb_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdrant/qdrant_grpc.pb_test.go b/qdrant/qdrant_grpc.pb_test.go index 5c2a945..ef7cb23 100644 --- a/qdrant/qdrant_grpc.pb_test.go +++ b/qdrant/qdrant_grpc.pb_test.go @@ -21,7 +21,7 @@ func TestNewQdrantClient(t *testing.T) { distance = pb.Distance_Dot ) - c, err := qdrant.RunContainer(context.Background(), testcontainers.WithImage("qdrant/qdrant:v1.9.0")) + c, err := qdrant.RunContainer(context.Background(), testcontainers.WithImage("qdrant/qdrant:dev")) if err != nil { t.Fatalf("Could not start qdrant container: %v", err) } From 48de1eff967bc8003fc2250629d137833d5c113d Mon Sep 17 00:00:00 2001 From: Arnaud Gourlay Date: Fri, 19 Apr 2024 13:25:03 +0200 Subject: [PATCH 5/5] should fail until new version out --- qdrant/qdrant_grpc.pb_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdrant/qdrant_grpc.pb_test.go b/qdrant/qdrant_grpc.pb_test.go index ef7cb23..5c2a945 100644 --- a/qdrant/qdrant_grpc.pb_test.go +++ b/qdrant/qdrant_grpc.pb_test.go @@ -21,7 +21,7 @@ func TestNewQdrantClient(t *testing.T) { distance = pb.Distance_Dot ) - c, err := qdrant.RunContainer(context.Background(), testcontainers.WithImage("qdrant/qdrant:dev")) + c, err := qdrant.RunContainer(context.Background(), testcontainers.WithImage("qdrant/qdrant:v1.9.0")) if err != nil { t.Fatalf("Could not start qdrant container: %v", err) }