diff --git a/apis/docs/v1/docs.md b/apis/docs/v1/docs.md
index e9ad2d2c6d..3ef5fe1759 100644
--- a/apis/docs/v1/docs.md
+++ b/apis/docs/v1/docs.md
@@ -13,7 +13,12 @@
- [Empty](#payload-v1-Empty)
- [Filter](#payload-v1-Filter)
- [Filter.Config](#payload-v1-Filter-Config)
+ - [Filter.DistanceRequest](#payload-v1-Filter-DistanceRequest)
+ - [Filter.DistanceResponse](#payload-v1-Filter-DistanceResponse)
+ - [Filter.Query](#payload-v1-Filter-Query)
- [Filter.Target](#payload-v1-Filter-Target)
+ - [Filter.VectorRequest](#payload-v1-Filter-VectorRequest)
+ - [Filter.VectorResponse](#payload-v1-Filter-VectorResponse)
- [Flush](#payload-v1-Flush)
- [Flush.Request](#payload-v1-Flush-Request)
- [Info](#payload-v1-Info)
@@ -212,9 +217,41 @@ Filter related messages.
Represent filter configuration.
-| Field | Type | Label | Description |
-| ------- | ------------------------------------------ | -------- | ------------------------------------------ |
-| targets | [Filter.Target](#payload-v1-Filter-Target) | repeated | Represent the filter target configuration. |
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ------------------------------------------ |
+| target | [Filter.Target](#payload-v1-Filter-Target) | | Represent the filter target configuration. |
+| query | [Filter.Query](#payload-v1-Filter-Query) | | The target query. |
+
+
+
+### Filter.DistanceRequest
+
+Represent the ID and distance pair.
+
+| Field | Type | Label | Description |
+| -------- | ---------------------------------------------- | -------- | ----------- |
+| distance | [Object.Distance](#payload-v1-Object-Distance) | repeated | Distance |
+| query | [Filter.Query](#payload-v1-Filter-Query) | | Query |
+
+
+
+### Filter.DistanceResponse
+
+Represent the ID and distance pair.
+
+| Field | Type | Label | Description |
+| -------- | ---------------------------------------------- | -------- | ----------- |
+| distance | [Object.Distance](#payload-v1-Object-Distance) | repeated | Distance |
+
+
+
+### Filter.Query
+
+Represent the filter query.
+
+| Field | Type | Label | Description |
+| ----- | ----------------- | ----- | --------------------- |
+| query | [string](#string) | | The raw query string. |
@@ -227,6 +264,27 @@ Represent the target filter server.
| host | [string](#string) | | The target hostname. |
| port | [uint32](#uint32) | | The target port. |
+
+
+### Filter.VectorRequest
+
+Represent the ID and vector pair.
+
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ----------- |
+| vector | [Object.Vector](#payload-v1-Object-Vector) | | Vector |
+| query | [Filter.Query](#payload-v1-Filter-Query) | | Query |
+
+
+
+### Filter.VectorResponse
+
+Represent the ID and vector pair.
+
+| Field | Type | Label | Description |
+| ------ | ------------------------------------------ | ----- | ----------- |
+| vector | [Object.Vector](#payload-v1-Object-Vector) | | Distance |
+
### Flush
@@ -603,11 +661,11 @@ Insert related messages.
Represent insert configurations.
-| Field | Type | Label | Description |
-| ----------------------- | ------------------------------------------ | ----- | --------------------------------------------------- |
-| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during insert operation. |
-| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configurations. |
-| timestamp | [int64](#int64) | | Insert timestamp. |
+| Field | Type | Label | Description |
+| ----------------------- | ------------------------------------------ | -------- | --------------------------------------------------- |
+| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during insert operation. |
+| filters | [Filter.Config](#payload-v1-Filter-Config) | repeated | Filter configurations. |
+| timestamp | [int64](#int64) | | Insert timestamp. |
@@ -862,10 +920,10 @@ Represent a vector.
Represent a request to fetch raw vector.
-| Field | Type | Label | Description |
-| ------- | ------------------------------------------ | ----- | ---------------------------- |
-| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. |
-| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configurations. |
+| Field | Type | Label | Description |
+| ------- | ------------------------------------------ | -------- | ---------------------------- |
+| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. |
+| filters | [Filter.Config](#payload-v1-Filter-Config) | repeated | Filter configurations. |
@@ -948,19 +1006,19 @@ Search related messages.
Represent search configuration.
-| Field | Type | Label | Description |
-| --------------------- | ---------------------------------------------------------------------- | ----- | -------------------------------------------- |
-| request_id | [string](#string) | | Unique request ID. |
-| num | [uint32](#uint32) | | Maximum number of result to be returned. |
-| radius | [float](#float) | | Search radius. |
-| epsilon | [float](#float) | | Search coefficient. |
-| timeout | [int64](#int64) | | Search timeout in nanoseconds. |
-| ingress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Ingress filter configurations. |
-| egress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Egress filter configurations. |
-| min_num | [uint32](#uint32) | | Minimum number of result to be returned. |
-| aggregation_algorithm | [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm) | | Aggregation Algorithm |
-| ratio | [google.protobuf.FloatValue](#google-protobuf-FloatValue) | | Search ratio for agent return result number. |
-| nprobe | [uint32](#uint32) | | Search nprobe. |
+| Field | Type | Label | Description |
+| --------------------- | ---------------------------------------------------------------------- | -------- | -------------------------------------------- |
+| request_id | [string](#string) | | Unique request ID. |
+| num | [uint32](#uint32) | | Maximum number of result to be returned. |
+| radius | [float](#float) | | Search radius. |
+| epsilon | [float](#float) | | Search coefficient. |
+| timeout | [int64](#int64) | | Search timeout in nanoseconds. |
+| ingress_filters | [Filter.Config](#payload-v1-Filter-Config) | repeated | Ingress filter configurations. |
+| egress_filters | [Filter.Config](#payload-v1-Filter-Config) | repeated | Egress filter configurations. |
+| min_num | [uint32](#uint32) | | Minimum number of result to be returned. |
+| aggregation_algorithm | [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm) | | Aggregation Algorithm |
+| ratio | [google.protobuf.FloatValue](#google-protobuf-FloatValue) | | Search ratio for agent return result number. |
+| nprobe | [uint32](#uint32) | | Search nprobe. |
@@ -1070,12 +1128,12 @@ Update related messages
Represent the update configuration.
-| Field | Type | Label | Description |
-| ----------------------- | ------------------------------------------ | ----- | ------------------------------------------------------------------------------------------------ |
-| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during update operation. |
-| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configuration. |
-| timestamp | [int64](#int64) | | Update timestamp. |
-| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. |
+| Field | Type | Label | Description |
+| ----------------------- | ------------------------------------------ | -------- | ------------------------------------------------------------------------------------------------ |
+| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during update operation. |
+| filters | [Filter.Config](#payload-v1-Filter-Config) | repeated | Filter configuration. |
+| timestamp | [int64](#int64) | | Update timestamp. |
+| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. |
@@ -1144,12 +1202,12 @@ Upsert related messages.
Represent the upsert configuration.
-| Field | Type | Label | Description |
-| ----------------------- | ------------------------------------------ | ----- | ------------------------------------------------------------------------------------------------ |
-| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. |
-| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configuration. |
-| timestamp | [int64](#int64) | | Upsert timestamp. |
-| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. |
+| Field | Type | Label | Description |
+| ----------------------- | ------------------------------------------ | -------- | ------------------------------------------------------------------------------------------------ |
+| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. |
+| filters | [Filter.Config](#payload-v1-Filter-Config) | repeated | Filter configuration. |
+| timestamp | [int64](#int64) | | Upsert timestamp. |
+| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. |
@@ -1286,10 +1344,10 @@ Represent the discoverer service.
Represent the egress filter service.
-| Method Name | Request Type | Response Type | Description |
-| -------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------------------- |
-| FilterDistance | [.payload.v1.Object.Distance](#payload-v1-Object-Distance) | [.payload.v1.Object.Distance](#payload-v1-Object-Distance) | Represent the RPC to filter the distance. |
-| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. |
+| Method Name | Request Type | Response Type | Description |
+| -------------- | ------------------------------------------------------------------------ | -------------------------------------------------------------------------- | ----------------------------------------- |
+| FilterDistance | [.payload.v1.Filter.DistanceRequest](#payload-v1-Filter-DistanceRequest) | [.payload.v1.Filter.DistanceResponse](#payload-v1-Filter-DistanceResponse) | Represent the RPC to filter the distance. |
+| FilterVector | [.payload.v1.Filter.VectorRequest](#payload-v1-Filter-VectorRequest) | [.payload.v1.Filter.VectorResponse](#payload-v1-Filter-VectorResponse) | Represent the RPC to filter the vector. |
diff --git a/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go b/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go
index 3e7fb5da06..f60d8f002f 100644
--- a/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go
+++ b/apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go
@@ -36,7 +36,7 @@ const _ = grpc.SupportPackageIsVersion7
// SidecarClient is the client API for Sidecar service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
-type SidecarClient any
+type SidecarClient interface{}
type sidecarClient struct {
cc grpc.ClientConnInterface
diff --git a/apis/grpc/v1/filter/egress/egress_filter.pb.go b/apis/grpc/v1/filter/egress/egress_filter.pb.go
index 5d60c42564..7d7df2bd4e 100644
--- a/apis/grpc/v1/filter/egress/egress_filter.pb.go
+++ b/apis/grpc/v1/filter/egress/egress_filter.pb.go
@@ -48,40 +48,44 @@ var file_v1_filter_egress_egress_filter_proto_rawDesc = []byte{
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x79, 0x6c, 0x6f,
0x61, 0x64, 0x2f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x32, 0xe0, 0x01, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x6e, 0x0a, 0x0e, 0x46,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x2e,
- 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63,
- 0x74, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x1b, 0x2e, 0x70, 0x61, 0x79,
- 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x44,
- 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a,
- 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x65, 0x67, 0x72, 0x65,
- 0x73, 0x73, 0x2f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x0c, 0x46,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x61,
- 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e,
- 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
- 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f,
- 0x72, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a, 0x22, 0x15, 0x2f, 0x66,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x65, 0x63,
- 0x74, 0x6f, 0x72, 0x42, 0x6b, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x76, 0x64, 0x61, 0x61, 0x73,
- 0x2e, 0x76, 0x61, 0x6c, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x2e, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x10, 0x56, 0x61, 0x6c, 0x64,
- 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x30,
- 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x64, 0x61, 0x61, 0x73,
- 0x2f, 0x76, 0x61, 0x6c, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f,
- 0x76, 0x31, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x32, 0xfe, 0x01, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x7d, 0x0a, 0x0e, 0x46,
+ 0x69, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x2e,
+ 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65,
+ 0x72, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46,
+ 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01,
+ 0x2a, 0x22, 0x17, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73,
+ 0x73, 0x2f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x46, 0x69,
+ 0x6c, 0x74, 0x65, 0x72, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x79,
+ 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x56,
+ 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70,
+ 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
+ 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
+ 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a, 0x22, 0x15, 0x2f, 0x66, 0x69, 0x6c,
+ 0x74, 0x65, 0x72, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x65, 0x63, 0x74, 0x6f,
+ 0x72, 0x42, 0x6b, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x76, 0x64, 0x61, 0x61, 0x73, 0x2e, 0x76,
+ 0x61, 0x6c, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65,
+ 0x72, 0x2e, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x10, 0x56, 0x61, 0x6c, 0x64, 0x45, 0x67,
+ 0x72, 0x65, 0x73, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69,
+ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x64, 0x61, 0x61, 0x73, 0x2f, 0x76,
+ 0x61, 0x6c, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31,
+ 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x62, 0x06,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_v1_filter_egress_egress_filter_proto_goTypes = []any{
- (*payload.Object_Distance)(nil), // 0: payload.v1.Object.Distance
- (*payload.Object_Vector)(nil), // 1: payload.v1.Object.Vector
+ (*payload.Filter_DistanceRequest)(nil), // 0: payload.v1.Filter.DistanceRequest
+ (*payload.Filter_VectorRequest)(nil), // 1: payload.v1.Filter.VectorRequest
+ (*payload.Filter_DistanceResponse)(nil), // 2: payload.v1.Filter.DistanceResponse
+ (*payload.Filter_VectorResponse)(nil), // 3: payload.v1.Filter.VectorResponse
}
var file_v1_filter_egress_egress_filter_proto_depIdxs = []int32{
- 0, // 0: filter.egress.v1.Filter.FilterDistance:input_type -> payload.v1.Object.Distance
- 1, // 1: filter.egress.v1.Filter.FilterVector:input_type -> payload.v1.Object.Vector
- 0, // 2: filter.egress.v1.Filter.FilterDistance:output_type -> payload.v1.Object.Distance
- 1, // 3: filter.egress.v1.Filter.FilterVector:output_type -> payload.v1.Object.Vector
+ 0, // 0: filter.egress.v1.Filter.FilterDistance:input_type -> payload.v1.Filter.DistanceRequest
+ 1, // 1: filter.egress.v1.Filter.FilterVector:input_type -> payload.v1.Filter.VectorRequest
+ 2, // 2: filter.egress.v1.Filter.FilterDistance:output_type -> payload.v1.Filter.DistanceResponse
+ 3, // 3: filter.egress.v1.Filter.FilterVector:output_type -> payload.v1.Filter.VectorResponse
2, // [2:4] is the sub-list for method output_type
0, // [0:2] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
diff --git a/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go b/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go
index fc9d0d34e2..e73d367db4 100644
--- a/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go
+++ b/apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go
@@ -43,9 +43,9 @@ const _ = grpc.SupportPackageIsVersion7
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type FilterClient interface {
// Represent the RPC to filter the distance.
- FilterDistance(ctx context.Context, in *payload.Object_Distance, opts ...grpc.CallOption) (*payload.Object_Distance, error)
+ FilterDistance(ctx context.Context, in *payload.Filter_DistanceRequest, opts ...grpc.CallOption) (*payload.Filter_DistanceResponse, error)
// Represent the RPC to filter the vector.
- FilterVector(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Object_Vector, error)
+ FilterVector(ctx context.Context, in *payload.Filter_VectorRequest, opts ...grpc.CallOption) (*payload.Filter_VectorResponse, error)
}
type filterClient struct {
@@ -57,9 +57,9 @@ func NewFilterClient(cc grpc.ClientConnInterface) FilterClient {
}
func (c *filterClient) FilterDistance(
- ctx context.Context, in *payload.Object_Distance, opts ...grpc.CallOption,
-) (*payload.Object_Distance, error) {
- out := new(payload.Object_Distance)
+ ctx context.Context, in *payload.Filter_DistanceRequest, opts ...grpc.CallOption,
+) (*payload.Filter_DistanceResponse, error) {
+ out := new(payload.Filter_DistanceResponse)
err := c.cc.Invoke(ctx, "/filter.egress.v1.Filter/FilterDistance", in, out, opts...)
if err != nil {
return nil, err
@@ -68,9 +68,9 @@ func (c *filterClient) FilterDistance(
}
func (c *filterClient) FilterVector(
- ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption,
-) (*payload.Object_Vector, error) {
- out := new(payload.Object_Vector)
+ ctx context.Context, in *payload.Filter_VectorRequest, opts ...grpc.CallOption,
+) (*payload.Filter_VectorResponse, error) {
+ out := new(payload.Filter_VectorResponse)
err := c.cc.Invoke(ctx, "/filter.egress.v1.Filter/FilterVector", in, out, opts...)
if err != nil {
return nil, err
@@ -83,9 +83,9 @@ func (c *filterClient) FilterVector(
// for forward compatibility
type FilterServer interface {
// Represent the RPC to filter the distance.
- FilterDistance(context.Context, *payload.Object_Distance) (*payload.Object_Distance, error)
+ FilterDistance(context.Context, *payload.Filter_DistanceRequest) (*payload.Filter_DistanceResponse, error)
// Represent the RPC to filter the vector.
- FilterVector(context.Context, *payload.Object_Vector) (*payload.Object_Vector, error)
+ FilterVector(context.Context, *payload.Filter_VectorRequest) (*payload.Filter_VectorResponse, error)
mustEmbedUnimplementedFilterServer()
}
@@ -93,14 +93,14 @@ type FilterServer interface {
type UnimplementedFilterServer struct{}
func (UnimplementedFilterServer) FilterDistance(
- context.Context, *payload.Object_Distance,
-) (*payload.Object_Distance, error) {
+ context.Context, *payload.Filter_DistanceRequest,
+) (*payload.Filter_DistanceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterDistance not implemented")
}
func (UnimplementedFilterServer) FilterVector(
- context.Context, *payload.Object_Vector,
-) (*payload.Object_Vector, error) {
+ context.Context, *payload.Filter_VectorRequest,
+) (*payload.Filter_VectorResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FilterVector not implemented")
}
func (UnimplementedFilterServer) mustEmbedUnimplementedFilterServer() {}
@@ -119,7 +119,7 @@ func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer) {
func _Filter_FilterDistance_Handler(
srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
) (any, error) {
- in := new(payload.Object_Distance)
+ in := new(payload.Filter_DistanceRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -131,7 +131,7 @@ func _Filter_FilterDistance_Handler(
FullMethod: "/filter.egress.v1.Filter/FilterDistance",
}
handler := func(ctx context.Context, req any) (any, error) {
- return srv.(FilterServer).FilterDistance(ctx, req.(*payload.Object_Distance))
+ return srv.(FilterServer).FilterDistance(ctx, req.(*payload.Filter_DistanceRequest))
}
return interceptor(ctx, in, info, handler)
}
@@ -139,7 +139,7 @@ func _Filter_FilterDistance_Handler(
func _Filter_FilterVector_Handler(
srv any, ctx context.Context, dec func(any) error, interceptor grpc.UnaryServerInterceptor,
) (any, error) {
- in := new(payload.Object_Vector)
+ in := new(payload.Filter_VectorRequest)
if err := dec(in); err != nil {
return nil, err
}
@@ -151,7 +151,7 @@ func _Filter_FilterVector_Handler(
FullMethod: "/filter.egress.v1.Filter/FilterVector",
}
handler := func(ctx context.Context, req any) (any, error) {
- return srv.(FilterServer).FilterVector(ctx, req.(*payload.Object_Vector))
+ return srv.(FilterServer).FilterVector(ctx, req.(*payload.Filter_VectorRequest))
}
return interceptor(ctx, in, info, handler)
}
diff --git a/apis/grpc/v1/payload/payload.pb.go b/apis/grpc/v1/payload/payload.pb.go
index c304cfb284..3bc29561ca 100644
--- a/apis/grpc/v1/payload/payload.pb.go
+++ b/apis/grpc/v1/payload/payload.pb.go
@@ -1017,9 +1017,9 @@ type Search_Config struct {
// Search timeout in nanoseconds.
Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
// Ingress filter configurations.
- IngressFilters *Filter_Config `protobuf:"bytes,6,opt,name=ingress_filters,json=ingressFilters,proto3" json:"ingress_filters,omitempty"`
+ IngressFilters []*Filter_Config `protobuf:"bytes,6,rep,name=ingress_filters,json=ingressFilters,proto3" json:"ingress_filters,omitempty"`
// Egress filter configurations.
- EgressFilters *Filter_Config `protobuf:"bytes,7,opt,name=egress_filters,json=egressFilters,proto3" json:"egress_filters,omitempty"`
+ EgressFilters []*Filter_Config `protobuf:"bytes,7,rep,name=egress_filters,json=egressFilters,proto3" json:"egress_filters,omitempty"`
// Minimum number of result to be returned.
MinNum uint32 `protobuf:"varint,8,opt,name=min_num,json=minNum,proto3" json:"min_num,omitempty"`
// Aggregation Algorithm
@@ -1097,14 +1097,14 @@ func (x *Search_Config) GetTimeout() int64 {
return 0
}
-func (x *Search_Config) GetIngressFilters() *Filter_Config {
+func (x *Search_Config) GetIngressFilters() []*Filter_Config {
if x != nil {
return x.IngressFilters
}
return nil
}
-func (x *Search_Config) GetEgressFilters() *Filter_Config {
+func (x *Search_Config) GetEgressFilters() []*Filter_Config {
if x != nil {
return x.EgressFilters
}
@@ -1388,6 +1388,55 @@ func (x *Filter_Target) GetPort() uint32 {
return 0
}
+// Represent the filter query.
+type Filter_Query struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The raw query string.
+ Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
+}
+
+func (x *Filter_Query) Reset() {
+ *x = Filter_Query{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_payload_payload_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Filter_Query) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Filter_Query) ProtoMessage() {}
+
+func (x *Filter_Query) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_payload_payload_proto_msgTypes[24]
+ 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 Filter_Query.ProtoReflect.Descriptor instead.
+func (*Filter_Query) Descriptor() ([]byte, []int) {
+ return file_v1_payload_payload_proto_rawDescGZIP(), []int{1, 1}
+}
+
+func (x *Filter_Query) GetQuery() string {
+ if x != nil {
+ return x.Query
+ }
+ return ""
+}
+
// Represent filter configuration.
type Filter_Config struct {
state protoimpl.MessageState
@@ -1395,13 +1444,15 @@ type Filter_Config struct {
unknownFields protoimpl.UnknownFields
// Represent the filter target configuration.
- Targets []*Filter_Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
+ Target *Filter_Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
+ // The target query.
+ Query *Filter_Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
}
func (x *Filter_Config) Reset() {
*x = Filter_Config{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[24]
+ mi := &file_v1_payload_payload_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1414,7 +1465,7 @@ func (x *Filter_Config) String() string {
func (*Filter_Config) ProtoMessage() {}
func (x *Filter_Config) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[24]
+ mi := &file_v1_payload_payload_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1427,12 +1478,233 @@ func (x *Filter_Config) ProtoReflect() protoreflect.Message {
// Deprecated: Use Filter_Config.ProtoReflect.Descriptor instead.
func (*Filter_Config) Descriptor() ([]byte, []int) {
- return file_v1_payload_payload_proto_rawDescGZIP(), []int{1, 1}
+ return file_v1_payload_payload_proto_rawDescGZIP(), []int{1, 2}
}
-func (x *Filter_Config) GetTargets() []*Filter_Target {
+func (x *Filter_Config) GetTarget() *Filter_Target {
if x != nil {
- return x.Targets
+ return x.Target
+ }
+ return nil
+}
+
+func (x *Filter_Config) GetQuery() *Filter_Query {
+ if x != nil {
+ return x.Query
+ }
+ return nil
+}
+
+// Represent the ID and distance pair.
+type Filter_DistanceRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Distance
+ Distance []*Object_Distance `protobuf:"bytes,1,rep,name=distance,proto3" json:"distance,omitempty"`
+ // Query
+ Query *Filter_Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
+}
+
+func (x *Filter_DistanceRequest) Reset() {
+ *x = Filter_DistanceRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_payload_payload_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Filter_DistanceRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Filter_DistanceRequest) ProtoMessage() {}
+
+func (x *Filter_DistanceRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_payload_payload_proto_msgTypes[26]
+ 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 Filter_DistanceRequest.ProtoReflect.Descriptor instead.
+func (*Filter_DistanceRequest) Descriptor() ([]byte, []int) {
+ return file_v1_payload_payload_proto_rawDescGZIP(), []int{1, 3}
+}
+
+func (x *Filter_DistanceRequest) GetDistance() []*Object_Distance {
+ if x != nil {
+ return x.Distance
+ }
+ return nil
+}
+
+func (x *Filter_DistanceRequest) GetQuery() *Filter_Query {
+ if x != nil {
+ return x.Query
+ }
+ return nil
+}
+
+// Represent the ID and distance pair.
+type Filter_DistanceResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Distance
+ Distance []*Object_Distance `protobuf:"bytes,1,rep,name=distance,proto3" json:"distance,omitempty"`
+}
+
+func (x *Filter_DistanceResponse) Reset() {
+ *x = Filter_DistanceResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_payload_payload_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Filter_DistanceResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Filter_DistanceResponse) ProtoMessage() {}
+
+func (x *Filter_DistanceResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_payload_payload_proto_msgTypes[27]
+ 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 Filter_DistanceResponse.ProtoReflect.Descriptor instead.
+func (*Filter_DistanceResponse) Descriptor() ([]byte, []int) {
+ return file_v1_payload_payload_proto_rawDescGZIP(), []int{1, 4}
+}
+
+func (x *Filter_DistanceResponse) GetDistance() []*Object_Distance {
+ if x != nil {
+ return x.Distance
+ }
+ return nil
+}
+
+// Represent the ID and vector pair.
+type Filter_VectorRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Vector
+ Vector *Object_Vector `protobuf:"bytes,1,opt,name=vector,proto3" json:"vector,omitempty"`
+ // Query
+ Query *Filter_Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
+}
+
+func (x *Filter_VectorRequest) Reset() {
+ *x = Filter_VectorRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_payload_payload_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Filter_VectorRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Filter_VectorRequest) ProtoMessage() {}
+
+func (x *Filter_VectorRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_payload_payload_proto_msgTypes[28]
+ 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 Filter_VectorRequest.ProtoReflect.Descriptor instead.
+func (*Filter_VectorRequest) Descriptor() ([]byte, []int) {
+ return file_v1_payload_payload_proto_rawDescGZIP(), []int{1, 5}
+}
+
+func (x *Filter_VectorRequest) GetVector() *Object_Vector {
+ if x != nil {
+ return x.Vector
+ }
+ return nil
+}
+
+func (x *Filter_VectorRequest) GetQuery() *Filter_Query {
+ if x != nil {
+ return x.Query
+ }
+ return nil
+}
+
+// Represent the ID and vector pair.
+type Filter_VectorResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Distance
+ Vector *Object_Vector `protobuf:"bytes,1,opt,name=vector,proto3" json:"vector,omitempty"`
+}
+
+func (x *Filter_VectorResponse) Reset() {
+ *x = Filter_VectorResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_v1_payload_payload_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Filter_VectorResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Filter_VectorResponse) ProtoMessage() {}
+
+func (x *Filter_VectorResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_v1_payload_payload_proto_msgTypes[29]
+ 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 Filter_VectorResponse.ProtoReflect.Descriptor instead.
+func (*Filter_VectorResponse) Descriptor() ([]byte, []int) {
+ return file_v1_payload_payload_proto_rawDescGZIP(), []int{1, 6}
+}
+
+func (x *Filter_VectorResponse) GetVector() *Object_Vector {
+ if x != nil {
+ return x.Vector
}
return nil
}
@@ -1452,7 +1724,7 @@ type Insert_Request struct {
func (x *Insert_Request) Reset() {
*x = Insert_Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[25]
+ mi := &file_v1_payload_payload_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1465,7 +1737,7 @@ func (x *Insert_Request) String() string {
func (*Insert_Request) ProtoMessage() {}
func (x *Insert_Request) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[25]
+ mi := &file_v1_payload_payload_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1508,7 +1780,7 @@ type Insert_MultiRequest struct {
func (x *Insert_MultiRequest) Reset() {
*x = Insert_MultiRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[26]
+ mi := &file_v1_payload_payload_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1521,7 +1793,7 @@ func (x *Insert_MultiRequest) String() string {
func (*Insert_MultiRequest) ProtoMessage() {}
func (x *Insert_MultiRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[26]
+ mi := &file_v1_payload_payload_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1561,7 +1833,7 @@ type Insert_ObjectRequest struct {
func (x *Insert_ObjectRequest) Reset() {
*x = Insert_ObjectRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[27]
+ mi := &file_v1_payload_payload_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1574,7 +1846,7 @@ func (x *Insert_ObjectRequest) String() string {
func (*Insert_ObjectRequest) ProtoMessage() {}
func (x *Insert_ObjectRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[27]
+ mi := &file_v1_payload_payload_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1624,7 +1896,7 @@ type Insert_MultiObjectRequest struct {
func (x *Insert_MultiObjectRequest) Reset() {
*x = Insert_MultiObjectRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[28]
+ mi := &file_v1_payload_payload_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1637,7 +1909,7 @@ func (x *Insert_MultiObjectRequest) String() string {
func (*Insert_MultiObjectRequest) ProtoMessage() {}
func (x *Insert_MultiObjectRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[28]
+ mi := &file_v1_payload_payload_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1669,7 +1941,7 @@ type Insert_Config struct {
// A flag to skip exist check during insert operation.
SkipStrictExistCheck bool `protobuf:"varint,1,opt,name=skip_strict_exist_check,json=skipStrictExistCheck,proto3" json:"skip_strict_exist_check,omitempty"`
// Filter configurations.
- Filters *Filter_Config `protobuf:"bytes,2,opt,name=filters,proto3" json:"filters,omitempty"`
+ Filters []*Filter_Config `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
// Insert timestamp.
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
@@ -1677,7 +1949,7 @@ type Insert_Config struct {
func (x *Insert_Config) Reset() {
*x = Insert_Config{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[29]
+ mi := &file_v1_payload_payload_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1690,7 +1962,7 @@ func (x *Insert_Config) String() string {
func (*Insert_Config) ProtoMessage() {}
func (x *Insert_Config) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[29]
+ mi := &file_v1_payload_payload_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1713,7 +1985,7 @@ func (x *Insert_Config) GetSkipStrictExistCheck() bool {
return false
}
-func (x *Insert_Config) GetFilters() *Filter_Config {
+func (x *Insert_Config) GetFilters() []*Filter_Config {
if x != nil {
return x.Filters
}
@@ -1742,7 +2014,7 @@ type Update_Request struct {
func (x *Update_Request) Reset() {
*x = Update_Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[30]
+ mi := &file_v1_payload_payload_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1755,7 +2027,7 @@ func (x *Update_Request) String() string {
func (*Update_Request) ProtoMessage() {}
func (x *Update_Request) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[30]
+ mi := &file_v1_payload_payload_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1798,7 +2070,7 @@ type Update_MultiRequest struct {
func (x *Update_MultiRequest) Reset() {
*x = Update_MultiRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[31]
+ mi := &file_v1_payload_payload_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1811,7 +2083,7 @@ func (x *Update_MultiRequest) String() string {
func (*Update_MultiRequest) ProtoMessage() {}
func (x *Update_MultiRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[31]
+ mi := &file_v1_payload_payload_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1851,7 +2123,7 @@ type Update_ObjectRequest struct {
func (x *Update_ObjectRequest) Reset() {
*x = Update_ObjectRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[32]
+ mi := &file_v1_payload_payload_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1864,7 +2136,7 @@ func (x *Update_ObjectRequest) String() string {
func (*Update_ObjectRequest) ProtoMessage() {}
func (x *Update_ObjectRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[32]
+ mi := &file_v1_payload_payload_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1914,7 +2186,7 @@ type Update_MultiObjectRequest struct {
func (x *Update_MultiObjectRequest) Reset() {
*x = Update_MultiObjectRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[33]
+ mi := &file_v1_payload_payload_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1927,7 +2199,7 @@ func (x *Update_MultiObjectRequest) String() string {
func (*Update_MultiObjectRequest) ProtoMessage() {}
func (x *Update_MultiObjectRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[33]
+ mi := &file_v1_payload_payload_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1967,7 +2239,7 @@ type Update_TimestampRequest struct {
func (x *Update_TimestampRequest) Reset() {
*x = Update_TimestampRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[34]
+ mi := &file_v1_payload_payload_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1980,7 +2252,7 @@ func (x *Update_TimestampRequest) String() string {
func (*Update_TimestampRequest) ProtoMessage() {}
func (x *Update_TimestampRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[34]
+ mi := &file_v1_payload_payload_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2026,7 +2298,7 @@ type Update_Config struct {
// A flag to skip exist check during update operation.
SkipStrictExistCheck bool `protobuf:"varint,1,opt,name=skip_strict_exist_check,json=skipStrictExistCheck,proto3" json:"skip_strict_exist_check,omitempty"`
// Filter configuration.
- Filters *Filter_Config `protobuf:"bytes,2,opt,name=filters,proto3" json:"filters,omitempty"`
+ Filters []*Filter_Config `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
// Update timestamp.
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// A flag to disable balanced update (split remove -> insert operation)
@@ -2037,7 +2309,7 @@ type Update_Config struct {
func (x *Update_Config) Reset() {
*x = Update_Config{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[35]
+ mi := &file_v1_payload_payload_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2050,7 +2322,7 @@ func (x *Update_Config) String() string {
func (*Update_Config) ProtoMessage() {}
func (x *Update_Config) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[35]
+ mi := &file_v1_payload_payload_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2073,7 +2345,7 @@ func (x *Update_Config) GetSkipStrictExistCheck() bool {
return false
}
-func (x *Update_Config) GetFilters() *Filter_Config {
+func (x *Update_Config) GetFilters() []*Filter_Config {
if x != nil {
return x.Filters
}
@@ -2109,7 +2381,7 @@ type Upsert_Request struct {
func (x *Upsert_Request) Reset() {
*x = Upsert_Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[36]
+ mi := &file_v1_payload_payload_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2122,7 +2394,7 @@ func (x *Upsert_Request) String() string {
func (*Upsert_Request) ProtoMessage() {}
func (x *Upsert_Request) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[36]
+ mi := &file_v1_payload_payload_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2165,7 +2437,7 @@ type Upsert_MultiRequest struct {
func (x *Upsert_MultiRequest) Reset() {
*x = Upsert_MultiRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[37]
+ mi := &file_v1_payload_payload_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2178,7 +2450,7 @@ func (x *Upsert_MultiRequest) String() string {
func (*Upsert_MultiRequest) ProtoMessage() {}
func (x *Upsert_MultiRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[37]
+ mi := &file_v1_payload_payload_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2218,7 +2490,7 @@ type Upsert_ObjectRequest struct {
func (x *Upsert_ObjectRequest) Reset() {
*x = Upsert_ObjectRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[38]
+ mi := &file_v1_payload_payload_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2231,7 +2503,7 @@ func (x *Upsert_ObjectRequest) String() string {
func (*Upsert_ObjectRequest) ProtoMessage() {}
func (x *Upsert_ObjectRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[38]
+ mi := &file_v1_payload_payload_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2281,7 +2553,7 @@ type Upsert_MultiObjectRequest struct {
func (x *Upsert_MultiObjectRequest) Reset() {
*x = Upsert_MultiObjectRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[39]
+ mi := &file_v1_payload_payload_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2294,7 +2566,7 @@ func (x *Upsert_MultiObjectRequest) String() string {
func (*Upsert_MultiObjectRequest) ProtoMessage() {}
func (x *Upsert_MultiObjectRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[39]
+ mi := &file_v1_payload_payload_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2326,7 +2598,7 @@ type Upsert_Config struct {
// A flag to skip exist check during upsert operation.
SkipStrictExistCheck bool `protobuf:"varint,1,opt,name=skip_strict_exist_check,json=skipStrictExistCheck,proto3" json:"skip_strict_exist_check,omitempty"`
// Filter configuration.
- Filters *Filter_Config `protobuf:"bytes,2,opt,name=filters,proto3" json:"filters,omitempty"`
+ Filters []*Filter_Config `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
// Upsert timestamp.
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// A flag to disable balanced update (split remove -> insert operation)
@@ -2337,7 +2609,7 @@ type Upsert_Config struct {
func (x *Upsert_Config) Reset() {
*x = Upsert_Config{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[40]
+ mi := &file_v1_payload_payload_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2350,7 +2622,7 @@ func (x *Upsert_Config) String() string {
func (*Upsert_Config) ProtoMessage() {}
func (x *Upsert_Config) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[40]
+ mi := &file_v1_payload_payload_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2373,7 +2645,7 @@ func (x *Upsert_Config) GetSkipStrictExistCheck() bool {
return false
}
-func (x *Upsert_Config) GetFilters() *Filter_Config {
+func (x *Upsert_Config) GetFilters() []*Filter_Config {
if x != nil {
return x.Filters
}
@@ -2409,7 +2681,7 @@ type Remove_Request struct {
func (x *Remove_Request) Reset() {
*x = Remove_Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[41]
+ mi := &file_v1_payload_payload_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2422,7 +2694,7 @@ func (x *Remove_Request) String() string {
func (*Remove_Request) ProtoMessage() {}
func (x *Remove_Request) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[41]
+ mi := &file_v1_payload_payload_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2465,7 +2737,7 @@ type Remove_MultiRequest struct {
func (x *Remove_MultiRequest) Reset() {
*x = Remove_MultiRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[42]
+ mi := &file_v1_payload_payload_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2478,7 +2750,7 @@ func (x *Remove_MultiRequest) String() string {
func (*Remove_MultiRequest) ProtoMessage() {}
func (x *Remove_MultiRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[42]
+ mi := &file_v1_payload_payload_proto_msgTypes[47]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2515,7 +2787,7 @@ type Remove_TimestampRequest struct {
func (x *Remove_TimestampRequest) Reset() {
*x = Remove_TimestampRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[43]
+ mi := &file_v1_payload_payload_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2528,7 +2800,7 @@ func (x *Remove_TimestampRequest) String() string {
func (*Remove_TimestampRequest) ProtoMessage() {}
func (x *Remove_TimestampRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[43]
+ mi := &file_v1_payload_payload_proto_msgTypes[48]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2566,7 +2838,7 @@ type Remove_Timestamp struct {
func (x *Remove_Timestamp) Reset() {
*x = Remove_Timestamp{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[44]
+ mi := &file_v1_payload_payload_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2579,7 +2851,7 @@ func (x *Remove_Timestamp) String() string {
func (*Remove_Timestamp) ProtoMessage() {}
func (x *Remove_Timestamp) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[44]
+ mi := &file_v1_payload_payload_proto_msgTypes[49]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2624,7 +2896,7 @@ type Remove_Config struct {
func (x *Remove_Config) Reset() {
*x = Remove_Config{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[45]
+ mi := &file_v1_payload_payload_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2637,7 +2909,7 @@ func (x *Remove_Config) String() string {
func (*Remove_Config) ProtoMessage() {}
func (x *Remove_Config) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[45]
+ mi := &file_v1_payload_payload_proto_msgTypes[50]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2676,7 +2948,7 @@ type Flush_Request struct {
func (x *Flush_Request) Reset() {
*x = Flush_Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[46]
+ mi := &file_v1_payload_payload_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2689,7 +2961,7 @@ func (x *Flush_Request) String() string {
func (*Flush_Request) ProtoMessage() {}
func (x *Flush_Request) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[46]
+ mi := &file_v1_payload_payload_proto_msgTypes[51]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2714,13 +2986,13 @@ type Object_VectorRequest struct {
// The vector ID to be fetched.
Id *Object_ID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Filter configurations.
- Filters *Filter_Config `protobuf:"bytes,2,opt,name=filters,proto3" json:"filters,omitempty"`
+ Filters []*Filter_Config `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
}
func (x *Object_VectorRequest) Reset() {
*x = Object_VectorRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[47]
+ mi := &file_v1_payload_payload_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2733,7 +3005,7 @@ func (x *Object_VectorRequest) String() string {
func (*Object_VectorRequest) ProtoMessage() {}
func (x *Object_VectorRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[47]
+ mi := &file_v1_payload_payload_proto_msgTypes[52]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2756,7 +3028,7 @@ func (x *Object_VectorRequest) GetId() *Object_ID {
return nil
}
-func (x *Object_VectorRequest) GetFilters() *Filter_Config {
+func (x *Object_VectorRequest) GetFilters() []*Filter_Config {
if x != nil {
return x.Filters
}
@@ -2778,7 +3050,7 @@ type Object_Distance struct {
func (x *Object_Distance) Reset() {
*x = Object_Distance{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[48]
+ mi := &file_v1_payload_payload_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2791,7 +3063,7 @@ func (x *Object_Distance) String() string {
func (*Object_Distance) ProtoMessage() {}
func (x *Object_Distance) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[48]
+ mi := &file_v1_payload_payload_proto_msgTypes[53]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2837,7 +3109,7 @@ type Object_StreamDistance struct {
func (x *Object_StreamDistance) Reset() {
*x = Object_StreamDistance{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[49]
+ mi := &file_v1_payload_payload_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2850,7 +3122,7 @@ func (x *Object_StreamDistance) String() string {
func (*Object_StreamDistance) ProtoMessage() {}
func (x *Object_StreamDistance) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[49]
+ mi := &file_v1_payload_payload_proto_msgTypes[54]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2917,7 +3189,7 @@ type Object_ID struct {
func (x *Object_ID) Reset() {
*x = Object_ID{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[50]
+ mi := &file_v1_payload_payload_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2930,7 +3202,7 @@ func (x *Object_ID) String() string {
func (*Object_ID) ProtoMessage() {}
func (x *Object_ID) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[50]
+ mi := &file_v1_payload_payload_proto_msgTypes[55]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2965,7 +3237,7 @@ type Object_IDs struct {
func (x *Object_IDs) Reset() {
*x = Object_IDs{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[51]
+ mi := &file_v1_payload_payload_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2978,7 +3250,7 @@ func (x *Object_IDs) String() string {
func (*Object_IDs) ProtoMessage() {}
func (x *Object_IDs) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[51]
+ mi := &file_v1_payload_payload_proto_msgTypes[56]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3018,7 +3290,7 @@ type Object_Vector struct {
func (x *Object_Vector) Reset() {
*x = Object_Vector{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[52]
+ mi := &file_v1_payload_payload_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3031,7 +3303,7 @@ func (x *Object_Vector) String() string {
func (*Object_Vector) ProtoMessage() {}
func (x *Object_Vector) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[52]
+ mi := &file_v1_payload_payload_proto_msgTypes[57]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3081,7 +3353,7 @@ type Object_TimestampRequest struct {
func (x *Object_TimestampRequest) Reset() {
*x = Object_TimestampRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[53]
+ mi := &file_v1_payload_payload_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3094,7 +3366,7 @@ func (x *Object_TimestampRequest) String() string {
func (*Object_TimestampRequest) ProtoMessage() {}
func (x *Object_TimestampRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[53]
+ mi := &file_v1_payload_payload_proto_msgTypes[58]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3132,7 +3404,7 @@ type Object_Timestamp struct {
func (x *Object_Timestamp) Reset() {
*x = Object_Timestamp{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[54]
+ mi := &file_v1_payload_payload_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3145,7 +3417,7 @@ func (x *Object_Timestamp) String() string {
func (*Object_Timestamp) ProtoMessage() {}
func (x *Object_Timestamp) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[54]
+ mi := &file_v1_payload_payload_proto_msgTypes[59]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3187,7 +3459,7 @@ type Object_Vectors struct {
func (x *Object_Vectors) Reset() {
*x = Object_Vectors{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[55]
+ mi := &file_v1_payload_payload_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3200,7 +3472,7 @@ func (x *Object_Vectors) String() string {
func (*Object_Vectors) ProtoMessage() {}
func (x *Object_Vectors) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[55]
+ mi := &file_v1_payload_payload_proto_msgTypes[60]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3239,7 +3511,7 @@ type Object_StreamVector struct {
func (x *Object_StreamVector) Reset() {
*x = Object_StreamVector{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[56]
+ mi := &file_v1_payload_payload_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3252,7 +3524,7 @@ func (x *Object_StreamVector) String() string {
func (*Object_StreamVector) ProtoMessage() {}
func (x *Object_StreamVector) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[56]
+ mi := &file_v1_payload_payload_proto_msgTypes[61]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3322,7 +3594,7 @@ type Object_ReshapeVector struct {
func (x *Object_ReshapeVector) Reset() {
*x = Object_ReshapeVector{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[57]
+ mi := &file_v1_payload_payload_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3335,7 +3607,7 @@ func (x *Object_ReshapeVector) String() string {
func (*Object_ReshapeVector) ProtoMessage() {}
func (x *Object_ReshapeVector) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[57]
+ mi := &file_v1_payload_payload_proto_msgTypes[62]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3380,7 +3652,7 @@ type Object_Blob struct {
func (x *Object_Blob) Reset() {
*x = Object_Blob{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[58]
+ mi := &file_v1_payload_payload_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3393,7 +3665,7 @@ func (x *Object_Blob) String() string {
func (*Object_Blob) ProtoMessage() {}
func (x *Object_Blob) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[58]
+ mi := &file_v1_payload_payload_proto_msgTypes[63]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3439,7 +3711,7 @@ type Object_StreamBlob struct {
func (x *Object_StreamBlob) Reset() {
*x = Object_StreamBlob{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[59]
+ mi := &file_v1_payload_payload_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3452,7 +3724,7 @@ func (x *Object_StreamBlob) String() string {
func (*Object_StreamBlob) ProtoMessage() {}
func (x *Object_StreamBlob) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[59]
+ mi := &file_v1_payload_payload_proto_msgTypes[64]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3524,7 +3796,7 @@ type Object_Location struct {
func (x *Object_Location) Reset() {
*x = Object_Location{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[60]
+ mi := &file_v1_payload_payload_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3537,7 +3809,7 @@ func (x *Object_Location) String() string {
func (*Object_Location) ProtoMessage() {}
func (x *Object_Location) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[60]
+ mi := &file_v1_payload_payload_proto_msgTypes[65]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3590,7 +3862,7 @@ type Object_StreamLocation struct {
func (x *Object_StreamLocation) Reset() {
*x = Object_StreamLocation{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[61]
+ mi := &file_v1_payload_payload_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3603,7 +3875,7 @@ func (x *Object_StreamLocation) String() string {
func (*Object_StreamLocation) ProtoMessage() {}
func (x *Object_StreamLocation) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[61]
+ mi := &file_v1_payload_payload_proto_msgTypes[66]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3670,7 +3942,7 @@ type Object_Locations struct {
func (x *Object_Locations) Reset() {
*x = Object_Locations{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[62]
+ mi := &file_v1_payload_payload_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3683,7 +3955,7 @@ func (x *Object_Locations) String() string {
func (*Object_Locations) ProtoMessage() {}
func (x *Object_Locations) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[62]
+ mi := &file_v1_payload_payload_proto_msgTypes[67]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3716,7 +3988,7 @@ type Object_List struct {
func (x *Object_List) Reset() {
*x = Object_List{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[63]
+ mi := &file_v1_payload_payload_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3729,7 +4001,7 @@ func (x *Object_List) String() string {
func (*Object_List) ProtoMessage() {}
func (x *Object_List) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[63]
+ mi := &file_v1_payload_payload_proto_msgTypes[68]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3754,7 +4026,7 @@ type Object_List_Request struct {
func (x *Object_List_Request) Reset() {
*x = Object_List_Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[64]
+ mi := &file_v1_payload_payload_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3767,7 +4039,7 @@ func (x *Object_List_Request) String() string {
func (*Object_List_Request) ProtoMessage() {}
func (x *Object_List_Request) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[64]
+ mi := &file_v1_payload_payload_proto_msgTypes[69]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3798,7 +4070,7 @@ type Object_List_Response struct {
func (x *Object_List_Response) Reset() {
*x = Object_List_Response{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[65]
+ mi := &file_v1_payload_payload_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3811,7 +4083,7 @@ func (x *Object_List_Response) String() string {
func (*Object_List_Response) ProtoMessage() {}
func (x *Object_List_Response) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[65]
+ mi := &file_v1_payload_payload_proto_msgTypes[70]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3879,7 +4151,7 @@ type Control_CreateIndexRequest struct {
func (x *Control_CreateIndexRequest) Reset() {
*x = Control_CreateIndexRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[66]
+ mi := &file_v1_payload_payload_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3892,7 +4164,7 @@ func (x *Control_CreateIndexRequest) String() string {
func (*Control_CreateIndexRequest) ProtoMessage() {}
func (x *Control_CreateIndexRequest) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[66]
+ mi := &file_v1_payload_payload_proto_msgTypes[71]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3932,7 +4204,7 @@ type Discoverer_Request struct {
func (x *Discoverer_Request) Reset() {
*x = Discoverer_Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[67]
+ mi := &file_v1_payload_payload_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3945,7 +4217,7 @@ func (x *Discoverer_Request) String() string {
func (*Discoverer_Request) ProtoMessage() {}
func (x *Discoverer_Request) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[67]
+ mi := &file_v1_payload_payload_proto_msgTypes[72]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3992,7 +4264,7 @@ type Info_Index struct {
func (x *Info_Index) Reset() {
*x = Info_Index{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[68]
+ mi := &file_v1_payload_payload_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4005,7 +4277,7 @@ func (x *Info_Index) String() string {
func (*Info_Index) ProtoMessage() {}
func (x *Info_Index) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[68]
+ mi := &file_v1_payload_payload_proto_msgTypes[73]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4046,7 +4318,7 @@ type Info_Pod struct {
func (x *Info_Pod) Reset() {
*x = Info_Pod{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[69]
+ mi := &file_v1_payload_payload_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4059,7 +4331,7 @@ func (x *Info_Pod) String() string {
func (*Info_Pod) ProtoMessage() {}
func (x *Info_Pod) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[69]
+ mi := &file_v1_payload_payload_proto_msgTypes[74]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4147,7 +4419,7 @@ type Info_Node struct {
func (x *Info_Node) Reset() {
*x = Info_Node{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[70]
+ mi := &file_v1_payload_payload_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4160,7 +4432,7 @@ func (x *Info_Node) String() string {
func (*Info_Node) ProtoMessage() {}
func (x *Info_Node) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[70]
+ mi := &file_v1_payload_payload_proto_msgTypes[75]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4241,7 +4513,7 @@ type Info_Service struct {
func (x *Info_Service) Reset() {
*x = Info_Service{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[71]
+ mi := &file_v1_payload_payload_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4254,7 +4526,7 @@ func (x *Info_Service) String() string {
func (*Info_Service) ProtoMessage() {}
func (x *Info_Service) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[71]
+ mi := &file_v1_payload_payload_proto_msgTypes[76]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4327,7 +4599,7 @@ type Info_ServicePort struct {
func (x *Info_ServicePort) Reset() {
*x = Info_ServicePort{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[72]
+ mi := &file_v1_payload_payload_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4340,7 +4612,7 @@ func (x *Info_ServicePort) String() string {
func (*Info_ServicePort) ProtoMessage() {}
func (x *Info_ServicePort) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[72]
+ mi := &file_v1_payload_payload_proto_msgTypes[77]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4382,7 +4654,7 @@ type Info_Labels struct {
func (x *Info_Labels) Reset() {
*x = Info_Labels{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[73]
+ mi := &file_v1_payload_payload_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4395,7 +4667,7 @@ func (x *Info_Labels) String() string {
func (*Info_Labels) ProtoMessage() {}
func (x *Info_Labels) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[73]
+ mi := &file_v1_payload_payload_proto_msgTypes[78]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4430,7 +4702,7 @@ type Info_Annotations struct {
func (x *Info_Annotations) Reset() {
*x = Info_Annotations{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[74]
+ mi := &file_v1_payload_payload_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4443,7 +4715,7 @@ func (x *Info_Annotations) String() string {
func (*Info_Annotations) ProtoMessage() {}
func (x *Info_Annotations) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[74]
+ mi := &file_v1_payload_payload_proto_msgTypes[79]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4483,7 +4755,7 @@ type Info_CPU struct {
func (x *Info_CPU) Reset() {
*x = Info_CPU{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[75]
+ mi := &file_v1_payload_payload_proto_msgTypes[80]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4496,7 +4768,7 @@ func (x *Info_CPU) String() string {
func (*Info_CPU) ProtoMessage() {}
func (x *Info_CPU) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[75]
+ mi := &file_v1_payload_payload_proto_msgTypes[80]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4550,7 +4822,7 @@ type Info_Memory struct {
func (x *Info_Memory) Reset() {
*x = Info_Memory{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[76]
+ mi := &file_v1_payload_payload_proto_msgTypes[81]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4563,7 +4835,7 @@ func (x *Info_Memory) String() string {
func (*Info_Memory) ProtoMessage() {}
func (x *Info_Memory) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[76]
+ mi := &file_v1_payload_payload_proto_msgTypes[81]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4613,7 +4885,7 @@ type Info_Pods struct {
func (x *Info_Pods) Reset() {
*x = Info_Pods{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[77]
+ mi := &file_v1_payload_payload_proto_msgTypes[82]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4626,7 +4898,7 @@ func (x *Info_Pods) String() string {
func (*Info_Pods) ProtoMessage() {}
func (x *Info_Pods) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[77]
+ mi := &file_v1_payload_payload_proto_msgTypes[82]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4662,7 +4934,7 @@ type Info_Nodes struct {
func (x *Info_Nodes) Reset() {
*x = Info_Nodes{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[78]
+ mi := &file_v1_payload_payload_proto_msgTypes[83]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4675,7 +4947,7 @@ func (x *Info_Nodes) String() string {
func (*Info_Nodes) ProtoMessage() {}
func (x *Info_Nodes) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[78]
+ mi := &file_v1_payload_payload_proto_msgTypes[83]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4711,7 +4983,7 @@ type Info_Services struct {
func (x *Info_Services) Reset() {
*x = Info_Services{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[79]
+ mi := &file_v1_payload_payload_proto_msgTypes[84]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4724,7 +4996,7 @@ func (x *Info_Services) String() string {
func (*Info_Services) ProtoMessage() {}
func (x *Info_Services) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[79]
+ mi := &file_v1_payload_payload_proto_msgTypes[84]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4759,7 +5031,7 @@ type Info_IPs struct {
func (x *Info_IPs) Reset() {
*x = Info_IPs{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[80]
+ mi := &file_v1_payload_payload_proto_msgTypes[85]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4772,7 +5044,7 @@ func (x *Info_IPs) String() string {
func (*Info_IPs) ProtoMessage() {}
func (x *Info_IPs) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[80]
+ mi := &file_v1_payload_payload_proto_msgTypes[85]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4814,7 +5086,7 @@ type Info_Index_Count struct {
func (x *Info_Index_Count) Reset() {
*x = Info_Index_Count{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[81]
+ mi := &file_v1_payload_payload_proto_msgTypes[86]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4827,7 +5099,7 @@ func (x *Info_Index_Count) String() string {
func (*Info_Index_Count) ProtoMessage() {}
func (x *Info_Index_Count) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[81]
+ mi := &file_v1_payload_payload_proto_msgTypes[86]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4888,7 +5160,7 @@ type Info_Index_Detail struct {
func (x *Info_Index_Detail) Reset() {
*x = Info_Index_Detail{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[82]
+ mi := &file_v1_payload_payload_proto_msgTypes[87]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4901,7 +5173,7 @@ func (x *Info_Index_Detail) String() string {
func (*Info_Index_Detail) ProtoMessage() {}
func (x *Info_Index_Detail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[82]
+ mi := &file_v1_payload_payload_proto_msgTypes[87]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4948,7 +5220,7 @@ type Info_Index_UUID struct {
func (x *Info_Index_UUID) Reset() {
*x = Info_Index_UUID{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[83]
+ mi := &file_v1_payload_payload_proto_msgTypes[88]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4961,7 +5233,7 @@ func (x *Info_Index_UUID) String() string {
func (*Info_Index_UUID) ProtoMessage() {}
func (x *Info_Index_UUID) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[83]
+ mi := &file_v1_payload_payload_proto_msgTypes[88]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5021,7 +5293,7 @@ type Info_Index_Statistics struct {
func (x *Info_Index_Statistics) Reset() {
*x = Info_Index_Statistics{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[84]
+ mi := &file_v1_payload_payload_proto_msgTypes[89]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5034,7 +5306,7 @@ func (x *Info_Index_Statistics) String() string {
func (*Info_Index_Statistics) ProtoMessage() {}
func (x *Info_Index_Statistics) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[84]
+ mi := &file_v1_payload_payload_proto_msgTypes[89]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5294,7 +5566,7 @@ type Info_Index_StatisticsDetail struct {
func (x *Info_Index_StatisticsDetail) Reset() {
*x = Info_Index_StatisticsDetail{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[85]
+ mi := &file_v1_payload_payload_proto_msgTypes[90]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5307,7 +5579,7 @@ func (x *Info_Index_StatisticsDetail) String() string {
func (*Info_Index_StatisticsDetail) ProtoMessage() {}
func (x *Info_Index_StatisticsDetail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[85]
+ mi := &file_v1_payload_payload_proto_msgTypes[90]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5375,7 +5647,7 @@ type Info_Index_Property struct {
func (x *Info_Index_Property) Reset() {
*x = Info_Index_Property{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[86]
+ mi := &file_v1_payload_payload_proto_msgTypes[91]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5388,7 +5660,7 @@ func (x *Info_Index_Property) String() string {
func (*Info_Index_Property) ProtoMessage() {}
func (x *Info_Index_Property) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[86]
+ mi := &file_v1_payload_payload_proto_msgTypes[91]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5654,7 +5926,7 @@ type Info_Index_PropertyDetail struct {
func (x *Info_Index_PropertyDetail) Reset() {
*x = Info_Index_PropertyDetail{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[87]
+ mi := &file_v1_payload_payload_proto_msgTypes[92]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5667,7 +5939,7 @@ func (x *Info_Index_PropertyDetail) String() string {
func (*Info_Index_PropertyDetail) ProtoMessage() {}
func (x *Info_Index_PropertyDetail) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[87]
+ mi := &file_v1_payload_payload_proto_msgTypes[92]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5702,7 +5974,7 @@ type Info_Index_UUID_Committed struct {
func (x *Info_Index_UUID_Committed) Reset() {
*x = Info_Index_UUID_Committed{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[89]
+ mi := &file_v1_payload_payload_proto_msgTypes[94]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5715,7 +5987,7 @@ func (x *Info_Index_UUID_Committed) String() string {
func (*Info_Index_UUID_Committed) ProtoMessage() {}
func (x *Info_Index_UUID_Committed) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[89]
+ mi := &file_v1_payload_payload_proto_msgTypes[94]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5750,7 +6022,7 @@ type Info_Index_UUID_Uncommitted struct {
func (x *Info_Index_UUID_Uncommitted) Reset() {
*x = Info_Index_UUID_Uncommitted{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[90]
+ mi := &file_v1_payload_payload_proto_msgTypes[95]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5763,7 +6035,7 @@ func (x *Info_Index_UUID_Uncommitted) String() string {
func (*Info_Index_UUID_Uncommitted) ProtoMessage() {}
func (x *Info_Index_UUID_Uncommitted) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[90]
+ mi := &file_v1_payload_payload_proto_msgTypes[95]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5801,7 +6073,7 @@ type Mirror_Target struct {
func (x *Mirror_Target) Reset() {
*x = Mirror_Target{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[95]
+ mi := &file_v1_payload_payload_proto_msgTypes[100]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5814,7 +6086,7 @@ func (x *Mirror_Target) String() string {
func (*Mirror_Target) ProtoMessage() {}
func (x *Mirror_Target) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[95]
+ mi := &file_v1_payload_payload_proto_msgTypes[100]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5857,7 +6129,7 @@ type Mirror_Targets struct {
func (x *Mirror_Targets) Reset() {
*x = Mirror_Targets{}
if protoimpl.UnsafeEnabled {
- mi := &file_v1_payload_payload_proto_msgTypes[96]
+ mi := &file_v1_payload_payload_proto_msgTypes[101]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5870,7 +6142,7 @@ func (x *Mirror_Targets) String() string {
func (*Mirror_Targets) ProtoMessage() {}
func (x *Mirror_Targets) ProtoReflect() protoreflect.Message {
- mi := &file_v1_payload_payload_proto_msgTypes[96]
+ mi := &file_v1_payload_payload_proto_msgTypes[101]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5949,12 +6221,12 @@ var file_v1_payload_payload_proto_rawDesc = []byte{
0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x12, 0x18,
0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x69, 0x6e, 0x67, 0x72,
- 0x65, 0x73, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x65, 0x73, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x69, 0x6e,
0x67, 0x72, 0x65, 0x73, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x40, 0x0a, 0x0e,
0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76,
0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
0x0d, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20,
0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x42,
@@ -5995,15 +6267,44 @@ var file_v1_payload_payload_proto_rawDesc = []byte{
0x75, 0x65, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x6f, 0x72, 0x74, 0x53, 0x6c, 0x69, 0x63,
0x65, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x6f, 0x72, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x53,
0x6c, 0x69, 0x63, 0x65, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e,
- 0x67, 0x48, 0x65, 0x61, 0x70, 0x10, 0x04, 0x22, 0x79, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65,
- 0x72, 0x1a, 0x30, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68,
- 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12,
- 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70,
- 0x6f, 0x72, 0x74, 0x1a, 0x3d, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x33, 0x0a,
- 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
- 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74,
- 0x65, 0x72, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65,
- 0x74, 0x73, 0x22, 0xe5, 0x04, 0x0a, 0x06, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x1a, 0x79, 0x0a,
+ 0x67, 0x48, 0x65, 0x61, 0x70, 0x10, 0x04, 0x22, 0xc8, 0x04, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74,
+ 0x65, 0x72, 0x1a, 0x30, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04,
+ 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74,
+ 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04,
+ 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x1d, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x14, 0x0a,
+ 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75,
+ 0x65, 0x72, 0x79, 0x1a, 0x6b, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x31, 0x0a,
+ 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
+ 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65,
+ 0x72, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
+ 0x12, 0x2e, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x18, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c,
+ 0x74, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79,
+ 0x1a, 0x7a, 0x0a, 0x0f, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e,
+ 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e,
+ 0x63, 0x65, 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x05,
+ 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x61,
+ 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e,
+ 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x1a, 0x4b, 0x0a, 0x10,
+ 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x37, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e,
+ 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
+ 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x72, 0x0a, 0x0d, 0x56, 0x65, 0x63,
+ 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x76, 0x65,
+ 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79,
+ 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x56,
+ 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x0a,
+ 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70,
+ 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
+ 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x1a, 0x43, 0x0a,
+ 0x0e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x31, 0x0a, 0x06, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a,
+ 0x65, 0x63, 0x74, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x76, 0x65, 0x63, 0x74,
+ 0x6f, 0x72, 0x22, 0xe5, 0x04, 0x0a, 0x06, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x1a, 0x79, 0x0a,
0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x76, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f,
0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x56, 0x65, 0x63,
@@ -6037,7 +6338,7 @@ var file_v1_payload_payload_proto_rawDesc = []byte{
0x65, 0x78, 0x69, 0x73, 0x74, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
0x08, 0x52, 0x14, 0x73, 0x6b, 0x69, 0x70, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x78, 0x69,
0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65,
- 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f,
+ 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f,
0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
@@ -6081,7 +6382,7 @@ var file_v1_payload_payload_proto_rawDesc = []byte{
0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x5f, 0x63,
0x68, 0x65, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x73, 0x6b, 0x69, 0x70,
0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
- 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x66, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
@@ -6123,7 +6424,7 @@ var file_v1_payload_payload_proto_rawDesc = []byte{
0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x5f, 0x63,
0x68, 0x65, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x73, 0x6b, 0x69, 0x70,
0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
- 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x66, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
@@ -6171,7 +6472,7 @@ var file_v1_payload_payload_proto_rawDesc = []byte{
0x2f, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x61,
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e,
0x49, 0x44, 0x42, 0x08, 0xba, 0x48, 0x05, 0x92, 0x01, 0x02, 0x08, 0x02, 0x52, 0x02, 0x69, 0x64,
- 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x19, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x46,
0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x66, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x36, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63,
@@ -6648,7 +6949,7 @@ func file_v1_payload_payload_proto_rawDescGZIP() []byte {
var (
file_v1_payload_payload_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
- file_v1_payload_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 97)
+ file_v1_payload_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 102)
file_v1_payload_payload_proto_goTypes = []any{
(Search_AggregationAlgorithm)(0), // 0: payload.v1.Search.AggregationAlgorithm
(Remove_Timestamp_Operator)(0), // 1: payload.v1.Remove.Timestamp.Operator
@@ -6676,84 +6977,88 @@ var (
(*Search_Responses)(nil), // 23: payload.v1.Search.Responses
(*Search_StreamResponse)(nil), // 24: payload.v1.Search.StreamResponse
(*Filter_Target)(nil), // 25: payload.v1.Filter.Target
- (*Filter_Config)(nil), // 26: payload.v1.Filter.Config
- (*Insert_Request)(nil), // 27: payload.v1.Insert.Request
- (*Insert_MultiRequest)(nil), // 28: payload.v1.Insert.MultiRequest
- (*Insert_ObjectRequest)(nil), // 29: payload.v1.Insert.ObjectRequest
- (*Insert_MultiObjectRequest)(nil), // 30: payload.v1.Insert.MultiObjectRequest
- (*Insert_Config)(nil), // 31: payload.v1.Insert.Config
- (*Update_Request)(nil), // 32: payload.v1.Update.Request
- (*Update_MultiRequest)(nil), // 33: payload.v1.Update.MultiRequest
- (*Update_ObjectRequest)(nil), // 34: payload.v1.Update.ObjectRequest
- (*Update_MultiObjectRequest)(nil), // 35: payload.v1.Update.MultiObjectRequest
- (*Update_TimestampRequest)(nil), // 36: payload.v1.Update.TimestampRequest
- (*Update_Config)(nil), // 37: payload.v1.Update.Config
- (*Upsert_Request)(nil), // 38: payload.v1.Upsert.Request
- (*Upsert_MultiRequest)(nil), // 39: payload.v1.Upsert.MultiRequest
- (*Upsert_ObjectRequest)(nil), // 40: payload.v1.Upsert.ObjectRequest
- (*Upsert_MultiObjectRequest)(nil), // 41: payload.v1.Upsert.MultiObjectRequest
- (*Upsert_Config)(nil), // 42: payload.v1.Upsert.Config
- (*Remove_Request)(nil), // 43: payload.v1.Remove.Request
- (*Remove_MultiRequest)(nil), // 44: payload.v1.Remove.MultiRequest
- (*Remove_TimestampRequest)(nil), // 45: payload.v1.Remove.TimestampRequest
- (*Remove_Timestamp)(nil), // 46: payload.v1.Remove.Timestamp
- (*Remove_Config)(nil), // 47: payload.v1.Remove.Config
- (*Flush_Request)(nil), // 48: payload.v1.Flush.Request
- (*Object_VectorRequest)(nil), // 49: payload.v1.Object.VectorRequest
- (*Object_Distance)(nil), // 50: payload.v1.Object.Distance
- (*Object_StreamDistance)(nil), // 51: payload.v1.Object.StreamDistance
- (*Object_ID)(nil), // 52: payload.v1.Object.ID
- (*Object_IDs)(nil), // 53: payload.v1.Object.IDs
- (*Object_Vector)(nil), // 54: payload.v1.Object.Vector
- (*Object_TimestampRequest)(nil), // 55: payload.v1.Object.TimestampRequest
- (*Object_Timestamp)(nil), // 56: payload.v1.Object.Timestamp
- (*Object_Vectors)(nil), // 57: payload.v1.Object.Vectors
- (*Object_StreamVector)(nil), // 58: payload.v1.Object.StreamVector
- (*Object_ReshapeVector)(nil), // 59: payload.v1.Object.ReshapeVector
- (*Object_Blob)(nil), // 60: payload.v1.Object.Blob
- (*Object_StreamBlob)(nil), // 61: payload.v1.Object.StreamBlob
- (*Object_Location)(nil), // 62: payload.v1.Object.Location
- (*Object_StreamLocation)(nil), // 63: payload.v1.Object.StreamLocation
- (*Object_Locations)(nil), // 64: payload.v1.Object.Locations
- (*Object_List)(nil), // 65: payload.v1.Object.List
- (*Object_List_Request)(nil), // 66: payload.v1.Object.List.Request
- (*Object_List_Response)(nil), // 67: payload.v1.Object.List.Response
- (*Control_CreateIndexRequest)(nil), // 68: payload.v1.Control.CreateIndexRequest
- (*Discoverer_Request)(nil), // 69: payload.v1.Discoverer.Request
- (*Info_Index)(nil), // 70: payload.v1.Info.Index
- (*Info_Pod)(nil), // 71: payload.v1.Info.Pod
- (*Info_Node)(nil), // 72: payload.v1.Info.Node
- (*Info_Service)(nil), // 73: payload.v1.Info.Service
- (*Info_ServicePort)(nil), // 74: payload.v1.Info.ServicePort
- (*Info_Labels)(nil), // 75: payload.v1.Info.Labels
- (*Info_Annotations)(nil), // 76: payload.v1.Info.Annotations
- (*Info_CPU)(nil), // 77: payload.v1.Info.CPU
- (*Info_Memory)(nil), // 78: payload.v1.Info.Memory
- (*Info_Pods)(nil), // 79: payload.v1.Info.Pods
- (*Info_Nodes)(nil), // 80: payload.v1.Info.Nodes
- (*Info_Services)(nil), // 81: payload.v1.Info.Services
- (*Info_IPs)(nil), // 82: payload.v1.Info.IPs
- (*Info_Index_Count)(nil), // 83: payload.v1.Info.Index.Count
- (*Info_Index_Detail)(nil), // 84: payload.v1.Info.Index.Detail
- (*Info_Index_UUID)(nil), // 85: payload.v1.Info.Index.UUID
- (*Info_Index_Statistics)(nil), // 86: payload.v1.Info.Index.Statistics
- (*Info_Index_StatisticsDetail)(nil), // 87: payload.v1.Info.Index.StatisticsDetail
- (*Info_Index_Property)(nil), // 88: payload.v1.Info.Index.Property
- (*Info_Index_PropertyDetail)(nil), // 89: payload.v1.Info.Index.PropertyDetail
- nil, // 90: payload.v1.Info.Index.Detail.CountsEntry
- (*Info_Index_UUID_Committed)(nil), // 91: payload.v1.Info.Index.UUID.Committed
- (*Info_Index_UUID_Uncommitted)(nil), // 92: payload.v1.Info.Index.UUID.Uncommitted
- nil, // 93: payload.v1.Info.Index.StatisticsDetail.DetailsEntry
- nil, // 94: payload.v1.Info.Index.PropertyDetail.DetailsEntry
- nil, // 95: payload.v1.Info.Labels.LabelsEntry
- nil, // 96: payload.v1.Info.Annotations.AnnotationsEntry
- (*Mirror_Target)(nil), // 97: payload.v1.Mirror.Target
- (*Mirror_Targets)(nil), // 98: payload.v1.Mirror.Targets
- (*wrapperspb.FloatValue)(nil), // 99: google.protobuf.FloatValue
- (*status.Status)(nil), // 100: google.rpc.Status
+ (*Filter_Query)(nil), // 26: payload.v1.Filter.Query
+ (*Filter_Config)(nil), // 27: payload.v1.Filter.Config
+ (*Filter_DistanceRequest)(nil), // 28: payload.v1.Filter.DistanceRequest
+ (*Filter_DistanceResponse)(nil), // 29: payload.v1.Filter.DistanceResponse
+ (*Filter_VectorRequest)(nil), // 30: payload.v1.Filter.VectorRequest
+ (*Filter_VectorResponse)(nil), // 31: payload.v1.Filter.VectorResponse
+ (*Insert_Request)(nil), // 32: payload.v1.Insert.Request
+ (*Insert_MultiRequest)(nil), // 33: payload.v1.Insert.MultiRequest
+ (*Insert_ObjectRequest)(nil), // 34: payload.v1.Insert.ObjectRequest
+ (*Insert_MultiObjectRequest)(nil), // 35: payload.v1.Insert.MultiObjectRequest
+ (*Insert_Config)(nil), // 36: payload.v1.Insert.Config
+ (*Update_Request)(nil), // 37: payload.v1.Update.Request
+ (*Update_MultiRequest)(nil), // 38: payload.v1.Update.MultiRequest
+ (*Update_ObjectRequest)(nil), // 39: payload.v1.Update.ObjectRequest
+ (*Update_MultiObjectRequest)(nil), // 40: payload.v1.Update.MultiObjectRequest
+ (*Update_TimestampRequest)(nil), // 41: payload.v1.Update.TimestampRequest
+ (*Update_Config)(nil), // 42: payload.v1.Update.Config
+ (*Upsert_Request)(nil), // 43: payload.v1.Upsert.Request
+ (*Upsert_MultiRequest)(nil), // 44: payload.v1.Upsert.MultiRequest
+ (*Upsert_ObjectRequest)(nil), // 45: payload.v1.Upsert.ObjectRequest
+ (*Upsert_MultiObjectRequest)(nil), // 46: payload.v1.Upsert.MultiObjectRequest
+ (*Upsert_Config)(nil), // 47: payload.v1.Upsert.Config
+ (*Remove_Request)(nil), // 48: payload.v1.Remove.Request
+ (*Remove_MultiRequest)(nil), // 49: payload.v1.Remove.MultiRequest
+ (*Remove_TimestampRequest)(nil), // 50: payload.v1.Remove.TimestampRequest
+ (*Remove_Timestamp)(nil), // 51: payload.v1.Remove.Timestamp
+ (*Remove_Config)(nil), // 52: payload.v1.Remove.Config
+ (*Flush_Request)(nil), // 53: payload.v1.Flush.Request
+ (*Object_VectorRequest)(nil), // 54: payload.v1.Object.VectorRequest
+ (*Object_Distance)(nil), // 55: payload.v1.Object.Distance
+ (*Object_StreamDistance)(nil), // 56: payload.v1.Object.StreamDistance
+ (*Object_ID)(nil), // 57: payload.v1.Object.ID
+ (*Object_IDs)(nil), // 58: payload.v1.Object.IDs
+ (*Object_Vector)(nil), // 59: payload.v1.Object.Vector
+ (*Object_TimestampRequest)(nil), // 60: payload.v1.Object.TimestampRequest
+ (*Object_Timestamp)(nil), // 61: payload.v1.Object.Timestamp
+ (*Object_Vectors)(nil), // 62: payload.v1.Object.Vectors
+ (*Object_StreamVector)(nil), // 63: payload.v1.Object.StreamVector
+ (*Object_ReshapeVector)(nil), // 64: payload.v1.Object.ReshapeVector
+ (*Object_Blob)(nil), // 65: payload.v1.Object.Blob
+ (*Object_StreamBlob)(nil), // 66: payload.v1.Object.StreamBlob
+ (*Object_Location)(nil), // 67: payload.v1.Object.Location
+ (*Object_StreamLocation)(nil), // 68: payload.v1.Object.StreamLocation
+ (*Object_Locations)(nil), // 69: payload.v1.Object.Locations
+ (*Object_List)(nil), // 70: payload.v1.Object.List
+ (*Object_List_Request)(nil), // 71: payload.v1.Object.List.Request
+ (*Object_List_Response)(nil), // 72: payload.v1.Object.List.Response
+ (*Control_CreateIndexRequest)(nil), // 73: payload.v1.Control.CreateIndexRequest
+ (*Discoverer_Request)(nil), // 74: payload.v1.Discoverer.Request
+ (*Info_Index)(nil), // 75: payload.v1.Info.Index
+ (*Info_Pod)(nil), // 76: payload.v1.Info.Pod
+ (*Info_Node)(nil), // 77: payload.v1.Info.Node
+ (*Info_Service)(nil), // 78: payload.v1.Info.Service
+ (*Info_ServicePort)(nil), // 79: payload.v1.Info.ServicePort
+ (*Info_Labels)(nil), // 80: payload.v1.Info.Labels
+ (*Info_Annotations)(nil), // 81: payload.v1.Info.Annotations
+ (*Info_CPU)(nil), // 82: payload.v1.Info.CPU
+ (*Info_Memory)(nil), // 83: payload.v1.Info.Memory
+ (*Info_Pods)(nil), // 84: payload.v1.Info.Pods
+ (*Info_Nodes)(nil), // 85: payload.v1.Info.Nodes
+ (*Info_Services)(nil), // 86: payload.v1.Info.Services
+ (*Info_IPs)(nil), // 87: payload.v1.Info.IPs
+ (*Info_Index_Count)(nil), // 88: payload.v1.Info.Index.Count
+ (*Info_Index_Detail)(nil), // 89: payload.v1.Info.Index.Detail
+ (*Info_Index_UUID)(nil), // 90: payload.v1.Info.Index.UUID
+ (*Info_Index_Statistics)(nil), // 91: payload.v1.Info.Index.Statistics
+ (*Info_Index_StatisticsDetail)(nil), // 92: payload.v1.Info.Index.StatisticsDetail
+ (*Info_Index_Property)(nil), // 93: payload.v1.Info.Index.Property
+ (*Info_Index_PropertyDetail)(nil), // 94: payload.v1.Info.Index.PropertyDetail
+ nil, // 95: payload.v1.Info.Index.Detail.CountsEntry
+ (*Info_Index_UUID_Committed)(nil), // 96: payload.v1.Info.Index.UUID.Committed
+ (*Info_Index_UUID_Uncommitted)(nil), // 97: payload.v1.Info.Index.UUID.Uncommitted
+ nil, // 98: payload.v1.Info.Index.StatisticsDetail.DetailsEntry
+ nil, // 99: payload.v1.Info.Index.PropertyDetail.DetailsEntry
+ nil, // 100: payload.v1.Info.Labels.LabelsEntry
+ nil, // 101: payload.v1.Info.Annotations.AnnotationsEntry
+ (*Mirror_Target)(nil), // 102: payload.v1.Mirror.Target
+ (*Mirror_Targets)(nil), // 103: payload.v1.Mirror.Targets
+ (*wrapperspb.FloatValue)(nil), // 104: google.protobuf.FloatValue
+ (*status.Status)(nil), // 105: google.rpc.Status
}
)
-
var file_v1_payload_payload_proto_depIdxs = []int32{
21, // 0: payload.v1.Search.Request.config:type_name -> payload.v1.Search.Config
15, // 1: payload.v1.Search.MultiRequest.requests:type_name -> payload.v1.Search.Request
@@ -6762,85 +7067,92 @@ var file_v1_payload_payload_proto_depIdxs = []int32{
21, // 4: payload.v1.Search.ObjectRequest.config:type_name -> payload.v1.Search.Config
25, // 5: payload.v1.Search.ObjectRequest.vectorizer:type_name -> payload.v1.Filter.Target
19, // 6: payload.v1.Search.MultiObjectRequest.requests:type_name -> payload.v1.Search.ObjectRequest
- 26, // 7: payload.v1.Search.Config.ingress_filters:type_name -> payload.v1.Filter.Config
- 26, // 8: payload.v1.Search.Config.egress_filters:type_name -> payload.v1.Filter.Config
+ 27, // 7: payload.v1.Search.Config.ingress_filters:type_name -> payload.v1.Filter.Config
+ 27, // 8: payload.v1.Search.Config.egress_filters:type_name -> payload.v1.Filter.Config
0, // 9: payload.v1.Search.Config.aggregation_algorithm:type_name -> payload.v1.Search.AggregationAlgorithm
- 99, // 10: payload.v1.Search.Config.ratio:type_name -> google.protobuf.FloatValue
- 50, // 11: payload.v1.Search.Response.results:type_name -> payload.v1.Object.Distance
+ 104, // 10: payload.v1.Search.Config.ratio:type_name -> google.protobuf.FloatValue
+ 55, // 11: payload.v1.Search.Response.results:type_name -> payload.v1.Object.Distance
22, // 12: payload.v1.Search.Responses.responses:type_name -> payload.v1.Search.Response
22, // 13: payload.v1.Search.StreamResponse.response:type_name -> payload.v1.Search.Response
- 100, // 14: payload.v1.Search.StreamResponse.status:type_name -> google.rpc.Status
- 25, // 15: payload.v1.Filter.Config.targets:type_name -> payload.v1.Filter.Target
- 54, // 16: payload.v1.Insert.Request.vector:type_name -> payload.v1.Object.Vector
- 31, // 17: payload.v1.Insert.Request.config:type_name -> payload.v1.Insert.Config
- 27, // 18: payload.v1.Insert.MultiRequest.requests:type_name -> payload.v1.Insert.Request
- 60, // 19: payload.v1.Insert.ObjectRequest.object:type_name -> payload.v1.Object.Blob
- 31, // 20: payload.v1.Insert.ObjectRequest.config:type_name -> payload.v1.Insert.Config
- 25, // 21: payload.v1.Insert.ObjectRequest.vectorizer:type_name -> payload.v1.Filter.Target
- 29, // 22: payload.v1.Insert.MultiObjectRequest.requests:type_name -> payload.v1.Insert.ObjectRequest
- 26, // 23: payload.v1.Insert.Config.filters:type_name -> payload.v1.Filter.Config
- 54, // 24: payload.v1.Update.Request.vector:type_name -> payload.v1.Object.Vector
- 37, // 25: payload.v1.Update.Request.config:type_name -> payload.v1.Update.Config
- 32, // 26: payload.v1.Update.MultiRequest.requests:type_name -> payload.v1.Update.Request
- 60, // 27: payload.v1.Update.ObjectRequest.object:type_name -> payload.v1.Object.Blob
- 37, // 28: payload.v1.Update.ObjectRequest.config:type_name -> payload.v1.Update.Config
- 25, // 29: payload.v1.Update.ObjectRequest.vectorizer:type_name -> payload.v1.Filter.Target
- 34, // 30: payload.v1.Update.MultiObjectRequest.requests:type_name -> payload.v1.Update.ObjectRequest
- 26, // 31: payload.v1.Update.Config.filters:type_name -> payload.v1.Filter.Config
- 54, // 32: payload.v1.Upsert.Request.vector:type_name -> payload.v1.Object.Vector
- 42, // 33: payload.v1.Upsert.Request.config:type_name -> payload.v1.Upsert.Config
- 38, // 34: payload.v1.Upsert.MultiRequest.requests:type_name -> payload.v1.Upsert.Request
- 60, // 35: payload.v1.Upsert.ObjectRequest.object:type_name -> payload.v1.Object.Blob
- 42, // 36: payload.v1.Upsert.ObjectRequest.config:type_name -> payload.v1.Upsert.Config
- 25, // 37: payload.v1.Upsert.ObjectRequest.vectorizer:type_name -> payload.v1.Filter.Target
- 40, // 38: payload.v1.Upsert.MultiObjectRequest.requests:type_name -> payload.v1.Upsert.ObjectRequest
- 26, // 39: payload.v1.Upsert.Config.filters:type_name -> payload.v1.Filter.Config
- 52, // 40: payload.v1.Remove.Request.id:type_name -> payload.v1.Object.ID
- 47, // 41: payload.v1.Remove.Request.config:type_name -> payload.v1.Remove.Config
- 43, // 42: payload.v1.Remove.MultiRequest.requests:type_name -> payload.v1.Remove.Request
- 46, // 43: payload.v1.Remove.TimestampRequest.timestamps:type_name -> payload.v1.Remove.Timestamp
- 1, // 44: payload.v1.Remove.Timestamp.operator:type_name -> payload.v1.Remove.Timestamp.Operator
- 52, // 45: payload.v1.Object.VectorRequest.id:type_name -> payload.v1.Object.ID
- 26, // 46: payload.v1.Object.VectorRequest.filters:type_name -> payload.v1.Filter.Config
- 50, // 47: payload.v1.Object.StreamDistance.distance:type_name -> payload.v1.Object.Distance
- 100, // 48: payload.v1.Object.StreamDistance.status:type_name -> google.rpc.Status
- 52, // 49: payload.v1.Object.TimestampRequest.id:type_name -> payload.v1.Object.ID
- 54, // 50: payload.v1.Object.Vectors.vectors:type_name -> payload.v1.Object.Vector
- 54, // 51: payload.v1.Object.StreamVector.vector:type_name -> payload.v1.Object.Vector
- 100, // 52: payload.v1.Object.StreamVector.status:type_name -> google.rpc.Status
- 60, // 53: payload.v1.Object.StreamBlob.blob:type_name -> payload.v1.Object.Blob
- 100, // 54: payload.v1.Object.StreamBlob.status:type_name -> google.rpc.Status
- 62, // 55: payload.v1.Object.StreamLocation.location:type_name -> payload.v1.Object.Location
- 100, // 56: payload.v1.Object.StreamLocation.status:type_name -> google.rpc.Status
- 62, // 57: payload.v1.Object.Locations.locations:type_name -> payload.v1.Object.Location
- 54, // 58: payload.v1.Object.List.Response.vector:type_name -> payload.v1.Object.Vector
- 100, // 59: payload.v1.Object.List.Response.status:type_name -> google.rpc.Status
- 77, // 60: payload.v1.Info.Pod.cpu:type_name -> payload.v1.Info.CPU
- 78, // 61: payload.v1.Info.Pod.memory:type_name -> payload.v1.Info.Memory
- 72, // 62: payload.v1.Info.Pod.node:type_name -> payload.v1.Info.Node
- 77, // 63: payload.v1.Info.Node.cpu:type_name -> payload.v1.Info.CPU
- 78, // 64: payload.v1.Info.Node.memory:type_name -> payload.v1.Info.Memory
- 79, // 65: payload.v1.Info.Node.Pods:type_name -> payload.v1.Info.Pods
- 74, // 66: payload.v1.Info.Service.ports:type_name -> payload.v1.Info.ServicePort
- 75, // 67: payload.v1.Info.Service.labels:type_name -> payload.v1.Info.Labels
- 76, // 68: payload.v1.Info.Service.annotations:type_name -> payload.v1.Info.Annotations
- 95, // 69: payload.v1.Info.Labels.labels:type_name -> payload.v1.Info.Labels.LabelsEntry
- 96, // 70: payload.v1.Info.Annotations.annotations:type_name -> payload.v1.Info.Annotations.AnnotationsEntry
- 71, // 71: payload.v1.Info.Pods.pods:type_name -> payload.v1.Info.Pod
- 72, // 72: payload.v1.Info.Nodes.nodes:type_name -> payload.v1.Info.Node
- 73, // 73: payload.v1.Info.Services.services:type_name -> payload.v1.Info.Service
- 90, // 74: payload.v1.Info.Index.Detail.counts:type_name -> payload.v1.Info.Index.Detail.CountsEntry
- 93, // 75: payload.v1.Info.Index.StatisticsDetail.details:type_name -> payload.v1.Info.Index.StatisticsDetail.DetailsEntry
- 94, // 76: payload.v1.Info.Index.PropertyDetail.details:type_name -> payload.v1.Info.Index.PropertyDetail.DetailsEntry
- 83, // 77: payload.v1.Info.Index.Detail.CountsEntry.value:type_name -> payload.v1.Info.Index.Count
- 86, // 78: payload.v1.Info.Index.StatisticsDetail.DetailsEntry.value:type_name -> payload.v1.Info.Index.Statistics
- 88, // 79: payload.v1.Info.Index.PropertyDetail.DetailsEntry.value:type_name -> payload.v1.Info.Index.Property
- 97, // 80: payload.v1.Mirror.Targets.targets:type_name -> payload.v1.Mirror.Target
- 81, // [81:81] is the sub-list for method output_type
- 81, // [81:81] is the sub-list for method input_type
- 81, // [81:81] is the sub-list for extension type_name
- 81, // [81:81] is the sub-list for extension extendee
- 0, // [0:81] is the sub-list for field type_name
+ 105, // 14: payload.v1.Search.StreamResponse.status:type_name -> google.rpc.Status
+ 25, // 15: payload.v1.Filter.Config.target:type_name -> payload.v1.Filter.Target
+ 26, // 16: payload.v1.Filter.Config.query:type_name -> payload.v1.Filter.Query
+ 55, // 17: payload.v1.Filter.DistanceRequest.distance:type_name -> payload.v1.Object.Distance
+ 26, // 18: payload.v1.Filter.DistanceRequest.query:type_name -> payload.v1.Filter.Query
+ 55, // 19: payload.v1.Filter.DistanceResponse.distance:type_name -> payload.v1.Object.Distance
+ 59, // 20: payload.v1.Filter.VectorRequest.vector:type_name -> payload.v1.Object.Vector
+ 26, // 21: payload.v1.Filter.VectorRequest.query:type_name -> payload.v1.Filter.Query
+ 59, // 22: payload.v1.Filter.VectorResponse.vector:type_name -> payload.v1.Object.Vector
+ 59, // 23: payload.v1.Insert.Request.vector:type_name -> payload.v1.Object.Vector
+ 36, // 24: payload.v1.Insert.Request.config:type_name -> payload.v1.Insert.Config
+ 32, // 25: payload.v1.Insert.MultiRequest.requests:type_name -> payload.v1.Insert.Request
+ 65, // 26: payload.v1.Insert.ObjectRequest.object:type_name -> payload.v1.Object.Blob
+ 36, // 27: payload.v1.Insert.ObjectRequest.config:type_name -> payload.v1.Insert.Config
+ 25, // 28: payload.v1.Insert.ObjectRequest.vectorizer:type_name -> payload.v1.Filter.Target
+ 34, // 29: payload.v1.Insert.MultiObjectRequest.requests:type_name -> payload.v1.Insert.ObjectRequest
+ 27, // 30: payload.v1.Insert.Config.filters:type_name -> payload.v1.Filter.Config
+ 59, // 31: payload.v1.Update.Request.vector:type_name -> payload.v1.Object.Vector
+ 42, // 32: payload.v1.Update.Request.config:type_name -> payload.v1.Update.Config
+ 37, // 33: payload.v1.Update.MultiRequest.requests:type_name -> payload.v1.Update.Request
+ 65, // 34: payload.v1.Update.ObjectRequest.object:type_name -> payload.v1.Object.Blob
+ 42, // 35: payload.v1.Update.ObjectRequest.config:type_name -> payload.v1.Update.Config
+ 25, // 36: payload.v1.Update.ObjectRequest.vectorizer:type_name -> payload.v1.Filter.Target
+ 39, // 37: payload.v1.Update.MultiObjectRequest.requests:type_name -> payload.v1.Update.ObjectRequest
+ 27, // 38: payload.v1.Update.Config.filters:type_name -> payload.v1.Filter.Config
+ 59, // 39: payload.v1.Upsert.Request.vector:type_name -> payload.v1.Object.Vector
+ 47, // 40: payload.v1.Upsert.Request.config:type_name -> payload.v1.Upsert.Config
+ 43, // 41: payload.v1.Upsert.MultiRequest.requests:type_name -> payload.v1.Upsert.Request
+ 65, // 42: payload.v1.Upsert.ObjectRequest.object:type_name -> payload.v1.Object.Blob
+ 47, // 43: payload.v1.Upsert.ObjectRequest.config:type_name -> payload.v1.Upsert.Config
+ 25, // 44: payload.v1.Upsert.ObjectRequest.vectorizer:type_name -> payload.v1.Filter.Target
+ 45, // 45: payload.v1.Upsert.MultiObjectRequest.requests:type_name -> payload.v1.Upsert.ObjectRequest
+ 27, // 46: payload.v1.Upsert.Config.filters:type_name -> payload.v1.Filter.Config
+ 57, // 47: payload.v1.Remove.Request.id:type_name -> payload.v1.Object.ID
+ 52, // 48: payload.v1.Remove.Request.config:type_name -> payload.v1.Remove.Config
+ 48, // 49: payload.v1.Remove.MultiRequest.requests:type_name -> payload.v1.Remove.Request
+ 51, // 50: payload.v1.Remove.TimestampRequest.timestamps:type_name -> payload.v1.Remove.Timestamp
+ 1, // 51: payload.v1.Remove.Timestamp.operator:type_name -> payload.v1.Remove.Timestamp.Operator
+ 57, // 52: payload.v1.Object.VectorRequest.id:type_name -> payload.v1.Object.ID
+ 27, // 53: payload.v1.Object.VectorRequest.filters:type_name -> payload.v1.Filter.Config
+ 55, // 54: payload.v1.Object.StreamDistance.distance:type_name -> payload.v1.Object.Distance
+ 105, // 55: payload.v1.Object.StreamDistance.status:type_name -> google.rpc.Status
+ 57, // 56: payload.v1.Object.TimestampRequest.id:type_name -> payload.v1.Object.ID
+ 59, // 57: payload.v1.Object.Vectors.vectors:type_name -> payload.v1.Object.Vector
+ 59, // 58: payload.v1.Object.StreamVector.vector:type_name -> payload.v1.Object.Vector
+ 105, // 59: payload.v1.Object.StreamVector.status:type_name -> google.rpc.Status
+ 65, // 60: payload.v1.Object.StreamBlob.blob:type_name -> payload.v1.Object.Blob
+ 105, // 61: payload.v1.Object.StreamBlob.status:type_name -> google.rpc.Status
+ 67, // 62: payload.v1.Object.StreamLocation.location:type_name -> payload.v1.Object.Location
+ 105, // 63: payload.v1.Object.StreamLocation.status:type_name -> google.rpc.Status
+ 67, // 64: payload.v1.Object.Locations.locations:type_name -> payload.v1.Object.Location
+ 59, // 65: payload.v1.Object.List.Response.vector:type_name -> payload.v1.Object.Vector
+ 105, // 66: payload.v1.Object.List.Response.status:type_name -> google.rpc.Status
+ 82, // 67: payload.v1.Info.Pod.cpu:type_name -> payload.v1.Info.CPU
+ 83, // 68: payload.v1.Info.Pod.memory:type_name -> payload.v1.Info.Memory
+ 77, // 69: payload.v1.Info.Pod.node:type_name -> payload.v1.Info.Node
+ 82, // 70: payload.v1.Info.Node.cpu:type_name -> payload.v1.Info.CPU
+ 83, // 71: payload.v1.Info.Node.memory:type_name -> payload.v1.Info.Memory
+ 84, // 72: payload.v1.Info.Node.Pods:type_name -> payload.v1.Info.Pods
+ 79, // 73: payload.v1.Info.Service.ports:type_name -> payload.v1.Info.ServicePort
+ 80, // 74: payload.v1.Info.Service.labels:type_name -> payload.v1.Info.Labels
+ 81, // 75: payload.v1.Info.Service.annotations:type_name -> payload.v1.Info.Annotations
+ 100, // 76: payload.v1.Info.Labels.labels:type_name -> payload.v1.Info.Labels.LabelsEntry
+ 101, // 77: payload.v1.Info.Annotations.annotations:type_name -> payload.v1.Info.Annotations.AnnotationsEntry
+ 76, // 78: payload.v1.Info.Pods.pods:type_name -> payload.v1.Info.Pod
+ 77, // 79: payload.v1.Info.Nodes.nodes:type_name -> payload.v1.Info.Node
+ 78, // 80: payload.v1.Info.Services.services:type_name -> payload.v1.Info.Service
+ 95, // 81: payload.v1.Info.Index.Detail.counts:type_name -> payload.v1.Info.Index.Detail.CountsEntry
+ 98, // 82: payload.v1.Info.Index.StatisticsDetail.details:type_name -> payload.v1.Info.Index.StatisticsDetail.DetailsEntry
+ 99, // 83: payload.v1.Info.Index.PropertyDetail.details:type_name -> payload.v1.Info.Index.PropertyDetail.DetailsEntry
+ 88, // 84: payload.v1.Info.Index.Detail.CountsEntry.value:type_name -> payload.v1.Info.Index.Count
+ 91, // 85: payload.v1.Info.Index.StatisticsDetail.DetailsEntry.value:type_name -> payload.v1.Info.Index.Statistics
+ 93, // 86: payload.v1.Info.Index.PropertyDetail.DetailsEntry.value:type_name -> payload.v1.Info.Index.Property
+ 102, // 87: payload.v1.Mirror.Targets.targets:type_name -> payload.v1.Mirror.Target
+ 88, // [88:88] is the sub-list for method output_type
+ 88, // [88:88] is the sub-list for method input_type
+ 88, // [88:88] is the sub-list for extension type_name
+ 88, // [88:88] is the sub-list for extension extendee
+ 0, // [0:88] is the sub-list for field type_name
}
func init() { file_v1_payload_payload_proto_init() }
@@ -7138,7 +7450,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[24].Exporter = func(v any, i int) any {
- switch v := v.(*Filter_Config); i {
+ switch v := v.(*Filter_Query); i {
case 0:
return &v.state
case 1:
@@ -7150,7 +7462,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[25].Exporter = func(v any, i int) any {
- switch v := v.(*Insert_Request); i {
+ switch v := v.(*Filter_Config); i {
case 0:
return &v.state
case 1:
@@ -7162,7 +7474,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[26].Exporter = func(v any, i int) any {
- switch v := v.(*Insert_MultiRequest); i {
+ switch v := v.(*Filter_DistanceRequest); i {
case 0:
return &v.state
case 1:
@@ -7174,7 +7486,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[27].Exporter = func(v any, i int) any {
- switch v := v.(*Insert_ObjectRequest); i {
+ switch v := v.(*Filter_DistanceResponse); i {
case 0:
return &v.state
case 1:
@@ -7186,7 +7498,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[28].Exporter = func(v any, i int) any {
- switch v := v.(*Insert_MultiObjectRequest); i {
+ switch v := v.(*Filter_VectorRequest); i {
case 0:
return &v.state
case 1:
@@ -7198,7 +7510,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[29].Exporter = func(v any, i int) any {
- switch v := v.(*Insert_Config); i {
+ switch v := v.(*Filter_VectorResponse); i {
case 0:
return &v.state
case 1:
@@ -7210,7 +7522,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[30].Exporter = func(v any, i int) any {
- switch v := v.(*Update_Request); i {
+ switch v := v.(*Insert_Request); i {
case 0:
return &v.state
case 1:
@@ -7222,7 +7534,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[31].Exporter = func(v any, i int) any {
- switch v := v.(*Update_MultiRequest); i {
+ switch v := v.(*Insert_MultiRequest); i {
case 0:
return &v.state
case 1:
@@ -7234,7 +7546,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[32].Exporter = func(v any, i int) any {
- switch v := v.(*Update_ObjectRequest); i {
+ switch v := v.(*Insert_ObjectRequest); i {
case 0:
return &v.state
case 1:
@@ -7246,7 +7558,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[33].Exporter = func(v any, i int) any {
- switch v := v.(*Update_MultiObjectRequest); i {
+ switch v := v.(*Insert_MultiObjectRequest); i {
case 0:
return &v.state
case 1:
@@ -7258,7 +7570,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[34].Exporter = func(v any, i int) any {
- switch v := v.(*Update_TimestampRequest); i {
+ switch v := v.(*Insert_Config); i {
case 0:
return &v.state
case 1:
@@ -7270,7 +7582,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[35].Exporter = func(v any, i int) any {
- switch v := v.(*Update_Config); i {
+ switch v := v.(*Update_Request); i {
case 0:
return &v.state
case 1:
@@ -7282,7 +7594,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[36].Exporter = func(v any, i int) any {
- switch v := v.(*Upsert_Request); i {
+ switch v := v.(*Update_MultiRequest); i {
case 0:
return &v.state
case 1:
@@ -7294,7 +7606,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[37].Exporter = func(v any, i int) any {
- switch v := v.(*Upsert_MultiRequest); i {
+ switch v := v.(*Update_ObjectRequest); i {
case 0:
return &v.state
case 1:
@@ -7306,7 +7618,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[38].Exporter = func(v any, i int) any {
- switch v := v.(*Upsert_ObjectRequest); i {
+ switch v := v.(*Update_MultiObjectRequest); i {
case 0:
return &v.state
case 1:
@@ -7318,7 +7630,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[39].Exporter = func(v any, i int) any {
- switch v := v.(*Upsert_MultiObjectRequest); i {
+ switch v := v.(*Update_TimestampRequest); i {
case 0:
return &v.state
case 1:
@@ -7330,7 +7642,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[40].Exporter = func(v any, i int) any {
- switch v := v.(*Upsert_Config); i {
+ switch v := v.(*Update_Config); i {
case 0:
return &v.state
case 1:
@@ -7342,7 +7654,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[41].Exporter = func(v any, i int) any {
- switch v := v.(*Remove_Request); i {
+ switch v := v.(*Upsert_Request); i {
case 0:
return &v.state
case 1:
@@ -7354,7 +7666,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[42].Exporter = func(v any, i int) any {
- switch v := v.(*Remove_MultiRequest); i {
+ switch v := v.(*Upsert_MultiRequest); i {
case 0:
return &v.state
case 1:
@@ -7366,7 +7678,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[43].Exporter = func(v any, i int) any {
- switch v := v.(*Remove_TimestampRequest); i {
+ switch v := v.(*Upsert_ObjectRequest); i {
case 0:
return &v.state
case 1:
@@ -7378,7 +7690,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[44].Exporter = func(v any, i int) any {
- switch v := v.(*Remove_Timestamp); i {
+ switch v := v.(*Upsert_MultiObjectRequest); i {
case 0:
return &v.state
case 1:
@@ -7390,7 +7702,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[45].Exporter = func(v any, i int) any {
- switch v := v.(*Remove_Config); i {
+ switch v := v.(*Upsert_Config); i {
case 0:
return &v.state
case 1:
@@ -7402,7 +7714,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[46].Exporter = func(v any, i int) any {
- switch v := v.(*Flush_Request); i {
+ switch v := v.(*Remove_Request); i {
case 0:
return &v.state
case 1:
@@ -7414,7 +7726,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[47].Exporter = func(v any, i int) any {
- switch v := v.(*Object_VectorRequest); i {
+ switch v := v.(*Remove_MultiRequest); i {
case 0:
return &v.state
case 1:
@@ -7426,7 +7738,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[48].Exporter = func(v any, i int) any {
- switch v := v.(*Object_Distance); i {
+ switch v := v.(*Remove_TimestampRequest); i {
case 0:
return &v.state
case 1:
@@ -7438,7 +7750,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[49].Exporter = func(v any, i int) any {
- switch v := v.(*Object_StreamDistance); i {
+ switch v := v.(*Remove_Timestamp); i {
case 0:
return &v.state
case 1:
@@ -7450,7 +7762,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[50].Exporter = func(v any, i int) any {
- switch v := v.(*Object_ID); i {
+ switch v := v.(*Remove_Config); i {
case 0:
return &v.state
case 1:
@@ -7462,7 +7774,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[51].Exporter = func(v any, i int) any {
- switch v := v.(*Object_IDs); i {
+ switch v := v.(*Flush_Request); i {
case 0:
return &v.state
case 1:
@@ -7474,7 +7786,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[52].Exporter = func(v any, i int) any {
- switch v := v.(*Object_Vector); i {
+ switch v := v.(*Object_VectorRequest); i {
case 0:
return &v.state
case 1:
@@ -7486,7 +7798,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[53].Exporter = func(v any, i int) any {
- switch v := v.(*Object_TimestampRequest); i {
+ switch v := v.(*Object_Distance); i {
case 0:
return &v.state
case 1:
@@ -7498,7 +7810,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[54].Exporter = func(v any, i int) any {
- switch v := v.(*Object_Timestamp); i {
+ switch v := v.(*Object_StreamDistance); i {
case 0:
return &v.state
case 1:
@@ -7510,7 +7822,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[55].Exporter = func(v any, i int) any {
- switch v := v.(*Object_Vectors); i {
+ switch v := v.(*Object_ID); i {
case 0:
return &v.state
case 1:
@@ -7522,7 +7834,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[56].Exporter = func(v any, i int) any {
- switch v := v.(*Object_StreamVector); i {
+ switch v := v.(*Object_IDs); i {
case 0:
return &v.state
case 1:
@@ -7534,7 +7846,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[57].Exporter = func(v any, i int) any {
- switch v := v.(*Object_ReshapeVector); i {
+ switch v := v.(*Object_Vector); i {
case 0:
return &v.state
case 1:
@@ -7546,7 +7858,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[58].Exporter = func(v any, i int) any {
- switch v := v.(*Object_Blob); i {
+ switch v := v.(*Object_TimestampRequest); i {
case 0:
return &v.state
case 1:
@@ -7558,7 +7870,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[59].Exporter = func(v any, i int) any {
- switch v := v.(*Object_StreamBlob); i {
+ switch v := v.(*Object_Timestamp); i {
case 0:
return &v.state
case 1:
@@ -7570,7 +7882,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[60].Exporter = func(v any, i int) any {
- switch v := v.(*Object_Location); i {
+ switch v := v.(*Object_Vectors); i {
case 0:
return &v.state
case 1:
@@ -7582,7 +7894,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[61].Exporter = func(v any, i int) any {
- switch v := v.(*Object_StreamLocation); i {
+ switch v := v.(*Object_StreamVector); i {
case 0:
return &v.state
case 1:
@@ -7594,7 +7906,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[62].Exporter = func(v any, i int) any {
- switch v := v.(*Object_Locations); i {
+ switch v := v.(*Object_ReshapeVector); i {
case 0:
return &v.state
case 1:
@@ -7606,7 +7918,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[63].Exporter = func(v any, i int) any {
- switch v := v.(*Object_List); i {
+ switch v := v.(*Object_Blob); i {
case 0:
return &v.state
case 1:
@@ -7618,7 +7930,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[64].Exporter = func(v any, i int) any {
- switch v := v.(*Object_List_Request); i {
+ switch v := v.(*Object_StreamBlob); i {
case 0:
return &v.state
case 1:
@@ -7630,7 +7942,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[65].Exporter = func(v any, i int) any {
- switch v := v.(*Object_List_Response); i {
+ switch v := v.(*Object_Location); i {
case 0:
return &v.state
case 1:
@@ -7642,7 +7954,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[66].Exporter = func(v any, i int) any {
- switch v := v.(*Control_CreateIndexRequest); i {
+ switch v := v.(*Object_StreamLocation); i {
case 0:
return &v.state
case 1:
@@ -7654,7 +7966,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[67].Exporter = func(v any, i int) any {
- switch v := v.(*Discoverer_Request); i {
+ switch v := v.(*Object_Locations); i {
case 0:
return &v.state
case 1:
@@ -7666,7 +7978,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[68].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index); i {
+ switch v := v.(*Object_List); i {
case 0:
return &v.state
case 1:
@@ -7678,7 +7990,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[69].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Pod); i {
+ switch v := v.(*Object_List_Request); i {
case 0:
return &v.state
case 1:
@@ -7690,7 +8002,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[70].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Node); i {
+ switch v := v.(*Object_List_Response); i {
case 0:
return &v.state
case 1:
@@ -7702,7 +8014,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[71].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Service); i {
+ switch v := v.(*Control_CreateIndexRequest); i {
case 0:
return &v.state
case 1:
@@ -7714,7 +8026,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[72].Exporter = func(v any, i int) any {
- switch v := v.(*Info_ServicePort); i {
+ switch v := v.(*Discoverer_Request); i {
case 0:
return &v.state
case 1:
@@ -7726,7 +8038,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[73].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Labels); i {
+ switch v := v.(*Info_Index); i {
case 0:
return &v.state
case 1:
@@ -7738,7 +8050,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[74].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Annotations); i {
+ switch v := v.(*Info_Pod); i {
case 0:
return &v.state
case 1:
@@ -7750,7 +8062,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[75].Exporter = func(v any, i int) any {
- switch v := v.(*Info_CPU); i {
+ switch v := v.(*Info_Node); i {
case 0:
return &v.state
case 1:
@@ -7762,7 +8074,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[76].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Memory); i {
+ switch v := v.(*Info_Service); i {
case 0:
return &v.state
case 1:
@@ -7774,7 +8086,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[77].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Pods); i {
+ switch v := v.(*Info_ServicePort); i {
case 0:
return &v.state
case 1:
@@ -7786,7 +8098,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[78].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Nodes); i {
+ switch v := v.(*Info_Labels); i {
case 0:
return &v.state
case 1:
@@ -7798,7 +8110,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[79].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Services); i {
+ switch v := v.(*Info_Annotations); i {
case 0:
return &v.state
case 1:
@@ -7810,7 +8122,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[80].Exporter = func(v any, i int) any {
- switch v := v.(*Info_IPs); i {
+ switch v := v.(*Info_CPU); i {
case 0:
return &v.state
case 1:
@@ -7822,7 +8134,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[81].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_Count); i {
+ switch v := v.(*Info_Memory); i {
case 0:
return &v.state
case 1:
@@ -7834,7 +8146,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[82].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_Detail); i {
+ switch v := v.(*Info_Pods); i {
case 0:
return &v.state
case 1:
@@ -7846,7 +8158,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[83].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_UUID); i {
+ switch v := v.(*Info_Nodes); i {
case 0:
return &v.state
case 1:
@@ -7858,7 +8170,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[84].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_Statistics); i {
+ switch v := v.(*Info_Services); i {
case 0:
return &v.state
case 1:
@@ -7870,7 +8182,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[85].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_StatisticsDetail); i {
+ switch v := v.(*Info_IPs); i {
case 0:
return &v.state
case 1:
@@ -7882,7 +8194,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[86].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_Property); i {
+ switch v := v.(*Info_Index_Count); i {
case 0:
return &v.state
case 1:
@@ -7894,7 +8206,19 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[87].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_PropertyDetail); i {
+ switch v := v.(*Info_Index_Detail); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_payload_payload_proto_msgTypes[88].Exporter = func(v any, i int) any {
+ switch v := v.(*Info_Index_UUID); i {
case 0:
return &v.state
case 1:
@@ -7906,7 +8230,7 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[89].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_UUID_Committed); i {
+ switch v := v.(*Info_Index_Statistics); i {
case 0:
return &v.state
case 1:
@@ -7918,7 +8242,43 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[90].Exporter = func(v any, i int) any {
- switch v := v.(*Info_Index_UUID_Uncommitted); i {
+ switch v := v.(*Info_Index_StatisticsDetail); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_payload_payload_proto_msgTypes[91].Exporter = func(v any, i int) any {
+ switch v := v.(*Info_Index_Property); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_payload_payload_proto_msgTypes[92].Exporter = func(v any, i int) any {
+ switch v := v.(*Info_Index_PropertyDetail); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_payload_payload_proto_msgTypes[94].Exporter = func(v any, i int) any {
+ switch v := v.(*Info_Index_UUID_Committed); i {
case 0:
return &v.state
case 1:
@@ -7930,6 +8290,18 @@ func file_v1_payload_payload_proto_init() {
}
}
file_v1_payload_payload_proto_msgTypes[95].Exporter = func(v any, i int) any {
+ switch v := v.(*Info_Index_UUID_Uncommitted); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_v1_payload_payload_proto_msgTypes[100].Exporter = func(v any, i int) any {
switch v := v.(*Mirror_Target); i {
case 0:
return &v.state
@@ -7941,7 +8313,7 @@ func file_v1_payload_payload_proto_init() {
return nil
}
}
- file_v1_payload_payload_proto_msgTypes[96].Exporter = func(v any, i int) any {
+ file_v1_payload_payload_proto_msgTypes[101].Exporter = func(v any, i int) any {
switch v := v.(*Mirror_Targets); i {
case 0:
return &v.state
@@ -7958,23 +8330,23 @@ func file_v1_payload_payload_proto_init() {
(*Search_StreamResponse_Response)(nil),
(*Search_StreamResponse_Status)(nil),
}
- file_v1_payload_payload_proto_msgTypes[49].OneofWrappers = []any{
+ file_v1_payload_payload_proto_msgTypes[54].OneofWrappers = []any{
(*Object_StreamDistance_Distance)(nil),
(*Object_StreamDistance_Status)(nil),
}
- file_v1_payload_payload_proto_msgTypes[56].OneofWrappers = []any{
+ file_v1_payload_payload_proto_msgTypes[61].OneofWrappers = []any{
(*Object_StreamVector_Vector)(nil),
(*Object_StreamVector_Status)(nil),
}
- file_v1_payload_payload_proto_msgTypes[59].OneofWrappers = []any{
+ file_v1_payload_payload_proto_msgTypes[64].OneofWrappers = []any{
(*Object_StreamBlob_Blob)(nil),
(*Object_StreamBlob_Status)(nil),
}
- file_v1_payload_payload_proto_msgTypes[61].OneofWrappers = []any{
+ file_v1_payload_payload_proto_msgTypes[66].OneofWrappers = []any{
(*Object_StreamLocation_Location)(nil),
(*Object_StreamLocation_Status)(nil),
}
- file_v1_payload_payload_proto_msgTypes[65].OneofWrappers = []any{
+ file_v1_payload_payload_proto_msgTypes[70].OneofWrappers = []any{
(*Object_List_Response_Vector)(nil),
(*Object_List_Response_Status)(nil),
}
@@ -7984,7 +8356,7 @@ func file_v1_payload_payload_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_v1_payload_payload_proto_rawDesc,
NumEnums: 2,
- NumMessages: 97,
+ NumMessages: 102,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/apis/grpc/v1/payload/payload_vtproto.pb.go b/apis/grpc/v1/payload/payload_vtproto.pb.go
index 3b9b0a63ee..56cde5d004 100644
--- a/apis/grpc/v1/payload/payload_vtproto.pb.go
+++ b/apis/grpc/v1/payload/payload_vtproto.pb.go
@@ -179,12 +179,24 @@ func (m *Search_Config) CloneVT() *Search_Config {
r.Radius = m.Radius
r.Epsilon = m.Epsilon
r.Timeout = m.Timeout
- r.IngressFilters = m.IngressFilters.CloneVT()
- r.EgressFilters = m.EgressFilters.CloneVT()
r.MinNum = m.MinNum
r.AggregationAlgorithm = m.AggregationAlgorithm
r.Ratio = (*wrapperspb.FloatValue)((*wrapperspb1.FloatValue)(m.Ratio).CloneVT())
r.Nprobe = m.Nprobe
+ if rhs := m.IngressFilters; rhs != nil {
+ tmpContainer := make([]*Filter_Config, len(rhs))
+ for k, v := range rhs {
+ tmpContainer[k] = v.CloneVT()
+ }
+ r.IngressFilters = tmpContainer
+ }
+ if rhs := m.EgressFilters; rhs != nil {
+ tmpContainer := make([]*Filter_Config, len(rhs))
+ for k, v := range rhs {
+ tmpContainer[k] = v.CloneVT()
+ }
+ r.EgressFilters = tmpContainer
+ }
if len(m.unknownFields) > 0 {
r.unknownFields = make([]byte, len(m.unknownFields))
copy(r.unknownFields, m.unknownFields)
@@ -322,17 +334,53 @@ func (m *Filter_Target) CloneMessageVT() proto.Message {
return m.CloneVT()
}
+func (m *Filter_Query) CloneVT() *Filter_Query {
+ if m == nil {
+ return (*Filter_Query)(nil)
+ }
+ r := new(Filter_Query)
+ r.Query = m.Query
+ if len(m.unknownFields) > 0 {
+ r.unknownFields = make([]byte, len(m.unknownFields))
+ copy(r.unknownFields, m.unknownFields)
+ }
+ return r
+}
+
+func (m *Filter_Query) CloneMessageVT() proto.Message {
+ return m.CloneVT()
+}
+
func (m *Filter_Config) CloneVT() *Filter_Config {
if m == nil {
return (*Filter_Config)(nil)
}
r := new(Filter_Config)
- if rhs := m.Targets; rhs != nil {
- tmpContainer := make([]*Filter_Target, len(rhs))
+ r.Target = m.Target.CloneVT()
+ r.Query = m.Query.CloneVT()
+ if len(m.unknownFields) > 0 {
+ r.unknownFields = make([]byte, len(m.unknownFields))
+ copy(r.unknownFields, m.unknownFields)
+ }
+ return r
+}
+
+func (m *Filter_Config) CloneMessageVT() proto.Message {
+ return m.CloneVT()
+}
+
+func (m *Filter_DistanceRequest) CloneVT() *Filter_DistanceRequest {
+ if m == nil {
+ return (*Filter_DistanceRequest)(nil)
+ }
+ r := new(Filter_DistanceRequest)
+ r.Query = m.Query.CloneVT()
+ if rhs := m.Distance; rhs != nil {
+ tmpContainer := make([]*Object_Distance, len(rhs))
for k, v := range rhs {
tmpContainer[k] = v.CloneVT()
}
- r.Targets = tmpContainer
+ r.Distance = tmpContainer
}
if len(m.unknownFields) > 0 {
r.unknownFields = make([]byte, len(m.unknownFields))
@@ -341,7 +389,65 @@ func (m *Filter_Config) CloneVT() *Filter_Config {
return r
}
-func (m *Filter_Config) CloneMessageVT() proto.Message {
+func (m *Filter_DistanceRequest) CloneMessageVT() proto.Message {
+ return m.CloneVT()
+}
+
+func (m *Filter_DistanceResponse) CloneVT() *Filter_DistanceResponse {
+ if m == nil {
+ return (*Filter_DistanceResponse)(nil)
+ }
+ r := new(Filter_DistanceResponse)
+ if rhs := m.Distance; rhs != nil {
+ tmpContainer := make([]*Object_Distance, len(rhs))
+ for k, v := range rhs {
+ tmpContainer[k] = v.CloneVT()
+ }
+ r.Distance = tmpContainer
+ }
+ if len(m.unknownFields) > 0 {
+ r.unknownFields = make([]byte, len(m.unknownFields))
+ copy(r.unknownFields, m.unknownFields)
+ }
+ return r
+}
+
+func (m *Filter_DistanceResponse) CloneMessageVT() proto.Message {
+ return m.CloneVT()
+}
+
+func (m *Filter_VectorRequest) CloneVT() *Filter_VectorRequest {
+ if m == nil {
+ return (*Filter_VectorRequest)(nil)
+ }
+ r := new(Filter_VectorRequest)
+ r.Vector = m.Vector.CloneVT()
+ r.Query = m.Query.CloneVT()
+ if len(m.unknownFields) > 0 {
+ r.unknownFields = make([]byte, len(m.unknownFields))
+ copy(r.unknownFields, m.unknownFields)
+ }
+ return r
+}
+
+func (m *Filter_VectorRequest) CloneMessageVT() proto.Message {
+ return m.CloneVT()
+}
+
+func (m *Filter_VectorResponse) CloneVT() *Filter_VectorResponse {
+ if m == nil {
+ return (*Filter_VectorResponse)(nil)
+ }
+ r := new(Filter_VectorResponse)
+ r.Vector = m.Vector.CloneVT()
+ if len(m.unknownFields) > 0 {
+ r.unknownFields = make([]byte, len(m.unknownFields))
+ copy(r.unknownFields, m.unknownFields)
+ }
+ return r
+}
+
+func (m *Filter_VectorResponse) CloneMessageVT() proto.Message {
return m.CloneVT()
}
@@ -450,8 +556,14 @@ func (m *Insert_Config) CloneVT() *Insert_Config {
}
r := new(Insert_Config)
r.SkipStrictExistCheck = m.SkipStrictExistCheck
- r.Filters = m.Filters.CloneVT()
r.Timestamp = m.Timestamp
+ if rhs := m.Filters; rhs != nil {
+ tmpContainer := make([]*Filter_Config, len(rhs))
+ for k, v := range rhs {
+ tmpContainer[k] = v.CloneVT()
+ }
+ r.Filters = tmpContainer
+ }
if len(m.unknownFields) > 0 {
r.unknownFields = make([]byte, len(m.unknownFields))
copy(r.unknownFields, m.unknownFields)
@@ -587,9 +699,15 @@ func (m *Update_Config) CloneVT() *Update_Config {
}
r := new(Update_Config)
r.SkipStrictExistCheck = m.SkipStrictExistCheck
- r.Filters = m.Filters.CloneVT()
r.Timestamp = m.Timestamp
r.DisableBalancedUpdate = m.DisableBalancedUpdate
+ if rhs := m.Filters; rhs != nil {
+ tmpContainer := make([]*Filter_Config, len(rhs))
+ for k, v := range rhs {
+ tmpContainer[k] = v.CloneVT()
+ }
+ r.Filters = tmpContainer
+ }
if len(m.unknownFields) > 0 {
r.unknownFields = make([]byte, len(m.unknownFields))
copy(r.unknownFields, m.unknownFields)
@@ -706,9 +824,15 @@ func (m *Upsert_Config) CloneVT() *Upsert_Config {
}
r := new(Upsert_Config)
r.SkipStrictExistCheck = m.SkipStrictExistCheck
- r.Filters = m.Filters.CloneVT()
r.Timestamp = m.Timestamp
r.DisableBalancedUpdate = m.DisableBalancedUpdate
+ if rhs := m.Filters; rhs != nil {
+ tmpContainer := make([]*Filter_Config, len(rhs))
+ for k, v := range rhs {
+ tmpContainer[k] = v.CloneVT()
+ }
+ r.Filters = tmpContainer
+ }
if len(m.unknownFields) > 0 {
r.unknownFields = make([]byte, len(m.unknownFields))
copy(r.unknownFields, m.unknownFields)
@@ -890,7 +1014,13 @@ func (m *Object_VectorRequest) CloneVT() *Object_VectorRequest {
}
r := new(Object_VectorRequest)
r.Id = m.Id.CloneVT()
- r.Filters = m.Filters.CloneVT()
+ if rhs := m.Filters; rhs != nil {
+ tmpContainer := make([]*Filter_Config, len(rhs))
+ for k, v := range rhs {
+ tmpContainer[k] = v.CloneVT()
+ }
+ r.Filters = tmpContainer
+ }
if len(m.unknownFields) > 0 {
r.unknownFields = make([]byte, len(m.unknownFields))
copy(r.unknownFields, m.unknownFields)
@@ -2301,12 +2431,40 @@ func (this *Search_Config) EqualVT(that *Search_Config) bool {
if this.Timeout != that.Timeout {
return false
}
- if !this.IngressFilters.EqualVT(that.IngressFilters) {
+ if len(this.IngressFilters) != len(that.IngressFilters) {
return false
}
- if !this.EgressFilters.EqualVT(that.EgressFilters) {
+ for i, vx := range this.IngressFilters {
+ vy := that.IngressFilters[i]
+ if p, q := vx, vy; p != q {
+ if p == nil {
+ p = &Filter_Config{}
+ }
+ if q == nil {
+ q = &Filter_Config{}
+ }
+ if !p.EqualVT(q) {
+ return false
+ }
+ }
+ }
+ if len(this.EgressFilters) != len(that.EgressFilters) {
return false
}
+ for i, vx := range this.EgressFilters {
+ vy := that.EgressFilters[i]
+ if p, q := vx, vy; p != q {
+ if p == nil {
+ p = &Filter_Config{}
+ }
+ if q == nil {
+ q = &Filter_Config{}
+ }
+ if !p.EqualVT(q) {
+ return false
+ }
+ }
+ }
if this.MinNum != that.MinNum {
return false
}
@@ -2526,34 +2684,157 @@ func (this *Filter_Target) EqualMessageVT(thatMsg proto.Message) bool {
return this.EqualVT(that)
}
+func (this *Filter_Query) EqualVT(that *Filter_Query) bool {
+ if this == that {
+ return true
+ } else if this == nil || that == nil {
+ return false
+ }
+ if this.Query != that.Query {
+ return false
+ }
+ return string(this.unknownFields) == string(that.unknownFields)
+}
+
+func (this *Filter_Query) EqualMessageVT(thatMsg proto.Message) bool {
+ that, ok := thatMsg.(*Filter_Query)
+ if !ok {
+ return false
+ }
+ return this.EqualVT(that)
+}
+
func (this *Filter_Config) EqualVT(that *Filter_Config) bool {
if this == that {
return true
} else if this == nil || that == nil {
return false
}
- if len(this.Targets) != len(that.Targets) {
+ if !this.Target.EqualVT(that.Target) {
return false
}
- for i, vx := range this.Targets {
- vy := that.Targets[i]
+ if !this.Query.EqualVT(that.Query) {
+ return false
+ }
+ return string(this.unknownFields) == string(that.unknownFields)
+}
+
+func (this *Filter_Config) EqualMessageVT(thatMsg proto.Message) bool {
+ that, ok := thatMsg.(*Filter_Config)
+ if !ok {
+ return false
+ }
+ return this.EqualVT(that)
+}
+
+func (this *Filter_DistanceRequest) EqualVT(that *Filter_DistanceRequest) bool {
+ if this == that {
+ return true
+ } else if this == nil || that == nil {
+ return false
+ }
+ if len(this.Distance) != len(that.Distance) {
+ return false
+ }
+ for i, vx := range this.Distance {
+ vy := that.Distance[i]
if p, q := vx, vy; p != q {
if p == nil {
- p = &Filter_Target{}
+ p = &Object_Distance{}
}
if q == nil {
- q = &Filter_Target{}
+ q = &Object_Distance{}
}
if !p.EqualVT(q) {
return false
}
}
}
+ if !this.Query.EqualVT(that.Query) {
+ return false
+ }
return string(this.unknownFields) == string(that.unknownFields)
}
-func (this *Filter_Config) EqualMessageVT(thatMsg proto.Message) bool {
- that, ok := thatMsg.(*Filter_Config)
+func (this *Filter_DistanceRequest) EqualMessageVT(thatMsg proto.Message) bool {
+ that, ok := thatMsg.(*Filter_DistanceRequest)
+ if !ok {
+ return false
+ }
+ return this.EqualVT(that)
+}
+
+func (this *Filter_DistanceResponse) EqualVT(that *Filter_DistanceResponse) bool {
+ if this == that {
+ return true
+ } else if this == nil || that == nil {
+ return false
+ }
+ if len(this.Distance) != len(that.Distance) {
+ return false
+ }
+ for i, vx := range this.Distance {
+ vy := that.Distance[i]
+ if p, q := vx, vy; p != q {
+ if p == nil {
+ p = &Object_Distance{}
+ }
+ if q == nil {
+ q = &Object_Distance{}
+ }
+ if !p.EqualVT(q) {
+ return false
+ }
+ }
+ }
+ return string(this.unknownFields) == string(that.unknownFields)
+}
+
+func (this *Filter_DistanceResponse) EqualMessageVT(thatMsg proto.Message) bool {
+ that, ok := thatMsg.(*Filter_DistanceResponse)
+ if !ok {
+ return false
+ }
+ return this.EqualVT(that)
+}
+
+func (this *Filter_VectorRequest) EqualVT(that *Filter_VectorRequest) bool {
+ if this == that {
+ return true
+ } else if this == nil || that == nil {
+ return false
+ }
+ if !this.Vector.EqualVT(that.Vector) {
+ return false
+ }
+ if !this.Query.EqualVT(that.Query) {
+ return false
+ }
+ return string(this.unknownFields) == string(that.unknownFields)
+}
+
+func (this *Filter_VectorRequest) EqualMessageVT(thatMsg proto.Message) bool {
+ that, ok := thatMsg.(*Filter_VectorRequest)
+ if !ok {
+ return false
+ }
+ return this.EqualVT(that)
+}
+
+func (this *Filter_VectorResponse) EqualVT(that *Filter_VectorResponse) bool {
+ if this == that {
+ return true
+ } else if this == nil || that == nil {
+ return false
+ }
+ if !this.Vector.EqualVT(that.Vector) {
+ return false
+ }
+ return string(this.unknownFields) == string(that.unknownFields)
+}
+
+func (this *Filter_VectorResponse) EqualMessageVT(thatMsg proto.Message) bool {
+ that, ok := thatMsg.(*Filter_VectorResponse)
if !ok {
return false
}
@@ -2703,9 +2984,23 @@ func (this *Insert_Config) EqualVT(that *Insert_Config) bool {
if this.SkipStrictExistCheck != that.SkipStrictExistCheck {
return false
}
- if !this.Filters.EqualVT(that.Filters) {
+ if len(this.Filters) != len(that.Filters) {
return false
}
+ for i, vx := range this.Filters {
+ vy := that.Filters[i]
+ if p, q := vx, vy; p != q {
+ if p == nil {
+ p = &Filter_Config{}
+ }
+ if q == nil {
+ q = &Filter_Config{}
+ }
+ if !p.EqualVT(q) {
+ return false
+ }
+ }
+ }
if this.Timestamp != that.Timestamp {
return false
}
@@ -2889,9 +3184,23 @@ func (this *Update_Config) EqualVT(that *Update_Config) bool {
if this.SkipStrictExistCheck != that.SkipStrictExistCheck {
return false
}
- if !this.Filters.EqualVT(that.Filters) {
+ if len(this.Filters) != len(that.Filters) {
return false
}
+ for i, vx := range this.Filters {
+ vy := that.Filters[i]
+ if p, q := vx, vy; p != q {
+ if p == nil {
+ p = &Filter_Config{}
+ }
+ if q == nil {
+ q = &Filter_Config{}
+ }
+ if !p.EqualVT(q) {
+ return false
+ }
+ }
+ }
if this.Timestamp != that.Timestamp {
return false
}
@@ -3052,9 +3361,23 @@ func (this *Upsert_Config) EqualVT(that *Upsert_Config) bool {
if this.SkipStrictExistCheck != that.SkipStrictExistCheck {
return false
}
- if !this.Filters.EqualVT(that.Filters) {
+ if len(this.Filters) != len(that.Filters) {
return false
}
+ for i, vx := range this.Filters {
+ vy := that.Filters[i]
+ if p, q := vx, vy; p != q {
+ if p == nil {
+ p = &Filter_Config{}
+ }
+ if q == nil {
+ q = &Filter_Config{}
+ }
+ if !p.EqualVT(q) {
+ return false
+ }
+ }
+ }
if this.Timestamp != that.Timestamp {
return false
}
@@ -3286,10 +3609,24 @@ func (this *Object_VectorRequest) EqualVT(that *Object_VectorRequest) bool {
if !this.Id.EqualVT(that.Id) {
return false
}
- if !this.Filters.EqualVT(that.Filters) {
+ if len(this.Filters) != len(that.Filters) {
return false
}
- return string(this.unknownFields) == string(that.unknownFields)
+ for i, vx := range this.Filters {
+ vy := that.Filters[i]
+ if p, q := vx, vy; p != q {
+ if p == nil {
+ p = &Filter_Config{}
+ }
+ if q == nil {
+ q = &Filter_Config{}
+ }
+ if !p.EqualVT(q) {
+ return false
+ }
+ }
+ }
+ return string(this.unknownFields) == string(that.unknownFields)
}
func (this *Object_VectorRequest) EqualMessageVT(thatMsg proto.Message) bool {
@@ -5469,25 +5806,29 @@ func (m *Search_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x40
}
- if m.EgressFilters != nil {
- size, err := m.EgressFilters.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.EgressFilters) > 0 {
+ for iNdEx := len(m.EgressFilters) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.EgressFilters[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x3a
}
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x3a
}
- if m.IngressFilters != nil {
- size, err := m.IngressFilters.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.IngressFilters) > 0 {
+ for iNdEx := len(m.IngressFilters) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.IngressFilters[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
}
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x32
}
if m.Timeout != 0 {
i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timeout))
@@ -5790,7 +6131,7 @@ func (m *Filter_Target) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Filter_Config) MarshalVT() (dAtA []byte, err error) {
+func (m *Filter_Query) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -5803,12 +6144,12 @@ func (m *Filter_Config) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Filter_Config) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Filter_Query) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Filter_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Filter_Query) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -5820,22 +6161,17 @@ func (m *Filter_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Targets) > 0 {
- for iNdEx := len(m.Targets) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Targets[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
+ if len(m.Query) > 0 {
+ i -= len(m.Query)
+ copy(dAtA[i:], m.Query)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Query)))
+ i--
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Filter) MarshalVT() (dAtA []byte, err error) {
+func (m *Filter_Config) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -5848,12 +6184,12 @@ func (m *Filter) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Filter) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Filter_Config) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Filter) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Filter_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -5865,10 +6201,30 @@ func (m *Filter) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if m.Query != nil {
+ size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.Target != nil {
+ size, err := m.Target.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
return len(dAtA) - i, nil
}
-func (m *Insert_Request) MarshalVT() (dAtA []byte, err error) {
+func (m *Filter_DistanceRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -5881,12 +6237,12 @@ func (m *Insert_Request) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Insert_Request) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Filter_DistanceRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Insert_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Filter_DistanceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -5898,8 +6254,8 @@ func (m *Insert_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Config != nil {
- size, err := m.Config.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Query != nil {
+ size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -5908,20 +6264,22 @@ func (m *Insert_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
- if m.Vector != nil {
- size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.Distance) > 0 {
+ for iNdEx := len(m.Distance) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Distance[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
}
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Insert_MultiRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Filter_DistanceResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -5934,12 +6292,12 @@ func (m *Insert_MultiRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Insert_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Filter_DistanceResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Insert_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Filter_DistanceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -5951,9 +6309,9 @@ func (m *Insert_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Requests) > 0 {
- for iNdEx := len(m.Requests) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Requests[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if len(m.Distance) > 0 {
+ for iNdEx := len(m.Distance) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Distance[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -5966,7 +6324,7 @@ func (m *Insert_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Insert_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Filter_VectorRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -5979,12 +6337,12 @@ func (m *Insert_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Insert_ObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Filter_VectorRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Insert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Filter_VectorRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -5996,18 +6354,8 @@ func (m *Insert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Vectorizer != nil {
- size, err := m.Vectorizer.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x1a
- }
- if m.Config != nil {
- size, err := m.Config.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Query != nil {
+ size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -6016,8 +6364,8 @@ func (m *Insert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i--
dAtA[i] = 0x12
}
- if m.Object != nil {
- size, err := m.Object.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Vector != nil {
+ size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -6029,52 +6377,7 @@ func (m *Insert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
return len(dAtA) - i, nil
}
-func (m *Insert_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *Insert_MultiObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *Insert_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
- }
- if len(m.Requests) > 0 {
- for iNdEx := len(m.Requests) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Requests[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
- }
- return len(dAtA) - i, nil
-}
-
-func (m *Insert_Config) MarshalVT() (dAtA []byte, err error) {
+func (m *Filter_VectorResponse) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6087,12 +6390,12 @@ func (m *Insert_Config) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Insert_Config) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Filter_VectorResponse) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Insert_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Filter_VectorResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6104,35 +6407,20 @@ func (m *Insert_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Timestamp != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
- i--
- dAtA[i] = 0x18
- }
- if m.Filters != nil {
- size, err := m.Filters.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Vector != nil {
+ size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x12
- }
- if m.SkipStrictExistCheck {
- i--
- if m.SkipStrictExistCheck {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Insert) MarshalVT() (dAtA []byte, err error) {
+func (m *Filter) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6145,12 +6433,12 @@ func (m *Insert) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Insert) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Filter) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Insert) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Filter) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6165,7 +6453,7 @@ func (m *Insert) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Update_Request) MarshalVT() (dAtA []byte, err error) {
+func (m *Insert_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6178,12 +6466,12 @@ func (m *Update_Request) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Update_Request) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Insert_Request) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Update_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Insert_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6218,7 +6506,7 @@ func (m *Update_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Update_MultiRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Insert_MultiRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6231,12 +6519,12 @@ func (m *Update_MultiRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Update_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Insert_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Update_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Insert_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6263,7 +6551,7 @@ func (m *Update_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Update_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Insert_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6276,12 +6564,12 @@ func (m *Update_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Update_ObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Insert_ObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Update_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Insert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6326,7 +6614,7 @@ func (m *Update_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
return len(dAtA) - i, nil
}
-func (m *Update_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Insert_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6339,12 +6627,12 @@ func (m *Update_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Update_MultiObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Insert_MultiObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Update_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Insert_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6371,7 +6659,7 @@ func (m *Update_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, er
return len(dAtA) - i, nil
}
-func (m *Update_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Insert_Config) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6384,12 +6672,12 @@ func (m *Update_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Update_TimestampRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Insert_Config) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Update_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Insert_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6401,32 +6689,37 @@ func (m *Update_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Force {
+ if m.Timestamp != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
i--
- if m.Force {
+ dAtA[i] = 0x18
+ }
+ if len(m.Filters) > 0 {
+ for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Filters[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if m.SkipStrictExistCheck {
+ i--
+ if m.SkipStrictExistCheck {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
- dAtA[i] = 0x18
- }
- if m.Timestamp != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
- i--
- dAtA[i] = 0x10
- }
- if len(m.Id) > 0 {
- i -= len(m.Id)
- copy(dAtA[i:], m.Id)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
- i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *Update_Config) MarshalVT() (dAtA []byte, err error) {
+func (m *Insert) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6439,80 +6732,12 @@ func (m *Update_Config) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Update_Config) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *Update_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
- }
- if m.DisableBalancedUpdate {
- i--
- if m.DisableBalancedUpdate {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i--
- dAtA[i] = 0x20
- }
- if m.Timestamp != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
- i--
- dAtA[i] = 0x18
- }
- if m.Filters != nil {
- size, err := m.Filters.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
- if m.SkipStrictExistCheck {
- i--
- if m.SkipStrictExistCheck {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i--
- dAtA[i] = 0x8
- }
- return len(dAtA) - i, nil
-}
-
-func (m *Update) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *Update) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Insert) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Update) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Insert) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6527,7 +6752,7 @@ func (m *Update) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Upsert_Request) MarshalVT() (dAtA []byte, err error) {
+func (m *Update_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6540,12 +6765,12 @@ func (m *Upsert_Request) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Upsert_Request) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Update_Request) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Upsert_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Update_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6580,7 +6805,7 @@ func (m *Upsert_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Upsert_MultiRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Update_MultiRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6593,12 +6818,12 @@ func (m *Upsert_MultiRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Upsert_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Update_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Upsert_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Update_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6625,7 +6850,7 @@ func (m *Upsert_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Upsert_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Update_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6638,12 +6863,12 @@ func (m *Upsert_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Upsert_ObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Update_ObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Upsert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Update_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6688,7 +6913,7 @@ func (m *Upsert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
return len(dAtA) - i, nil
}
-func (m *Upsert_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Update_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6701,12 +6926,12 @@ func (m *Upsert_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Upsert_MultiObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Update_MultiObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Upsert_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Update_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6733,7 +6958,7 @@ func (m *Upsert_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, er
return len(dAtA) - i, nil
}
-func (m *Upsert_Config) MarshalVT() (dAtA []byte, err error) {
+func (m *Update_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6746,12 +6971,67 @@ func (m *Upsert_Config) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Upsert_Config) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Update_TimestampRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Upsert_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Update_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if m.Force {
+ i--
+ if m.Force {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.Timestamp != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
+ i--
+ dAtA[i] = 0x10
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Update_Config) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Update_Config) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Update_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6778,15 +7058,17 @@ func (m *Upsert_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x18
}
- if m.Filters != nil {
- size, err := m.Filters.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.Filters) > 0 {
+ for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Filters[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
}
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
}
if m.SkipStrictExistCheck {
i--
@@ -6801,7 +7083,7 @@ func (m *Upsert_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Upsert) MarshalVT() (dAtA []byte, err error) {
+func (m *Update) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6814,12 +7096,12 @@ func (m *Upsert) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Upsert) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Update) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Upsert) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Update) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6834,7 +7116,7 @@ func (m *Upsert) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Remove_Request) MarshalVT() (dAtA []byte, err error) {
+func (m *Upsert_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6847,12 +7129,12 @@ func (m *Remove_Request) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Remove_Request) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Upsert_Request) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Remove_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Upsert_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6874,8 +7156,8 @@ func (m *Remove_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x12
}
- if m.Id != nil {
- size, err := m.Id.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Vector != nil {
+ size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -6887,7 +7169,7 @@ func (m *Remove_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Remove_MultiRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Upsert_MultiRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6900,12 +7182,12 @@ func (m *Remove_MultiRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Remove_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Upsert_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Remove_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Upsert_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6932,7 +7214,7 @@ func (m *Remove_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Remove_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Upsert_ObjectRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6945,12 +7227,12 @@ func (m *Remove_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Remove_TimestampRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Upsert_ObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Remove_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Upsert_ObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -6962,22 +7244,40 @@ func (m *Remove_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Timestamps) > 0 {
- for iNdEx := len(m.Timestamps) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Timestamps[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
+ if m.Vectorizer != nil {
+ size, err := m.Vectorizer.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.Config != nil {
+ size, err := m.Config.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.Object != nil {
+ size, err := m.Object.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Remove_Timestamp) MarshalVT() (dAtA []byte, err error) {
+func (m *Upsert_MultiObjectRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -6990,12 +7290,12 @@ func (m *Remove_Timestamp) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Remove_Timestamp) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Upsert_MultiObjectRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Remove_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Upsert_MultiObjectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7007,20 +7307,22 @@ func (m *Remove_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Operator != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Operator))
- i--
- dAtA[i] = 0x10
- }
- if m.Timestamp != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
- i--
- dAtA[i] = 0x8
+ if len(m.Requests) > 0 {
+ for iNdEx := len(m.Requests) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Requests[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
}
return len(dAtA) - i, nil
}
-func (m *Remove_Config) MarshalVT() (dAtA []byte, err error) {
+func (m *Upsert_Config) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7033,12 +7335,12 @@ func (m *Remove_Config) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Remove_Config) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Upsert_Config) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Remove_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Upsert_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7050,11 +7352,33 @@ func (m *Remove_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if m.DisableBalancedUpdate {
+ i--
+ if m.DisableBalancedUpdate {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x20
+ }
if m.Timestamp != 0 {
i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
i--
dAtA[i] = 0x18
}
+ if len(m.Filters) > 0 {
+ for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Filters[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ }
if m.SkipStrictExistCheck {
i--
if m.SkipStrictExistCheck {
@@ -7068,7 +7392,7 @@ func (m *Remove_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Remove) MarshalVT() (dAtA []byte, err error) {
+func (m *Upsert) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7081,12 +7405,12 @@ func (m *Remove) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Remove) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Upsert) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Remove) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Upsert) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7101,7 +7425,7 @@ func (m *Remove) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Flush_Request) MarshalVT() (dAtA []byte, err error) {
+func (m *Remove_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7114,12 +7438,12 @@ func (m *Flush_Request) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Flush_Request) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Remove_Request) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Flush_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Remove_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7131,10 +7455,30 @@ func (m *Flush_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if m.Config != nil {
+ size, err := m.Config.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.Id != nil {
+ size, err := m.Id.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
return len(dAtA) - i, nil
}
-func (m *Flush) MarshalVT() (dAtA []byte, err error) {
+func (m *Remove_MultiRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7147,12 +7491,12 @@ func (m *Flush) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Flush) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Remove_MultiRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Flush) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Remove_MultiRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7164,10 +7508,22 @@ func (m *Flush) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if len(m.Requests) > 0 {
+ for iNdEx := len(m.Requests) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Requests[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
return len(dAtA) - i, nil
}
-func (m *Object_VectorRequest) MarshalVT() (dAtA []byte, err error) {
+func (m *Remove_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7180,12 +7536,12 @@ func (m *Object_VectorRequest) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_VectorRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Remove_TimestampRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_VectorRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Remove_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7197,30 +7553,22 @@ func (m *Object_VectorRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Filters != nil {
- size, err := m.Filters.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- }
- if m.Id != nil {
- size, err := m.Id.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.Timestamps) > 0 {
+ for iNdEx := len(m.Timestamps) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Timestamps[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
}
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Object_Distance) MarshalVT() (dAtA []byte, err error) {
+func (m *Remove_Timestamp) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7233,12 +7581,12 @@ func (m *Object_Distance) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_Distance) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Remove_Timestamp) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_Distance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Remove_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7250,23 +7598,20 @@ func (m *Object_Distance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Distance != 0 {
- i -= 4
- binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Distance))))
+ if m.Operator != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Operator))
i--
- dAtA[i] = 0x15
+ dAtA[i] = 0x10
}
- if len(m.Id) > 0 {
- i -= len(m.Id)
- copy(dAtA[i:], m.Id)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
+ if m.Timestamp != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *Object_StreamDistance) MarshalVT() (dAtA []byte, err error) {
+func (m *Remove_Config) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7279,12 +7624,12 @@ func (m *Object_StreamDistance) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_StreamDistance) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Remove_Config) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamDistance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Remove_Config) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7296,71 +7641,58 @@ func (m *Object_StreamDistance) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if vtmsg, ok := m.Payload.(interface {
- MarshalToSizedBufferVT([]byte) (int, error)
- }); ok {
- size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if m.Timestamp != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.SkipStrictExistCheck {
+ i--
+ if m.SkipStrictExistCheck {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
}
- i -= size
+ i--
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *Object_StreamDistance_Distance) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Remove) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *Object_StreamDistance_Distance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- i := len(dAtA)
- if m.Distance != nil {
- size, err := m.Distance.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- return len(dAtA) - i, nil
+ return dAtA[:n], nil
}
-func (m *Object_StreamDistance_Status) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Remove) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamDistance_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Remove) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
i := len(dAtA)
- if m.Status != nil {
- if vtmsg, ok := any(m.Status).(interface {
- MarshalToSizedBufferVT([]byte) (int, error)
- }); ok {
- size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- } else {
- encoded, err := proto.Marshal(m.Status)
- if err != nil {
- return 0, err
- }
- i -= len(encoded)
- copy(dAtA[i:], encoded)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(encoded)))
- }
- i--
- dAtA[i] = 0x12
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
return len(dAtA) - i, nil
}
-func (m *Object_ID) MarshalVT() (dAtA []byte, err error) {
+func (m *Flush_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7373,12 +7705,12 @@ func (m *Object_ID) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_ID) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Flush_Request) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_ID) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Flush_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7390,17 +7722,10 @@ func (m *Object_ID) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Id) > 0 {
- i -= len(m.Id)
- copy(dAtA[i:], m.Id)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
- i--
- dAtA[i] = 0xa
- }
return len(dAtA) - i, nil
}
-func (m *Object_IDs) MarshalVT() (dAtA []byte, err error) {
+func (m *Flush) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7413,12 +7738,12 @@ func (m *Object_IDs) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_IDs) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Flush) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_IDs) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Flush) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7430,19 +7755,10 @@ func (m *Object_IDs) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Ids) > 0 {
- for iNdEx := len(m.Ids) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Ids[iNdEx])
- copy(dAtA[i:], m.Ids[iNdEx])
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Ids[iNdEx])))
- i--
- dAtA[i] = 0xa
- }
- }
return len(dAtA) - i, nil
}
-func (m *Object_Vector) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_VectorRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7455,12 +7771,12 @@ func (m *Object_Vector) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_Vector) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_VectorRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_VectorRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7472,60 +7788,17 @@ func (m *Object_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Timestamp != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
- i--
- dAtA[i] = 0x18
- }
- if len(m.Vector) > 0 {
- for iNdEx := len(m.Vector) - 1; iNdEx >= 0; iNdEx-- {
- f1 := math.Float32bits(float32(m.Vector[iNdEx]))
- i -= 4
- binary.LittleEndian.PutUint32(dAtA[i:], uint32(f1))
+ if len(m.Filters) > 0 {
+ for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Filters[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x12
}
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Vector)*4))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Id) > 0 {
- i -= len(m.Id)
- copy(dAtA[i:], m.Id)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *Object_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *Object_TimestampRequest) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *Object_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
}
if m.Id != nil {
size, err := m.Id.MarshalToSizedBufferVT(dAtA[:i])
@@ -7540,7 +7813,7 @@ func (m *Object_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, erro
return len(dAtA) - i, nil
}
-func (m *Object_Timestamp) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_Distance) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7553,12 +7826,12 @@ func (m *Object_Timestamp) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_Timestamp) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_Distance) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_Distance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7570,10 +7843,11 @@ func (m *Object_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Timestamp != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
+ if m.Distance != 0 {
+ i -= 4
+ binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Distance))))
i--
- dAtA[i] = 0x10
+ dAtA[i] = 0x15
}
if len(m.Id) > 0 {
i -= len(m.Id)
@@ -7585,52 +7859,7 @@ func (m *Object_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Object_Vectors) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *Object_Vectors) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *Object_Vectors) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
- }
- if len(m.Vectors) > 0 {
- for iNdEx := len(m.Vectors) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Vectors[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
- }
- }
- return len(dAtA) - i, nil
-}
-
-func (m *Object_StreamVector) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_StreamDistance) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7643,12 +7872,12 @@ func (m *Object_StreamVector) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_StreamVector) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamDistance) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamVector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamDistance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7672,15 +7901,15 @@ func (m *Object_StreamVector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Object_StreamVector_Vector) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamDistance_Distance) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamVector_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamDistance_Distance) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
- if m.Vector != nil {
- size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Distance != nil {
+ size, err := m.Distance.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -7692,12 +7921,12 @@ func (m *Object_StreamVector_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, e
return len(dAtA) - i, nil
}
-func (m *Object_StreamVector_Status) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamDistance_Status) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamVector_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamDistance_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
if m.Status != nil {
if vtmsg, ok := any(m.Status).(interface {
@@ -7724,7 +7953,7 @@ func (m *Object_StreamVector_Status) MarshalToSizedBufferVT(dAtA []byte) (int, e
return len(dAtA) - i, nil
}
-func (m *Object_ReshapeVector) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_ID) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7737,12 +7966,12 @@ func (m *Object_ReshapeVector) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_ReshapeVector) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_ID) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_ReshapeVector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_ID) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7754,38 +7983,17 @@ func (m *Object_ReshapeVector) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Shape) > 0 {
- var pksize2 int
- for _, num := range m.Shape {
- pksize2 += protohelpers.SizeOfVarint(uint64(num))
- }
- i -= pksize2
- j1 := i
- for _, num1 := range m.Shape {
- num := uint64(num1)
- for num >= 1<<7 {
- dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j1++
- }
- dAtA[j1] = uint8(num)
- j1++
- }
- i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize2))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Object) > 0 {
- i -= len(m.Object)
- copy(dAtA[i:], m.Object)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Object)))
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Object_Blob) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_IDs) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7798,12 +8006,12 @@ func (m *Object_Blob) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_Blob) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_IDs) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_Blob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_IDs) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7815,24 +8023,19 @@ func (m *Object_Blob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Object) > 0 {
- i -= len(m.Object)
- copy(dAtA[i:], m.Object)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Object)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Id) > 0 {
- i -= len(m.Id)
- copy(dAtA[i:], m.Id)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
- i--
- dAtA[i] = 0xa
+ if len(m.Ids) > 0 {
+ for iNdEx := len(m.Ids) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Ids[iNdEx])
+ copy(dAtA[i:], m.Ids[iNdEx])
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Ids[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
}
return len(dAtA) - i, nil
}
-func (m *Object_StreamBlob) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_Vector) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7845,12 +8048,12 @@ func (m *Object_StreamBlob) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_StreamBlob) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_Vector) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamBlob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7862,27 +8065,63 @@ func (m *Object_StreamBlob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if vtmsg, ok := m.Payload.(interface {
- MarshalToSizedBufferVT([]byte) (int, error)
- }); ok {
- size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if m.Timestamp != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.Vector) > 0 {
+ for iNdEx := len(m.Vector) - 1; iNdEx >= 0; iNdEx-- {
+ f1 := math.Float32bits(float32(m.Vector[iNdEx]))
+ i -= 4
+ binary.LittleEndian.PutUint32(dAtA[i:], uint32(f1))
}
- i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Vector)*4))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Object_StreamBlob_Blob) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_TimestampRequest) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Object_TimestampRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamBlob_Blob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_TimestampRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
i := len(dAtA)
- if m.Blob != nil {
- size, err := m.Blob.MarshalToSizedBufferVT(dAtA[:i])
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if m.Id != nil {
+ size, err := m.Id.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -7894,39 +8133,52 @@ func (m *Object_StreamBlob_Blob) MarshalToSizedBufferVT(dAtA []byte) (int, error
return len(dAtA) - i, nil
}
-func (m *Object_StreamBlob_Status) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_Timestamp) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Object_Timestamp) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamBlob_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_Timestamp) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
i := len(dAtA)
- if m.Status != nil {
- if vtmsg, ok := any(m.Status).(interface {
- MarshalToSizedBufferVT([]byte) (int, error)
- }); ok {
- size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- } else {
- encoded, err := proto.Marshal(m.Status)
- if err != nil {
- return 0, err
- }
- i -= len(encoded)
- copy(dAtA[i:], encoded)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(encoded)))
- }
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if m.Timestamp != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Timestamp))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x10
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Object_Location) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_Vectors) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7939,12 +8191,12 @@ func (m *Object_Location) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_Location) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_Vectors) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_Location) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_Vectors) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -7956,33 +8208,22 @@ func (m *Object_Location) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Ips) > 0 {
- for iNdEx := len(m.Ips) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.Ips[iNdEx])
- copy(dAtA[i:], m.Ips[iNdEx])
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Ips[iNdEx])))
+ if len(m.Vectors) > 0 {
+ for iNdEx := len(m.Vectors) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Vectors[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x1a
+ dAtA[i] = 0xa
}
}
- if len(m.Uuid) > 0 {
- i -= len(m.Uuid)
- copy(dAtA[i:], m.Uuid)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Uuid)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
- i--
- dAtA[i] = 0xa
- }
return len(dAtA) - i, nil
}
-func (m *Object_StreamLocation) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_StreamVector) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -7995,12 +8236,12 @@ func (m *Object_StreamLocation) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_StreamLocation) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamVector) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamLocation) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamVector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8024,15 +8265,15 @@ func (m *Object_StreamLocation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
return len(dAtA) - i, nil
}
-func (m *Object_StreamLocation_Location) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamVector_Vector) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamLocation_Location) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamVector_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
- if m.Location != nil {
- size, err := m.Location.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Vector != nil {
+ size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -8044,12 +8285,12 @@ func (m *Object_StreamLocation_Location) MarshalToSizedBufferVT(dAtA []byte) (in
return len(dAtA) - i, nil
}
-func (m *Object_StreamLocation_Status) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamVector_Status) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_StreamLocation_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamVector_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
if m.Status != nil {
if vtmsg, ok := any(m.Status).(interface {
@@ -8076,7 +8317,7 @@ func (m *Object_StreamLocation_Status) MarshalToSizedBufferVT(dAtA []byte) (int,
return len(dAtA) - i, nil
}
-func (m *Object_Locations) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_ReshapeVector) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8089,12 +8330,12 @@ func (m *Object_Locations) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_Locations) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_ReshapeVector) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_Locations) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_ReshapeVector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8106,22 +8347,38 @@ func (m *Object_Locations) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Locations) > 0 {
- for iNdEx := len(m.Locations) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Locations[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.Shape) > 0 {
+ var pksize2 int
+ for _, num := range m.Shape {
+ pksize2 += protohelpers.SizeOfVarint(uint64(num))
+ }
+ i -= pksize2
+ j1 := i
+ for _, num1 := range m.Shape {
+ num := uint64(num1)
+ for num >= 1<<7 {
+ dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j1++
}
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0xa
+ dAtA[j1] = uint8(num)
+ j1++
}
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize2))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Object) > 0 {
+ i -= len(m.Object)
+ copy(dAtA[i:], m.Object)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Object)))
+ i--
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Object_List_Request) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_Blob) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8134,12 +8391,12 @@ func (m *Object_List_Request) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_List_Request) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_Blob) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_List_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_Blob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8151,10 +8408,24 @@ func (m *Object_List_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if len(m.Object) > 0 {
+ i -= len(m.Object)
+ copy(dAtA[i:], m.Object)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Object)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Id) > 0 {
+ i -= len(m.Id)
+ copy(dAtA[i:], m.Id)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id)))
+ i--
+ dAtA[i] = 0xa
+ }
return len(dAtA) - i, nil
}
-func (m *Object_List_Response) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_StreamBlob) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8167,12 +8438,12 @@ func (m *Object_List_Response) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_List_Response) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamBlob) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_List_Response) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamBlob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8196,15 +8467,15 @@ func (m *Object_List_Response) MarshalToSizedBufferVT(dAtA []byte) (int, error)
return len(dAtA) - i, nil
}
-func (m *Object_List_Response_Vector) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamBlob_Blob) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_List_Response_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamBlob_Blob) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
- if m.Vector != nil {
- size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
+ if m.Blob != nil {
+ size, err := m.Blob.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -8216,12 +8487,12 @@ func (m *Object_List_Response_Vector) MarshalToSizedBufferVT(dAtA []byte) (int,
return len(dAtA) - i, nil
}
-func (m *Object_List_Response_Status) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamBlob_Status) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_List_Response_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamBlob_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
if m.Status != nil {
if vtmsg, ok := any(m.Status).(interface {
@@ -8248,7 +8519,7 @@ func (m *Object_List_Response_Status) MarshalToSizedBufferVT(dAtA []byte) (int,
return len(dAtA) - i, nil
}
-func (m *Object_List) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_Location) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8261,12 +8532,12 @@ func (m *Object_List) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object_List) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_Location) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object_List) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_Location) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8278,10 +8549,33 @@ func (m *Object_List) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
+ if len(m.Ips) > 0 {
+ for iNdEx := len(m.Ips) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Ips[iNdEx])
+ copy(dAtA[i:], m.Ips[iNdEx])
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Ips[iNdEx])))
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Uuid) > 0 {
+ i -= len(m.Uuid)
+ copy(dAtA[i:], m.Uuid)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Uuid)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ }
return len(dAtA) - i, nil
}
-func (m *Object) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_StreamLocation) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8294,12 +8588,12 @@ func (m *Object) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Object) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamLocation) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Object) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_StreamLocation) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8311,81 +8605,71 @@ func (m *Object) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- return len(dAtA) - i, nil
-}
-
-func (m *Control_CreateIndexRequest) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ if vtmsg, ok := m.Payload.(interface {
+ MarshalToSizedBufferVT([]byte) (int, error)
+ }); ok {
+ size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
}
- return dAtA[:n], nil
+ return len(dAtA) - i, nil
}
-func (m *Control_CreateIndexRequest) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamLocation_Location) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Control_CreateIndexRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
+func (m *Object_StreamLocation_Location) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
- }
- if m.PoolSize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PoolSize))
+ if m.Location != nil {
+ size, err := m.Location.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Control) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *Control) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_StreamLocation_Status) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Control) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
+func (m *Object_StreamLocation_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if m.Status != nil {
+ if vtmsg, ok := any(m.Status).(interface {
+ MarshalToSizedBufferVT([]byte) (int, error)
+ }); ok {
+ size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ } else {
+ encoded, err := proto.Marshal(m.Status)
+ if err != nil {
+ return 0, err
+ }
+ i -= len(encoded)
+ copy(dAtA[i:], encoded)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(encoded)))
+ }
+ i--
+ dAtA[i] = 0x12
}
return len(dAtA) - i, nil
}
-func (m *Discoverer_Request) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_Locations) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8398,12 +8682,12 @@ func (m *Discoverer_Request) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Discoverer_Request) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_Locations) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Discoverer_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_Locations) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8415,31 +8699,22 @@ func (m *Discoverer_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Node) > 0 {
- i -= len(m.Node)
- copy(dAtA[i:], m.Node)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Node)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Namespace) > 0 {
- i -= len(m.Namespace)
- copy(dAtA[i:], m.Namespace)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Namespace)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
- i--
- dAtA[i] = 0xa
+ if len(m.Locations) > 0 {
+ for iNdEx := len(m.Locations) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Locations[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
}
return len(dAtA) - i, nil
}
-func (m *Discoverer) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_List_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8452,12 +8727,12 @@ func (m *Discoverer) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Discoverer) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_List_Request) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Discoverer) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_List_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8472,7 +8747,7 @@ func (m *Discoverer) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Info_Index_Count) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_List_Response) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8485,12 +8760,12 @@ func (m *Info_Index_Count) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_Count) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_List_Response) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_Count) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_List_Response) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8502,40 +8777,71 @@ func (m *Info_Index_Count) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Saving {
- i--
- if m.Saving {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
+ if vtmsg, ok := m.Payload.(interface {
+ MarshalToSizedBufferVT([]byte) (int, error)
+ }); ok {
+ size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
- i--
- dAtA[i] = 0x20
+ i -= size
}
- if m.Indexing {
- i--
- if m.Indexing {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
+ return len(dAtA) - i, nil
+}
+
+func (m *Object_List_Response_Vector) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Object_List_Response_Vector) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ if m.Vector != nil {
+ size, err := m.Vector.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x18
- }
- if m.Uncommitted != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Uncommitted))
- i--
- dAtA[i] = 0x10
+ dAtA[i] = 0xa
}
- if m.Stored != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Stored))
+ return len(dAtA) - i, nil
+}
+
+func (m *Object_List_Response_Status) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Object_List_Response_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ if m.Status != nil {
+ if vtmsg, ok := any(m.Status).(interface {
+ MarshalToSizedBufferVT([]byte) (int, error)
+ }); ok {
+ size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ } else {
+ encoded, err := proto.Marshal(m.Status)
+ if err != nil {
+ return 0, err
+ }
+ i -= len(encoded)
+ copy(dAtA[i:], encoded)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(encoded)))
+ }
i--
- dAtA[i] = 0x8
+ dAtA[i] = 0x12
}
return len(dAtA) - i, nil
}
-func (m *Info_Index_Detail) MarshalVT() (dAtA []byte, err error) {
+func (m *Object_List) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8548,12 +8854,12 @@ func (m *Info_Index_Detail) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_Detail) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object_List) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_Detail) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object_List) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8565,42 +8871,10 @@ func (m *Info_Index_Detail) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.LiveAgents != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.LiveAgents))
- i--
- dAtA[i] = 0x18
- }
- if m.Replica != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Replica))
- i--
- dAtA[i] = 0x10
- }
- if len(m.Counts) > 0 {
- for k := range m.Counts {
- v := m.Counts[k]
- baseI := i
- size, err := v.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = protohelpers.EncodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0xa
- }
- }
return len(dAtA) - i, nil
}
-func (m *Info_Index_UUID_Committed) MarshalVT() (dAtA []byte, err error) {
+func (m *Object) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8613,12 +8887,12 @@ func (m *Info_Index_UUID_Committed) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_UUID_Committed) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Object) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_UUID_Committed) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Object) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8630,17 +8904,10 @@ func (m *Info_Index_UUID_Committed) MarshalToSizedBufferVT(dAtA []byte) (int, er
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Uuid) > 0 {
- i -= len(m.Uuid)
- copy(dAtA[i:], m.Uuid)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Uuid)))
- i--
- dAtA[i] = 0xa
- }
return len(dAtA) - i, nil
}
-func (m *Info_Index_UUID_Uncommitted) MarshalVT() (dAtA []byte, err error) {
+func (m *Control_CreateIndexRequest) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8653,12 +8920,12 @@ func (m *Info_Index_UUID_Uncommitted) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_UUID_Uncommitted) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Control_CreateIndexRequest) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_UUID_Uncommitted) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Control_CreateIndexRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8670,17 +8937,15 @@ func (m *Info_Index_UUID_Uncommitted) MarshalToSizedBufferVT(dAtA []byte) (int,
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Uuid) > 0 {
- i -= len(m.Uuid)
- copy(dAtA[i:], m.Uuid)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Uuid)))
+ if m.PoolSize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PoolSize))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *Info_Index_UUID) MarshalVT() (dAtA []byte, err error) {
+func (m *Control) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8693,12 +8958,12 @@ func (m *Info_Index_UUID) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_UUID) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Control) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_UUID) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Control) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8713,7 +8978,7 @@ func (m *Info_Index_UUID) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Info_Index_Statistics) MarshalVT() (dAtA []byte, err error) {
+func (m *Discoverer_Request) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -8726,12 +8991,12 @@ func (m *Info_Index_Statistics) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_Statistics) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Discoverer_Request) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_Statistics) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Discoverer_Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -8743,274 +9008,129 @@ func (m *Info_Index_Statistics) MarshalToSizedBufferVT(dAtA []byte) (int, error)
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.IndegreeHistogram) > 0 {
- var pksize2 int
- for _, num := range m.IndegreeHistogram {
- pksize2 += protohelpers.SizeOfVarint(uint64(num))
- }
- i -= pksize2
- j1 := i
- for _, num := range m.IndegreeHistogram {
- for num >= 1<<7 {
- dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j1++
- }
- dAtA[j1] = uint8(num)
- j1++
- }
- i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize2))
- i--
- dAtA[i] = 0x2
+ if len(m.Node) > 0 {
+ i -= len(m.Node)
+ copy(dAtA[i:], m.Node)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Node)))
i--
- dAtA[i] = 0x8a
+ dAtA[i] = 0x1a
}
- if len(m.OutdegreeHistogram) > 0 {
- var pksize4 int
- for _, num := range m.OutdegreeHistogram {
- pksize4 += protohelpers.SizeOfVarint(uint64(num))
- }
- i -= pksize4
- j3 := i
- for _, num := range m.OutdegreeHistogram {
- for num >= 1<<7 {
- dAtA[j3] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j3++
- }
- dAtA[j3] = uint8(num)
- j3++
- }
- i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize4))
- i--
- dAtA[i] = 0x2
+ if len(m.Namespace) > 0 {
+ i -= len(m.Namespace)
+ copy(dAtA[i:], m.Namespace)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Namespace)))
i--
- dAtA[i] = 0x82
+ dAtA[i] = 0x12
}
- if len(m.IndegreeCount) > 0 {
- var pksize6 int
- for _, num := range m.IndegreeCount {
- pksize6 += protohelpers.SizeOfVarint(uint64(num))
- }
- i -= pksize6
- j5 := i
- for _, num1 := range m.IndegreeCount {
- num := uint64(num1)
- for num >= 1<<7 {
- dAtA[j5] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j5++
- }
- dAtA[j5] = uint8(num)
- j5++
- }
- i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize6))
- i--
- dAtA[i] = 0x1
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
i--
- dAtA[i] = 0xfa
+ dAtA[i] = 0xa
}
- if m.C99Outdegree != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C99Outdegree))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xf1
+ return len(dAtA) - i, nil
+}
+
+func (m *Discoverer) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.C95Outdegree != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C95Outdegree))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xe9
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if m.C5Indegree != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C5Indegree))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xe1
+ return dAtA[:n], nil
+}
+
+func (m *Discoverer) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Discoverer) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if m.C1Indegree != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C1Indegree))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xd9
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.MeanNumberOfEdgesPerNode != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanNumberOfEdgesPerNode))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xd1
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Index_Count) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.MeanIndegreeDistanceFor10Edges != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanIndegreeDistanceFor10Edges))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xc9
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if m.MeanEdgeLengthFor10Edges != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanEdgeLengthFor10Edges))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xc1
+ return dAtA[:n], nil
+}
+
+func (m *Info_Index_Count) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_Index_Count) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if m.MeanEdgeLength != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanEdgeLength))))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xb9
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.VarianceOfOutdegree != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.VarianceOfOutdegree))))
+ if m.Saving {
i--
- dAtA[i] = 0x1
+ if m.Saving {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
i--
- dAtA[i] = 0xb1
+ dAtA[i] = 0x20
}
- if m.VarianceOfIndegree != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.VarianceOfIndegree))))
+ if m.Indexing {
i--
- dAtA[i] = 0x1
+ if m.Indexing {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
i--
- dAtA[i] = 0xa9
+ dAtA[i] = 0x18
}
- if m.SizeOfRefinementObjectRepository != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SizeOfRefinementObjectRepository))
- i--
- dAtA[i] = 0x1
+ if m.Uncommitted != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Uncommitted))
i--
- dAtA[i] = 0xa0
+ dAtA[i] = 0x10
}
- if m.SizeOfObjectRepository != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SizeOfObjectRepository))
- i--
- dAtA[i] = 0x1
+ if m.Stored != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Stored))
i--
- dAtA[i] = 0x98
+ dAtA[i] = 0x8
}
- if m.NumberOfRemovedObjects != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfRemovedObjects))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0x90
- }
- if m.NumberOfObjects != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfObjects))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0x88
- }
- if m.NumberOfNodesWithoutIndegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfNodesWithoutIndegree))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0x80
- }
- if m.NumberOfNodesWithoutEdges != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfNodesWithoutEdges))
- i--
- dAtA[i] = 0x78
- }
- if m.NumberOfNodes != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfNodes))
- i--
- dAtA[i] = 0x70
- }
- if m.NumberOfIndexedObjects != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfIndexedObjects))
- i--
- dAtA[i] = 0x68
- }
- if m.NumberOfEdges != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfEdges))
- i--
- dAtA[i] = 0x60
- }
- if m.NodesSkippedForIndegreeDistance != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NodesSkippedForIndegreeDistance))
- i--
- dAtA[i] = 0x58
- }
- if m.NodesSkippedFor10Edges != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NodesSkippedFor10Edges))
- i--
- dAtA[i] = 0x50
- }
- if m.ModeOutdegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ModeOutdegree))
- i--
- dAtA[i] = 0x48
- }
- if m.ModeIndegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ModeIndegree))
- i--
- dAtA[i] = 0x40
- }
- if m.MinNumberOfOutdegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MinNumberOfOutdegree))
- i--
- dAtA[i] = 0x38
- }
- if m.MinNumberOfIndegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MinNumberOfIndegree))
- i--
- dAtA[i] = 0x30
- }
- if m.MaxNumberOfOutdegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MaxNumberOfOutdegree))
- i--
- dAtA[i] = 0x28
- }
- if m.MaxNumberOfIndegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MaxNumberOfIndegree))
- i--
- dAtA[i] = 0x20
- }
- if m.MedianOutdegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MedianOutdegree))
- i--
- dAtA[i] = 0x18
- }
- if m.MedianIndegree != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MedianIndegree))
- i--
- dAtA[i] = 0x10
- }
- if m.Valid {
- i--
- if m.Valid {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i--
- dAtA[i] = 0x8
- }
- return len(dAtA) - i, nil
-}
-
-func (m *Info_Index_StatisticsDetail) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Index_Detail) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
size := m.SizeVT()
dAtA = make([]byte, size)
@@ -9021,12 +9141,12 @@ func (m *Info_Index_StatisticsDetail) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_StatisticsDetail) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Index_Detail) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_StatisticsDetail) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Index_Detail) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9038,9 +9158,19 @@ func (m *Info_Index_StatisticsDetail) MarshalToSizedBufferVT(dAtA []byte) (int,
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Details) > 0 {
- for k := range m.Details {
- v := m.Details[k]
+ if m.LiveAgents != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.LiveAgents))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.Replica != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Replica))
+ i--
+ dAtA[i] = 0x10
+ }
+ if len(m.Counts) > 0 {
+ for k := range m.Counts {
+ v := m.Counts[k]
baseI := i
size, err := v.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
@@ -9063,7 +9193,7 @@ func (m *Info_Index_StatisticsDetail) MarshalToSizedBufferVT(dAtA []byte) (int,
return len(dAtA) - i, nil
}
-func (m *Info_Index_Property) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Index_UUID_Committed) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9076,12 +9206,12 @@ func (m *Info_Index_Property) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_Property) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Index_UUID_Committed) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_Property) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Index_UUID_Committed) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9093,242 +9223,385 @@ func (m *Info_Index_Property) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.IncomingEdge != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.IncomingEdge))
- i--
- dAtA[i] = 0x2
+ if len(m.Uuid) > 0 {
+ i -= len(m.Uuid)
+ copy(dAtA[i:], m.Uuid)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Uuid)))
i--
- dAtA[i] = 0x90
+ dAtA[i] = 0xa
}
- if m.OutgoingEdge != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.OutgoingEdge))
- i--
- dAtA[i] = 0x2
- i--
- dAtA[i] = 0x88
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Index_UUID_Uncommitted) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.BuildTimeLimit != 0 {
- i -= 4
- binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BuildTimeLimit))))
- i--
- dAtA[i] = 0x2
- i--
- dAtA[i] = 0x85
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if m.DynamicEdgeSizeRate != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.DynamicEdgeSizeRate))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xf8
+ return dAtA[:n], nil
+}
+
+func (m *Info_Index_UUID_Uncommitted) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_Index_UUID_Uncommitted) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if m.DynamicEdgeSizeBase != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.DynamicEdgeSizeBase))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xf0
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if len(m.GraphType) > 0 {
- i -= len(m.GraphType)
- copy(dAtA[i:], m.GraphType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.GraphType)))
- i--
- dAtA[i] = 0x1
+ if len(m.Uuid) > 0 {
+ i -= len(m.Uuid)
+ copy(dAtA[i:], m.Uuid)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Uuid)))
i--
- dAtA[i] = 0xea
+ dAtA[i] = 0xa
}
- if m.BatchSizeForCreation != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.BatchSizeForCreation))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xe0
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Index_UUID) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
}
- if m.TruncationThreadPoolSize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.TruncationThreadPoolSize))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xd8
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.SeedType) > 0 {
- i -= len(m.SeedType)
- copy(dAtA[i:], m.SeedType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.SeedType)))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xd2
+ return dAtA[:n], nil
+}
+
+func (m *Info_Index_UUID) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_Index_UUID) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
}
- if m.SeedSize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SeedSize))
- i--
- dAtA[i] = 0x1
- i--
- dAtA[i] = 0xc8
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
}
- if m.InsertionRadiusCoefficient != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.InsertionRadiusCoefficient))))
- i--
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Index_Statistics) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Info_Index_Statistics) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_Index_Statistics) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if len(m.IndegreeHistogram) > 0 {
+ var pksize2 int
+ for _, num := range m.IndegreeHistogram {
+ pksize2 += protohelpers.SizeOfVarint(uint64(num))
+ }
+ i -= pksize2
+ j1 := i
+ for _, num := range m.IndegreeHistogram {
+ for num >= 1<<7 {
+ dAtA[j1] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j1++
+ }
+ dAtA[j1] = uint8(num)
+ j1++
+ }
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize2))
+ i--
+ dAtA[i] = 0x2
+ i--
+ dAtA[i] = 0x8a
+ }
+ if len(m.OutdegreeHistogram) > 0 {
+ var pksize4 int
+ for _, num := range m.OutdegreeHistogram {
+ pksize4 += protohelpers.SizeOfVarint(uint64(num))
+ }
+ i -= pksize4
+ j3 := i
+ for _, num := range m.OutdegreeHistogram {
+ for num >= 1<<7 {
+ dAtA[j3] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j3++
+ }
+ dAtA[j3] = uint8(num)
+ j3++
+ }
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize4))
+ i--
+ dAtA[i] = 0x2
+ i--
+ dAtA[i] = 0x82
+ }
+ if len(m.IndegreeCount) > 0 {
+ var pksize6 int
+ for _, num := range m.IndegreeCount {
+ pksize6 += protohelpers.SizeOfVarint(uint64(num))
+ }
+ i -= pksize6
+ j5 := i
+ for _, num1 := range m.IndegreeCount {
+ num := uint64(num1)
+ for num >= 1<<7 {
+ dAtA[j5] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j5++
+ }
+ dAtA[j5] = uint8(num)
+ j5++
+ }
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(pksize6))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xfa
+ }
+ if m.C99Outdegree != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C99Outdegree))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xf1
+ }
+ if m.C95Outdegree != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C95Outdegree))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xe9
+ }
+ if m.C5Indegree != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C5Indegree))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xe1
+ }
+ if m.C1Indegree != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.C1Indegree))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xd9
+ }
+ if m.MeanNumberOfEdgesPerNode != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanNumberOfEdgesPerNode))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xd1
+ }
+ if m.MeanIndegreeDistanceFor10Edges != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanIndegreeDistanceFor10Edges))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xc9
+ }
+ if m.MeanEdgeLengthFor10Edges != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanEdgeLengthFor10Edges))))
+ i--
dAtA[i] = 0x1
i--
dAtA[i] = 0xc1
}
- if m.EdgeSizeLimitForCreation != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.EdgeSizeLimitForCreation))
+ if m.MeanEdgeLength != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MeanEdgeLength))))
i--
dAtA[i] = 0x1
i--
- dAtA[i] = 0xb8
+ dAtA[i] = 0xb9
}
- if m.EdgeSizeForSearch != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.EdgeSizeForSearch))
+ if m.VarianceOfOutdegree != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.VarianceOfOutdegree))))
i--
dAtA[i] = 0x1
i--
- dAtA[i] = 0xb0
+ dAtA[i] = 0xb1
}
- if m.EdgeSizeForCreation != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.EdgeSizeForCreation))
+ if m.VarianceOfIndegree != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.VarianceOfIndegree))))
i--
dAtA[i] = 0x1
i--
- dAtA[i] = 0xa8
+ dAtA[i] = 0xa9
}
- if m.TruncationThreshold != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.TruncationThreshold))
+ if m.SizeOfRefinementObjectRepository != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SizeOfRefinementObjectRepository))
i--
dAtA[i] = 0x1
i--
dAtA[i] = 0xa0
}
- if len(m.RefinementObjectType) > 0 {
- i -= len(m.RefinementObjectType)
- copy(dAtA[i:], m.RefinementObjectType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.RefinementObjectType)))
+ if m.SizeOfObjectRepository != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SizeOfObjectRepository))
i--
dAtA[i] = 0x1
i--
- dAtA[i] = 0x9a
+ dAtA[i] = 0x98
}
- if m.EpsilonForInsertionOrder != 0 {
- i -= 4
- binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.EpsilonForInsertionOrder))))
+ if m.NumberOfRemovedObjects != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfRemovedObjects))
i--
dAtA[i] = 0x1
i--
- dAtA[i] = 0x95
+ dAtA[i] = 0x90
}
- if m.NOfNeighborsForInsertionOrder != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NOfNeighborsForInsertionOrder))
+ if m.NumberOfObjects != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfObjects))
i--
dAtA[i] = 0x1
i--
dAtA[i] = 0x88
}
- if m.MaxMagnitude != 0 {
- i -= 4
- binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.MaxMagnitude))))
+ if m.NumberOfNodesWithoutIndegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfNodesWithoutIndegree))
i--
dAtA[i] = 0x1
i--
- dAtA[i] = 0x85
+ dAtA[i] = 0x80
}
- if len(m.SearchType) > 0 {
- i -= len(m.SearchType)
- copy(dAtA[i:], m.SearchType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.SearchType)))
+ if m.NumberOfNodesWithoutEdges != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfNodesWithoutEdges))
i--
- dAtA[i] = 0x7a
+ dAtA[i] = 0x78
}
- if len(m.AccuracyTable) > 0 {
- i -= len(m.AccuracyTable)
- copy(dAtA[i:], m.AccuracyTable)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AccuracyTable)))
+ if m.NumberOfNodes != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfNodes))
i--
- dAtA[i] = 0x72
+ dAtA[i] = 0x70
}
- if m.PrefetchSize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PrefetchSize))
+ if m.NumberOfIndexedObjects != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfIndexedObjects))
i--
dAtA[i] = 0x68
}
- if m.PrefetchOffset != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PrefetchOffset))
+ if m.NumberOfEdges != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NumberOfEdges))
i--
dAtA[i] = 0x60
}
- if m.ObjectSharedMemorySize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ObjectSharedMemorySize))
+ if m.NodesSkippedForIndegreeDistance != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NodesSkippedForIndegreeDistance))
i--
dAtA[i] = 0x58
}
- if m.TreeSharedMemorySize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.TreeSharedMemorySize))
+ if m.NodesSkippedFor10Edges != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NodesSkippedFor10Edges))
i--
dAtA[i] = 0x50
}
- if m.GraphSharedMemorySize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.GraphSharedMemorySize))
+ if m.ModeOutdegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ModeOutdegree))
i--
dAtA[i] = 0x48
}
- if m.PathAdjustmentInterval != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PathAdjustmentInterval))
+ if m.ModeIndegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ModeIndegree))
i--
dAtA[i] = 0x40
}
- if len(m.ObjectAlignment) > 0 {
- i -= len(m.ObjectAlignment)
- copy(dAtA[i:], m.ObjectAlignment)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ObjectAlignment)))
+ if m.MinNumberOfOutdegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MinNumberOfOutdegree))
i--
- dAtA[i] = 0x3a
+ dAtA[i] = 0x38
}
- if len(m.DatabaseType) > 0 {
- i -= len(m.DatabaseType)
- copy(dAtA[i:], m.DatabaseType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.DatabaseType)))
- i--
- dAtA[i] = 0x32
+ if m.MinNumberOfIndegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MinNumberOfIndegree))
+ i--
+ dAtA[i] = 0x30
}
- if len(m.IndexType) > 0 {
- i -= len(m.IndexType)
- copy(dAtA[i:], m.IndexType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.IndexType)))
+ if m.MaxNumberOfOutdegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MaxNumberOfOutdegree))
i--
- dAtA[i] = 0x2a
+ dAtA[i] = 0x28
}
- if len(m.DistanceType) > 0 {
- i -= len(m.DistanceType)
- copy(dAtA[i:], m.DistanceType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.DistanceType)))
+ if m.MaxNumberOfIndegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MaxNumberOfIndegree))
i--
- dAtA[i] = 0x22
+ dAtA[i] = 0x20
}
- if len(m.ObjectType) > 0 {
- i -= len(m.ObjectType)
- copy(dAtA[i:], m.ObjectType)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ObjectType)))
+ if m.MedianOutdegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MedianOutdegree))
i--
- dAtA[i] = 0x1a
+ dAtA[i] = 0x18
}
- if m.ThreadPoolSize != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ThreadPoolSize))
+ if m.MedianIndegree != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MedianIndegree))
i--
dAtA[i] = 0x10
}
- if m.Dimension != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Dimension))
+ if m.Valid {
+ i--
+ if m.Valid {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *Info_Index_PropertyDetail) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Index_StatisticsDetail) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9341,12 +9614,12 @@ func (m *Info_Index_PropertyDetail) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index_PropertyDetail) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Index_StatisticsDetail) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index_PropertyDetail) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Index_StatisticsDetail) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9383,7 +9656,7 @@ func (m *Info_Index_PropertyDetail) MarshalToSizedBufferVT(dAtA []byte) (int, er
return len(dAtA) - i, nil
}
-func (m *Info_Index) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Index_Property) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9396,12 +9669,12 @@ func (m *Info_Index) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Index) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Index_Property) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Index) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Index_Property) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9413,185 +9686,242 @@ func (m *Info_Index) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- return len(dAtA) - i, nil
-}
-
-func (m *Info_Pod) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
- }
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *Info_Pod) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *Info_Pod) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
- }
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if m.IncomingEdge != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.IncomingEdge))
+ i--
+ dAtA[i] = 0x2
+ i--
+ dAtA[i] = 0x90
}
- if m.Node != nil {
- size, err := m.Node.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ if m.OutgoingEdge != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.OutgoingEdge))
i--
- dAtA[i] = 0x3a
+ dAtA[i] = 0x2
+ i--
+ dAtA[i] = 0x88
}
- if m.Memory != nil {
- size, err := m.Memory.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ if m.BuildTimeLimit != 0 {
+ i -= 4
+ binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BuildTimeLimit))))
i--
- dAtA[i] = 0x32
+ dAtA[i] = 0x2
+ i--
+ dAtA[i] = 0x85
}
- if m.Cpu != nil {
- size, err := m.Cpu.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ if m.DynamicEdgeSizeRate != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.DynamicEdgeSizeRate))
i--
- dAtA[i] = 0x2a
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xf8
}
- if len(m.Ip) > 0 {
- i -= len(m.Ip)
- copy(dAtA[i:], m.Ip)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Ip)))
+ if m.DynamicEdgeSizeBase != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.DynamicEdgeSizeBase))
i--
- dAtA[i] = 0x22
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xf0
}
- if len(m.Namespace) > 0 {
- i -= len(m.Namespace)
- copy(dAtA[i:], m.Namespace)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Namespace)))
+ if len(m.GraphType) > 0 {
+ i -= len(m.GraphType)
+ copy(dAtA[i:], m.GraphType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.GraphType)))
i--
- dAtA[i] = 0x1a
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xea
}
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
+ if m.BatchSizeForCreation != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.BatchSizeForCreation))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xe0
}
- if len(m.AppName) > 0 {
- i -= len(m.AppName)
- copy(dAtA[i:], m.AppName)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AppName)))
+ if m.TruncationThreadPoolSize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.TruncationThreadPoolSize))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xd8
}
- return len(dAtA) - i, nil
-}
-
-func (m *Info_Node) MarshalVT() (dAtA []byte, err error) {
- if m == nil {
- return nil, nil
+ if len(m.SeedType) > 0 {
+ i -= len(m.SeedType)
+ copy(dAtA[i:], m.SeedType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.SeedType)))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xd2
}
- size := m.SizeVT()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBufferVT(dAtA[:size])
- if err != nil {
- return nil, err
+ if m.SeedSize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SeedSize))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xc8
}
- return dAtA[:n], nil
-}
-
-func (m *Info_Node) MarshalToVT(dAtA []byte) (int, error) {
- size := m.SizeVT()
- return m.MarshalToSizedBufferVT(dAtA[:size])
-}
-
-func (m *Info_Node) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
- if m == nil {
- return 0, nil
+ if m.InsertionRadiusCoefficient != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.InsertionRadiusCoefficient))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xc1
}
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.unknownFields != nil {
- i -= len(m.unknownFields)
- copy(dAtA[i:], m.unknownFields)
+ if m.EdgeSizeLimitForCreation != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.EdgeSizeLimitForCreation))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xb8
}
- if m.Pods != nil {
- size, err := m.Pods.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ if m.EdgeSizeForSearch != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.EdgeSizeForSearch))
i--
- dAtA[i] = 0x32
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xb0
}
- if m.Memory != nil {
- size, err := m.Memory.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ if m.EdgeSizeForCreation != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.EdgeSizeForCreation))
i--
- dAtA[i] = 0x2a
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xa8
}
- if m.Cpu != nil {
- size, err := m.Cpu.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ if m.TruncationThreshold != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.TruncationThreshold))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xa0
+ }
+ if len(m.RefinementObjectType) > 0 {
+ i -= len(m.RefinementObjectType)
+ copy(dAtA[i:], m.RefinementObjectType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.RefinementObjectType)))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x9a
+ }
+ if m.EpsilonForInsertionOrder != 0 {
+ i -= 4
+ binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.EpsilonForInsertionOrder))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x95
+ }
+ if m.NOfNeighborsForInsertionOrder != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.NOfNeighborsForInsertionOrder))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x88
+ }
+ if m.MaxMagnitude != 0 {
+ i -= 4
+ binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.MaxMagnitude))))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x85
+ }
+ if len(m.SearchType) > 0 {
+ i -= len(m.SearchType)
+ copy(dAtA[i:], m.SearchType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.SearchType)))
+ i--
+ dAtA[i] = 0x7a
+ }
+ if len(m.AccuracyTable) > 0 {
+ i -= len(m.AccuracyTable)
+ copy(dAtA[i:], m.AccuracyTable)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AccuracyTable)))
+ i--
+ dAtA[i] = 0x72
+ }
+ if m.PrefetchSize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PrefetchSize))
+ i--
+ dAtA[i] = 0x68
+ }
+ if m.PrefetchOffset != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PrefetchOffset))
+ i--
+ dAtA[i] = 0x60
+ }
+ if m.ObjectSharedMemorySize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ObjectSharedMemorySize))
+ i--
+ dAtA[i] = 0x58
+ }
+ if m.TreeSharedMemorySize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.TreeSharedMemorySize))
+ i--
+ dAtA[i] = 0x50
+ }
+ if m.GraphSharedMemorySize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.GraphSharedMemorySize))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.PathAdjustmentInterval != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.PathAdjustmentInterval))
+ i--
+ dAtA[i] = 0x40
+ }
+ if len(m.ObjectAlignment) > 0 {
+ i -= len(m.ObjectAlignment)
+ copy(dAtA[i:], m.ObjectAlignment)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ObjectAlignment)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.DatabaseType) > 0 {
+ i -= len(m.DatabaseType)
+ copy(dAtA[i:], m.DatabaseType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.DatabaseType)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.IndexType) > 0 {
+ i -= len(m.IndexType)
+ copy(dAtA[i:], m.IndexType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.IndexType)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.DistanceType) > 0 {
+ i -= len(m.DistanceType)
+ copy(dAtA[i:], m.DistanceType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.DistanceType)))
i--
dAtA[i] = 0x22
}
- if len(m.ExternalAddr) > 0 {
- i -= len(m.ExternalAddr)
- copy(dAtA[i:], m.ExternalAddr)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ExternalAddr)))
+ if len(m.ObjectType) > 0 {
+ i -= len(m.ObjectType)
+ copy(dAtA[i:], m.ObjectType)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ObjectType)))
i--
dAtA[i] = 0x1a
}
- if len(m.InternalAddr) > 0 {
- i -= len(m.InternalAddr)
- copy(dAtA[i:], m.InternalAddr)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.InternalAddr)))
+ if m.ThreadPoolSize != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ThreadPoolSize))
i--
- dAtA[i] = 0x12
+ dAtA[i] = 0x10
}
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
+ if m.Dimension != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Dimension))
i--
- dAtA[i] = 0xa
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
-func (m *Info_Service) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Index_PropertyDetail) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9604,12 +9934,12 @@ func (m *Info_Service) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Service) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Index_PropertyDetail) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Service) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Index_PropertyDetail) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9621,65 +9951,32 @@ func (m *Info_Service) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Annotations != nil {
- size, err := m.Annotations.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x32
- }
- if m.Labels != nil {
- size, err := m.Labels.MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
- i--
- dAtA[i] = 0x2a
- }
- if len(m.Ports) > 0 {
- for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Ports[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if len(m.Details) > 0 {
+ for k := range m.Details {
+ v := m.Details[k]
+ baseI := i
+ size, err := v.MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x22
- }
- }
- if len(m.ClusterIps) > 0 {
- for iNdEx := len(m.ClusterIps) - 1; iNdEx >= 0; iNdEx-- {
- i -= len(m.ClusterIps[iNdEx])
- copy(dAtA[i:], m.ClusterIps[iNdEx])
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ClusterIps[iNdEx])))
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(k)))
i--
- dAtA[i] = 0x1a
+ dAtA[i] = 0xa
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0xa
}
}
- if len(m.ClusterIp) > 0 {
- i -= len(m.ClusterIp)
- copy(dAtA[i:], m.ClusterIp)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ClusterIp)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
- i--
- dAtA[i] = 0xa
- }
return len(dAtA) - i, nil
}
-func (m *Info_ServicePort) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Index) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9692,12 +9989,12 @@ func (m *Info_ServicePort) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_ServicePort) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Index) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_ServicePort) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Index) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9709,22 +10006,10 @@ func (m *Info_ServicePort) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Port != 0 {
- i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Port))
- i--
- dAtA[i] = 0x10
- }
- if len(m.Name) > 0 {
- i -= len(m.Name)
- copy(dAtA[i:], m.Name)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
- i--
- dAtA[i] = 0xa
- }
return len(dAtA) - i, nil
}
-func (m *Info_Labels) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Pod) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9737,12 +10022,12 @@ func (m *Info_Labels) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Labels) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Pod) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Labels) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Pod) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9754,29 +10039,68 @@ func (m *Info_Labels) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Labels) > 0 {
- for k := range m.Labels {
- v := m.Labels[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = protohelpers.EncodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0xa
+ if m.Node != nil {
+ size, err := m.Node.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x3a
}
- return len(dAtA) - i, nil
-}
-
-func (m *Info_Annotations) MarshalVT() (dAtA []byte, err error) {
+ if m.Memory != nil {
+ size, err := m.Memory.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.Cpu != nil {
+ size, err := m.Cpu.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.Ip) > 0 {
+ i -= len(m.Ip)
+ copy(dAtA[i:], m.Ip)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Ip)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Namespace) > 0 {
+ i -= len(m.Namespace)
+ copy(dAtA[i:], m.Namespace)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Namespace)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.AppName) > 0 {
+ i -= len(m.AppName)
+ copy(dAtA[i:], m.AppName)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AppName)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Node) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9789,12 +10113,12 @@ func (m *Info_Annotations) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Annotations) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Node) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Annotations) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Node) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9806,29 +10130,61 @@ func (m *Info_Annotations) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Annotations) > 0 {
- for k := range m.Annotations {
- v := m.Annotations[k]
- baseI := i
- i -= len(v)
- copy(dAtA[i:], v)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(v)))
- i--
- dAtA[i] = 0x12
- i -= len(k)
- copy(dAtA[i:], k)
- i = protohelpers.EncodeVarint(dAtA, i, uint64(len(k)))
- i--
- dAtA[i] = 0xa
- i = protohelpers.EncodeVarint(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0xa
+ if m.Pods != nil {
+ size, err := m.Pods.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.Memory != nil {
+ size, err := m.Memory.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.Cpu != nil {
+ size, err := m.Cpu.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
}
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.ExternalAddr) > 0 {
+ i -= len(m.ExternalAddr)
+ copy(dAtA[i:], m.ExternalAddr)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ExternalAddr)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.InternalAddr) > 0 {
+ i -= len(m.InternalAddr)
+ copy(dAtA[i:], m.InternalAddr)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.InternalAddr)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Info_CPU) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Service) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9841,12 +10197,12 @@ func (m *Info_CPU) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_CPU) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Service) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_CPU) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Service) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9858,28 +10214,65 @@ func (m *Info_CPU) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Usage != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Usage))))
+ if m.Annotations != nil {
+ size, err := m.Annotations.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x19
+ dAtA[i] = 0x32
}
- if m.Request != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Request))))
+ if m.Labels != nil {
+ size, err := m.Labels.MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
i--
- dAtA[i] = 0x11
+ dAtA[i] = 0x2a
}
- if m.Limit != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Limit))))
+ if len(m.Ports) > 0 {
+ for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Ports[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.ClusterIps) > 0 {
+ for iNdEx := len(m.ClusterIps) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.ClusterIps[iNdEx])
+ copy(dAtA[i:], m.ClusterIps[iNdEx])
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ClusterIps[iNdEx])))
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.ClusterIp) > 0 {
+ i -= len(m.ClusterIp)
+ copy(dAtA[i:], m.ClusterIp)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ClusterIp)))
i--
- dAtA[i] = 0x9
+ dAtA[i] = 0x12
+ }
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Info_Memory) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_ServicePort) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9892,12 +10285,12 @@ func (m *Info_Memory) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Memory) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_ServicePort) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Memory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_ServicePort) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9909,28 +10302,22 @@ func (m *Info_Memory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if m.Usage != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Usage))))
- i--
- dAtA[i] = 0x19
- }
- if m.Request != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Request))))
+ if m.Port != 0 {
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Port))
i--
- dAtA[i] = 0x11
+ dAtA[i] = 0x10
}
- if m.Limit != 0 {
- i -= 8
- binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Limit))))
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name)))
i--
- dAtA[i] = 0x9
+ dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *Info_Pods) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Labels) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9943,12 +10330,12 @@ func (m *Info_Pods) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Pods) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Labels) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Pods) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Labels) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -9960,14 +10347,21 @@ func (m *Info_Pods) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Pods) > 0 {
- for iNdEx := len(m.Pods) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Pods[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ if len(m.Labels) > 0 {
+ for k := range m.Labels {
+ v := m.Labels[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(baseI-i))
i--
dAtA[i] = 0xa
}
@@ -9975,7 +10369,7 @@ func (m *Info_Pods) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *Info_Nodes) MarshalVT() (dAtA []byte, err error) {
+func (m *Info_Annotations) MarshalVT() (dAtA []byte, err error) {
if m == nil {
return nil, nil
}
@@ -9988,12 +10382,12 @@ func (m *Info_Nodes) MarshalVT() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *Info_Nodes) MarshalToVT(dAtA []byte) (int, error) {
+func (m *Info_Annotations) MarshalToVT(dAtA []byte) (int, error) {
size := m.SizeVT()
return m.MarshalToSizedBufferVT(dAtA[:size])
}
-func (m *Info_Nodes) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+func (m *Info_Annotations) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
if m == nil {
return 0, nil
}
@@ -10005,9 +10399,208 @@ func (m *Info_Nodes) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
i -= len(m.unknownFields)
copy(dAtA[i:], m.unknownFields)
}
- if len(m.Nodes) > 0 {
- for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- {
- size, err := m.Nodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if len(m.Annotations) > 0 {
+ for k := range m.Annotations {
+ v := m.Annotations[k]
+ baseI := i
+ i -= len(v)
+ copy(dAtA[i:], v)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(v)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(k)
+ copy(dAtA[i:], k)
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(len(k)))
+ i--
+ dAtA[i] = 0xa
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(baseI-i))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_CPU) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Info_CPU) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_CPU) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if m.Usage != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Usage))))
+ i--
+ dAtA[i] = 0x19
+ }
+ if m.Request != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Request))))
+ i--
+ dAtA[i] = 0x11
+ }
+ if m.Limit != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Limit))))
+ i--
+ dAtA[i] = 0x9
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Memory) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Info_Memory) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_Memory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if m.Usage != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Usage))))
+ i--
+ dAtA[i] = 0x19
+ }
+ if m.Request != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Request))))
+ i--
+ dAtA[i] = 0x11
+ }
+ if m.Limit != 0 {
+ i -= 8
+ binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Limit))))
+ i--
+ dAtA[i] = 0x9
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Pods) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Info_Pods) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_Pods) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if len(m.Pods) > 0 {
+ for iNdEx := len(m.Pods) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Pods[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = protohelpers.EncodeVarint(dAtA, i, uint64(size))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Info_Nodes) MarshalVT() (dAtA []byte, err error) {
+ if m == nil {
+ return nil, nil
+ }
+ size := m.SizeVT()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBufferVT(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Info_Nodes) MarshalToVT(dAtA []byte) (int, error) {
+ size := m.SizeVT()
+ return m.MarshalToSizedBufferVT(dAtA[:size])
+}
+
+func (m *Info_Nodes) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
+ if m == nil {
+ return 0, nil
+ }
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.unknownFields != nil {
+ i -= len(m.unknownFields)
+ copy(dAtA[i:], m.unknownFields)
+ }
+ if len(m.Nodes) > 0 {
+ for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- {
+ size, err := m.Nodes[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
if err != nil {
return 0, err
}
@@ -10423,13 +11016,17 @@ func (m *Search_Config) SizeVT() (n int) {
if m.Timeout != 0 {
n += 1 + protohelpers.SizeOfVarint(uint64(m.Timeout))
}
- if m.IngressFilters != nil {
- l = m.IngressFilters.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ if len(m.IngressFilters) > 0 {
+ for _, e := range m.IngressFilters {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
- if m.EgressFilters != nil {
- l = m.EgressFilters.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ if len(m.EgressFilters) > 0 {
+ for _, e := range m.EgressFilters {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
if m.MinNum != 0 {
n += 1 + protohelpers.SizeOfVarint(uint64(m.MinNum))
@@ -10556,58 +11153,66 @@ func (m *Filter_Target) SizeVT() (n int) {
return n
}
-func (m *Filter_Config) SizeVT() (n int) {
+func (m *Filter_Query) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Targets) > 0 {
- for _, e := range m.Targets {
- l = e.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
- }
+ l = len(m.Query)
+ if l > 0 {
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *Filter) SizeVT() (n int) {
+func (m *Filter_Config) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
+ if m.Target != nil {
+ l = m.Target.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ if m.Query != nil {
+ l = m.Query.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
n += len(m.unknownFields)
return n
}
-func (m *Insert_Request) SizeVT() (n int) {
+func (m *Filter_DistanceRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Vector != nil {
- l = m.Vector.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ if len(m.Distance) > 0 {
+ for _, e := range m.Distance {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
- if m.Config != nil {
- l = m.Config.SizeVT()
+ if m.Query != nil {
+ l = m.Query.SizeVT()
n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *Insert_MultiRequest) SizeVT() (n int) {
+func (m *Filter_DistanceResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Requests) > 0 {
- for _, e := range m.Requests {
+ if len(m.Distance) > 0 {
+ for _, e := range m.Distance {
l = e.SizeVT()
n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
}
@@ -10616,39 +11221,115 @@ func (m *Insert_MultiRequest) SizeVT() (n int) {
return n
}
-func (m *Insert_ObjectRequest) SizeVT() (n int) {
+func (m *Filter_VectorRequest) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if m.Object != nil {
- l = m.Object.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
- }
- if m.Config != nil {
- l = m.Config.SizeVT()
+ if m.Vector != nil {
+ l = m.Vector.SizeVT()
n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
}
- if m.Vectorizer != nil {
- l = m.Vectorizer.SizeVT()
+ if m.Query != nil {
+ l = m.Query.SizeVT()
n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
}
n += len(m.unknownFields)
return n
}
-func (m *Insert_MultiObjectRequest) SizeVT() (n int) {
+func (m *Filter_VectorResponse) SizeVT() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Requests) > 0 {
- for _, e := range m.Requests {
- l = e.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
- }
+ if m.Vector != nil {
+ l = m.Vector.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Filter) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Insert_Request) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Vector != nil {
+ l = m.Vector.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ if m.Config != nil {
+ l = m.Config.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Insert_MultiRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Requests) > 0 {
+ for _, e := range m.Requests {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Insert_ObjectRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Object != nil {
+ l = m.Object.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ if m.Config != nil {
+ l = m.Config.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ if m.Vectorizer != nil {
+ l = m.Vectorizer.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Insert_MultiObjectRequest) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Requests) > 0 {
+ for _, e := range m.Requests {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
n += len(m.unknownFields)
return n
@@ -10663,9 +11344,11 @@ func (m *Insert_Config) SizeVT() (n int) {
if m.SkipStrictExistCheck {
n += 2
}
- if m.Filters != nil {
- l = m.Filters.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ if len(m.Filters) > 0 {
+ for _, e := range m.Filters {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
if m.Timestamp != 0 {
n += 1 + protohelpers.SizeOfVarint(uint64(m.Timestamp))
@@ -10785,9 +11468,11 @@ func (m *Update_Config) SizeVT() (n int) {
if m.SkipStrictExistCheck {
n += 2
}
- if m.Filters != nil {
- l = m.Filters.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ if len(m.Filters) > 0 {
+ for _, e := range m.Filters {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
if m.Timestamp != 0 {
n += 1 + protohelpers.SizeOfVarint(uint64(m.Timestamp))
@@ -10890,9 +11575,11 @@ func (m *Upsert_Config) SizeVT() (n int) {
if m.SkipStrictExistCheck {
n += 2
}
- if m.Filters != nil {
- l = m.Filters.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ if len(m.Filters) > 0 {
+ for _, e := range m.Filters {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
if m.Timestamp != 0 {
n += 1 + protohelpers.SizeOfVarint(uint64(m.Timestamp))
@@ -11036,9 +11723,11 @@ func (m *Object_VectorRequest) SizeVT() (n int) {
l = m.Id.SizeVT()
n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
}
- if m.Filters != nil {
- l = m.Filters.SizeVT()
- n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ if len(m.Filters) > 0 {
+ for _, e := range m.Filters {
+ l = e.SizeVT()
+ n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
+ }
}
n += len(m.unknownFields)
return n
@@ -12239,31 +12928,465 @@ func (m *Mirror_Targets) SizeVT() (n int) {
n += 1 + l + protohelpers.SizeOfVarint(uint64(l))
}
}
- n += len(m.unknownFields)
- return n
-}
-
-func (m *Mirror) SizeVT() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- n += len(m.unknownFields)
- return n
-}
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Mirror) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Empty) SizeVT() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ n += len(m.unknownFields)
+ return n
+}
+
+func (m *Search_Request) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Search_Request: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Search_Request: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType == 5 {
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ v2 := float32(math.Float32frombits(v))
+ m.Vector = append(m.Vector, v2)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ elementCount = packedLen / 4
+ if elementCount != 0 && len(m.Vector) == 0 {
+ m.Vector = make([]float32, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ v2 := float32(math.Float32frombits(v))
+ m.Vector = append(m.Vector, v2)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Vector", wireType)
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Config == nil {
+ m.Config = &Search_Config{}
+ }
+ if err := m.Config.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := protohelpers.Skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+
+func (m *Search_MultiRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Search_MultiRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Search_MultiRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Requests = append(m.Requests, &Search_Request{})
+ if err := m.Requests[len(m.Requests)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := protohelpers.Skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+
+func (m *Search_IDRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Search_IDRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Search_IDRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Id = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Config == nil {
+ m.Config = &Search_Config{}
+ }
+ if err := m.Config.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := protohelpers.Skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+
+func (m *Search_MultiIDRequest) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Search_MultiIDRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Search_MultiIDRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Requests = append(m.Requests, &Search_IDRequest{})
+ if err := m.Requests[len(m.Requests)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := protohelpers.Skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
-func (m *Empty) SizeVT() (n int) {
- if m == nil {
- return 0
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- var l int
- _ = l
- n += len(m.unknownFields)
- return n
+ return nil
}
-func (m *Search_Request) UnmarshalVT(dAtA []byte) error {
+func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -12286,66 +13409,46 @@ func (m *Search_Request) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_Request: wiretype end group for non-group")
+ return fmt.Errorf("proto: Search_ObjectRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_Request: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Search_ObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
- if wireType == 5 {
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- v2 := float32(math.Float32frombits(v))
- m.Vector = append(m.Vector, v2)
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return protohelpers.ErrInvalidLength
- }
- postIndex := iNdEx + packedLen
- if postIndex < 0 {
- return protohelpers.ErrInvalidLength
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
}
- if postIndex > l {
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- var elementCount int
- elementCount = packedLen / 4
- if elementCount != 0 && len(m.Vector) == 0 {
- m.Vector = make([]float32, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- v2 := float32(math.Float32frombits(v))
- m.Vector = append(m.Vector, v2)
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field Vector", wireType)
}
+ if byteLen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Object = append(m.Object[:0], dAtA[iNdEx:postIndex]...)
+ if m.Object == nil {
+ m.Object = []byte{}
+ }
+ iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
@@ -12382,6 +13485,42 @@ func (m *Search_Request) UnmarshalVT(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Vectorizer", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Vectorizer == nil {
+ m.Vectorizer = &Filter_Target{}
+ }
+ if err := m.Vectorizer.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := protohelpers.Skip(dAtA[iNdEx:])
@@ -12405,7 +13544,7 @@ func (m *Search_Request) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_MultiRequest) UnmarshalVT(dAtA []byte) error {
+func (m *Search_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -12428,10 +13567,10 @@ func (m *Search_MultiRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_MultiRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: Search_MultiObjectRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_MultiRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Search_MultiObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -12463,7 +13602,7 @@ func (m *Search_MultiRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Requests = append(m.Requests, &Search_Request{})
+ m.Requests = append(m.Requests, &Search_ObjectRequest{})
if err := m.Requests[len(m.Requests)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
@@ -12491,7 +13630,7 @@ func (m *Search_MultiRequest) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_IDRequest) UnmarshalVT(dAtA []byte) error {
+func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -12501,30 +13640,122 @@ func (m *Search_IDRequest) UnmarshalVT(dAtA []byte) error {
if shift >= 64 {
return protohelpers.ErrIntOverflow
}
- if iNdEx >= l {
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Search_Config: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Search_Config: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.RequestId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
+ }
+ m.Num = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Num |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 5 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Radius", wireType)
+ }
+ var v uint32
+ if (iNdEx + 4) > l {
+ return io.ErrUnexpectedEOF
+ }
+ v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ m.Radius = float32(math.Float32frombits(v))
+ case 4:
+ if wireType != 5 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Epsilon", wireType)
+ }
+ var v uint32
+ if (iNdEx + 4) > l {
return io.ErrUnexpectedEOF
}
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+ iNdEx += 4
+ m.Epsilon = float32(math.Float32frombits(v))
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType)
}
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Search_IDRequest: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_IDRequest: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ m.Timeout = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Timeout |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 6:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field IngressFilters", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protohelpers.ErrIntOverflow
@@ -12534,27 +13765,29 @@ func (m *Search_IDRequest) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return protohelpers.ErrInvalidLength
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return protohelpers.ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Id = string(dAtA[iNdEx:postIndex])
+ m.IngressFilters = append(m.IngressFilters, &Filter_Config{})
+ if err := m.IngressFilters[len(m.IngressFilters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 2:
+ case 7:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field EgressFilters", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -12581,68 +13814,52 @@ func (m *Search_IDRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Config == nil {
- m.Config = &Search_Config{}
- }
- if err := m.Config.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.EgressFilters = append(m.EgressFilters, &Filter_Config{})
+ if err := m.EgressFilters[len(m.EgressFilters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := protohelpers.Skip(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return protohelpers.ErrInvalidLength
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinNum", wireType)
}
- m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-
-func (m *Search_MultiIDRequest) UnmarshalVT(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
+ m.MinNum = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.MinNum |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AggregationAlgorithm", wireType)
}
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ m.AggregationAlgorithm = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.AggregationAlgorithm |= Search_AggregationAlgorithm(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Search_MultiIDRequest: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_MultiIDRequest: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ case 10:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Ratio", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -12669,11 +13886,32 @@ func (m *Search_MultiIDRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Requests = append(m.Requests, &Search_IDRequest{})
- if err := m.Requests[len(m.Requests)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Ratio == nil {
+ m.Ratio = &wrapperspb.FloatValue{}
+ }
+ if err := (*wrapperspb1.FloatValue)(m.Ratio).UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
+ case 11:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Nprobe", wireType)
+ }
+ m.Nprobe = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Nprobe |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := protohelpers.Skip(dAtA[iNdEx:])
@@ -12697,7 +13935,7 @@ func (m *Search_MultiIDRequest) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
+func (m *Search_Response) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -12720,17 +13958,17 @@ func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_ObjectRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: Search_Response: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_ObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Search_Response: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType)
}
- var byteLen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protohelpers.ErrIntOverflow
@@ -12740,65 +13978,27 @@ func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- byteLen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if byteLen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return protohelpers.ErrInvalidLength
}
- postIndex := iNdEx + byteLen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protohelpers.ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Object = append(m.Object[:0], dAtA[iNdEx:postIndex]...)
- if m.Object == nil {
- m.Object = []byte{}
- }
+ m.RequestId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return protohelpers.ErrInvalidLength
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return protohelpers.ErrInvalidLength
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Config == nil {
- m.Config = &Search_Config{}
- }
- if err := m.Config.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Vectorizer", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -12825,10 +14025,8 @@ func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Vectorizer == nil {
- m.Vectorizer = &Filter_Target{}
- }
- if err := m.Vectorizer.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Results = append(m.Results, &Object_Distance{})
+ if err := m.Results[len(m.Results)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -12855,7 +14053,7 @@ func (m *Search_ObjectRequest) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
+func (m *Search_Responses) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -12878,15 +14076,15 @@ func (m *Search_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_MultiObjectRequest: wiretype end group for non-group")
+ return fmt.Errorf("proto: Search_Responses: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_MultiObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Search_Responses: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Responses", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -12913,8 +14111,8 @@ func (m *Search_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Requests = append(m.Requests, &Search_ObjectRequest{})
- if err := m.Requests[len(m.Requests)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Responses = append(m.Responses, &Search_Response{})
+ if err := m.Responses[len(m.Responses)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -12941,7 +14139,7 @@ func (m *Search_MultiObjectRequest) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
+func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -12964,17 +14162,17 @@ func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_Config: wiretype end group for non-group")
+ return fmt.Errorf("proto: Search_StreamResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_Config: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Search_StreamResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Response", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protohelpers.ErrIntOverflow
@@ -12984,87 +14182,36 @@ func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return protohelpers.ErrInvalidLength
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return protohelpers.ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.RequestId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 5 {
- return fmt.Errorf("proto: wrong wireType = %d for field Radius", wireType)
- }
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- m.Radius = float32(math.Float32frombits(v))
- case 4:
- if wireType != 5 {
- return fmt.Errorf("proto: wrong wireType = %d for field Epsilon", wireType)
- }
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- m.Epsilon = float32(math.Float32frombits(v))
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType)
- }
- m.Timeout = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
+ if oneof, ok := m.Payload.(*Search_StreamResponse_Response); ok {
+ if err := oneof.Response.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- b := dAtA[iNdEx]
- iNdEx++
- m.Timeout |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
+ } else {
+ v := &Search_Response{}
+ if err := v.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
+ m.Payload = &Search_StreamResponse_Response{Response: v}
}
- case 6:
+ iNdEx = postIndex
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field IngressFilters", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -13091,92 +14238,143 @@ func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.IngressFilters == nil {
- m.IngressFilters = &Filter_Config{}
- }
- if err := m.IngressFilters.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EgressFilters", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
+ if oneof, ok := m.Payload.(*Search_StreamResponse_Status); ok {
+ if unmarshal, ok := any(oneof.Status).(interface {
+ UnmarshalVT([]byte) error
+ }); ok {
+ if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ } else {
+ if err := proto.Unmarshal(dAtA[iNdEx:postIndex], oneof.Status); err != nil {
+ return err
+ }
}
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
+ } else {
+ v := &status.Status{}
+ if unmarshal, ok := any(v).(interface {
+ UnmarshalVT([]byte) error
+ }); ok {
+ if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ } else {
+ if err := proto.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil {
+ return err
+ }
}
+ m.Payload = &Search_StreamResponse_Status{Status: v}
}
- if msglen < 0 {
- return protohelpers.ErrInvalidLength
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := protohelpers.Skip(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + msglen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return protohelpers.ErrInvalidLength
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+
+func (m *Search) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- if m.EgressFilters == nil {
- m.EgressFilters = &Filter_Config{}
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- if err := m.EgressFilters.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Search: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Search: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := protohelpers.Skip(dAtA[iNdEx:])
+ if err != nil {
return err
}
- iNdEx = postIndex
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinNum", wireType)
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return protohelpers.ErrInvalidLength
}
- m.MinNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.MinNum |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AggregationAlgorithm", wireType)
+ m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+
+func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
}
- m.AggregationAlgorithm = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AggregationAlgorithm |= Search_AggregationAlgorithm(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- case 10:
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Filter_Target: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Filter_Target: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ratio", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protohelpers.ErrIntOverflow
@@ -13186,33 +14384,29 @@ func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return protohelpers.ErrInvalidLength
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protohelpers.ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Ratio == nil {
- m.Ratio = &wrapperspb.FloatValue{}
- }
- if err := (*wrapperspb1.FloatValue)(m.Ratio).UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Host = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 11:
+ case 2:
if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Nprobe", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
}
- m.Nprobe = 0
+ m.Port = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protohelpers.ErrIntOverflow
@@ -13222,7 +14416,7 @@ func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.Nprobe |= uint32(b&0x7F) << shift
+ m.Port |= uint32(b&0x7F) << shift
if b < 0x80 {
break
}
@@ -13250,7 +14444,7 @@ func (m *Search_Config) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_Response) UnmarshalVT(dAtA []byte) error {
+func (m *Filter_Query) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -13273,15 +14467,15 @@ func (m *Search_Response) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_Response: wiretype end group for non-group")
+ return fmt.Errorf("proto: Filter_Query: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_Response: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Filter_Query: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -13309,41 +14503,7 @@ func (m *Search_Response) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.RequestId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return protohelpers.ErrIntOverflow
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return protohelpers.ErrInvalidLength
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return protohelpers.ErrInvalidLength
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Results = append(m.Results, &Object_Distance{})
- if err := m.Results[len(m.Results)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Query = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -13368,7 +14528,7 @@ func (m *Search_Response) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_Responses) UnmarshalVT(dAtA []byte) error {
+func (m *Filter_Config) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -13391,15 +14551,15 @@ func (m *Search_Responses) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_Responses: wiretype end group for non-group")
+ return fmt.Errorf("proto: Filter_Config: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_Responses: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Filter_Config: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Responses", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -13426,8 +14586,46 @@ func (m *Search_Responses) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Responses = append(m.Responses, &Search_Response{})
- if err := m.Responses[len(m.Responses)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Target == nil {
+ m.Target = &Filter_Target{}
+ }
+ if err := m.Target.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Query == nil {
+ m.Query = &Filter_Query{}
+ }
+ if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -13454,7 +14652,7 @@ func (m *Search_Responses) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
+func (m *Filter_DistanceRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -13477,15 +14675,15 @@ func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search_StreamResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: Filter_DistanceRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search_StreamResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Filter_DistanceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Response", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Distance", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -13512,21 +14710,14 @@ func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if oneof, ok := m.Payload.(*Search_StreamResponse_Response); ok {
- if err := oneof.Response.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- } else {
- v := &Search_Response{}
- if err := v.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- m.Payload = &Search_StreamResponse_Response{Response: v}
+ m.Distance = append(m.Distance, &Object_Distance{})
+ if err := m.Distance[len(m.Distance)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -13553,32 +14744,11 @@ func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if oneof, ok := m.Payload.(*Search_StreamResponse_Status); ok {
- if unmarshal, ok := any(oneof.Status).(interface {
- UnmarshalVT([]byte) error
- }); ok {
- if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- } else {
- if err := proto.Unmarshal(dAtA[iNdEx:postIndex], oneof.Status); err != nil {
- return err
- }
- }
- } else {
- v := &status.Status{}
- if unmarshal, ok := any(v).(interface {
- UnmarshalVT([]byte) error
- }); ok {
- if err := unmarshal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- } else {
- if err := proto.Unmarshal(dAtA[iNdEx:postIndex], v); err != nil {
- return err
- }
- }
- m.Payload = &Search_StreamResponse_Status{Status: v}
+ if m.Query == nil {
+ m.Query = &Filter_Query{}
+ }
+ if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
iNdEx = postIndex
default:
@@ -13604,7 +14774,7 @@ func (m *Search_StreamResponse) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Search) UnmarshalVT(dAtA []byte) error {
+func (m *Filter_DistanceResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -13627,12 +14797,46 @@ func (m *Search) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Search: wiretype end group for non-group")
+ return fmt.Errorf("proto: Filter_DistanceResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Search: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Filter_DistanceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Distance", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return protohelpers.ErrIntOverflow
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Distance = append(m.Distance, &Object_Distance{})
+ if err := m.Distance[len(m.Distance)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := protohelpers.Skip(dAtA[iNdEx:])
@@ -13656,7 +14860,7 @@ func (m *Search) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
+func (m *Filter_VectorRequest) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -13679,17 +14883,17 @@ func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Filter_Target: wiretype end group for non-group")
+ return fmt.Errorf("proto: Filter_VectorRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Filter_Target: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Filter_VectorRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Vector", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protohelpers.ErrIntOverflow
@@ -13699,29 +14903,33 @@ func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return protohelpers.ErrInvalidLength
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return protohelpers.ErrInvalidLength
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Host = string(dAtA[iNdEx:postIndex])
+ if m.Vector == nil {
+ m.Vector = &Object_Vector{}
+ }
+ if err := m.Vector.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
}
- m.Port = 0
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protohelpers.ErrIntOverflow
@@ -13731,11 +14939,28 @@ func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.Port |= uint32(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ if msglen < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return protohelpers.ErrInvalidLength
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Query == nil {
+ m.Query = &Filter_Query{}
+ }
+ if err := m.Query.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := protohelpers.Skip(dAtA[iNdEx:])
@@ -13759,7 +14984,7 @@ func (m *Filter_Target) UnmarshalVT(dAtA []byte) error {
return nil
}
-func (m *Filter_Config) UnmarshalVT(dAtA []byte) error {
+func (m *Filter_VectorResponse) UnmarshalVT(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -13782,15 +15007,15 @@ func (m *Filter_Config) UnmarshalVT(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: Filter_Config: wiretype end group for non-group")
+ return fmt.Errorf("proto: Filter_VectorResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: Filter_Config: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: Filter_VectorResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Targets", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Vector", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -13817,8 +15042,10 @@ func (m *Filter_Config) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Targets = append(m.Targets, &Filter_Target{})
- if err := m.Targets[len(m.Targets)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Vector == nil {
+ m.Vector = &Object_Vector{}
+ }
+ if err := m.Vector.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -14431,10 +15658,8 @@ func (m *Insert_Config) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Filters == nil {
- m.Filters = &Filter_Config{}
- }
- if err := m.Filters.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Filters = append(m.Filters, &Filter_Config{})
+ if err := m.Filters[len(m.Filters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -15189,10 +16414,8 @@ func (m *Update_Config) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Filters == nil {
- m.Filters = &Filter_Config{}
- }
- if err := m.Filters.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Filters = append(m.Filters, &Filter_Config{})
+ if err := m.Filters[len(m.Filters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -15844,10 +17067,8 @@ func (m *Upsert_Config) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Filters == nil {
- m.Filters = &Filter_Config{}
- }
- if err := m.Filters.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Filters = append(m.Filters, &Filter_Config{})
+ if err := m.Filters[len(m.Filters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -16692,10 +17913,8 @@ func (m *Object_VectorRequest) UnmarshalVT(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Filters == nil {
- m.Filters = &Filter_Config{}
- }
- if err := m.Filters.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
+ m.Filters = append(m.Filters, &Filter_Config{})
+ if err := m.Filters[len(m.Filters)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
diff --git a/apis/grpc/v1/rpc/errdetails/error_details.pb.go b/apis/grpc/v1/rpc/errdetails/error_details.pb.go
index ff9e1c42cf..1ca92f9554 100644
--- a/apis/grpc/v1/rpc/errdetails/error_details.pb.go
+++ b/apis/grpc/v1/rpc/errdetails/error_details.pb.go
@@ -1108,7 +1108,6 @@ var (
(*durationpb.Duration)(nil), // 15: google.protobuf.Duration
}
)
-
var file_v1_rpc_errdetails_error_details_proto_depIdxs = []int32{
10, // 0: rpc.v1.ErrorInfo.metadata:type_name -> rpc.v1.ErrorInfo.MetadataEntry
15, // 1: rpc.v1.RetryInfo.retry_delay:type_name -> google.protobuf.Duration
diff --git a/example/client/gateway/filter/egress-filter/main.go b/example/client/gateway/filter/egress-filter/main.go
index 871ec9ac1b..7cdf111ea1 100644
--- a/example/client/gateway/filter/egress-filter/main.go
+++ b/example/client/gateway/filter/egress-filter/main.go
@@ -41,10 +41,10 @@ var (
func init() {
/**
- Ingresshost option specifies grpc server host of your egress filter. Default value is `127.0.0.1`.
- Ingressport option specifies grpc server port of your egress filter. Default value is `8083`.
- Dimension option specifies dimension size of vectors. Default value is `784`.
- **/
+ Ingresshost option specifies grpc server host of your egress filter. Default value is `127.0.0.1`.
+ Ingressport option specifies grpc server port of your egress filter. Default value is `8083`.
+ Dimension option specifies dimension size of vectors. Default value is `784`.
+ **/
flag.StringVar(&egressServerHost, "host", "127.0.0.1", "ingress server host")
flag.UintVar(&egressServerPort, "port", 8083, "ingress server port")
flag.UintVar(&dimension, "dimension", 784, "dimension size of vectors")
diff --git a/example/client/gateway/filter/ingress-filter/main.go b/example/client/gateway/filter/ingress-filter/main.go
index 6989d0a498..d84485c8ff 100644
--- a/example/client/gateway/filter/ingress-filter/main.go
+++ b/example/client/gateway/filter/ingress-filter/main.go
@@ -41,10 +41,10 @@ var (
func init() {
/**
- Ingresshost option specifies grpc server host of your ingress filter. Default value is `127.0.0.1`.
- Ingressport option specifies grpc server port of your ingress filter. Default value is `8082`.
- Dimension option specifies dimension size of vectors. Default value is `784`.
- **/
+ Ingresshost option specifies grpc server host of your ingress filter. Default value is `127.0.0.1`.
+ Ingressport option specifies grpc server port of your ingress filter. Default value is `8082`.
+ Dimension option specifies dimension size of vectors. Default value is `784`.
+ **/
flag.StringVar(&ingressServerHost, "host", "127.0.0.1", "ingress server host")
flag.UintVar(&ingressServerPort, "port", 8082, "ingress server port")
flag.UintVar(&dimension, "dimension", 784, "dimension size of vectors")
diff --git a/example/client/gateway/filter/main.go b/example/client/gateway/filter/main.go
index cc63a9203a..567a8b0384 100644
--- a/example/client/gateway/filter/main.go
+++ b/example/client/gateway/filter/main.go
@@ -50,14 +50,14 @@ var (
func init() {
// init initializes the command-line flags with default values for the filter client setup.
/**
- Addr option specifies grpc server address of filter gateway. Default value is `127.0.0.1:8081`.
- Ingresshost option specifies grpc server host of your ingress filter. Default value is `127.0.0.1`.
- Ingressport option specifies grpc server port of your ingress filter. Default value is `8082`.
- Egresshost option specifies grpc server host of your egress filter. Default value is `127.0.0.1`.
- Egressport option specifies grpc server port of your egress filter. Default value is `8083`.
- Wait option specifies indexing wait time (in seconds). Default value is `240`.
- Dimension option specifies dimension size of vectors. Default value is `784`.
- **/
+ Addr option specifies grpc server address of filter gateway. Default value is `127.0.0.1:8081`.
+ Ingresshost option specifies grpc server host of your ingress filter. Default value is `127.0.0.1`.
+ Ingressport option specifies grpc server port of your ingress filter. Default value is `8082`.
+ Egresshost option specifies grpc server host of your egress filter. Default value is `127.0.0.1`.
+ Egressport option specifies grpc server port of your egress filter. Default value is `8083`.
+ Wait option specifies indexing wait time (in seconds). Default value is `240`.
+ Dimension option specifies dimension size of vectors. Default value is `784`.
+ **/
flag.StringVar(&grpcServerAddr, "addr", "127.0.0.1:8081", "gRPC server address of filter gateway")
flag.StringVar(&ingressServerHost, "ingresshost", "127.0.0.1", "ingress server host")
flag.UintVar(&ingressServerPort, "ingressport", 8082, "ingress server port")
diff --git a/example/server/egress-filter/main.go b/example/server/egress-filter/main.go
index 7c06708a03..acd806d269 100644
--- a/example/server/egress-filter/main.go
+++ b/example/server/egress-filter/main.go
@@ -38,9 +38,9 @@ var (
func init() {
// init initializes the command-line flags with default values for the filter setup.
/**
- Port option specifies grpc server port of your egress filter. Default value is `8083`.
- Dimension option specifies dimension size of vectors. Default value is `784`.
- **/
+ Port option specifies grpc server port of your egress filter. Default value is `8083`.
+ Dimension option specifies dimension size of vectors. Default value is `784`.
+ **/
flag.UintVar(&egressServerPort, "port", 8083, "server port")
flag.UintVar(&dimension, "dimension", 784, "dimension size of vectors")
flag.Parse()
@@ -59,7 +59,9 @@ type myEgressServer struct {
egress.UnimplementedFilterServer
}
-func (s *myEgressServer) FilterDistance(ctx context.Context, in *payload.Filter_DistanceRequest) (*payload.Filter_DistanceResponse, error) {
+func (s *myEgressServer) FilterDistance(
+ ctx context.Context, in *payload.Filter_DistanceRequest,
+) (*payload.Filter_DistanceResponse, error) {
glg.Log("filtering vector %#v", in)
qCategory, ok := getSplitValue(in.GetQuery().GetQuery(), "=", 1)
if !ok {
@@ -89,7 +91,9 @@ func (s *myEgressServer) FilterDistance(ctx context.Context, in *payload.Filter_
}, nil
}
-func (s *myEgressServer) FilterVector(ctx context.Context, in *payload.Filter_VectorRequest) (*payload.Filter_VectorResponse, error) {
+func (s *myEgressServer) FilterVector(
+ ctx context.Context, in *payload.Filter_VectorRequest,
+) (*payload.Filter_VectorResponse, error) {
// Write your own logic
glg.Logf("filtering the vector %#v", in)
return &payload.Filter_VectorResponse{
diff --git a/example/server/ingress-filter/main.go b/example/server/ingress-filter/main.go
index e7b17cbb5c..979d96d706 100644
--- a/example/server/ingress-filter/main.go
+++ b/example/server/ingress-filter/main.go
@@ -35,9 +35,9 @@ var (
func init() {
/**
- Port option specifies grpc server port of your ingress filter. Default value is `8082`.
- Dimension option specifies dimension size of vectors. Default value is `784`.
- **/
+ Port option specifies grpc server port of your ingress filter. Default value is `8082`.
+ Dimension option specifies dimension size of vectors. Default value is `784`.
+ **/
flag.UintVar(&ingressServerPort, "port", 8082, "server port")
flag.UintVar(&dimension, "dimension", 784, "dimension size of vectors")
flag.Parse()
@@ -47,7 +47,9 @@ type myIngressServer struct {
ingress.UnimplementedFilterServer
}
-func (s *myIngressServer) GenVector(ctx context.Context, in *payload.Object_Blob) (*payload.Object_Vector, error) {
+func (s *myIngressServer) GenVector(
+ ctx context.Context, in *payload.Object_Blob,
+) (*payload.Object_Vector, error) {
// Write your own logic
glg.Logf("generating vector %#v", in)
vec, err := vector.GenF32Vec(vector.Gaussian, 1, int(dimension))
@@ -60,7 +62,9 @@ func (s *myIngressServer) GenVector(ctx context.Context, in *payload.Object_Blob
}, nil
}
-func (s *myIngressServer) FilterVector(ctx context.Context, in *payload.Object_Vector) (*payload.Object_Vector, error) {
+func (s *myIngressServer) FilterVector(
+ ctx context.Context, in *payload.Object_Vector,
+) (*payload.Object_Vector, error) {
// Write your own logic
glg.Logf("filtering vector %#v", in)
return in, nil
diff --git a/rust/libs/proto/src/filter.egress.v1.tonic.rs b/rust/libs/proto/src/filter.egress.v1.tonic.rs
index e054fc3b6a..052cbe8988 100644
--- a/rust/libs/proto/src/filter.egress.v1.tonic.rs
+++ b/rust/libs/proto/src/filter.egress.v1.tonic.rs
@@ -17,6 +17,8 @@ pub mod filter_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
use tonic::codegen::http::Uri;
+ /** Represent the egress filter service.
+*/
#[derive(Debug, Clone)]
pub struct FilterClient {
inner: tonic::client::Grpc,
@@ -195,6 +197,8 @@ pub mod filter_server {
tonic::Status,
>;
}
+ /** Represent the egress filter service.
+*/
#[derive(Debug)]
pub struct FilterServer {
inner: Arc,
diff --git a/rust/libs/proto/src/filter.ingress.v1.tonic.rs b/rust/libs/proto/src/filter.ingress.v1.tonic.rs
index d8b462caa1..76f377386b 100644
--- a/rust/libs/proto/src/filter.ingress.v1.tonic.rs
+++ b/rust/libs/proto/src/filter.ingress.v1.tonic.rs
@@ -17,6 +17,8 @@ pub mod filter_client {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
use tonic::codegen::http::Uri;
+ /** Represent the ingress filter service.
+*/
#[derive(Debug, Clone)]
pub struct FilterClient {
inner: tonic::client::Grpc,
@@ -187,6 +189,8 @@ pub mod filter_server {
tonic::Status,
>;
}
+ /** Represent the ingress filter service.
+*/
#[derive(Debug)]
pub struct FilterServer {
inner: Arc,
diff --git a/rust/libs/proto/src/vald.v1.tonic.rs b/rust/libs/proto/src/vald.v1.tonic.rs
index 7cc2207e61..29843a4d93 100644
--- a/rust/libs/proto/src/vald.v1.tonic.rs
+++ b/rust/libs/proto/src/vald.v1.tonic.rs
@@ -124,6 +124,8 @@ pub mod filter_client {
.insert(GrpcMethod::new("vald.v1.Filter", "SearchObject"));
self.inner.unary(req, path, codec).await
}
+ /** A method to search multiple objects.
+*/
pub async fn multi_search_object(
&mut self,
request: impl tonic::IntoRequest<
@@ -475,6 +477,8 @@ pub mod filter_server {
tonic::Response,
tonic::Status,
>;
+ /** A method to search multiple objects.
+*/
async fn multi_search_object(
&self,
request: tonic::Request<
@@ -4042,6 +4046,8 @@ pub mod search_client {
req.extensions_mut().insert(GrpcMethod::new("vald.v1.Search", "Search"));
self.inner.unary(req, path, codec).await
}
+ /** A method to search indexed vectors by ID.
+*/
pub async fn search_by_id(
&mut self,
request: impl tonic::IntoRequest<
@@ -4392,6 +4398,8 @@ pub mod search_server {
tonic::Response,
tonic::Status,
>;
+ /** A method to search indexed vectors by ID.
+*/
async fn search_by_id(
&self,
request: tonic::Request,